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