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