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