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