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