]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/blob - ChangeLog
b0577f33a3e3da1915259c8d3ce20214015c9763
[glsdk/gstreamer0-10.git] / ChangeLog
1 2005-10-08  Wim Taymans  <wim@fluendo.com>
3         * libs/gst/dataprotocol/dataprotocol.c:
4         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5         (gst_dp_packet_from_event):
6         * libs/gst/dataprotocol/dataprotocol.h:
7         * libs/gst/dataprotocol/dp-private.h:
8         It's about time we bump the version number.
9         Since event types don't fit in the guint8 anymore describing
10         the payload type, make payload type 16 bits wide.
12 2005-10-08  Wim Taymans  <wim@fluendo.com>
14         * docs/design/part-TODO.txt:
15         * docs/design/part-clocks.txt:
16         * docs/design/part-events.txt:
17         * docs/design/part-gstbin.txt:
18         * docs/design/part-gstelement.txt:
19         * docs/design/part-gstpipeline.txt:
20         * docs/design/part-live-source.txt:
21         * docs/design/part-messages.txt:
22         * docs/design/part-overview.txt:
23         * docs/design/part-states.txt:
24         Many doc updates.
26 2005-10-08  Wim Taymans  <wim@fluendo.com>
28         * gst/gstevent.c:
29         * gst/gstevent.h:
30         Fix event quark registration.
31         Add some space between events so we can insert them in the
32         right groups.
34 2005-10-08  Wim Taymans  <wim@fluendo.com>
36         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
37         (gst_base_sink_handle_buffer):
38         Better log message.
40         * gst/gstbus.h:
41         * gst/gstelement.h:
42         More docs.
44         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
45         (gst_queue_set_property), (gst_queue_get_property):
46         * gst/gstqueue.h:
47         Remove old unused properties.
49 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
50         * docs/gst/gstreamer-sections.txt:
51         * gst/gstmessage.c:
52         * gst/gstmessage.h:
53         * gst/gstminiobject.c:
54         * gst/gstminiobject.h:
55         * gst/gstobject.h:
56         * gst/gstpad.h:
57         * gst/gstutils.h:
58           lots of new docs and doc fixes
60 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
62         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
63         * gst/gstplugin.h:
64         * gst/gstregistry.c: (gst_registry_lookup_locked),
65         (gst_registry_scan_path_level):
66         * gst/gstregistryxml.c: (load_plugin):
67           Only ever load one plugin for a given plugin basename.
68           This ensures correct overriding of GST_PLUGIN_PATH over
69           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
70           system installed plugins.
72 2005-10-08  Wim Taymans  <wim@fluendo.com>
74         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
75         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
76         Prepare for doing QOS.
78 2005-10-08  Wim Taymans  <wim@fluendo.com>
80         * check/gst/gstbin.c: (GST_START_TEST):
81         * check/pipelines/cleanup.c: (GST_START_TEST):
82         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
83         Allow new clock message too.
85 2005-10-08  Wim Taymans  <wim@fluendo.com>
87         * gst/gstmessage.c: (gst_message_new_error),
88         (gst_message_new_warning), (gst_message_new_tag),
89         (gst_message_new_state_changed), (gst_message_new_clock_provide),
90         (gst_message_new_clock_lost), (gst_message_new_new_clock),
91         (gst_message_new_segment_start), (gst_message_new_segment_done),
92         (gst_message_parse_state_changed),
93         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
94         (gst_message_parse_new_clock):
95         * gst/gstmessage.h:
96         Also carry the clock in question.
98 2005-10-08  Wim Taymans  <wim@fluendo.com>
100         * gst/gstmessage.c: (gst_message_new_custom),
101         (gst_message_new_eos), (gst_message_new_error),
102         (gst_message_new_warning), (gst_message_new_tag),
103         (gst_message_new_state_changed), (gst_message_new_clock_provide),
104         (gst_message_new_new_clock), (gst_message_new_segment_start),
105         (gst_message_new_segment_done), (gst_message_parse_state_changed),
106         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
107         * gst/gstmessage.h:
108         Clean up.
109         Added clock related messages.
111         * gst/gstpipeline.c: (gst_pipeline_change_state):
112         Post message when the clock changed.
114         * tools/gst-launch.c: (event_loop):
115         Print new clock.
117 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
119         * tools/gst-inspect.c: (print_element_properties_info):
120           Can't pass NULL strings to g_print() on windows.
122 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
124         * docs/Makefile.am:
125         * docs/gst/Makefile.am:
126         * docs/gst/gstreamer-docs.sgml:
127         * docs/gst/running.xml:
128         * docs/version.entities.in:
129           add a chapter on running GStreamer.
130           document GST_DEBUG and GST_PLUGIN* env vars
132 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
134         * Makefile.am:
135           remove include dir
136         * configure.ac:
137           remove PLUGINS_BUILDDIR stuff
138         * gst/gst.c: (init_post):
139           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
140         * idiottest.mak:
141           remove, it was condescending and not needed
143 2005-10-08  Wim Taymans  <wim@fluendo.com>
145         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
146         (gst_base_sink_handle_object), (gst_base_sink_event),
147         (gst_base_sink_wait), (gst_base_sink_handle_event),
148         (gst_base_sink_change_state):
149         * gst/base/gstbasesink.h:
150         Repost EOS message while going to PLAYING if still EOS.
151         Make sure that when receiving a FLUSH_START we don't attempt
152         to sync on the clock anymore.
154 2005-10-08  Wim Taymans  <wim@fluendo.com>
156         * tools/gst-launch.c: (event_loop):
157         Better message printout.
159 2005-10-08  Wim Taymans  <wim@fluendo.com>
161         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
162         (gst_bin_child_proxy_get_children_count):
163         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
164         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
165         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
166         (gst_child_proxy_set_valist):
167         * gst/parse/grammar.y:
168         Make ChildProxy threadsafe and fix mem leaks.
170 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
172         * gst/gst.c: (init_post):
173           debug the GST_PLUGIN_ env vars
175 2005-10-08  Wim Taymans  <wim@fluendo.com>
177         * check/gst/gstbin.c: (GST_START_TEST):
178         * check/gst/gstmessage.c: (GST_START_TEST):
179         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
180         * gst/gstelement.c: (gst_element_commit_state),
181         (gst_element_lost_state):
182         * gst/gstmessage.c: (gst_message_new_state_changed),
183         (gst_message_parse_state_changed):
184         * gst/gstmessage.h:
185         * tools/gst-launch.c: (event_loop):
186         Added extra field to STATE_CHANGE message with the pending
187         state, which will be different from the new state soon.
189 2005-10-08  Wim Taymans  <wim@fluendo.com>
191         * gst/gstbus.c: (gst_bus_pop):
192         * gst/gstclock.c:
193         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
194         Small cleanups and doc updates.
196 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
198         * gst/gst.c: (init_pre):
199         * gst/gstbin.c: (gst_bin_add_func):
200           log distributing clocks and base time
201         * gst/gstregistry.c: (gst_registry_add_plugin),
202         (gst_registry_scan_path_level), (gst_registry_scan_path):
203           clean up the debugging output a little
204         * gst/gstutils.c: (gst_element_state_get_name):
205           warn about a memleak (I've actually seen this be used, though
206           it was probably a bug)
208 2005-10-07  Wim Taymans  <wim@fluendo.com>
210         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
211         (gst_base_src_init), (gst_base_src_default_newsegment),
212         (gst_base_src_newsegment), (gst_base_src_do_seek),
213         (gst_base_src_loop), (gst_base_src_start):
214         * gst/base/gstbasesrc.h:
215         Make the newsegment event customizable by subclasses.
217 2005-10-07  Wim Taymans  <wim@fluendo.com>
219         * gst/gstevent.c: (gst_event_new_buffersize),
220         (gst_event_parse_buffersize):
221         * gst/gstevent.h:
222         New event for future idea.
224 2005-10-07  Andy Wingo  <wingo@pobox.com>
226         * gst/gstelement.c (gst_element_post_message): Doc update.
228         * docs/gst/gstreamer-sections.txt: Update.
230         * gst/gstmessage.c (gst_message_new_application): Made into a
231         function like honest API calls.
232         (gst_message_new_element): New message type.
234         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
236         * check/elements/fakesrc.c (test_no_preroll): New check, checks
237         that setting a live fakesrc to PAUSED returns NO_PREROLL both
238         times.
240         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
241         NO_PREROLL from gst_element_change_state to fall through.
243 2005-10-07  Wim Taymans  <wim@fluendo.com>
245         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
246         (gst_ghost_pad_do_activate_push):
247         Activating a ghostpad with no internal pad in push mode
248         is ok.
250 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
252         * gst/gstobject.h:
253           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
254           Fixes compilation on Windows.
256 2005-10-07  Michael Smith <msmith@fluendo.com>
258         * tools/gst-inspect.c:
259           Print out feature and plugin count at the end when printing out
260           all features.
262 2005-10-04  Michael Smith <msmith@fluendo.com>
264         * gst/gsterror.c: (_gst_stream_errors_init):
265           Add another error string used in a few existing plugins.
267         * gst/gstplugin.c:
268         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
269         * tools/gst-inspect.c: (print_element_info):
270           When a feature disappears from a plugin (and the feature exists in
271           the cached registry file), things went horribly wrong. This isn't a
272           complete fix, we should actually be removing the 'missing' features
273           from the features list when we load the actual plugin. That's not
274           yet implemented. 
276 2005-10-04  Johan Dahlin  <johan@gnome.org>
278         * check/gst/gstiterator.c: (GST_START_TEST):
279         * gst/gstbin.c: (gst_bin_iterate_elements),
280         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
281         * gst/gstelement.c: (gst_element_iterate_pads):
282         * gst/gstformat.c: (gst_format_iterate_definitions):
283         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
284         (gst_iterator_new_list), (gst_iterator_filter):
285         * gst/gstiterator.h:
286         * gst/gstquery.c: (gst_query_type_iterate_definitions):
287         Add a GType to GstIterator, update callsites and tests.
289 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
291         * gst/gstpad.c: (gst_pad_event_default_dispatch):
292           give events a chance to be handled by event probes when the pad
293           is not linked
295 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
297         * gst/gstevent.c: (gst_event_type_get_name),
298         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
299         * gst/gstevent.h:
300           add string representations for event types
302 2005-10-06  Wim Taymans  <wim@fluendo.com>
304         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
305         Don't use NULL pointers.
307 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
309         * gst/gst_private.h:
310         * gst/gstbus.c:
311         * gst/gstelement.c:
312         * gst/gstinfo.c:
313         * gst/gstpluginfeature.c:
314           widen the debug category in output to fit the biggest one we have
315           add a bus category and use it
316           play with the colors
317           fix up some categories
319 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
321         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
322           add push activation of sink ghost pads.
323           Andye, please verify
325 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
327         * gst/gstutils.c: (gst_element_link_pads):
328           fix a bug in the case where neither element has a pad
329         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
330           add a test for that case
332 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
334         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
335           emit have-data before checking for peers.  This allows
336           for probe handlers to connect elements.  This helps autopluggers.
337         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
338         (gst_pad_suite):
339           add six checks, linked/unlinked with no/true/false probe
341 2005-10-04  Wim Taymans  <wim@fluendo.com>
343         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
344         (gst_fake_sink_event), (gst_fake_sink_preroll),
345         (gst_fake_sink_render), (gst_fake_sink_change_state):
346         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
347         (gst_fake_src_get_property), (gst_fake_src_create),
348         (gst_fake_src_stop):
349         * gst/elements/gstidentity.c: (gst_identity_stop):
350         Protect last_message with lock.
352 2005-10-04  Edward Hervey  <edward@fluendo.com>
354         * gst/gstformat.h: 
355         Added precision in the comments for GST_FORMAT_DEFAULT
357 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
359         * tools/gst-launch.c: (main):
360           Don't try to run erroneous pipelines.
362 2005-10-04  Julien MOUTTE  <julien@moutte.net>
364         * gst/gstbus.c: We don't need this header.
366 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
368         * configure.ac:
369           back to development
371 === release 0.9.3 ===
373 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
375         * README:
376         * configure.ac:
377           Releasing 0.9.3, "Unregistered"
379 2005-10-03  Andy Wingo  <wingo@pobox.com>
381         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
382         whereby calling a pad's activatepush() function can start a thread
383         that starts to push or pull before the pad gets the FLUSHING flag
384         unset. Hack around it by holding the stream lock until the flag is
385         set. Need to replace this with a proper solution. Together with
386         the ghost pad fixes, this fixes mp3 playing/tagreading.
388         * docs/design/part-gstghostpad.txt: Add a note about activation of
389         proxy pads outside of ghost pads.
391         * gst/gstghostpad.c: Implement the ghost pad activation design.
393 2005-10-02  Andy Wingo  <wingo@pobox.com>
395         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
396         It is volatile, after all.
398         * docs/design/part-gstghostpad.txt: Flesh out activation with
399         ghost pads.
401         * gst/base/gstbasesrc.c (gst_base_src_init): Use
402         GST_DEBUG_FUNCPTR.
404 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
406         * configure.ac:
407           Fix (unused) AM_CONDITIONAL tests.
409 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
411         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
413         * gst/gstutils.c: (gst_pad_query_convert):
414           Add assertion that makes sure src_val is >=0, just like
415           gst_query_new_convert() has. (#315895)
417 2005-09-30  Edward Hervey  <edward@fluendo.com>
419         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
420         Let's not iterate pads we're not interested in, it avoids getting 
421         sky-high refcounts on sinkpad.
423 2005-09-30  Wim Taymans  <wim@fluendo.com>
425         * gst/gstelement.c: (gst_element_set_state),
426         (gst_element_change_state):
427         Small tweak, element in ASYNC remains ASYNC.
429 2005-09-30  Wim Taymans  <wim@fluendo.com>
431         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
432         Only error is an error.
434         * gst/gstbin.c: (gst_bin_change_state):
435         Better debugging.
437         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
438         Also call pad_block in pad alloc.
440         * gst/gstutils.c: (gst_flow_get_name):
441         Better debugging.
443 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
445         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
446         (gst_base_src_get_range):
447           Fix documentation typos. Add some more debug info.
449 2005-09-29  David Schleef  <ds@schleef.org>
451         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
452           more end-user friendly.
453         * tools/gst-inspect.c: (main): Check if command-line argument is
454           a file and attempt to load that file as a plugin.
456 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
458         * check/gst/gstbin.c:
459         * check/states/sinks.c:
460           fix tests for the new warning
461         * check/gst/gstpipeline.c:
462           add a test for pipeline and bus interaction
463         * gst/gstelement.c:
464           elements should be NULL if they get disposed; add a warning if not
466 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
468         * gst/gstobject.c:
469           for 2.6 refcounting, make debug log more correct by printing
470           the actual refcounts at the time of swap (Wim)
472 2005-09-29  Andy Wingo  <wingo@pobox.com>
474         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
475         removes signal watches previously added via
476         gst_bus_add_signal_watch.
477         (gst_bus_add_signal_watch): Don't return the source id, just store
478         it on the bus if there wasn't an id already.
480         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
481         add_signal_watch and remove_signal_watch.
483 2005-09-29  Edward Hervey  <edward@fluendo.com>
485         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
486         Better if we actually iterate the list :)
488 2005-09-29  Wim Taymans  <wim@fluendo.com>
490         * check/gst/gstbin.c: (GST_START_TEST):
491         Change for new bus API.
493         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
494         (send_messages), (GST_START_TEST), (gstbus_suite):
495         Change for new bus signal API.
497         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
498         (gst_bus_source_prepare), (gst_bus_source_check),
499         (gst_bus_create_watch), (gst_bus_add_watch_full),
500         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
501         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
502         * gst/gstbus.h:
503         Remove support for multiple GSources operating on different
504         message types as it is too complex and unneeded when using
505         signals.
506         Added support for receiving signals from the bus.
508 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
510         * docs/libs/tmpl/gstdataprotocol.sgml:
511         * docs/manual/advanced-dataaccess.xml:
512         * gst/elements/gstcapsfilter.c:
513         * gst/gstutils.c:
514           rename filter-caps to caps property
516 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
518         * gst/gstvalue.c: (gst_value_deserialize_fraction):
519           More robust fraction string parsing.
521         * docs/pwg/appendix-porting.xml:
522           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
524 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
526         * gst/gstcaps.c: (gst_caps_do_simplify):
527           Thou shalt not free a structure and then continue using it
528           in the next loop iteration.
530         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
531         (gst_caps_suite):
532           Add test case for caps simplification.
534 2005-09-29  Wim Taymans  <wim@fluendo.com>
536         * check/gst/gstbin.c: (GST_START_TEST):
537         Oops.
539 2005-09-29  Wim Taymans  <wim@fluendo.com>
541         * check/gst/gstbin.c: (GST_START_TEST):
542         Add bus to bin.
544         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
545         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
546         (find_element), (gst_bin_sort_iterator_next),
547         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
548         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
549         (gst_bin_change_state), (gst_bin_dispose):
550         A bin does not have a bus, it gets the bus from the parent.
552         * gst/gstelement.c: (gst_element_requires_clock),
553         (gst_element_provides_clock), (gst_element_is_indexable),
554         (gst_element_is_locked_state), (gst_element_change_state),
555         (gst_element_set_bus_func):
556         Small cleanups.
558         * gst/gstpipeline.c: (gst_pipeline_class_init),
559         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
560         The pipeline provides a bus.
562 2005-09-28  Johan Dahlin  <johan@gnome.org>
564         * gst/gstmessage.c (gst_message_parse_state_changed): Use
565         gst_structure_get_enum instead of gst_structure_get_int
567         * gst/gststructure.c (gst_structure_get_enum): Impl.
569         * gst/gststructure.h (gst_structure_get_enum): Add
571         * docs/gst/gstreamer-sections.txt: Ditto
573         * gst/gstmessage.c (gst_message_new_state_changed): Use
574         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
575         which does introspection.
576         Reviewed by Christian Schaller
578 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
580         * gst/gstinfo.c: (gst_debug_log_default):
581           don't do dummy g_strdup()s
582         * libs/gst/controller/gstcontroller.c:
583         (on_object_controlled_property_changed),
584         (gst_controlled_property_new), (gst_controller_new_valist),
585         (gst_controller_new_list),
586         (gst_controller_remove_properties_valist), (gst_controller_set),
587         (gst_controller_get), (gst_controller_sync_values),
588         (gst_controller_get_value_array), (_gst_controller_class_init),
589         (gst_controller_get_type):
590         * libs/gst/controller/gstcontroller.h:
591         * libs/gst/controller/gstinterpolation.c:
592         (gst_controlled_property_find_timed_value_node):
593           convert // to /**/ comments
595 2005-09-28  Wim Taymans  <wim@fluendo.com>
597         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
598         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
599         (gst_bus_sync_signal_handler):
600         * gst/gstbus.h:
601         Added async-message and sync-message signals to the bus.
602         Added helper BusFunc to emit signals for all posted messages.
604         * gst/gstmessage.c: (gst_message_type_get_name),
605         (gst_message_type_to_quark), (gst_message_get_type):
606         * gst/gstmessage.h:
607         Register quarks for message names.
609 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
611         * docs/libs/gstreamer-libs-sections.txt:
612         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
613         (gst_controller_new_list):
614         * libs/gst/controller/gstcontroller.h:
615           added another constructor for language bindings
617 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
619         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
620           add another check
621         * gst/gstbus.c:
622           add some doc
623         * gst/gstinfo.c: (_gst_debug_init):
624           slightly more readable color for refcount debugging
626 2005-09-28  Wim Taymans  <wim@fluendo.com>
628         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
629         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
630         (find_element), (gst_bin_sort_iterator_next),
631         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
632         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
633         (gst_bin_change_state), (gst_bin_dispose):
634         Small doc fixes. get_clock -> provide_clock.
636         * gst/gstelement.c: (gst_element_class_init),
637         (gst_element_provides_clock), (gst_element_provide_clock),
638         (gst_element_get_clock), (gst_element_commit_state),
639         (gst_element_lost_state):
640         * gst/gstelement.h:
641         Make get/set_clock() symetric. Add provide_clock vmethod since
642         that is actually what this function does.
644         * gst/gstpipeline.c: (gst_pipeline_class_init),
645         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
646         (gst_pipeline_get_clock):
647         get_clock -> provide_clock.
649 2005-09-28  Andy Wingo  <wingo@pobox.com>
651         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
652         lieu of real docs...
654         * gst/elements/gstfdsrc.c: Cleaned up a bit.
656 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
658         * gst/elements/gstcapsfilter.c:
659         * gst/elements/gstfakesink.c:
660         * gst/elements/gstfakesrc.c:
661         * gst/elements/gstfdsink.c:
662         * gst/elements/gstfdsrc.c:
663         * gst/elements/gstfilesink.c:
664         * gst/elements/gstfilesrc.c:
665         * gst/elements/gstidentity.c:
666         * gst/elements/gsttee.c:
667         * gst/elements/gsttypefindelement.c:
668           Make element details static.
670 2005-09-28  Wim Taymans  <wim@fluendo.com>
672         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
673         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
674         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
675         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
676         (gst_bin_change_state), (gst_bin_dispose):
677         Some documentation updates.
678         Clean up dispose handlers.
680         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
681         * gst/gstpad.c: (gst_pad_dispose):
682         Clean up dispose handler.
684         * gst/gstpipeline.c: (gst_pipeline_change_state):
685         Removed spurious UNLOCK.
687 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
689         * docs/gst/gstreamer-sections.txt:
690         * gst/base/gstbasesrc.h:
691         * gst/gstelement.h:
692         * gst/gstevent.h:
693         * gst/gstobject.h:
694         * gst/gstpad.h:
695         * gst/gstpipeline.c:
696         * gst/gstpipeline.h:
697         * gst/gstutils.h:
698         * gst/gstxml.h:
699           added two new functions to the docs
700                 documents all undocumented GstXXXFlags
701                 completed some incomplete docs 
703 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
705         * gst/gstbin.c: (gst_bin_dispose):
706         * gst/gstelement.c: (gst_element_dispose):
707           remove now useless and leaky resurrection code in dispose
708         * gst/base/gstbasesrc.c: (gst_base_src_init):
709         * gst/gstelementfactory.c: (gst_element_factory_create):
710         * gst/gstobject.c: (gst_object_set_parent):
711           add some debugging
713 2005-09-27  Wim Taymans  <wim@fluendo.com>
715         * docs/design/part-TODO.txt:
716         Update TODO.
718         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
719         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
720         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
721         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
722         (gst_bin_change_state):
723         * gst/gstelement.h:
724         Remove element variable, we keep element info in the iterator now.
726 2005-09-27  Andy Wingo  <wingo@pobox.com>
728         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
729         values.
731 2005-09-27  Wim Taymans  <wim@fluendo.com>
733         * check/gst/gstbin.c: (GST_START_TEST):
734         Enable check that works now.
736         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
737         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
738         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
739         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
740         (gst_bin_change_state):
741         * gst/gstbin.h:
742         Redid the state change algorithm using a topological sort algo.
743         Handles all cases correctly.
744         Exposed iterator for state change order.
746         * gst/gstelement.h:
747         Temp storage for state changes. Need to get rid of this soon.
749 2005-09-27  Wim Taymans  <wim@fluendo.com>
751         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
752         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
753         (link_fold_func), (gst_pad_proxy_setcaps):
754         Leak fixes, the fold functions need to unref the passed object and
755         _get_parent_*() returns ref to parent.
757 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
759         * check/gst/gstbuffer.c: (test_make_writable):
760           Plug leak in test case and fix 'make check-valgrind'
762 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
764         * gst/gstbuffer.c: (gst_subbuffer_init):
765           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
766           works correctly in all circumstances (we could have just copied
767           the parent buffer's readonly flag, but conceptually it seems
768           cleaner to mark all subbuffers as read-only). (based on patch
769           by Alessandro Decina, #314710).
770         
771         * check/gst/gstbuffer.c: (create_read_only_buffer),
772         (test_make_writable), (test_subbuffer_make_writable),
773         (gst_test_suite):
774           Add some tests for gst_buffer_make_writable().
776 2005-09-27  Wim Taymans  <wim@fluendo.com>
778         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
779         use gst_object_has_ancestor().
781         * gst/gstobject.c: (gst_object_has_ancestor):
782         * gst/gstobject.h:
783         gst_object_has_ancestor() copied from gstbin.c as it is a
784         usefull function.
786         * tests/instantiate/create.c: (create_all_elements):
787         * tests/lat.c: (handoff_src), (handoff_sink):
788         * tests/sched/runxml.c: (main):
789         * tests/seeking/seeking1.c: (main):
790         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
791         (main):
792         Fix compilation of some tests.
794 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
796         * gst/gsterror.h:
797           Remove comment. GST_TYPE_G_ERROR is here to stay,
798           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
799           (#316961, #300610).
801 2005-09-26  Wim Taymans  <wim@fluendo.com>
803         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
804         Added check that shows error in state change order.
806 2005-09-26  Wim Taymans  <wim@fluendo.com>
808         * gst/gstbin.c: (gst_bin_change_state):
809         Make state change function use 3 queues again, we were
810         adding elements in the wrong order.
812         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
813         Some debug info,
815         * gst/gstpad.c: (gst_pad_dispose):
816         Added some debug info first.
818 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
820         * docs/design/draft-push-pull.txt:
821         * docs/design/part-events.txt:
822         * docs/design/part-overview.txt:
823         * docs/design/part-scheduling.txt:
824           Replace all _pull_region() with _pull_range()
825           
826 2005-09-26  Andy Wingo  <wingo@pobox.com>
828         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
830         * check/gst-libs/controller.c: Update for controller api change.
832         * configure.ac: 
833         * tests/Makefile.am:
834         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
835         over by GLib bug 118439.
836         
837         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
838         routines to a function.
840         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
842         * libs/gst/controller/gsthelper.c:
843         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
844         (gst_object_sync_values): Renamed from sink_values. Ugh.
846         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
848         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
849         Renamed from controller_key, as it is exported.
851         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
853 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
855         * gst/Makefile.am:
856         * gst/gst.h:
857         * gst/gstpad.h:
858         * gst/gstpadtemplate.h:
859         * gst/gstquery.c:
860         * gst/gstquery.h:
861         * gst/gstqueryutils.c:
862         * gst/gstqueryutils.h:
863           remove queryutils headers after moving the two used functions
864           to gstquery.  also fixes build problem for gstsiddec
866 2005-09-26  Michael Smith <msmith@fluendo.com>
868         * tools/gst-launch.1.in:
869         Correct documentation in manpage of debug syntax
871 2005-09-26  Wim Taymans  <wim@fluendo.com>
873         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
874         (gst_base_src_is_seekable), (gst_base_src_change_state):
875         Some more debugging info.
877 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
879         * docs/gst/gstreamer-sections.txt:
880         * gst/base/gstbasetransform.h:
881         * gst/gstindex.h:
882           added more docs
884 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
886         * docs/gst/.cvsignore:
887         * docs/gst/tmpl/.cvsignore:
888         * docs/gst/tmpl/gstpipeline.sgml:
889         * docs/gst/tmpl/gstplugin.sgml:
890         * gst/gstpipeline.c:
891         * gst/gstplugin.c:
892         * gst/gstplugin.h:
893           inlined the last two docs files
894           removed the tmpl directory from cvs (no more conflicts here!)
896 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
898         * docs/gst/gstreamer-sections.txt:
899         * docs/gst/tmpl/.cvsignore:
900         * docs/gst/tmpl/gstpad.sgml:
901         * docs/gst/tmpl/gstpadtemplate.sgml:
902         * gst/Makefile.am:
903         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
904         (gst_pad_finalize), (gst_pad_set_pad_template):
905         * gst/gstpad.h:
906         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
907         (gst_pad_template_class_init), (gst_pad_template_init),
908         (gst_pad_template_dispose), (name_is_valid),
909         (gst_static_pad_template_get), (gst_pad_template_new),
910         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
911         (gst_pad_template_pad_created):
912         * gst/gstpadtemplate.h:
913           inlined two more docs
914           factored gstpadtemplate out of gstpad
916 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
918         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
919         (test_children_state_change_order_semi_sink):
920           Fix test case: we can't rely on a fixed state change order when
921           going from READY => PAUSED because the sink might commit its 
922           new state first when the first buffer created by the source 
923           reaches the sink before the source has finished its change state.
924           (Test case still fails at times, see #316856, comment 5 onwards)
926 2005-09-24  Wim Taymans  <wim@fluendo.com>
928         * docs/design/part-events.txt:
929         * docs/design/part-gstbus.txt:
930         * docs/design/part-gstpipeline.txt:
931         * docs/design/part-messages.txt:
932         * docs/design/part-overview.txt:
933         * docs/design/part-segments.txt:
934         * gst/gstbin.c:
935         * gst/gstbuffer.c:
936         * gst/gstclock.c:
937         * gst/gstelement.c:
938         * gst/gstevent.c:
939         * gst/gstfilter.c:
940         * gst/gstiterator.c:
941         Various documentation updates.
943 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
945         * gst/gstclock.h:
946           Well, that's embarassing.  Luckily we weren't using
947           GST_CLOCK_DIFF anywhere.
949 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
951         * common/gtk-doc.mak:
952           don't fail on building XML, FC4 slave shows a bunch of doc
953           missing bits that I don't get
954         * gst/gstpad.c:
955         * gst/gstpipeline.c:
956         * gst/gststructure.c:
957           some doc updates
959 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
961         * docs/design/part-gstbin.txt:
962         * docs/design/part-gstbus.txt:
963         * gst/gstbus.c:
964           Add blurb about how the bus goes into flushing mode and
965           drops all messages when its bin goes from READY into NULL 
966           state.
968 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
970         * docs/gst/gstreamer-sections.txt:
971         * gst/gststructure.c: (gst_structure_get_clock_time):
972         * gst/gststructure.h:
973           add a method to get a GstClockTime out of a structure
975 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
977         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
978         (test_children_state_change_order_semi_sink), (gst_bin_suite):
979           Added test to check state change order in bins (can still be made
980           to fail here under heavy disk load; bails out with 'Push on pad
981           fakesink:sink0, but it was not activated in push mode').
983         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
984           Fix state change order when there is only a semi sink (#316856)
986         * gst/gstbus.c: (gst_bus_class_init):
987           Use _class_peek_parent(), not _class_ref(); fix docs to say
988           'default main context' instead of 'mainloop' where that is
989           what's meant.
991         * gst/gstelement.c: (gst_element_commit_state),
992         (gst_element_set_state):
993           Fix typos in debug messages
995 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
997         * docs/README:
998         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
999         * gst/gstpluginfeature.c:
1000         * gst/gstutils.c:
1001           various doc updates
1002         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1003           change an assert into an error until it gets fixed properly
1005 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
1007         * docs/gst/gstreamer-sections.txt:
1008         * docs/gst/tmpl/.cvsignore:
1009         * docs/gst/tmpl/gstelement.sgml:
1010         * docs/gst/tmpl/gstinfo.sgml:
1011         * docs/gst/tmpl/gstobject.sgml:
1012         * gst/gstelement.c:
1013         * gst/gstelement.h:
1014         * gst/gstinfo.c:
1015         * gst/gstinfo.h:
1016         * gst/gstobject.c: (gst_object_class_init):
1017         * gst/gstobject.h:
1018           inlined 3 more biiiig doc files and added some missing docs on the fly
1020 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1022         * check/gst/.cvsignore:
1023         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
1024         * gst/gstregistryxml.c: (load_plugin),
1025         (gst_registry_xml_save_plugin):
1026           put back source in registry.  add checks for find_plugin.
1027         * testsuite/states/bin.c: (assert_state), (empty_bin),
1028         (test_adding_one_element), (main):
1029         * testsuite/states/locked.c: (main):
1030           some compile/run fixes
1032 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1034         * check/gst/gstvalue.c: (GST_START_TEST):
1035           fix leaks in the test itself
1037 2005-09-22  Wim Taymans  <wim@fluendo.com>
1039         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1040         (gst_base_sink_send_event), (gst_base_sink_peer_query),
1041         (gst_base_sink_query):
1042         Prepare for more accurate position reporting and query
1043         handling.
1045         * gst/gstelement.c: (gst_element_send_event),
1046         (gst_element_set_state):
1047         Add some comment.
1049 2005-09-22  Wim Taymans  <wim@fluendo.com>
1051         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
1052         (gst_query_parse_segment):
1053         * gst/gstquery.h:
1054         More documentation.
1055         Add segment query for future use.
1057 2005-09-22  Wim Taymans  <wim@fluendo.com>
1059         * gst/gstbin.c: (gst_bin_add_func):
1060         Some more debug info.
1062         * gst/gstelement.c: (gst_element_send_event):
1063         Simplify send_event
1065         * gst/gstelement.h:
1066         Don't know how flags got broken.
1068         * gst/gstquery.h:
1069         Added new query.
1071 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
1073         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
1074           Add simplistic test suite for GST_TYPE_DATE serialisation and
1075           deserialisation.
1077 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
1079         * docs/gst/gstreamer-sections.txt:
1080         * gst/gststructure.c: (gst_structure_set_valist),
1081         (gst_structure_get_date):
1082         * gst/gststructure.h:
1083         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
1084         (gst_date_copy), (gst_value_compare_date),
1085         (gst_value_serialize_date), (gst_value_deserialize_date),
1086         (gst_value_transform_date_string),
1087         (gst_value_transform_string_date), (_gst_value_initialize):
1088         * gst/gstvalue.h:
1089           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
1090           bunch of utility functions along with a hack that checks that
1091           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
1092           is required. Part of the grand scheme in #170777.
1094 2005-09-22  Andy Wingo  <wingo@pobox.com>
1096         * gst/gstconfig.h.in: Psych out gtk-doc.
1098         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
1100         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
1102         * tools/gst-inspect.c (print_element_list): Plug some
1103         inconsequential leaks.
1105         * gst/gstregistry.c (gst_registry_get_default): Doc.
1107         * check/gst/gstplugin.c: 
1108         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
1109         * gst/gstelementfactory.c (gst_element_factory_create): 
1110         * gst/gstindexfactory.c (gst_index_factory_create): Update for
1111         refcount changes.
1113         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
1114         (gst_plugin_feature_load): Doc, don't eat refs.
1116         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
1117         (gst_plugin_list_free): Doc.
1118         (gst_plugin_load_file): Doc updates.
1120         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
1121         accessors returning refcounted objects, return a ref.
1123         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
1124         accessor for caps. IDEMPOTENCE. Oh yes.
1126 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
1128         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1130         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
1131         (_gst_debug_register_funcptr):
1132           Add mutex to serialise access to the hash table with
1133           the function pointer => function name string mapping;
1134           make that hash table static scope (#316809).
1136         * gst/registries/.cvsignore:
1137           Remove left-over file.
1139 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
1141         * docs/pwg/appendix-porting.xml:
1142           And something about newsegment events and caps-on-buffers to
1143           the porting guide (feel free to improve).
1145 2005-09-21  Andy Wingo  <wingo@pobox.com>
1147         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
1148         data and event probes on the same pad.
1149         (test_buffer_probe_once): Test that removing probes from within
1150         the probe functions works.
1152 2005-09-21  Andy Wingo  <wingo@pobox.com>
1154         * check/gst/gstutils.c: New file.
1155         (test_buffer_probe_n_times): A simple buffer probe test. More to
1156         come, foolios.
1158         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
1159         have-data::buffer, not have-data.
1160         (gst_pad_add_event_probe): Likewise for have-data::event.
1161         (gst_pad_add_data_probe): More docs. The part about 'resolving the
1162         peer' isn't quite right yet though.
1163         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
1164         (gst_pad_remove_data_probe): Change to take the guint handler_id
1165         as their arg, not the function+data, which is more glib-like.
1167         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
1168         the signal emission to indicate if the data is a buffer or an
1169         event.
1170         (gst_pad_get_type): Initialize buffer and event quarks.
1171         (gst_pad_class_init): have-data is now a detailed signal, yes it
1172         is.
1174 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
1176         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1177         * gst/gstutils.c: (gst_util_set_value_from_string),
1178         (gst_util_set_object_arg):
1179           Don't put functional code in g_return_if_fail() or
1180           g_return_val_if_fail() statements, otherwise things will 
1181           break when G_DISABLE_CHECKS is defined during compilation.
1183 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1185         * docs/gst/tmpl/.cvsignore:
1186         * docs/gst/tmpl/gstvalue.sgml:
1187         * gst/gstvalue.c:
1188         * gst/gstvalue.h:
1189           inlied another one and added  some obvious docs
1191 2005-09-21  Wim Taymans  <wim@fluendo.com>
1193         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1194         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
1195         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
1196         (gst_fdsrc_get_property), (gst_fdsrc_create):
1197         * gst/elements/gstfdsrc.h:
1198         Properly implement fdsrc. Removed signal and timeout,
1199         better implemented somewhere else.
1201 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1203         * docs/gst/tmpl/.cvsignore:
1204         * docs/gst/tmpl/gstimplementsinterface.sgml:
1205         * gst/gstinterface.c:
1206           inlined more docs
1208 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1210         * docs/gst/gstreamer-sections.txt:
1211         * docs/gst/tmpl/.cvsignore:
1212         * docs/gst/tmpl/gstenumtypes.sgml:
1213           remove obsolete doc file
1215 2005-09-21  David Schleef  <ds@schleef.org>
1217         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
1218         little beer, fix a little leak.
1220 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1222         * docs/gst/gstreamer-docs.sgml:
1223         * docs/gst/gstreamer-sections.txt:
1224         * docs/gst/tmpl/.cvsignore:
1225         * gst/Makefile.am:
1226         * gst/gst.h:
1227         * gst/gstbin.c:
1228         * gst/gstelement.h:
1229         * gst/gstindex.c: (gst_index_class_init):
1230         * gst/gstindex.h:
1231         * gst/gstindexfactory.c: (gst_index_factory_get_type),
1232         (gst_index_factory_class_init), (gst_index_factory_init),
1233         (gst_index_factory_finalize), (gst_index_factory_new),
1234         (gst_index_factory_destroy), (gst_index_factory_find),
1235         (gst_index_factory_create), (gst_index_factory_make):
1236         * gst/gstindexfactory.h:
1237         * gst/gstpluginfeature.c:
1238         * gst/gstpluginfeature.h:
1239         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1240           more docs inlined, splitted gstindex.{c,h}
1242 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1244         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1245           fix a leak
1247 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
1249         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1250           Set sync to FALSE by default.
1252 2005-09-20  Wim Taymans  <wim@fluendo.com>
1254         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1255         (gst_base_sink_init):
1256         Make sync property settable from subclass.
1258         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1259         (gst_fake_sink_change_state):
1260         Set sync to FALSE by default.
1262 2005-09-20  Wim Taymans  <wim@fluendo.com>
1264         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
1265         * tools/gst-launch.c: (main):
1266         The timeout handler should have lower priority than the source
1267         so we don't timeout before popping a message with 0 timeout.
1268         Dump error messages after failed state change.
1270 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
1272         * tools/gst-inspect.c: (print_element_properties_info):
1273           Fix two typos.
1275 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1277         * check/gst/gstevent.c:
1278         * gst/elements/gstfakesink.c:
1279         * gst/elements/gstfakesink.h:
1280           remove the sync property from fakesink.
1281           has the side effect of setting sync TRUE
1282           for fakesink, which is a change.  Anyone who knows how
1283           to fix this nicely in a GObject-y way, feel free.
1285 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1287         * docs/gst/gstreamer-docs.sgml:
1288           remove probe refsection
1290 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1292         * check/Makefile.am:
1293           disable valgrinding the controller test again
1294         * docs/gst/gstreamer-sections.txt:
1295           update for api-changes
1297 2005-09-20  Wim Taymans  <wim@fluendo.com>
1299         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1300         (gst_base_sink_set_property), (gst_base_sink_get_property),
1301         (gst_base_sink_do_sync):
1302         * gst/base/gstbasesink.h:
1303         Added sync property to basesink to disable clock sync.
1305 2005-09-20  Andy Wingo  <wingo@pobox.com>
1307         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1308         eating the caller's refcount.
1310         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
1311         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1312         refcount.
1314         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1315         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1316         of GLib 2.8 public, so we can know which refcount to check in
1317         tests.
1319         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1320         (gst_object_init): Only set the gst refcount if we're going ahead
1321         with the refcount hack.
1323 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1325         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1326         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1327           more leaks plumbed, added more debug-logging
1328         * gst/gstmacros.h:
1329           whitespace fix
1331 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1333         * gst/gstmessage.c:
1334           remove include of gstmemchunk.h
1336 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1338         * gst/gstclock.c: (_gst_clock_id_free):
1339           Commit from the Political Party For More Atomic CVS Commits,
1340           so that people don't waste too much of their day fishing
1341           out obvious leaks out of massive commits.
1342           Oh, and fix a pretty damn obvious leak in the memchunk
1343           removal code.
1345 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1347         * check/Makefile.am:
1348         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1349           plug mem-leak, re-add to valgrindable tests
1351 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1353         * gst/gstplugin.h:
1354           unbreak the build for those who have chronic arthritis
1355           and typing "make check" is just too taxing on the hands
1357 2005-09-20  Andy Wingo  <wingo@pobox.com>
1359         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1360         really want it out, you should fix plugins at the same time.
1362 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
1364         * configure.ac:
1365         * docs/gst/gstreamer-sections.txt:
1366         * gst/gstobject.c:
1367           added missing symbols to api docs
1368           disable ref-count hack if we have glib >= 2.8
1370 2005-09-19  David Schleef  <ds@schleef.org>
1372         * docs/gst/Makefile.am: Ignore a few more internal headers
1373         * docs/gst/gstreamer-docs.sgml: Remove old sections
1374         * docs/gst/gstreamer-sections.txt: Remove old sections
1375         * docs/gst/tmpl/gstobject.sgml: update
1376         * docs/gst/tmpl/gstplugin.sgml: update
1377         * docs/gst/tmpl/gstpluginfeature.sgml: update
1378         * docs/random/ds/0.9-suggested-changes: update.
1379         * gst/Makefile.am: remove memchunk and trashstack, since they're
1380           not used.
1381         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1382         * gst/gst.h: don't include some headers
1383         * gst/gstchildproxy.c: add gstmarshal.h
1384         * gst/gstclock.c: Don't use memchunks
1385         * gst/gstminiobject.c: Add some docs
1386         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
1387         * gst/gstobject.h: same
1388         * gst/gstplugin.c: include gstmacros.h
1389         * gst/gstplugin.h: don't include gstmacros.h, since it's private
1390         * gst/gstquery.c: don't use memchunks
1391         * gst/gstregistry.c: rename gst_registry_deinit()
1392         * gst/gstregistry.h: same
1394 2005-09-19  David Schleef  <ds@schleef.org>
1396         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
1397         * docs/libs/gstreamer-libs-sections.txt:
1398         * docs/libs/tmpl/gstgetbits.sgml:
1399         * docs/libs/tmpl/gstputbits.sgml:
1401 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1403         * win32/gstenumtypes.c:
1404         * win32/gstenumtypes.h:
1405           Update.
1407 2005-09-19  Wim Taymans  <wim@fluendo.com>
1409         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1410         Automatically PAUSE and RESUME a pipeline when a flushing seek
1411         is performed.
1413 2005-09-19  Andy Wingo  <wingo@pobox.com>
1415         * gst/gstregistry.h: Spacing fixen.
1417 2005-09-19  Wim Taymans  <wim@fluendo.com>
1419         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1420         Handle state change failure more correctly.
1422 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1424         * check/Makefile.am:
1425         * check/pipelines/cleanup.c: (run_pipeline):
1426         * check/pipelines/simple_launch_lines.c: (run_pipeline),
1427         (GST_START_TEST):
1428           enable cleanup again after fixing the leak
1429         * docs/README:
1430           some more info on docs
1432 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1434         * check/Makefile.am:
1435           re-enable tests now that leaks are plugged
1436         * check/gst/gst.c:
1437         * check/gst/gstbin.c:
1438         * check/gst/gstpipeline.c:
1439           add some more tests while fixing leaks
1440         * common/check.mak:
1441           make sure binaries are uptodate when valgrinding/gdbing
1442         * gst/gst.c:
1443         * gst/gstelementfactory.c:
1444           remove a ref too many, and add a FIXME for when we get
1445           round to disposing of classes
1446         * gst/gstplugin.c:
1447           fix the refcounting when loading a plugin from a file and
1448           the code pretends that the pointer is the same even though
1449           of course it can change
1450         * gst/gstpluginfeature.c:
1451           unref plugins marked cached (a bit confusing as a name)
1452           as the docs state should be done
1453           various doc additions to explain refcounting
1454         * gst/gstregistry.c:
1455         * gst/gstregistryxml.c:
1456           debugging
1458 2005-09-19  Wim Taymans  <wim@fluendo.com>
1460         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1461         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1462         (send_messages), (GST_START_TEST), (gstbus_suite):
1463         * check/gst/gstpipeline.c: (GST_START_TEST):
1464         * check/pipelines/cleanup.c: (run_pipeline):
1465         * check/pipelines/simple_launch_lines.c: (run_pipeline),
1466         (GST_START_TEST):
1467         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1468         (gst_bus_source_check), (gst_bus_source_dispatch),
1469         (gst_bus_create_watch), (gst_bus_add_watch_full),
1470         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1471         * gst/gstbus.h:
1472         * tools/gst-launch.c: (event_loop):
1473         * tools/gst-md5sum.c: (event_loop):
1474         GstBusHandler -> GstBusFunc, return value has the same meaning as
1475         any other GSource (FALSE == remove source).
1476         _add_watch() and _add_watch_full() now take a MessageType mask to
1477         only handle specific types of messages.
1478         _poll() returns the GstMessage instead of the message type to avoid
1479         race conditions.
1480         _have_pending() takes a MessageType mask now too.
1481         Added testsuite for multiple bus watches.
1482         Fix testsuites and applications for new bus API.
1484 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1486         * check/Makefile.am:
1487           mark a bunch of the tests as to fix until we fix them
1489 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1491         * common/check.mak:
1492           use GST_PLUGIN settings for valgrind tests as well, so we're
1493           valgrinding the correct thing
1494         * gst/gst.c: (init_post):
1495           plug another leak
1497 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1499         * gst/gst.c: (init_post), (gst_deinit):
1500         * gst/gstelementfactory.c: (gst_element_factory_class_init),
1501         (gst_element_factory_finalize), (gst_element_factory_cleanup):
1502         * gst/gstindex.c: (gst_index_factory_class_init),
1503         (gst_index_factory_finalize):
1504         * gst/gstobject.c: (gst_object_dispose):
1505         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1506         (gst_plugin_load_file), (gst_plugin_desc_free):
1507         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1508         (gst_plugin_feature_finalize):
1509         * gst/gstregistry.c: (gst_registry_class_init),
1510         (gst_registry_init), (gst_registry_finalize),
1511         (gst_registry_get_default), (gst_registry_deinit):
1512         * gst/gstregistry.h:
1513         * gst/gstregistryxml.c: (load_feature), (load_plugin):
1514           various cleanups and memleak plugging.  make valgrind is happy now.
1516 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1518         * common/check.mak:
1519           add a check-valgrind target
1521 2005-09-18  David Schleef  <ds@schleef.org>
1523         * tools/gst-inspect.c: Revert the GOption code.
1525 2005-09-17  David Schleef  <ds@schleef.org>
1527         * check/Makefile.am: Fix environment variables.
1528         * check/gst/gstplugin.c: Fix for API changes.
1529         * tools/gst-inspect.c: Fix for API changes.
1530         * tools/gst-xmlinspect.c: Fix for API changes.
1531         * gst/gstelementfactory.c:
1532         * gst/gstplugin.c:
1533         * gst/gstplugin.h:
1534         * gst/gstpluginfeature.c:
1535         * gst/gstpluginfeature.h:
1536         * gst/gstregistry.c:
1537         * gst/gstregistry.h:
1538         * gst/gstregistryxml.c:
1539         * gst/gsttypefind.c:
1540         * gst/gsttypefindfactory.c:
1541         * gst/indexers/gstfileindex.c:
1542         * gst/indexers/gstmemindex.c:
1543         * gst/schedulers/Makefile.am:
1544           Change registry to keep track of both plugins and features,
1545           removing the feature tracking from plugins themselves.
1547 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1549         * check/Makefile.am:
1550         * tools/gst-register.1.in:
1551           remove gst-register
1553 2005-09-15  David Schleef  <ds@schleef.org>
1555         * check/gst/gstplugin.c:
1556         * gst/gstelementfactory.c:
1557         * gst/gstplugin.c:
1558         * gst/gstpluginfeature.c:
1559         * gst/gstregistry.c:
1560           Getting tired of debugging.  Disabled all the unreffing of
1561           plugins and features, which fixes the segfaults, but of
1562           course leaks like crazy.  At least playbin works.
1564 2005-09-15  David Schleef  <ds@schleef.org>
1566         * check/gst/gstplugin.c: (register_check_elements),
1567         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1568         More testing
1569         * gst/elements/gsttypefindelement.c: Fix refcounting.
1570         * gst/gsttypefind.c:
1571         * gst/gsttypefindfactory.c:
1572         * gst/gsttypefindfactory.h:
1574 2005-09-15  David Schleef  <ds@schleef.org>
1576         * gst/gstindex.c: get refcounting correct.
1577         * gst/gstregistry.c: Handle the case where a feature/plugin is
1578           not found.
1580 2005-09-15  David Schleef  <ds@schleef.org>
1582         * check/Makefile.am:
1583         * check/gst/gstplugin.c: Add test
1584         * gst/gstplugin.c: Fix problems noticed by testsuite
1585         * gst/gstplugin.h:
1586         * gst/gstregistry.c: 
1587         * gst/gstregistry.h:
1589 2005-09-15  David Schleef  <ds@schleef.org>
1591         * gst/gstplugin.c: Implement semi-decent recounting and locking
1592           in plugins and plugin features.
1593         * gst/gstplugin.h:
1594         * gst/gstpluginfeature.c:
1595         * gst/gstpluginfeature.h:
1596         * gst/gstregistry.c:
1598 2005-09-15  Michael Smith <msmith@fluendo.com>
1600         * gst/gstregistry.c: (gst_registry_get_feature_list):
1601           Implement this. Makes oggdemux work; decodebin still broken.
1603 2005-09-14  David Schleef  <ds@schleef.org>
1605         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1606           #316076)
1607         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1608         * gst/check/Makefile.am:
1609         * libs/gst/controller/Makefile.am:
1610         * libs/gst/dataprotocol/Makefile.am:
1612 2005-09-14  David Schleef  <ds@schleef.org>
1614         * configure.ac: Remove getbits library.  Nothing uses it, and
1615           it should be in something like liboil if someone did want
1616           to use it.
1617         * libs/gst/Makefile.am:
1618         * libs/gst/getbits/Makefile.am:
1619         * libs/gst/getbits/gbtest.c:
1620         * libs/gst/getbits/getbits.c:
1621         * libs/gst/getbits/getbits.h:
1622         * libs/gst/getbits/gstgetbits_generic.c:
1623         * libs/gst/getbits/gstgetbits_i386.s:
1624         * libs/gst/getbits/gstgetbits_inl.h:
1626 2005-09-14  David Schleef  <ds@schleef.org>
1628         * gst/Makefile.am: Dist glib-compat.h
1630 2005-09-14  David Schleef  <ds@schleef.org>
1632         * configure.ac: Remove gst/registries, since it's no longer used.
1633         * gst/registries/Makefile.am:
1634         * gst/registries/gstlibxmlregistry.c:
1635         * gst/registries/gstlibxmlregistry.h:
1636         * gst/registries/gstxmlregistry.c:
1637         * gst/registries/gstxmlregistry.h:
1638         * gst/registries/registrytest.c:
1640 2005-09-14  David Schleef  <ds@schleef.org>
1642         * gst/glib-compat.h:
1643         * gst/gstregistryxml.c:
1644           Convergence is near.  Seriously.
1646 2005-09-14  David Schleef  <ds@schleef.org>
1648         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1649         * gst/glib-compat.h:
1650           Attempt #4 to appease the buildbots.
1652 2005-09-14  David Schleef  <ds@schleef.org>
1654         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1655           Attempt #3.
1657 2005-09-14  David Schleef  <ds@schleef.org>
1659         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1660         Attempt #2.
1662 2005-09-14  David Schleef  <ds@schleef.org>
1664         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1665           the new functions.
1667 2005-09-14  David Schleef  <ds@schleef.org>
1669         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1670         * gst/glib-compat.h: Add some functions that are in newer versions
1671           of glib than we care to require.
1672         * gst/gstregistryxml.c: Use them.
1674 2005-09-14  David Schleef  <ds@schleef.org>
1676         * po/POTFILES.in: remove gst-register.c
1678 2005-09-14  David Schleef  <ds@schleef.org>
1680         * docs/gst/gstreamer-docs.sgml:
1681         * docs/gst/gstreamer-sections.txt:
1682         * docs/gst/gstreamer.types:
1683         * docs/gst/tmpl/gstelement.sgml:
1684         * docs/gst/tmpl/gstplugin.sgml:
1685         * docs/gst/tmpl/gstpluginfeature.sgml:
1686           Documentation updates for registry changes.
1688 2005-09-14  David Schleef  <ds@schleef.org>
1690         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1691           because we don't require glib-2.8.
1693 2005-09-14  David Schleef  <ds@schleef.org>
1695         * gst/gstregistryxml.c: Added.  Essentially moved out of the
1696           registries directory.
1698 2005-09-14  David Schleef  <ds@schleef.org>
1700         * check/Makefile.am:
1701         * check/generic/states.c:
1702         * gst/Makefile.am:
1703         * gst/gst.c:
1704         * gst/gst.h:
1705         * gst/gst_private.h:
1706         * gst/gstelementfactory.c:
1707         * gst/gstindex.c:
1708         * gst/gstinfo.c:
1709         * gst/gstplugin.c:
1710         * gst/gstplugin.h:
1711         * gst/gstpluginfeature.c:
1712         * gst/gstpluginfeature.h:
1713         * gst/gstregistry.c:
1714         * gst/gstregistry.h:
1715         * gst/gstregistrypool.c: remove
1716         * gst/gstregistrypool.h: remove
1717         * gst/gsttypefind.c:
1718         * gst/gsttypefindfactory.c:
1719         * gst/gsturi.c:
1720         * tools/Makefile.am:
1721         * tools/gst-compprep.c:
1722         * tools/gst-inspect.c:
1723         * tools/gst-register.c: remove
1724         * tools/gst-xmlinspect.c:
1725           Registry rewrite.  Changes registry from being a file created
1726           by a tool into a simple cache file created automatically by 
1727           libgstreamer.  Removed gst-register (because it's no longer
1728           needed).  Remove registry pools, because we only have one
1729           registry implementation (XML).  Fix up other subsystems as
1730           necessary.
1732 2005-09-13  Michael Smith <msmith@fluendo.com>
1734         * gst/gstconfig.h.in:
1735           Don't Use windows linking attributes for MinGW. Fixes #316157
1737 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1739         * gst/gstutils.c: (set_state_async_thread_func),
1740         (gst_element_set_state_async):
1741           Apparently people think it's better if this function doesn't
1742           try to set the state to whatever state was asked for on the first
1743           call to this function for any object.  Seriously.
1745 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1747         * check/gst/gstpipeline.c: (GST_START_TEST):
1748         * docs/gst/gstreamer-sections.txt:
1749         * gst/gstutils.c: (set_state_async_thread_func),
1750         (gst_element_set_state_async):
1751         * gst/gstutils.h:
1752           add a "gst_element_set_state_async" method that
1753           sets the state and starts a thread to make sure the state
1754           change completes as best as it can
1756 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1758         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1759           codify design+behaviour in testsuite after discussion
1761 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1763         * docs/gst/tmpl/gstelement.sgml:
1764         * docs/manual/appendix-quotes.xml:
1765           add a quote
1766         * gst/gstelement.c: (gst_element_set_state):
1767           add some debug
1769 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
1771         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1772         (gst_base_transform_prepare_output_buf),
1773         (gst_base_transform_handle_buffer):
1774         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1775         (gst_capsfilter_prepare_buf):
1776           Remove the requirement for sub-classes to call the parent
1777           implementation of prepare_output_buffer with a wrapper function.
1778           
1779         * gst/gsttaglist.h:
1780         * gst/gsttagsetter.h:
1781           Fix #define wrapper
1783 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
1785         * docs/gst/gstreamer-sections.txt:
1786           more doc cleanups
1788 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1790         * docs/gst/gstreamer-sections.txt:
1791         * docs/gst/tmpl/gstelement.sgml:
1792         * docs/gst/tmpl/gstplugin.sgml:
1793         * gst/gstminiobject.c:
1794         * gst/gstvalue.h:
1795           docs now stop throwing warnings
1797 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1799         * docs/gst/gstreamer-sections.txt:
1800         * docs/gst/gstreamer.types:
1801         * docs/gst/tmpl/gstpad.sgml:
1802         * docs/gst/tmpl/gsttypes.sgml:
1803         * gst/base/gstadapter.h:
1804         * gst/base/gstbasesink.h:
1805         * gst/base/gstbasesrc.h:
1806         * gst/gstbin.h:
1807         * gst/gstbuffer.h:
1808         * gst/gstbus.h:
1809         * gst/gstcaps.h:
1810         * gst/gstclock.h:
1811         * gst/gstelement.h:
1812         * gst/gstevent.h:
1813         * gst/gstmessage.h:
1814         * gst/gstpad.h:
1815         * gst/gststructure.c:
1816         * gst/registries/gstlibxmlregistry.h:
1817           various documentation fixes
1819 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1821         * docs/gst/gstreamer-sections.txt:
1822         * docs/gst/tmpl/gstvalue.sgml:
1823           rearrange gstvalue section
1824         * gst/gstutils.c: (gst_element_state_get_name):
1825           NONE -> VOID
1826         * gst/gstvalue.c: (_gst_value_initialize):
1827         * gst/gstvalue.h:
1828           doc updates
1830 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
1832         * check/gst-libs/controller.c:
1833           Header include fix.
1834         * gst/base/gstbasetransform.c:
1835         (gst_base_transform_default_prepare_buf),
1836         (gst_base_transform_handle_buffer):
1837         * gst/base/gstbasetransform.h:
1838           Some more basetransform changes and fixes to enable sub-classes
1839           that modify buffer metadata only.
1840         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1841         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1842         (gst_capsfilter_prepare_buf):
1843           If the output pad has fixed allowed caps and input buffers 
1844           don't have any, set the fixed caps on outgoing buffers.
1846 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
1847         * check/elements/identity.c: (GST_START_TEST):
1848           Make the error a little clearer when the test fails because
1849           identity made a copy of the buffer.
1850         * docs/gst/gstreamer-sections.txt:
1851           New symbols in gstbasetransform.h
1852         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1853         (gst_base_transform_init), (gst_base_transform_transform_size),
1854         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1855         (gst_base_transform_default_prepare_buf),
1856         (gst_base_transform_get_unit_size),
1857         (gst_base_transform_buffer_alloc),
1858         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1859         (gst_base_transform_change_state),
1860         (gst_base_transform_set_passthrough),
1861         (gst_base_transform_set_in_place),
1862         (gst_base_transform_is_in_place):
1863         * gst/base/gstbasetransform.h:
1864           Change BaseTransform to separate in_place operate from same_caps
1865           output. in_place implies that the element can perform the transform
1866           on incoming buffers in-place, even if the caps on the output are
1867           different.
1868           Sub-class elements can now implement special buffer allocation
1869           methods for outgoing buffers if they wish to.
1870           Big documentation addition.
1871         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1872         * gst/elements/gstelements.c:
1873           Changes for basetransform modifications.
1874         * gst/elements/Makefile.am:
1875         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1876           Compile fix. Extra debug output.
1878 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1880         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1881         (gst_pad_suite):
1882           add tests for valid pad naming
1883         * gst/check/gstcheck.c: (gst_check_log_message_func),
1884         (gst_check_log_critical_func):
1885           add ASSERT_WARNING
1886           remove printing of code, it is fragile when the code contains
1887           % and the line number is enough info
1888         * gst/check/gstcheck.h:
1889         * gst/gstpad.c: (gst_pad_template_new):
1890           fix memleaks
1892 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1894         * configure.ac:
1895           say what CHECK flags we use
1896         * docs/libs/gstreamer-libs.types:
1897         * libs/gst/controller/Makefile.am:
1898         * libs/gst/controller/gst-controller.c:
1899         * libs/gst/controller/gst-controller.h:
1900         * libs/gst/controller/gst-helper.c:
1901         * libs/gst/controller/gst-interpolation.c:
1902         * libs/gst/controller/gstcontroller.c:
1903         * libs/gst/controller/gsthelper.c:
1904         * libs/gst/controller/gstinterpolation.c:
1905         * tools/gst-inspect.c: (print_plugin_info):
1906           we don't use dashes in header names
1908 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1910         * check/Makefile.am:
1911         * check/gst/.cvsignore:
1912         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1913         (gst_pipeline_suite), (main):
1914           adding a test for pipelines and state changes
1915         * gst/gstutils.c: (get_state_func):
1916           add some debugging
1917         * gstreamer.spec.in:
1918           fix up spec file
1920 2005-09-08  Michael Smith <msmith@fluendo.com>
1922         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1923         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1924         (gst_file_src_is_seekable), (gst_file_src_get_size),
1925         (gst_file_src_start):
1926         * gst/elements/gstfilesrc.h:
1927           Various fixes for unseekable, unmmapable, and non-normal files, so
1928           that fallback to read() rather than mmap() works.
1929         * gst/gstevent.c: (gst_event_new_newsegment):
1930           Allow newsegment events with segment_start == segment_end, as will
1931           correctly happen if you use filesrc on a zero-size file, for
1932           example.
1934 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
1936         * gst/gstplugin.c: (gst_plugin_load_file):
1937           Call g_module_close when we don't load the module
1939         * gst/registries/gstlibxmlregistry.c:
1940         (gst_xml_registry_get_property):
1941           Port leak fix from 0.8
1943 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
1945         * docs/gst/gstreamer-docs.sgml:
1946         * docs/gst/tmpl/.cvsignore:
1947         * docs/gst/tmpl/gsttrace.sgml:
1948         * docs/gst/tmpl/gsttrashstack.sgml:
1949         * gst/Makefile.am:
1950         * gst/gst.h:
1951         * gst/gstelement.h:
1952         * gst/gstevent.h:
1953         * gst/gstmessage.c:
1954         * gst/gstmessage.h:
1955         * gst/gsttag.c:
1956         * gst/gsttag.h:
1957         * gst/gsttaginterface.c:
1958         * gst/gsttaginterface.h:
1959         * gst/gsttaglist.c:
1960         * gst/gsttaglist.h:
1961         * gst/gsttagsetter.c:
1962         * gst/gsttagsetter.h:
1963         * gst/gsttrace.c:
1964         * gst/gsttrace.h:
1965         * gst/gsttrashstack.c:
1966           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1967           inlined docs for gsttrace, gsttrashstack
1969 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
1971         * gst/Makefile.am:
1972         * gst/elements/gstbufferstore.h:
1973         * gst/elements/gsttypefindelement.c:
1974         * gst/elements/gsttypefindelement.h:
1975         * gst/gst.h:
1976         * gst/gsttypefind.c:
1977         * gst/gsttypefind.h:
1978         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1979         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1980         (gst_type_find_factory_dispose),
1981         (gst_type_find_factory_unload_thyself),
1982         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1983         (gst_type_find_factory_get_caps),
1984         (gst_type_find_factory_get_extensions),
1985         (gst_type_find_factory_call_function):
1986         * gst/gsttypefindfactory.h:
1987         * gst/registries/gstlibxmlregistry.c:
1988         * gst/registries/gstxmlregistry.c:
1989           splitted gsttypefind into gsttypefind, gsttypefindfactory
1991 2005-09-07  Andy Wingo  <wingo@pobox.com>
1993         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1994         condition whereby the pad's task function is entered before the
1995         pad_mode variable was set.
1997 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
1999         * gst/gstpad.c: (gst_pad_alloc_buffer):
2000           Catch misbehaving pad_alloc functions that don't
2001           set up caps and do it for them.
2003 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
2005         * check/pipelines/simple_launch_lines.c: (run_pipeline):
2006           test for pipe!=NULL
2007         * docs/gst/tmpl/.cvsignore:
2008         * docs/gst/tmpl/gstmemchunk.sgml:
2009         * docs/gst/tmpl/gstparse.sgml:
2010         * docs/gst/tmpl/gsttaglist.sgml:
2011         * docs/gst/tmpl/gsttagsetter.sgml:
2012         * docs/gst/tmpl/gsttypefind.sgml:
2013         * docs/gst/tmpl/gsttypefindfactory.sgml:
2014         * gst/gstmemchunk.c:
2015         * gst/gstparse.c:
2016         * gst/gsttag.c:
2017         * gst/gsttaginterface.c:
2018         * gst/gsttypefind.c:
2019         * gst/gsttypefind.h:
2020           inlined more docs
2022 === release 0.9.2 ===
2024 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2026         * NEWS:
2027         * RELEASE:
2028         * configure.ac:
2029           releasing 0.9.2, "South"
2031 2005-09-05  Andy Wingo  <wingo@pobox.com>
2033         * gst/registries/gstxmlregistry.h:
2034         * gst/registries/gstxmlregistry.c: Um... resurrect...
2035         
2036         * gst/registries/gstxmlregistry.h:
2037         * gst/registries/gstxmlregistry.c: and update to newer API.
2038         Incidentally they should be a bit faster now that they don't have
2039         to parse the caps.
2040         
2041 2005-09-05  Andy Wingo  <wingo@pobox.com>
2043         * gst/registries/gstxmlregistry.h:
2044         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
2045         replaced by the libxml registry a while back
2047 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2049         * docs/gst/tmpl/gstplugin.sgml:
2050         * gst/elements/gstelements.c:
2051         * gst/gst.c:
2052         * gst/gstplugin.c: (gst_plugin_register_func),
2053         (gst_plugin_desc_copy), (gst_plugin_desc_free),
2054         (gst_plugin_get_source):
2055         * gst/gstplugin.h:
2056         * gst/registries/gstlibxmlregistry.c: (load_plugin),
2057         (gst_xml_registry_save_plugin):
2058         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
2059         (gst_xml_registry_save_plugin):
2060         * tools/gst-inspect.c: (print_plugin_info):
2061           add a "source" plugin description field, to represent the source
2062           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
2063           will set it to PACKAGE, which is automake's idea of the name of
2064           the source project.
2066 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2068         * Makefile.am:
2069         * autogen.sh:
2070         * configure.ac:
2071         * docs/Makefile.am:
2072         * docs/faq/Makefile.am:
2073         * docs/gst/tmpl/gstelement.sgml:
2074         * docs/gst/tmpl/gsttypes.sgml:
2075         * docs/htmlinstall.mak:
2076         * docs/manual/Makefile.am:
2077         * docs/pwg/Makefile.am:
2078           reorganize doc build a little
2079           split out docbook and gtk-doc stuff
2080           have two separate --enable's and enable them through autogen
2081           but disable by default in configure (to be similar to other
2082           projects)
2083         * gstreamer.spec.in:
2084           clean up docs install
2085         * po/af.po:
2086         * po/az.po:
2087         * po/ca.po:
2088         * po/cs.po:
2089         * po/de.po:
2090         * po/en_GB.po:
2091         * po/fr.po:
2092         * po/it.po:
2093         * po/nb.po:
2094         * po/nl.po:
2095         * po/ru.po:
2096         * po/sq.po:
2097         * po/sr.po:
2098         * po/sv.po:
2099         * po/tr.po:
2100         * po/uk.po:
2101         * po/vi.po:
2102           translation updates
2104 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
2106         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
2107           Add comment.
2108           
2109         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2110         (gst_fake_sink_change_state):
2111           Make state change function thread-safe.
2112           
2113         * gst/gstpad.c: (gst_pad_alloc_buffer):
2114           Set offset on generic buffer allocated by fallback.
2116 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
2118         * docs/gst/gstreamer-sections.txt:
2119         * docs/gst/tmpl/gstelement.sgml:
2120         * gst/gstpad.c:
2121         * libs/gst/controller/gst-controller.c:
2122         (gst_controlled_property_set_interpolation_mode),
2123         (gst_controlled_property_new),
2124         (gst_controller_find_controlled_property):
2125          run the wingo-magic script against the docs
2127 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
2129         * docs/gst/gstreamer-docs.sgml:
2130         * docs/gst/gstreamer-sections.txt:
2131         * docs/gst/tmpl/.cvsignore:
2132         * docs/gst/tmpl/gstelementdetails.sgml:
2133         * docs/gst/tmpl/gstelementfactory.sgml:
2134         * gst/gst.c:
2135         * gst/gstbus.c:
2136         * gst/gstelementfactory.c:
2137         * gst/gstelementfactory.h:
2138           merged elementdetails docs into elementfactory docs
2139           inlined both
2141 2005-09-02  Andy Wingo  <wingo@pobox.com>
2143         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
2144         consider this enum an enum and not a flags.
2146 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
2148         * docs/gst/gstreamer-docs.sgml:
2149         * docs/gst/tmpl/.cvsignore:
2150         * docs/gst/tmpl/gstghostpad.sgml:
2151         * docs/gst/tmpl/gstiterator.sgml:
2152         * docs/gst/tmpl/gstmacros.sgml:
2153         * docs/gst/tmpl/gstrealpad.sgml:
2154         * docs/gst/tmpl/gstregistry.sgml:
2155         * docs/gst/tmpl/gstregistrypool.sgml:
2156         * docs/gst/tmpl/gststructure.sgml:
2157         * docs/gst/tmpl/gstsystemclock.sgml:
2158         * docs/gst/tmpl/gsttrace.sgml:
2159         * gst/gstghostpad.c:
2160         * gst/gstmacros.h:
2161         * gst/gstmemchunk.c:
2162         * gst/gstmemchunk.h:
2163         * gst/gstqueue.c:
2164         * gst/gstregistry.c:
2165         * gst/gstregistrypool.c:
2166         * gst/gststructure.c:
2167         * gst/gstsystemclock.c:
2168           more docs inlined
2170 2005-09-02  Andy Wingo  <wingo@pobox.com>
2172         * gst/gstelement.h (GstState): Renamed from GstElementState,
2173         changed to be a normal enum instead of flags.
2174         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
2175         munged to be GST_STATE_CHANGE_*.
2176         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
2177         work with the new state representation.
2178         (GstStateChange): New enumeration of possible state transitions.
2179         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
2180         (GstElementClass::change_state): Pass the GstStateChange along as
2181         an argument. Helps language bindings, so they don't have to use
2182         tricky lock-needing macros like GST_STATE_CHANGE ().
2184         * scripts/update-states (file): New script. Run it on a file to
2185         update it for state naming and API changes. Updates files in
2186         place.
2188         * All files updated for the new API.
2190 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2192         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
2193         * gst/gstutils.c: (gst_util_set_value_from_string),
2194         (gst_util_set_object_arg):
2195           fix a bunch of unchecked return values
2196         * tools/gst-complete.c: (main):
2197         * gstreamer.spec.in:
2198           clean up a little
2200 2005-09-01  Wim Taymans  <wim@fluendo.com>
2202         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2203         (gst_base_sink_event), (gst_base_sink_do_sync),
2204         (gst_base_sink_handle_event):
2205         * gst/base/gstbasesink.h:
2206         Handle newsegments more correctly.
2208         * gst/gstbus.c:
2209         Fix docs.
2211         * gst/gstevent.c: (gst_event_new_newsegment):
2212         A newsegment cannot have a start_time of -1
2214 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
2216         * win32/gstenumtypes.c:
2217         * win32/gstenumtypes.h:
2218           Update
2220 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
2222         * libs/gst/controller/gst-controller.c:
2223         (gst_controlled_property_set_interpolation_mode),
2224         (gst_controlled_property_new):
2225          fixed boolean again
2227 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
2229         * docs/faq/gst-uninstalled:
2230           add -good
2231         * gst/gstevent.c:
2232         * gst/gstevent.h:
2233           remove wrong docs
2234         * gst/gstutils.c: (gst_element_link_filtered):
2235         * gst/gstutils.h:
2236           add gst_element_link_filtered
2238 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
2240         * docs/gst/gstreamer-docs.sgml:
2241         * docs/gst/gstreamer-sections.txt:
2242         * docs/gst/tmpl/.cvsignore:
2243         * docs/gst/tmpl/gsterror.sgml:
2244         * docs/gst/tmpl/gstfilter.sgml:
2245         * docs/gst/tmpl/gsturihandler.sgml:
2246         * docs/gst/tmpl/gsturitype.sgml:
2247         * docs/gst/tmpl/gstutils.sgml:
2248         * docs/gst/tmpl/gstxml.sgml:
2249         * gst/gsterror.c:
2250         * gst/gsterror.h:
2251         * gst/gstfilter.c:
2252         * gst/gsturi.c:
2253         * gst/gsturitype.c:
2254         * gst/gstutils.c:
2255         * gst/gstxml.c:
2256           inlined more docs, fixed double id-ref
2258 2005-08-31  Wim Taymans  <wim@fluendo.com>
2260         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2261         (gst_base_transform_handle_buffer):
2262         Passthrough elements don't need the caps as they don't care.
2264 2005-08-31  Wim Taymans  <wim@fluendo.com>
2266         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2267         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
2268         Don't leak refcounts on buffers.
2270 2005-08-31  Wim Taymans  <wim@fluendo.com>
2272         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
2273         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
2274         (gst_base_transform_chain), (gst_base_transform_change_state):
2275         * gst/base/gstbasetransform.h:
2276         Handle the case where we are not negotiated more gracefully.
2278 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
2280         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
2281         (gst_file_src_map_region):
2282           Set READONLY flag on mmap'ed buffers, otherwise
2283           gst_buffer_make_writable() won't work properly (#314708).
2285 2005-08-31  Wim Taymans  <wim@fluendo.com>
2287         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
2288         passthrough elements can even do inplace on non writable
2289         buffers (as they don't touch them).
2291 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
2293         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2294         (gst_test_mono_source_set_property),
2295         (gst_test_mono_source_class_init), (GST_START_TEST),
2296         (gst_controller_suite):
2297           more tests (hehe I have the most)
2298         * gst/gstbus.c:
2299           describe popping messages whenusing mulltiple sources
2300         * libs/gst/controller/gst-controller.c:
2301         (gst_controlled_property_set_interpolation_mode),
2302         (gst_controlled_property_new):
2303         * libs/gst/controller/gst-controller.h:
2304         * libs/gst/controller/gst-interpolation.c:
2305           implement boolean properties
2307 2005-08-31  Wim Taymans  <wim@fluendo.com>
2309         * gst/gstminiobject.c: (gst_mini_object_ref):
2310         Cannot assert that the refcount has to be positive
2311         since a disposed object can be resurrected.
2313 2005-08-31  Wim Taymans  <wim@fluendo.com>
2315         * gst/gstpad.c: (gst_pad_init):
2316         Revert change, need to first fix badly behaving 
2317         apps.
2319 2005-08-30  Wim Taymans  <wim@fluendo.com>
2321         * check/elements/fakesrc.c: (setup_fakesrc):
2322         * check/elements/identity.c: (setup_identity):
2323         Activate pads before using them.
2325 2005-08-30  Wim Taymans  <wim@fluendo.com>
2327         * gst/base/gstadapter.c: (gst_adapter_flush):
2328         Flushing out 0 bytes is ok for this function.
2330         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2331         no newsegment gives a warning and sets the start/stop to 
2332         invalid.
2334         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2335         (gst_base_transform_set_passthrough):
2336         Some debug info.
2338         * gst/gstminiobject.c: (gst_mini_object_ref):
2339         Check refcount here too.
2341         * gst/gstpad.c: (gst_pad_init):
2342         Pads are initially flushing and refusing data.
2344         * gst/gstutils.c: (gst_element_link_pads_filtered):
2345         When adding a capsfilter element make sure it has the
2346         same state as the parent bin.
2348 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2350         * docs/gst/tmpl/.cvsignore:
2351         * docs/gst/tmpl/gstformat.sgml:
2352         * docs/gst/tmpl/gstversion.sgml:
2353         * gst/gstbus.h:
2354         * gst/gstformat.c:
2355         * gst/gstformat.h:
2356         * gst/gstversion.h.in:
2357           more docs and two more inlined
2359 2005-08-30  Wim Taymans  <wim@fluendo.com>
2361         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2362         Don't sync to clock.
2364 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2366         * docs/gst/gstreamer-sections.txt:
2367           ultral33t func10ns deserve to appear in the docs actually
2368         * docs/gst/tmpl/.cvsignore:
2369         * docs/gst/tmpl/gstcompat.sgml:
2370         * docs/gst/tmpl/gstconfig.sgml:
2371         * gst/check/gstcheck.c:
2372         * gst/gstcompat.h:
2373         * gst/gstconfig.h.in:
2374           inlined more docs
2376 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2378         * docs/gst/tmpl/.cvsignore:
2379         * docs/gst/tmpl/gstquery.sgml:
2380         * docs/gst/tmpl/gstutils.sgml:
2381         * gst/gstquery.c:
2382         * gst/gstquery.h:
2383           inlined and extended docs
2385 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2387         * check/gst-libs/controller.c: (GST_START_TEST),
2388         (gst_controller_suite):
2389           more tests
2390         * docs/gst/tmpl/gstutils.sgml:
2391         * docs/libs/gstreamer-libs-sections.txt:
2392         * docs/libs/tmpl/gstdataprotocol.sgml:
2393           include path fixes
2394         * examples/controller/audio-example.c: (main):
2395           controller example works now
2396         * gst/gstclock.h:
2397           doc fixes
2398         * tools/gst-inspect.c: (print_element_properties_info):
2399           show param spec flags
2401 2005-08-29  Andy Wingo  <wingo@pobox.com>
2403         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2405 2005-08-28  Andy Wingo  <wingo@pobox.com>
2407         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2408         as having two arguments instead of just one. Allows superclasses
2409         to access information on subclasses -- see the terrible for() loop
2410         in gtype.c:g_type_create_instance for the reason why. All callers
2411         changed.
2413 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
2415         * docs/design/part-messages.txt:
2416           update info
2417         * docs/gst/tmpl/.cvsignore:
2418         * docs/gst/tmpl/gstcaps.sgml:
2419         * docs/gst/tmpl/gstclock.sgml:
2420         * gst/gstbus.c:
2421         * gst/gstcaps.c:
2422         * gst/gstcaps.h:
2423         * gst/gstclock.c:
2424         * gst/gstclock.h:
2425         * gst/gstmessage.c:
2426           added descriptions for bus and message
2427           inline caps and clock docs
2429 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
2431         * gst/gstmessage.c:
2432         * gst/gstmessage.h:
2433           doc fixes
2435 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
2437         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2438           fix div-by-zero
2440 2005-08-26  Andy Wingo  <wingo@pobox.com>
2442         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2443         element_set_state's return val.
2444         (test_2_elements): Add test that's been disabled for months.
2446         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2447         can-activate-pull properties.
2449         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2450         can-activate-pull properties. Implement is_seekable so fakesrc can
2451         operate in pull mode.
2453         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2454         properties.
2455         (gst_base_sink_activate, gst_base_sink_activate_pull)
2456         (gst_base_sink_activate_push): Make activation mode choosing work.
2457         Cleanups.
2458         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2459         is right. Make pull mode work. Post an eos before pausing in pull
2460         mode.
2461         (gst_base_sink_change_state): Pay attention to the core's
2462         change_state() return val.
2463         
2464         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2465         has-getrange properties. Cleanups.
2466         
2467         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2468         has_getrange and replace with can_activate_pull and
2469         can_activate_push.
2471         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2472         locking comments. Remove has_loop, has_chain and replace with
2473         can_activate_pull and can_activate_push.
2475 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
2477         * configure.ac:
2478         * examples/Makefile.am:
2479         * examples/metadata/Makefile.am:
2480         * examples/metadata/read-metadata.c: (message_loop),
2481         (have_pad_handler), (make_pipeline), (print_tag), (main):
2482           Add metadata reading example that loops over a list of filenames,
2483           dumping any tags found.
2485         * gst/gstbus.c: (gst_bus_dispose):
2486         * gst/gstelement.c: (gst_element_dispose):
2487           Release a few potentially-held references in dispose.
2489 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2491         * docs/gst/tmpl/gstminiobject.sgml:
2492           do *not* add tmpl/*.sgml files to CVS!
2494 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2496         * libs/gst/bytestream/.cvsignore:
2497         * libs/gst/bytestream/Makefile.am:
2498         * libs/gst/bytestream/adapter.c:
2499         * libs/gst/bytestream/adapter.h:
2500         * libs/gst/bytestream/bytestream.c:
2501         * libs/gst/bytestream/bytestream.h:
2502         * libs/gst/bytestream/filepad.c:
2503         * libs/gst/bytestream/filepad.h:
2504           removing obsolete files
2506 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2508         * docs/gst/gstreamer-docs.sgml:
2509         * docs/libs/gstreamer-libs-docs.sgml:
2510           disabed additional index entries again, as this makes docs-gen just
2511           slow and they aren't useful yet
2512         * docs/libs/gstreamer-libs-sections.txt:
2513           little -section.txt cleanup for libs
2515 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
2517         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2518         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2519           fix up some debugging
2520         (gst_base_transform_get_unit_size),
2521         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2522         (gst_base_transform_handle_buffer):
2523         * gst/base/gstbasetransform.h:
2524           handle and store timed NEWSEGMENT events so that subclasses that
2525           calculate time by counting samples have a segment_start time they
2526           need to add to their timestamps - see audioresample
2528 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2530         * gst/gstbin.h:
2531           removed ';' from the end of macro defs
2532         * docs/gst/gstreamer-docs.sgml:
2533         * docs/gst/gstreamer-sections.txt:
2534         * docs/gst/tmpl/.cvsignore:
2535         * gst/gstbus.h:
2536         * gst/gstelement.c: (gst_element_class_init),
2537         (gst_element_set_state), (activate_pads),
2538         (gst_element_save_thyself):
2539         * gst/gstevent.c: (gst_event_new_newsegment):
2540         * gst/gstevent.h:
2541         * gst/gstiterator.c:
2542         * gst/gstiterator.h:
2543         * gst/gstpad.c:
2544         * gst/gstprobe.h:
2545         * gst/gstutils.c: (gst_pad_query_convert):
2546         * gst/gstutils.h:
2547           fixed parameter name mismatches between source, header and docs
2548           added some more docs, resolved the last batch of unused elements in
2549           docs (now someone needs to doc them)
2551 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2553         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2554         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2555           don't walk through the plugins backwards.  Where is all this
2556           reversed logic coming from ?
2558 2005-08-25  Wim Taymans  <wim@fluendo.com>
2560         * gst/base/gstbasetransform.c: (gst_base_transform_init),
2561         (gst_base_transform_transform_size),
2562         (gst_base_transform_configure_caps),
2563         (gst_base_transform_get_unit_size),
2564         (gst_base_transform_buffer_alloc),
2565         (gst_base_transform_change_state):
2566         * gst/base/gstbasetransform.h:
2567         Cache caps unit_size.
2568         Make sure we cannot negotiate up and downstream at the
2569         same time.
2571 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2573         * gst/gst.c: (init_pre), (init_post):
2574           register the installed plugin path after the env var
2575         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2576         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2577           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2578           directories, so the tests can prefer uninstalled over installed
2580 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2582         * gst/base/gstbasetransform.h:
2583           comment
2584         * gst/gstpad.c:
2585           add to docs
2587 2005-08-25  Wim Taymans  <wim@fluendo.com>
2589         * gst/gstbin.c: (bin_bus_handler):
2590         Be a bit more conservative about the posted message.
2591         
2592         * gst/gstbus.c: (gst_bus_post):
2593         Some cleanups, warn wrong return values.
2595 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
2597         * check/gst/gstbin.c: (GST_START_TEST):
2598         * gst/gstbin.c: (bin_bus_handler):
2599         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2600         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2601         (gst_message_new_warning), (gst_message_new_tag),
2602         (gst_message_new_state_changed), (gst_message_new_segment_start),
2603         (gst_message_new_segment_done), (gst_message_new_custom):
2604         * gst/gstmessage.h:
2605         * tools/gst-launch.c: (event_loop):
2606         * tools/gst-md5sum.c: (event_loop):
2607           Revert unpopular change for GST_MESSAGE_SRC to GObject.
2609 2005-08-25  Wim Taymans  <wim@fluendo.com>
2611         * check/generic/states.c: (GST_START_TEST):
2612         Cleanup can be done at the end.
2614         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2615         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2616         (gst_task_get_state), (gst_task_start), (gst_task_pause):
2617         Oh boy.. Thanks for finding this, Thomas. 
2619 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
2621         * docs/gst/gstreamer.types:
2622           added missing types
2624 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
2626         * docs/gst/gstreamer-docs.sgml:
2627         * docs/gst/gstreamer-sections.txt:
2628         * docs/gst/tmpl/.cvsignore:
2629         * gst/gstbin.c:
2630         * gst/gstiterator.c:
2631         * gst/gstutils.c:
2632         * gst/registries/gstxmlregistry.h:
2633           added missing classes and symbols (123 more to go)
2634           removed removed symbols from section file
2635           fixed many doc-comments
2637 2005-08-24  Wim Taymans  <wim@fluendo.com>
2639         * check/generic/states.c: (GST_START_TEST):
2640         Make sure all tasks are stopped.
2642         * check/gst/gstbin.c: (GST_START_TEST):
2643         Unref after usage for proper valgrinding.
2645         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2646         Really wait for the task to stop before destroying the
2647         mutex.
2649         * gst/gstqueue.c: (gst_queue_sink_activate_push),
2650         (gst_queue_src_activate_push):
2651         Small cleanups. Don't stop the task when we did not start
2652         it.
2654         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2655         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2656         (gst_task_get_state), (gst_task_start), (gst_task_pause),
2657         (gst_task_join):
2658         * gst/gsttask.h:
2659         Protect the stream lock with the object lock.
2660         Disallow setting the stream lock when running.
2661         Add cleanup_all to wait for the threadpool to finish.
2662         Remove code to autoallocate a mutex if none was provided.
2663         Add _join() to wait for a task to stop.
2664         Protect the thread pool with a global lock.
2666 2005-08-24  Wim Taymans  <wim@fluendo.com>
2668         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2669         (gst_base_sink_get_times), (gst_base_sink_do_sync),
2670         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2671         * gst/base/gstbasesink.h:
2672         Handle newsegment events correctly.
2673         Drop buffers out of the segment range.
2675 2005-08-22  Andy Wingo  <wingo@pobox.com>
2677         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2678         macro, implements an interface and gstimplementsinterface for a
2679         new type.
2681 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2683         * check/Makefile.am:
2684         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2685           add a test that does a bunch of state changes on elements
2686           needs some fixing for valgrind
2687         * check/states/sinks.c: (gst_object_suite):
2688           whitespace
2689         * gst/gstcaps.h:
2690           add prototype for gst_caps_is_equal_fixed
2691         * gst/gstplugin.c:
2692         * gst/gstregistrypool.c:
2693           doc fixes
2695 2005-08-24  Andy Wingo  <wingo@pobox.com>
2697         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2698         convert a negative value. Doesn't make much sense. Mostly this is
2699         here to force callers to ensure -1 maps to -1.
2701 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2703         * docs/pwg/advanced-types.xml:
2704           Well done to Michael for catching my deliberate introduction
2705           of this spelling mistake. 
2706         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2707         * gst/gstelement.h:
2708           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2709           unlink pads before removing the element from the bin.
2711 2005-08-24  Andy Wingo  <wingo@pobox.com>
2713         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2714         the same thing as GST_DEBUG=*:4.
2715         (parse_debug_level, parse_debug_category): New helper parsers.
2717 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2719         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2720         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2721         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2722         (gst_base_transform_buffer_alloc),
2723         (gst_base_transform_handle_buffer):
2724           use gboolean return values and pointers to size so we can use the
2725           full GST_BUFFER_SIZE range (guint) for buffer sizes
2726           use GstPadDirection for transform_caps
2727         * gst/base/gstbasetransform.h:
2728           rename get_size to get_unit_size since that's what it is
2729         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2730           use GstPadDirection for transform_caps
2731         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2732         * gst/gstutils.h:
2733           cleanup and debugging
2735 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
2737         * gst/gstelement.c: (gst_element_class_init),
2738         (gst_element_set_state), (activate_pads),
2739         (gst_element_save_thyself):
2740         * tools/gst-compprep.c: (main):
2741         * tools/gst-inspect.c: (print_element_properties_info):
2742         * tools/gst-xmlinspect.c: (print_element_properties):
2743           Fixed long standing mem-leak
2745 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2747         * check/gst/gstbin.c: (GST_START_TEST):
2748         * gst/gstbin.c: (bin_bus_handler):
2749         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2750         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2751         (gst_message_new_warning), (gst_message_new_tag),
2752         (gst_message_new_state_changed), (gst_message_new_segment_start),
2753         (gst_message_new_segment_done), (gst_message_new_custom):
2754         * gst/gstmessage.h:
2755         * tools/gst-launch.c: (event_loop):
2756         * tools/gst-md5sum.c: (event_loop):
2757           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2758           that applications can sensibly post custom messages with references
2759           to their own objects.
2761 2005-08-24  Andy Wingo  <wingo@pobox.com>
2763         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2764         already.
2766 2005-08-24  Wim Taymans  <wim@fluendo.com>
2768         * gst/base/gstbasetransform.c: (gst_base_transform_init),
2769         (gst_base_transform_transform_caps),
2770         (gst_base_transform_transform_size),
2771         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2772         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2773         (gst_base_transform_handle_buffer):
2774         * gst/base/gstbasetransform.h:
2775         Many fixes and new features added by Thomas. Can now also do
2776         transforms with variable sizes and a custom fixate_caps function.
2778 2005-08-24  Wim Taymans  <wim@fluendo.com>
2780         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2781         Some debugging.
2783         * gst/gstclock.h:
2784         Cast to ClockTime before formatting to time.
2786         * gst/gstutils.h:
2787         Cleanups.
2789 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
2791         * check/gst-libs/controller.c: (GST_START_TEST),
2792         (gst_controller_suite):
2793         * docs/gst/tmpl/gstcaps.sgml:
2794         * docs/gst/tmpl/gstghostpad.sgml:
2795         * docs/gst/tmpl/gstquery.sgml:
2796         * docs/gst/tmpl/gstutils.sgml:
2797         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2798         (gst_object_sink_values), (gst_object_get_value_arrays),
2799         (gst_object_get_value_array):
2800           gracefully handle helper method calls to objects that are not beeing
2801           controlled, added test case for that          
2803 2005-08-23  Wim Taymans  <wim@fluendo.com>
2805         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2806         (gst_event_new_newsegment), (gst_event_parse_newsegment),
2807         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2808         (gst_event_parse_qos), (gst_event_new_seek),
2809         (gst_event_parse_seek):
2810         * gst/gstevent.h:
2811         Some more debugging output and doc cleanups.
2813         * gst/gstqueue.c: (gst_queue_handle_sink_event):
2814         Fix possible deadlock.
2816 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
2818         * docs/gst/gstreamer-docs.sgml:
2819         * docs/gst/gstreamer-sections.txt:
2820         * docs/gst/gstreamer.types:
2821         * docs/gst/tmpl/.cvsignore:
2822         * gst/gstbin.h:
2823         * gst/gstbus.c:
2824         * gst/gstelement.c:
2825         * gst/gstevent.h:
2826           added 100 symbols from gstreamer-unused.txt to the right sections
2827           fixed more broken comments
2828           added GstBus to docs
2830 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
2832         * docs/gst/gstreamer-sections.txt:
2833         * docs/gst/tmpl/.cvsignore:
2834         * docs/gst/tmpl/gstbin.sgml:
2835         * docs/gst/tmpl/gstbuffer.sgml:
2836         * gst/base/gstbasesrc.c:
2837         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2838         * gst/gstbuffer.c:
2839         * gst/gstbuffer.h:
2840         * tools/gst-launch.1.in:
2841           inlined more doc comments, added missing comments and fixed comments
2842           fixed typos
2844 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2846         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2847           some debugging
2848         * gst/gstcaps.h:
2849           whitespace fixes
2850         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2851           more debugging
2852         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2853         * gst/gststructure.h:
2854           add a fixate function for booleans; add a FIXME that these func
2855           names should probably be gst_structure_fixate_*
2857 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
2859         * docs/gst/gstreamer-docs.sgml:
2860         * docs/gst/gstreamer-sections.txt:
2861         * gst/Makefile.am:
2862         * gst/gstbin.c: (gst_bin_get_type),
2863         (gst_bin_child_proxy_get_child_by_index),
2864         (gst_bin_child_proxy_get_children_count),
2865         (gst_bin_child_proxy_init):
2866         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2867         (gst_child_proxy_get_child_by_index),
2868         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2869         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2870         (gst_child_proxy_get), (gst_child_proxy_set_property),
2871         (gst_child_proxy_set_valist), (gst_child_proxy_set),
2872         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2873         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2874         * gst/gstchildproxy.h:
2875         * gst/parse/grammar.y:
2876         * tools/gst-inspect.c: (print_interfaces),
2877         (print_element_properties_info), (print_element_info):
2878           ported gstchildproxy over from 0.8
2879           ported gst-inspect fixes and enhancements over from 0.8
2881 2005-08-22  Wim Taymans  <wim@fluendo.com>
2883         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2884         (gst_base_transform_handle_buffer):
2885         Also call the transform function if we have ANY caps.
2887         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2888         Fix debug info.
2890 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
2892         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2893           Don't pretend to handle seek events if the source is not seekable
2895 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
2897         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2898           Remove extra parameter to debug output
2900         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2901         (gst_base_src_do_seek), (gst_base_src_activate_push):
2902           Fix seek event handling.
2904         * gst/gstpipeline.c: (gst_pipeline_change_state):
2905         * gst/gstqueue.c: (gst_queue_handle_sink_event),
2906         (gst_queue_src_activate_push):
2907           Don't start the src pad task on FLUSH_STOP if the pad
2908           isn't linked.
2909           Debug changes.
2911 2005-08-22  Wim Taymans  <wim@fluendo.com>
2913         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2914         Added check for gst_static_caps_get() refcounting.
2916 2005-08-22  Wim Taymans  <wim@fluendo.com>
2918         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2919         Make _static_caps_get() refcounting sane.
2920         
2921         * gst/gstelement.c: (gst_element_set_state):
2922         Add g_return_val_if_fail() to protect against segfaults.
2924 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
2926         * docs/gst/tmpl/gstevent.sgml:
2927         * gst/gstevent.c:
2928         * gst/gstevent.h:
2929           inlined remaining docs, added missing doc comments
2931 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2933         * check/gst/gstbin.c: (GST_START_TEST):
2934           since we don't know when preroll is done, use refcount range
2935           check for the sink
2936         * gst/check/gstcheck.h:
2937           add macro for checking refcount range
2939 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2941         * check/Makefile.am:
2942           clean up environment for when registry gets built versus
2943           when actual tests are run; valgrind seems to not report
2944           leaks if GST_PLUGIN_PATH is set to some specific values
2945         * check/gst/gstbin.c: (GST_START_TEST):
2946           add more refcounting checks; maybe this exposes a
2947           preroll lock bug ?
2948         * common/check.mak:
2949         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2950         * gst/check/gstcheck.h:
2951         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2952         (gst_bin_change_state):
2953         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2954           add/fix debugging/whitespace
2956 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
2958         * check/gst/gstevent.c: (event_probe), (test_event),
2959         (GST_START_TEST):
2960          Er, don't call gst_bin_watch_for_state_change you idiot.
2962 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
2964         * check/Makefile.am:
2965           Use CHECK_CFLAGS and CHECK_LIBS
2966         * check/gst/gstevent.c: (event_probe), (test_event),
2967         (GST_START_TEST):
2968           Don't leak events.
2969         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2970         (gst_base_src_start), (gst_base_src_stop),
2971         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2972         (gst_base_src_change_state):
2973           Sprinkle gst_base_src_stop liberally around error paths to fix
2974           problems reusing a source after failed state changes.
2975         * gst/base/gsttypefindhelper.c: (helper_find_peek),
2976         (helper_find_suggest), (gst_type_find_helper):
2977           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2978         * gst/gstevent.h:
2979         * docs/gst/tmpl/gstevent.sgml:
2980           Migrate part of the docs from the SGML file. Wait for ensonic to
2981           tell me how I did it wrong ;)
2982         * tools/gst-typefind.c: (main):
2983           Extra robustness to state changes between files.
2985 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2987         * check/Makefile.am:
2988           don't valgrind the controller test - it's leaking - Stefan, HELP
2989         * gst/check/gstcheck.c: (gst_check_message_error),
2990         (gst_check_chain_func), (gst_check_setup_element),
2991         (gst_check_teardown_element), (gst_check_setup_src_pad),
2992         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2993         (gst_check_teardown_sink_pad):
2994         * gst/check/gstcheck.h:
2995           add a bunch of methods to set up elements, and src and sink pads
2996         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2997         * check/elements/identity.c: (setup_identity), (cleanup_identity),
2998         (GST_START_TEST):
2999           use them
3000         * gst/gstmessage.c:
3001         * gst/gsttag.h:
3002           whitespace/doc fixes
3004 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3006         * gst/gstelement.h:
3007           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
3008           be handled by the application and not always printed as well
3010 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3012         * check/Makefile.am:
3013           set GST_TOOLS_DIR
3014         * gst/check/gstcheck.c: (gst_check_message_error):
3015         * gst/check/gstcheck.h:
3016           add a fail_unless_equals_int
3017           add fail_unless for error messages
3019 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3021         * check/Makefile.am:
3022         * check/gst.supp:
3023         * common/Makefile.am:
3024         * common/check.mak:
3025         * common/gst.supp:
3026           factor out some of the common stuff so we can use it
3028 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3030         * check/Makefile.am:
3031         * check/gst/gstiterator.c: (GST_START_TEST):
3032         * check/gst/gstsystemclock.c: (GST_START_TEST),
3033         (gst_systemclock_suite):
3034         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3035         * gst/gstclock.c:
3036           valgrind more tests
3038 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3040         * check/elements/.cvsignore:
3041         * check/elements/gstfakesrc.c:
3042           rename to name of element
3043         * check/elements/identity.c: (chain_func), (event_func),
3044         (setup_identity), (cleanup_identity), (GST_START_TEST),
3045         (identity_suite), (main):
3046           add a test for identity
3047         * check/Makefile.am:
3048         * pkgconfig/Makefile.am:
3049         * pkgconfig/gstreamer-check.pc.in:
3050         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3051         * gst/check:
3052         * gst/Makefile.am:
3053         * configure.ac:
3054           move the check stuff to a library that gets installed
3055         * check/gst-libs/controller.c: (GST_START_TEST):
3056         * check/gst-libs/gdp.c:
3057         * check/gst/gst.c: (GST_START_TEST):
3058         * check/gst/gstbin.c:
3059         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3060         * check/gst/gstbus.c:
3061         * check/gst/gstcaps.c: (GST_START_TEST):
3062         * check/gst/gstelement.c:
3063         * check/gst/gstghostpad.c:
3064         * check/gst/gstiterator.c:
3065         * check/gst/gstmessage.c:
3066         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
3067         * check/gst/gstobject.c:
3068         * check/gst/gstpad.c: (GST_START_TEST):
3069         * check/gst/gststructure.c: (GST_START_TEST):
3070         * check/gst/gstsystemclock.c: (GST_START_TEST),
3071         (gst_systemclock_suite):
3072         * check/gst/gsttag.c: (gst_tag_suite):
3073         * check/gst/gstvalue.c:
3074         * check/pipelines/cleanup.c:
3075         * check/pipelines/simple_launch_lines.c:
3076         * check/states/sinks.c:
3077           change include statement
3079         * docs/gst/gstreamer-sections.txt:
3080         * docs/gst/tmpl/gstpad.sgml:
3081           document more pad stuff
3082         * gst/gstminiobject.c: (gst_mini_object_ref),
3083         (gst_mini_object_unref):
3084           debug refcounting
3086 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
3088         * docs/gst/tmpl/gst.sgml:
3089         * gst/gst.c:
3090           eliminate another tmpl file, fix spelling in the long-description
3092 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3094         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3095         (test_event), (timediff), (gstevents_suite):
3096           Should fix build on 64-bit arch's
3098 2005-08-18  Andy Wingo  <wingo@pobox.com>
3100         Make sure that when a pipeline goes to PLAYING, that data has
3101         actually hit the sink.
3103         * check/states/sinks.c (test_sink): A sink that doesn't get any
3104         data shouldn't return SUCCESS for going to either PLAYING or
3105         PAUSED. Test also the return values on the way back down.
3107         * gst/gstelement.c (gst_element_set_state): When changing the
3108         state of an element currently changing state asynchronously, go to
3109         lost-state after commiting the pending state. Makes future calls
3110         to get_state continue to return ASYNC.
3112         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
3113         ASYNC when going to PLAYING if we still don't have preroll, as can
3114         happen with live sources.
3116 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3118         * docs/pwg/advanced-types.xml:
3119           Hack long paragraph into 2 chunks as a workaround for buggy
3120           jadetex version in sid and breezy that loops infinitely and
3121           eats all RAM.
3123 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3125         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3126         (test_event), (timediff), (gstevents_suite):
3127           Provide more error margin in clock measurements to allow for 
3128           g_get_current_time inaccuracies.
3130 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3132         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3133         (test_event), (timediff), (gstevents_suite):
3134            Fix error message output so I might be able to tell why the
3135            test works here but fails on the build farm.
3137 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
3139         * check/Makefile.am:
3140         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3141         (test_event), (timediff), (gstevents_suite), (main):
3142           I wrote a test!
3144         * docs/design/part-seeking.txt:
3145           Spelling correction
3147         * docs/gst/tmpl/gstevent.sgml:
3148         * docs/gst/tmpl/gstfakesrc.sgml:
3149           Docs updates.
3151         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3152           Treat a buffer-without-newsegment the same as a receiving 
3153           a newsegment not in time format, and disable syncing to the clock
3154           with a warning.
3156         * gst/gstbus.c: (gst_bus_set_sync_handler):
3157           Assert if anyone tries to replace the existing sync_handler for bus, 
3158           as only the owner should be setting it.
3160         * gst/gstevent.h:
3161           Have a fixed set of custom event enums with events identified by
3162           their structure name (as in 0.8), rather than a free-for-all
3163           allowing collisions between enum values from different plugins.
3165         * gst/gstpad.c: (gst_pad_class_init):
3166           Docs change.
3167           
3168         * gst/gstqueue.c: (gst_queue_handle_sink_event):
3169           Handle out-of-band downstream events from the sending thread.
3171 2005-08-17  Andy Wingo  <wingo@pobox.com>
3173         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
3174         play-timeout==0 to mean no timeout at all. In that case, don't
3175         bother with a get_state or a warning, just return directly, even
3176         if it's ASYNC.
3178         * gst/base/gstbasetransform.c: Debug changes.
3180         * gst/gstutils.h:
3181         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
3182         ensure bins post state change messages. A bit of a hack but I can't
3183         think of a way to avoid it.
3185         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
3187 2005-08-16  Andy Wingo  <wingo@pobox.com>
3189         * gst/base/gstadapter.h:
3190         * gst/base/gstadapter.c (gst_adapter_take): New function, like
3191         peek() but you own the data. Not terribly efficient atm.
3193 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3195         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
3196         (gst_element_found_tags):
3197         * gst/gstutils.h:
3198           Add two utility functions for tag handling.
3200 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3202         * docs/manual/advanced-dataaccess.xml:
3203         * docs/manual/basics-helloworld.xml:
3204           Fix docs to use _bin_add() before _link(), which fixes the examples
3205           with recent core versions (reported by Madhan Raj M
3206           <raj_madan@rediffmail.com>, #313199).
3208 2005-08-16  Wim Taymans  <wim@fluendo.com>
3210         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3211         Added subtract checks.
3213         * docs/design/part-events.txt:
3214         Some more docs about newsegment
3216         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3217         Fix FIXME
3219         * gst/gstcaps.c: (gst_caps_to_string):
3220         Add comments, cleanups.
3221         
3222         * gst/gstelement.c: (gst_element_save_thyself):
3223         cleanups
3224         
3225         * gst/gstvalue.c: (gst_value_collect_int_range),
3226         (gst_string_unwrap), (gst_value_union_int_int_range),
3227         (gst_value_union_int_range_int_range),
3228         (gst_value_intersect_int_int_range),
3229         (gst_value_intersect_int_range_int_range),
3230         (gst_value_intersect_double_double_range),
3231         (gst_value_intersect_double_range_double_range),
3232         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3233         (gst_value_subtract_int_range_int),
3234         (gst_value_subtract_double_range_double),
3235         (gst_value_subtract_double_range_double_range),
3236         (gst_value_subtract_from_list), (gst_value_subtract_list),
3237         (gst_value_can_compare), (gst_value_compare_fraction):
3238         Cleanups, add comments, remove unneeded asserts.
3240 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3242         * tools/gst-launch.c: (event_loop):
3243           don't convert NULL structures to strings
3245 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
3247         * docs/gst/gstreamer-sections.txt:
3248           made some defines private
3249         * docs/gst/tmpl/gstconfig.sgml:
3250         * docs/gst/tmpl/gstqueue.sgml:
3251         * docs/gst/tmpl/gsttaglist.sgml:
3252         * docs/gst/tmpl/gsttypes.sgml:
3253         * docs/gst/tmpl/gstutils.sgml:
3254         * docs/pwg/appendix-porting.xml:
3255         * gst/base/gstbasesink.h:
3256         * gst/base/gstbasesrc.c:
3257         * gst/base/gstbasesrc.h:
3258         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3259         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3260         * gst/gstelement.c: (gst_element_class_init):
3261         * gst/gstpad.c: (gst_pad_class_init):
3262         * gst/gstqueue.c: (gst_queue_class_init):
3263         * gst/gstxml.c: (gst_xml_class_init):
3264           documented all undocumented signal inline
3265         * libs/gst/controller/gst-controller.h:
3266           added padding
3268 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3270         * docs/pwg/appendix-porting.xml:
3271           Document _set_link_function -> _set_setcaps_function.
3273 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3275         * check/Makefile.am:
3276           add a .check target for running the check
3277         * check/gst-libs/controller.c: (GST_START_TEST):
3278           cosmetic fixups
3279         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3280           complete checks for gstbuffer; would be nice if I could get the
3281           gcov stuff to work so I can see if I actually completed gstbuffer.c
3282         * check/gstcheck.h:
3283           add ASSERT_BUFFER_REFCOUNT
3285 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
3287         * docs/gst/gstreamer-sections.txt:
3288         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
3289         * gst/gsttag.h:
3290           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
3291           spew out a warning if a tag that is already registered
3292           is re-registered, unless it is re-registered with a 
3293           different type (#308438).
3295 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
3297         * docs/pwg/appendix-porting.xml:
3298         * docs/pwg/building-state.xml:
3299           Add some paragraphs about state changes in 0.9 to the PWG
3300           and the porting guide, in particular about the new meaning
3301           of GST_STATE_PAUSED and how to write state change functions
3302           with concurrent access by multiple threads in mind.
3304 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
3306         * docs/gst/gstreamer-docs.sgml:
3307         * docs/libs/gstreamer-libs-docs.sgml:
3308           added deprecation and since indexes
3309         * libs/gst/controller/gst-controller.c:
3310         * libs/gst/controller/gst-helper.c:
3311           added since tags
3314 2005-08-11  Wim Taymans  <wim@fluendo.com>
3316         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3317         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3318         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3319         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3320         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3321         (gst_ghost_pad_set_target):
3322         Actually implement (re)setting the target on a ghostpad
3323         as described in the docs.
3325 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
3327         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3328           Check whether GST_DEBUG_NO_COLOR environment variable is
3329           set and disable coloured debug output if that is the case.
3331 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
3333         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3334         (gst_type_find_helper):
3335           The memory returned by gst_type_find_peek() needs to
3336           stay valid until the end of a typefind function, and
3337           typefind functions may keep results from different 
3338           offsets around, so we can't just unref the buffer from
3339           the previous _peek(), but have to save all buffers 
3340           returned by _peek() until typefinding is done and only
3341           free them then.
3343 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
3345         * docs/gst/gstreamer-sections.txt:
3346         * gst/gstutils.h:
3347           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3349 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3351         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3352           Fix a pretty good memleak.
3354 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
3356         * gst/gstiterator.h:
3357           Fix wrong include and 'make distcheck'.
3359 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3361         * gst/gstbin.c: (bin_bus_handler):
3362           Use gst_element_post_message() instead.
3364 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
3366         * gst/base/gstadapter.h:
3367         * gst/base/gstbasesink.h:
3368         * gst/base/gstbasesrc.h:
3369         * gst/base/gstbasetransform.h:
3370         * gst/base/gstcollectpads.h:
3371         * gst/base/gstpushsrc.h:
3372         * gst/gstiterator.h:
3373           Add padding to our base elements' class and instance structs and
3374           to GstIterator (you will need to rebuild all plugins and apps!)
3376 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3378         * gst/gstbin.c: (bin_bus_handler):
3379           Make default message forwarding from child->bus to bin->bus
3380           threadsafe and make it not emit warnings if the parent has no bus.
3382 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3384         * gst/gstelement.c: (activate_pads):
3385           On paused->ready, set pad->caps to NULL, as is the documented
3386           behaviour in this state change. Fixes playback of series of
3387           media files when visualization is enabled in Totem.
3389 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3391         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
3392           Allow NULL as filter-caps (which means "any").
3394 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
3396         * docs/libs/gstreamer-libs-sections.txt:
3397         * libs/gst/controller/gst-controller.c:
3398         * libs/gst/controller/gst-controller.h:
3399         * libs/gst/controller/gst-helper.c:
3400           adding more entries to the docs and fix small doc-bugs
3402 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
3404         * docs/gst/gstreamer-docs.sgml:
3405         * docs/gst/gstreamer-sections.txt:
3406         * docs/gst/gstreamer.types:
3407         * docs/gst/tmpl/gstbasesink.sgml:
3408         * docs/gst/tmpl/gstbasesrc.sgml:
3409         * docs/gst/tmpl/gstbasetransform.sgml:
3410         * docs/gst/tmpl/gstfakesrc.sgml:
3411         * gst/base/gstcollectpads.c:
3412         * gst/base/gstcollectpads.h:
3413         * libs/gst/controller/gst-controller.c:
3414         * libs/gst/controller/gst-controller.h:
3415         * libs/gst/controller/gst-helper.c:
3416         * libs/gst/controller/gst-interpolation.c:
3417         * libs/gst/controller/lib.c:
3418           added long/short desc for controller docs
3419           added collectpads base class docs
3420           added correct includes to base-class docs
3422 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
3424         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3425         (gst_test_mono_source_set_property),
3426         (gst_test_mono_source_class_init), (GST_START_TEST),
3427         (gst_controller_suite):
3428         * docs/gst/gstreamer-docs.sgml:
3429         * docs/gst/gstreamer-sections.txt:
3430         * docs/gst/gstreamer.types:
3431         * docs/libs/gstreamer-libs-docs.sgml:
3432         * docs/libs/gstreamer-libs-sections.txt:
3433         * gst/base/gstadapter.c:
3434         * libs/gst/controller/gst-controller.c:
3435         (gst_controlled_property_new), (gst_controlled_property_free),
3436         (gst_controller_new_valist),
3437         (gst_controller_remove_properties_valist),
3438         (gst_controller_sink_values), (_gst_controller_finalize):
3439         * libs/gst/controller/gst-controller.h:
3440         * libs/gst/controller/gst-helper.c:
3441         (gst_object_control_properties), (gst_object_uncontrol_properties),
3442         (gst_object_get_controller), (gst_object_set_controller),
3443         (gst_object_sink_values), (gst_object_get_value_arrays),
3444         (gst_object_get_value_array):
3445           more tests (and fixes) for the controller
3446           more docs for the controller
3447           integrated companies docs for the adapter 
3449 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3451         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3452         (GST_START_TEST), (fakesrc_suite):
3453           add tests for sizetype
3455 2005-08-04  Andy Wingo  <wingo@pobox.com>
3457         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3458         fixes buffer_alloc proxying among other things.
3460         * gst/base/gstbasetransform.c:
3461         * gst/base/gstbasetransform.h:
3462         Revert patch to gstbasetransform from 7-28 removing
3463         delay_configure.
3465         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3466         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3467         Semantics changed, should return not the size of the output buffer
3468         but the byte size of a buffer with a given caps.
3470         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3471         debug object.
3472         (gst_base_transform_configure_caps): Don't set out_size here: (in,
3473         out) are not the pad caps until setcaps finishes.
3474         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3475         not-in-place case as well. Deal with changing from in-place to
3476         not-in-place within calling pad_alloc_buffer. Still a bit
3477         concerned about the overhead here...
3479 2005-08-03  Andy Wingo  <wingo@pobox.com>
3481         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3482         fixating is an error.
3484 2005-08-04  Edward Hervey  <edward@fluendo.com>
3486         * gst/base/gstadapter.h: 
3487         Added gst_adapter_get_type() to the header
3489 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3491         * check/Makefile.am:
3492         * check/gst-libs/controller.c:
3493         * libs/gst/controller/gst-controller.c:
3494         (gst_controller_new_valist):
3495           added check test suite for the controller
3496         * gst/base/gstpushsrc.c:
3497           fixed a doc typo
3499 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3501         * docs/gst/Makefile.am:
3502         * docs/gst/gstreamer-docs.sgml:
3503         * docs/gst/gstreamer-sections.txt:
3504         * docs/gst/gstreamer.types:
3505         * docs/gst/tmpl/gstfakesrc.sgml:
3506         * gst/base/README:
3507         * gst/base/gstbasesink.c:
3508         * gst/base/gstbasesink.h:
3509         * gst/base/gstbasesrc.c:
3510         * gst/base/gstbasesrc.h:
3511         * gst/base/gstbasetransform.c:
3512         * gst/base/gstpushsrc.c:
3513         * gst/base/gstpushsrc.h:
3514           add short/long description docs to base classes
3515           add pushsrc to the docs
3516           remove consolidated doc fragments
3518 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3520         * configure.ac:
3521         * docs/libs/Makefile.am:
3522         * docs/libs/gstreamer-libs-docs.sgml:
3523         * docs/libs/gstreamer-libs-sections.txt:
3524         * docs/libs/gstreamer-libs.types:
3525         * examples/Makefile.am:
3526         * examples/controller/.cvsignore:
3527         * examples/controller/Makefile.am:
3528         * examples/controller/audio-example.c: (main):
3529         * libs/gst/Makefile.am:
3530         * libs/gst/controller/.cvsignore:
3531         * libs/gst/controller/Makefile.am:
3532         * libs/gst/controller/gst-controller.c:
3533         (on_object_controlled_property_changed), (gst_timed_value_compare),
3534         (gst_timed_value_find),
3535         (gst_controlled_property_set_interpolation_mode),
3536         (gst_controlled_property_new), (gst_controlled_property_free),
3537         (gst_controller_find_controlled_property),
3538         (gst_controller_new_valist), (gst_controller_new),
3539         (gst_controller_remove_properties_valist),
3540         (gst_controller_remove_properties), (gst_controller_set),
3541         (gst_controller_set_from_list), (gst_controller_unset),
3542         (gst_controller_get), (gst_controller_get_all),
3543         (gst_controller_sink_values), (gst_controller_get_value_arrays),
3544         (gst_controller_get_value_array),
3545         (gst_controller_set_interpolation_mode),
3546         (_gst_controller_finalize), (_gst_controller_init),
3547         (_gst_controller_class_init), (gst_controller_get_type):
3548         * libs/gst/controller/gst-controller.h:
3549         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3550         (g_object_uncontrol_properties), (g_object_get_controller),
3551         (g_object_set_controller), (g_object_sink_values),
3552         (g_object_get_value_arrays), (g_object_get_value_array):
3553         * libs/gst/controller/gst-interpolation.c:
3554         (gst_controlled_property_find_timed_value_node),
3555         (interpolate_none_get), (interpolate_trigger_get),
3556         (interpolate_trigger_get_value_array):
3557         * libs/gst/controller/lib.c: (gst_controller_init):
3558         * pkgconfig/Makefile.am:
3559         * pkgconfig/gstreamer-control-uninstalled.pc.in:
3560         * pkgconfig/gstreamer-control.pc.in:
3561         * testsuite/Makefile.am:
3562         * testsuite/controller/.cvsignore:
3563         * testsuite/controller/Makefile.am:
3564         * testsuite/controller/interpolator.c: (main):
3565           added controller code
3566           removed dparam pc files
3568 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
3569         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3570         (gst_collectpads_stop):
3571           Broadcast the condition when shutting down, to make sure we wake all
3572           threads up. Shut down pads on finalize, for safety.
3574 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
3575         * gst/base/gstbasetransform.c: (gst_base_transform_init),
3576         (gst_base_transform_handle_buffer),
3577         (gst_base_transform_change_state):
3578           Handle PAUSED->READY->PAUSED transition after negotiation
3579           occurred already.
3580         * gst/gstmessage.c: (gst_message_init):
3581           Extra piece of debug for new messages.
3583 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
3585         * configure.ac:
3586         * docs/gst/tmpl/gstbasesrc.sgml:
3587         * docs/gst/tmpl/gstelement.sgml:
3588         * docs/gst/tmpl/gstevent.sgml:
3589         * docs/gst/tmpl/gstfakesrc.sgml:
3590         * docs/gst/tmpl/gstformat.sgml:
3591         * docs/gst/tmpl/gstghostpad.sgml:
3592         * docs/gst/tmpl/gstpad.sgml:
3593         * docs/gst/tmpl/gstquery.sgml:
3594         * docs/gst/tmpl/gststructure.sgml:
3595         * docs/gst/tmpl/gsttaglist.sgml:
3596         * docs/gst/tmpl/gstvalue.sgml:
3597         * docs/libs/gstreamer-libs-docs.sgml:
3598         * docs/libs/gstreamer-libs-sections.txt:
3599         * docs/libs/gstreamer-libs.types:
3600         * libs/gst/Makefile.am:
3601         * libs/gst/control/.cvsignore:
3602         * libs/gst/control/Makefile.am:
3603         * libs/gst/control/control.c:
3604         * libs/gst/control/control.h:
3605         * libs/gst/control/dparam.c:
3606         * libs/gst/control/dparam.h:
3607         * libs/gst/control/dparam_smooth.c:
3608         * libs/gst/control/dparam_smooth.h:
3609         * libs/gst/control/dparamcommon.h:
3610         * libs/gst/control/dparammanager.c:
3611         * libs/gst/control/dparammanager.h:
3612         * libs/gst/control/dplinearinterp.c:
3613         * libs/gst/control/dplinearinterp.h:
3614         * libs/gst/control/unitconvert.c:
3615         * libs/gst/control/unitconvert.h:
3616         * testsuite/Makefile.am:
3617         * testsuite/dynparams/.cvsignore:
3618         * testsuite/dynparams/Makefile.am:
3619         * testsuite/dynparams/dparamstest.c:
3620         * tools/Makefile.am:
3621         * tools/gst-inspect.c: (print_element_info), (main):
3622         * tools/gst-xmlinspect.c: (print_element_info), (main):
3623           deactivate and remove dparams (libgstcontrol)
3625 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
3627         * gst/elements/gsttypefindelement.c:
3628         (gst_type_find_element_have_type), (gst_type_find_element_init),
3629         (stop_typefinding), (gst_type_find_element_handle_event),
3630         (gst_type_find_element_chain), (gst_type_find_element_getrange):
3631         * gst/elements/gsttypefindelement.h:
3632           Set caps on all outgoing buffers, not just the first one.
3634 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
3636         * gst/elements/gsttypefindelement.c:
3637         (gst_type_find_element_have_type),
3638         (gst_type_find_element_check_set_buffer_caps),
3639         (gst_type_find_element_init), (stop_typefinding),
3640         (gst_type_find_element_handle_event),
3641         (gst_type_find_element_chain), (gst_type_find_element_getrange):
3642         * gst/elements/gsttypefindelement.h:
3643           Set caps on first outgoing buffer when we've found the type.
3645 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
3647         * docs/gst/gstreamer-docs.sgml:
3648         * docs/gst/gstreamer-sections.txt:
3649         * docs/gst/tmpl/gstscheduler.sgml:
3650         * docs/gst/tmpl/gstschedulerfactory.sgml:
3651           Remove some old cruft from docs.
3653 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
3655         * gst/gstpad.h:
3656           Fix inline docs for GstPadLinkReturn.
3657           
3658         * gst/gststructure.c: (gst_structure_has_name):
3659         * gst/gststructure.h:
3660         * docs/gst/gstreamer-sections.txt:
3661           New API: gst_structure_has_name().
3663 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
3665         * configure.ac:
3666           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3667           and _LARGEFILE_SOURCE in config.h as required. Do not 
3668           export those flags in our .pc files any longer (#142209).
3670           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3672         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3673         (gst_file_sink_do_seek), (gst_file_sink_event),
3674         (gst_file_sink_get_current_offset), (gst_file_sink_render):
3675           Redo seek/tell calls with large file support in mind; add some
3676           debugging messages; add log message that tells us when large
3677           file support is unavailable or not enabled for some reason.
3679         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3680           Add log message that tells us when large file support 
3681           is unavailable or not enabled for some reason.
3683 2005-07-29  Wim Taymans  <wim@fluendo.com>
3685         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3686         Added test for removing an element with ghostpad from a bin.
3687         Fixed test as current implementation does the right thing.
3689         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3690         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3691         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3692         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3693         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3694         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3695         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3696         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3697         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3698         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3699         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3700         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3701         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3702         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3703         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3704         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3705         * gst/gstghostpad.h:
3706         Clean up ghostpads, remove properties for internal stuff.
3707         Make threadsafe.
3708         Fix refcounting.
3709         Prepare for switching targets, not all use cases work yet.
3711 2005-07-29  Wim Taymans  <wim@fluendo.com>
3713         * docs/design/part-gstghostpad.txt:
3714         Small update.
3716         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3717         (gst_bin_remove_func):
3718         Unlinking pads while holding the bin LOCK is not a good
3719         idea.
3721         * gst/gstpad.c: (gst_pad_class_init),
3722         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3723         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3724         No prob setting template after creating the pad.
3726 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
3728         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3729         (gst_bus_peek), (gst_bus_source_dispatch),
3730         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3731         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3732           gst_bus_poll may be called from other threads. Handle
3733           this nicely by not making poll_data disappear off the
3734           stack once gst_bus_poll returns.
3735           gst_bus_peek now increments the refcount on the returned
3736           message.
3738 2005-07-29  Wim Taymans  <wim@fluendo.com>
3740         * docs/design/part-gstghostpad.txt:
3741         Overview of current GhostPad datastructures and use
3742         cases for changing the target.
3744 2005-07-28  Wim Taymans  <wim@fluendo.com>
3746         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3747         Added checks for hierarchy consistency whan adding linked
3748         elements to bins.
3750         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3751         Added check to test element scheduling without bin/pipeline.
3753         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3754         First add elements to bin, then link.
3755         
3756         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3757         (gst_bin_remove_func):
3758         Unlink pads from elements added/removed from bin to maintain
3759         hierarchy consistency.
3761 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3763         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3764         (gst_base_transform_handle_buffer):
3765         * gst/base/gstbasetransform.h:
3766           Remove broken delay_configure (fixes renegotiation of software
3767           scaling pipelines); remove some leftover printf()s.
3769 2005-07-28  Wim Taymans  <wim@fluendo.com>
3771         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3772         Added some more tests for wrong hierarchy
3774         * docs/design/part-overview.txt:
3775         Some updates.
3777         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3778         Cleanups.
3780         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3781         (gst_element_dispose):
3782         Some more cleanups.
3784         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3785         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3786         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3787         (gst_pad_set_caps), (gst_pad_send_event):
3788         Check for correct hierarchy when linking pads. Moving to
3789         strict requirement for ghostpads when linking elements in
3790         different bins.
3792         * gst/gstpad.h:
3793         Clean ups. Added WRONG_HIERARCHY return value.
3795 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3797         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3798           Better debug if no transform is possible.
3800 2005-07-27  Wim Taymans  <wim@fluendo.com>
3802         * docs/random/wtay/network-transp:
3803         Some old doc I had.
3805 2005-07-27  Wim Taymans  <wim@fluendo.com>
3807         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3808         (gst_dp_event_from_packet):
3809         Fix serialization of seek events.
3811 2005-07-27  Wim Taymans  <wim@fluendo.com>
3813         * check/gst-libs/gdp.c: (GST_START_TEST):
3814         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3815         Fix compilation and fix event serialization.
3817 2005-07-27  Wim Taymans  <wim@fluendo.com>
3819         * CHANGES-0.9:
3820         * docs/design/part-TODO.txt:
3821         * docs/design/part-events.txt:
3822         Some docs updates
3824         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3825         (gst_base_sink_event), (gst_base_sink_do_sync),
3826         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3827         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3828         (gst_base_src_do_seek), (gst_base_src_event_handler),
3829         (gst_base_src_loop):
3830         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3831         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3832         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3833         (gst_base_transform_event), (gst_base_transform_handle_buffer),
3834         (gst_base_transform_set_passthrough),
3835         (gst_base_transform_is_passthrough):
3836         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3837         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3838         Event updates.
3840         * gst/gstbuffer.h:
3841         Use faster casts.
3843         * gst/gstelement.c: (gst_element_seek):
3844         * gst/gstelement.h:
3845         Update gst_element_seek.
3847         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3848         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3849         (gst_event_new_flush_start), (gst_event_new_flush_stop),
3850         (gst_event_new_eos), (gst_event_new_newsegment),
3851         (gst_event_parse_newsegment), (gst_event_new_tag),
3852         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3853         (gst_event_parse_qos), (gst_event_new_seek),
3854         (gst_event_parse_seek), (gst_event_new_navigation):
3855         * gst/gstevent.h:
3856         Make GstEvent use GstStructure. Add parsing code, make sure the
3857         API is sufficiently generic.
3858         Mark possible directions of events and serialization.
3860         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3861         (_gst_message_copy), (gst_message_new_segment_start),
3862         (gst_message_new_segment_done), (gst_message_new_custom),
3863         (gst_message_parse_segment_start),
3864         (gst_message_parse_segment_done):
3865         Small cleanups.
3867         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3868         (gst_pad_set_caps), (gst_pad_send_event):
3869         Update for new events. 
3870         Catch events sent in wrong directions.
3872         * gst/gstqueue.c: (gst_queue_link_src),
3873         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3874         (gst_queue_handle_src_query):
3875         Event updates.
3877         * gst/gsttag.c:
3878         * gst/gsttag.h:
3879         Remove event code from this file.
3881         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3882         (gst_dp_event_from_packet):
3883         Event updates.
3885 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3887         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3888         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3889         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3890           Make debugging actually useful.
3892 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3894         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3895         (gst_pad_fixate_caps):
3896           Implement default fixation once again, so that gst_pad_fixate()
3897           actually does anything at all. This probably needs to be some
3898           sort of a last resort, and use profile-based fixation first, but
3899           since that doesn't exist yet, this is the best we have. Fixes
3900           visualization in Totem.
3902 2005-07-22  Wim Taymans  <wim@fluendo.com>
3904         * docs/design/part-events.txt:
3905         Small update.
3907         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3908         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3909         (gst_base_sink_activate_pull):
3910         Some more comments.
3912         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3913         (gst_fake_src_create):
3914         Fix handoff marshall.
3916         * gst/elements/gstidentity.c: (gst_identity_class_init),
3917         (gst_identity_transform_ip):
3918         We're a real inplace element.
3920         * gst/gstbus.c: (gst_bus_post):
3921         Added some comments.
3923         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3924         * tests/muxing/case1.c: (main):
3925         * tests/sched/dynamic-pipeline.c: (main):
3926         * tests/sched/interrupt1.c: (main):
3927         * tests/sched/interrupt2.c: (main):
3928         * tests/sched/interrupt3.c: (main):
3929         * tests/sched/runxml.c: (main):
3930         * tests/sched/sched-stress.c: (main):
3931         * tests/seeking/seeking1.c: (event_received), (main):
3932         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3933         (main):
3934         * tests/threadstate/threadstate3.c: (main):
3935         * tests/threadstate/threadstate4.c: (main):
3936         * tests/threadstate/threadstate5.c: (main):
3937         Fix the tests.
3939 2005-07-21  Wim Taymans  <wim@fluendo.com>
3941         * docs/design/part-seeking.txt:
3942         Some small additions.
3944         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3945         (gst_base_sink_get_times), (gst_base_sink_do_sync),
3946         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3947         * gst/base/gstbasesink.h:
3948         discont values are gint64, handle the math correctly.
3950         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3951         Make the basesrc report error if the source pad is not linked.
3953         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3954         (gst_queue_loop), (gst_queue_handle_src_query),
3955         (gst_queue_src_activate_push):
3956         Make queue collect data even if the srcpad is not linked.
3957         Start pushing out data as soon as it is linked.
3959         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3960         * gst/gstutils.h:
3961         Added gst_flow_get_name() to ease error reporting.
3963 2005-07-20  Wim Taymans  <wim@fluendo.com>
3965         * gst/gstmessage.c: (gst_message_new_segment_start),
3966         (gst_message_new_segment_done), (gst_message_parse_segment_start),
3967         (gst_message_parse_segment_done):
3968         * gst/gstmessage.h:
3969         Added a bunch of messages for advanced seeking.
3971         * gst/parse/grammar.y:
3972         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3973         (gst_dpman_state_changed):
3974         Fix some new-pad -> pad-added signals
3976 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3978         * docs/manual/appendix-porting.xml:
3979         * docs/pwg/appendix-porting.xml:
3980           Document new-pad/state-change signal renames and the FixedList
3981           type rename.
3983 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3985         * docs/manual/advanced-autoplugging.xml:
3986         * docs/manual/basics-helloworld.xml:
3987         * docs/manual/basics-pads.xml:
3988         * docs/random/ds/0.9-suggested-changes:
3989         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3990         * gst/gstelement.h:
3991         * gst/gstevent.h:
3992         * gst/gstformat.h:
3993         * gst/gstquery.h:
3994         * gst/gststructure.c: (gst_structure_value_get_generic_type),
3995         (gst_structure_parse_array), (gst_structure_parse_value):
3996         * gst/gstvalue.c: (gst_type_is_fixed),
3997         (gst_value_list_prepend_value), (gst_value_list_append_value),
3998         (gst_value_list_get_size), (gst_value_list_get_value),
3999         (gst_value_transform_array_string), (gst_value_serialize_array),
4000         (gst_value_deserialize_array), (gst_value_intersect_array),
4001         (gst_value_is_fixed), (_gst_value_initialize):
4002         * gst/gstvalue.h:
4003           GstElement::new-pad -> pad-added, GstElement::state-change ->
4004           state-changed, GstValueFixedList -> GstValueArray, add format and
4005           flags as their own arguments in gst_element_seek() (should improve
4006           "bindeability"), remove function generators since they don't work
4007           under a whole bunch of compilers (they were deprecated already
4008           anyway).
4010 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4012         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4013         (_gst_debug_register_funcptr):
4014         * gst/gstinfo.h:
4015           Fix illegal cast on some platforms (#309253).
4017 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4019         * gst/gstmessage.c: (gst_message_new_custom):
4020         * gst/gstmessage.h:
4021           Add _new_custom, make _new_application a macro to _new_custom.
4023 2005-07-20  Wim Taymans  <wim@fluendo.com>
4025         * gst/base/gstbasesrc.c: (gst_base_src_init),
4026         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
4027         * gst/base/gstbasesrc.h:
4028         Add a gboolean to decide when to push out a discont.
4030         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4031         (gst_queue_loop), (gst_queue_handle_src_query),
4032         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
4033         (gst_queue_set_property), (gst_queue_get_property):
4034         Some cleanups.
4036         * tests/threadstate/threadstate1.c: (main):
4037         Make a thread test compile and run... very silly..
4040 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4042         * docs/manual/appendix-porting.xml:
4043           Mention removal of libgstgconf-0.9.la and existence of gconf
4044           elements.
4046 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4048         * docs/pwg/advanced-clock.xml:
4049         * docs/pwg/appendix-porting.xml:
4050         * docs/pwg/intro-preface.xml:
4051         * docs/pwg/other-base.xml:
4052         * docs/pwg/other-manager.xml:
4053         * docs/pwg/other-nton.xml:
4054         * docs/pwg/other-ntoone.xml:
4055         * docs/pwg/other-oneton.xml:
4056         * docs/pwg/pwg.xml:
4057           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
4058           demuxer), remove n-to-n (was never written), fix some code examples
4059           and links and update the porting section to include all this.
4061 2005-07-19  Wim Taymans  <wim@fluendo.com>
4063         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
4064         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
4065         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
4066         (gst_queue_src_activate_push), (gst_queue_change_state),
4067         (gst_queue_get_property):
4068         * gst/gstqueue.h:
4069         Propagate GstFlowReturn more intelligently upstream and output
4070         an ERROR/EOS when streaming stopped due to fatal error.
4072 2005-07-19  Wim Taymans  <wim@fluendo.com>
4074         * tools/gst-launch.c: (check_intr), (event_loop), (main):
4075         Don't block forever for the state change to complete, the
4076         pipeline already did with a sensible timeout.
4078 2005-07-19  Wim Taymans  <wim@fluendo.com>
4080         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4081         Make sure we never call the create function is we
4082         got deactivated.
4084 2005-07-19  Andy Wingo  <wingo@pobox.com>
4086         * gst/parse/parse.l: Attempt to solve bug #172815.
4088 2005-07-19  Wim Taymans  <wim@fluendo.com>
4090         * docs/design/part-clocks.txt:
4091         * docs/design/part-events.txt:
4092         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
4093         Small docs updates.
4094         Only update the seeking values when we are not
4095         busy streaming.
4097 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
4099         * gst/base/gstbasesrc.c: (gst_base_src_loop):
4100           Oops, ignore the result of gst_pad_push_event here.
4102 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
4104         * gst/base/gstbasesrc.c: (gst_base_src_loop),
4105         (gst_base_src_activate_push):
4106           Send discont event from the loop function, as pads
4107           aren't activated yet in the activate_push handler.
4109         * gst/gstbin.c: (bin_bus_handler):
4110           Don't leak element name.
4112 2005-07-18  Andy Wingo  <wingo@pobox.com>
4114         * configure.ac: Use AS_LIBTOOL_TAGS.
4116 2005-07-18  Wim Taymans  <wim@fluendo.com>
4118         * docs/gst/gstreamer.types:
4119         Remove deleted types.
4121 2005-07-18  Wim Taymans  <wim@fluendo.com>
4123         * check/elements/gstfakesrc.c: (GST_START_TEST):
4124         * configure.ac:
4125         * gst/Makefile.am:
4126         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
4127         (init_popt_callback):
4128         * gst/gst.h:
4129         * gst/gst_private.h:
4130         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
4131         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
4132         * gst/gstbin.h:
4133         * gst/gstbus.h:
4134         * gst/gstconfig.h.in:
4135         * gst/gstelement.c: (gst_element_class_init),
4136         (gst_element_set_base_time), (gst_element_get_base_time),
4137         (iterator_fold_with_resync), (gst_element_change_state),
4138         (gst_element_dispose), (gst_element_get_bus):
4139         * gst/gstelement.h:
4140         * gst/gstelementfactory.h:
4141         * gst/gsterror.c: (_gst_core_errors_init):
4142         * gst/gsterror.h:
4143         * gst/gstevent.h:
4144         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4145         * gst/gstindex.c:
4146         * gst/gstinfo.c: (_gst_debug_init):
4147         * gst/gstmessage.c: (_gst_message_copy):
4148         * gst/gstmessage.h:
4149         * gst/gstminiobject.h:
4150         * gst/gstobject.c:
4151         * gst/gstobject.h:
4152         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4153         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
4154         * gst/gstpad.h:
4155         * gst/gstparse.h:
4156         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4157         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4158         (gst_pipeline_get_last_stream_time):
4159         * gst/gstpipeline.h:
4160         * gst/gstpluginfeature.h:
4161         * gst/gstquery.h:
4162         * gst/gstscheduler.c:
4163         * gst/gstscheduler.h:
4164         * gst/gststructure.h:
4165         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
4166         (gst_task_finalize), (gst_task_func), (gst_task_create),
4167         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
4168         (gst_task_stop), (gst_task_pause):
4169         * gst/gsttask.h:
4170         * gst/gsttypefind.h:
4171         * gst/gsttypes.h:
4172         * gst/registries/gstlibxmlregistry.c: (load_feature),
4173         (gst_xml_registry_load), (gst_xml_registry_save_feature):
4174         * gst/registries/gstxmlregistry.c:
4175         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
4176         * gst/schedulers/threadscheduler.c:
4177         * libs/gst/control/dparammanager.h:
4178         * tools/gst-inspect.c: (print_element_list),
4179         (print_plugin_features), (print_element_features):
4180         * tools/gst-xmlinspect.c: (print_element_list),
4181         (print_plugin_info), (main):
4182         Removed plugable schedulers.
4183         Removed Scheduler/Manager from elements.
4184         Removed gsttypes.h, rearranged includes.
4185         Removed dependency pad<->element, element<>pipeline, and
4186         various others,  fix includes.
4187         implement gst_pad_get_parent() with gst_object_get_parent()
4188         Make GstTask sefcontained.
4189         Fix _get_state() on GstBin, it did not return ASYNC with a 0
4190         timeout.
4191         Fix endless loop in iterator_fold_with_resync.
4194 2005-07-18  Wim Taymans  <wim@fluendo.com>
4196         * gst/Makefile.am:
4197         * gst/gstarch.h:
4198         Remove old file.
4200 2005-07-18  Wim Taymans  <wim@fluendo.com>
4202         * gst/Makefile.am:
4203         No more cothreads.h
4205 2005-07-18  Wim Taymans  <wim@fluendo.com>
4207         * gst/cothreads.c:
4208         * gst/cothreads.h:
4209         Let's remove these.
4211 2005-07-18  Wim Taymans  <wim@fluendo.com>
4213         * docs/design/part-dynamic.txt:
4214         * docs/design/part-events.txt:
4215         * docs/design/part-seeking.txt:
4216         Some more docs in the works.
4218         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4219         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
4220         (gst_base_transform_setcaps), (gst_base_transform_get_size),
4221         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4222         (gst_base_transform_handle_buffer),
4223         (gst_base_transform_sink_activate_push),
4224         (gst_base_transform_src_activate_pull),
4225         (gst_base_transform_set_passthrough),
4226         (gst_base_transform_is_passthrough):
4227         Refcounting fixes.
4229         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
4230         Cleanups.
4232         * gst/gstevent.c: (gst_event_finalize):
4233         Set SRC to NULL.
4235         * gst/gstutils.c: (gst_element_unlink),
4236         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4237         (gst_pad_proxy_setcaps):
4238         * gst/gstutils.h:
4239         Add _get_parent_element() to get a pads parent as an element.
4241 2005-07-18  Wim Taymans  <wim@fluendo.com>
4243         * check/gst/gstbin.c: (GST_START_TEST):
4244         Remove bogus test.
4246 2005-07-18  Wim Taymans  <wim@fluendo.com>
4248         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4249         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4250         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4251         (gst_base_sink_event), (gst_base_sink_do_sync),
4252         (gst_base_sink_chain), (gst_base_sink_loop),
4253         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
4254         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4255         Refcounting fixes.
4256         Fix logic for returning ASYNC when not prerolled.
4258 2005-07-18  Wim Taymans  <wim@fluendo.com>
4260         * gst/gstqueue.c: (gst_queue_handle_sink_event):
4261         Fix nasty refcount bug.
4263 2005-07-16 Philippe Khalaf <burger@speedy.org>
4265         * gst/elements/gstfdsrc.c:
4266         * gst/elements/gstfdsrc.h:
4267         * gst/elements/gstelements.c:
4268         * gst/elements/Makefile.am:
4269         Ported fdsrc to 0.9.
4271 2005-07-16  Wim Taymans  <wim@fluendo.com>
4273         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4274         (gst_base_sink_do_sync):
4275         Fix compile error.
4277 2005-07-16  Wim Taymans  <wim@fluendo.com>
4279         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4280         (gst_base_sink_event), (gst_base_sink_get_times),
4281         (gst_base_sink_do_sync), (gst_base_sink_change_state):
4282         * gst/base/gstbasesink.h:
4283         Store and use discont values when syncing buffers as described
4284         in design docs.
4285         
4286         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4287         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
4288         (gst_base_src_activate_push):
4289         Push discont event when starting.
4291         * gst/elements/gstidentity.c: (gst_identity_transform):
4292         Small cleanups.
4294         * gst/gstbin.c: (gst_bin_change_state):
4295         Small cleanups in base_time  distribution.
4297         * gst/gstelement.c: (gst_element_set_base_time),
4298         (gst_element_get_base_time), (gst_element_change_state):
4299         * gst/gstelement.h:
4300         Added methods for the base_time of the element.
4301         Some MT fixes.
4303         * gst/gstpipeline.c: (gst_pipeline_send_event),
4304         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4305         (gst_pipeline_get_last_stream_time):
4306         * gst/gstpipeline.h:
4307         MT fixes.
4308         Handle seeking as described in design doc, remove stream_time
4309         hack.
4310         Cleanups clock and stream_time selection code. Added accessors
4311         for the stream_time.
4312         
4314 2005-07-16  Andy Wingo  <wingo@pobox.com>
4316         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4317         (#305291).
4319 2005-07-16  Wim Taymans  <wim@fluendo.com>
4321         * check/gst/gstbin.c: (GST_START_TEST):
4322         Make elements silent as the deep_notify refs the
4323         parent, which might make the test fail.
4325         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4326         Don't hold the lock for too long.
4328 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
4330         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4331           Don't unref the caps we passed to gst_caps_make_writable() after
4332           passing them. gst_caps_make_writable() will do that for us.
4334 2005-07-15  Andy Wingo  <wingo@pobox.com>
4336         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4337         (#157311).
4339         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4340         own marshalling function for the handoff signal. Properly type the
4341         buffer as a buffer. Fixes some warnings. Should do a more general
4342         solution.
4343         (gst_identity_class_init): Plug into the right marshaller.
4345 2005-07-15  Wim Taymans  <wim@fluendo.com>
4347         * docs/design/part-TODO.txt:
4348         * docs/design/part-clocks.txt:
4349         * docs/design/part-element-sink.txt:
4350         * docs/design/part-events.txt:
4351         * docs/design/part-gstpipeline.txt:
4352         Updated docs, mostly DISCONT related.
4354 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
4356         * docs/pwg/building-pads.xml:
4357           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4359 2005-07-15  Andy Wingo  <wingo@pobox.com>
4361         * tools/gst-typefind.c: Update, add copyright block.
4363         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4364         Normalize and truncate caps before fixation.
4366         * gst/gstcaps.h:
4367         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4368         discards all but the first structure from its argument.
4370 2005-07-15  Wim Taymans  <wim@fluendo.com>
4372         * gst/base/gstbasetransform.c: (gst_base_transform_init),
4373         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4374         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4375         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4376         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4377         (gst_base_transform_chain), (gst_base_transform_change_state),
4378         (gst_base_transform_set_passthrough),
4379         (gst_base_transform_is_passthrough):
4380         * gst/base/gstbasetransform.h:
4381         Make passthrough work using the bufferpools.
4382         Changed API a bit, subclasses have to write into a buffer
4383         provided by the base class.
4384         More debug info in nego functions.
4385         
4386         * gst/elements/gstidentity.c: (gst_identity_init),
4387         (gst_identity_transform):
4388         Port to new base class.
4390 2005-07-15  Wim Taymans  <wim@fluendo.com>
4392         * gst/gstmessage.c: (gst_message_new_state_changed):
4393         * tools/gst-launch.c: (event_loop), (main):
4394         Totally dump messages in -launch with the -m option.
4395         Fix message name for State messages,
4397 2005-07-14  Wim Taymans  <wim@fluendo.com>
4399         * gst/base/gstbasesrc.c: (gst_base_src_loop):
4400         Post error messages on errors.
4402 2005-07-14  Wim Taymans  <wim@fluendo.com>
4404         * gst/gstcaps.c: (gst_caps_do_simplify):
4405         Remove debug info.
4407         * gst/gsterror.h:
4408         Define error for stream stopped.
4410         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4411         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4412         Do proper return values.
4414         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4415         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4416         (gst_pad_get_range):
4417         Better return values.
4419         * gst/gstpad.h:
4420         Reorganise return values, add macro to check for fatal errors.
4422         * gst/gstqueue.c: (gst_queue_chain):
4423         Return proper GstFlowReturn values,
4425 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4427         * docs/gst/gstreamer-sections.txt:
4428         * docs/gst/gstreamer.types:
4429         * docs/gst/tmpl/gst.sgml:
4430         * docs/gst/tmpl/gstbasesink.sgml:
4431         * docs/gst/tmpl/gstbasesrc.sgml:
4432         * docs/gst/tmpl/gstbasetransform.sgml:
4433         * docs/gst/tmpl/gstbin.sgml:
4434         * docs/gst/tmpl/gstbuffer.sgml:
4435         * docs/gst/tmpl/gstcaps.sgml:
4436         * docs/gst/tmpl/gstclock.sgml:
4437         * docs/gst/tmpl/gstcompat.sgml:
4438         * docs/gst/tmpl/gstconfig.sgml:
4439         * docs/gst/tmpl/gstelement.sgml:
4440         * docs/gst/tmpl/gstelementdetails.sgml:
4441         * docs/gst/tmpl/gstelementfactory.sgml:
4442         * docs/gst/tmpl/gstenumtypes.sgml:
4443         * docs/gst/tmpl/gsterror.sgml:
4444         * docs/gst/tmpl/gstevent.sgml:
4445         * docs/gst/tmpl/gstfakesink.sgml:
4446         * docs/gst/tmpl/gstfakesrc.sgml:
4447         * docs/gst/tmpl/gstfilesink.sgml:
4448         * docs/gst/tmpl/gstfilesrc.sgml:
4449         * docs/gst/tmpl/gstfilter.sgml:
4450         * docs/gst/tmpl/gstformat.sgml:
4451         * docs/gst/tmpl/gstghostpad.sgml:
4452         * docs/gst/tmpl/gstimplementsinterface.sgml:
4453         * docs/gst/tmpl/gstindex.sgml:
4454         * docs/gst/tmpl/gstindexfactory.sgml:
4455         * docs/gst/tmpl/gstinfo.sgml:
4456         * docs/gst/tmpl/gstiterator.sgml:
4457         * docs/gst/tmpl/gstmacros.sgml:
4458         * docs/gst/tmpl/gstmemchunk.sgml:
4459         * docs/gst/tmpl/gstminiobject.sgml:
4460         * docs/gst/tmpl/gstobject.sgml:
4461         * docs/gst/tmpl/gstpad.sgml:
4462         * docs/gst/tmpl/gstpadtemplate.sgml:
4463         * docs/gst/tmpl/gstparse.sgml:
4464         * docs/gst/tmpl/gstpipeline.sgml:
4465         * docs/gst/tmpl/gstplugin.sgml:
4466         * docs/gst/tmpl/gstpluginfeature.sgml:
4467         * docs/gst/tmpl/gstquery.sgml:
4468         * docs/gst/tmpl/gstqueue.sgml:
4469         * docs/gst/tmpl/gstregistry.sgml:
4470         * docs/gst/tmpl/gstregistrypool.sgml:
4471         * docs/gst/tmpl/gstscheduler.sgml:
4472         * docs/gst/tmpl/gstschedulerfactory.sgml:
4473         * docs/gst/tmpl/gststructure.sgml:
4474         * docs/gst/tmpl/gstsystemclock.sgml:
4475         * docs/gst/tmpl/gsttaglist.sgml:
4476         * docs/gst/tmpl/gsttagsetter.sgml:
4477         * docs/gst/tmpl/gsttrace.sgml:
4478         * docs/gst/tmpl/gsttrashstack.sgml:
4479         * docs/gst/tmpl/gsttypefind.sgml:
4480         * docs/gst/tmpl/gsttypefindfactory.sgml:
4481         * docs/gst/tmpl/gsttypes.sgml:
4482         * docs/gst/tmpl/gsturihandler.sgml:
4483         * docs/gst/tmpl/gsturitype.sgml:
4484         * docs/gst/tmpl/gstutils.sgml:
4485         * docs/gst/tmpl/gstvalue.sgml:
4486         * docs/gst/tmpl/gstversion.sgml:
4487         * docs/gst/tmpl/gstxml.sgml:
4488         * docs/libs/tmpl/gstcontrol.sgml:
4489         * docs/libs/tmpl/gstdataprotocol.sgml:
4490         * docs/libs/tmpl/gstdparam.sgml:
4491         * docs/libs/tmpl/gstdplinint.sgml:
4492         * docs/libs/tmpl/gstdpman.sgml:
4493         * docs/libs/tmpl/gstdpsmooth.sgml:
4494         * docs/libs/tmpl/gstgetbits.sgml:
4495         * docs/libs/tmpl/gstunitconvert.sgml:
4496         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4497         (gst_push_src_base_init), (gst_push_src_class_init),
4498         (gst_push_src_init), (gst_push_src_create):
4499         * gst/base/gstpushsrc.h:
4500         * gst/elements/gstelements.c:
4501         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4502         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4503         (gst_fake_sink_init), (gst_fake_sink_set_property),
4504         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4505         (gst_fake_sink_event), (gst_fake_sink_preroll),
4506         (gst_fake_sink_render), (gst_fake_sink_change_state):
4507         * gst/elements/gstfakesink.h:
4508         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4509         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4510         (gst_fake_src_base_init), (gst_fake_src_class_init),
4511         (gst_fake_src_init), (gst_fake_src_event_handler),
4512         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4513         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4514         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4515         (gst_fake_src_create_buffer), (gst_fake_src_create),
4516         (gst_fake_src_start), (gst_fake_src_stop):
4517         * gst/elements/gstfakesrc.h:
4518         * gst/elements/gstfilesink.c: (_do_init),
4519         (gst_file_sink_base_init), (gst_file_sink_class_init),
4520         (gst_file_sink_init), (gst_file_sink_dispose),
4521         (gst_file_sink_set_location), (gst_file_sink_set_property),
4522         (gst_file_sink_get_property), (gst_file_sink_open_file),
4523         (gst_file_sink_close_file), (gst_file_sink_query),
4524         (gst_file_sink_event), (gst_file_sink_render),
4525         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4526         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4527         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4528         * gst/elements/gstfilesink.h:
4529         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4530         (gst_file_src_class_init), (gst_file_src_init),
4531         (gst_file_src_finalize), (gst_file_src_set_location),
4532         (gst_file_src_set_property), (gst_file_src_get_property),
4533         (gst_file_src_map_region), (gst_file_src_map_small_region),
4534         (gst_file_src_create_mmap), (gst_file_src_create_read),
4535         (gst_file_src_create), (gst_file_src_is_seekable),
4536         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4537         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4538         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4539         (gst_file_src_uri_handler_init):
4540         * gst/elements/gstfilesrc.h:
4541           more autistic cleanliness in functions/names/defines
4543 2005-07-13  Andy Wingo  <wingo@pobox.com>
4545         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4546         source couldn't negotiate.
4548         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4549         connections again.
4551         * gst/gstutils.h:
4552         * gst/gstutils.c (gst_element_link_pads_filtered): New old
4553         function. I am channeling Hades. Put your boots on suckers!!!
4555 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4557         * testsuite/caps/Makefile.am:
4558         * testsuite/caps/value_compare.c:
4559         * testsuite/caps/value_intersect.c:
4560         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4561           move two testsuite apps over to the check dir
4563 2005-07-12  Wim Taymans  <wim@fluendo.com>
4565         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4566         Added more debug info in the negotiate process.
4568         * gst/gstmessage.h:
4569         Prepare for segment playback.
4571         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4572         Better debugging.
4574         * gst/gstutils.c:
4575         Some more docs.
4577         * tools/gst-launch.c: (main):
4578         NULL pipeline on errors.
4580 2005-07-12  Andy Wingo  <wingo@pobox.com>
4582         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4583         not it comes from a malloc region. Make sure our copy gets freed.
4585 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4587         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4588         * check/gst/gstmessage.c: (GST_START_TEST):
4589         * check/gst/gststructure.c: (GST_START_TEST),
4590         (gst_structure_suite), (main):
4591           more testing
4592         * gst/gstelement.c: (gst_element_message_full):
4593           clean up GError and debug string now that they get copied
4594         * gst/gstmessage.c: (gst_message_new_error),
4595         (gst_message_new_warning), (gst_message_parse_error),
4596         (gst_message_parse_warning):
4597           use GST_TYPE_G_ERROR for structure_new, and take copies of
4598           arguments, so that we don't mess up refcounting
4600 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4602         * check/Makefile.am:
4603           add per-test valgrind targets
4604         * check/gst-libs/gdp.c: (GST_START_TEST),
4605         (gst_data_protocol_suite), (main):
4606           clean up
4608 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4610         * check/Makefile.am:
4611           instate more valgrindable tests
4612         * check/elements/gstfakesrc.c: (chain_func), (event_func),
4613         (GST_START_TEST), (fakesrc_suite):
4614         * check/gst/gstpad.c: (GST_START_TEST):
4615         * check/gst/gststructure.c: (GST_START_TEST):
4616           fix test leaks
4617         * docs/gst/tmpl/gstminiobject.sgml:
4618         * gst/gstpad.c: (gst_pad_finalize):
4619           fix the static mutex leak
4621 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4623         * check/Makefile.am:
4624           add two more tests for valgrinding
4625         * check/gst/gstvalue.c: (GST_START_TEST):
4626           test refcount of deserialized buffer, found a leak
4627         * docs/gst/gstreamer-docs.sgml:
4628         * docs/gst/gstreamer-sections.txt:
4629         * docs/gst/gstreamer.types:
4630         * docs/gst/tmpl/gstminiobject.sgml:
4631           add miniobject to docs
4632         * gst/gstminiobject.c:
4633           add some docs
4634         * gst/gstvalue.c: (gst_value_deserialize_buffer),
4635         (gst_string_unwrap):
4636           fix a hard-to-find invalid write for one of the tests
4637           fix a leak for deserialized buffers
4639 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4641         * docs/pwg/advanced-events.xml:
4642         * docs/pwg/advanced-request.xml:
4643         * docs/pwg/advanced-scheduling.xml:
4644         * docs/pwg/appendix-porting.xml:
4645         * docs/pwg/building-boiler.xml:
4646         * docs/pwg/intro-preface.xml:
4647         * docs/pwg/other-ntoone.xml:
4648           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4649           of example code and explanation for pad activation, loop() and
4650           getrange() functions and a bit more. Remove old comments pointing
4651           to loop-functions.
4652         * examples/pwg/Makefile.am:
4653           Add loop/getrange examples.
4655 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4657         * configure.ac:
4658           check for valgrind binary + some fixes
4659         * check/gst.supp:
4660           valgrind suppressions for the tests
4661         * check/Makefile.am:
4662           add a valgrind: target that valgrinds the unit tests
4663         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4664         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4665         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4666         * check/gst/gstghostpad.c:
4667           added some cleanup
4668         * check/gst/gstdata.c:
4669           removed
4670         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4671         (thread_unref), (gst_mini_object_suite), (main):
4672           added
4673         * gst/gst.c: (gst_deinit):
4674         * gst/gst.h:
4675           add a method to clean up.
4676         * gst/gstsystemclock.c: (gst_system_clock_dispose),
4677         (gst_system_clock_obtain):
4678           allow for disposing the system clock.
4679         * tools/gst-launch.c: (main):
4680           deinit
4682 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4684         * docs/gst/tmpl/gstbasesrc.sgml:
4685         * docs/gst/tmpl/gstfakesrc.sgml:
4686         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4687         (gst_base_src_init), (gst_base_src_set_property),
4688         (gst_base_src_get_property), (gst_base_src_get_range),
4689         (gst_base_src_start):
4690         * gst/base/gstbasesrc.h:
4691           add num-buffers property
4692         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4693         (gst_fakesrc_init), (gst_fakesrc_set_property),
4694         (gst_fakesrc_get_property), (gst_fakesrc_create),
4695         (gst_fakesrc_start):
4696           remove num-buffers property
4698 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4700         * docs/gst/gstreamer-sections.txt:
4701         * docs/gst/tmpl/gstbasesink.sgml:
4702         * docs/gst/tmpl/gstbasesrc.sgml:
4703         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4704         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4705         (gst_base_sink_finalize), (gst_base_sink_set_clock),
4706         (gst_base_sink_set_property), (gst_base_sink_get_property),
4707         (gst_base_sink_handle_object), (gst_base_sink_event),
4708         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4709         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4710         (gst_base_sink_loop), (gst_base_sink_deactivate),
4711         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4712         (gst_base_sink_change_state):
4713         * gst/base/gstbasesink.h:
4714         * gst/base/gstbasesrc.h:
4715         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4716         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4717         (gst_filesink_init):
4718           more macro splitting
4720 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4722         * gst/gstelement.c: (gst_element_get_bus):
4723           add debug
4724         * tools/gst-launch.c: (check_intr), (event_loop):
4725           fix bus leaks
4727 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4729         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4730           fix a caps leak
4732 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4734         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4735         (gst_base_src_finalize):
4736           add finalize method and clean up properly
4737         * gst/gstpipeline.c: (gst_pipeline_dispose):
4738           add debug
4740 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4742         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4743         (gst_bin_suite):
4744           add more things to check
4745         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4746         * gst/gstelement.c:
4747           more debug
4749 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4751         * check/elements/gstfakesrc.c: (chain_func), (event_func),
4752         (GST_START_TEST), (fakesrc_suite):
4753         * check/gst-libs/gdp.c: (GST_START_TEST):
4754         * check/gst/gst.c: (GST_START_TEST):
4755         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4756         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4757         * check/gst/gstbus.c: (GST_START_TEST):
4758         * check/gst/gstcaps.c: (GST_START_TEST):
4759         * check/gst/gstdata.c: (GST_START_TEST):
4760         * check/gst/gstelement.c: (GST_START_TEST):
4761         * check/gst/gstghostpad.c: (GST_START_TEST):
4762         * check/gst/gstiterator.c: (GST_START_TEST):
4763         * check/gst/gstmessage.c: (GST_START_TEST):
4764         * check/gst/gstobject.c: (GST_START_TEST):
4765         * check/gst/gstpad.c: (GST_START_TEST):
4766         * check/gst/gststructure.c: (GST_START_TEST):
4767         * check/gst/gstsystemclock.c: (GST_START_TEST),
4768         (gst_systemclock_suite):
4769         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4770         * check/gst/gstvalue.c: (GST_START_TEST):
4771         * check/pipelines/cleanup.c: (GST_START_TEST):
4772         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4773         * check/states/sinks.c: (GST_START_TEST):
4774         * check/gstcheck.c: (gst_check_init):
4775         * check/gstcheck.h:
4776           add debugging category
4777           use GST_START_TEST now, so we add a debug line
4779 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4781         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4782           add test for state change message on a bin
4783         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4784           add another test
4785         * gst/gstbin.c: (gst_bin_init):
4786         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4787         * gst/gstelement.c: (gst_element_post_message),
4788         (gst_element_set_state):
4789         * gst/gstelementfactory.c: (gst_element_factory_create):
4790         * gst/gstmessage.c: (gst_message_new):
4791         * gst/gstscheduler.c:
4792           various debugging additions and cleanups
4794 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4796         * check/Makefile.am:
4797         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4798         (main):
4799           adding tests for elements
4800         * gst/gstelement.c: (gst_element_dispose):
4802 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4804         * gst/registries/gstlibxmlregistry.c: (load_feature):
4805           plug more leaks.  A simple gst_init() now is leakfree, yay.
4807 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4809         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4810         (gst_xml_registry_load):
4811           plug another memleak
4813 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4815         * configure.ac:
4816           use GST_SET_ERROR_CFLAGS
4817         * docs/faq/cvs.xml:
4818           change to ERROR_CFLAGS
4820 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4822         * configure.ac:
4823           make GST_ERROR_CFLAGS overridable and re-enable Werror
4824         * docs/faq/cvs.xml:
4825           add a note about error CFLAGS
4826         * docs/gst/tmpl/gstfakesrc.sgml:
4827         * gst/elements/gstfakesrc.c:
4828           comment out some unused code
4829         * gst/gst.c: (split_and_iterate):
4830         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4831         (load_feature):
4832           plug some memleaks
4834 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4836         * common/Makefile.am:
4837         * common/gtk-doc.mak:
4838         * docs/gst/Makefile.am:
4839           factor out gtk-doc.mak
4841 2005-07-07  Wim Taymans  <wim@fluendo.com>
4843         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4844         (gst_thread_scheduler_dispose):
4845         Unlock the STREAM_LOCK completely.
4847 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4849         * check/Makefile.am:
4850         * check/elements/.cvsignore:
4851         * check/elements/gstfakesrc.c: (chain_func), (event_func),
4852         (START_TEST), (fakesrc_suite), (main):
4853         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4854         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4855         (gst_fakesrc_create), (gst_fakesrc_start):
4856         * gst/elements/gstfakesrc.h:
4857           adding a first element test
4859 2005-07-07  Andy Wingo  <wingo@pobox.com>
4861         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4862         debug message.
4864 2005-07-07  Wim Taymans  <wim@fluendo.com>
4866         * gst/gstquery.c:
4867         * gst/gstquery.h:
4868         Remove old types
4870 2005-07-07  Wim Taymans  <wim@fluendo.com>
4872         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4873         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4874         Allow subclasses to implement their own negotiation.
4876 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
4878         * docs/design/part-gstbin.txt:
4879         * docs/design/part-gstpipeline.txt:
4880           Update design notes to reflect the movement of
4881           responsibility for bus handling from GstPipeline to
4882           GstBin
4884 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
4886         * configure.ac:
4887           Remove unnecessary queue2/3/4 examples.
4889 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
4891         * examples/Makefile.am:
4892         * examples/helloworld/helloworld.c: (event_loop), (main):
4893         * examples/queue/queue.c: (event_loop), (main):
4894         * examples/queue2/queue2.c: (main):
4895           Update a couple of the examples to work again.
4897         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4898         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4899          Spelling corrections and extra debug.
4900         
4901         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4902         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4903         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4904         * gst/gstbin.h:
4905         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4906         (gst_pipeline_change_state):
4907         * gst/gstpipeline.h:
4908           Move the bus handler for children to the GstBin, and create a
4909           separate bus for receiving messages from children to the one the
4910           bus sends 'upwards' on.
4912 2005-07-06  Wim Taymans  <wim@fluendo.com>
4914         * gst/base/README:
4915         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4916         (gst_base_sink_handle_object), (gst_base_sink_loop),
4917         (gst_base_sink_change_state):
4918         * gst/base/gstbasesink.h:
4919         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4920         (gst_base_src_init), (gst_base_src_setcaps),
4921         (gst_base_src_getcaps), (gst_base_src_loop),
4922         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4923         (gst_base_src_start), (gst_base_src_change_state):
4924         * gst/base/gstbasesrc.h:
4925         Make basesrc negotiate.
4926         Handle the case where preroll fails in basesink.
4927         Update README.
4929 2005-07-06  Wim Taymans  <wim@fluendo.com>
4931         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4932         Implement the fixate function.
4933         Clean up acceptcaps.
4935 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4937         * docs/pwg/building-filterfactory.xml:
4938         * docs/pwg/pwg.xml:
4939           Remove never-written filter-factory chapter; I'll add the various
4940           base classes to part 4 ("other element types") later on.
4942 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4944         * docs/pwg/advanced-negotiation.xml:
4945         * docs/pwg/building-boiler.xml:
4946         * docs/pwg/building-pads.xml:
4947         * docs/pwg/pwg.xml:
4948         * examples/pwg/Makefile.am:
4949           Add a chapter on caps negotiation, simplify the original code
4950           samples a bit w.r.t. caps negotiation, add link to the advanced
4951           section. Add a bunch of examples showing different use cases of
4952           different types of caps negotiation. Upstream renegotiation isn't
4953           fully documented yet since nobody knows how that works.
4955 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4957         * check/gst/gstpad.c:
4958         * check/gstcheck.c:
4959         * gst/gstpad.c: (gst_pad_get_internal_links_default):
4960           if pad has no parent, return NULL as list of internal links
4962 2005-07-05  Andy Wingo  <wingo@pobox.com>
4964         * gst/elements/gstfilesrc.c:
4965         * gst/elements/gstfakesrc.c: 
4966         * gst/base/gstpushsrc.c:
4967         * gst/base/gstbasesrc.h: 
4968         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4969         
4970 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
4972         * Makefile.am:
4973           better report generation target (lcov needs a patch)
4975 2005-07-05  Andy Wingo  <wingo@pobox.com>
4977         * gst/elements, testsuite: Null if we got it...
4979 2005-07-05  Wim Taymans  <wim@fluendo.com>
4981         * configure.ac:
4982         * libs/gst/dataprotocol/Makefile.am:
4983         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4984         * libs/gst/dataprotocol/dataprotocol.h:
4985         * pkgconfig/Makefile.am:
4986         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4987         * pkgconfig/gstreamer-dataprotocol.pc.in:
4988         Ported dataprotol to 0.9. 
4989         Added pkgconfig files.
4991 2005-07-05  Andy Wingo  <wingo@pobox.com>
4993         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4994         Default to returning TRUE for the case when tranform_caps returns
4995         a fixed caps, like for identity or volume.
4997         * check/gst/gstbus.c (pound_bus_with_messages): 
4998         * check/gst/gstmessage.c (START_TEST): 
4999         * check/pipelines/simple_launch_lines.c (got_handoff): Application
5000         message API change.
5002         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
5003         logic weaks here: always run transform_caps, trying passthrough
5004         operation only if the original caps intersects with the transform.
5006         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
5007         source and sink caps.
5009         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
5010         Intersect the peer caps with the pad template before going into
5011         transform_caps.
5012         (gst_base_transform_transform_caps): More debugging.
5014         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
5015         src argument.
5017 2005-07-04  Edward Hervey  <edward@fluendo.com>
5019         * gst/gstutils.c:
5020         * gst/gstutils.h:
5021         (gst_pad_add_*_probe): now returns the signal id for better wrapping
5022         in bindings.
5024 2005-07-04  Andy Wingo  <wingo@pobox.com>
5026         * check/gst/gstpad.c: Only set explicit caps on pads.
5028 2005-07-01  Andy Wingo  <wingo@pobox.com>
5030         * tests/network-clock.scm: Commentary update.
5032         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
5033         Didn't really make sense, not implementable with basetransform,
5034         etc.
5035         (gst_identity_transform): Unref inbuf via make_writable. Feeble
5036         attempt at implementing the sync property, needs an unlock method.
5038         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
5039         New func, by default returns the same caps (the identity
5040         transformation).
5041         (gst_base_transform_getcaps): Uses transform_caps to return
5042         something sensible.
5043         (gst_base_transform_setcaps): Complicated logic to get caps on
5044         both pads, even if they are different, and to call set_caps once
5045         for every time both pads get their caps set.
5046         (gst_base_transform_handle_buffer): Give the ref to the transform
5047         function. Allows in-place modification of the buffer.
5049         * gst/base/gstbasetransform.h (transform_caps): New class method.
5050         Given caps on one side, what can I do on the other.
5051         (set_caps): Take two caps, one for each side of the element.
5053         * gst/gstpad.h:
5054         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
5055         caps in place. This is safe because we can check the mutability of
5056         the caps, and a good idea because fixate functions are just called
5057         as a matter of last resort. (Not actually implemented.)
5058         (gst_pad_set_caps): If the caps we're setting is actually the same
5059         as the existing pad caps, just update the pointer without calling
5060         setcaps. Assert that caps is either NULL or fixed, as per the
5061         docs.
5063         * gst/gstghostpad.c: Update for fixate changes.
5065 2005-07-02  Andy Wingo  <wingo@pobox.com>
5067         * gst/gstcaps.c:
5068         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
5069         two refcounts makes it immutable, which is enough. Doc more.
5071 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
5073         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
5074           Put the mini_object into GValue as a mini_object,
5075           not a gpointer, since that's how we declared
5076           the signal.
5078 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5080         * examples/pwg/Makefile.am:
5081           Fix buildbot again.
5083 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5085         * docs/pwg/building-testapp.xml:
5086           Add extra check.
5087         * examples/pwg/Makefile.am:
5088           Fix buildbot.
5090 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5092         * configure.ac:
5093         * examples/Makefile.am:
5094         * examples/pwg/Makefile.am:
5095         * examples/pwg/extract.pl:
5096           Enable building the PWG examples.
5097         * docs/pwg/advanced-interfaces.xml:
5098           Add URI interface stub.
5099         * docs/pwg/advanced-types.xml:
5100         * docs/pwg/other-autoplugger.xml:
5101         * docs/pwg/appendix-porting.xml:
5102         * docs/pwg/pwg.xml:
5103           Add porting guide (mostly stubs), remove autoplugging (see ADM).
5104         * docs/pwg/building-boiler.xml:
5105         * docs/pwg/building-chainfn.xml:
5106         * docs/pwg/building-pads.xml:
5107         * docs/pwg/building-props.xml:
5108         * docs/pwg/building-state.xml:
5109         * docs/pwg/building-testapp.xml:
5110           Update the building-*.xml parts for 0.9 changes. All examples
5111           code blocks compile in examples/pwg/*.
5113 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5115         * docs/manual/advanced-autoplugging.xml:
5116         * docs/manual/appendix-checklist.xml:
5117         * docs/manual/appendix-integration.xml:
5118         * docs/manual/highlevel-components.xml:
5119           Fix playbin/decodebin examples, update docs a bit, mention bus
5120           instead of signals in various places, mention kmplayer and
5121           kaffeine since they have a working GStreamer backend in the KDE
5122           section.
5124 2005-06-30  Wim Taymans  <wim@fluendo.com>
5126         * CHANGES-0.9:
5127         * docs/design/draft-ghostpads.txt:
5128         * docs/design/draft-push-pull.txt:
5129         * docs/design/draft-query.txt:
5130         * docs/design/part-TODO.txt:
5131         * docs/design/part-query.txt:
5132         Added CHANGES-0.9 doc, updated status of other docs.
5133         
5134         * gst/gstquery.h:
5135         Remove "hmm" macro
5137 2005-06-30  Wim Taymans  <wim@fluendo.com>
5139         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5140         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5141         (gst_base_sink_change_state):
5142         * gst/base/gstbasesink.h:
5143         Some tweaks, only EOS and a buffer complete a preroll.
5145 2005-06-30  Andy Wingo  <wingo@pobox.com>
5147         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
5148         activate_push down to the internal pad as well.
5150 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
5152         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5154         * gst/gsttaginterface.c:
5155           Some documentation fixes (#307394 and #307397).
5157 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
5159         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5161         * gst/gstvalue.c: (gst_value_intersect_list):
5162           Fix memleak (#309125).
5164 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5166         * docs/manual/advanced-dataaccess.xml:
5167           Fix fakesrc example to compile; doesn't work, bug somewhere...?
5168         * docs/manual/basics-pads.xml:
5169           Add reference for filtered caps to above chapter.
5171 2005-06-30  Wim Taymans  <wim@fluendo.com>
5173         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
5174         (gst_bin_change_state):
5175         Probes are gone.
5176         Lame attempt at making the state change function a bit
5177         more readable.
5179 2005-06-30  Wim Taymans  <wim@fluendo.com>
5181         * docs/design/part-clocks.txt:
5182         * docs/design/part-element-sink.txt:
5183         * docs/design/part-events.txt:
5184         * docs/design/part-preroll.txt:
5185         * docs/design/part-states.txt:
5186         Some more tweeks and additions to the docs.
5188 2005-06-30  Wim Taymans  <wim@fluendo.com>
5190         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5191         (default_have_data), (gst_pad_class_init), (gst_pad_init),
5192         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5193         (gst_pad_check_pull_range), (gst_pad_get_range),
5194         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
5195         * gst/gstpad.h:
5196         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
5197         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5198         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5199         (gst_pad_remove_buffer_probe):
5200         Removed atomic operations, use existing LOCK.
5201         Move exception handling out of main code path.
5203 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5205         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5206         (silly_return_true_function), (gst_pad_class_init),
5207         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5208         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
5209         (gst_pad_send_event):
5210           Fix accumulator, add default value by using _emitv() instead
5211           of _emit() for signal emission.
5213 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5215         * docs/manual/advanced-dataaccess.xml:
5216         * examples/manual/Makefile.am:
5217           Add probe example.
5218         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
5219           Make work (??).
5221 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
5223         * gst/elements/gstfilesink.c: (gst_filesink_render):
5224           Simplify code so that we don't have to handle short
5225           writes and return GST_FLOW_ERROR if an error occured.
5227 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5229         * docs/gst/gstreamer-docs.sgml:
5230           Remove probes more.
5232 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5234         * docs/gst/gstreamer-sections.txt:
5235         * docs/gst/tmpl/gstpad.sgml:
5236         * docs/gst/tmpl/gstprobe.sgml:
5237         * gst/Makefile.am:
5238         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5239         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5240         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5241         (gst_pad_push_event), (gst_pad_send_event):
5242         * gst/gstpad.h:
5243         * gst/gstutils.c: (gst_pad_add_data_probe),
5244         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5245         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5246         (gst_pad_remove_buffer_probe):
5247         * gst/gstutils.h:
5248           Remove old probes, add new g-signal-based probes and some utility
5249           functions.
5251 2005-06-29  Edward Hervey  <edward@fluendo.com>
5253         * gst/gstelementfactory.c:
5254         * gst/gstutils.h:
5255         * gst/gstutils.c:
5256         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5257         the definition to the header file.
5259 2005-06-29  Andy Wingo  <wingo@pobox.com>
5261         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
5262         plugins from the source directory.
5264 2005-06-29  Wim Taymans  <wim@fluendo.com>
5266         * docs/gst/tmpl/gstbuffer.sgml:
5267         * docs/gst/tmpl/gstclock.sgml:
5268         Some fixings for blantently wrong text.
5270 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5272         * check/Makefile.am:
5273         * gst/gst.c: (add_path_func), (init_pre):
5274         * gst/gstregistry.c: (gst_registry_add_path):
5275           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
5276           only scan the GST_PLUGIN_PATH locations, and not add
5277           system locations
5279 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5281         * docs/gst/gstreamer-sections.txt:
5282         * docs/gst/tmpl/gstbasesrc.sgml:
5283         * gst/gstelement.c:
5284         * gst/gstelement.h:
5285         * gst/gstevent.c:
5286         * gst/gstutils.c:
5287           doc fixes
5289 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5291         * docs/manual/advanced-autoplugging.xml:
5292           Fix autoplugging example.
5294 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5296         * docs/manual/advanced-autoplugging.xml:
5297         * docs/manual/mime-world.fig:
5298           Try to get autoplugging working, fix type detection. Fix text
5299           in hello-world image.
5301 2005-06-29  Wim Taymans  <wim@fluendo.com>
5303         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5304         (gst_base_sink_change_state):
5305         Small debug line.
5307         * gst/gstclock.h:
5308         map SIGNAL and BROADCAST to the right function.
5310         * gst/gstobject.h:
5311         Remove redundant braces.
5313         * gst/gstpad.c: (gst_pad_set_caps):
5314         Don't call setcaps function when reseting caps to NULL.
5316         * gst/gstsystemclock.c: (gst_system_clock_dispose),
5317         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5318         (gst_system_clock_id_unschedule):
5319         Use BROADCAST as this is what we do.
5321 2005-06-29  Wim Taymans  <wim@fluendo.com>
5323         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5324         We are actually prerolling before commiting the state
5325         change. 
5327 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5329         * docs/manual/advanced-clocks.xml:
5330         * docs/manual/advanced-interfaces.xml:
5331         * docs/manual/advanced-metadata.xml:
5332         * docs/manual/advanced-position.xml:
5333         * docs/manual/advanced-schedulers.xml:
5334         * docs/manual/advanced-threads.xml:
5335         * docs/manual/appendix-porting.xml:
5336         * docs/manual/basics-bins.xml:
5337         * docs/manual/basics-bus.xml:
5338         * docs/manual/basics-elements.xml:
5339         * docs/manual/basics-helloworld.xml:
5340         * docs/manual/basics-pads.xml:
5341         * docs/manual/highlevel-components.xml:
5342         * docs/manual/manual.xml:
5343         * docs/manual/thread.fig:
5344           Update (until threads/scheduling) Application Development Manual;
5345           remove GstThread, add GstBus, add simple porting checklist, add
5346           documentation for tag writing, clocks, make all examples until this
5347           part compile and run.
5348         * examples/manual/Makefile.am:
5349           Update from changes to Application Development Manual; add bus
5350           example, remove thread example.
5352 2005-06-28  Wim Taymans  <wim@fluendo.com>
5354         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
5355         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5356         (gst_bus_source_dispatch):
5357         Add debugging messages.
5358         Make internal methods static.
5359         Handle the case where the bus is flushed in the handler.
5360         
5361         * gst/gstelement.c: (gst_element_get_bus):
5362         Fix refcount in _get_bus();
5364         * gst/gstpipeline.c: (gst_pipeline_change_state),
5365         (gst_pipeline_get_clock_func):
5366         Clock refcounting fixes.
5367         Handle the case where preroll timed out more gracefully.
5368         
5369         * gst/gstsystemclock.c: (gst_system_clock_dispose):
5370         Clean up the internal thread in dispose. This is needed
5371         for subclasses that actually get disposed.
5372         
5373         * gst/schedulers/threadscheduler.c:
5374         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5375         (gst_thread_scheduler_dispose):
5376         Free thread pool in dispose.
5378 2005-06-28  Andy Wingo  <wingo@pobox.com>
5380         * tests/network-clock-utils.scm (debug, print-event): New utils.
5382         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5383         (*packet-loss*): Unified loss probability.
5384         (network-time): Report out-of-band events.
5386         * tests/plot-data: Add support for out-of-band events. Hack it
5387         into this script instead of passing it down the pipe; should fix
5388         this later.
5390 2005-06-28  Wim Taymans  <wim@fluendo.com>
5392         * docs/gst/gstreamer.types:
5393         * docs/gst/tmpl/gstbasesrc.sgml:
5394         * docs/gst/tmpl/gstpad.sgml:
5395         Docs fixes.
5397 2005-06-28  Wim Taymans  <wim@fluendo.com>
5399         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5400         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
5401         (gst_proxy_pad_do_fixatecaps):
5402         Correctly proxy the check_pull_range function.
5404 2005-06-28  Andy Wingo  <wingo@pobox.com>
5406         * tests/network-clock.scm: Removed need for slib.
5407         
5408 2005-06-28  Wim Taymans  <wim@fluendo.com>
5410         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5411         (gst_basesink_preroll_queue_flush):
5412         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5413         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5414         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5415         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5416         (gst_proxy_pad_set_property):
5417         * gst/gstpad.c:
5418         * gst/gstpad.h:
5419         * gst/gstqueue.c: (gst_queue_init):
5420         The deprecated pad loop function is removed now.
5422 2005-06-28  Andy Wingo  <wingo@pobox.com>
5424         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5425         New parameters, simulate network packet loss.
5427         * tests/network-clock-utils.scm: Initialize the RNG.
5429 2005-06-28  Wim Taymans  <wim@fluendo.com>
5431         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5432         (gst_basesink_event), (gst_basesink_deactivate):
5433         Flushing the preroll queue always needs to unlock the waiters.
5435 2005-06-28  Edward Hervey  <edward@fluendo.com>
5437         * gst/gstpipeline.c: (gst_pipeline_send_event): 
5438         Wheen a seek was successful on a pipeline, set the stream_time to the
5439         seek offset in order to have a synchronized stream_time.
5441 2005-06-28  Wim Taymans  <wim@fluendo.com>
5443         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5444         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5445         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5446         (gst_proxy_pad_do_fixatecaps):
5447         Call wrapper function instead of just calling the function
5448         pointers. This takes care of any locking and whatmore.
5450 2005-06-28  Wim Taymans  <wim@fluendo.com>
5452         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5453         (gst_pad_pull_range):
5454         * gst/gstpad.h:
5455         CONNECTED -> LINKED.
5457 2005-06-28  Andy Wingo  <wingo@pobox.com>
5459         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5460         source-munging commit!!!
5462         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
5463         (gst_object_sink): Take gpointer arguments, not GstObject --
5464         avoids casts. Like GLib.
5466         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5467         activate.
5469 2005-06-27  Andy Wingo  <wingo@pobox.com>
5471         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5472         remaining buffer.
5474         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5475         returns a sorted copy of the trace list.
5476         (gst_alloc_trace_print_live): New API, only prints traces with
5477         live objects. Sort the list.
5478         (gst_alloc_trace_print_all): Sort the list.
5479         (gst_alloc_trace_print): Align columns.
5481         * gst/elements/gstttypefindelement.c:
5482         * gst/elements/gsttee.c:
5483         * gst/base/gstbasesrc.c:
5484         * gst/base/gstbasesink.c:
5485         * gst/base/gstbasetransform.c:
5486         * gst/gstqueue.c: Adapt for pad activation changes.
5488         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5489         sched.
5490         (gst_pipeline_dispose): Drop ref on sched.
5492         * gst/gstpad.c (gst_pad_init): Set the default activate func.
5493         (gst_pad_activate_default): Push mode by default.
5494         (pre_activate_switch, post_activate_switch): New stubs, things to
5495         do before and after switching activation modes on pads.
5496         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5497         the pad's activate function to choose which mode to activate.
5498         Shortcut on deactivation and call the right function directly.
5499         (gst_pad_activate_pull): New API, (de)activates a pad in pull
5500         mode.
5501         (gst_pad_activate_push): New API, same for push mode.
5502         (gst_pad_set_activate_function) 
5503         (gst_pad_set_activatepull_function) 
5504         (gst_pad_set_activatepush_function): Setters for new API.
5506         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5507         Trace all miniobjects.
5508         (gst_mini_object_make_writable): Unref the arg if we copy, like
5509         gst_caps_make_writable.
5511         * gst/gstmessage.c (_gst_message_initialize): No trace init.
5513         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
5514         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5515         Adapt for new pad API.
5517         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5519         * gst/gstelement.h:
5520         * gst/gstelement.c (gst_element_iterate_src_pads) 
5521         (gst_element_iterate_sink_pads): New API functions.
5522         
5523         * gst/gstelement.c (iterator_fold_with_resync): New utility,
5524         should fold into gstiterator.c in some form.
5525         (gst_element_pads_activate): Simplified via use of fold and
5526         delegation of decisions to gstpad->activate.
5528         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5529         help in debugging.
5531         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5532         class once in init, like gstmessage. Didn't run into this issue
5533         but it seems correct. Don't initialize a trace, gstminiobject does
5534         that.
5536         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5537         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5538         to the bus.
5539         (assert_live_count): New util function, uses alloc traces to check
5540         cleanup.
5542         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5543         To be modified when unlink drops the internal pad.
5545 2005-06-27  Wim Taymans  <wim@fluendo.com>
5547         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5548         (gst_bin_change_state):
5549         Cleanup the get_state() function a little, make sure it
5550         iterates the same set of elements.
5551         Added stub iterate_state_order().
5553 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5555         * docs/gst/gstreamer-docs.sgml:
5556         * docs/gst/gstreamer-sections.txt:
5557         * docs/gst/gstreamer.types:
5558         * docs/gst/tmpl/gstbasesink.sgml:
5559         * docs/gst/tmpl/gstbasesrc.sgml:
5560         * docs/gst/tmpl/gstbasetransform.sgml:
5561         * docs/gst/tmpl/gstelement.sgml:
5562         * docs/gst/tmpl/gstiterator.sgml:
5563         * gst/base/gstbasesrc.c:
5564         * gst/base/gstbasesrc.h:
5565         * gst/base/gstbasetransform.h:
5566         * gst/gstelement.c:
5567         * gst/gstiterator.h:
5568           adding basetransform and iterator docs
5570 2005-06-27  Andy Wingo  <wingo@pobox.com>
5572         * docs/design/part-activation.txt: Notes on how activation should
5573         work -- not quite implemented yet.
5575 2005-06-25  Wim Taymans  <wim@fluendo.com>
5577         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5578         At least get the chain function correct, needs more
5579         fixing.
5581 2005-06-25  Wim Taymans  <wim@fluendo.com>
5583         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5584         (gst_basesink_handle_object), (gst_basesink_event),
5585         (gst_basesink_do_sync), (gst_basesink_handle_event),
5586         (gst_basesink_change_state):
5587         * gst/gsttask.h:
5588         Right, two problems here: ghostpads don't take locks and
5589         glib _rec_mutex_lock_full() with depth==0 still locks.
5590         Catch illegal locking and g_warn them.
5592 2005-06-25  Wim Taymans  <wim@fluendo.com>
5594         * check/states/sinks.c: (START_TEST), (gst_object_suite):
5595         Have to check for completion now...
5597 2005-06-25  Wim Taymans  <wim@fluendo.com>
5599         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5600         (gst_basesink_handle_object), (gst_basesink_event),
5601         (gst_basesink_do_sync), (gst_basesink_handle_event),
5602         (gst_basesink_change_state):
5603         * gst/gstpad.h:
5604         Unlock STREAM_LOCK whatever the recursion was.
5606 2005-06-25  Wim Taymans  <wim@fluendo.com>
5608         * gst/base/gstbasesink.c: (gst_basesink_set_property),
5609         (gst_basesink_preroll_queue_empty),
5610         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5611         (gst_basesink_event), (gst_basesink_do_sync),
5612         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5613         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5614         (gst_basesink_change_state):
5615         Reworked the base sink, handle event and buffer serialisation
5616         correctly and removed possible deadlock.
5617         Handle EOS correctly.
5619 2005-06-25  Wim Taymans  <wim@fluendo.com>
5621         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5622         (gst_pipeline_change_state):
5623         * tools/gst-launch.c: (check_intr), (event_loop), (main):
5624         Allow elements to post EOS in the state change function.
5625         Fix up -launch, make it exit the poll loop when the
5626         pipeline actually changed state.
5627         Fix up warning parsing in -launch.
5629 2005-06-25  Wim Taymans  <wim@fluendo.com>
5631         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5632         (gst_tee_sink_activate):
5633         Core takes STREAM_LOCK for us now.
5635 2005-06-25  Wim Taymans  <wim@fluendo.com>
5637         * gst/gstelement.c: (gst_element_get_state_func),
5638         (gst_element_set_state):
5639         * gst/gstelement.h:
5640         * gst/gstmessage.c: (gst_message_parse_error),
5641         (gst_message_parse_warning):
5642         Keep track of current target state while performing a state
5643         change so that subclasses can do something interesting.
5644         Fix parsing of warning/error messages when GError is NULL.
5646 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5648         * docs/gst/Makefile.am:
5649         * docs/gst/gstreamer-docs.sgml:
5650         * docs/gst/gstreamer-sections.txt:
5651         * docs/gst/gstreamer.types:
5652         * docs/gst/tmpl/gstbasesink.sgml:
5653         * docs/gst/tmpl/gstbasesrc.sgml:
5654         * docs/gst/tmpl/gstbin.sgml:
5655         * docs/gst/tmpl/gstcompat.sgml:
5656         * docs/gst/tmpl/gstfakesink.sgml:
5657         * docs/gst/tmpl/gstfakesrc.sgml:
5658         * docs/gst/tmpl/gstfilesink.sgml:
5659         * docs/gst/tmpl/gstfilesrc.sgml:
5660         * docs/gst/tmpl/gstindex.sgml:
5661         * docs/manual/appendix-quotes.xml:
5662         * gst/base/gstbasesrc.h:
5663         * gst/elements/gstfakesrc.h:
5664         * gst/gstmessage.h:
5665           start pulling in base classes and elements in our docs
5667 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
5669         * docs/gst/Makefile.am:
5670         * docs/libs/Makefile.am:
5671           fixed make distcheck with gtk-doc 1.3
5673 2005-06-23  Wim Taymans  <wim@fluendo.com>
5675         * gst/gstelement.c: (gst_element_get_state_func),
5676         (gst_element_set_state), (gst_element_change_state):
5677         When the state did not change, also report NO_PREROLL
5678         when it matters.
5680 2005-06-23  Wim Taymans  <wim@fluendo.com>
5682         * gst/gstpad.c: (gst_pad_event_default):
5683         * gst/gstqueue.c: (gst_queue_loop):
5684         No unsafe task pausing please.
5686 2005-06-23  Wim Taymans  <wim@fluendo.com>
5688         * gst/schedulers/threadscheduler.c:
5689         (gst_thread_scheduler_task_start),
5690         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5691         Ref the task before pushing it on the threadpool. This
5692         makes sure that we have a ref when the threadfunction is
5693         actually called.
5695 2005-06-23  Andy Wingo  <wingo@pobox.com>
5697         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5698         offset is greater than the file's size.
5700         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
5701         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5702         * gst/gstobject.c (gst_object_class_init): Make the class lock
5703         recursive. Wim won't let me drop deep_notify. Decodebin works
5704         again, whoopdy doo.
5706         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5707         internal pad, and hacks accordingly. Doesn't do it on the target
5708         pad because we change its caps. Probably catches all cases of
5709         interest tho.
5710         (gst_ghost_pad_set_property): Connect to notify::caps as
5711         appropritate.
5713         * tests/network-clock.scm (plot-simulation): Pipe data to the
5714         elite python skript.
5716         * tests/network-clock-utils.scm (define-parameter): New macro,
5717         defines a parameter that can be set via the command line.
5718         (set-parameter!, parse-parameter-arguments): Command line args
5719         parser.
5721         * tests/plot-data: Simple matplotlib-based plotter, takes input on
5722         stdin.
5724 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
5726         * gst/elements/gsttypefindelement.c:
5727         (gst_type_find_element_handle_event):
5728           Don't restart typefinding on a discont.
5729         * gst/gstelement.c: (gst_element_set_state):
5730           Debug spelling fix.
5731         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5732           Allow changing mode of an active pad.
5733           Debug output fixes.
5734         * gst/registries/gstlibxmlregistry.c: (load_feature):
5735           Don't cast a static pad template to a normal pad template.
5737 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5739         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5740         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5741           remove gst_strtoll completely, since it didn't actually do
5742           anything more than what g_ascii_strtoull already does.
5743           check for range errors when deserializing
5744           do a cast for the unsigned cases; but further fixing needs
5745           a decision on what the interpretation of "(int)" and
5746           deserialization should be for values that fall outside the
5747           type's boundaries (ie, refuse, or interpret as casting)
5749 2005-06-23  Wim Taymans  <wim@fluendo.com>
5751         * check/Makefile.am:
5752         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5753         * docs/design/part-live-source.txt:
5754         * docs/design/part-states.txt:
5755         * gst/base/gstbasesrc.c: (gst_basesrc_init),
5756         (gst_basesrc_set_live), (gst_basesrc_is_live),
5757         (gst_basesrc_get_range), (gst_basesrc_activate),
5758         (gst_basesrc_change_state):
5759         * gst/base/gstbasesrc.h:
5760         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5761         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5762         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5763         * gst/gstelement.c: (gst_element_get_state_func),
5764         (gst_element_set_state):
5765         * gst/gstelement.h:
5766         * gst/gsttypes.h:
5767         * tools/gst-launch.c: (event_loop), (main):
5768         Added support for live sources and other elements that
5769         cannot do preroll.
5770         Updated design docs, added live-source design doc.
5771         Implemented live source functionality in basesrc
5772         Fix error condition in _bin_get_state()
5773         Implement live source handling in -launch.
5774         Added check for live sources.
5775         Fixed case in GstBin where elements were changed state
5776         multiple times.
5779 2005-06-23  Andy Wingo  <wingo@pobox.com>
5781         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5782         borken refcounting.
5784         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5785         gst_caps_replace takes care of this for us.
5787         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5788         gst_pad_set_caps on the target, not just its setcaps() function.
5790         * tests/network-clock.scm: 
5791         * tests/network-clock-utils.scm: A network clock simulator.
5792         Something of an algorithmic testbed before doing something in C.
5794 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5796         * check/Makefile.am:
5797         * check/gst/capslist.h:
5798           copy over from 0.8, and add two with bitmasks specified with
5799           (int) 0xFF...
5800         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5801           add test to parse everything from capslist.h
5802         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5803         (main):
5804           add test for structure deserialization
5805         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5806           add tests for deserialization of strings to int types
5807         * gst/gststructure.c: (gst_structure_nth_field_name):
5808         * gst/gststructure.h:
5809           add a way to get the name of a field referenced by index
5810         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5811           instead of checking if the resulting long long lies between
5812           min and max, we check if the long long would fit into
5813           a number of bytes for the final type.
5814           This fixes cases where a string represents 2^32 - 1, which
5815           when cast to int would be the (valid) -1, but is bigger than
5816           G_MAXINT
5818 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5820         * gst/parse/grammar.y:
5821           add a log line for type deserialization
5823 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5825         * check/gst/gstvalue.c: (START_TEST):
5826         * gst/gstvalue.c: (gst_value_deserialize):
5827           return long long, not int, so gint64 deserialization actually
5828           works.  Is there any flag that makes the compiler check this ?
5829           Fixes #308559
5831 2005-06-22  Wim Taymans  <wim@fluendo.com>
5833         * gst/gstbuffer.h:
5834         Added convenience macros for setting buffers in GValue.
5836 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5838         * check/gst/.cvsignore:
5839         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5840           add a test deserializing int64, and comment part out because
5841           it fails, yay !
5843 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5845         * check/Makefile.am:
5846         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5847         * testsuite/Makefile.am:
5848         * testsuite/caps/Makefile.am:
5849         * testsuite/caps/value_serialize.c:
5850         * testsuite/test_gst_init.c:
5851           move a value_serialize test over
5853 2005-06-20  Wim Taymans  <wim@fluendo.com>
5855         * gst/gstpad.c:
5856         Small doc updates.
5857         
5858         * gst/gstvalue.c: (gst_value_compare_buffer),
5859         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5860         (gst_value_compare_flags), (gst_value_serialize_flags),
5861         (gst_value_deserialize_flags), (_gst_value_initialize):
5862         Fix serialisation of buffers, they are not boxed types anymore
5864 2005-06-20  Wim Taymans  <wim@fluendo.com>
5866         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5867         Testcase to show error in buffer-on-caps serialisation.
5869 2005-06-20  Andy Wingo  <wingo@pobox.com>
5871         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5872         will be adding to later.
5874         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5875         if its socks fill with rocks.
5876         (gst_system_clock_obtain): Set the name on object construction.
5877         Avoid double-checked locking.
5879 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
5881         * gst/gsturi.c: (gst_element_make_from_uri):
5882           Fix potential endless loop.
5884 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5886         * check/Makefile.am:
5887           add gsttag
5888         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5889         (main):
5890           move over from testsuite dir and clean up
5891         * configure.ac:
5892         * gst/gsttag.c:
5893         * testsuite/Makefile.am:
5894         * testsuite/tags/.cvsignore:
5895         * testsuite/tags/Makefile.am:
5896         * testsuite/tags/merge.c:
5897           remove testsuite/tags
5899 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5901         * docs/gst/gstreamer-sections.txt:
5902         * docs/gst/tmpl/gstenumtypes.sgml:
5903         * win32/gstenumtypes.c:
5904           clean up documentation build a little
5906 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5908         * check/gstcheck.h:
5909           add macros for checking refcounts on objects and caps
5910         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5911           add some more unit tests
5912         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5913         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5914           fix leaked refcounts (I hope :)) so unittest works
5915         * gst/gstpad.h:
5916           whitespace removal
5918 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5920         * configure.ac: back to HEAD
5922 === release 0.9.1 ===
5924 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5926         * NEWS:
5927         * RELEASE:
5928           updated
5930 2005-06-17  Andy Wingo  <wingo@pobox.com>
5932         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5933         assert; it's always possible that the pad gets deactivated in
5934         between the checks in gstpad.c and the implementation. Rely on
5935         finish_preroll() to return a FLUSHING or similar instead of on the
5936         assert.
5937         
5938         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5939         clock and post an EOS message if we come out of finish_preroll in
5940         the playing state.
5942 2005-06-16  David Schleef  <ds@schleef.org>
5944         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5945         (gst_capsfilter_set_property): Allow NULL as possible value
5946         for filter_caps property, indicating GST_CAPS_ANY.
5948 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5950         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5951           fix debug output
5952         * gst/schedulers/Makefile.am:
5953           use libgst prefix
5954         * gstreamer.spec.in:
5955           fix spec for it
5957 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5959         * gstreamer.spec.in:
5960           clean up
5962 2005-06-08  Andy Wingo  <wingo@pobox.com>
5964         * gst/gstutils.c: RPAD fixes all around.
5965         (gst_element_link_pads): Refcounting fixes.
5967         * tools/gst-inspect.c:
5968         * tools/gst-xmlinspect.c:
5969         * parse/grammar.y:
5970         * gst/base/gsttypefindhelper.c:
5971         * gst/base/gstbasesink.c:
5972         * gst/gstqueue.c: RPAD fixes.
5974         * gst/gstghostpad.h:
5975         * gst/gstghostpad.c: New ghost pad implementation as full proxy
5976         pads. The tricky thing is they provide both source and sink
5977         interfaces, since they proxy the internal pad for the external
5978         pad, and vice versa. Implement with lower-level ProxyPad objects,
5979         with the interior proxy pad as a child of the exterior ghost pad.
5980         Should write a doc on this.
5981         
5982         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5983         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5984         gst_object API.
5985         
5986         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5987         pads are real pads. No ghost pads in this file. Not documenting
5988         the myriad s/RPAD/PAD/ and REALIZE fixes.
5989         (gst_pad_class_init): Add properties for "direction" and
5990         "template". Both are construct-only, so they can't change during
5991         the life of the pad. Fixes properly deriving from GstPad.
5992         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5993         derived objects, just set properties when creating the objects via
5994         g_object_new.
5995         (gst_pad_get_parent): Implement as a function, return NULL if the
5996         parent is not an element.
5997         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5998         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5999         
6000         * gst/gstobject.c (gst_object_class_init): Make name a construct
6001         property. Don't set it in the object init.
6003         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
6004         with UNKNOWN direction.
6005         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
6006         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
6007         (gst_element_remove_pad): Remove ghost-pad special cases.
6008         (gst_element_pads_activate): Remove rpad cruft.
6010         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
6011         catch the pad's-parent-not-an-element case.
6013         * gst/gst.h: Include gstghostpad.h.
6015         * gst/gst.c (init_post): No more real, ghost pads.
6017         * gst/Makefile.am: Add gstghostpad.[ch].
6019         * check/Makefile.am:
6020         * check/gst/gstbin.c:
6021         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
6022         into a bin creates ghost pads, and that the refcounts are right.
6023         Partly moved from gstbin.c.
6025 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6027         * check/gst-libs/.cvsignore:
6028         * check/gst/.cvsignore:
6029         * check/pipelines/.cvsignore:
6030           ignore more
6031         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
6032         (START_TEST), (cleanup_suite), (main):
6033           add some tests related to cleanup after running pipelines
6035 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6037         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
6038           add a testsuite for GstBuffer
6040 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6042         * gst/gstminiobject.h:
6043           add defines for accessing the refcount
6045 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
6047         * Makefile.am: added support for html unit test coverage reports
6049 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
6051         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6052           Free existing caps if the capsfilter changes. Add a FIXME about
6053           setting those caps on the pads.
6055         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
6056           Before adding a ghost pad to a parent bin, check that there isn't
6057           already one for the element on the bin. Prevents infinite recursion
6058           when using decodebin in parse pipelines. Andy says he'll rewrite the
6059           way this works anyway, so ignore the hack.
6061 2005-06-02  Andy Wingo  <wingo@pobox.com>
6063         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
6064         file size, pass it on to the type find helper.
6066         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
6067         segment_start and segment_end properly according to the seek
6068         method. Segment_end is still a bit flaky because offset can be
6069         negative for CUR and END cases, but it takes -1 as an "unset"
6070         value.
6072 2005-06-02  Wim Taymans  <wim@fluendo.com>
6074         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
6075         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
6076         (gst_basesink_activate):
6077         * gst/base/gstbasesink.h:
6078         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6079         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6080         (gst_pad_query), (gst_pad_start_task):
6081         * gst/gstpad.h:
6082         * gst/gstqueue.c: (gst_queue_bufferalloc),
6083         (gst_queue_handle_sink_event), (gst_queue_chain):
6084         Bufferalloc: return GstFlowReturn to more accuratly report
6085         why allocation failed.
6087 2005-06-02  Wim Taymans  <wim@fluendo.com>
6089         * gst/gstpipeline.c: (gst_pipeline_send_event):
6090         Take snapshot of state without blocking.
6092 2005-06-02  Wim Taymans  <wim@fluendo.com>
6094         * docs/design/part-TODO.txt:
6095         * docs/design/part-caps.txt:
6096         * docs/design/part-clocks.txt:
6097         * docs/design/part-negotiation.txt:
6098         * docs/design/part-preroll.txt:
6099         Small doc updates 
6101 2005-05-30  Wim Taymans  <wim@fluendo.com>
6103         * gst/elements/gstidentity.c: (gst_identity_event),
6104         (gst_identity_transform), (gst_identity_get_property):
6105         Protect last_message property as it is accessed from
6106         multiple threads.
6108 2005-05-30  Wim Taymans  <wim@fluendo.com>
6110         * gst/gstelement.c: (gst_element_init),
6111         (gst_element_pads_activate), (gst_element_change_state):
6112         Slicker pad activation code.
6114 2005-05-30  Wim Taymans  <wim@fluendo.com>
6116         * gst/Makefile.am:
6117         * gst/gstelement.h:
6118         * gst/gstelementfactory.h:
6119         * gst/gsttypes.h:
6120         Move elementfactory methods to separate .h file.
6122 2005-05-30  Wim Taymans  <wim@fluendo.com>
6124         * docs/design/part-overview.txt:
6125         * gst/gstsystemclock.h:
6126         Small typo fixes, doc updates.
6128 2005-05-30  Wim Taymans  <wim@fluendo.com>
6130         * gst/gst.c: (gst_init_get_popt_table), (init_post),
6131         (init_popt_callback):
6132         Remove cpu-opt flag.
6134 2005-05-30  Wim Taymans  <wim@fluendo.com>
6136         * gst/gstbuffer.c: (gst_subbuffer_finalize),
6137         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
6138         * gst/gstbuffer.h:
6139         Avoid typechecking in places where not needed.
6140         Added accessor for malloc_data.
6142 2005-05-30  Wim Taymans  <wim@fluendo.com>
6144         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
6145         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
6146         (gst_pad_configure_sink), (gst_pad_configure_src),
6147         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
6148         (gst_pad_start_task):
6149         Propagate errors from _set_caps() in configure_src/sink
6150         functions instead of returning TRUE.
6151         FLUSH events can travel up and downstream
6154 2005-05-30  Wim Taymans  <wim@fluendo.com>
6156         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6157         (gst_basesink_activate):
6158         Handle EOS in preroll.
6160 2005-05-30  Wim Taymans  <wim@fluendo.com>
6162         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6163         (gst_queue_loop), (gst_queue_handle_src_event):
6164         Remove old pieces of code
6165         Flushing the queue in an upstream event is a very bad idea.
6167 2005-05-26  Andy Wingo  <wingo@pobox.com>
6169         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
6170         gst_value_set_mini_object so as to add a ref on the object (which
6171         will be removed when the value is unset).
6173         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
6174         arg type in ::handoff.
6176         * gst/gstelement.c (gst_element_change_state): Also deactivate
6177         pads in READY->NULL, just in case the element didn't make it to
6178         PAUSED. Wingo tested, Wim approved.
6180 2005-05-26  Wim Taymans  <wim@fluendo.com>
6182         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6183         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6184         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
6185         A flushing pad cannot be used to alloc_buffer from.
6187 2005-05-26  Wim Taymans  <wim@fluendo.com>
6189         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6190         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
6191         (gst_bus_source_dispatch), (gst_bus_source_finalize),
6192         (gst_bus_create_watch), (gst_bus_add_watch_full):
6193         * gst/gstbus.h:
6194         Implement a real GSource and use g_main_context_wakeup() to
6195         signal new messages instead of the socketpair.
6197 2005-05-25  Wim Taymans  <wim@fluendo.com>
6199         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
6200         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
6201         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6202         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6203         (gst_pad_send_event), (gst_pad_start_task):
6204         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
6205         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6206         (gst_queue_sink_activate), (gst_queue_src_activate),
6207         (gst_queue_change_state):
6208         * gst/gstqueue.h:
6209         Fix state changes for non sinks. We now change sinks, then elements
6210         with unconnected srcpads, then the rest.
6211         More efficient queue unlocking in flush and state changes.
6212         Set the pad activate mode even if it does not have an activate
6213         function.
6215 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6217         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
6218           Don't go in pull mode for non-seekable sources.
6219         * gst/elements/gsttypefindelement.h:
6220         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6221         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
6222         (free_entry), (stop_typefinding),
6223         (gst_type_find_element_handle_event), (find_peek),
6224         (gst_type_find_element_chain), (do_pull_typefind),
6225         (gst_type_find_element_change_state):
6226           Allow typefinding (w/o seeking) in push-mode, simplified version
6227           of what was in 0.8.
6228         * gst/gstutils.c: (gst_buffer_join):
6229         * gst/gstutils.h:
6230           gst_buffer_join() from 0.8.
6232 2005-05-25  Wim Taymans  <wim@fluendo.com>
6234         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6235         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6236         (gst_pad_send_event), (gst_pad_start_task):
6237         Disable attempt at mode switching until it is figured out.
6239 2005-05-25  Wim Taymans  <wim@fluendo.com>
6241         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6242         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6243         (gst_basesink_finish_preroll), (gst_basesink_chain),
6244         (gst_basesink_loop), (gst_basesink_activate),
6245         (gst_basesink_change_state):
6246         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6247         (gst_basesrc_get_range), (gst_basesrc_loop),
6248         (gst_basesrc_activate):
6249         * gst/elements/gsttee.c: (gst_tee_sink_activate):
6250         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6251         (gst_real_pad_init), (gst_real_pad_set_property),
6252         (gst_real_pad_get_property), (gst_pad_set_active),
6253         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
6254         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6255         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6256         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6257         (gst_pad_event_default_dispatch), (gst_pad_event_default),
6258         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6259         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6260         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6261         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
6262         (gst_pad_stop_task):
6263         * gst/gstpad.h:
6264         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6265         (gst_queue_loop), (gst_queue_src_activate):
6266         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
6267         (gst_task_get_state):
6268         * gst/gsttask.h:
6269         * gst/schedulers/threadscheduler.c:
6270         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
6271         Implement gst_pad_pause/start/stop_task(), take STREAM lock
6272         in task function.
6273         Remove ACTIVE pad flag, use FLUSHING everywhere
6274         Added _pad_chain(), _pad_get_range() to call chain/getrange 
6275         functions.
6276         Add locks around IS_FLUSHING when reading.
6277         Take STREAM lock in chain(), get_range() functions so plugins
6278         don't need to take it anymore.
6279         
6282 2005-05-25  Wim Taymans  <wim@fluendo.com>
6284         * tools/gst-launch.c: (event_loop):
6285         Unref message after using its contents instead of
6286         before.
6288 2005-05-24  Wim Taymans  <wim@fluendo.com>
6290         * docs/design/draft-ghostpads.txt:
6291         * docs/design/draft-push-pull.txt:
6292         * docs/design/draft-query.txt:
6293         * docs/design/part-overview.txt:
6294         Docs updates, added general overview doc.
6296 2005-05-21  David Schleef  <ds@schleef.org>
6298         * docs/gst/tmpl/old/GstBin.sgml:
6299         * docs/gst/tmpl/old/GstBuffer.sgml:
6300         * docs/gst/tmpl/old/GstCaps.sgml:
6301         * docs/gst/tmpl/old/GstClock.sgml:
6302         * docs/gst/tmpl/old/GstCompat.sgml:
6303         * docs/gst/tmpl/old/GstData.sgml:
6304         * docs/gst/tmpl/old/GstElement.sgml:
6305         * docs/gst/tmpl/old/GstEvent.sgml:
6306         * docs/gst/tmpl/old/GstIndex.sgml:
6307         * docs/gst/tmpl/old/GstStructure.sgml:
6308         * docs/gst/tmpl/old/GstTag.sgml:
6309         * docs/gst/tmpl/old/cothreads.sgml:
6310         * docs/gst/tmpl/old/cothreads_compat.sgml:
6311         * docs/gst/tmpl/old/gettext.sgml:
6312         * docs/gst/tmpl/old/gobject2gtk.sgml:
6313         * docs/gst/tmpl/old/grammar.tab.sgml:
6314         * docs/gst/tmpl/old/gst-i18n-app.sgml:
6315         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6316         * docs/gst/tmpl/old/gst_private.sgml:
6317         * docs/gst/tmpl/old/gstaggregator.sgml:
6318         * docs/gst/tmpl/old/gstarch.sgml:
6319         * docs/gst/tmpl/old/gstatomic_impl.sgml:
6320         * docs/gst/tmpl/old/gstbufferstore.sgml:
6321         * docs/gst/tmpl/old/gstdata_private.sgml:
6322         * docs/gst/tmpl/old/gstdisksink.sgml:
6323         * docs/gst/tmpl/old/gstdisksrc.sgml:
6324         * docs/gst/tmpl/old/gstelementfactory.sgml:
6325         * docs/gst/tmpl/old/gstextratypes.sgml:
6326         * docs/gst/tmpl/old/gstfakesink.sgml:
6327         * docs/gst/tmpl/old/gstfakesrc.sgml:
6328         * docs/gst/tmpl/old/gstfdsink.sgml:
6329         * docs/gst/tmpl/old/gstfdsrc.sgml:
6330         * docs/gst/tmpl/old/gstfilesink.sgml:
6331         * docs/gst/tmpl/old/gstfilesrc.sgml:
6332         * docs/gst/tmpl/old/gsthttpsrc.sgml:
6333         * docs/gst/tmpl/old/gstidentity.sgml:
6334         * docs/gst/tmpl/old/gstindexfactory.sgml:
6335         * docs/gst/tmpl/old/gstmarshal.sgml:
6336         * docs/gst/tmpl/old/gstmd5sink.sgml:
6337         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6338         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6339         * docs/gst/tmpl/old/gstpadtemplate.sgml:
6340         * docs/gst/tmpl/old/gstpipefilter.sgml:
6341         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6342         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6343         * docs/gst/tmpl/old/gstshaper.sgml:
6344         * docs/gst/tmpl/old/gstspider.sgml:
6345         * docs/gst/tmpl/old/gstspideridentity.sgml:
6346         * docs/gst/tmpl/old/gststatistics.sgml:
6347         * docs/gst/tmpl/old/gsttee.sgml:
6348         * docs/gst/tmpl/old/gsttimecache.sgml:
6349         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6350         * docs/gst/tmpl/old/gstxmlregistry.sgml:
6351         * docs/gst/tmpl/old/gthread-cothreads.sgml:
6352         * docs/gst/tmpl/old/types.sgml:
6353           I didn't intend to add these or check them in.
6355 2005-05-19  David Schleef  <ds@schleef.org>
6357         * configure.ac: Use -no-common everywhere.  In a sane world, it
6358           would be the default in libtool, because without it, you can't
6359           build DLLs on Windows.
6360         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6361         * docs/gst/gstreamer-sections.txt:
6362         * docs/gst/tmpl/gstcpu.sgml:
6363         * docs/gst/tmpl/gstdata.sgml:
6364         * docs/gst/tmpl/gstthread.sgml:
6366 2005-05-19  David Schleef  <ds@schleef.org>
6368         * gst/gstminiobject.c: (gst_value_set_mini_object),
6369         (gst_value_take_mini_object), (gst_value_get_mini_object):
6370         * gst/gstminiobject.h: Add GValue set/get functions.
6372 2005-05-19  Wim Taymans  <wim@fluendo.com>
6374         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6375         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6376         (gst_subbuffer_init), (gst_buffer_is_span_fast):
6377         * gst/gstbuffer.h:
6378         * gst/gstbus.c: (gst_bus_post):
6379         * gst/gstelement.c: (gst_element_get_random_pad):
6380         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6381         Make subbufer unref the parent in finalize.
6382         some more debugging info.
6385 2005-05-19  Wim Taymans  <wim@fluendo.com>
6387         * gst/base/gstbasesink.c: (gst_basesink_class_init),
6388         (gst_basesink_init), (gst_basesink_finalize),
6389         (gst_basesink_activate), (gst_basesink_change_state):
6390         Don't free preroll queue too early.
6392 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6394         * gst/Makefile.am:
6395         * gst/ROADMAP:
6396           Hi, I'm outdated. Please shoot me.
6398 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6400         * gst/gstpipeline.c: (gst_pipeline_send_event):
6401           Do not access variables after they have been deleted.
6403 2005-05-19  Wim Taymans  <wim@fluendo.com>
6405         * tools/gst-inspect.c: (print_plugin_features):
6406         A plugin feature does unfortunatly not use the
6407         object name yet...
6409 2005-05-18  Wim Taymans  <wim@fluendo.com>
6411         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6412         Port _span() functions to new subbuffers.
6414 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6416         * gst/gstbin.c: (gst_bin_add_func):
6417           Fix clock settery in bins when adding kids after the clock has
6418           been selected.
6420 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6422         * gst/elements/gstidentity.c: (gst_identity_class_init):
6423           Workaround until signals support GstMiniObject.
6425 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
6427         * gst/gstbuffer.c:
6428         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6430 2005-05-18  Wim Taymans  <wim@fluendo.com>
6432         * gst/base/Makefile.am:
6433         * gst/base/gstadapter.c: (gst_adapter_base_init),
6434         (gst_adapter_class_init), (gst_adapter_init),
6435         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6436         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6437         (gst_adapter_flush), (gst_adapter_available),
6438         (gst_adapter_available_fast):
6439         * gst/base/gstadapter.h:
6440         Ported and added adapter to the base classes.
6442 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6444         * gst/gst.c:
6445         * gst/gstmessage.c:
6446           Make sure the class is reffed/unreffed once before threads can be
6447           used.  Fixes #304551.
6449 2005-05-17  Wim Taymans  <wim@fluendo.com>
6451         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6452         (gst_basesink_chain_unlocked), (gst_basesink_activate):
6453         * gst/gstminiobject.c: (gst_mini_object_get_type),
6454         (gst_mini_object_free):
6455         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6456         (gst_pad_push), (gst_pad_push_event):
6457         * gst/gstqueue.c: (gst_queue_change_state):
6458         Don't queue buffers in basesink when we are flushing.
6459         Unref buffer when flushing in basesink.
6460         Flush queue when going to READY
6461         Unref buffer when _push() returns an error.
6462         Don't free MiniObject instance when refcount is incremented
6463         in _finalize() so that we can recover objects.
6465 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6467         * docs/manual/advanced-schedulers.xml:
6468         * docs/manual/appendix-checklist.xml:
6469         * docs/pwg/advanced-clock.xml:
6470         * docs/pwg/advanced-interfaces.xml:
6471         * docs/pwg/advanced-request.xml:
6472         * docs/pwg/advanced-types.xml:
6473         * docs/pwg/intro-preface.xml:
6474         * examples/plugins/example.c: (gst_example_get_type),
6475         (gst_example_class_init), (gst_example_chain),
6476         (gst_example_set_property), (gst_example_get_property),
6477         (gst_example_change_state), (plugin_init):
6478         * examples/plugins/example.h:
6479           small doc fixes
6481 2005-05-17  Wim Taymans  <wim@fluendo.com>
6483         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6484         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6485         * gst/gstqueue.c: (gst_queue_change_state):
6486         Clear queue when going to READY.
6487         Remove IN_SETCAPS flag too.
6489 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
6491         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6492           Remove implicit cast from gboolean to GstElementStateReturn;
6493           make sure we still return failure in paused => ready case if
6494           the parent class fails to change state and our own stop 
6495           vfunc succeeds.
6497 2005-05-17  Wim Taymans  <wim@fluendo.com>
6499         * tools/gst-launch.c: (event_loop):
6500         Message was unreffed too soon.
6502 2005-05-16  Andy Wingo  <wingo@pobox.com>
6504         * gst/gstbin.c (sink_iterator_filter): Err... um...
6506         * check/gst/gstbin.c (test_ghost_pads): New test for the
6507         ghosting-if-elements-not-in-same-bin behavior.
6509 2005-05-16  David Schleef  <ds@schleef.org>
6511         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6512         accessing refcount directly.
6514 2005-05-15  David Schleef  <ds@schleef.org>
6516         * check/Makefile.am: remove GstData checks
6517         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6518         * gst/Makefile.am: add miniobject, remove data
6519         * gst/gst.h: add miniobject, remove data
6520         * gst/gstdata.c: remove
6521         * gst/gstdata.h: remove
6522         * gst/gstdata_private.h: remove
6523         * gst/gsttypes.h: remove GstEvent and GstMessage
6524         * gst/gstelement.c: (gst_element_post_message): fix for API changes
6525         * gst/gstmarshal.list: change BOXED -> OBJECT
6527         Implement GstMiniObject.
6528         * gst/gstminiobject.c:
6529         * gst/gstminiobject.h:
6531         Modify to be subclasses of GstMiniObject.
6532         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6533         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6534         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6535         (gst_subbuffer_get_type), (gst_subbuffer_init),
6536         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6537         (gst_buffer_span):
6538         * gst/gstbuffer.h:
6539         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6540         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6541         (_gst_event_copy), (gst_event_new):
6542         * gst/gstevent.h:
6543         * gst/gstmessage.c: (_gst_message_initialize),
6544         (gst_message_get_type), (gst_message_class_init),
6545         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6546         (gst_message_new), (gst_message_new_error),
6547         (gst_message_new_warning), (gst_message_new_tag),
6548         (gst_message_new_state_changed), (gst_message_new_application):
6549         * gst/gstmessage.h:
6550         * gst/gstprobe.c: (gst_probe_perform),
6551         (gst_probe_dispatcher_dispatch):
6552         * gst/gstprobe.h:
6553         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6554         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6555         (_gst_query_copy), (gst_query_new):
6557         Update elements for GstData -> GstMiniObject changes
6558         * gst/gstquery.h:
6559         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6560         (gst_queue_chain), (gst_queue_loop):
6561         * gst/elements/gstbufferstore.c:
6562         (gst_buffer_store_add_buffer_func),
6563         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6564         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6565         (gst_fakesink_render):
6566         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6567         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6568         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6569         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6570         (gst_filesrc_create_read):
6571         * gst/elements/gstidentity.c: (gst_identity_class_init):
6572         * gst/elements/gsttypefindelement.c:
6573         (gst_type_find_element_src_event), (free_entry_buffers),
6574         (gst_type_find_element_handle_event):
6575         * libs/gst/dataprotocol/dataprotocol.c:
6576         (gst_dp_header_from_buffer):
6577         * libs/gst/dataprotocol/dataprotocol.h:
6578         * libs/gst/dataprotocol/dp-private.h:
6580 2005-05-15  David Schleef  <ds@schleef.org>
6582         * gst/elements/gstelements.c: Don't include headers that were
6583         just removed.
6585 2005-05-15  David Schleef  <ds@schleef.org>
6587         * gst/elements/Makefile.am: Remove some elements that don't
6588         need to be in the core (or even exist at all).
6589         * gst/elements/gstaggregator.c:
6590         * gst/elements/gstaggregator.h:
6591         * gst/elements/gstmd5sink.c:
6592         * gst/elements/gstmd5sink.h:
6593         * gst/elements/gstmultifilesrc.c:
6594         * gst/elements/gstmultifilesrc.h:
6595         * gst/elements/gstpipefilter.c:
6596         * gst/elements/gstpipefilter.h:
6597         * gst/elements/gstshaper.c:
6598         * gst/elements/gstshaper.h:
6599         * gst/elements/gststatistics.c:
6600         * gst/elements/gststatistics.h:
6601         * po/POTFILES.in: Remove above files.
6603 2005-05-14  Andy Wingo  <wingo@pobox.com>
6605         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6606         so as to get the refs right.
6607         (sink_iterator_filter): New function, wraps bin_element_is_sink,
6608         unreffing objects that don't pass the filter.
6610         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6611         gst_element_set_bus.
6612         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6613         normal cases, this will destroy the bus.
6615         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6616         object.
6618         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6619         has no sinks.
6621 2005-05-13  Andy Wingo  <wingo@pobox.com>
6623         * gst/gstutils.c (gst_element_link_pads): Instead of calling
6624         gst_pad_link, call pad_link_maybe_ghosting,
6625         (pad_link_maybe_ghosting): Links pads, making sure that the
6626         elements being linked are in the same bin.
6627         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6628         Helpers for pad_link_maybe_ghosting.
6630 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6632         * configure.ac:
6633           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6635 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6637         * docs/design/part-element-source.txt:
6638           Mention GstPushSrc
6640 2005-05-12  Wim Taymans  <wim@fluendo.com>
6642         * gst/base/gstbasesink.c: (gst_basesink_init),
6643         (gst_basesink_activate):
6644         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6645         (gst_basesrc_is_seekable):
6646         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6647         (bin_element_is_sink), (gst_bin_change_state):
6648         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6649         * gst/gstelement.h:
6650         Identify sinks by their flag to avoid overly complicated
6651         checks (fow now).
6652         Do state changes even for elements not reachable from the
6653         sinks.
6654         BaseSink is a sink now :)
6655         Some more debugging info in the basesrc.
6658 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6660         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6661           Implement _query on a bin, similar to _send_event.
6663 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
6665         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6666           Discont event offset format should be GST_FORMAT_BYTES,
6667           not GST_FORMAT_TIME.
6669 2005-05-12  Wim Taymans  <wim@fluendo.com>
6671         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6672         Same fix as Ronald's but without the signal. 
6674 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6676         * gst/gstutils.c: (gst_element_query_position):
6677           No, an element is not a pad.
6679 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6681         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6682         (gst_bin_get_state):
6683           If a child is removed from a bin while we remove the child from
6684           the bin and while we're retrieving its state, signal this to the
6685           get_state function so we abort the wait (instead of waiting for
6686           a timeout) and can immediately re-iterate over all other elements.
6688 2005-05-12  Wim Taymans  <wim@fluendo.com>
6690         * gst/base/Makefile.am:
6691         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6692         (gst_basesrc_start):
6693         * gst/base/gstbasesrc.h:
6694         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6695         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6696         (gst_pushsrc_init), (gst_pushsrc_create):
6697         * gst/base/gstpushsrc.h:
6698         Added is_seekable to BaseSrc
6699         Added simple PushSrc.
6701 2005-05-11  Wim Taymans  <wim@fluendo.com>
6703         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6704         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6705         (gst_element_link_pads), (gst_element_query_position),
6706         (gst_element_query_convert), (intersect_caps_func),
6707         (gst_pad_query_position), (gst_pad_query_convert):
6708         Fix refcounting in utils function.
6709         No point in trying to activate a pad when it's added, it could
6710         be added from the state change function and then we deadlock, the
6711         element has to decide what to do.
6713 2005-05-10  Andy Wingo  <wingo@pobox.com>
6715         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6716         *all* the arguments.
6718         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6719         stream lock if it's a FLUSH_DONE; normal flushes don't get the
6720         lock (according to the docs -- if this is wrong change the docs).
6722         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6723         flush messages in the NULL state.
6725         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6726         message immediately and return.
6727         (gst_bus_set_flushing): New function. If a bus is flushing, it
6728         flushes out any queued messages and immediately unrefs new
6729         messages. This is so when an element goes to NULL, all of the
6730         unhandled messages coming from it can be freed, and their
6731         references to the element dropped. In other words: message source
6732         ref considered harmful :P
6734         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6735         we're finished with it.
6737         * gst/gstmessage.c (gst_message_new_state_changed): 
6739 2005-05-10  Wim Taymans  <wim@fluendo.com>
6741         * gst/gstvalue.c: (gst_value_compare_flags),
6742         (gst_value_serialize_flags), (gst_value_deserialize_flags),
6743         (_gst_value_initialize):
6744         Added flags serialize/deserialize/compare code.
6746 2005-05-09  Andy Wingo  <wingo@pobox.com>
6748         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6749         Intersect the peer's caps with our caps.
6751 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6753         * gst/base/gsttypefindhelper.c: (helper_find_peek):
6754         * gst/elements/gsttypefindelement.c: (find_peek):
6755           Handle negative offsets better. Fixes decodebin.
6757 2005-05-09  Wim Taymans  <wim@fluendo.com>
6759         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6760         (gst_base_transform_event):
6761         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6762         Implement accept_caps.
6763         Fix silly lock/unlock mismatch in base class.
6765 2005-05-09  Wim Taymans  <wim@fluendo.com>
6767         * docs/design/draft-push-pull.txt:
6768         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6769         * gst/elements/gstfilesink.c: (gst_filesink_init),
6770         (gst_filesink_query):
6771         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6772         (gst_type_find_handle_src_query), (find_element_get_length):
6773         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6774         * gst/gstelement.h:
6775         * gst/gstmessage.c:
6776         * gst/gstmessage.h:
6777         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6778         (gst_real_pad_get_caps_unlocked),
6779         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6780         (gst_pad_event_default_dispatch), (gst_pad_event_default),
6781         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6782         (gst_real_pad_dispose), (gst_real_pad_finalize),
6783         (gst_pad_load_and_link), (gst_pad_save_thyself),
6784         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6785         (gst_pad_check_pull_range), (gst_pad_pull_range),
6786         (gst_pad_template_get_type), (gst_pad_template_class_init),
6787         (gst_pad_template_init), (gst_pad_template_dispose),
6788         (name_is_valid), (gst_static_pad_template_get),
6789         (gst_pad_template_new), (gst_static_pad_template_get_caps),
6790         (gst_pad_template_get_caps), (gst_pad_set_element_private),
6791         (gst_pad_get_element_private), (gst_pad_start_task),
6792         (gst_pad_pause_task), (gst_pad_stop_task),
6793         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6794         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6795         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6796         (gst_ghost_pad_new):
6797         * gst/gstpad.h:
6798         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6799         (gst_query_new_position), (gst_query_set_position),
6800         (gst_query_parse_position), (gst_query_new_convert),
6801         (gst_query_set_convert), (gst_query_parse_convert):
6802         * gst/gstquery.h:
6803         * gst/gstqueryutils.c:
6804         * gst/gstqueryutils.h:
6805         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6806         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6807         (gst_queue_handle_src_query):
6808         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6809         (gst_element_query_position), (gst_element_query_convert),
6810         (intersect_caps_func), (gst_pad_query_position),
6811         (gst_pad_query_convert):
6812         * gst/gstutils.h:
6813         * tools/gst-inspect.c: (print_pad_info):
6814         * tools/gst-xmlinspect.c: (print_element_info):
6815         Remove old query functions. Ported old code.
6816         Added position/convert helper functions to gstutils.
6817         Reordered gstpad.c code, grouping relevant things.
6818         Remove gst_message_new(), always need to speficy a specific
6819         message.
6822 2005-05-09  Andy Wingo  <wingo@pobox.com>
6824         * gst/gstiterator.h: Add some includes.
6826         * gst/gstqueryutils.h: Include more headers.
6828         * gst/gstpad.h:
6829         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6830         some uses of gst_pad_query.
6832         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6833         NULL out parameters.
6834         (gst_query_new_position): New proc, allocates a new position
6835         query.
6837         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6838         gstqueryutils.c to the build.
6840         * gst/gststructure.c (gst_structure_set_valist): Implement with
6841         the generic G_VALUE_COLLECT.
6842         
6843 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
6845         * gst/Makefile.am: (gst_headers):
6846         Added gstqueryutils.h to the list of headers to install, that was
6847         a 'nachty' move wingo :)
6849 2005-05-06  Andy Wingo  <wingo@pobox.com>
6851         * gst/gstquery.h
6852         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6853         GstData, init a memchunk.
6854         (standard_definitions): Add a few query types, deprecate a few.
6855         (gst_query_get_type): New proc.
6856         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6857         implementation.
6858         (gst_query_new_application, gst_query_get_structure): New public
6859         procs.
6861         * docs/design/draft-query.txt: Removed LINKS from the query types,
6862         because all the rest can be dispatched to other pads -- seemed
6863         ugly to have a query that couldn't be dispatched. internal_links
6864         is fine as a pad method.
6866         * gst/gstpad.h: Add query2 as a pad method, add the new functions
6867         in gstpad.c, but maintain binary compatibility for the moment.
6868         Will fix before 0.9 is out.
6870         * gst/gstqueryutils.c: 
6871         * gst/gstqueryutils.h: New files, implement 3 methods for each
6872         query type: parse_query, parse_response, and set. Probably need an
6873         allocator as well.
6875         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6877         * gst/elements/gstfilesink.c (gst_filesink_query2):
6878         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6879         query_types, and formats methods.
6881         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6882         (gst_pad_set_query2_function): New functions.
6883         (gst_real_pad_init): Set query2_default as the default query2
6884         function. Basically just dispatches to internally linked pads.
6886         Needs review!
6887         
6888         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6889         without using the atomic operations. Only one thread can possibly
6890         be accessing the data at this point. Changed so as to avoid
6891         gst_atomic operations.
6893 2005-05-06  Wim Taymans  <wim@fluendo.com>
6895         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6896         Also set caps if we use the fallback buffer alloc.
6898 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
6900         * docs/gst/Makefile.am:
6901         * docs/gst/gstreamer-docs.sgml:
6902         * docs/gst/gstreamer-sections.txt:
6903         * docs/gst/tmpl/gstatomic.sgml:
6904         * docs/gst/tmpl/gstmemchunk.sgml:
6905         * testsuite/elements/struct_i386.h:
6906         * win32/GStreamer.vcproj:
6907         * win32/Makefile:
6908           Purge GstAtomic stuff from docs and win32 makefiles as well
6910 2005-05-06  Wim Taymans  <wim@fluendo.com>
6912         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6913         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6914         * gst/gstpad.c: (gst_pad_peer_get_caps):
6915         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6916         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6917         (gst_queue_src_activate), (gst_queue_change_state):
6918         * gst/gstqueue.h:
6919         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6920         (intersect_caps_func):
6921         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6922         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6923         Some fixes for the peer_get_caps() change.
6925 2005-05-06  Wim Taymans  <wim@fluendo.com>
6927         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6928         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6929         (gst_basesink_activate):
6930         Actually do something with error codes returned from the push
6931         functions.
6933 2005-05-06  Wim Taymans  <wim@fluendo.com>
6935         * docs/design/part-element-sink.txt:
6936         * docs/design/part-element-source.txt:
6937         * gst/base/gstbasesink.c: (gst_basesink_class_init),
6938         (gst_basesink_event), (gst_basesink_activate):
6939         * gst/base/gstbasesink.h:
6940         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6941         (gst_basesrc_activate):
6942         * gst/base/gstbasesrc.h:
6943         * gst/gstelement.c: (gst_element_pads_activate):
6944         Some more documentation.
6945         Fixed scheduling decision in _pads_activate().
6947 2005-05-05  Andy Wingo  <wingo@pobox.com>
6949         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6950         the test suite.
6952 2005-05-05  Wim Taymans  <wim@fluendo.com>
6954         * gst/base/Makefile.am:
6955         * gst/base/gstbasesink.h:
6956         * gst/base/gstbasesrc.c: (gst_basesrc_init),
6957         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6958         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6959         (gst_collectpads_class_init), (gst_collectpads_init),
6960         (gst_collectpads_finalize), (gst_collectpads_new),
6961         (gst_collectpads_set_function), (gst_collectpads_add_pad),
6962         (find_pad), (gst_collectpads_remove_pad),
6963         (gst_collectpads_is_active), (gst_collectpads_collect),
6964         (gst_collectpads_collect_range), (gst_collectpads_start),
6965         (gst_collectpads_stop), (gst_collectpads_peek),
6966         (gst_collectpads_pop), (gst_collectpads_available),
6967         (gst_collectpads_read), (gst_collectpads_flush),
6968         (gst_collectpads_chain):
6969         * gst/base/gstcollectpads.h:
6970         * gst/elements/Makefile.am:
6971         * gst/elements/gstelements.c:
6972         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6973         (gst_fakesink_get_times), (gst_fakesink_event),
6974         (gst_fakesink_preroll), (gst_fakesink_render):
6975         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6976         (gst_filesink_init), (gst_filesink_set_location),
6977         (gst_filesink_open_file), (gst_filesink_close_file),
6978         (gst_filesink_pad_query), (gst_filesink_event),
6979         (gst_filesink_render), (gst_filesink_change_state):
6980         * gst/elements/gstfilesink.h:
6981         Added object to help in making collect pad based elements.
6982         Ported filesink.
6983         Make event function in sink baseclass return gboolean.
6985 2005-05-05  Wim Taymans  <wim@fluendo.com>
6987         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6988         (gst_bin_get_by_name):
6989         * gst/gstbuffer.h:
6990         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6991         (gst_clock_finalize):
6992         * gst/gstdata.c: (gst_data_replace):
6993         * gst/gstdata.h:
6994         * gst/gstelement.c: (gst_element_request_pad),
6995         (gst_element_pads_activate):
6996         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6997         (gst_object_unref):
6998         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6999         (gst_pad_set_checkgetrange_function),
7000         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
7001         (gst_pad_check_pull_range), (gst_pad_pull_range),
7002         (gst_static_pad_template_get_caps), (gst_pad_start_task),
7003         (gst_pad_pause_task), (gst_pad_stop_task):
7004         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7005         (gst_element_request_pad), (gst_pad_proxy_getcaps):
7006         Fix name lookup in GstBin.
7007         Added _data_replace() function and _buffer_replace()
7008         Use finalize method to clean up clock.
7009         Fix refcounting on request pads.
7010         Fix pad schedule mode error.
7011         Some more object refcounting debug info,
7014 2005-05-04  Andy Wingo <wingo@pobox.com>
7016         * check/Makefile.am:
7017         * docs/gst/tmpl/gstatomic.sgml:
7018         * docs/gst/tmpl/gstplugin.sgml:
7019         * gst/base/gstbasesink.c: (gst_basesink_activate):
7020         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
7021         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
7022         (gst_basesrc_query), (gst_basesrc_set_property),
7023         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
7024         (gst_basesrc_activate):
7025         * gst/base/gstbasesrc.h:
7026         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
7027         (gst_base_transform_src_activate):
7028         * gst/elements/gstelements.c:
7029         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7030         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7031         * gst/elements/gsttee.c: (gst_tee_sink_activate):
7032         * gst/elements/gsttypefindelement.c: (find_element_get_length),
7033         (gst_type_find_element_checkgetrange),
7034         (gst_type_find_element_activate):
7035         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
7036         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
7037         (gst_caps_load_thyself):
7038         * gst/gstelement.c: (gst_element_pads_activate),
7039         (gst_element_save_thyself), (gst_element_restore_thyself):
7040         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
7041         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
7042         * gst/gstpad.h:
7043         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
7044         (gst_xml_parse_file), (gst_xml_parse_memory),
7045         (gst_xml_get_element), (gst_xml_make_element):
7046         * gst/indexers/gstfileindex.c: (gst_file_index_load),
7047         (_file_index_id_save_xml), (gst_file_index_commit):
7048         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
7049         (read_enum), (load_pad_template), (load_feature), (load_plugin),
7050         (load_paths):
7051         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
7052         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
7053         * tools/gst-complete.c: (main):
7054         * tools/gst-compprep.c: (main):
7055         * tools/gst-inspect.c: (print_element_properties_info):
7056         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7057         * tools/gst-xmlinspect.c: (print_element_properties):
7058         GCC 4 fixen.
7059         
7060 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7062         * gst/gstplugin.c: (gst_plugin_check_module),
7063         (gst_plugin_check_file), (gst_plugin_load_file):
7064             apply patch from #172526 to make register work on MacOSX
7066 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7068         * docs/gst/tmpl/gstconfig.sgml:
7069         * gst/gstconfig.h.in:
7070           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
7071         * testsuite/debug/printf_extension.c: (main):
7072           Do not use GST_PTR_FORMAT on pointers to types with
7073           sizeof < sizeof(gpointer).  Fixes test on 64-bit
7074         * testsuite/elements/property.h:
7075           use correct printf format
7077 2005-05-02  Wim Taymans  <wim@fluendo.com>
7079         * docs/design/draft-push-pull.txt:
7080         * docs/design/draft-query.txt:
7081         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
7082         (gst_basesrc_start):
7083         Added draft for new query API.
7084         Added draft for better selecting scheduling methods.
7085         Make basesrc ignore length if the subclass does not support
7086         it.
7088 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7090         * gst/Makefile.am:
7091           possible fixes for automake-1.5 - _LIBADD is reserved
7093 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7095         * docs/faq/Makefile.am:
7096         * docs/manual/Makefile.am:
7097         * docs/manuals.mak:
7098         * docs/pwg/Makefile.am:
7099         * gst/Makefile.am:
7100           possible fixes for automake-1.5
7102 2005-04-28  Wim Taymans  <wim@fluendo.com>
7104         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7105         (gst_basesink_pad_getcaps), (gst_basesink_init),
7106         (gst_basesink_do_sync):
7107         * gst/gstclock.c: (gst_clock_entry_new):
7108         * gst/gstevent.c: (gst_event_discont_get_value):
7109         * gst/gstpipeline.c: (pipeline_bus_handler),
7110         (gst_pipeline_change_state):
7111         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7112         Better debugging of clocking info.
7113         Allow NULL values when getting discont values.
7115 2005-04-27  Wim Taymans  <wim@fluendo.com>
7117         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7118         * check/gst/gstpad.c: (gst_pad_suite):
7119         Increase timeout for checks.
7121 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7123         * check/Makefile.am:
7124           fix the broken rule for cleanup.  Apparently this rule is
7125           only needed on FC2, so maybe this warrants further autotool
7126           inspection.
7128 2005-04-26  Wim Taymans  <wim@fluendo.com>
7130         * gst/gsttrashstack.h:
7131         Ooohh. a nasty one! After having a failed pop() from the stack,
7132         it's possible that the stack is empty. In that case, don't
7133         follow the NULL pointer.
7135 2005-04-25  Wim Taymans  <wim@fluendo.com>
7137         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7138         (gst_pad_set_checkgetrange_function),
7139         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
7140         (gst_pad_check_pull_range), (gst_pad_pull_range),
7141         (gst_static_pad_template_get_caps), (gst_pad_start_task),
7142         (gst_pad_pause_task), (gst_pad_stop_task):
7143         * gst/gstplugin.c: (gst_plugin_load):
7144         * gst/gstplugin.h:
7145         Remove gst_library_load as it does more harm than good with
7146         the new g_module flags.
7147         Revert bogus caps template check in pad linking, pad caps
7148         are important when linking not the template, which is more
7149         general than the current caps.
7151 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7153         * gst/autoplug/.cvsignore:
7154         * gst/autoplug/Makefile.am:
7155         * gst/autoplug/gstsearchfuncs.c:
7156         * gst/autoplug/gstsearchfuncs.h:
7157         * gst/autoplug/gstspider.c:
7158         * gst/autoplug/gstspider.h:
7159         * gst/autoplug/gstspideridentity.c:
7160         * gst/autoplug/gstspideridentity.h:
7161         * gst/autoplug/spidertest.c:
7162           Die, spider, die.
7164 2005-04-25  Wim Taymans  <wim@fluendo.com>
7166         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7167         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7168         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
7169         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
7170         * gst/gstpad.h:
7171         Added stubs for unimplemented functions. 
7173 2005-04-24  David Schleef  <ds@schleef.org>
7175         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
7176         please fix.
7178 2005-04-24  David Schleef  <ds@schleef.org>
7180         Convert everything from GstAtomicInt to g_atomic_int_*, and
7181         remove gstatomic.
7182         * gst/Makefile.am:
7183         * gst/gstatomic.c:
7184         * gst/gstatomic.h:
7185         * gst/gstatomic_impl.h:
7186         * gst/gstbuffer.c:
7187         * gst/gstcaps.c:
7188         * gst/gstcaps.h:
7189         * gst/gstclock.c:
7190         * gst/gstclock.h:
7191         * gst/gstdata.c:
7192         * gst/gstdata.h:
7193         * gst/gstdata_private.h:
7194         * gst/gstevent.c:
7195         * gst/gstinfo.c:
7196         * gst/gstinfo.h:
7197         * gst/gstmessage.c:
7198         * gst/gstobject.c:
7199         * gst/gstobject.h:
7200         * gst/gststructure.c:
7201         * gst/gststructure.h:
7202         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
7203         * gst/gstutils.h:
7205 2005-04-24  David Schleef  <ds@schleef.org>
7207         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
7208         make the regressions tests work.  Remove some code that is no
7209         longer true.
7210         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
7211         Disable warning for pads without templates.
7213 2005-04-24  David Schleef  <ds@schleef.org>
7215         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
7216         functions that handle filtered links.
7217         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
7218         removed functions.
7219         * gst/gstutils.c: Fix/remove utility functions that handle
7220         filtered caps.
7221         * gst/gstutils.h:
7222         * gst/gstvalue.c: Add serialization/deserialization of caps
7223         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
7224         requires fixing so that the filter caps notation creates
7225         a capsfilter element and sets the filter_caps property.  I
7226         think everyone probably wants to keep the shorthand notation.
7227         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
7228         * docs/gst/tmpl/gstpad.sgml:
7230         * gst/elements/gstelements.c: Register capsfilter element.
7231         * gst/Makefile.am: fix spacing
7232         * docs/random/ds/0.9-suggested-changes: random
7234 2005-04-23  David Schleef  <ds@schleef.org>
7236         * gst/elements/Makefile.am:
7237         * gst/elements/gstcapsfilter.c: New element that acts like an
7238         identity, but filters caps.  Will eventually replace filtered
7239         caps in pad linking.
7240         * gst/gstutils.c: (gst_element_create_all_pads): New function
7241         to create all the ALWAYS pads that are registered with an
7242         element class.  This functionality should eventually be
7243         merged in with GstElement initialization.
7244         * gst/gstutils.h:
7245         * testsuite/trigger/README: part of trigger test code that should
7246         have been checked in a long time ago.
7248 2005-04-23  David Schleef  <ds@schleef.org>
7250         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
7251         needed with new versions of libtool (nobody will confirm this),
7252         and hard to carry around.
7253         * gst/autoplug/Makefile.am:
7254         * gst/base/Makefile.am:
7255         * gst/elements/Makefile.am:
7256         * gst/indexers/Makefile.am:
7257         * gst/schedulers/Makefile.am:
7258         * libs/gst/bytestream/Makefile.am:
7259         * libs/gst/control/Makefile.am:
7260         * libs/gst/dataprotocol/Makefile.am:
7261         * libs/gst/getbits/Makefile.am:
7263 2005-04-21  Wim Taymans  <wim@fluendo.com>
7265         * docs/design/draft-push-pull.txt:
7266         * docs/design/part-MT-refcounting.txt:
7267         * docs/design/part-TODO.txt:
7268         * docs/design/part-caps.txt:
7269         * docs/design/part-events.txt:
7270         * docs/design/part-gstbus.txt:
7271         * docs/design/part-gstpipeline.txt:
7272         * docs/design/part-messages.txt:
7273         * docs/design/part-push-pull.txt:
7274         * docs/design/part-query.txt:
7275         Some more docs.
7277 2005-04-21  Wim Taymans  <wim@fluendo.com>
7279         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
7280         (gst_message_new), (gst_message_new_error),
7281         (gst_message_new_warning), (gst_message_new_tag),
7282         (gst_message_new_state_changed), (gst_message_new_application),
7283         (gst_message_get_structure):
7284         * gst/gstmessage.h:
7285         * gst/gststructure.c: (gst_structure_set_parent_refcount),
7286         (gst_structure_copy_conditional):
7287         Use parent refcount in GstMessage to ensure GstStructure
7288         consistency.
7289         Cleaned up headers a bit.
7290         
7292 2005-04-20  Wim Taymans  <wim@fluendo.com>
7294         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7295         (gst_basesink_pad_getcaps), (gst_basesink_init),
7296         (gst_basesink_chain_unlocked):
7297         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
7298         (gst_type_find_helper):
7299         * gst/elements/gsttypefindelement.c:
7300         (gst_type_find_element_have_type), (gst_type_find_element_init),
7301         (stop_typefinding), (gst_type_find_element_handle_event),
7302         (find_suggest), (gst_type_find_element_chain),
7303         (gst_type_find_element_checkgetrange),
7304         (gst_type_find_element_getrange), (do_typefind),
7305         (gst_type_find_element_activate):
7306         * gst/gstbuffer.c: (_gst_buffer_sub_free),
7307         (gst_buffer_default_free), (gst_buffer_default_copy),
7308         (gst_buffer_set_caps):
7309         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7310         (gst_caps_replace):
7311         * gst/gstmessage.c: (gst_message_new),
7312         (gst_message_new_state_changed):
7313         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7314         (gst_pad_set_checkgetrange_function),
7315         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7316         (gst_pad_set_caps), (gst_pad_check_pull_range),
7317         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7318         * gst/gstpad.h:
7319         * gst/gsttypefind.c: (gst_type_find_register):
7320         Make gst_caps_replace() work like other _replace() functions.
7321         Use _caps_replace() where possible.
7322         Make sure _message_new() initialises its field.
7323         Add gst_static_pad_template_get_caps()
7326 2005-04-18  Andy Wingo  <wingo@pobox.com>
7328         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7329         on the peer, not the pad. I think that was a typo. Pass an extra
7330         arg to see if random access is possible. Activate the pads as
7331         PULL_RANGE if possible.
7333         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7335         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
7336         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7337         to PROP_....
7339 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7341         * docs/faq/using.xml:
7342           Add note on gstreamer-properties (#154996).
7344 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7346         * docs/random/bbb/optional-properties:
7347           Some analysis on optional properties.
7349 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7351         * docs/gst/tmpl/gstelementfactory.sgml:
7352         * gst/gstelement.h:
7353         * gst/gstelementfactory.c: (gst_element_factory_init),
7354         (gst_element_factory_cleanup), (gst_element_register),
7355         (__gst_element_factory_add_static_pad_template),
7356         (gst_element_factory_get_static_pad_templates),
7357         (gst_element_factory_can_src_caps),
7358         (gst_element_factory_can_sink_caps):
7359         * gst/registries/Makefile.am:
7360         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7361         (gst_xml_registry_class_init), (gst_xml_registry_init),
7362         (gst_xml_registry_new), (gst_xml_registry_set_property),
7363         (gst_xml_registry_get_property), (get_time), (make_dir),
7364         (gst_xml_registry_get_perms_func),
7365         (plugin_times_older_than_recurse), (plugin_times_older_than),
7366         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7367         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7368         (add_to_char_array), (read_string), (read_uint), (read_enum),
7369         (load_pad_template), (load_feature), (load_plugin), (load_paths),
7370         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7371         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7372         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7373         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7374         (gst_xml_registry_rebuild):
7375         * gst/registries/gstlibxmlregistry.h:
7376         * tools/gst-compprep.c: (main):
7377         * tools/gst-inspect.c: (print_pad_templates_info):
7378         * tools/gst-xmlinspect.c: (print_element_info):
7379           Use libxml2 for registry parsing, use staticpadtemplates in
7380           elementfactories. Makes gst_init() +/- 10x faster.
7382 2005-04-12  Wim Taymans  <wim@fluendo.com>
7384         * gst/base/Makefile.am:
7385         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7386         (gst_basesink_pad_getcaps), (gst_basesink_init),
7387         (gst_basesink_event), (gst_basesink_change_state):
7388         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7389         (gst_basesrc_init), (gst_basesrc_query),
7390         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7391         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7392         (gst_basesrc_check_get_range), (gst_basesrc_loop),
7393         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7394         (gst_basesrc_stop), (gst_basesrc_activate),
7395         (gst_basesrc_change_state):
7396         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7397         (helper_find_suggest), (gst_type_find_helper):
7398         * gst/base/gsttypefindhelper.h:
7399         * gst/elements/Makefile.am:
7400         * gst/elements/gstelements.c:
7401         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7402         (gst_fakesink_get_times), (gst_fakesink_event),
7403         (gst_fakesink_preroll), (gst_fakesink_render):
7404         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7405         (gst_fakesrc_init), (gst_fakesrc_event_handler),
7406         (gst_fakesrc_get_property), (gst_fakesrc_create),
7407         (gst_fakesrc_start), (gst_fakesrc_stop):
7408         * gst/elements/gstfakesrc.h:
7409         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
7410         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7411         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7412         (gst_filesrc_create_read), (gst_filesrc_create),
7413         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
7414         (gst_filesrc_start):
7415         * gst/elements/gsttypefindelement.c:
7416         (gst_type_find_element_have_type), (gst_type_find_element_init),
7417         (start_typefinding), (stop_typefinding), (push_buffer_store),
7418         (gst_type_find_element_handle_event),
7419         (gst_type_find_element_chain),
7420         (gst_type_find_element_checkgetrange),
7421         (gst_type_find_element_getrange), (do_typefind),
7422         (gst_type_find_element_activate),
7423         (gst_type_find_element_change_state):
7424         * gst/elements/gsttypefindelement.h:
7425         * gst/gstpipeline.c: (pipeline_bus_handler):
7426         Added typefind helper.
7427         Small preroll fix in the base sink.
7428         Disable typefind code in basesrc.
7429         Crude port of typefindelement.
7430         Fakesrc cleanups.
7433 2005-04-11  Wim Taymans  <wim@fluendo.com>
7435         * check/gst/gstbus.c: (gstbus_suite):
7436         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7437         * check/gstcheck.h:
7438           Fix up the timeout so that the test does not fail.
7440 2005-04-06  Wim Taymans  <wim@fluendo.com>
7442         * gst/base/README:
7443         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7444         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7445         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7446         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7447         (gst_basesrc_check_get_range), (gst_basesrc_loop),
7448         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7449         (gst_basesrc_stop), (gst_basesrc_activate),
7450         (gst_basesrc_change_state), (basesrc_find_peek),
7451         (basesrc_find_suggest), (gst_basesrc_type_find):
7452         * gst/base/gstbasesrc.h:
7453         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7454         (gst_filesrc_class_init), (gst_filesrc_init),
7455         (gst_filesrc_finalize), (gst_filesrc_set_location),
7456         (gst_filesrc_set_property), (gst_filesrc_get_property),
7457         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7458         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7459         (gst_filesrc_create_read), (gst_filesrc_create),
7460         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7461         * gst/elements/gstfilesrc.h:
7462         * gst/gstelement.c: (gst_element_get_state_func),
7463         (gst_element_lost_state), (gst_element_pads_activate):
7464         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7465         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7466         (gst_pad_pull_range):
7467         * gst/gstpad.h:
7468         More work on the generic source base class, implement seeking,
7469         query.
7470         Make filesrc extend the base source class.
7471         Added gst_pad_set_checkgetrange_function to GstPad.
7473 2005-04-06  Andy Wingo  <wingo@pobox.com>
7475         * pkgconfig/gstreamer-base.pc.in:
7476         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7478         * pkgconfig/Makefile.am:
7479         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7481 2005-04-04  Wim Taymans  <wim@fluendo.com>
7483         * gst/base/Makefile.am:
7484         * gst/base/README:
7485         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7486         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7487         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7488         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7489         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7490         (gst_basesrc_base_init), (gst_basesrc_class_init),
7491         (gst_basesrc_init), (gst_basesrc_get_formats),
7492         (gst_basesrc_get_query_types), (gst_basesrc_query),
7493         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7494         (gst_basesrc_set_property), (gst_basesrc_get_property),
7495         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7496         (gst_basesrc_loop), (gst_basesrc_activate),
7497         (gst_basesrc_change_state):
7498         * gst/base/gstbasesrc.h:
7499         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7500         (gst_fakesrc_class_init), (gst_fakesrc_init),
7501         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7502         (gst_fakesrc_get_property), (gst_fakesrc_create):
7503         * gst/elements/gstfakesrc.h:
7504         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7505         (gst_filesrc_open_file), (gst_filesrc_loop),
7506         (gst_filesrc_activate), (filesrc_find_peek),
7507         (gst_filesrc_type_find):
7508         Made base source class, make fakesrc extend it.
7509         Add comments to basesink class.
7510         Some filesrc cleanup.
7512 2005-03-31  David Schleef  <ds@schleef.org>
7514         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7515         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7516         expected to link against libgstreamer.
7517         * gst/base/Makefile.am: link against libgstreamer
7518         * gst/elements/Makefile.am: same
7520 2005-03-31  Andy Wingo  <wingo@pobox.com>
7522         * tests/instantiate/Makefile.am:
7523         * tests/instantiate/caps.c: Add test to test speed of caps copy
7524         and free.
7526         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7527         GMemChunk to be fair.
7529         * gst/gsttrashstack.h: Remove warning about using the fallback
7530         trash stack implementation, it's still faster than malloc.
7532 2005-03-30  Andy Wingo  <wingo@pobox.com>
7534         * tests/complexity.c: Add a copyright.
7536 2005-03-31  Wim Taymans  <wim@fluendo.com>
7538         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7539         (gst_base_transform_class_init), (gst_base_transform_init),
7540         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7541         (gst_base_transform_get_property),
7542         (gst_base_transform_sink_activate),
7543         (gst_base_transform_src_activate),
7544         (gst_base_transform_change_state):
7545         * gst/base/gstbasetransform.h:
7546         * gst/elements/gstidentity.c: (gst_identity_class_init),
7547         (gst_identity_event), (gst_identity_check_perfect),
7548         (gst_identity_transform), (gst_identity_start),
7549         (gst_identity_stop):
7550         Added start/stop methods to transform base class so subclasses 
7551         don't need to deal with state changes even.
7553 2005-03-31  Wim Taymans  <wim@fluendo.com>
7555         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7556         (gst_event_new_discontinuous), (gst_event_discont_get_value):
7557         * gst/gstevent.h:
7558         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7559         (gst_pad_pull_range):
7560         Added rate to the discont event to prepare for variable speed
7561         and reverse playback.
7563 2005-03-29  David Schleef  <ds@schleef.org>
7565         * configure.ac:
7566         * testsuite/trigger/Makefile.am:
7567         * testsuite/trigger/trigger.c: A little example program to show
7568         how trigger-based elements can work.
7570 2005-03-29  Wim Taymans  <wim@fluendo.com>
7572         * gst/base/Makefile.am:
7573         * gst/base/README:
7574         * gst/base/gstbasesink.c: (gst_basesink_get_type),
7575         (gst_basesink_base_init), (gst_basesink_class_init),
7576         (gst_basesink_pad_getcaps), (gst_basesink_init),
7577         (gst_basesink_activate), (gst_basesink_change_state):
7578         * gst/base/gstbasesink.h:
7579         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7580         (gst_base_transform_base_init), (gst_base_transform_finalize),
7581         (gst_base_transform_class_init), (gst_base_transform_init),
7582         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7583         (gst_base_transform_event), (gst_base_transform_getrange),
7584         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7585         (gst_base_transform_set_property),
7586         (gst_base_transform_get_property),
7587         (gst_base_transform_sink_activate),
7588         (gst_base_transform_src_activate),
7589         (gst_base_transform_change_state):
7590         * gst/base/gstbasetransform.h:
7591         * gst/elements/gstidentity.c: (gst_identity_finalize),
7592         (gst_identity_class_init), (gst_identity_init),
7593         (gst_identity_event), (gst_identity_check_perfect),
7594         (gst_identity_transform), (gst_identity_set_property),
7595         (gst_identity_get_property), (gst_identity_change_state):
7596         * gst/elements/gstidentity.h:
7597         * gst/gstelement.c: (gst_element_get_state_func),
7598         (gst_element_lost_state), (gst_element_pads_activate):
7599         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7600         (gst_pad_check_pull_range), (gst_pad_pull_range):
7601         * gst/gstpad.h:
7602         Simplify pad activation.
7603         Added function to check if pull_range can be performed.
7604         Error out when pulling inactive or flushing pads.
7605         Removed const from refcounted types as it does not make sense.
7606         Simplify pad templates in basesink
7607         Added base class for simple 1-to-1 transforms.
7608         Make identity subclass the base transform.
7610 2005-03-29  Andy Wingo  <wingo@pobox.com>
7612         * docs/libs/gstreamer-libs-overrides.txt: 
7613         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7614         really don't understand what's going on, but like whatever. I want
7615         green buildbot!
7617         * docs/gst/Makefile.am:
7618         * docs/libs/Makefile.am: Dist the overrides files.
7620         * check/Makefile.am (clean-local): Remove .libs directories.
7622         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7623         elements to EXTRA_DIST, so po/ files are happy.
7625         * po/POTFILES.in: Er, remove it here.
7627         * po/POTFILES: Remove gstspider.c.
7629         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7631         * docs/libs/gstreamer-libs-docs.sgml: 
7632         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7633         bytestream.
7635         * tests/complexity.c (main): Set the length of the preroll queue
7636         on the sinks to prevent a lockup.
7638         * libs/gst/dataprotocol/Makefile.am: 
7639         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7640         the same as the one in check/gst-libs/gdp.c.
7642         * po/, docs/gst/: Commit automatic changes to docs and po files.
7644         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7645         the versioned libgstbase.
7647         * check/Makefile.am: Depend on an unversioned gst-register, seems
7648         to make autoconf happier.
7650         * gst/base/Makefile.am: Make libgstbase a versioned lib.
7652 2005-03-28  Wim Taymans  <wim@fluendo.com>
7654         * configure.ac:
7655         * docs/design/part-gstelement.txt:
7656         * docs/design/part-negotiation.txt:
7657         * docs/design/part-preroll.txt:
7658         * docs/design/part-scheduling.txt:
7659         * docs/design/part-states.txt:
7660         * gst/Makefile.am:
7661         * gst/base/Makefile.am:
7662         * gst/base/README:
7663         * gst/base/gstbasesink.c: (gst_basesink_get_template),
7664         (gst_basesink_base_init), (gst_basesink_class_init),
7665         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7666         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7667         (gst_basesink_set_pad_functions),
7668         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7669         (gst_basesink_set_property), (gst_basesink_get_property),
7670         (gst_base_sink_get_template), (gst_base_sink_get_caps),
7671         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7672         (gst_basesink_preroll_queue_push),
7673         (gst_basesink_preroll_queue_empty),
7674         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7675         (gst_basesink_event), (gst_basesink_get_times),
7676         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7677         (gst_basesink_chain_unlocked), (gst_basesink_chain),
7678         (gst_basesink_loop), (gst_basesink_activate),
7679         (gst_basesink_change_state):
7680         * gst/base/gstbasesink.h:
7681         * gst/elements/Makefile.am:
7682         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7683         (gst_fakesink_class_init), (gst_fakesink_init),
7684         (gst_fakesink_set_property), (gst_fakesink_get_property),
7685         (gst_fakesink_get_times), (gst_fakesink_event),
7686         (gst_fakesink_preroll), (gst_fakesink_render),
7687         (gst_fakesink_change_state):
7688         * gst/elements/gstfakesink.h:
7689         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7690         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7691         * gst/gstelement.c: (gst_element_add_pad),
7692         (gst_element_get_state_func), (gst_element_abort_state),
7693         (gst_element_commit_state), (gst_element_lost_state),
7694         (gst_element_set_state), (gst_element_pads_activate):
7695         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7696         * gst/gstpipeline.c: (gst_pipeline_send_event),
7697         (gst_pipeline_change_state):
7698         Added state change code.
7699         Added/updated docs.
7700         Added sink base class, make fakesink extend the base class.
7701         Small cleanups in GstPipeline.
7703 2005-03-26  David Schleef  <ds@schleef.org>
7705         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
7706         is broken and should be implemented in a different library.
7707         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7708         * gst/gst.h: remove gstcpu.h
7709         * gst/gstcpu.c: remove
7710         * gst/gstcpu.h: remove
7711         * gst/Makefile.am.future: Remove this file.  It's ancient.
7713 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7715         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7716         (gst_bin_send_event):
7717           Add default event/set_manager handlers. The set_manager handler
7718           takes care that the manager is distributed over kids that were
7719           already in the bin before the manager was set. The event handler
7720           is a utility virtual function that sends the event over all sinks,
7721           so that gst_element_send_event (bin, event); has the expected
7722           behaviour.
7723         * gst/gstpad.c: (gst_pad_event_default):
7724           Re-install default event handling for discontinuities, so that
7725           seeking works without requiring hacks in applications or extra
7726           code in sinks.
7727         * gst/gstpipeline.c: (gst_pipeline_class_init),
7728         (gst_pipeline_send_event):
7729           Half hack, half utility: set a pipeline to PAUSED for seek events,
7730           since that is the only way we can guarantee a/v sync. Means that
7731           you can do gst_element_seek (pipeline, method, pos); on a pipeline
7732           and it "just works".
7734 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7736         * gst/gstpipeline.c: (gst_pipeline_use_clock):
7737           Lock/unlock mismatch.
7739 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7741         * docs/faq/gst-uninstalled:
7742           add gst-plugins-base
7743         * docs/gst/Makefile.am:
7744           don't error out until docs are fixed
7745         * docs/gst/gstreamer.types:
7746           remove thread
7748 2005-03-22  Wim Taymans  <wim@fluendo.com>
7750         * check/Makefile.am:
7751         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7752         * gst/gststructure.c: (gst_structure_set_valist),
7753         (gst_structure_copy_conditional):
7754         Activated more tests.
7755         Added message test.
7756         Added G_TYPE_POINTER to GstStructure.
7757         
7759 2005-03-22  Wim Taymans  <wim@fluendo.com>
7761         * docs/design/part-TODO.txt:
7762         * docs/design/part-events.txt:
7763         * docs/design/part-gstbin.txt:
7764         * docs/design/part-gstbus.txt:
7765         * docs/design/part-gstpipeline.txt:
7766         * docs/design/part-messages.txt:
7767         * gst/gstbus.c:
7768         * gst/gstmessage.c:
7769         Docs updates
7771 2005-03-21  Wim Taymans  <wim@fluendo.com>
7773         * gst/gstbus.c: (gst_bus_post):
7774         Fix copy-and-paste error.
7776 2005-03-21  Wim Taymans  <wim@fluendo.com>
7778         * check/Makefile.am:
7779         * gst/Makefile.am:
7780         * gst/elements/Makefile.am:
7781         * gst/elements/gstelements.c:
7782         * gst/elements/gstfakesink.c: (gst_fakesink_init),
7783         (gst_fakesink_event), (gst_fakesink_chain):
7784         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7785         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7786         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7787         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7788         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7789         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7790         (gst_fakesrc_loop), (gst_fakesrc_activate),
7791         (gst_fakesrc_change_state):
7792         * gst/elements/gstfakesrc.h:
7793         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7794         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7795         (gst_filesrc_open_file), (gst_filesrc_loop),
7796         (gst_filesrc_activate), (gst_filesrc_change_state),
7797         (filesrc_find_peek), (filesrc_find_suggest),
7798         (gst_filesrc_type_find):
7799         * gst/elements/gstidentity.c: (gst_identity_finalize),
7800         (gst_identity_class_init), (gst_identity_init),
7801         (gst_identity_proxy_getcaps), (identity_queue_push),
7802         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7803         (gst_identity_getrange), (gst_identity_chain),
7804         (gst_identity_sink_loop), (gst_identity_src_loop),
7805         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7806         (gst_identity_set_property), (gst_identity_get_property),
7807         (gst_identity_change_state):
7808         * gst/elements/gstidentity.h:
7809         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7810         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7811         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7812         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7813         (gst_tee_sink_activate):
7814         * gst/elements/gsttee.h:
7815         * gst/gst.c: (gst_register_core_elements), (init_post):
7816         * gst/gst.h:
7817         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7818         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7819         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7820         (gst_bin_change_state):
7821         * gst/gstbin.h:
7822         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7823         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7824         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7825         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7826         (gst_bus_set_sync_handler), (gst_bus_create_watch),
7827         (bus_watch_callback), (bus_watch_destroy),
7828         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7829         (poll_timeout), (gst_bus_poll):
7830         * gst/gstbus.h:
7831         * gst/gstcaps.h:
7832         * gst/gstdata.h:
7833         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7834         (gst_element_post_message), (gst_element_message_full),
7835         (gst_element_get_state_func), (gst_element_get_state),
7836         (gst_element_abort_state), (gst_element_commit_state),
7837         (gst_element_lost_state), (gst_element_set_state),
7838         (gst_element_pads_activate), (gst_element_change_state),
7839         (gst_element_dispose), (gst_element_set_manager_func),
7840         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7841         (gst_element_set_manager), (gst_element_get_manager),
7842         (gst_element_set_bus), (gst_element_get_bus),
7843         (gst_element_set_scheduler), (gst_element_get_scheduler):
7844         * gst/gstelement.h:
7845         * gst/gstevent.c: (gst_event_new_segment_seek),
7846         (gst_event_new_flush):
7847         * gst/gstevent.h:
7848         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7849         (_gst_message_free), (gst_message_get_type), (gst_message_new),
7850         (gst_message_new_eos), (gst_message_new_error),
7851         (gst_message_new_warning), (gst_message_new_tag),
7852         (gst_message_new_state_changed), (gst_message_new_application),
7853         (gst_message_get_structure), (gst_message_parse_tag),
7854         (gst_message_parse_state_changed), (gst_message_parse_error),
7855         (gst_message_parse_warning):
7856         * gst/gstmessage.h:
7857         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7858         (gst_real_pad_set_property), (gst_pad_set_active),
7859         (gst_pad_is_active), (gst_pad_set_blocked_async),
7860         (gst_pad_set_blocked), (gst_pad_is_blocked),
7861         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7862         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7863         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7864         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7865         (gst_pad_link_filtered), (gst_pad_relink_filtered),
7866         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7867         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7868         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7869         (gst_pad_set_caps), (gst_pad_configure_sink),
7870         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7871         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7872         (gst_real_pad_dispose), (gst_real_pad_finalize),
7873         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7874         (gst_pad_event_default_dispatch), (gst_pad_event_default),
7875         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7876         * gst/gstpad.h:
7877         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7878         (pipeline_bus_handler), (gst_pipeline_change_state),
7879         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7880         * gst/gstpipeline.h:
7881         * gst/gstprobe.h:
7882         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7883         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7884         (gst_queue_link_src), (gst_queue_bufferalloc),
7885         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7886         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7887         (gst_queue_loop), (gst_queue_handle_src_event),
7888         (gst_queue_handle_src_query), (gst_queue_src_activate),
7889         (gst_queue_change_state):
7890         * gst/gstqueue.h:
7891         * gst/gstscheduler.c: (gst_scheduler_init),
7892         (gst_scheduler_dispose), (gst_scheduler_create_task),
7893         (gst_scheduler_factory_create):
7894         * gst/gstscheduler.h:
7895         * gst/gststructure.c: (gst_structure_get_type),
7896         (gst_structure_copy_conditional):
7897         * gst/gststructure.h:
7898         * gst/gsttaginterface.h:
7899         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7900         (gst_task_init), (gst_task_dispose), (gst_task_create),
7901         (gst_task_get_state), (gst_task_start), (gst_task_stop),
7902         (gst_task_pause):
7903         * gst/gsttask.h:
7904         * gst/gstthread.c:
7905         * gst/gstthread.h:
7906         * gst/gsttypes.h:
7907         * gst/schedulers/Makefile.am:
7908         * gst/schedulers/cothreads_compat.h:
7909         * gst/schedulers/entryscheduler.c:
7910         * gst/schedulers/faircothreads.c:
7911         * gst/schedulers/faircothreads.h:
7912         * gst/schedulers/fairscheduler.c:
7913         * gst/schedulers/gstbasicscheduler.c:
7914         * gst/schedulers/gstoptimalscheduler.c:
7915         * gst/schedulers/gthread-cothreads.h:
7916         * gst/schedulers/threadscheduler.c:
7917         (gst_thread_scheduler_task_get_type),
7918         (gst_thread_scheduler_task_class_init),
7919         (gst_thread_scheduler_task_init),
7920         (gst_thread_scheduler_task_start),
7921         (gst_thread_scheduler_task_stop),
7922         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7923         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7924         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7925         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7926         (plugin_init):
7927         * libs/gst/Makefile.am:
7928         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7929         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7930         (gst_file_pad_parent_set):
7931         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7932         (gst_dp_event_from_packet):
7933         * tests/complexity.c: (main):
7934         * tests/mass_elements.c: (main):
7935         * testsuite/states/locked.c: (message_received), (main):
7936         * testsuite/states/parent.c: (main):
7937         * tools/gst-inspect.c: (print_element_flag_info),
7938         (print_implementation_info), (print_pad_info):
7939         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7940         (main):
7941         * tools/gst-md5sum.c: (event_loop), (main):
7942         * tools/gst-typefind.c: (main):
7943         * tools/gst-xmlinspect.c: (print_element_info):
7944         Next big merge.
7945         Added GstBus for mainloop integration.
7946         Added GstMessage for sending notifications on the bus.
7947         Added GstTask as an abstraction for pipeline entry points.
7948         Removed GstThread.
7949         Removed Schedulers.
7950         Simplified GstQueue for multithreaded core.
7951         Made _link threadsafe, removed old capsnego.
7952         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7953         Added pad blocking functions.
7954         Reworked scheduling functions in GstPad to prepare for
7955         scheduling updates soon.
7956         Moved events out of data stream.
7957         Simplified GstEvent types.
7958         Added return values to push/pull.
7959         Removed clocking from GstElement.
7960         Added prototypes for state change function for next merge.
7961         Removed iterate from bins and state change management.
7962         Fixed some elements, disabled others for now.
7963         Fixed -inspect and -launch.
7964         Added check for GstBus.
7966 2005-03-10  Wim Taymans  <wim@fluendo.com>
7968         * docs/design/part-MT-refcounting.txt:
7969         * docs/design/part-clocks.txt:
7970         * docs/design/part-gstelement.txt:
7971         * docs/design/part-gstobject.txt:
7972         * docs/design/part-standards.txt:
7973         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7974         (gst_bin_remove_func), (gst_bin_remove):
7975         * gst/gstbin.h:
7976         * gst/gstbuffer.c:
7977         * gst/gstcaps.h:
7978         * testsuite/clock/clock1.c: (main):
7979         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7980         (main):
7981         * testsuite/dlopen/loadgst.c: (do_test):
7982         * testsuite/refcounting/bin.c: (add_remove_test1),
7983         (add_remove_test2), (main):
7984         * testsuite/refcounting/element.c: (main):
7985         * testsuite/refcounting/element_pad.c: (main):
7986         * testsuite/refcounting/pad.c: (main):
7987         * tools/gst-launch.c: (sigint_handler_sighandler):
7988         * tools/gst-typefind.c: (main):
7989         Doc updates.
7990         Added doc about clock.
7991         removed gst_bin_iterate_recurse_up(), marked methods
7992         for removal.
7993         Fix more testsuites.
7995 2005-03-09  Wim Taymans  <wim@fluendo.com>
7997         * gst/gstpad.c: (gst_pad_get_direction),
7998         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7999         (gst_pad_collect_valist):
8000         * testsuite/bins/interface.c: (main):
8001         * testsuite/caps/audioscale.c: (test_caps):
8002         * testsuite/caps/caps.c: (test1), (test2), (test3):
8003         * testsuite/caps/deserialize.c: (main):
8004         * testsuite/caps/enumcaps.c: (main):
8005         * testsuite/caps/filtercaps.c: (main):
8006         * testsuite/caps/intersect2.c: (main):
8007         * testsuite/caps/random.c: (main):
8008         * testsuite/caps/renegotiate.c: (my_fixate), (main):
8009         * testsuite/caps/sets.c: (check_caps):
8010         * testsuite/caps/simplify.c: (check_caps), (main):
8011         * testsuite/caps/subtract.c: (check_caps):
8012         Fix _pad_get_direction wrt ghostpads.
8013         Fix caps testsuite.
8015 2005-03-09  Wim Taymans  <wim@fluendo.com>
8017         * check/Makefile.am:
8018         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
8019         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
8020         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
8021         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
8022         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
8023         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
8024         (gst_bin_remove), (gst_bin_iterate_recurse_up),
8025         (bin_element_is_sink), (gst_bin_iterate_sinks),
8026         (gst_bin_iterate_all_by_interface):
8027         * gst/gstbin.h:
8028         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
8029         (gst_element_change_state), (gst_element_dispose),
8030         (gst_element_finalize), (gst_element_set_loop_function):
8031         * gst/gstelement.h:
8032         * gst/gstiterator.c: (find_custom_fold_func):
8033         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8034         (gst_pad_collectv), (gst_pad_collect_valist),
8035         (gst_pad_template_new):
8036         * gst/gstpipeline.c: (gst_pipeline_class_init),
8037         (gst_pipeline_dispose), (gst_pipeline_set_property),
8038         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
8039         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
8040         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
8041         * gst/gstutils.h:
8042         * gst/schedulers/entryscheduler.c:
8043         * gst/schedulers/gstbasicscheduler.c:
8044         (gst_basic_scheduler_cothreaded_chain),
8045         (gst_basic_scheduler_chain_add_element):
8046         * testsuite/bins/interface.c: (main):
8047         Added GstBin test.
8048         Added GstSystemClock test.
8049         Implemented clock distribution code in GstBin.
8050         Implemented iterate sinks method for future use.
8051         Rearranged gstelement.h
8052         Fix GstIterator comparison bug.
8053         Moved some code to GstPipeline, mostly clocking related.
8055 2005-03-09  Wim Taymans  <wim@fluendo.com>
8057         * configure.ac:
8058         * gst/gst_private.h:
8059         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8060         (gst_bin_remove_func), (gst_bin_remove),
8061         (gst_bin_get_by_name_recurse_up):
8062         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
8063         (gst_clock_id_compare_func), (gst_clock_id_wait),
8064         (gst_clock_id_wait_async), (gst_clock_init),
8065         (gst_clock_adjust_unlocked), (gst_clock_get_time):
8066         * gst/gstelement.h:
8067         * gst/gstinfo.c: (_gst_debug_init):
8068         * gst/gstobject.h:
8069         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8070         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
8071         * gst/gstpad.h:
8072         Bump version number, we're now 0.9.0
8073         Add future debugging category.
8074         Fix NULL _unref() in _get_by_name_recurse_up
8075         Rearrange gstpad.h.
8076         Update some docs.
8078 2005-03-08  Wim Taymans  <wim@fluendo.com>
8080         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
8081         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
8082         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8083         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
8084         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
8085         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
8086         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
8087         * gst/elements/gstidentity.c: (gst_identity_class_init):
8088         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
8089         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
8090         * gst/elements/gstshaper.c: (gst_shaper_class_init):
8091         * gst/elements/gststatistics.c: (gst_statistics_class_init):
8092         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
8093         (gst_tee_link):
8094         * gst/gstelement.c: (gst_element_class_init),
8095         (gst_element_base_class_init), (gst_element_init),
8096         (gst_element_get_random_pad), (gst_element_wait_state_change),
8097         (gst_element_change_state), (gst_element_dispose),
8098         (gst_element_finalize), (gst_element_set_loop_function):
8099         * gst/gstelement.h:
8100         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
8101         * gst/gstthread.c: (gst_thread_class_init),
8102         (gst_thread_release_children_locks), (gst_thread_change_state):
8103         * gst/schedulers/gstbasicscheduler.c:
8104         (gst_basic_scheduler_loopfunc_wrapper),
8105         (gst_basic_scheduler_chain_wrapper),
8106         (gst_basic_scheduler_src_wrapper),
8107         (gst_basic_scheduler_remove_element):
8108         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
8109         Remove threadsafe properties. Fix elements because GObject
8110         complains when installing a property before declaring a
8111         set/get_property handler.
8112         Rearrange gstelement.h file, use STATE macros for state locks.
8113         Free mutexes in the finalize method instead of dispose.
8115 2005-03-08  Wim Taymans  <wim@fluendo.com>
8117         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8118         * gst/gstthread.c: (gst_thread_release_children_locks):
8119         Added parentage check.
8120         Fix build og GstThread again.
8122 2005-03-08  Wim Taymans  <wim@fluendo.com>
8124         * docs/design/part-MT-refcounting.txt:
8125         * docs/design/part-conventions.txt:
8126         * docs/design/part-gstobject.txt:
8127         * docs/design/part-relations.txt:
8128         * docs/design/part-standards.txt:
8129         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8130         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
8131         (gst_bin_get_by_name), (gst_bin_get_by_interface),
8132         (gst_bin_iterate_all_by_interface):
8133         * gst/gstbuffer.h:
8134         * gst/gstclock.h:
8135         * gst/gstelement.c: (gst_element_class_init),
8136         (gst_element_change_state), (gst_element_set_loop_function):
8137         * gst/gstelement.h:
8138         * gst/gstiterator.c:
8139         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
8140         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
8141         (gst_object_dispatch_properties_changed), (gst_object_set_name),
8142         (gst_object_set_parent), (gst_object_unparent),
8143         (gst_object_check_uniqueness):
8144         * gst/gstobject.h:
8145         Docs updates, clean up some headers.
8147 2005-03-07  Wim Taymans  <wim@fluendo.com>
8149         * check/.cvsignore:
8150         * check/Makefile.am:
8151         * check/gst-libs/.cvsignore:
8152         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
8153         * check/gst/.cvsignore:
8154         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
8155         (START_TEST), (gstbus_suite), (main):
8156         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
8157         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
8158         (gst_data_suite), (main):
8159         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
8160         (add_fold_func), (gstiterator_suite), (main):
8161         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
8162         (thread_name_object), (thread_name_object_default),
8163         (gst_object_name_compare), (gst_object_suite), (main):
8164         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
8165         (gst_pad_suite), (main):
8166         * check/gstcheck.c: (gst_check_log_message_func),
8167         (gst_check_log_critical_func), (gst_check_init):
8168         * check/gstcheck.h:
8169         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8170         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
8171         Added checks.
8173 2005-03-07  Wim Taymans  <wim@fluendo.com>
8175         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
8176         (gst_list_iterator_next), (gst_list_iterator_resync),
8177         (gst_list_iterator_free), (gst_iterator_new_list),
8178         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
8179         (gst_iterator_free), (gst_iterator_push), (filter_next),
8180         (filter_resync), (filter_uninit), (filter_free),
8181         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
8182         (gst_iterator_foreach), (find_custom_fold_func),
8183         (gst_iterator_find_custom):
8184         * gst/gstiterator.h:
8185         Added missing files.
8187 2005-03-07  Wim Taymans  <wim@fluendo.com>
8189         * Makefile.am:
8190         * configure.ac:
8191         * docs/design/part-MT-refcounting.txt:
8192         * docs/design/part-conventions.txt:
8193         * docs/design/part-gstobject.txt:
8194         * docs/design/part-relations.txt:
8195         * examples/mixer/mixer.c: (main):
8196         * examples/thread/thread.c: (eos), (main):
8197         * gst/Makefile.am:
8198         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
8199         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
8200         (gst_spider_plug_from_srcpad):
8201         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
8202         (gst_spider_identity_change_state),
8203         (gst_spider_identity_sink_loop_type_finding):
8204         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
8205         * gst/elements/gstidentity.c: (gst_identity_init):
8206         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
8207         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
8208         * gst/elements/gsttypefindelement.c: (free_entry):
8209         * gst/gst.c:
8210         * gst/gst.h:
8211         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
8212         (gst_bin_set_clock_func), (gst_bin_auto_clock),
8213         (gst_bin_set_index), (gst_bin_set_element_sched),
8214         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
8215         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
8216         (gst_bin_iterate_elements), (iterate_child_recurse),
8217         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
8218         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
8219         (compare_interface), (gst_bin_get_by_interface),
8220         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
8221         * gst/gstbin.h:
8222         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
8223         (gst_buffer_default_free), (gst_buffer_default_copy),
8224         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
8225         (gst_buffer_create_sub):
8226         * gst/gstbuffer.h:
8227         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
8228         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
8229         (gst_caps_unref), (gst_static_caps_get),
8230         (gst_caps_remove_and_get_structure), (gst_caps_append),
8231         (gst_caps_append_structure), (gst_caps_remove_structure),
8232         (gst_caps_copy_nth), (gst_caps_set_simple),
8233         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8234         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8235         (gst_caps_structure_intersect_field), (gst_caps_intersect),
8236         (gst_caps_structure_subtract_field), (gst_caps_subtract),
8237         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8238         (gst_caps_structure_figure_out_union),
8239         (gst_caps_switch_structures), (gst_caps_do_simplify),
8240         (gst_caps_replace), (gst_caps_from_string),
8241         (gst_caps_copy_conditional):
8242         * gst/gstcaps.h:
8243         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8244         (_gst_clock_id_free), (gst_clock_id_unref),
8245         (gst_clock_id_compare_func), (gst_clock_id_wait),
8246         (gst_clock_id_wait_async), (gst_clock_class_init),
8247         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8248         (gst_clock_get_time), (gst_clock_set_time_adjust),
8249         (gst_clock_set_property), (gst_clock_get_property):
8250         * gst/gstclock.h:
8251         * gst/gstcompat.h:
8252         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
8253         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8254         * gst/gstdata.h:
8255         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8256         (gst_element_requires_clock), (gst_element_provides_clock),
8257         (gst_element_set_clock), (gst_element_clock_wait),
8258         (gst_element_wait), (gst_element_set_time_delay),
8259         (gst_element_is_indexable), (gst_element_add_pad),
8260         (gst_element_add_ghost_pad), (gst_element_remove_pad),
8261         (pad_compare_name), (gst_element_get_static_pad),
8262         (gst_element_request_pad), (gst_element_get_request_pad),
8263         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
8264         (gst_element_class_get_pad_template_list),
8265         (gst_element_class_get_pad_template), (gst_element_error_func),
8266         (gst_element_get_random_pad), (gst_element_get_event_masks),
8267         (gst_element_send_event), (gst_element_seek),
8268         (gst_element_get_query_types), (gst_element_query),
8269         (gst_element_get_formats), (gst_element_convert),
8270         (gst_element_is_locked_state), (gst_element_set_locked_state),
8271         (gst_element_sync_state_with_parent), (gst_element_change_state),
8272         (gst_element_finalize), (gst_element_yield),
8273         (gst_element_interrupt), (gst_element_set_scheduler),
8274         (gst_element_get_scheduler), (gst_element_set_loop_function):
8275         * gst/gstelement.h:
8276         * gst/gstevent.h:
8277         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
8278         (gst_format_get_by_nick), (gst_format_get_details),
8279         (gst_format_iterate_definitions):
8280         * gst/gstformat.h:
8281         * gst/gstindex.c: (gst_index_gtype_resolver):
8282         * gst/gstinfo.c:
8283         * gst/gstinfo.h:
8284         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
8285         (gst_mem_chunk_free):
8286         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8287         (gst_object_ref), (gst_object_unref), (gst_object_sink),
8288         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
8289         (gst_object_dispatch_properties_changed),
8290         (gst_object_set_name_default), (gst_object_set_name),
8291         (gst_object_get_name), (gst_object_set_name_prefix),
8292         (gst_object_get_name_prefix), (gst_object_set_parent),
8293         (gst_object_get_parent), (gst_object_unparent),
8294         (gst_object_check_uniqueness), (gst_object_save_thyself),
8295         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
8296         (gst_object_set_property), (gst_object_get_property),
8297         (gst_object_get_path_string):
8298         * gst/gstobject.h:
8299         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8300         (gst_real_pad_init), (gst_real_pad_get_property),
8301         (gst_pad_custom_new), (gst_pad_get_direction),
8302         (gst_pad_set_active), (gst_pad_is_active),
8303         (gst_pad_set_event_function), (gst_pad_is_linked),
8304         (gst_pad_link_free), (gst_pad_link_intersect),
8305         (gst_pad_link_fixate), (gst_pad_set_caps),
8306         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8307         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8308         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8309         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8310         (gst_pad_get_caps), (gst_pad_peer_get_caps),
8311         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8312         (gst_pad_realize), (gst_pad_get_allowed_caps),
8313         (gst_real_pad_dispose), (gst_real_pad_finalize),
8314         (gst_pad_collectv), (gst_pad_collect_valist),
8315         (gst_pad_template_dispose), (gst_pad_template_new),
8316         (gst_pad_get_internal_links):
8317         * gst/gstpad.h:
8318         * gst/gstpipeline.c: (gst_pipeline_dispose),
8319         (gst_pipeline_change_state):
8320         * gst/gstpipeline.h:
8321         * gst/gstplugin.c:
8322         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8323         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8324         * gst/gstpluginfeature.h:
8325         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8326         * gst/gstquery.c: (_gst_query_type_initialize),
8327         (gst_query_type_register), (gst_query_type_get_by_nick),
8328         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8329         * gst/gstquery.h:
8330         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8331         * gst/gstscheduler.c: (gst_scheduler_add_element),
8332         (gst_scheduler_factory_create):
8333         * gst/gststructure.c: (gst_structure_set_parent_refcount),
8334         (gst_structure_free), (gst_structure_set_name),
8335         (gst_structure_id_set_value), (gst_structure_set_value),
8336         (gst_structure_set_valist), (gst_structure_remove_field),
8337         (gst_structure_remove_fields),
8338         (gst_structure_remove_fields_valist),
8339         (gst_structure_remove_all_fields), (gst_structure_foreach),
8340         (gst_structure_map_in_place),
8341         (gst_caps_structure_fixate_field_nearest_int),
8342         (gst_caps_structure_fixate_field_nearest_double):
8343         * gst/gststructure.h:
8344         * gst/gstsystemclock.c: (gst_system_clock_class_init),
8345         (gst_system_clock_init), (gst_system_clock_dispose),
8346         (gst_system_clock_async_thread),
8347         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8348         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8349         * gst/gstsystemclock.h:
8350         * gst/gsttag.c: (gst_tag_list_add_value_internal),
8351         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8352         * gst/gsttaginterface.c:
8353         * gst/gstthread.c: (gst_thread_dispose),
8354         (gst_thread_release_children_locks), (gst_thread_change_state),
8355         (gst_thread_main_loop):
8356         * gst/gsttrashstack.h:
8357         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8358         * gst/gsttypes.h:
8359         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8360         (gst_element_request_pad), (gst_element_get_pad_from_template),
8361         (gst_element_request_compatible_pad),
8362         (gst_element_get_compatible_pad_filtered),
8363         (gst_element_get_compatible_pad), (gst_element_state_get_name),
8364         (gst_element_link_pads_filtered), (gst_element_link_filtered),
8365         (gst_element_link_many), (gst_element_link),
8366         (gst_element_link_pads), (gst_element_unlink_pads),
8367         (gst_element_unlink_many), (gst_element_unlink),
8368         (gst_pad_can_link_filtered), (gst_pad_can_link),
8369         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8370         (gst_object_default_error), (gst_bin_add_many),
8371         (gst_bin_remove_many), (gst_element_populate_std_props),
8372         (gst_element_class_install_std_props), (gst_buffer_merge),
8373         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8374         (link_fold_func), (gst_pad_proxy_setcaps):
8375         * gst/gstutils.h:
8376         * gst/gstvalue.c: (gst_value_deserialize_string):
8377         * gst/parse/grammar.y:
8378         * gst/schedulers/gstbasicscheduler.c:
8379         (gst_basic_scheduler_cothreaded_chain),
8380         (gst_basic_scheduler_chain_recursive_add),
8381         (gst_basic_scheduler_pad_link):
8382         * gst/schedulers/gstoptimalscheduler.c:
8383         (get_group_schedule_function),
8384         (gst_opt_scheduler_state_transition),
8385         (gst_opt_scheduler_add_element), (element_get_reachables_func):
8386         * libs/gst/bytestream/bytestream.c:
8387         * libs/gst/dataprotocol/dataprotocol.c:
8388         (gst_dp_header_from_buffer):
8389         * po/nb.po:
8390         * po/ru.po:
8391         * tests/threadstate/threadstate2.c: (eos):
8392         * tools/gst-compprep.c: (main):
8393         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
8394         (print_pad_info), (print_children_info):
8395         * tools/gst-launch.c: (idle_func), (main):
8396         * tools/gst-md5sum.c: (idle_func), (main):
8397         * tools/gst-xmlinspect.c: (print_element_info):
8398         First THREADED backport attempt, focusing on adding locks and
8399         making sure the API is threadsafe. Needs more work. More docs
8400         follow this week.
8402 2005-02-24  Andy Wingo  <wingo@pobox.com>
8404         * tests/bench-complexity.scm:
8405         * tests/complexity.gnuplot: New files, good for running complexity
8406         benchmarks.
8408         * tests/Makefile.am:
8409         * tests/complexity.c: New test, sets up N elements, at each level
8410         teeing into M streams per element. Eeeenteresting.
8412         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8413         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8414         running bench-mass_elements.scm.
8416         * tests/bench-mass_elements.scm: New script, runs mass_elements
8417         for various numbers of identities, outputting the results to a
8418         file. Requires guile 1.6. Just for testing.
8420 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8422         * gst/schedulers/fairscheduler.c:
8423           compile with debug disabled
8425 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8427         * configure.ac:
8428           hunting season on 0.9 is now OPEN