fix distcheck
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * configure.ac:
4         * tests/Makefile.am:
5           fix distcheck
6
7 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
8
9         * docs/gst/gstreamer-sections.txt:
10         * tests/sched/.cvsignore:
11         * tests/sched/Makefile.am:
12         * tests/sched/cases/(fs-fs).xml:
13         * tests/sched/cases/(fs-i-fs).xml:
14         * tests/sched/cases/(fs-i-i-fs).xml:
15         * tests/sched/cases/(fs-i-q[i-fs]).xml:
16         * tests/sched/dynamic-pipeline.c:
17         * tests/sched/interrupt1.c:
18         * tests/sched/interrupt2.c:
19         * tests/sched/interrupt3.c:
20         * tests/sched/runtestcases:
21         * tests/sched/runxml.c:
22         * tests/sched/sched-stress.c:
23         * tests/sched/sort.c:
24         * tests/sched/testcases:
25         * tests/sched/testcases1.tc:
26         * tests/seeking/.cvsignore:
27         * tests/seeking/Makefile.am:
28         * tests/seeking/seeking1.c:
29         * tests/threadstate/.cvsignore:
30         * tests/threadstate/Makefile.am:
31         * tests/threadstate/test1.c:
32         * tests/threadstate/test2.c:
33         * tests/threadstate/threadstate1.c:
34         * tests/threadstate/threadstate2.c:
35         * tests/threadstate/threadstate3.c:
36         * tests/threadstate/threadstate4.c:
37         * tests/threadstate/threadstate5.c:
38           remove obsolete tests
39         * configure.ac:
40         * tests/bench-complexity.scm:
41         * tests/bench-mass_elements.scm:
42         * tests/complexity.c:
43         * tests/complexity.gnuplot:
44         * tests/instantiate/.cvsignore:
45         * tests/instantiate/Makefile.am:
46         * tests/instantiate/caps.c:
47         * tests/mass_elements.c:
48         * tests/network-clock-utils.scm:
49         * tests/network-clock.scm:
50         * tests/plot-data:
51         First pass at cleaning up tests/ dir before moving the rest
52         Combined with CVS surgery
53
54 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
55
56         * po/POTFILES.in:
57           queue has moved, update
58
59 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
60
61         * docs/gst/gstreamer-sections.txt:
62           remove double entries from the docs
63         * gst/gst_private.h:
64         * gst/gstinfo.c: (_gst_debug_init):
65           remove the THREAD debug category
66         * gst/Makefile.am:
67         * gst/gstqueue.c:
68         * gst/gstqueue.h:
69         * docs/gst/gstreamer.types:
70         * plugins/elements/gstqueue.c: (gst_queue_get_type),
71         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
72           completely move queue and fix up debugging categories
73
74 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
75
76         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
77           make initialization portable, using LL is not
78
79 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
80
81         * win32/common/gstconfig.h:
82           add large padding
83
84 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
85
86         * win32/common/libgstreamer.def:
87           rename symbols; sort base section
88
89 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
90
91         * gst/gstclock.c: (do_linear_regression):
92           remove crack non-portable handrolled DEBUG macro
93
94 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
95
96         * docs/random/release:
97           update notes
98         * win32/common/gstenumtypes.c: (register_gst_object_flags),
99         (gst_object_flags_get_type), (register_gst_bin_flags),
100         (gst_bin_flags_get_type), (register_gst_buffer_flag),
101         (gst_buffer_flag_get_type), (register_gst_bus_flags),
102         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
103         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
104         (gst_caps_flags_get_type), (register_gst_clock_return),
105         (gst_clock_return_get_type), (register_gst_clock_entry_type),
106         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
107         (gst_clock_flags_get_type), (register_gst_state),
108         (gst_state_get_type), (register_gst_state_change_return),
109         (gst_state_change_return_get_type), (register_gst_state_change),
110         (gst_state_change_get_type), (register_gst_element_flags),
111         (gst_element_flags_get_type), (register_gst_core_error),
112         (gst_core_error_get_type), (register_gst_library_error),
113         (gst_library_error_get_type), (register_gst_resource_error),
114         (gst_resource_error_get_type), (register_gst_stream_error),
115         (gst_stream_error_get_type), (register_gst_event_type_flags),
116         (gst_event_type_flags_get_type), (register_gst_event_type),
117         (gst_event_type_get_type), (register_gst_seek_type),
118         (gst_seek_type_get_type), (register_gst_seek_flags),
119         (gst_seek_flags_get_type), (register_gst_format),
120         (gst_format_get_type), (register_gst_index_certainty),
121         (gst_index_certainty_get_type), (register_gst_index_entry_type),
122         (gst_index_entry_type_get_type),
123         (register_gst_index_lookup_method),
124         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
125         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
126         (gst_index_resolver_method_get_type), (register_gst_index_flags),
127         (gst_index_flags_get_type), (register_gst_debug_level),
128         (gst_debug_level_get_type), (register_gst_debug_color_flags),
129         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
130         (gst_iterator_result_get_type), (register_gst_iterator_item),
131         (gst_iterator_item_get_type), (register_gst_message_type),
132         (gst_message_type_get_type), (register_gst_mini_object_flags),
133         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
134         (gst_pad_link_return_get_type), (register_gst_flow_return),
135         (gst_flow_return_get_type), (register_gst_activate_mode),
136         (gst_activate_mode_get_type), (register_gst_pad_direction),
137         (gst_pad_direction_get_type), (register_gst_pad_flags),
138         (gst_pad_flags_get_type), (register_gst_pad_presence),
139         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
140         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
141         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
142         (gst_plugin_error_get_type), (register_gst_plugin_flags),
143         (gst_plugin_flags_get_type), (register_gst_rank),
144         (gst_rank_get_type), (register_gst_query_type),
145         (gst_query_type_get_type), (register_gst_tag_merge_mode),
146         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
147         (gst_tag_flag_get_type), (register_gst_task_state),
148         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
149         (gst_alloc_trace_flags_get_type),
150         (register_gst_type_find_probability),
151         (gst_type_find_probability_get_type), (register_gst_uri_type),
152         (gst_uri_type_get_type), (register_gst_parse_error),
153         (gst_parse_error_get_type):
154         * win32/common/gstenumtypes.h:
155         * win32/common/gstversion.h:
156           update visual studio generated files
157
158 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
159
160         * win32/vs6/libgstbase.dsp:
161         * win32/vs6/libgstelements.dsp:
162           update project files for new locations
163
164 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
165
166         * Makefile.am:
167           remove some files
168         * README:
169           reinstate and update
170         * DEVEL:
171         * REQUIREMENTS:
172           removed
173         * LICENSE:
174         * docs/random/LICENSE:
175           moved to random
176
177 2005-11-30  Edward Hervey  <edward@fluendo.com>
178
179         * gst/gsttypefind.c: (gst_type_find_register):
180         * gst/gsttypefind.h:
181         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
182         (gst_type_find_factory_dispose):
183         * gst/gsttypefindfactory.h:
184         Fix memory leak in GstTypeFindFactory.
185
186 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
187
188         * gst/gst.c:
189         * plugins/elements/Makefile.am:
190         * plugins/elements/gstelements.c:
191         * plugins/elements/gstqueue.c:
192           move queue from core to the elements plugin
193
194 2005-11-29  Andy Wingo  <wingo@pobox.com>
195
196         * libs/gst/base/gstbasetransform.h: 
197         * libs/gst/base/gstbasesrc.h: 
198         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
199
200         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
201         of pointers by which to pad very extensible base classes (like the
202         ones in libs/gst/base).
203
204 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
205
206         * docs/gst/gstreamer-docs.sgml:
207         * docs/gst/gstreamer-sections.txt:
208         * docs/libs/gstreamer-libs-docs.sgml:
209         * docs/libs/gstreamer-libs-sections.txt:
210           moving documentation from core to lib
211
212 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
213
214         * check/Makefile.am:
215         * configure.ac:
216         * docs/gst/Makefile.am:
217         * gst/Makefile.am:
218         * gst/base/.cvsignore:
219         * gst/base/Makefile.am:
220         * gst/base/README:
221         * gst/base/gstadapter.c:
222         * gst/base/gstadapter.h:
223         * gst/base/gstbasesink.c:
224         * gst/base/gstbasesink.h:
225         * gst/base/gstbasesrc.c:
226         * gst/base/gstbasesrc.h:
227         * gst/base/gstbasetransform.c:
228         * gst/base/gstbasetransform.h:
229         * gst/base/gstcollectpads.c:
230         * gst/base/gstcollectpads.h:
231         * gst/base/gstpushsrc.c:
232         * gst/base/gstpushsrc.h:
233         * gst/base/gsttypefindhelper.c:
234         * gst/base/gsttypefindhelper.h:
235         * gst/check/Makefile.am:
236         * gst/check/gstcheck.c:
237         * gst/check/gstcheck.h:
238         * gst/net/Makefile.am:
239         * gst/net/gstnet.h:
240         * gst/net/gstnetclientclock.c:
241         * gst/net/gstnetclientclock.h:
242         * gst/net/gstnettimepacket.c:
243         * gst/net/gstnettimepacket.h:
244         * gst/net/gstnettimeprovider.c:
245         * gst/net/gstnettimeprovider.h:
246         * libs/gst/Makefile.am:
247         * libs/gst/base/Makefile.am:
248         * libs/gst/base/gstbasetransform.c:
249         * libs/gst/check/Makefile.am:
250         * plugins/elements/Makefile.am:
251         * po/POTFILES.in:
252           CVS surgery + support to move base, check, and net out of gst
253           and into libs/gst
254
255 2005-11-29  Andy Wingo  <wingo@pobox.com>
256
257         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
258
259         * gst/gststructure.h (struct _GstStructure): Only one pointer of
260         padding.
261
262         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
263
264         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
265
266         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
267
268         * gst/gstobject.h: (struct _GstObject): Only one pointer of
269         padding; reduces object size by about 30%. We don't expect
270         anything else to go into gstobject.
271
272         * gst/gstminiobject.h (struct _GstMiniObject)
273         (struct _GstMiniObjectClass): Only one pointer of padding; the
274         payload is only a pointer and two ints anyway. For the class there
275         are only two methods as well.
276         
277         * gst/gstelement.h (struct _GstElementClass): Removed
278         the state_changed signal callback, it is not used.
279
280 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
281
282         * docs/gst/gstreamer.types:
283           fix includes, though they are a little dinky
284
285 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
286
287         * check/Makefile.am:
288           look in the right place for elements, a lot more chance of
289           success
290         * gst/Makefile.am:
291           remove indexers and elements subdirs
292         * plugins/Makefile.am:
293           make indexers conditional
294
295 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
296
297         * Makefile.am:
298         * configure.ac:
299         * plugins/elements/Makefile.am:
300         * plugins/elements/gstcapsfilter.c:
301         * plugins/elements/gstfilesink.c:
302         * plugins/elements/gstfilesrc.c:
303         * plugins/elements/gstidentity.c:
304         * plugins/indexers/Makefile.am:
305           do CVS surgery and related build fixery to move elements
306           and indexers in a new gstreamer/plugins directory, out of the
307           gst/ directory
308
309 2005-11-29  Andy Wingo  <wingo@pobox.com>
310
311         * check/Makefile.am:
312         * pkgconfig/gstreamer-net-uninstalled.pc.in:
313         * pkgconfig/gstreamer-net.pc.in:
314         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
315         #322257.
316
317 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
318
319         * tools/Makefile.am:
320         * tools/gst-complete.1.in:
321         * tools/gst-complete.c:
322         * tools/gst-compprep.1.in:
323         * tools/gst-compprep.c:
324           removing -compprep and -complete
325
326 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
327
328         * gst/gstevent.c: (gst_event_new_new_segment),
329         (gst_event_parse_new_segment):
330         * gst/gstevent.h:
331           fix #320529 - clean up new_segment API and structure.
332           Let's hope everyone was using the methods, and not the structure.
333
334 2005-11-29  Edward Hervey  <edward@fluendo.com>
335
336         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
337         (gst_base_sink_event), (gst_base_sink_do_sync),
338         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
339         Properly handle non GST_FORMAT_TIME segment
340         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
341         Properly handle non GST_FORMAT_TIME segment
342         * gst/gstsegment.c:
343         This function is valid if the accumulator is 0 and the format
344         is different from the requested format.
345         
346 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
347
348         * docs/gst/gstreamer-sections.txt:
349         Add gst_query_new_seeking and gst_query_parse_seeking to the
350         docs.
351
352 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
353
354         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
355           Treat a pad alloc with new caps the same as if we were not
356           negotiated, in order to allow a changing upstream output
357           to produce a new format of data.
358
359 2005-11-29  Edward Hervey  <edward@fluendo.com>
360
361         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
362         (gst_base_transform_event), (gst_base_transform_eventfunc):
363         The event virtual method is now properly implemented, with a default
364         handler
365         Sub classes should call the parent_class event method. They should
366         return FALSE if they had a problem handling the given event, or don't
367         want GstBaseTransform to send that even downstream
368         * gst/elements/gstidentity.c: (gst_identity_class_init),
369         (gst_identity_init), (gst_identity_event),
370         (gst_identity_transform_ip), (gst_identity_set_property),
371         (gst_identity_get_property):
372         * gst/elements/gstidentity.h:
373         Added the single-segment boolean property.
374         If set to TRUE, it will output a single segment of data, starting from
375         0, will eat up all incoming newsegment, and modify the timestamp of the
376         buffers accordingly
377
378 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
379
380         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
381           Don't ref NULL target pad (#322751). Improve docs.
382
383 2005-11-29  Michael Smith  <msmith@fluendo.com>
384
385         * gst/gstregistryxml.c: (load_plugin):
386           Don't crash if we failed to load a feature from a plugin. 
387
388 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
389
390         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
391         (GST_START_TEST):
392           use more check API and less GLib API
393
394 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
395
396         * Makefile.am:
397           don't run checks if we don't have check
398         * common/check.mak:
399           remove the registry when running make torture
400         * docs/gst/gstreamer-sections.txt:
401           remove second multiply
402         * gst/gstqueue.c: (gst_queue_loop):
403           fix a compile warning when disabling debug
404
405 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
406
407         * gst/gstinfo.h:
408         Hey! Let's print the pad name if the pointer != NULL instead
409         of when it == NULL :-)
410
411 2005-11-28  Wim Taymans  <wim@fluendo.com>
412
413         * check/gst/gstutils.c: (GST_START_TEST):
414         Updated check, add some scaling accuracy checking code.
415
416         * gst/gstutils.c: (gst_util_div128_64),
417         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
418         (gst_util_uint64_scale_int):
419         Fix 6 times faster division code. Optimize for common 
420         1/1 and less common X/1 cases.
421
422 2005-11-28  Wim Taymans  <wim@fluendo.com>
423
424         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
425         More checks.
426
427         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
428         (do_linear_regression), (gst_clock_add_observation):
429         Cleanups.
430         Release lock when the clock cannot be slaved.
431         Catch the case where the regression returned an invalid denominator.
432
433         * gst/gstutils.c: (gst_util_div128_64_iterate),
434         (gst_util_div128_64), (gst_util_uint64_scale_int64),
435         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
436         Add protentially more performant non-iterative 128/64 divide function
437         that unfortunatly does not work yet.
438         Shortcut the trivial 0/X = 0 case.
439         Remove the warnings on overflow.
440
441 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
442
443         * gst/gstplugin.c: (gst_plugin_register_func):
444           everything causing a plugin not to load should be at least a WARNING
445
446 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
447
448         * docs/random/ensonic/dparams.txt:
449           some TODOs for the next dev cycle
450         * libs/gst/controller/gstcontroller.c:
451         (gst_controlled_property_set_interpolation_mode),
452         (gst_controlled_property_new):
453         * libs/gst/controller/gstcontroller.h:
454           use base type to assign acccessor functions
455
456 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
457
458         * check/Makefile.am:
459         Oops, that should have been top_srcdir
460
461 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
462
463         * check/Makefile.am:
464         * check/elements/fdsrc.c: (GST_START_TEST):
465         Use a cmdline define to specify the location of a file to use for
466         testing, to avoid breaking distcheck.
467
468 2005-11-28  Andy Wingo  <wingo@pobox.com>
469
470         * gst/gstpad.c (fixate_value): Use array functions for arrays.
471
472 2005-11-28  Edward Hervey  <edward@fluendo.com>
473
474         * tools/gst-launch.c: (main):
475         Clarify the output strings, makes it easier to translate.
476         Fixes #322626
477
478 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
479
480         * gst/Makefile.am:
481           don't try and build net if we don't even have <sys/socket.h>
482
483 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
484
485         * check/Makefile.am:
486         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
487         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
488           Add tests for fdsrc seekability
489
490         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
491         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
492         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
493         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
494         * gst/elements/gstfdsrc.h:
495           fdsrc should not be a 'live' source.
496           Implement seeking on seekable fd's.
497
498         * gst/gstquery.c: (gst_query_new_seeking),
499         (gst_query_parse_seeking):
500         * gst/gstquery.h:
501           Implement SEEKING query functions: 
502             *_new_seeking and *_parse_seeking
503
504 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
505
506         * gst/gstelement.c: (gst_element_dispose):
507           don't loop forever
508
509         * gst/gstiterator.c:
510         * gst/gststructure.c:
511           doc fixes
512
513         * libs/gst/controller/gstcontroller.c:
514         (gst_controlled_property_set_interpolation_mode):
515         * libs/gst/controller/gstcontroller.h:
516         * libs/gst/controller/gstinterpolation.c:
517         (interpolate_none_get_enum_value_array):
518           support controlling enums
519
520 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
521
522         * gst/gstvalue.c:
523           Improve documentation for gst_value_union().
524
525         * gst/gstvalue.h:
526           Change return value for union, intersect and subtract functions
527           from gint to gboolean.
528
529 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
530
531         * gst/gstvalue.c: (gst_value_serialize_any_list),
532         (gst_value_transform_any_list_string),
533         (gst_value_deserialize_list), (gst_value_deserialize_array),
534         (gst_value_set_int_range), (gst_value_deserialize_int_range),
535         (gst_value_set_double_range), (gst_value_deserialize_double_range),
536         (gst_value_set_fraction_range_full),
537         (gst_value_deserialize_fraction_range),
538         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
539         (gst_value_deserialize_boolean),
540         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
541         (gst_value_serialize_float), (gst_value_deserialize_float),
542         (gst_string_wrap), (gst_value_deserialize_string),
543         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
544         (gst_value_union_int_range_int_range),
545         (gst_value_intersect_int_range_int_range),
546         (gst_value_intersect_double_range_double_range),
547         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
548         (gst_value_subtract_int_range_int_range),
549         (gst_value_subtract_double_double_range),
550         (gst_value_subtract_double_range_double_range),
551         (gst_value_deserialize_fraction):
552         * gst/gstvalue.h:
553           Use gint, gdouble and gchar in our API instead of int, double and
554           char (and make usage in gstvalue.c more consistent).
555
556 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
557
558         * check/Makefile.am:
559         * libs/gst/controller/Makefile.am:
560         * libs/gst/dataprotocol/Makefile.am:
561           fix up Makefile.am and remove GST_ENABLE_NEW
562
563 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
564
565         * configure.ac:
566         * gst/Makefile.am:
567         * gst/base/Makefile.am:
568         * gst/check/Makefile.am:
569         * gst/elements/Makefile.am:
570         * gst/net/Makefile.am:
571           update LDFLAGS use some more
572
573 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
574
575         * common/m4/gst-doc.m4:
576           Fixes #312589
577
578 2005-11-26  Edward Hervey  <edward@fluendo.com>
579
580         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
581         This shouldn't issue a g_warning since it returns NULL if it
582         couldn't find the plugin, and all functions using this behave
583         properly on a NULL return. Switching to a GST_WARNING.
584
585 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
586
587         * gst/gstbin.c: (gst_bin_handle_message_func):
588         Don't leak clock messages.
589
590 2005-11-25  Wim Taymans  <wim@fluendo.com>
591
592         * gst/gstutils.c: (gst_util_uint64_scale_int64),
593         (gst_util_uint64_scale_int):
594         Optimisations, remove unneeded vars.
595
596 2005-11-25  Wim Taymans  <wim@fluendo.com>
597
598         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
599         Added more checks for the high precision uint64 cases.
600
601         * gst/gstutils.c: (gst_util_uint64_scale_int64),
602         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
603         Implement high precission (guint64 * guint64) / guint64.
604
605 2005-11-24  Wim Taymans  <wim@fluendo.com>
606
607         * gst/base/gstbasesrc.c: (gst_base_src_query):
608         Fix wrong percentage query.
609
610         * gst/gstutils.c: (gst_util_uint64_scale),
611         (gst_util_uint64_scale_int):
612         Add some more common cases that can be handled 
613         efficiently to _scale.
614
615 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
616
617         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
618         (gst_mini_object_suite):
619           don't use check calls from threads; check probably isn't
620           threadsafe and using a lock to make it threadsafe would
621           defeat the purpose of this check
622         * gst/check/gstcheck.c:
623         * gst/check/gstcheck.h:
624           use GST_DEBUG some more
625
626 2005-11-24  Wim Taymans  <wim@fluendo.com>
627
628         * gst/gstutils.c: (gst_util_uint64_scale),
629         (gst_util_uint64_scale_int):
630         Chain trivial case to _scale_int.
631
632 2005-11-24  Wim Taymans  <wim@fluendo.com>
633
634         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
635         Added test for scaling.
636
637         * gst/gstclock.h:
638         Small doc fix.
639
640         * gst/gstutils.c: (gst_util_uint64_scale_int):
641         Implemented high precision scaling code.
642
643 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
644
645         * gst/gstinfo.h:
646           do not crash on pad==NULL
647
648 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
649
650         Patch by: Stefan Kost
651
652         * common/gtk-doc.mak:
653         * docs/gst/Makefile.am:
654         * docs/libs/Makefile.am:
655           Fix distcheck issues for the libraries docs build
656           Closes #319599.
657
658 2005-11-24  Michael Smith <msmith@fluendo.com>
659
660         * docs/manual/basics-helloworld.xml:
661           Fix bug #315027: memory leak in example code in docs.
662
663 2005-11-24  Michael Smith <msmith@fluendo.com>
664
665         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
666           Unlock the PREROLL_LOCK in a failure case.
667
668 2005-11-24  Wim Taymans  <wim@fluendo.com>
669
670         * docs/gst/gstreamer-sections.txt:
671         * gst/base/gstadapter.h:
672         * gst/base/gstbasesink.h:
673         * gst/base/gstbasesrc.h:
674         * gst/base/gstbasetransform.h:
675         * gst/base/gstpushsrc.h:
676         * gst/elements/gstfakesink.h:
677         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
678         * gst/elements/gstfakesrc.h:
679         * gst/elements/gstfilesink.h:
680         * gst/elements/gstfilesrc.h:
681         * gst/gst.c:
682         * gst/gstbin.c:
683         * gst/gstbuffer.c: (_gst_buffer_copy):
684         * gst/gstbus.h:
685         * gst/gstcaps.c:
686         * gst/gstchildproxy.c:
687         * gst/gstclock.c:
688         * gst/gstelement.c:
689         * gst/gstelementfactory.c:
690         * gst/gstelementfactory.h:
691         * gst/gstevent.c:
692         * gst/gstghostpad.h:
693         * gst/gstindex.h:
694         * gst/gstinterface.h:
695         * gst/gstminiobject.c:
696         * gst/gstminiobject.h:
697         * gst/gstpad.c:
698         * gst/gstpad.h:
699         * gst/gstpadtemplate.h:
700         * gst/gstpipeline.h:
701         * gst/gstpluginfeature.h:
702         * gst/gstquery.h:
703         * gst/gstqueue.h:
704         * gst/gsttaglist.c:
705         * gst/gsttaglist.h:
706         * gst/gsttagsetter.c:
707         * gst/gsttagsetter.h:
708         * gst/gsttrace.c:
709         * gst/gsttrace.h:
710         * gst/gsttypefind.h:
711         * gst/gsturi.h:
712         * gst/gstvalue.c:
713         * gst/net/gstnetclientclock.c:
714         * gst/net/gstnetclientclock.h:
715         * gst/net/gstnettimepacket.c:
716         * gst/net/gstnettimeprovider.c:
717         * gst/net/gstnettimeprovider.h:
718         Doc fixes.
719
720 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
721
722         * configure.ac: back to HEAD
723
724 === release 0.9.6 ===
725
726 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
727
728         * configure.ac:
729           releasing 0.9.6, "Always On Time"
730
731 2005-11-23  Wim Taymans  <wim@fluendo.com>
732
733         * docs/gst/gstreamer-sections.txt:
734         * gst/glib-compat.c:
735         * gst/gsttagsetter.c:
736         * gst/gstvalue.c:
737         * gst/net/gstnetclientclock.c:
738         * gst/net/gstnettimepacket.h:
739         Doc updates.
740
741 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
742
743         * docs/faq/using.xml:
744         * docs/libs/tmpl/gstcontrol.sgml:
745         * docs/manual/advanced-dparams.xml:
746         * docs/manual/appendix-checklist.xml:
747         * docs/manual/basics-elements.xml:
748         * docs/pwg/other-source.xml:
749         * docs/random/moving-plugins:
750         * gst/gstpad.c:
751         * tools/gst-launch.1.in:
752           remove mentions of sinesrc
753
754 2005-11-23  Michael Smith <msmith@fluendo.com>
755
756         * docs/gst/gstreamer-sections.txt:
757           Update for new API and API changes.
758         * gst/gstobject.h:
759           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
760         * gst/gstvalue.c:
761           Documentation typo fix.
762         * gst/net/gstnettimepacket.c:
763           Documentation fixes for arguments.
764
765 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
766
767         * gst/gststructure.c: (gst_structure_get_fraction),
768         (gst_structure_parse_value),
769         (gst_structure_fixate_field_nearest_fraction):
770         * gst/gststructure.h:
771         * gst/gstutils.c: (gst_util_uint64_scale_int):
772         * gst/gstutils.h:
773         * scripts/update-funcnames:
774         API Changes. 
775         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
776         Make gst_structure_fixate_field_nearest_fraction take a numerator
777         and denominator argument instead of a GValue
778         add gst_structure_get_fraction helper function.
779
780 2005-11-23  Wim Taymans  <wim@fluendo.com>
781
782         * docs/design/part-TODO.txt:
783         Update TODO.
784
785         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
786         * gst/net/gstnetclientclock.h:
787         Use parent fields for timeout and window_size.
788
789 2005-11-23  Andy Wingo  <wingo@pobox.com>
790
791         * check/net/gstnetclientclock.c (test_functioning): Adjust to
792         rate_num/rate_denom change.
793
794         * gst/net/gstnetclientclock.c
795         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
796         OBJECT_LOCK. Don't call add_observation with the lock.
797
798         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
799         fraction.
800         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
801         rate fraction.
802         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
803         deal with rate as a fraction whose numerator and denominator are
804         GstClockTime values.
805         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
806         master; the other fields are protected by the SLAVE_LOCK.
807         (do_linear_regression): Note that this must be called with the
808         SLAVE_LOCK.
809         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
810         OBJECT_LOCK. Call set_calibration instead of touching the
811         variables directly.
812         (gst_clock_set_property, gst_clock_get_property): Protect
813         master/slave parameters with the SLAVE_LOCK.
814
815         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
816         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
817         note that all of the instance variables that add_observation and
818         the set_master functions use are protected by that lock and not
819         the OBJECT_LOCK.
820         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
821
822         * gst/gstclock.c (gst_clock_add_observation): No longer requires
823         the caller to take the object lock.
824
825 2005-11-23  Wim Taymans  <wim@fluendo.com>
826
827         * gst/gsterror.c: (_gst_core_errors_init):
828         * gst/gsterror.h:
829         Add error for clock stuff.
830
831         * gst/gstpipeline.c: (gst_pipeline_change_state),
832         (gst_pipeline_set_clock):
833         Post clock error when clock cannot be used in a pipeline.
834
835 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
836
837         * docs/gst/gstreamer-sections.txt:
838           make two symbols from gstinfo private for the docs
839         * gst/base/gstcollectpads.h:
840         * gst/gstutils.c:
841           fix doc typos, update docs
842
843 2005-11-22  Wim Taymans  <wim@fluendo.com>
844
845         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
846         (gst_base_sink_wait), (gst_base_sink_do_sync),
847         (gst_base_sink_handle_event):
848         * gst/base/gstbasesink.h:
849         No need to store the clock, the parent element class already
850         has it.
851
852         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
853         Updates for clock_set returning a gboolean
854
855         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
856         (gst_clock_id_wait_async), (gst_clock_class_init),
857         (gst_clock_init), (gst_clock_finalize),
858         (gst_clock_get_internal_time), (gst_clock_get_time),
859         (gst_clock_slave_callback), (gst_clock_set_master),
860         (gst_clock_get_master), (do_linear_regression),
861         (gst_clock_add_observation), (gst_clock_set_property),
862         (gst_clock_get_property):
863         * gst/gstclock.h:
864         Implement master/slave. When setting a clock as a slave, a
865         periodic timeout is scheduled to sample master and slave times.
866         Then the slave clock is recalibrated to match offset and rate
867         of the master clock.
868         Update logging a bit.
869         Add flag so that a clock can state that is cannot be slaved to
870         another clock.
871
872         * gst/gstelement.c: (gst_element_set_clock):
873         * gst/gstelement.h:
874         The set clock returns a gboolean for when an element cannot
875         deal with the selected clock in the pipeline. 
876
877         * gst/gstpipeline.c: (gst_pipeline_change_state),
878         (gst_pipeline_set_clock):
879         * gst/gstpipeline.h:
880         Handle the case where the selected clock cannot be set on
881         the pipeline.
882
883         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
884         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
885         (gst_net_client_clock_set_property),
886         (gst_net_client_clock_get_property),
887         (gst_net_client_clock_observe_times):
888         * gst/net/gstnetclientclock.h:
889         Use regression code in GstClock parent, remove duplicated
890         functionality.
891
892 2005-11-22  Michael Smith <msmith@fluendo.com>
893
894         * gst/gstutils.c: (gst_util_clock_time_scale):
895         * gst/gstutils.h:
896         * docs/gst/gstreamer-sections.txt:
897           Rename method to have extra underscore.
898
899 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
900
901         * gst/elements/Makefile.am:
902         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
903         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
904         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
905         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
906         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
907         * gst/elements/gstfakesrc.h:
908         * gst/gstqueue.c: (queue_leaky_get_type):
909           correctly fix GEnumValues so that nick is the short lowercase
910           dashed tag
911         * tools/gst-inspect.c: (print_element_properties_info):
912           also show the nick, since it's useful to use from parse_launch
913           syntax
914           Fixes #322139
915
916 2005-11-22  Michael Smith <msmith@fluendo.com>
917
918         * gst/gstutils.c: (gst_util_clocktime_scale):
919         * gst/gstutils.h:
920         * docs/gst/gstreamer-sections.txt:
921           Add util method for scaling a clocktime by a fraction. Useful 
922           implementation is left as an exercise for the reader.
923
924 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
925
926         * gst/gstvalue.c: (gst_value_collect_fraction_range):
927         If needed, allocate storage in the destination value during
928         collection.
929
930 2005-11-22  Edward Hervey  <edward@fluendo.com>
931
932         * docs/gst/gstreamer-sections.txt:
933         * gst/Makefile.am:
934         * gst/gst.h:
935         * gst/gsturitype.c:
936         * gst/gsturitype.h:
937         * gst/gstutils.c: (gst_util_set_object_arg):
938         * tools/gst-compprep.c: (main):
939         * tools/gst-inspect.c: (print_element_properties_info):
940         Removed GstURI, closes bug #321061
941
942 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
943
944         * check/gst/gststructure.c: (GST_START_TEST):
945         * gst/gststructure.c: (gst_structure_parse_value):
946           Oops, broke automatic string type parsing.
947           Add a test to catch it in future.
948
949 2005-11-22  Andy Wingo  <wingo@pobox.com>
950
951         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
952         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
953         Actually rename the function implementations. Grr.
954
955 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
956
957         * check/gst/capslist.h:
958           Comment test cases
959         * check/gst/gststructure.c: (GST_START_TEST),
960         (gst_structure_suite):
961           Test automatic value type detection in gst_structure_from_string.
962         * gst/gststructure.c: (gst_structure_parse_value):
963           Add fraction as a type we try and guess automatically in
964           caps/structure strings.
965
966 2005-11-22  Andy Wingo  <wingo@pobox.com>
967
968         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
969
970         * gst/gsttagsetter.h:
971         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
972         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
973         (gst_tag_setter_add_tag_valist)
974         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
975         _add_values, _add_valist, and _add_valist_values. Since this is an
976         interface the function suffixes should be more explicit so
977         language binding don't end up with element.add_valist ->
978         gst_tag_setter_add_valist, for example. Fixes #322069.
979
980 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
981
982         * check/gst/gstcaps.c: (GST_START_TEST):
983           Extend caps string tests to check that a caps to string
984           conversion is reversible and produces the same caps.
985
986         * gst/gststructure.c: (gst_structure_value_get_generic_type):
987           Output "fraction" as the generic type fraction range, so caps
988           serialisation and deserialisation works.
989         * check/gst/capslist.h:
990         * gst/gstvalue.c: (gst_value_deserialize_fraction):
991           Support 'MIN' and 'MAX' for deserialising fractions.
992
993 2005-11-22  Andy Wingo  <wingo@pobox.com>
994
995         * gst/gstevent.h (gst_event_new_new_segment)
996         (gst_event_parse_new_segment, gst_event_new_buffer_size)
997         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
998         Renamed from *_newsegment, *_buffersize, *_notarget.
999
1000         * scripts/update-funcnames: New script, performs the changes
1001         listed above.
1002
1003 2005-11-22  Wim Taymans  <wim@fluendo.com>
1004
1005         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1006         Make sure the GstFlowReturn is returned.
1007
1008         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1009         (gst_bus_add_signal_watch):
1010         * gst/gstbus.h:
1011         add gst_bus_add_signal_watch_full.
1012
1013         * gst/gstplugin.c: (gst_plugin_load_file):
1014         Small style cleanup.
1015
1016 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1017
1018         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1019           Block the fakesrc srcpad when we send an event, to avoid
1020           contention on the stream_lock causing random test failures.
1021
1022 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1023
1024         * check/gst/gstvalue.c: (GST_START_TEST):
1025         * gst/gstvalue.c: (gst_value_fraction_subtract):
1026           Fix subtraction.
1027
1028 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1029
1030         * gst/gst.h:
1031           include "gstchildproxy.h"
1032         * gst/gstchildproxy.h:
1033         * libs/gst/controller/gstcontroller.h:
1034           use G_GNUC_NULL_TERMINATED
1035
1036 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1037
1038         * check/gst/capslist.h:
1039         * check/gst/gstcaps.c: (GST_START_TEST):
1040         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1041         * gst/gststructure.c: (gst_structure_parse_range),
1042         (gst_structure_fixate_field_nearest_fraction):
1043         * gst/gststructure.h:
1044         * gst/gstvalue.c: (gst_value_init_fraction_range),
1045         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1046         (gst_value_collect_fraction_range),
1047         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1048         (gst_value_set_fraction_range_full),
1049         (gst_value_get_fraction_range_min),
1050         (gst_value_get_fraction_range_max),
1051         (gst_value_serialize_fraction_range),
1052         (gst_value_transform_fraction_range_string),
1053         (gst_value_compare_fraction_range),
1054         (gst_value_deserialize_fraction_range),
1055         (gst_value_intersect_fraction_fraction_range),
1056         (gst_value_intersect_fraction_range_fraction_range),
1057         (gst_value_subtract_fraction_fraction_range),
1058         (gst_value_subtract_fraction_range_fraction),
1059         (gst_value_subtract_fraction_range_fraction_range),
1060         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1061         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1062         (gst_value_transform_string_fraction), (_gst_value_initialize):
1063         * gst/gstvalue.h:
1064           Implement fraction ranges and extend GstFraction to support
1065           arithmetic subtraction, as well as deserialization from integer
1066           strings such as "100"
1067           Add a testsuite as for int and double range set operations
1068
1069 2005-11-21  Andy Wingo  <wingo@pobox.com>
1070
1071         * gst/gsttaglist.h: 
1072         * gst/gstcaps.h: 
1073         * gst/gststructure.h: Add glib-compat.h.
1074
1075 2005-11-21  Wim Taymans  <wim@fluendo.com>
1076
1077         * gst/gstbin.c: (gst_bin_change_state_func):
1078         Fix for #321595
1079
1080 2005-11-21  Wim Taymans  <wim@fluendo.com>
1081
1082         * gst/gstsegment.h:
1083         And add a nice define too.
1084
1085 2005-11-21  Wim Taymans  <wim@fluendo.com>
1086
1087         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1088         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1089         (gst_segment_set_duration), (gst_segment_set_last_stop),
1090         (gst_segment_set_seek), (gst_segment_set_newsegment),
1091         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1092         (gst_segment_clip):
1093         * gst/gstsegment.h:
1094         Make binding friendly.
1095
1096 2005-11-21  Andy Wingo  <wingo@pobox.com>
1097
1098         * gst/gsttagsetter.h: 
1099         * gst/gsttaglist.h: 
1100         * gst/gststructure.h: 
1101         * gst/gstcaps.h: 
1102         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1103         #319940.
1104
1105         * gst/gsterror.c (_gst_core_errors_init):
1106         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1107         category.
1108
1109         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1110         (noinst_HEADERS): noinst the -private.
1111
1112 2005-11-21  Michael Smith <msmith@fluendo.com>
1113
1114         * gst/gstplugin.h:
1115         * gst/gstregistry.h:
1116           Remove unimplemented declarations for which we can see no sensible
1117           use.
1118
1119 2005-11-21  Andy Wingo  <wingo@pobox.com>
1120
1121         * gst/gst.h: Include glib-compat.h.
1122
1123         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1124
1125         * gst/glib-compat.c: Include the public and the private header.
1126
1127         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1128
1129         * gst/gstvalue.c: 
1130         * gst/gstpad.c: 
1131         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1132
1133         * check/gst/gstevent.c (create_custom_events): Check that
1134         FLUSH_STOP is serialized.
1135
1136         * check/elements/identity.c (event_func): 
1137         * check/elements/fakesrc.c (event_func): No stream lock, the core
1138         takes it.
1139
1140         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1141         stream lock taking, yay.
1142
1143         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1144         ensure that core takes the stream lock.
1145
1146         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1147         lock name change.
1148
1149         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1150         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1151         it already. For the flush start we do take it though so we get the
1152         right preroll state change messages.
1153
1154         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1155         the stream lock here, the core does it for us.
1156
1157         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1158         GST_STREAM_GET_LOCK.
1159         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1160         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1161         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1162         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1163         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1164         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1165
1166         * gst/gstpad.c: Update for stream lock name change.
1167
1168         * gst/base/gstbasesink.c: Update for preroll lock name change.
1169
1170 2005-11-21  Wim Taymans  <wim@fluendo.com>
1171
1172         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1173         (gst_clock_get_master):
1174         * gst/gstclock.h:
1175         * gst/gstsystemclock.c: (gst_system_clock_init):
1176         Convert Clock flags to object flags.
1177         Added methods to manage master/slave clocks.
1178
1179 2005-11-21  Wim Taymans  <wim@fluendo.com>
1180
1181         * check/gst/gstsegment.c: (GST_START_TEST):
1182         * docs/design/part-TODO.txt:
1183         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1184         (gst_base_sink_event), (gst_base_sink_do_sync),
1185         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1186         (gst_base_sink_query), (gst_base_sink_change_state):
1187         * gst/base/gstbasesink.h:
1188         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1189         (gst_base_src_default_newsegment),
1190         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1191         (gst_base_src_get_range), (gst_base_src_loop),
1192         (gst_base_src_change_state):
1193         * gst/base/gstbasesrc.h:
1194         * gst/base/gstbasetransform.c:
1195         (gst_base_transform_prepare_output_buf),
1196         (gst_base_transform_event), (gst_base_transform_change_state):
1197         * gst/base/gstbasetransform.h:
1198         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1199         (gst_collect_pads_event):
1200         * gst/base/gstcollectpads.h:
1201         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1202         (gst_fake_src_create):
1203         * gst/elements/gstfakesrc.h:
1204         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1205         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1206         (gst_segment_set_last_stop), (gst_segment_set_seek),
1207         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1208         (gst_segment_to_running_time), (gst_segment_clip):
1209         * gst/gstsegment.h:
1210         More segment updates, replace code in plugins with segment
1211         helper functions.
1212
1213 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1214
1215         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1216         Don't ignore sscanf results
1217
1218 2005-11-21  Andy Wingo  <wingo@pobox.com>
1219
1220         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1221
1222         * *.h:
1223         * *.c: Ran scripts/update-macros. Oh yes.
1224
1225         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1226         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1227         GST_GET_LOCK, etc.
1228
1229         * scripts/update-macros: New script. Run it on your files to
1230         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1231         well.
1232
1233 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1234
1235         * docs/gst/Makefile.am:
1236         * docs/gst/gstreamer-docs.sgml:
1237         * docs/gst/gstreamer-sections.txt:
1238         * docs/gst/gstreamer.types:
1239         * gst/gstinfo.h:
1240           more docs fixes, add new api to the docs
1241
1242 2005-11-21  Andy Wingo  <wingo@pobox.com>
1243
1244         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1245         state_broadcast call.
1246
1247         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1248
1249 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1250
1251         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1252         function calls for arrays.
1253
1254 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1255
1256         * docs/random/ensonic/media-device-daemon.txt:
1257           wild idea, can this be done?
1258         * docs/gst/gstreamer-sections.txt:
1259         * gst/gsterror.h:
1260         * gst/gstfilter.c:
1261         * gst/gstfilter.h:
1262         * gst/gstplugin.h:
1263         * gst/gstpluginfeature.c:
1264         * gst/gsttrace.c:
1265         * gst/gstvalue.c:
1266         * gst/gstvalue.h:
1267           doc fixes and additions
1268
1269 2005-11-21  Andy Wingo  <wingo@pobox.com>
1270
1271         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1272         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1273         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1274         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1275         private to the basesrc implementation.
1276
1277         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1278         behalf of event function if necessary. It should no longer be
1279         necessary to take the stream lock in pad's event functions. Fixes
1280         #320299.
1281
1282 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1283         * docs/gst/gstreamer-sections.txt:
1284         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1285         (gst_structure_fixate_field_nearest_double),
1286         (gst_structure_fixate_field_boolean):
1287         * gst/gststructure.h:
1288         * win32/common/libgstreamer.def:
1289         * win32/gstreamer.def:
1290
1291         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1292         (#322027)
1293
1294 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1295
1296         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1297         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1298         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1299         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1300         (gst_fdsrc_uri_handler_init):
1301         * gst/elements/gstfdsrc.h:
1302           Port fd:// URI handler from 0.8 to fdsrc
1303
1304 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1305
1306         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1307         (gst_value_serialize_fourcc):
1308         * gst/gstvalue.h:
1309           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1310           consistent with our other format defines (#320324).
1311
1312 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1313
1314         * gst/gstvalue.c: (gst_value_is_fixed):
1315           Revert previous commit. Value lists are by definition
1316           not fixed, as they are a list of possible values.
1317
1318 2005-11-21  Andy Wingo  <wingo@pobox.com>
1319
1320         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1321         during the stable series if we need it. Fixes #319178.
1322
1323         * gst/gstevent.c (gst_event_new_filler): Removed.
1324
1325         * check/gst/gstevent.c: Update comment about filler events.
1326
1327 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1328
1329         * gst/gstvalue.c: (gst_value_is_fixed):
1330           Should handle both value arrays and value lists.
1331
1332 2005-11-21  Andy Wingo  <wingo@pobox.com>
1333
1334         patch by: Alessandro Dessina <alessandro nnva org>
1335
1336         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1337         functions to access arrays. Fixes #321962.
1338
1339 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1340
1341         * docs/gst/gstreamer.types:
1342           gst_collectpads_get_type => gst_collect_pads_get_type.
1343           
1344         * gst/base/gstbasetransform.c:
1345           Remove unused SIGNAL_HANDOFF enum.
1346
1347 2005-11-21  Andy Wingo  <wingo@pobox.com>
1348
1349         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1350         the event type (upstream, downstream, serialized). Renamed
1351         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1352         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1353         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1354
1355         * gst/gstevent.c: Update for new CUSTOM event names.
1356
1357         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1358
1359         * gst/gstevent.h:
1360         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1361         bug #319392.
1362
1363 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1364
1365         * docs/gst/gstreamer-sections.txt:
1366         * win32/common/libgstbase.def:
1367         * win32/libgstbase.def:
1368         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1369         (gst_collect_pads_class_init), (gst_collect_pads_init),
1370         (gst_collect_pads_finalize), (gst_collect_pads_new),
1371         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1372         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1373         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1374         (gst_collect_pads_start), (gst_collect_pads_stop),
1375         (gst_collect_pads_peek), (gst_collect_pads_pop),
1376         (gst_collect_pads_available), (gst_collect_pads_read),
1377         (gst_collect_pads_flush), (gst_collect_pads_event),
1378         (gst_collect_pads_chain):
1379         * gst/base/gstcollectpads.h:
1380           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1381           unimplemented functions as unimplemented. Add padding to
1382           GstCollectData. (#320766, #320423)
1383
1384 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1385
1386         * gst/gstmessage.c:
1387           Improve docs for DURATION message (usage of duration parameter)
1388           (#320113)
1389
1390 2005-11-20  Wim Taymans  <wim@fluendo.com>
1391
1392         * check/Makefile.am:
1393         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1394         (main):
1395         * gst/Makefile.am:
1396         * gst/gst.h:
1397         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1398         (gst_segment_set_seek), (gst_segment_set_newsegment),
1399         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1400         (gst_segment_clip):
1401         * gst/gstsegment.h:
1402         Added segment helper structure and methods. Not fully implemented
1403         yet.
1404         Added segment check.
1405
1406 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1407
1408         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1409           Add a deserialisation test for fractions
1410         * examples/metadata/read-metadata.c: (message_loop),
1411         (make_pipeline), (main):
1412           Fix up metadata reading sample.
1413         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1414           Debug format fix
1415         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1416           Don't try and fixate empty caps
1417         * gst/gst_private.h:
1418           Wrap in G_BEGIN_DECLS/G_END_DECLS
1419         * gst/gstvalue.c: (gst_value_collect_fraction),
1420         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1421         (gst_value_transform_string_fraction),
1422         (gst_value_compare_fraction):
1423           Add some extra guards to ensure that we don't end up 
1424           with an invalid denominator of 0 in a gstfraction and
1425           that fractions always get reduced.
1426
1427 2005-11-20  Wim Taymans  <wim@fluendo.com>
1428
1429         * docs/gst/gstreamer-sections.txt:
1430         * gst/gstbuffer.h:
1431         * gst/gstelement.c:
1432         * gst/gstformat.c:
1433         * gst/gstformat.h:
1434         * gst/gstindex.h:
1435         * gst/gstquery.c:
1436         * gst/gstquery.h:
1437         * gst/gstvalue.c:
1438         Doc fixes.
1439
1440 2005-11-20  Wim Taymans  <wim@fluendo.com>
1441
1442         * docs/design/part-TODO.txt:
1443         * gst/gstcaps.h:
1444         Make a proper enum of the flag.
1445
1446 2005-11-19  Wim Taymans  <wim@fluendo.com>
1447
1448         * docs/design/part-TODO.txt:
1449         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1450         (gst_format_to_quark), (gst_format_register):
1451         * gst/gstformat.h:
1452         * gst/gstquery.c: (_gst_query_initialize),
1453         (gst_query_type_get_name), (gst_query_type_to_quark),
1454         (gst_query_type_register):
1455         * gst/gstquery.h:
1456         Add type to quark and type to string conversions.
1457
1458 2005-11-19  Andy Wingo  <wingo@pobox.com>
1459
1460         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1461         #320097.
1462
1463 2005-11-19  Wim Taymans  <wim@fluendo.com>
1464
1465         * docs/design/part-TODO.txt:
1466         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1467         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1468         (gst_bin_handle_message_func):
1469         * gst/gstbin.h:
1470         Make message handling overridable.
1471
1472 2005-11-19  Andy Wingo  <wingo@pobox.com>
1473
1474         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1475
1476         * gst/gstclock.h:
1477         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1478         be a GstClockTime.
1479         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1480         is a GstClockTime. Fixes #321710.
1481
1482         * gst/gstclock.h (GstClock): Remove offset property. Add
1483         internal_calibration and external_calibration. Fix padding. Pad
1484         also by GstClockTime so we don't run into problems.
1485
1486         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1487         (gst_clock_get_rate_offset): Remove.
1488         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1489
1490         * gst/gstutils.h:
1491         * gst/gstutils.c (g_static_rec_cond_wait)
1492         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1493
1494         * gst/gstbin.c: Remove terrible continue_state prototype.
1495
1496         * gst/gstelement.h (gst_element_continue_state): Make public.
1497
1498         * gst/gstelement.h:
1499         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1500         by continue_state. Fixes #319389.
1501
1502         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1503         Really fixes #168438. However I don't see anywhere where the
1504         filter function is called... stupid GStreamer...
1505         
1506         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1507         don't have a dispose function, so it won't get called when the
1508         object is unreffed, but oh well!
1509
1510         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1511         allows a destroy function to be set so user_data can be freed.
1512         Fixes #168438.
1513         (gst_index_set_filter): Call gst_index_set_filter_full.
1514
1515         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1516
1517         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1518         string should produce an error, given the lack of a way to
1519         represent NULL strings. Fixes #165650.
1520         
1521         * gst/gstvalue.h: 
1522         * gst/gstvalue.c (gst_value_array_append_value) 
1523         (gst_value_array_prepend_value, gst_value_array_get_size) 
1524         (gst_value_array_get_value): New API, copied from
1525         gst_value_list_*, only operates on arrays.
1526         (gst_value_list_append_value, gst_value_list_prepend_value) 
1527         (gst_value_list_concat, gst_value_list_get_size) 
1528         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1529
1530         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1531         init_list, because it works on both.
1532         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1533         (gst_value_copy_list_or_array): Renamed from copy_list.
1534         (gst_value_free_list_or_array): Renamed from free_list.
1535         (gst_value_collect_list_or_array): Renamed from collect_list.
1536         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1537         (gst_value_list_or_array_peek_pointer): Renamed from
1538         list_peek_pointer.
1539         (_gst_value_array_value_table, _gst_value_list_value_table):
1540         Update value table functions.
1541         (gst_value_compare_list_or_array): Renamed from compare_list.
1542
1543         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1544         some constness.
1545
1546         * gst/gsttaglist.c:
1547         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1548         GstTagList*. Fixes #143472.
1549
1550         * gst/gststructure.h: Clarify what the foreach/map functions can
1551         or can't do to their arguments.
1552
1553 2005-11-18  Wim Taymans  <wim@fluendo.com>
1554
1555         * gst/gstclock.c: (gst_clock_set_calibration),
1556         (gst_clock_get_calibration):
1557         Doc and API fixes.
1558         Calibration can be set with internal time equal to current
1559         internal time too.
1560
1561 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1562
1563         * gst/gsterror.c:
1564         * gst/gsterror.h:
1565           document
1566
1567 2005-11-18  Andy Wingo  <wingo@pobox.com>
1568
1569         * configure.ac: 
1570         * pkgconfig/gstreamer-net.pc.in:
1571         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1572         * pkgconfig/Makefile.am: Add net pkgconfig files.
1573
1574 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1575
1576         * gst/gstcaps.c:
1577         * gst/gstghostpad.c:
1578         * gst/gsttrace.c:
1579         * gst/gstvalue.c:
1580         * gst/gstvalue.h:
1581           docs fixes
1582
1583 2005-11-18  Andy Wingo  <wingo@pobox.com>
1584
1585         * gst/net/gstnetclientclock.c: Turn off debugging.
1586
1587         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1588         times connverge somewhat. Can't make a real test.
1589
1590         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1591         integer arithmetic. Return the minimum of the domain, which can be
1592         set as "internal" for gst_clock_set_calibration.
1593         (gst_net_client_clock_observe_times): Call _set_calibration.
1594         (gst_net_client_clock_new): Call _set_calibration instead of
1595         rate_offset.
1596
1597         * check/net/gstnetclientclock.c (test_functioning): Use the right
1598         adjustment api.
1599
1600         * gst/gstclock.h:
1601         * gst/gstclock.c (gst_clock_get_calibration) 
1602         (gst_clock_set_calibration): New functions, obsolete the ones I
1603         added yesterday. Doh. Precision issues mean we have to extrapolate
1604         from a point in the more recent past than 1970.
1605         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1606         obsolete.
1607         (gst_clock_adjust_unlocked): Use the right calibration data.
1608
1609 2005-11-18  Edward Hervey  <edward@fluendo.com>
1610
1611         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1612         Also reset the ->current_* values in READY->PAUSED
1613
1614 2005-11-18  Andy Wingo  <wingo@pobox.com>
1615
1616         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1617         Whoops, check the right fd. Also add some debugging.
1618         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1619         (do_linear_regression): Add a crapload of debugging. Subtract off
1620         the minimum values from the input series to discard unneeded bits.
1621         Use only int arithmetic. There is still double arithmetic when
1622         calculating the intercept that needs fixing. Return boolean to
1623         indicate success; FALSE would mean the domain or range is too
1624         great. Still needs fixes.
1625
1626 2005-11-18  Wim Taymans  <wim@fluendo.com>
1627
1628         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1629         For the current position in stream time, we need to subtract
1630         accumulated time.
1631         
1632         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1633         Release lock before calling the callback function of async
1634         entries.
1635
1636 2005-11-18  Andy Wingo  <wingo@pobox.com>
1637
1638         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1639         Port goes all the way to MAXUINT16.
1640
1641         * gst/net/gstnettimeprovider.c: Make the port range the same as
1642         for the kernel: 0 assigns, otherwise ports are less than
1643         MAXUINT16.
1644
1645         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1646         port change.
1647
1648         * check/net/gstnetclientclock.c (test_functioning): Add the start
1649         of another test. 
1650
1651 2005-11-18  Wim Taymans  <wim@fluendo.com>
1652
1653         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1654         (gst_bin_remove_func), (bin_bus_handler):
1655         * gst/gstbin.h:
1656         Removing a clock provider from a bin, triggers a clock lost message
1657         so that a new clock will be selected.
1658         Adding a clock to a bin triggers a clock provider message.
1659         Make sure we reselect a clock when we received a clock lost message.
1660         Keep a reference to the element that provided the clock.
1661
1662 2005-11-18  Andy Wingo  <wingo@pobox.com>
1663
1664         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1665         the clock initially so it produces values around the base time.
1666         (gst_net_client_clock_class_init): Typo fix.
1667         (gst_net_client_clock_thread): Add note on when the socket gets
1668         closed.
1669
1670 2005-11-17  Wim Taymans  <wim@fluendo.com>
1671
1672         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1673         Free remote and local time arrays.
1674
1675 2005-11-17  Wim Taymans  <wim@fluendo.com>
1676
1677         * gst/net/gstnetclientclock.c: (do_linear_regression),
1678         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1679         Fix compilation, uninitialized vars and a forgotten continue.
1680
1681 2005-11-17  Andy Wingo  <wingo@pobox.com>
1682
1683         * check/Makefile.am (check_PROGRAMS): 
1684         * check/net/gstnetclientclock.c: Add a most minimal test for the
1685         net client clock. More to come later.
1686
1687         * gst/net/gstnet.h: 
1688         * gst/net/Makefile.am: Add netclientclock.
1689
1690         * gst/net/gstnetclientclock.h:
1691         * gst/net/gstnetclientclock.c: New files, implement an untested
1692         GstClock that takes its time from a network time provider.
1693         Implements the algorithm in network-clock.scm.
1694
1695         * tests/network-clock.scm (*window-size*): Rename from
1696         *queue-length*.
1697         * tests/network-clock.scm (network-time): 
1698         * tests/network-clock-utils.scm (q-push): Update callers.
1699
1700 2005-11-17  Wim Taymans  <wim@fluendo.com>
1701
1702         * gst/gstbin.c: (gst_bin_provide_clock_func),
1703         (gst_bin_sort_iterator_new):
1704         And unref the child too..
1705
1706 2005-11-17  Wim Taymans  <wim@fluendo.com>
1707
1708         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1709         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1710         Refactor the sort iterator so it can be used while holding the
1711         LOCK too.
1712         Make clock selection select a clock closest to the source.
1713
1714 2005-11-17  Michael Smith <msmith@fluendo.com>
1715
1716         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1717         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1718         * gst/gstclock.h:
1719           Anonymous structs are a gcc (and some other compilers) extension, so
1720           don't use them. Since this is only for ABI-compatibility, and our
1721           API/ABI freeze is over in a few days, this whole thing will only
1722           last a few days, so don't bother trying to think up a meaningful
1723           name for the struct.
1724
1725 2005-11-17  Andy Wingo  <wingo@pobox.com>
1726
1727         * gst/gstclock.h (GstClock): Add rate and offset properties,
1728         preserving ABI stability. Add rate/offset accessors. Will file bug
1729         for the freeze break.
1730
1731         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1732         and offset, trying to keep precision and avoiding
1733         underflow/overflow.
1734         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1735         functions. Make gst_clock_set_time_adjust obsolete.
1736         (gst_clock_set_time_adjust): Note that this function is obsolete.
1737         Will file bug soon.
1738
1739         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1740         greppable by using GST_PADDING-1+1.
1741
1742 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1743
1744         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1745
1746         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1747           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1748
1749         * gst/gstpadtemplate.h:
1750         * gst/gstpluginfeature.h:
1751           Don't use c++ style comments in headers (#321638).
1752
1753 2005-11-16  Andy Wingo  <wingo@pobox.com>
1754
1755         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1756         buffer.
1757
1758         * check/net/gstnettimeprovider.c: Check to see that the time
1759         provider actually provides times. Works, yo!
1760
1761 2005-11-16  Wim Taymans  <wim@fluendo.com>
1762
1763         * check/Makefile.am:
1764         Enable more tests.
1765
1766         * check/elements/fakesrc.c: (GST_START_TEST):
1767         Set element to NULL before disposing it.
1768
1769 2005-11-16  Andy Wingo  <wingo@pobox.com>
1770
1771         * gst/net/Makefile.am:
1772         * gst/net/gstnet.h:
1773         * gst/net/gstnettimeprovider.c: 
1774         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1775         provider, include it from gstnet.h, and add it to the build.
1776
1777         * gst/net/gstnettimepacket.h: 
1778         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1779         sending and receiving.
1780
1781 2005-11-16  Wim Taymans  <wim@fluendo.com>
1782
1783         * check/Makefile.am:
1784         Enable valgrind check.
1785
1786         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1787         (gst_fake_src_alloc_buffer):
1788         Fix memleak.
1789
1790 2005-11-16  Wim Taymans  <wim@fluendo.com>
1791
1792         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1793         Call parent finalize too.
1794
1795 2005-11-16  Wim Taymans  <wim@fluendo.com>
1796
1797         * check/Makefile.am:
1798         Enable valgrind check that should work fine now.
1799
1800         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1801         * gst/gstqueue.c: (gst_queue_init):
1802         Fix memleaks in pad allocation.
1803
1804 2005-11-16  Andy Wingo  <wingo@pobox.com>
1805
1806         * gst/net/Makefile.am:
1807         * gst/net/gstnet.h: New part of core to hold network elements and
1808         objects. Put in core because it exposes API that applications want
1809         to use. The library is named libgstnet-tempname right now because
1810         of the existing libgstnet in gst-plugins-base. Solution is
1811         probably to rename the one in plugins-base; will file a bug for
1812         the freeze break.
1813
1814         * gst/net/gstnettimeprovider.c: 
1815         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1816         get_time call over the network.
1817
1818         * configure.ac: 
1819         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1820
1821         * check/Makefile.am:
1822         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1823         get additions shortly.
1824
1825 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1826
1827         * gst/gstpad.c: (gst_pad_new_from_static_template):
1828         * gst/gstpad.h:
1829           add gst_pad_new_from_static_template functions
1830         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1831         (gst_check_setup_sink_pad):
1832         * gst/elements/gsttee.c: (gst_tee_init):
1833           and use them
1834
1835 2005-11-16  Wim Taymans  <wim@fluendo.com>
1836
1837         * gst/gstpad.c: (gst_pad_pause_task):
1838         Removed warning, it's not really an error either.
1839
1840 2005-11-16  Wim Taymans  <wim@fluendo.com>
1841
1842         * gst/base/gstbasetransform.c:
1843         (gst_base_transform_prepare_output_buf),
1844         (gst_base_transform_event):
1845         Check if the caps are NULL, this can happen if the element
1846         is shutting down and the pad caps are set to NULL.
1847
1848 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1849
1850         * gst/elements/gsttee.c: (gst_tee_init):
1851           fix pad template leak in tee
1852
1853 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1854
1855         * gst/glib-compat.c: (g_value_dup_gst_object):
1856         * gst/glib-compat.h:
1857         * gst/gstpad.c: (gst_pad_set_property):
1858           use gst_object_ref when setting the pad template; this will
1859           trigger the pad template leaks on GLib 2.6 and the slaves
1860
1861 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1862
1863         * gst/glib-compat.c: (gst_flags_get_first_value):
1864         * gst/glib-compat.h:
1865         * gst/gstregistryxml.c:
1866           remove functions copied from GLib 2.6
1867
1868 2005-11-16  Michael Smith <msmith@fluendo.com>
1869
1870         * gst/Makefile.am:
1871           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1872           do, but only breaks with newer valgrind versions. We're not a
1873           valgrind tool, we have no link-time dependencies on libcoregrind.
1874
1875 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1876
1877         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1878           some debug changes
1879         * gst/gstmessage.h:
1880           typo fixes
1881
1882 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1883
1884         * gst/base/gstbasesrc.c: (gst_base_src_init):
1885         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1886         * gst/gstqueue.c: (gst_queue_init):
1887         * gst/gstregistryxml.c: (load_feature):
1888           Revert all these unrefs, they don't even pass make check !
1889
1890 2005-11-15  Johan Dahlin  <johan@gnome.org>
1891
1892         * gst/base/gstbasesrc.c: (gst_base_src_init):
1893         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1894         * gst/gstqueue.c: (gst_queue_init): 
1895         Free pad templates, fixes a couple of leaks.
1896
1897 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1898
1899         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1900
1901         * gst/gstpad.c: (gst_pad_get_property):
1902           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1903           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1904           (#321452)
1905
1906 2005-11-15  Wim Taymans  <wim@fluendo.com>
1907
1908         * gst/gstevent.c:
1909         Small doc update.
1910
1911 2005-11-15  Andy Wingo  <wingo@pobox.com>
1912
1913         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1914
1915         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1916         using GST_CLOCK_TIME_NONE to disable base time management.
1917         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1918         time if it was NONE before.
1919         (gst_pipeline_change_state): Only munge the base time if
1920         stream_time != GST_CLOCK_TIME_NONE.
1921
1922         * check/gst/gstpipeline.c (test_base_time): Punt around the
1923         problem of the probe not being called, because that's not the
1924         issue I'm looking at. Add a check that setting stream_time to NONE
1925         disables base time management.
1926         
1927 2005-11-15  Wim Taymans  <wim@fluendo.com>
1928
1929         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1930         segment_stop == -1 at startup.
1931
1932         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1933         (gst_base_transform_change_state):
1934         Init segment values at start.
1935
1936 2005-11-15  Wim Taymans  <wim@fluendo.com>
1937
1938         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1939         0 segment values are 0 in any format.
1940
1941         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1942         * gst/base/gstbasetransform.h:
1943         Parse newsegment correctly in basetransform
1944
1945         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1946         Sync to clock using updated segment values.
1947
1948 2005-11-15  Andy Wingo  <wingo@pobox.com>
1949
1950         * check/gst/gstpipeline.c (test_base_time): Add check that the
1951         base time and stream time are reset correctly.
1952
1953 2005-11-15  Wim Taymans  <wim@fluendo.com>
1954
1955         * docs/design/part-TODO.txt:
1956         Some more TODO items.
1957
1958 2005-11-15  Andy Wingo  <wingo@pobox.com>
1959
1960         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1961         error if the user selected "no clock" as the clocking method.
1962
1963         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1964         timestamps with live capture.
1965
1966         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1967         is 0 but we are a live source, timestamp the buffers using the
1968         element's clock.
1969
1970 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1971
1972         * docs/gst/gstreamer-sections.txt:
1973         * gst/gsterror.c:
1974         * gst/gstghostpad.c:
1975         * gst/gstobject.h:
1976         * gst/gstxml.c:
1977           more section docs
1978
1979 2005-11-14  Wim Taymans  <wim@fluendo.com>
1980
1981         * common/gst.supp:
1982           add suppressions from Wim's Debian machine
1983
1984 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1985
1986         * common/gst.supp:
1987           add suppressions from Andy's AMD64 Ubuntu machine
1988
1989 2005-11-14  Andy Wingo  <wingo@pobox.com>
1990
1991         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1992         STATE_LOCK not necessary. Fixes #311489.
1993
1994         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1995         #305291.
1996
1997         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1998         this function is not implemented.
1999
2000 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2001
2002         * gst/base/gstbasetransform.c:
2003         (gst_base_transform_prepare_output_buf):
2004         Ref the source pad caps while we need them.
2005         Fixes (#321386)
2006
2007 2005-11-11  Wim Taymans  <wim@fluendo.com>
2008
2009         * docs/gst/gstreamer-sections.txt:
2010         Added some docs for GstCollectData.
2011
2012         * gst/base/gstadapter.c:
2013         Some small code example fix.
2014
2015         * gst/base/gstcollectpads.c:
2016         * gst/base/gstcollectpads.h:
2017         Document some more.
2018
2019 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2020
2021         * configure.ac: back to HEAD
2022
2023 === release 0.9.5 ===
2024
2025 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2026
2027         * configure.ac:
2028           releasing 0.9.5, "Bike Lunch Day"
2029
2030 2005-11-11  Wim Taymans  <wim@fluendo.com>
2031
2032         * gst/gstbuffer.c: (_gst_buffer_copy):
2033         Copy more flags.
2034
2035         * gst/gstcaps.c: (gst_caps_is_equal):
2036         Fix some docs.
2037         Make _is_equal fast in the trivial cases.
2038
2039         * gst/gstminiobject.c:
2040         * gst/gstminiobject.h:
2041         More docs. Spifify .h file.
2042
2043         * gst/gstutils.c:
2044         Small doc update.
2045
2046 2005-11-11  Wim Taymans  <wim@fluendo.com>
2047
2048         * gst/base/gstbasetransform.c:
2049         (gst_base_transform_prepare_output_buf),
2050         (gst_base_transform_handle_buffer):
2051         Small cleanups.
2052         If we're processing a buffer and need to allocate an output
2053         buffer, we cannot accept a format change. If we did get a 
2054         format change, we have to alloc a buffer ourselves of the 
2055         right size.
2056
2057 2005-11-11  Wim Taymans  <wim@fluendo.com>
2058
2059         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2060         While checking the flag for reentrancy in the gstcaps function
2061         is nice to detect recursive invocations, it also makes it 
2062         impossible to call getcaps from multiple threads, which must be
2063         possible. So, checking for recursive calls has to go.
2064
2065 2005-11-11  Michael Smith <msmith@fluendo.com>
2066
2067         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2068           Don't sync on buffers that fall partially outside our current
2069           segment. Prevents an assertion failure/abort playing some files.
2070
2071 2005-11-10  Andy Wingo  <wingo@pobox.com>
2072
2073         * check/gst/gstbin.c (test_message_state_changed_children): Style
2074         fix..
2075
2076         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2077         gst_bus_poll with the signal watch. Ensures that poll and a signal
2078         watch see the same messages.
2079
2080         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2081         a poll and a watch at the same time get the same messages.
2082
2083 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2084
2085         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2086         * gst/gstcaps.c: (gst_caps_intersect):
2087           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2088           and it's not needed.
2089
2090 2005-11-10  Wim Taymans  <wim@fluendo.com>
2091
2092         * docs/design/part-TODO.txt:
2093         Updated todo.
2094
2095 2005-11-10  Wim Taymans  <wim@fluendo.com>
2096
2097         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2098         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2099         (gst_base_src_do_sync), (gst_base_src_get_range):
2100         Implement clock sync in base class.
2101
2102 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2103
2104         patch by: Tim-Philipp Müller <tim at centricular dot net>
2105
2106         * gst/gststructure.c: (gst_structure_parse_field),
2107         (gst_structure_from_string):
2108           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2109           so that gst_parse_launch() can deal with spaces in filtered link
2110           caps (fixes #164479)
2111         * check/gst/capslist.h:
2112         * check/gst/gststructure.c: (GST_START_TEST):
2113           add unit tests for this change
2114
2115 2005-11-10  Wim Taymans  <wim@fluendo.com>
2116
2117         * docs/gst/gstreamer-sections.txt:
2118         * gst/gstelement.c:
2119         * gst/gstelement.h:
2120         Fix docs, move some STATE macros to private.
2121
2122 2005-11-10  Wim Taymans  <wim@fluendo.com>
2123
2124         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2125         Added check for bug #317341
2126
2127         * gst/gstbuffer.c:
2128         * gst/gstbuffer.h:
2129         Some more spiffifying.
2130
2131         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2132         Call peer linkfunction if we are a source pad. Totally fixes
2133         #317341
2134
2135         * gst/gstpad.c:
2136         Update docs, source pads should call the peer linkfunction
2137         so they can atomically perform the pad link.
2138
2139 2005-11-09  Wim Taymans  <wim@fluendo.com>
2140
2141         * gst/gstbuffer.c:
2142         * gst/gstbuffer.h:
2143         Uber-spiffy-spiffify some more.
2144
2145 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2146
2147         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2148         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2149         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2150         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2151         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2152         * gst/gstpad.c: (gst_pad_init):
2153           Use GST_DEBUG_FUNCPTR() more extensively.
2154
2155 2005-11-09  Wim Taymans  <wim@fluendo.com>
2156
2157         * gst/gstobject.c: (gst_object_class_init):
2158         * gst/gstobject.h:
2159         Documentation fixes.
2160
2161 2005-11-09  Edward Hervey  <edward@fluendo.com>
2162
2163         * gst/gsttypefindfactory.c:
2164         Fix docs.
2165         
2166 2005-11-09  Edward Hervey  <edward@fluendo.com>
2167
2168         * gst/base/gsttypefindhelper.c:
2169         * gst/gsttypefind.c:
2170         * gst/gsttypefind.h:
2171         Fix docs.
2172
2173 2005-11-09  Wim Taymans  <wim@fluendo.com>
2174
2175         * gst/gstiterator.c:
2176         Fix revision data.
2177
2178         * gst/gsttask.c:
2179         * gst/gsttask.h:
2180         Fix docs.
2181
2182 2005-11-09  Wim Taymans  <wim@fluendo.com>
2183
2184         * gst/gstevent.h:
2185         * gst/gsturi.h:
2186         Fix docs.
2187
2188 2005-11-09  Wim Taymans  <wim@fluendo.com>
2189
2190         * docs/gst/gstreamer-sections.txt:
2191         Moved the message async delivery private lock and cond
2192         to the private section.
2193
2194         * gst/gstmessage.c:
2195         * gst/gstmessage.h:
2196         Fixed docs.
2197
2198 2005-11-09  Edward Hervey  <edward@fluendo.com>
2199
2200         * docs/gst/gstreamer-sections.txt:
2201         * gst/gsturi.c:
2202         * gst/gsturi.h:
2203         Document GstURIHandler
2204
2205 2005-11-09  Wim Taymans  <wim@fluendo.com>
2206
2207         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2208         (gst_iterator_find_custom):
2209         * gst/gstiterator.h:
2210         Fix iterator docs.
2211
2212 2005-11-09  Wim Taymans  <wim@fluendo.com>
2213
2214         * gst/gstbin.h:
2215         Document another field.
2216
2217         * gst/gststructure.c:
2218         * gst/gststructure.h:
2219         Document.
2220
2221 2005-11-09  Wim Taymans  <wim@fluendo.com>
2222
2223         * gst/gstbin.h:
2224         Documented structs.
2225
2226 2005-11-09  Wim Taymans  <wim@fluendo.com>
2227
2228         * docs/gst/gstreamer-sections.txt:
2229         Added some new macros.
2230
2231         * gst/gstclock.c:
2232         * gst/gstclock.h:
2233         * gst/gstobject.h:
2234         Docs updates.
2235
2236 2005-11-09  Wim Taymans  <wim@fluendo.com>
2237
2238         * docs/design/part-TODO.txt:
2239         Some more items for the TODO
2240
2241         * gst/gstcaps.c:
2242         * gst/gstcaps.h:
2243         Document GstCaps.
2244
2245 2005-11-09  Andy Wingo  <wingo@pobox.com>
2246
2247         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2248         to work on something else now tho...
2249
2250         * gst/base/gstadapter.c: More adapter docs.
2251
2252         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2253         (gst_file_sink_stop): New functions, replace the state change
2254         handler.
2255         (gst_file_sink_class_init): Hook up the start and stop functions.
2256         (gst_file_sink_base_init): Don't set the state change handler any
2257         more. It was a bit ugly too, being set from here...
2258         (gst_file_sink_get_property, gst_file_sink_set_property):
2259         Cleanups...
2260         (gst_file_sink_set_location): More robust check that doesn't call
2261         GST_STATE. Ugggggg.
2262
2263 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2264
2265         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2266           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2267
2268 2005-11-08  Wim Taymans  <wim@fluendo.com>
2269
2270         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2271         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2272         (gst_base_sink_chain), (gst_base_sink_change_state):
2273         * gst/base/gstbasesink.h:
2274         * gst/base/gstbasesrc.h:
2275         * gst/gstelement.h:
2276         * gst/gstevent.h:
2277         Avoid excessive typechecking in macros.
2278
2279         * gst/gstminiobject.c: (gst_mini_object_get_type),
2280         (gst_mini_object_init), (gst_mini_object_new),
2281         (gst_mini_object_free):
2282         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2283         (gst_object_finalize):
2284         Remove cruft code, optimize alloc_trace.
2285
2286 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2287
2288         * docs/faq/gst-uninstalled:
2289           fix up PS1 for systems that try to reset it
2290
2291 2005-11-07  Wim Taymans  <wim@fluendo.com>
2292
2293         * gst/base/gstbasesrc.c: (gst_base_src_init),
2294         (gst_base_src_get_range):
2295         Set the segment_end to -1 initially. Fixed typefind.
2296
2297 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2298
2299         * gst/base/gstadapter.c:
2300           Debug category should be 'adapter', not 'GstAdapter'.
2301           
2302         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2303         (gst_collectpads_class_init), (gst_collectpads_init),
2304         (gst_collectpads_peek), (gst_collectpads_pop),
2305         (gst_collectpads_event), (gst_collectpads_chain):
2306           Add debug category and some debugging output. Use boilerplate
2307           macros. Remove some extraneous words from docs.
2308
2309 2005-11-05  Andy Wingo  <wingo@pobox.com>
2310
2311         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2312         macro.
2313
2314 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2315
2316         * docs/gst/gstreamer-sections.txt:
2317         * gst/gstcaps.h:
2318         * gst/gstinfo.c:
2319         * gst/gstminiobject.h:
2320         * gst/gstobject.h:
2321         * gst/gstutils.h:
2322           more docs added
2323
2324 2005-11-04  Wim Taymans  <wim@fluendo.com>
2325
2326         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2327         Small update to stop at the configured segment_end
2328         position.
2329
2330 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2331
2332         * gst/gstregistry.c:
2333         * gst/gstregistry.h:
2334           added missing docs
2335
2336 2005-11-04  Edward Hervey  <edward@fluendo.com>
2337
2338         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2339         Check if we are doing a segment seek and have arrived at the
2340         end of that segment.
2341
2342 2005-11-04  Wim Taymans  <wim@fluendo.com>
2343
2344         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2345         Don't leak a mutex unlock in case of an error.
2346
2347         * gst/gstbus.h:
2348         Doc fixes.
2349
2350 2005-11-04  Wim Taymans  <wim@fluendo.com>
2351
2352         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2353         (gst_bus_post):
2354         Get the context to wake up only once.
2355
2356 2005-11-03  Wim Taymans  <wim@fluendo.com>
2357
2358         * check/states/sinks.c: (GST_START_TEST):
2359         Uncomment fixed check.
2360
2361         * docs/design/part-TODO.txt:
2362         Updated TODO.
2363
2364         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2365         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2366         (gst_base_sink_get_position):
2367         If we are going to PLAYING, post the right pending state
2368         when we post the intermediate paused message.
2369
2370         * gst/gstelement.c: (gst_element_continue_state),
2371         (gst_element_set_state_func), (gst_element_change_state):
2372         Don't post state changes that were between the same state
2373         and were not ASYNC.
2374
2375 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2376
2377         * docs/gst/gstreamer-sections.txt:
2378         * gst/gstcaps.h:
2379         * gst/gstinfo.c:
2380         * gst/gstminiobject.h:
2381         * gst/gstobject.h:
2382         * gst/gstutils.h:
2383           more docs and doc style fixes
2384
2385 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2386
2387         * docs/gst/gstreamer-sections.txt:
2388         * gst/gstelement.c:
2389         * gst/gstminiobject.c:
2390         doc fixes
2391
2392 2005-11-03  Andy Wingo  <wingo@pobox.com>
2393
2394         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2395         state-changed messages actually have the right order and the right
2396         values.
2397
2398 2005-11-03  Wim Taymans  <wim@fluendo.com>
2399
2400         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2401         Added some more checks. Specifically the case where NO_PREROLL
2402         elements are in the pipeline.
2403
2404         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2405         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2406         (gst_base_sink_get_position):
2407         Post READY->PAUSED state change messages too.
2408         Fix bug where VOID was posted as pending state...
2409
2410         * gst/gstbin.c: (gst_bin_recalc_state):
2411         use _element_continue_state() to continue the state change.
2412
2413         * gst/gstelement.c: (gst_element_continue_state),
2414         (gst_element_commit_state), (gst_element_set_state_func),
2415         (gst_element_change_state), (gst_element_change_state_func):
2416         Lots of state change cleanups, assign the STATE_RETURN in
2417         a new continue_state() function that also propagates the
2418         last return value from a state change to the app.
2419         Update some debug statements with proper category.
2420
2421 2005-11-03  Wim Taymans  <wim@fluendo.com>
2422
2423         * docs/design/part-events.txt:
2424         * docs/design/part-gstpipeline.txt:
2425         * docs/design/part-messages.txt:
2426         * docs/design/part-overview.txt:
2427         * docs/design/part-seeking.txt:
2428         * docs/design/part-states.txt:
2429         * docs/design/part-trickmodes.txt:
2430         * docs/manual/advanced-position.xml:
2431         Small docs updates.
2432
2433         * gst/gstobject.h:
2434         People think !! is ugly, this looks better.
2435
2436         * gst/gstpad.c: (gst_pad_set_blocked_async):
2437         Remove !! since it's fixed elsewhere now.
2438
2439 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2440
2441         * gst/gstminiobject.h:
2442         * gst/gstobject.h:
2443           Add !! to _FLAG_IS_SET macros to make the result boolean.
2444
2445 2005-11-03  Edward Hervey  <edward@fluendo.com>
2446
2447         * gst/gstpad.c: (gst_pad_set_blocked_async):
2448         comparing a flag and a gboolean rarely returns coherent results...
2449         Added two characters (!!) to make that work correctly.
2450         
2451 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2452
2453         * gst/gstbus.c: (gst_bus_class_init):
2454           Fix some typos.
2455           
2456         * gst/gstqueue.c: (gst_queue_loop):
2457           Don't assume a miniobject that isn't a buffer is an
2458           event (it could be that there is a refcounting
2459           problem somewhere and the pointer is stale and
2460           refers to an already destroyed miniobject).
2461
2462 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2463
2464         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2465
2466 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2467
2468         * docs/manual/advanced-position.xml:
2469           Update seek example and explanations to current 0.9 API.
2470
2471         * gst/elements/gsttypefindelement.c:
2472         (gst_type_find_element_activate):
2473           Remove FIXME comment now that the found caps
2474           are unreffed.
2475
2476 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2477
2478         * gst/gstregistryxml.c: (load_feature):
2479           Add another GST_STR_NULL instance
2480
2481 2005-11-02  Edward Hervey  <edward@fluendo.com>
2482
2483         * gst/gstpad.c: (handle_pad_block):
2484         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2485         
2486 2005-11-02  Wim Taymans  <wim@fluendo.com>
2487
2488         * gst/gstbin.c:
2489         Fix typo in docs.
2490
2491         * gst/gstelement.c: (gst_element_commit_state):
2492         Remove unused value.
2493
2494         * gst/gstiterator.c:
2495         Mention that the returned element is reffed in the docs.
2496
2497 2005-11-02  Wim Taymans  <wim@fluendo.com>
2498
2499         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2500         (gst_pad_push), (gst_pad_push_event):
2501         Unlock blocked pads when they are flushed.
2502
2503 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2504
2505         * docs/README:
2506         * docs/gst/gstreamer-sections.txt:
2507         * gst/gstbin.c:
2508           doc updates
2509         * gst/gstregistry.c: (gst_registry_scan_path_level):
2510           fix for a nasty little missed situation where an installed plug-in
2511           which was in the cache did not get overridden by an uninstalled one
2512           which was earlier in the plugin path because the newly created plugin
2513           for the uninstalled one (not in the registry) didn't get its
2514           ->registered set to TRUE
2515
2516 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2517
2518         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2519         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2520         (gst_collectpads_is_active), (gst_collectpads_collect),
2521         (gst_collectpads_collect_range), (gst_collectpads_start),
2522         (gst_collectpads_stop), (gst_collectpads_peek),
2523         (gst_collectpads_pop), (gst_collectpads_available),
2524         (gst_collectpads_read), (gst_collectpads_flush):
2525           Guard public API with assertions.
2526         
2527         * gst/gstpad.c:
2528           Fix docs for gst_pad_set_link_function().
2529
2530 2005-11-02  Johan Dahlin  <johan@gnome.org>
2531
2532         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2533         Unref found_caps after we used it.
2534
2535 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2536
2537         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2538           Don't try to ref NULL.
2539
2540 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2541
2542         * win32/common/config.h.in:
2543           provide a GST_FUNCTION that just gives a string for now
2544
2545 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2546
2547         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2548         (gst_object_flags_get_type), (register_gst_bin_flags),
2549         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2550         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2551         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2552         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2553         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2554         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2555         (gst_clock_flags_get_type), (register_gst_state),
2556         (gst_state_get_type), (register_gst_state_change_return),
2557         (gst_state_change_return_get_type), (register_gst_state_change),
2558         (gst_state_change_get_type), (register_gst_element_flags),
2559         (gst_element_flags_get_type), (register_gst_core_error),
2560         (gst_core_error_get_type), (register_gst_library_error),
2561         (gst_library_error_get_type), (register_gst_resource_error),
2562         (gst_resource_error_get_type), (register_gst_stream_error),
2563         (gst_stream_error_get_type), (register_gst_event_type),
2564         (gst_event_type_get_type), (register_gst_seek_type),
2565         (gst_seek_type_get_type), (register_gst_seek_flags),
2566         (gst_seek_flags_get_type), (register_gst_format),
2567         (gst_format_get_type), (register_gst_index_certainty),
2568         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2569         (gst_index_entry_type_get_type),
2570         (register_gst_index_lookup_method),
2571         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2572         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2573         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2574         (gst_index_flags_get_type), (register_gst_debug_level),
2575         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2576         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2577         (gst_iterator_result_get_type), (register_gst_iterator_item),
2578         (gst_iterator_item_get_type), (register_gst_message_type),
2579         (gst_message_type_get_type), (register_gst_mini_object_flags),
2580         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2581         (gst_pad_link_return_get_type), (register_gst_flow_return),
2582         (gst_flow_return_get_type), (register_gst_activate_mode),
2583         (gst_activate_mode_get_type), (register_gst_pad_direction),
2584         (gst_pad_direction_get_type), (register_gst_pad_flags),
2585         (gst_pad_flags_get_type), (register_gst_pad_presence),
2586         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2587         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2588         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2589         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2590         (gst_plugin_flags_get_type), (register_gst_rank),
2591         (gst_rank_get_type), (register_gst_query_type),
2592         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2593         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2594         (gst_tag_flag_get_type), (register_gst_task_state),
2595         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2596         (gst_alloc_trace_flags_get_type),
2597         (register_gst_type_find_probability),
2598         (gst_type_find_probability_get_type), (register_gst_uri_type),
2599         (gst_uri_type_get_type), (register_gst_parse_error),
2600         (gst_parse_error_get_type):
2601         * win32/common/gstversion.h:
2602           update win32 copies
2603
2604 2005-11-01  Luca Ognibene  <luogni@tin.it>
2605
2606         * gst/gst.c:
2607           fix docs. popt is dead, long live GOption.
2608
2609 2005-10-31  Wim Taymans  <wim@fluendo.com>
2610
2611         * gst/gstbuffer.h:
2612         Small doc fix.
2613
2614 2005-10-31  Andy Wingo  <wingo@pobox.com>
2615
2616         * Boo!
2617
2618         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2619
2620         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2621         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2622         the possibility of deadlocks here if code calling notify() or
2623         set() has a lock that can be taken in another notify handler (ABBA
2624         with class lock and e.g. python GIL state lock).
2625
2626 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2627
2628         * gst/gstbus.c: Doc updates.
2629
2630 2005-10-28  Wim Taymans  <wim@fluendo.com>
2631
2632         * docs/design/part-TODO.txt:
2633         * gst/gstiterator.c:
2634         * gst/gstsystemclock.c:
2635         * gst/gstsystemclock.h:
2636         Doc updates.
2637
2638 2005-10-28  Edward Hervey  <edward@fluendo.com>
2639
2640         * docs/gst/gstreamer-docs.sgml:
2641         * docs/gst/gstreamer-sections.txt:
2642         the GstURIType documentation page is private, it only defines GstURIType
2643         which should be defined in the GstURIHandler page
2644         
2645 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2646
2647         * gst/gstbin.c: (gst_bin_class_init):
2648         * gst/gstbin.h:
2649         * gst/gstutils.c:
2650         Documentation updates.
2651
2652 2005-10-28  Wim Taymans  <wim@fluendo.com>
2653
2654         * docs/gst/gstreamer-sections.txt:
2655         * gst/gstclock.c:
2656         * gst/gstclock.h:
2657         Documented the clocks.
2658
2659 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2660
2661         * docs/gst/gstreamer-sections.txt:
2662           move some macros to private sections
2663         * gst/gstminiobject.c:
2664         * gst/gstminiobject.h:
2665           add descriptions provided by ds and some more
2666         * gst/gstpad.h:
2667           mark macro as to be removed
2668
2669 2005-10-28  Wim Taymans  <wim@fluendo.com>
2670
2671         * docs/design/part-TODO.txt:
2672         Add an item to TODO.
2673
2674         * gst/gstiterator.c: (gst_iterator_fold),
2675         (gst_iterator_find_custom):
2676         * gst/gstiterator.h:
2677         Add iterator docs.
2678
2679 2005-10-28  Wim Taymans  <wim@fluendo.com>
2680
2681         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2682         (gst_base_transform_init):
2683         Don't leak class.
2684
2685         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2686         An EOS event marks the queue as completely filled.
2687
2688 2005-10-27  Wim Taymans  <wim@fluendo.com>
2689
2690         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2691         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2692         Some more debugging.
2693
2694         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2695         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2696         (gst_base_transform_event), (gst_base_transform_getrange),
2697         (gst_base_transform_chain):
2698         * gst/base/gstbasetransform.h:
2699         Fix debugging,
2700         Protect transform and concurrent buffer alloc with a new lock.
2701         Try not to break ABI/API.
2702
2703 2005-10-27  Wim Taymans  <wim@fluendo.com>
2704
2705         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2706         (gst_base_src_init), (gst_base_src_query),
2707         (gst_base_src_default_newsegment),
2708         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2709         (gst_base_src_send_event), (gst_base_src_event_handler),
2710         (gst_base_src_pad_get_range), (gst_base_src_loop),
2711         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2712         (gst_base_src_start), (gst_base_src_deactivate),
2713         (gst_base_src_activate_push), (gst_base_src_change_state):
2714         Move some stuff around and cleanup things.
2715
2716 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2717
2718         * gst/base/gstbasesrc.c: (gst_base_src_query):
2719           Add missing break statements.
2720
2721 2005-10-27  Wim Taymans  <wim@fluendo.com>
2722
2723         * check/gst/gstbin.c: (GST_START_TEST):
2724         An extra refcount is taken in basesrc.
2725
2726         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2727         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2728         (gst_base_src_loop):
2729         Small cleanups, check for flushing after being unlocked from the 
2730         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2731         Don't send out EOS when going to READY.
2732
2733 2005-10-27  Wim Taymans  <wim@fluendo.com>
2734
2735         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2736         (gst_base_sink_get_position):
2737         Some more debug.
2738
2739         * gst/gstbin.c: (message_check), (bin_replace_message),
2740         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2741         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2742         (bin_query_duration_init), (bin_query_duration_fold),
2743         (bin_query_duration_done), (bin_query_generic_fold),
2744         (gst_bin_query):
2745         * tools/gst-launch.c: (main):
2746         Remove old option.
2747
2748 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2749
2750         * examples/controller/audio-example.c: (main):
2751         * examples/queue/queue.c: (event_loop):
2752         * gst/base/gstbasetransform.h:
2753         * gst/gstelement.c: (gst_element_send_event):
2754         * gst/gstevent.h:
2755         * gst/gstpad.c: (gst_pad_send_event):
2756           fixing examples
2757           fixing docs typos
2758           changing log priority in error situations
2759
2760 2005-10-25  Wim Taymans  <wim@fluendo.com>
2761
2762         * gst/gstbin.c: (message_check), (bin_replace_message),
2763         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2764         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2765         (bin_query_duration_init), (bin_query_duration_fold),
2766         (bin_query_duration_done), (bin_query_generic_fold),
2767         (gst_bin_query):
2768         Some doc and debug updates.
2769         Cache previously requested query DURATION for speed. invalidate
2770         cached duration if element posts a DURATION message.
2771
2772 2005-10-25  Wim Taymans  <wim@fluendo.com>
2773
2774         * docs/design/part-TODO.txt:
2775         Update TODO.
2776
2777         * gst/gstbin.c: (message_check), (bin_replace_message),
2778         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2779         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2780         (bin_query_duration_init), (bin_query_duration_fold),
2781         (bin_query_duration_done), (bin_query_generic_fold),
2782         (gst_bin_query):
2783         Handle SEGMENT_START/DONE messages correctly.
2784         More evolved query algorithm that handles duration queries
2785         correctly.
2786
2787         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2788         (gst_element_get_state_func), (gst_element_abort_state),
2789         (gst_element_commit_state), (gst_element_lost_state):
2790         Some more debugging.
2791
2792         * gst/gstmessage.h:
2793         Added doc.
2794
2795 2005-10-25  Wim Taymans  <wim@fluendo.com>
2796
2797         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2798         Don't use invalid stream_time.
2799
2800         * gst/gstevent.c: (gst_event_new_newsegment):
2801         stream_time in newsegment cannot be undefined.
2802
2803 2005-10-24  Wim Taymans  <wim@fluendo.com>
2804
2805         * gst/gstbus.c:
2806         Doc fix.
2807
2808         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2809         (gst_queue_loop):
2810         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2811
2812 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2813
2814         * docs/libs/tmpl/gstdparam.sgml:
2815         * docs/libs/tmpl/gstdplinint.sgml:
2816         * docs/libs/tmpl/gstdpman.sgml:
2817         * docs/libs/tmpl/gstdpsmooth.sgml:
2818         * docs/libs/tmpl/gstunitconvert.sgml:
2819           these are obsolete
2820
2821 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2822
2823         * configure.ac:
2824           back to HEAD
2825
2826 === release 0.9.4 ===
2827
2828 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2829
2830         * configure.ac:
2831           releasing 0.9.4, "Tyrannosaurus Rex"
2832
2833 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2834
2835         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2836         (gst_file_sink_get_current_offset):
2837           Use fseeko() and ftello() if available. When falling back on
2838           lseek() to get the current offset, fflush() first to make sure
2839           everything is up-to-date and we get the right offset.
2840
2841 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2842
2843         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2844         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2845         * gst/gsterror.c: (_gst_stream_errors_init):
2846         * gst/gsterror.h:
2847         * gst/gstqueue.c: (gst_queue_loop):
2848         * po/POTFILES.in:
2849           remove prematurely added error category and clean up the instances
2850
2851 2005-10-21  Wim Taymans  <wim@fluendo.com>
2852
2853         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2854         (gst_base_sink_get_position), (gst_base_sink_query),
2855         (gst_base_sink_change_state):
2856         Simply set the right flag when going to playing, that's all
2857         we need to do instead of calling a function inside the object
2858         lock (that could take the lock as well and deadlock)
2859
2860 2005-10-21  Wim Taymans  <wim@fluendo.com>
2861
2862         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2863         (gst_base_src_loop):
2864         Don't warn, the peer element knows what to do best when
2865         the seek failed, it might try something else.
2866
2867 2005-10-21  Wim Taymans  <wim@fluendo.com>
2868
2869         * gst/base/gstbasesrc.c: (gst_base_src_init),
2870         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2871         Fix seeking.
2872
2873 2005-10-21  Wim Taymans  <wim@fluendo.com>
2874
2875         * docs/design/part-segments.txt:
2876         More docs.
2877
2878         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2879         Correctly set caps, even on the subbufer.
2880
2881 2005-10-21  Wim Taymans  <wim@fluendo.com>
2882
2883         * docs/gst/gstreamer-docs.sgml:
2884         * docs/gst/gstreamer-sections.txt:
2885         * gst/gstelement.h:
2886         * gst/gstevent.c:
2887         * gst/gstevent.h:
2888         * gst/gstmessage.h:
2889         * gst/gstpad.h:
2890         * gst/gstparse.h:
2891         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2892         * gst/gsttask.h:
2893         * gst/gstutils.c:
2894         * gst/gstutils.h:
2895         And 2% more doc coverage.
2896
2897 2005-10-21  Andy Wingo  <wingo@pobox.com>
2898
2899         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2900         position reporting.
2901
2902 2005-10-20  Wim Taymans  <wim@fluendo.com>
2903
2904         * gst/gsterror.c: (gst_error_get_message):
2905         * gst/gstparse.h:
2906         * gst/gstquery.h:
2907         * gst/gststructure.c:
2908         * gst/gsttrace.c:
2909         * gst/gstutils.c:
2910         More docs.
2911
2912 2005-10-20  Wim Taymans  <wim@fluendo.com>
2913
2914         * gst/gstbuffer.h:
2915         * gst/gstpad.c:
2916         * gst/gstparse.c:
2917         Another 1% more coverage.
2918
2919 2005-10-20  Wim Taymans  <wim@fluendo.com>
2920
2921         * docs/gst/gstreamer-sections.txt:
2922         * gst/gstelement.c: (gst_element_get_state_func),
2923         (gst_element_abort_state), (gst_element_commit_state),
2924         (gst_element_lost_state):
2925         * gst/gstevent.h:
2926         * gst/gstquery.c: (gst_query_set_position),
2927         (gst_query_parse_position), (gst_query_set_duration),
2928         (gst_query_parse_duration), (gst_query_new_convert):
2929         * gst/gstutils.c:
2930         Yay! 1% more docs coverage.
2931
2932 2005-10-20  Wim Taymans  <wim@fluendo.com>
2933
2934         * gst/gstpad.h:
2935         * gst/gstquery.c: (gst_query_set_position),
2936         (gst_query_parse_position), (gst_query_set_duration),
2937         (gst_query_parse_duration), (gst_query_new_convert):
2938         * gst/gstquery.h:
2939         * gst/gstutils.c: (gst_element_query_convert):
2940         * gst/gstutils.h:
2941         Docs and consistency fixes.
2942
2943 2005-10-20  Wim Taymans  <wim@fluendo.com>
2944
2945         * gst/gsttask.c:
2946         * gst/gsttask.h:
2947         More docs.
2948
2949 2005-10-20  Wim Taymans  <wim@fluendo.com>
2950
2951         * gst/gstbin.c: (message_check), (bin_replace_message),
2952         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2953         (update_degree), (gst_bin_sort_iterator_next),
2954         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2955         Reworked the message handling a bit, cache the messages instead of
2956         only the senders. alows us to do more in the future.
2957
2958 2005-10-20  Wim Taymans  <wim@fluendo.com>
2959
2960         * docs/design/part-TODO.txt:
2961         Update TODO
2962
2963         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2964         (gst_base_sink_query):
2965         Don't use clock time to report position when in EOS.
2966
2967 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2968
2969         * tools/gst-inspect.c: (print_interfaces),
2970         (print_element_properties_info), (print_element_info):
2971           Fix interface output with gst-inspect -a; don't print
2972           newlines after double/float properties.
2973
2974 2005-10-20  Wim Taymans  <wim@fluendo.com>
2975
2976         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2977         (gst_base_sink_query):
2978         Speed up current position calculation.
2979
2980         * gst/base/gstbasesrc.c: (gst_base_src_query),
2981         (gst_base_src_default_newsegment):
2982         Correctly set stream position in newsegment.
2983
2984         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2985         (update_degree), (gst_bin_sort_iterator_next),
2986         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2987         * gst/gstmessage.c: (gst_message_new_custom):
2988         Clean up debugging info
2989
2990         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2991         (gst_queue_loop), (gst_queue_handle_src_query):
2992         Pause task faster.
2993
2994 2005-10-19  Wim Taymans  <wim@fluendo.com>
2995
2996         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2997         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2998         Fix query handling again.
2999
3000 2005-10-19  Wim Taymans  <wim@fluendo.com>
3001
3002         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3003         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3004         * gst/base/gstbasesrc.c: (gst_base_src_query):
3005         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3006         * gst/elements/gsttypefindelement.c:
3007         (gst_type_find_handle_src_query), (find_element_get_length),
3008         (gst_type_find_element_activate):
3009         API change fix.
3010
3011         * gst/gstquery.c: (gst_query_new_position),
3012         (gst_query_set_position), (gst_query_parse_position),
3013         (gst_query_new_duration), (gst_query_set_duration),
3014         (gst_query_parse_duration), (gst_query_set_segment),
3015         (gst_query_parse_segment):
3016         * gst/gstquery.h:
3017         Bundling query position/duration is not a good idea since duration
3018         does not change much and we don't want to recalculate it for every
3019         position query, so they are separated again..
3020         Base value in segment query is not needed.
3021
3022         * gst/gstqueue.c: (gst_queue_handle_src_query):
3023         * gst/gstutils.c: (gst_element_query_position),
3024         (gst_element_query_duration), (gst_pad_query_position),
3025         (gst_pad_query_duration):
3026         * gst/gstutils.h:
3027         Updates for query API change.
3028         Added some docs here and there.
3029
3030 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3031
3032         * check/gst/gstbin.c: (GST_START_TEST):
3033         * check/gst/gstghostpad.c: (GST_START_TEST):
3034         * check/pipelines/cleanup.c: (GST_START_TEST):
3035           wait on thread to die so we can check refcount correctly
3036
3037 2005-10-18  Wim Taymans  <wim@fluendo.com>
3038
3039         * check/pipelines/stress.c: (GST_START_TEST):
3040         Make check a little more time consuming.
3041
3042 2005-10-18  Wim Taymans  <wim@fluendo.com>
3043
3044         * check/Makefile.am:
3045         * check/pipelines/stress.c: (GST_START_TEST),
3046         (simple_launch_lines_suite), (main):
3047         Small state change torture test.
3048
3049         * docs/design/part-states.txt:
3050         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3051         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3052         (gst_base_sink_change_state):
3053         Never take state lock from streaming thread, clean up ugly
3054         hacks. Unfortunatly core does not yet support nice ways to
3055         async commit state.
3056         
3057         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3058         (bin_bus_handler):
3059         Start state recalc if a STATE_DIRTY message is posted, but only
3060         on the toplevel bin.
3061
3062         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3063         (gst_element_get_state_func), (gst_element_abort_state),
3064         (gst_element_commit_state), (gst_element_lost_state),
3065         (gst_element_set_state_func), (gst_element_change_state):
3066         * gst/gstelement.h:
3067         State variables are now protected with the LOCK, the state
3068         lock is only used to serialize _set_state().
3069
3070 2005-10-18  Wim Taymans  <wim@fluendo.com>
3071
3072         * check/gst/gstbin.c: (GST_START_TEST):
3073         * check/gst/gstmessage.c: (GST_START_TEST):
3074         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3075         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3076         (bin_bus_handler):
3077         * gst/gstelement.c: (gst_element_abort_state),
3078         (gst_element_commit_state), (gst_element_lost_state):
3079         * gst/gstmessage.c: (gst_message_new_state_changed),
3080         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3081         (gst_message_new_segment_done), (gst_message_new_duration),
3082         (gst_message_parse_state_changed),
3083         (gst_message_parse_segment_start),
3084         (gst_message_parse_segment_done), (gst_message_parse_duration):
3085         * gst/gstmessage.h:
3086         * tools/gst-launch.c: (event_loop):
3087         Seriously, this is better than a previous commit as we only need
3088         to notify the fact that an element changed state in a streaming
3089         thread, marking the state of the parents dirty, hence the 
3090         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3091         message.
3092
3093 2005-10-18  Wim Taymans  <wim@fluendo.com>
3094
3095         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3096         (gst_bin_recalc_func):
3097         * gst/gstelement.c: (gst_element_set_clock),
3098         (gst_element_abort_state), (gst_element_lost_state):
3099         Cleanups, prepare for state change fixes.
3100
3101 2005-10-18  Wim Taymans  <wim@fluendo.com>
3102
3103         * gst/gstbin.h:
3104         * gst/gstelement.c: (gst_element_class_init),
3105         (gst_element_set_state), (gst_element_set_state_func):
3106         * gst/gstelement.h:
3107         Pending ABI changes.
3108         GThreadPool in GstBinClass to monitor async state changes.
3109         state_cookie in GstElement to detect concurrent gst/set state.
3110         set_state is now virtual too in case a very complicated element
3111         has to be constructed.
3112
3113 2005-10-18  Wim Taymans  <wim@fluendo.com>
3114
3115         * check/gst/gstbin.c: (GST_START_TEST):
3116         * check/gst/gstmessage.c: (GST_START_TEST):
3117         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3118         * gst/gstbin.c: (bin_bus_handler):
3119         * gst/gstelement.c: (gst_element_commit_state),
3120         (gst_element_lost_state):
3121         * gst/gstmessage.c: (gst_message_new_state_changed),
3122         (gst_message_new_segment_start), (gst_message_new_segment_done),
3123         (gst_message_new_duration), (gst_message_parse_state_changed),
3124         (gst_message_parse_segment_start),
3125         (gst_message_parse_segment_done), (gst_message_parse_duration):
3126         * gst/gstmessage.h:
3127         * tools/gst-launch.c: (event_loop):
3128         Make messages future proof.
3129         state-change gets a flag if it was a message comming from the
3130         streaming thread.
3131         segment-start/stop can also be specified in other formats.
3132         A message to notify an app that a pipeline changed playback 
3133         duration.
3134         Also fix a GstMessage leak in -launch
3135
3136 2005-10-18  Andy Wingo  <wingo@pobox.com>
3137
3138         * gst/gstelement.c (gst_element_dispose): More helpful message.
3139
3140 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3141
3142         reviewed by: <delete if not using a buddy>
3143
3144         * common/gtk-doc.mak:
3145
3146 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3147
3148         * gst/gstregistry.c: (gst_registry_scan_path_level):
3149           unref a plug-in we get that was already initialized
3150
3151 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3152
3153         * docs/gst/gstreamer-sections.txt:
3154         * docs/libs/gstreamer-libs-sections.txt:
3155         * gst/gstelement.h:
3156           add new api entries
3157           hide internal macro
3158
3159 2005-10-17  Andy Wingo  <wingo@pobox.com>
3160
3161         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3162         cleanup.
3163
3164         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3165
3166         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3167
3168         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3169         (gst_element_get_state_func): Better debug message.
3170         (gst_element_commit_state): s/INFO/DEBUG/.
3171         (gst_element_lost_state, gst_element_change_state): 
3172
3173         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3174         (gst_message_new_custom): s/INFO/LOG/.
3175
3176 2005-10-17  Michael Smith <msmith@fluendo.com>
3177
3178         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3179           Check if end time is valid using end time, not start time.
3180
3181 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3182
3183         * check/gst-libs/controller.c: (GST_START_TEST),
3184         (gst_controller_suite):
3185         * libs/gst/controller/gstcontroller.c:
3186         (gst_controlled_property_set_interpolation_mode):
3187         * libs/gst/controller/gstcontroller.h:
3188         * libs/gst/controller/gstinterpolation.c:
3189         * testsuite/controller/.cvsignore:
3190         * testsuite/controller/Makefile.am:
3191         * testsuite/controller/interpolator.c:
3192           merge controller testsuites
3193           fix broken tests
3194           remove mem-chunk from docs
3195
3196 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3197
3198         * gst/gstmemchunk.c:
3199         * gst/gstmemchunk.h:
3200         * gst/gsttrashstack.c:
3201         * gst/gsttrashstack.h:
3202           out.  get out.  you're fired.  to the Attic !
3203
3204 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3205
3206         * gst/gstcaps.c: (gst_caps_intersect):
3207           fix signedness issues in a (hopefully) correct way
3208         * gst/gstelement.c: (gst_element_pads_activate):
3209           some debugging
3210         * gst/gstobject.c: (gst_object_set_parent):
3211           some debugging
3212
3213 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3214
3215         * gst/gstvalue.h: Fix prototypes.
3216
3217 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3218
3219         * docs/gst/gstreamer-sections.txt:
3220         * gst/gst.c: (gst_version_string):
3221         * gst/gst.h:
3222         * gst/gstversion.h.in:
3223         * win32/common/libgstreamer.def:
3224           add gst_version_string ()
3225
3226 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3227
3228         * configure.ac:
3229           clean up further
3230         * gst/gst.c: (init_post):
3231         * win32/common/config.h.in:
3232           it's PLUGINDIR now
3233         * gst/gstcaps.c: (gst_caps_intersect):
3234           use gint64, the range could be bigger than a guint
3235
3236 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3237
3238         * gst/gstclock.h:
3239           document potential problem in 2038
3240
3241 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3242
3243         * gst/gstcaps.c: (gst_caps_intersect):
3244           Fix guint j diving under 0
3245
3246 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3247
3248         * configure.ac:
3249         * win32/common/config.h:
3250         * win32/common/config.h.in:
3251           check for process.h, declares getpid() on Windows
3252         * gst/gstinfo.c:
3253           include process.h if we have it
3254         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3255         * gst/gstmemchunk.h:
3256           fix signedness issues
3257         * win32/common/libgstreamer.def:
3258           fix get_type's
3259
3260 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3261
3262         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3263         fix. Because of unsigned ints, caps intersection was going nuts and
3264         trying to access structures with G_MAXUINT index. That fixes
3265         videotestsrc ! ffmpegcolorspace ! fakesink
3266         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3267         consistency.
3268
3269 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3270
3271         * configure.ac:
3272           use the gettext macro
3273         * gst/elements/gstelements.c:
3274         * gst/gst.c:
3275         * gst/indexers/gstindexers.c:
3276           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3277         * win32/common/config.h:
3278           updated config.h
3279         * win32/common/config.h.in:
3280           add the template to generate config.h
3281         * win32/common/gstenumtypes.c:
3282         * win32/common/gstversion.h:
3283           updated copies
3284
3285 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3286
3287         * gst/gst.c: (gst_version):
3288         * gst/gstversion.h.in:
3289           add the nano
3290
3291 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3292
3293         * gst/gstevent.h:
3294           Oops, add missing closing bracket.
3295
3296 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3297
3298         * configure.ac:
3299           use common m4's for argument checking
3300
3301 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3302
3303         * docs/gst/gstreamer-sections.txt:
3304         * gst/gstevent.h:
3305           Add GST_EVENT_TYPE_NAME() macro.
3306
3307 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3308
3309         * gst/gstinfo.c:
3310         * gst/gstpluginfeature.c:
3311         * gst/gsttask.c:
3312           privatize more symbols
3313
3314 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3315
3316         * configure.ac:
3317           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3318           everything that uses GStreamer API should have the includes
3319
3320 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3321
3322         * docs/gst/gstreamer-sections.txt:
3323         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3324         * gst/gstvalue.h:
3325           give each value a _get_type, removes the DATA exports
3326
3327 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3328
3329         * gst/gst.c:
3330         * gst/gst.h:
3331           remove _gst_registry_auto_load, not used anymore
3332         * gst/gstbin.c: (gst_bin_get_type):
3333         * gst/gstbin.h:
3334         * gst/gstelement.c: (gst_element_get_type):
3335         * gst/gstelement.h:
3336         * gst/gstobject.c: (gst_object_get_type):
3337         * gst/gstobject.h:
3338         * gst/gstpad.c: (gst_pad_get_type):
3339         * gst/gstpad.h:
3340           make _get_type functions similar, fixes data export from library
3341
3342 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3343
3344         * configure.ac:
3345           correctly make conditionals
3346         * gst/elements/Makefile.am:
3347         * gst/elements/gstelements.c:
3348           fix typo causing fdsrc not to build
3349
3350 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3351
3352         * testsuite/Makefile.am:
3353         * testsuite/bytestream/.cvsignore:
3354         * testsuite/bytestream/Makefile.am:
3355         * testsuite/bytestream/filepadsink.c:
3356         * testsuite/bytestream/gstbstest.c:
3357         * testsuite/bytestream/test1.c:
3358         * testsuite/bytestream/testfile1:
3359         * testsuite/caps/normalisation.c:
3360         * testsuite/caps/random.c: (main):
3361         * testsuite/cleanup/.cvsignore:
3362         * testsuite/cleanup/Makefile.am:
3363         * testsuite/cleanup/cleanup1.c:
3364         * testsuite/cleanup/cleanup2.c:
3365         * testsuite/cleanup/cleanup3.c:
3366         * testsuite/cleanup/cleanup4.c:
3367         * testsuite/cleanup/cleanup5.c:
3368         * testsuite/controller/interpolator.c:
3369         * testsuite/debug/printf_extension.c: (main):
3370         * testsuite/elements/tee.c:
3371         * testsuite/negotiation/.cvsignore:
3372         * testsuite/negotiation/Makefile.am:
3373         * testsuite/negotiation/pad_link.c:
3374         * testsuite/pad/Makefile.am:
3375         * testsuite/pad/chainnopull.c:
3376         * testsuite/pad/getnopush.c:
3377         * testsuite/pad/link.c:
3378         * testsuite/refcounting/sched.c: (create_pipeline):
3379         * testsuite/registry/Makefile.am:
3380         * testsuite/registry/gst-print-formats.c:
3381         * testsuite/schedulers/.cvsignore:
3382         * testsuite/schedulers/142183-2.c:
3383         * testsuite/schedulers/142183.c:
3384         * testsuite/schedulers/143777-2.c:
3385         * testsuite/schedulers/143777.c:
3386         * testsuite/schedulers/147713.c:
3387         * testsuite/schedulers/147819.c:
3388         * testsuite/schedulers/147894-2.c:
3389         * testsuite/schedulers/147894.c:
3390         * testsuite/schedulers/Makefile.am:
3391         * testsuite/schedulers/group_link.c:
3392         * testsuite/schedulers/queue_link.c:
3393         * testsuite/schedulers/relink.c:
3394         * testsuite/schedulers/unlink.c:
3395         * testsuite/schedulers/unref.c:
3396         * testsuite/schedulers/useless_iteration.c:
3397         * testsuite/states/bin.c:
3398           clean out/remove some stuff from the testsuite directories
3399
3400 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3401
3402         * configure.ac:
3403           check for some headers
3404         * gst/elements/Makefile.am:
3405         * gst/elements/gstelements.c:
3406           don't compile fdsrc without sys/socket.h
3407         * gst/indexers/Makefile.am:
3408         * gst/indexers/gstindexers.c: (plugin_init):
3409           don't compile fileindex without mmap
3410
3411 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3412
3413         * configure.ac:
3414           reorganize
3415           clean up
3416           document more
3417           remove cruft
3418         * check/Makefile.am:
3419         * docs/gst/Makefile.am:
3420         * examples/helloworld/Makefile.am:
3421         * gst/Makefile.am:
3422         * gst/base/Makefile.am:
3423         * gst/check/Makefile.am:
3424         * gst/elements/Makefile.am:
3425         * gst/indexers/Makefile.am:
3426         * gst/parse/Makefile.am:
3427         * libs/gst/controller/Makefile.am:
3428         * libs/gst/dataprotocol/Makefile.am:
3429         * examples/helloworld/helloworld.c: (event_loop):
3430           compile fixes, though it's not being compiled currently
3431
3432 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3433
3434         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3435           Add some simple tests for the new taglist date API.
3436
3437 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3438
3439         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3440         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3441           Beautify 'last-message' output: print 'none' for buffer timestamps
3442           and durations if none is set; improve alignment with next messages.
3443
3444 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3445
3446         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3447         * gst/gstpluginfeature.h:
3448         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3449         * gst/gstregistry.h:
3450         * docs/gst/gstreamer-sections.txt:
3451           Add new API to check plugin feature version requirements.
3452
3453         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3454           Some basic tests for the above.         
3455
3456 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3457
3458         * gst/gststructure.c: (gst_structure_to_string):
3459           guard against NULL printf - happens when for example
3460           a message structure with GstClock gets serialized
3461
3462 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3463
3464         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3465           Fix presumable copy'n'pasto.
3466
3467 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3468
3469         * gst/elements/gstfakesrc.h:
3470         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3471         * gst/elements/gsttypefindelement.c:
3472           fix some signedness
3473         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3474           I wonder if this could actually write +2GB files before
3475
3476 2005-10-13  Andy Wingo  <wingo@pobox.com>
3477
3478         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3479         Fix Timmeke Waymans bug.
3480         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3481         string of the proper length to gst_caps_from_string. There's a
3482         potential for, before this fix, that this could cause someone
3483         connecting over the network to cause a segfault if the payload is
3484         not NUL-terminated.
3485
3486 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3487
3488         * docs/design/draft-push-pull.txt:
3489         * docs/design/part-overview.txt:
3490         * docs/random/TODO-pre-0.9:
3491         * docs/random/old/ChangeLog.gstreamer:
3492         * gst/base/gstpushsrc.c:
3493         * gst/gstclock.c:
3494           fixed typos
3495
3496 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3497
3498         * gst/glib-compat.c: (gst_flags_get_first_value):
3499         * gst/glib-compat.h:
3500         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3501         (gst_value_compare_double), (gst_value_serialize_flags):
3502           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3503           infinite loop
3504
3505 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3506
3507         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3508         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3509           fix up debugging
3510         * tools/gst-launch.c: (event_loop):
3511           print out clock nicely
3512
3513 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3514
3515         * docs/gst/gstreamer-sections.txt:
3516         * gst/gsttaglist.h:
3517         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3518         (gst_tag_list_get_date_index):
3519           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3520           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3521
3522 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3523
3524         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3525         (gst_collectpads_chain):
3526         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3527         in CollectData.
3528
3529 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3530
3531         * docs/gst/gstreamer-sections.txt:
3532         * gst/gst.c:
3533         * gst/gsterror.h:
3534         * tools/gst-inspect.c: (main):
3535         * tools/gst-launch.c: (main):
3536         * tools/gst-run.c: (main):
3537         * tools/gst-xmlinspect.c: (main):
3538           fix GOption context leaks
3539           doc fixes
3540
3541 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3542
3543         * gst/gstbus.c:
3544           use HAVE_UNISTD_H
3545         * win32/common/config.h:
3546           update config
3547         * win32/vs6/grammar.dsp:
3548         * win32/vs6/libgstelements.dsp:
3549         * win32/vs6/libgstreamer.dsp:
3550           update vs6 files
3551
3552 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3553
3554         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3555         * gst/base/gstbasesrc.c: (gst_base_src_query):
3556           fix more guint64<->gdouble conversions
3557
3558 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3559
3560         * Makefile.am:
3561           add win32-update target
3562         * win32/common/gstconfig.h:
3563         * win32/common/gstenumtypes.c:
3564         * win32/common/gstenumtypes.h:
3565         * win32/common/gstversion.h:
3566           add files that visual studio can't generate
3567
3568 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3569
3570         * Makefile.am:
3571           add a win32-update target
3572         * configure.ac:
3573
3574 2005-10-12  Wim Taymans  <wim@fluendo.com>
3575
3576         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3577         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3578         * gst/gstelement.c: (gst_element_commit_state),
3579         (gst_element_set_state):
3580         Protect flags with proper lock.
3581         unref provided cached clock in dispose.
3582
3583 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3584
3585         * gst/gst.c:
3586         * gst/gstminiobject.h:
3587         * gst/gstpad.h:
3588         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3589           removed unused flags from miniobject
3590           doc fixes
3591
3592 2005-10-12  Wim Taymans  <wim@fluendo.com>
3593
3594         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3595         (gst_file_sink_event), (gst_file_sink_render):
3596         Flush before seeking.
3597
3598 2005-10-12  Andy Wingo  <wingo@pobox.com>
3599
3600         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3601         always been the case.
3602
3603 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3604
3605         * check/gst/gstbin.c: (GST_START_TEST):
3606         * docs/gst/gstreamer-sections.txt:
3607         * gst/base/gstbasesink.c: (gst_base_sink_init):
3608         * gst/base/gstbasesrc.c: (gst_base_src_init),
3609         (gst_base_src_get_range), (gst_base_src_check_get_range),
3610         (gst_base_src_start), (gst_base_src_stop):
3611         * gst/base/gstbasesrc.h:
3612         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3613         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3614         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3615         (bin_bus_handler):
3616         * gst/gstbin.h:
3617         * gst/gstbuffer.h:
3618         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3619         * gst/gstbus.h:
3620         * gst/gstelement.c: (gst_element_is_locked_state),
3621         (gst_element_set_locked_state), (gst_element_commit_state),
3622         (gst_element_set_state):
3623         * gst/gstelement.h:
3624         * gst/gstindex.c: (gst_index_init):
3625         * gst/gstindex.h:
3626         * gst/gstminiobject.h:
3627         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3628         (gst_object_set_parent):
3629         * gst/gstobject.h:
3630         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3631         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3632         * gst/gstpad.h:
3633         * gst/gstpadtemplate.h:
3634         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3635         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3636         * gst/gstpipeline.h:
3637         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3638         (gst_file_index_commit):
3639         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3640         * testsuite/pad/link.c: (gst_test_src_init),
3641         (gst_test_filter_init), (gst_test_sink_init):
3642         * testsuite/states/locked.c: (main):
3643           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3644           moved bitshift from macro to enum definition
3645
3646 2005-10-12  Wim Taymans  <wim@fluendo.com>
3647
3648         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3649         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3650         (gst_file_sink_render):
3651         Some more debugging info.
3652
3653 2005-10-12  Wim Taymans  <wim@fluendo.com>
3654
3655         * docs/design/part-states.txt:
3656         * tools/gst-launch.c: (main):
3657         Some doc updates.
3658         Revert non-intentional change.
3659
3660 2005-10-12  Wim Taymans  <wim@fluendo.com>
3661
3662         * check/gst/gstbin.c: (GST_START_TEST):
3663         * check/gst/gstelement.c: (GST_START_TEST):
3664         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3665         * check/gst/gstghostpad.c: (GST_START_TEST):
3666         * check/gst/gstpipeline.c: (GST_START_TEST):
3667         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3668         * check/states/sinks.c: (GST_START_TEST):
3669         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3670         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3671         (gst_bin_remove_func), (gst_bin_get_state_func),
3672         (gst_bin_recalc_state), (gst_bin_change_state_func),
3673         (bin_bus_handler):
3674         * gst/gstelement.c: (gst_element_get_state_func),
3675         (gst_element_get_state), (gst_element_abort_state),
3676         (gst_element_commit_state), (gst_element_set_state),
3677         (gst_element_change_state), (gst_element_change_state_func):
3678         * gst/gstelement.h:
3679         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3680         (gst_pipeline_provide_clock_func):
3681         * gst/gstutils.c: (gst_element_link_pads_filtered):
3682         * tools/gst-launch.c: (main):
3683         * tools/gst-typefind.c: (main):
3684         Use GstClockTime in _get_state() instead of GTimeVal.
3685         Remove old code in gstutils.c
3686
3687 2005-10-12  Andy Wingo  <wingo@pobox.com>
3688
3689         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3690         removed.
3691
3692         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3693         there is no task. Shouldn't affect any code, as nothing in our
3694         plugins checks this return value.
3695         (gst_pad_stop_task): Also take the stream lock if the pad has no
3696         task. Docs updated.
3697
3698 2005-10-12  Wim Taymans  <wim@fluendo.com>
3699
3700         * gst/gstpad.c: (pre_activate), (post_activate),
3701         (gst_pad_activate_pull), (gst_pad_activate_push):
3702         Cleanup activation code. Reset old state if
3703         activation failed.
3704
3705 2005-10-12  Wim Taymans  <wim@fluendo.com>
3706
3707         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3708         (gst_base_sink_change_state):
3709         No need to prerol after receiving EOS.
3710
3711         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3712         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3713         * gst/elements/gstidentity.c: (gst_identity_event):
3714         Print events more verbosely.
3715
3716 2005-10-12  Wim Taymans  <wim@fluendo.com>
3717
3718         * check/Makefile.am:
3719         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3720         * check/states/sinks2.c:
3721         Moved sinks2 testcode in sinks check.
3722
3723         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3724         (gst_bin_remove_func), (gst_bin_recalc_state),
3725         (gst_bin_change_state_func), (bin_bus_handler):
3726         Fix potential race condition when _get_state() iterated over an
3727         ASYNC element right before it posted a state completion.
3728
3729         * gst/gstclock.h:
3730         Do proper cast here.
3731
3732         * gst/gstevent.c: (gst_event_new_newsegment),
3733         (gst_event_parse_newsegment):
3734         A playback rate of 0.0 is not allowed.
3735
3736 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3737
3738         * win32/common/config.h:
3739         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3740         (_trewinddir), (_ttelldir), (_tseekdir):
3741         * win32/common/dirent.h:
3742         * win32/common/gtchar.h:
3743         * win32/common/libgstbase.def:
3744         * win32/common/libgstreamer.def:
3745         * win32/vs6/grammar.dsp:
3746         * win32/vs6/gst_inspect.dsp:
3747         * win32/vs6/gst_launch.dsp:
3748         * win32/vs6/gstreamer.dsw:
3749         * win32/vs6/libgstbase.dsp:
3750         * win32/vs6/libgstelements.dsp:
3751         * win32/vs6/libgstreamer.dsp:
3752           Visual Studio 6 project files, and a new common directory.
3753           Phear.
3754
3755 2005-10-11  Wim Taymans  <wim@fluendo.com>
3756
3757         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3758         (gst_base_sink_do_sync), (gst_base_sink_query),
3759         (gst_base_sink_change_state):
3760         * gst/base/gstbasesink.h:
3761         Correctly parse newsegment info.
3762
3763 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3764
3765         * gst/gst.c: (init_post):
3766           split plugin paths correctly
3767
3768 2005-10-11  Wim Taymans  <wim@fluendo.com>
3769
3770         * check/gst/gstevent.c: (GST_START_TEST):
3771         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3772         (gst_base_sink_change_state):
3773         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3774         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3775         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3776         * gst/gstevent.c: (gst_event_new_newsegment),
3777         (gst_event_parse_newsegment):
3778         * gst/gstevent.h:
3779         Added extra flag to newsegment for future API freeze.
3780         Updated check and base elements.
3781
3782 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3783
3784         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3785         (gst_collectpads_add_pad), (gst_collectpads_pop),
3786         (gst_collectpads_event), (gst_collectpads_chain):
3787         * gst/base/gstcollectpads.h: Handle EOS correctly.
3788
3789 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3790
3791         * tools/gst-launch.c: (main):
3792           more null protecting
3793
3794 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3795
3796         * gst/gst-i18n-lib.h:
3797           check for ENABLE_NLS, not GETTEXT_PACKAGE
3798         * gst/gstregistry.c: (gst_registry_add_plugin),
3799         (gst_registry_scan_path_level),
3800         (_gst_registry_remove_cache_plugins):
3801           protect possibly NULL strings
3802         * gst/parse/types.h:
3803           config.h already included before
3804         * tools/gst-inspect.c: (main):
3805           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3806           check for ENABLE_NLS, not GETTEXT_PACKAGE
3807         * tools/gst-launch.c: (main):
3808           check for ENABLE_NLS, not GETTEXT_PACKAGE
3809
3810 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3811
3812         * configure.ac:
3813           if we don't have glib, fail before testing 2.8
3814         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3815           fix a leak, should fix plugins-base testsuite
3816
3817 2005-10-11  Andy Wingo  <wingo@pobox.com>
3818
3819         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3820         take the mode we're going to as an arg. Go head and set the mode
3821         and flushing flags now, so that if the activate function starts a
3822         thread all the flags will be in the right state.
3823         (post_activate): Renamed also. Just handle making sure streaming
3824         finishes for the deactivation case, and setting the deactivated
3825         mode.
3826         (gst_pad_set_active): Complain loudly if deactivation fails.
3827         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3828         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3829         remove the terrible hack.
3830
3831 2005-10-11  Wim Taymans  <wim@fluendo.com>
3832
3833         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3834         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3835         (gst_bin_recalc_state), (gst_bin_change_state_func),
3836         (gst_bin_dispose), (bin_bus_handler):
3837         * gst/gstbin.h:
3838         Prepare to make current EOS message queue more generic.
3839         Fix some typos.
3840
3841         * gst/gstevent.c: (gst_event_new_newsegment),
3842         (gst_event_parse_newsegment):
3843         * gst/gstevent.h:
3844         Rename base to stream_time.
3845
3846         * gst/gstmessage.h:
3847         Fix typo in docs.
3848
3849 2005-10-11  Wim Taymans  <wim@fluendo.com>
3850
3851         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3852         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3853         (gst_bin_change_state_func), (bin_bus_handler):
3854         * gst/gstbin.h:
3855         Work on proper clock selection.
3856
3857 2005-10-11  Edward Hervey  <edward@fluendo.com>
3858
3859         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3860         * libs/gst/controller/gstcontroller.h:
3861         Added GList* version of _remove_properties() in order to be able to wrap
3862         it in bindings.
3863
3864 2005-10-11  Wim Taymans  <wim@fluendo.com>
3865
3866         * docs/design/part-states.txt:
3867         Some more docs.
3868
3869         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3870         (gst_bin_change_state_func), (bin_bus_handler):
3871         Doc updates. Don't distribute the same clock over and over again.
3872
3873         * gst/gstclock.c:
3874         * gst/gstclock.h:
3875         Doc updates.
3876
3877         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3878         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3879         (gst_pad_send_event):
3880         * gst/gstpad.h:
3881         Make probe emission threadsafe again.
3882         Register quarks and move _get_name() from utils.
3883         Doc updates.
3884
3885         * gst/gstpipeline.c: (gst_pipeline_class_init),
3886         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3887         Only redistribute the clock of it changed.
3888
3889         * gst/gstsystemclock.h:
3890         Doc updates. 
3891
3892         * gst/gstutils.c:
3893         * gst/gstutils.h:
3894         Moved the _flow_get_name() to GstPad.
3895
3896 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3897
3898         * check/gst-libs/gdp.c: (GST_START_TEST):
3899         * check/gst/gstcaps.c: (GST_START_TEST):
3900         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3901         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3902         (gst_dp_packet_from_caps):
3903           fix more valgrind warnings before turning up the heat
3904
3905 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3906
3907         * gst/parse/grammar.y:
3908           some cleanup before the hacking
3909
3910 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3911
3912         * gst/base/gstbasesrc.c: (gst_base_src_query):
3913           use conversions
3914         * gst/gstutils.c: (gst_guint64_to_gdouble),
3915         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3916         * gst/gstutils.h:
3917           externalize, basesrc uses it
3918           obviously the implementation needs testing
3919
3920 2005-10-10  Wim Taymans  <wim@fluendo.com>
3921
3922         * tests/sched/Makefile.am:
3923         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3924         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3925
3926 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3927
3928         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3929           apparently converting from guint64 to double is not implemented
3930           on MSVC
3931
3932 2005-10-10  Wim Taymans  <wim@fluendo.com>
3933
3934         * check/Makefile.am:
3935         * check/generic/states.c: (GST_START_TEST):
3936         * check/gst/gstbin.c: (GST_START_TEST):
3937         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3938         * check/states/sinks.c: (GST_START_TEST):
3939         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3940         (main):
3941         Check fixes, use API as stated in design docs, remove hacks.
3942
3943         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3944         (gst_base_sink_change_state):
3945         Catch stopping our task while we're shutting down.
3946
3947         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3948         (gst_bin_remove_func), (gst_bin_get_state_func),
3949         (gst_bin_recalc_state), (gst_bin_change_state_func),
3950         (bin_bus_handler):
3951         * gst/gstbin.h:
3952         * gst/gstelement.c: (gst_element_init),
3953         (gst_element_get_state_func), (gst_element_abort_state),
3954         (gst_element_commit_state), (gst_element_lost_state),
3955         (gst_element_set_state), (gst_element_change_state),
3956         (gst_element_change_state_func):
3957         * gst/gstelement.h:
3958         New state change algorithm (see #318116)
3959
3960         * gst/gstpipeline.c: (gst_pipeline_class_init),
3961         (gst_pipeline_init), (gst_pipeline_set_property),
3962         (gst_pipeline_get_property), (do_pipeline_seek),
3963         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3964         * gst/gstpipeline.h:
3965         Remove crude state change hacks.
3966
3967         * gst/gstutils.h:
3968         Remove crude hacks.
3969
3970         * tools/gst-launch.c: (main):
3971         Fixes for state change. Needs some more work to fully use the
3972         new stuff.
3973
3974 2005-10-10  Andy Wingo  <wingo@pobox.com>
3975
3976         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3977
3978         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3979         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3980         issue.
3981
3982 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3983
3984         * gst/gstiterator.c: (gst_iterator_new):
3985           Fix my previous commit: GTypes passed to gst_iterator_new()
3986           can be fundamental types.
3987
3988 2005-10-10  Wim Taymans  <wim@fluendo.com>
3989
3990         * gst/gstelement.c: (gst_element_iterate_pad_list),
3991         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3992         (gst_element_iterate_sink_pads):
3993         Use src/sink pads lists for the respective iterators instead
3994         of filtering.
3995
3996 2005-10-10  Andy Wingo  <wingo@pobox.com>
3997
3998         Merged in popt removal + GOption addition patch from Ronald, bug
3999         #169772.
4000
4001         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4002         GstElement macros around, remove popt-related symbols, add goption
4003         stuff.
4004
4005         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4006         
4007         * docs/gst/Makefile.am:
4008         * docs/libs/Makefile.am: No POPT_CFLAGS.
4009         
4010         * examples/manual/Makefile.am:
4011         * docs/manual/basics-init.xml: Doc updates with an example.
4012         
4013         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4014         (gst_init), (parse_one_option), (parse_goption_arg):
4015         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4016         bit of hand merging and debugging to get the GOption stuff working
4017         tho.
4018         
4019         * tests/Makefile.am:
4020         * tools/Makefile.am:
4021         * tools/gst-inspect.c: (main):
4022         * tools/gst-launch.c: (main):
4023         * tools/gst-run.c: (main):
4024         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4025
4026 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4027
4028         * gst/gstiterator.c: (gst_iterator_new):
4029           Add assertions to make sure passed GType is likely to really
4030           be a GType (as the compiler won't catch it if the size and
4031           GType arguments get mixed up, see #318447).
4032
4033 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4034
4035         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4036
4037         * gst/gstbin.c: (gst_bin_iterate_sorted):
4038           Pass GType and size arguments to gst_iterator_new() in the right
4039           order (maybe we should make _new() take the GType as first argument
4040           just like _new_list()?) (#318447).
4041           
4042
4043 2005-10-10  Wim Taymans  <wim@fluendo.com>
4044
4045         * gst/gstelement.c: (gst_element_finalize):
4046         And free the GStaticRecMutex too
4047
4048 2005-10-10  Andy Wingo  <wingo@pobox.com>
4049
4050         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4051         Allocate and free the mutex properly.
4052
4053         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4054         New macros.
4055         (GstElement): The state_lock is now recursive. Rebuild your
4056         plugins, suckers. Old macros adapted.
4057
4058         * docs/gst/gstreamer-sections.txt: Doc updates.
4059
4060         * gst/gstutils.h:
4061         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4062         (g_static_rec_cond_wait): Ported from state changes patch, while
4063         we wait on bug #317802 to be solved in a well-distributed GLib.
4064
4065         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4066         gst_element_change_state, variable name changes.
4067         (gst_element_change_state): Split out of gst_element_set_state in
4068         preparation for the state change merge. Doesn't pay attention to
4069         the 'transition' argument.
4070         (gst_element_set_state): Updates, hopefully purely cosmetic.
4071         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4072         state change patch.
4073         (gst_element_get_state_func): Renamed from get_state, cosmetic
4074         changes.
4075
4076 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4077
4078         * gst/elements/gstelements.c:
4079         * win32/GStreamer.vcproj:
4080         * win32/config.h:
4081         * win32/dirent.c: (_tseekdir):
4082         * win32/gst-inspect.vcproj:
4083         * win32/gst-launch.vcproj:
4084         * win32/gstconfig.h:
4085         * win32/gstelements.vcproj:
4086         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4087         * win32/gstreamer.def:
4088         * win32/msvc71.sln:
4089           updates for the win32 build (patch from Sebastien Moutte)
4090
4091 2005-10-10  Andy Wingo  <wingo@pobox.com>
4092
4093         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4094         gst_bin_get_state, cleaned up (but no logic changes).
4095         (bin_element_is_sink): Comment updates.
4096         (sink_iterator_filter): Remove needless cast.
4097         (gst_bin_iterate_sinks): Doc update.
4098         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4099         cleaned up (but no logic changes).
4100
4101         * check/states/sinks.c (test_src_sink): Cleanups from the state
4102         change patch.
4103         (test_livesrc_sink): Sync on the state.
4104
4105         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4106         the state change patch.
4107
4108         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4109         change patch.
4110
4111         * check/gst/gstbin.c: Merge in some style fixes and additional
4112         checks from Wim's state change patch.
4113
4114 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4115
4116         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4117         (gst_type_find_helper):
4118           Check whether we have the requested data already in our list of
4119           cached buffers before pulling a new buffer; also make the buffer
4120           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4121
4122 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4123
4124         * gst/gstcaps.c:
4125         * gst/gstevent.c:
4126           doc updates
4127         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4128           don't use long long, it's not portable.  Replacing with
4129           gint64 seems to work; let's hope no skeletons fall out of the closet.
4130
4131 2005-10-10  Andy Wingo  <wingo@pobox.com>
4132
4133         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4134
4135 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4136
4137         * docs/gst/gstreamer-sections.txt:
4138         * gst/gstevent.c:
4139         * gst/gstevent.h:
4140         * gst/gstinfo.c:
4141         * gst/gstinfo.h:
4142         * gst/gstmessage.c: (gst_message_parse_state_changed):
4143         * gst/gstpad.c:
4144         * gst/gstpad.h:
4145           more docs, fix compilation
4146
4147 2005-10-09  Philippe Khalaf <burger@speedy.org>
4148         * gst/gstmessage.c:
4149           Fixed a few forgotten variables on previous commit
4150
4151 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4152
4153         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4154           Fix evil typefind crasher: getrange() might return a short
4155           buffer at the end of a file, but gst_type_find_peek() must
4156           either return the full data as requested or NULL, but
4157           never a short buffer.
4158
4159 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4160
4161         * gst/gstmessage.c: (gst_message_new_state_changed),
4162         (gst_message_parse_state_changed):
4163         * gst/gstmessage.h:
4164           don't use "new", it's a C++ keyword
4165
4166 2005-10-08  Wim Taymans  <wim@fluendo.com>
4167
4168         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4169         * gst/gstelement.c: (gst_element_post_message):
4170         * gst/gstpipeline.c: (gst_pipeline_change_state):
4171         Small docs and debug updates.
4172
4173 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4174
4175         * docs/gst/gstreamer-sections.txt:
4176         * gst/gstelementfactory.c:
4177         * gst/gstevent.c:
4178         * gst/gsttaglist.c:
4179           more docs
4180
4181 2005-10-08  Wim Taymans  <wim@fluendo.com>
4182
4183         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4184         (gst_bin_dispose), (bin_bus_handler):
4185         Fix typos, add comments.
4186         Clear EOS list when going to PAUSED from any direction and do it
4187         in a threadsafe way.
4188         Get base time in a threadsafe way too.
4189         Fix confusing debug in the change_state function.
4190         Various other small cleanups.
4191         
4192         * gst/gstelement.c: (gst_element_post_message):
4193         Fix very verbose bus posting code.
4194
4195         * gst/gstpipeline.c: (gst_pipeline_class_init),
4196         (gst_pipeline_set_property), (gst_pipeline_get_property),
4197         (gst_pipeline_change_state):
4198         Small ARG_ -> PROP_ cleanup
4199
4200 2005-10-08  Wim Taymans  <wim@fluendo.com>
4201
4202         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4203         Do a less CPU demanding EOS check because we can.
4204
4205 2005-10-08  Wim Taymans  <wim@fluendo.com>
4206
4207         * libs/gst/dataprotocol/dataprotocol.c:
4208         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4209         (gst_dp_packet_from_event):
4210         * libs/gst/dataprotocol/dataprotocol.h:
4211         * libs/gst/dataprotocol/dp-private.h:
4212         It's about time we bump the version number.
4213         Since event types don't fit in the guint8 anymore describing
4214         the payload type, make payload type 16 bits wide.
4215
4216 2005-10-08  Wim Taymans  <wim@fluendo.com>
4217
4218         * docs/design/part-TODO.txt:
4219         * docs/design/part-clocks.txt:
4220         * docs/design/part-events.txt:
4221         * docs/design/part-gstbin.txt:
4222         * docs/design/part-gstelement.txt:
4223         * docs/design/part-gstpipeline.txt:
4224         * docs/design/part-live-source.txt:
4225         * docs/design/part-messages.txt:
4226         * docs/design/part-overview.txt:
4227         * docs/design/part-states.txt:
4228         Many doc updates.
4229
4230 2005-10-08  Wim Taymans  <wim@fluendo.com>
4231
4232         * gst/gstevent.c:
4233         * gst/gstevent.h:
4234         Fix event quark registration.
4235         Add some space between events so we can insert them in the
4236         right groups.
4237
4238 2005-10-08  Wim Taymans  <wim@fluendo.com>
4239
4240         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4241         (gst_base_sink_handle_buffer):
4242         Better log message.
4243
4244         * gst/gstbus.h:
4245         * gst/gstelement.h:
4246         More docs.
4247
4248         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4249         (gst_queue_set_property), (gst_queue_get_property):
4250         * gst/gstqueue.h:
4251         Remove old unused properties.
4252
4253 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4254         * docs/gst/gstreamer-sections.txt:
4255         * gst/gstmessage.c:
4256         * gst/gstmessage.h:
4257         * gst/gstminiobject.c:
4258         * gst/gstminiobject.h:
4259         * gst/gstobject.h:
4260         * gst/gstpad.h:
4261         * gst/gstutils.h:
4262           lots of new docs and doc fixes
4263
4264 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4265
4266         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4267         * gst/gstplugin.h:
4268         * gst/gstregistry.c: (gst_registry_lookup_locked),
4269         (gst_registry_scan_path_level):
4270         * gst/gstregistryxml.c: (load_plugin):
4271           Only ever load one plugin for a given plugin basename.
4272           This ensures correct overriding of GST_PLUGIN_PATH over
4273           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4274           system installed plugins.
4275
4276 2005-10-08  Wim Taymans  <wim@fluendo.com>
4277
4278         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4279         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4280         Prepare for doing QOS.
4281
4282 2005-10-08  Wim Taymans  <wim@fluendo.com>
4283
4284         * check/gst/gstbin.c: (GST_START_TEST):
4285         * check/pipelines/cleanup.c: (GST_START_TEST):
4286         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4287         Allow new clock message too.
4288
4289 2005-10-08  Wim Taymans  <wim@fluendo.com>
4290
4291         * gst/gstmessage.c: (gst_message_new_error),
4292         (gst_message_new_warning), (gst_message_new_tag),
4293         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4294         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4295         (gst_message_new_segment_start), (gst_message_new_segment_done),
4296         (gst_message_parse_state_changed),
4297         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4298         (gst_message_parse_new_clock):
4299         * gst/gstmessage.h:
4300         Also carry the clock in question.
4301
4302 2005-10-08  Wim Taymans  <wim@fluendo.com>
4303
4304         * gst/gstmessage.c: (gst_message_new_custom),
4305         (gst_message_new_eos), (gst_message_new_error),
4306         (gst_message_new_warning), (gst_message_new_tag),
4307         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4308         (gst_message_new_new_clock), (gst_message_new_segment_start),
4309         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4310         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4311         * gst/gstmessage.h:
4312         Clean up.
4313         Added clock related messages.
4314
4315         * gst/gstpipeline.c: (gst_pipeline_change_state):
4316         Post message when the clock changed.
4317
4318         * tools/gst-launch.c: (event_loop):
4319         Print new clock.
4320
4321 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4322
4323         * tools/gst-inspect.c: (print_element_properties_info):
4324           Can't pass NULL strings to g_print() on windows.
4325
4326 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4327
4328         * docs/Makefile.am:
4329         * docs/gst/Makefile.am:
4330         * docs/gst/gstreamer-docs.sgml:
4331         * docs/gst/running.xml:
4332         * docs/version.entities.in:
4333           add a chapter on running GStreamer.
4334           document GST_DEBUG and GST_PLUGIN* env vars
4335
4336 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4337
4338         * Makefile.am:
4339           remove include dir
4340         * configure.ac:
4341           remove PLUGINS_BUILDDIR stuff
4342         * gst/gst.c: (init_post):
4343           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4344         * idiottest.mak:
4345           remove, it was condescending and not needed
4346
4347 2005-10-08  Wim Taymans  <wim@fluendo.com>
4348
4349         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4350         (gst_base_sink_handle_object), (gst_base_sink_event),
4351         (gst_base_sink_wait), (gst_base_sink_handle_event),
4352         (gst_base_sink_change_state):
4353         * gst/base/gstbasesink.h:
4354         Repost EOS message while going to PLAYING if still EOS.
4355         Make sure that when receiving a FLUSH_START we don't attempt
4356         to sync on the clock anymore.
4357
4358 2005-10-08  Wim Taymans  <wim@fluendo.com>
4359
4360         * tools/gst-launch.c: (event_loop):
4361         Better message printout.
4362
4363 2005-10-08  Wim Taymans  <wim@fluendo.com>
4364
4365         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4366         (gst_bin_child_proxy_get_children_count):
4367         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4368         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4369         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4370         (gst_child_proxy_set_valist):
4371         * gst/parse/grammar.y:
4372         Make ChildProxy threadsafe and fix mem leaks.
4373
4374 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4375
4376         * gst/gst.c: (init_post):
4377           debug the GST_PLUGIN_ env vars
4378
4379 2005-10-08  Wim Taymans  <wim@fluendo.com>
4380
4381         * check/gst/gstbin.c: (GST_START_TEST):
4382         * check/gst/gstmessage.c: (GST_START_TEST):
4383         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4384         * gst/gstelement.c: (gst_element_commit_state),
4385         (gst_element_lost_state):
4386         * gst/gstmessage.c: (gst_message_new_state_changed),
4387         (gst_message_parse_state_changed):
4388         * gst/gstmessage.h:
4389         * tools/gst-launch.c: (event_loop):
4390         Added extra field to STATE_CHANGE message with the pending
4391         state, which will be different from the new state soon.
4392
4393 2005-10-08  Wim Taymans  <wim@fluendo.com>
4394
4395         * gst/gstbus.c: (gst_bus_pop):
4396         * gst/gstclock.c:
4397         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4398         Small cleanups and doc updates.
4399
4400 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4401
4402         * gst/gst.c: (init_pre):
4403         * gst/gstbin.c: (gst_bin_add_func):
4404           log distributing clocks and base time
4405         * gst/gstregistry.c: (gst_registry_add_plugin),
4406         (gst_registry_scan_path_level), (gst_registry_scan_path):
4407           clean up the debugging output a little
4408         * gst/gstutils.c: (gst_element_state_get_name):
4409           warn about a memleak (I've actually seen this be used, though
4410           it was probably a bug)
4411
4412 2005-10-07  Wim Taymans  <wim@fluendo.com>
4413
4414         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4415         (gst_base_src_init), (gst_base_src_default_newsegment),
4416         (gst_base_src_newsegment), (gst_base_src_do_seek),
4417         (gst_base_src_loop), (gst_base_src_start):
4418         * gst/base/gstbasesrc.h:
4419         Make the newsegment event customizable by subclasses.
4420
4421 2005-10-07  Wim Taymans  <wim@fluendo.com>
4422
4423         * gst/gstevent.c: (gst_event_new_buffersize),
4424         (gst_event_parse_buffersize):
4425         * gst/gstevent.h:
4426         New event for future idea.
4427
4428 2005-10-07  Andy Wingo  <wingo@pobox.com>
4429
4430         * gst/gstelement.c (gst_element_post_message): Doc update.
4431
4432         * docs/gst/gstreamer-sections.txt: Update.
4433
4434         * gst/gstmessage.c (gst_message_new_application): Made into a
4435         function like honest API calls.
4436         (gst_message_new_element): New message type.
4437
4438         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4439
4440         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4441         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4442         times.
4443
4444         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4445         NO_PREROLL from gst_element_change_state to fall through.
4446
4447 2005-10-07  Wim Taymans  <wim@fluendo.com>
4448
4449         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4450         (gst_ghost_pad_do_activate_push):
4451         Activating a ghostpad with no internal pad in push mode
4452         is ok.
4453
4454 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4455
4456         * gst/gstobject.h:
4457           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4458           Fixes compilation on Windows.
4459
4460 2005-10-07  Michael Smith <msmith@fluendo.com>
4461
4462         * tools/gst-inspect.c:
4463           Print out feature and plugin count at the end when printing out
4464           all features.
4465
4466 2005-10-04  Michael Smith <msmith@fluendo.com>
4467
4468         * gst/gsterror.c: (_gst_stream_errors_init):
4469           Add another error string used in a few existing plugins.
4470
4471         * gst/gstplugin.c:
4472         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4473         * tools/gst-inspect.c: (print_element_info):
4474           When a feature disappears from a plugin (and the feature exists in
4475           the cached registry file), things went horribly wrong. This isn't a
4476           complete fix, we should actually be removing the 'missing' features
4477           from the features list when we load the actual plugin. That's not
4478           yet implemented. 
4479
4480 2005-10-04  Johan Dahlin  <johan@gnome.org>
4481
4482         * check/gst/gstiterator.c: (GST_START_TEST):
4483         * gst/gstbin.c: (gst_bin_iterate_elements),
4484         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4485         * gst/gstelement.c: (gst_element_iterate_pads):
4486         * gst/gstformat.c: (gst_format_iterate_definitions):
4487         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4488         (gst_iterator_new_list), (gst_iterator_filter):
4489         * gst/gstiterator.h:
4490         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4491         Add a GType to GstIterator, update callsites and tests.
4492
4493 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4494
4495         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4496           give events a chance to be handled by event probes when the pad
4497           is not linked
4498
4499 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4500
4501         * gst/gstevent.c: (gst_event_type_get_name),
4502         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4503         * gst/gstevent.h:
4504           add string representations for event types
4505
4506 2005-10-06  Wim Taymans  <wim@fluendo.com>
4507
4508         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4509         Don't use NULL pointers.
4510
4511 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4512
4513         * gst/gst_private.h:
4514         * gst/gstbus.c:
4515         * gst/gstelement.c:
4516         * gst/gstinfo.c:
4517         * gst/gstpluginfeature.c:
4518           widen the debug category in output to fit the biggest one we have
4519           add a bus category and use it
4520           play with the colors
4521           fix up some categories
4522
4523 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4524
4525         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4526           add push activation of sink ghost pads.
4527           Andye, please verify
4528
4529 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4530
4531         * gst/gstutils.c: (gst_element_link_pads):
4532           fix a bug in the case where neither element has a pad
4533         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4534           add a test for that case
4535
4536 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4537
4538         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4539           emit have-data before checking for peers.  This allows
4540           for probe handlers to connect elements.  This helps autopluggers.
4541         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4542         (gst_pad_suite):
4543           add six checks, linked/unlinked with no/true/false probe
4544
4545 2005-10-04  Wim Taymans  <wim@fluendo.com>
4546
4547         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4548         (gst_fake_sink_event), (gst_fake_sink_preroll),
4549         (gst_fake_sink_render), (gst_fake_sink_change_state):
4550         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4551         (gst_fake_src_get_property), (gst_fake_src_create),
4552         (gst_fake_src_stop):
4553         * gst/elements/gstidentity.c: (gst_identity_stop):
4554         Protect last_message with lock.
4555
4556 2005-10-04  Edward Hervey  <edward@fluendo.com>
4557
4558         * gst/gstformat.h: 
4559         Added precision in the comments for GST_FORMAT_DEFAULT
4560
4561 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4562
4563         * tools/gst-launch.c: (main):
4564           Don't try to run erroneous pipelines.
4565
4566 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4567
4568         * gst/gstbus.c: We don't need this header.
4569
4570 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4571
4572         * configure.ac:
4573           back to development
4574
4575 === release 0.9.3 ===
4576
4577 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4578
4579         * README:
4580         * configure.ac:
4581           Releasing 0.9.3, "Unregistered"
4582
4583 2005-10-03  Andy Wingo  <wingo@pobox.com>
4584
4585         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4586         whereby calling a pad's activatepush() function can start a thread
4587         that starts to push or pull before the pad gets the FLUSHING flag
4588         unset. Hack around it by holding the stream lock until the flag is
4589         set. Need to replace this with a proper solution. Together with
4590         the ghost pad fixes, this fixes mp3 playing/tagreading.
4591
4592         * docs/design/part-gstghostpad.txt: Add a note about activation of
4593         proxy pads outside of ghost pads.
4594
4595         * gst/gstghostpad.c: Implement the ghost pad activation design.
4596
4597 2005-10-02  Andy Wingo  <wingo@pobox.com>
4598
4599         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4600         It is volatile, after all.
4601
4602         * docs/design/part-gstghostpad.txt: Flesh out activation with
4603         ghost pads.
4604
4605         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4606         GST_DEBUG_FUNCPTR.
4607
4608 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4609
4610         * configure.ac:
4611           Fix (unused) AM_CONDITIONAL tests.
4612
4613 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4614
4615         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4616
4617         * gst/gstutils.c: (gst_pad_query_convert):
4618           Add assertion that makes sure src_val is >=0, just like
4619           gst_query_new_convert() has. (#315895)
4620
4621 2005-09-30  Edward Hervey  <edward@fluendo.com>
4622
4623         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4624         Let's not iterate pads we're not interested in, it avoids getting 
4625         sky-high refcounts on sinkpad.
4626
4627 2005-09-30  Wim Taymans  <wim@fluendo.com>
4628
4629         * gst/gstelement.c: (gst_element_set_state),
4630         (gst_element_change_state):
4631         Small tweak, element in ASYNC remains ASYNC.
4632
4633 2005-09-30  Wim Taymans  <wim@fluendo.com>
4634
4635         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4636         Only error is an error.
4637
4638         * gst/gstbin.c: (gst_bin_change_state):
4639         Better debugging.
4640
4641         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4642         Also call pad_block in pad alloc.
4643
4644         * gst/gstutils.c: (gst_flow_get_name):
4645         Better debugging.
4646
4647 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4648
4649         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4650         (gst_base_src_get_range):
4651           Fix documentation typos. Add some more debug info.
4652
4653 2005-09-29  David Schleef  <ds@schleef.org>
4654
4655         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4656           more end-user friendly.
4657         * tools/gst-inspect.c: (main): Check if command-line argument is
4658           a file and attempt to load that file as a plugin.
4659
4660 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4661
4662         * check/gst/gstbin.c:
4663         * check/states/sinks.c:
4664           fix tests for the new warning
4665         * check/gst/gstpipeline.c:
4666           add a test for pipeline and bus interaction
4667         * gst/gstelement.c:
4668           elements should be NULL if they get disposed; add a warning if not
4669
4670 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4671
4672         * gst/gstobject.c:
4673           for 2.6 refcounting, make debug log more correct by printing
4674           the actual refcounts at the time of swap (Wim)
4675
4676 2005-09-29  Andy Wingo  <wingo@pobox.com>
4677
4678         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4679         removes signal watches previously added via
4680         gst_bus_add_signal_watch.
4681         (gst_bus_add_signal_watch): Don't return the source id, just store
4682         it on the bus if there wasn't an id already.
4683
4684         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4685         add_signal_watch and remove_signal_watch.
4686
4687 2005-09-29  Edward Hervey  <edward@fluendo.com>
4688
4689         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4690         Better if we actually iterate the list :)
4691
4692 2005-09-29  Wim Taymans  <wim@fluendo.com>
4693
4694         * check/gst/gstbin.c: (GST_START_TEST):
4695         Change for new bus API.
4696
4697         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4698         (send_messages), (GST_START_TEST), (gstbus_suite):
4699         Change for new bus signal API.
4700
4701         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4702         (gst_bus_source_prepare), (gst_bus_source_check),
4703         (gst_bus_create_watch), (gst_bus_add_watch_full),
4704         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4705         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4706         * gst/gstbus.h:
4707         Remove support for multiple GSources operating on different
4708         message types as it is too complex and unneeded when using
4709         signals.
4710         Added support for receiving signals from the bus.
4711
4712 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4713
4714         * docs/libs/tmpl/gstdataprotocol.sgml:
4715         * docs/manual/advanced-dataaccess.xml:
4716         * gst/elements/gstcapsfilter.c:
4717         * gst/gstutils.c:
4718           rename filter-caps to caps property
4719
4720 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4721
4722         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4723           More robust fraction string parsing.
4724
4725         * docs/pwg/appendix-porting.xml:
4726           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4727
4728 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4729
4730         * gst/gstcaps.c: (gst_caps_do_simplify):
4731           Thou shalt not free a structure and then continue using it
4732           in the next loop iteration.
4733
4734         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4735         (gst_caps_suite):
4736           Add test case for caps simplification.
4737
4738 2005-09-29  Wim Taymans  <wim@fluendo.com>
4739
4740         * check/gst/gstbin.c: (GST_START_TEST):
4741         Oops.
4742
4743 2005-09-29  Wim Taymans  <wim@fluendo.com>
4744
4745         * check/gst/gstbin.c: (GST_START_TEST):
4746         Add bus to bin.
4747
4748         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4749         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4750         (find_element), (gst_bin_sort_iterator_next),
4751         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4752         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4753         (gst_bin_change_state), (gst_bin_dispose):
4754         A bin does not have a bus, it gets the bus from the parent.
4755
4756         * gst/gstelement.c: (gst_element_requires_clock),
4757         (gst_element_provides_clock), (gst_element_is_indexable),
4758         (gst_element_is_locked_state), (gst_element_change_state),
4759         (gst_element_set_bus_func):
4760         Small cleanups.
4761
4762         * gst/gstpipeline.c: (gst_pipeline_class_init),
4763         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4764         The pipeline provides a bus.
4765
4766 2005-09-28  Johan Dahlin  <johan@gnome.org>
4767
4768         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4769         gst_structure_get_enum instead of gst_structure_get_int
4770
4771         * gst/gststructure.c (gst_structure_get_enum): Impl.
4772
4773         * gst/gststructure.h (gst_structure_get_enum): Add
4774
4775         * docs/gst/gstreamer-sections.txt: Ditto
4776
4777         * gst/gstmessage.c (gst_message_new_state_changed): Use
4778         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4779         which does introspection.
4780         Reviewed by Christian Schaller
4781
4782 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4783
4784         * gst/gstinfo.c: (gst_debug_log_default):
4785           don't do dummy g_strdup()s
4786         * libs/gst/controller/gstcontroller.c:
4787         (on_object_controlled_property_changed),
4788         (gst_controlled_property_new), (gst_controller_new_valist),
4789         (gst_controller_new_list),
4790         (gst_controller_remove_properties_valist), (gst_controller_set),
4791         (gst_controller_get), (gst_controller_sync_values),
4792         (gst_controller_get_value_array), (_gst_controller_class_init),
4793         (gst_controller_get_type):
4794         * libs/gst/controller/gstcontroller.h:
4795         * libs/gst/controller/gstinterpolation.c:
4796         (gst_controlled_property_find_timed_value_node):
4797           convert // to /**/ comments
4798
4799 2005-09-28  Wim Taymans  <wim@fluendo.com>
4800
4801         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4802         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4803         (gst_bus_sync_signal_handler):
4804         * gst/gstbus.h:
4805         Added async-message and sync-message signals to the bus.
4806         Added helper BusFunc to emit signals for all posted messages.
4807
4808         * gst/gstmessage.c: (gst_message_type_get_name),
4809         (gst_message_type_to_quark), (gst_message_get_type):
4810         * gst/gstmessage.h:
4811         Register quarks for message names.
4812
4813 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4814
4815         * docs/libs/gstreamer-libs-sections.txt:
4816         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4817         (gst_controller_new_list):
4818         * libs/gst/controller/gstcontroller.h:
4819           added another constructor for language bindings
4820
4821 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4822
4823         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4824           add another check
4825         * gst/gstbus.c:
4826           add some doc
4827         * gst/gstinfo.c: (_gst_debug_init):
4828           slightly more readable color for refcount debugging
4829
4830 2005-09-28  Wim Taymans  <wim@fluendo.com>
4831
4832         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4833         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4834         (find_element), (gst_bin_sort_iterator_next),
4835         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4836         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4837         (gst_bin_change_state), (gst_bin_dispose):
4838         Small doc fixes. get_clock -> provide_clock.
4839
4840         * gst/gstelement.c: (gst_element_class_init),
4841         (gst_element_provides_clock), (gst_element_provide_clock),
4842         (gst_element_get_clock), (gst_element_commit_state),
4843         (gst_element_lost_state):
4844         * gst/gstelement.h:
4845         Make get/set_clock() symetric. Add provide_clock vmethod since
4846         that is actually what this function does.
4847
4848         * gst/gstpipeline.c: (gst_pipeline_class_init),
4849         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4850         (gst_pipeline_get_clock):
4851         get_clock -> provide_clock.
4852
4853 2005-09-28  Andy Wingo  <wingo@pobox.com>
4854
4855         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4856         lieu of real docs...
4857
4858         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4859
4860 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4861
4862         * gst/elements/gstcapsfilter.c:
4863         * gst/elements/gstfakesink.c:
4864         * gst/elements/gstfakesrc.c:
4865         * gst/elements/gstfdsink.c:
4866         * gst/elements/gstfdsrc.c:
4867         * gst/elements/gstfilesink.c:
4868         * gst/elements/gstfilesrc.c:
4869         * gst/elements/gstidentity.c:
4870         * gst/elements/gsttee.c:
4871         * gst/elements/gsttypefindelement.c:
4872           Make element details static.
4873
4874 2005-09-28  Wim Taymans  <wim@fluendo.com>
4875
4876         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4877         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4878         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4879         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4880         (gst_bin_change_state), (gst_bin_dispose):
4881         Some documentation updates.
4882         Clean up dispose handlers.
4883
4884         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4885         * gst/gstpad.c: (gst_pad_dispose):
4886         Clean up dispose handler.
4887
4888         * gst/gstpipeline.c: (gst_pipeline_change_state):
4889         Removed spurious UNLOCK.
4890
4891 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4892
4893         * docs/gst/gstreamer-sections.txt:
4894         * gst/base/gstbasesrc.h:
4895         * gst/gstelement.h:
4896         * gst/gstevent.h:
4897         * gst/gstobject.h:
4898         * gst/gstpad.h:
4899         * gst/gstpipeline.c:
4900         * gst/gstpipeline.h:
4901         * gst/gstutils.h:
4902         * gst/gstxml.h:
4903           added two new functions to the docs
4904                 documents all undocumented GstXXXFlags
4905                 completed some incomplete docs 
4906
4907 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4908
4909         * gst/gstbin.c: (gst_bin_dispose):
4910         * gst/gstelement.c: (gst_element_dispose):
4911           remove now useless and leaky resurrection code in dispose
4912         * gst/base/gstbasesrc.c: (gst_base_src_init):
4913         * gst/gstelementfactory.c: (gst_element_factory_create):
4914         * gst/gstobject.c: (gst_object_set_parent):
4915           add some debugging
4916
4917 2005-09-27  Wim Taymans  <wim@fluendo.com>
4918
4919         * docs/design/part-TODO.txt:
4920         Update TODO.
4921
4922         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4923         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4924         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4925         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4926         (gst_bin_change_state):
4927         * gst/gstelement.h:
4928         Remove element variable, we keep element info in the iterator now.
4929
4930 2005-09-27  Andy Wingo  <wingo@pobox.com>
4931
4932         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4933         values.
4934
4935 2005-09-27  Wim Taymans  <wim@fluendo.com>
4936
4937         * check/gst/gstbin.c: (GST_START_TEST):
4938         Enable check that works now.
4939
4940         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4941         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4942         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4943         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4944         (gst_bin_change_state):
4945         * gst/gstbin.h:
4946         Redid the state change algorithm using a topological sort algo.
4947         Handles all cases correctly.
4948         Exposed iterator for state change order.
4949
4950         * gst/gstelement.h:
4951         Temp storage for state changes. Need to get rid of this soon.
4952
4953 2005-09-27  Wim Taymans  <wim@fluendo.com>
4954
4955         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4956         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4957         (link_fold_func), (gst_pad_proxy_setcaps):
4958         Leak fixes, the fold functions need to unref the passed object and
4959         _get_parent_*() returns ref to parent.
4960
4961 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4962
4963         * check/gst/gstbuffer.c: (test_make_writable):
4964           Plug leak in test case and fix 'make check-valgrind'
4965
4966 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4967
4968         * gst/gstbuffer.c: (gst_subbuffer_init):
4969           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4970           works correctly in all circumstances (we could have just copied
4971           the parent buffer's readonly flag, but conceptually it seems
4972           cleaner to mark all subbuffers as read-only). (based on patch
4973           by Alessandro Decina, #314710).
4974         
4975         * check/gst/gstbuffer.c: (create_read_only_buffer),
4976         (test_make_writable), (test_subbuffer_make_writable),
4977         (gst_test_suite):
4978           Add some tests for gst_buffer_make_writable().
4979
4980 2005-09-27  Wim Taymans  <wim@fluendo.com>
4981
4982         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4983         use gst_object_has_ancestor().
4984
4985         * gst/gstobject.c: (gst_object_has_ancestor):
4986         * gst/gstobject.h:
4987         gst_object_has_ancestor() copied from gstbin.c as it is a
4988         usefull function.
4989
4990         * tests/instantiate/create.c: (create_all_elements):
4991         * tests/lat.c: (handoff_src), (handoff_sink):
4992         * tests/sched/runxml.c: (main):
4993         * tests/seeking/seeking1.c: (main):
4994         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4995         (main):
4996         Fix compilation of some tests.
4997
4998 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4999
5000         * gst/gsterror.h:
5001           Remove comment. GST_TYPE_G_ERROR is here to stay,
5002           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5003           (#316961, #300610).
5004
5005 2005-09-26  Wim Taymans  <wim@fluendo.com>
5006
5007         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5008         Added check that shows error in state change order.
5009
5010 2005-09-26  Wim Taymans  <wim@fluendo.com>
5011
5012         * gst/gstbin.c: (gst_bin_change_state):
5013         Make state change function use 3 queues again, we were
5014         adding elements in the wrong order.
5015
5016         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5017         Some debug info,
5018
5019         * gst/gstpad.c: (gst_pad_dispose):
5020         Added some debug info first.
5021
5022 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5023
5024         * docs/design/draft-push-pull.txt:
5025         * docs/design/part-events.txt:
5026         * docs/design/part-overview.txt:
5027         * docs/design/part-scheduling.txt:
5028           Replace all _pull_region() with _pull_range()
5029           
5030 2005-09-26  Andy Wingo  <wingo@pobox.com>
5031
5032         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5033
5034         * check/gst-libs/controller.c: Update for controller api change.
5035
5036         * configure.ac: 
5037         * tests/Makefile.am:
5038         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5039         over by GLib bug 118439.
5040         
5041         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5042         routines to a function.
5043
5044         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5045
5046         * libs/gst/controller/gsthelper.c:
5047         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5048         (gst_object_sync_values): Renamed from sink_values. Ugh.
5049
5050         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5051
5052         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5053         Renamed from controller_key, as it is exported.
5054
5055         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5056
5057 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5058
5059         * gst/Makefile.am:
5060         * gst/gst.h:
5061         * gst/gstpad.h:
5062         * gst/gstpadtemplate.h:
5063         * gst/gstquery.c:
5064         * gst/gstquery.h:
5065         * gst/gstqueryutils.c:
5066         * gst/gstqueryutils.h:
5067           remove queryutils headers after moving the two used functions
5068           to gstquery.  also fixes build problem for gstsiddec
5069
5070 2005-09-26  Michael Smith <msmith@fluendo.com>
5071
5072         * tools/gst-launch.1.in:
5073         Correct documentation in manpage of debug syntax
5074
5075 2005-09-26  Wim Taymans  <wim@fluendo.com>
5076
5077         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5078         (gst_base_src_is_seekable), (gst_base_src_change_state):
5079         Some more debugging info.
5080
5081 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5082
5083         * docs/gst/gstreamer-sections.txt:
5084         * gst/base/gstbasetransform.h:
5085         * gst/gstindex.h:
5086           added more docs
5087
5088 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5089
5090         * docs/gst/.cvsignore:
5091         * docs/gst/tmpl/.cvsignore:
5092         * docs/gst/tmpl/gstpipeline.sgml:
5093         * docs/gst/tmpl/gstplugin.sgml:
5094         * gst/gstpipeline.c:
5095         * gst/gstplugin.c:
5096         * gst/gstplugin.h:
5097           inlined the last two docs files
5098           removed the tmpl directory from cvs (no more conflicts here!)
5099
5100 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5101
5102         * docs/gst/gstreamer-sections.txt:
5103         * docs/gst/tmpl/.cvsignore:
5104         * docs/gst/tmpl/gstpad.sgml:
5105         * docs/gst/tmpl/gstpadtemplate.sgml:
5106         * gst/Makefile.am:
5107         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5108         (gst_pad_finalize), (gst_pad_set_pad_template):
5109         * gst/gstpad.h:
5110         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5111         (gst_pad_template_class_init), (gst_pad_template_init),
5112         (gst_pad_template_dispose), (name_is_valid),
5113         (gst_static_pad_template_get), (gst_pad_template_new),
5114         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5115         (gst_pad_template_pad_created):
5116         * gst/gstpadtemplate.h:
5117           inlined two more docs
5118           factored gstpadtemplate out of gstpad
5119
5120 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5121
5122         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5123         (test_children_state_change_order_semi_sink):
5124           Fix test case: we can't rely on a fixed state change order when
5125           going from READY => PAUSED because the sink might commit its 
5126           new state first when the first buffer created by the source 
5127           reaches the sink before the source has finished its change state.
5128           (Test case still fails at times, see #316856, comment 5 onwards)
5129
5130 2005-09-24  Wim Taymans  <wim@fluendo.com>
5131
5132         * docs/design/part-events.txt:
5133         * docs/design/part-gstbus.txt:
5134         * docs/design/part-gstpipeline.txt:
5135         * docs/design/part-messages.txt:
5136         * docs/design/part-overview.txt:
5137         * docs/design/part-segments.txt:
5138         * gst/gstbin.c:
5139         * gst/gstbuffer.c:
5140         * gst/gstclock.c:
5141         * gst/gstelement.c:
5142         * gst/gstevent.c:
5143         * gst/gstfilter.c:
5144         * gst/gstiterator.c:
5145         Various documentation updates.
5146
5147 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5148
5149         * gst/gstclock.h:
5150           Well, that's embarassing.  Luckily we weren't using
5151           GST_CLOCK_DIFF anywhere.
5152
5153 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5154
5155         * common/gtk-doc.mak:
5156           don't fail on building XML, FC4 slave shows a bunch of doc
5157           missing bits that I don't get
5158         * gst/gstpad.c:
5159         * gst/gstpipeline.c:
5160         * gst/gststructure.c:
5161           some doc updates
5162
5163 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5164
5165         * docs/design/part-gstbin.txt:
5166         * docs/design/part-gstbus.txt:
5167         * gst/gstbus.c:
5168           Add blurb about how the bus goes into flushing mode and
5169           drops all messages when its bin goes from READY into NULL 
5170           state.
5171
5172 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5173
5174         * docs/gst/gstreamer-sections.txt:
5175         * gst/gststructure.c: (gst_structure_get_clock_time):
5176         * gst/gststructure.h:
5177           add a method to get a GstClockTime out of a structure
5178
5179 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5180
5181         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5182         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5183           Added test to check state change order in bins (can still be made
5184           to fail here under heavy disk load; bails out with 'Push on pad
5185           fakesink:sink0, but it was not activated in push mode').
5186
5187         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5188           Fix state change order when there is only a semi sink (#316856)
5189
5190         * gst/gstbus.c: (gst_bus_class_init):
5191           Use _class_peek_parent(), not _class_ref(); fix docs to say
5192           'default main context' instead of 'mainloop' where that is
5193           what's meant.
5194
5195         * gst/gstelement.c: (gst_element_commit_state),
5196         (gst_element_set_state):
5197           Fix typos in debug messages
5198
5199 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5200
5201         * docs/README:
5202         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5203         * gst/gstpluginfeature.c:
5204         * gst/gstutils.c:
5205           various doc updates
5206         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5207           change an assert into an error until it gets fixed properly
5208
5209 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5210
5211         * docs/gst/gstreamer-sections.txt:
5212         * docs/gst/tmpl/.cvsignore:
5213         * docs/gst/tmpl/gstelement.sgml:
5214         * docs/gst/tmpl/gstinfo.sgml:
5215         * docs/gst/tmpl/gstobject.sgml:
5216         * gst/gstelement.c:
5217         * gst/gstelement.h:
5218         * gst/gstinfo.c:
5219         * gst/gstinfo.h:
5220         * gst/gstobject.c: (gst_object_class_init):
5221         * gst/gstobject.h:
5222           inlined 3 more biiiig doc files and added some missing docs on the fly
5223
5224 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5225
5226         * check/gst/.cvsignore:
5227         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5228         * gst/gstregistryxml.c: (load_plugin),
5229         (gst_registry_xml_save_plugin):
5230           put back source in registry.  add checks for find_plugin.
5231         * testsuite/states/bin.c: (assert_state), (empty_bin),
5232         (test_adding_one_element), (main):
5233         * testsuite/states/locked.c: (main):
5234           some compile/run fixes
5235
5236 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5237
5238         * check/gst/gstvalue.c: (GST_START_TEST):
5239           fix leaks in the test itself
5240
5241 2005-09-22  Wim Taymans  <wim@fluendo.com>
5242
5243         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5244         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5245         (gst_base_sink_query):
5246         Prepare for more accurate position reporting and query
5247         handling.
5248
5249         * gst/gstelement.c: (gst_element_send_event),
5250         (gst_element_set_state):
5251         Add some comment.
5252
5253 2005-09-22  Wim Taymans  <wim@fluendo.com>
5254
5255         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5256         (gst_query_parse_segment):
5257         * gst/gstquery.h:
5258         More documentation.
5259         Add segment query for future use.
5260
5261 2005-09-22  Wim Taymans  <wim@fluendo.com>
5262
5263         * gst/gstbin.c: (gst_bin_add_func):
5264         Some more debug info.
5265
5266         * gst/gstelement.c: (gst_element_send_event):
5267         Simplify send_event
5268
5269         * gst/gstelement.h:
5270         Don't know how flags got broken.
5271
5272         * gst/gstquery.h:
5273         Added new query.
5274
5275 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5276
5277         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5278           Add simplistic test suite for GST_TYPE_DATE serialisation and
5279           deserialisation.
5280
5281 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5282
5283         * docs/gst/gstreamer-sections.txt:
5284         * gst/gststructure.c: (gst_structure_set_valist),
5285         (gst_structure_get_date):
5286         * gst/gststructure.h:
5287         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5288         (gst_date_copy), (gst_value_compare_date),
5289         (gst_value_serialize_date), (gst_value_deserialize_date),
5290         (gst_value_transform_date_string),
5291         (gst_value_transform_string_date), (_gst_value_initialize):
5292         * gst/gstvalue.h:
5293           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5294           bunch of utility functions along with a hack that checks that
5295           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5296           is required. Part of the grand scheme in #170777.
5297
5298 2005-09-22  Andy Wingo  <wingo@pobox.com>
5299
5300         * gst/gstconfig.h.in: Psych out gtk-doc.
5301
5302         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5303
5304         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5305
5306         * tools/gst-inspect.c (print_element_list): Plug some
5307         inconsequential leaks.
5308
5309         * gst/gstregistry.c (gst_registry_get_default): Doc.
5310
5311         * check/gst/gstplugin.c: 
5312         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5313         * gst/gstelementfactory.c (gst_element_factory_create): 
5314         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5315         refcount changes.
5316
5317         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5318         (gst_plugin_feature_load): Doc, don't eat refs.
5319
5320         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5321         (gst_plugin_list_free): Doc.
5322         (gst_plugin_load_file): Doc updates.
5323
5324         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5325         accessors returning refcounted objects, return a ref.
5326
5327         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5328         accessor for caps. IDEMPOTENCE. Oh yes.
5329
5330 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5331
5332         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5333
5334         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5335         (_gst_debug_register_funcptr):
5336           Add mutex to serialise access to the hash table with
5337           the function pointer => function name string mapping;
5338           make that hash table static scope (#316809).
5339
5340         * gst/registries/.cvsignore:
5341           Remove left-over file.
5342
5343 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5344
5345         * docs/pwg/appendix-porting.xml:
5346           And something about newsegment events and caps-on-buffers to
5347           the porting guide (feel free to improve).
5348
5349 2005-09-21  Andy Wingo  <wingo@pobox.com>
5350
5351         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5352         data and event probes on the same pad.
5353         (test_buffer_probe_once): Test that removing probes from within
5354         the probe functions works.
5355
5356 2005-09-21  Andy Wingo  <wingo@pobox.com>
5357
5358         * check/gst/gstutils.c: New file.
5359         (test_buffer_probe_n_times): A simple buffer probe test. More to
5360         come, foolios.
5361
5362         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5363         have-data::buffer, not have-data.
5364         (gst_pad_add_event_probe): Likewise for have-data::event.
5365         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5366         peer' isn't quite right yet though.
5367         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5368         (gst_pad_remove_data_probe): Change to take the guint handler_id
5369         as their arg, not the function+data, which is more glib-like.
5370
5371         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5372         the signal emission to indicate if the data is a buffer or an
5373         event.
5374         (gst_pad_get_type): Initialize buffer and event quarks.
5375         (gst_pad_class_init): have-data is now a detailed signal, yes it
5376         is.
5377
5378 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5379
5380         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5381         * gst/gstutils.c: (gst_util_set_value_from_string),
5382         (gst_util_set_object_arg):
5383           Don't put functional code in g_return_if_fail() or
5384           g_return_val_if_fail() statements, otherwise things will 
5385           break when G_DISABLE_CHECKS is defined during compilation.
5386
5387 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5388
5389         * docs/gst/tmpl/.cvsignore:
5390         * docs/gst/tmpl/gstvalue.sgml:
5391         * gst/gstvalue.c:
5392         * gst/gstvalue.h:
5393           inlied another one and added  some obvious docs
5394
5395 2005-09-21  Wim Taymans  <wim@fluendo.com>
5396
5397         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5398         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5399         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5400         (gst_fdsrc_get_property), (gst_fdsrc_create):
5401         * gst/elements/gstfdsrc.h:
5402         Properly implement fdsrc. Removed signal and timeout,
5403         better implemented somewhere else.
5404
5405 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5406
5407         * docs/gst/tmpl/.cvsignore:
5408         * docs/gst/tmpl/gstimplementsinterface.sgml:
5409         * gst/gstinterface.c:
5410           inlined more docs
5411
5412 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5413
5414         * docs/gst/gstreamer-sections.txt:
5415         * docs/gst/tmpl/.cvsignore:
5416         * docs/gst/tmpl/gstenumtypes.sgml:
5417           remove obsolete doc file
5418
5419 2005-09-21  David Schleef  <ds@schleef.org>
5420
5421         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5422         little beer, fix a little leak.
5423
5424 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5425
5426         * docs/gst/gstreamer-docs.sgml:
5427         * docs/gst/gstreamer-sections.txt:
5428         * docs/gst/tmpl/.cvsignore:
5429         * gst/Makefile.am:
5430         * gst/gst.h:
5431         * gst/gstbin.c:
5432         * gst/gstelement.h:
5433         * gst/gstindex.c: (gst_index_class_init):
5434         * gst/gstindex.h:
5435         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5436         (gst_index_factory_class_init), (gst_index_factory_init),
5437         (gst_index_factory_finalize), (gst_index_factory_new),
5438         (gst_index_factory_destroy), (gst_index_factory_find),
5439         (gst_index_factory_create), (gst_index_factory_make):
5440         * gst/gstindexfactory.h:
5441         * gst/gstpluginfeature.c:
5442         * gst/gstpluginfeature.h:
5443         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5444           more docs inlined, splitted gstindex.{c,h}
5445
5446 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5447
5448         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5449           fix a leak
5450
5451 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5452
5453         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5454           Set sync to FALSE by default.
5455
5456 2005-09-20  Wim Taymans  <wim@fluendo.com>
5457
5458         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5459         (gst_base_sink_init):
5460         Make sync property settable from subclass.
5461
5462         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5463         (gst_fake_sink_change_state):
5464         Set sync to FALSE by default.
5465
5466 2005-09-20  Wim Taymans  <wim@fluendo.com>
5467
5468         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5469         * tools/gst-launch.c: (main):
5470         The timeout handler should have lower priority than the source
5471         so we don't timeout before popping a message with 0 timeout.
5472         Dump error messages after failed state change.
5473
5474 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5475
5476         * tools/gst-inspect.c: (print_element_properties_info):
5477           Fix two typos.
5478
5479 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5480
5481         * check/gst/gstevent.c:
5482         * gst/elements/gstfakesink.c:
5483         * gst/elements/gstfakesink.h:
5484           remove the sync property from fakesink.
5485           has the side effect of setting sync TRUE
5486           for fakesink, which is a change.  Anyone who knows how
5487           to fix this nicely in a GObject-y way, feel free.
5488
5489 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5490
5491         * docs/gst/gstreamer-docs.sgml:
5492           remove probe refsection
5493
5494 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5495
5496         * check/Makefile.am:
5497           disable valgrinding the controller test again
5498         * docs/gst/gstreamer-sections.txt:
5499           update for api-changes
5500
5501 2005-09-20  Wim Taymans  <wim@fluendo.com>
5502
5503         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5504         (gst_base_sink_set_property), (gst_base_sink_get_property),
5505         (gst_base_sink_do_sync):
5506         * gst/base/gstbasesink.h:
5507         Added sync property to basesink to disable clock sync.
5508
5509 2005-09-20  Andy Wingo  <wingo@pobox.com>
5510
5511         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5512         eating the caller's refcount.
5513
5514         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5515         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5516         refcount.
5517
5518         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5519         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5520         of GLib 2.8 public, so we can know which refcount to check in
5521         tests.
5522
5523         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5524         (gst_object_init): Only set the gst refcount if we're going ahead
5525         with the refcount hack.
5526
5527 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5528
5529         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5530         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5531           more leaks plumbed, added more debug-logging
5532         * gst/gstmacros.h:
5533           whitespace fix
5534
5535 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5536
5537         * gst/gstmessage.c:
5538           remove include of gstmemchunk.h
5539
5540 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5541
5542         * gst/gstclock.c: (_gst_clock_id_free):
5543           Commit from the Political Party For More Atomic CVS Commits,
5544           so that people don't waste too much of their day fishing
5545           out obvious leaks out of massive commits.
5546           Oh, and fix a pretty damn obvious leak in the memchunk
5547           removal code.
5548
5549 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5550
5551         * check/Makefile.am:
5552         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5553           plug mem-leak, re-add to valgrindable tests
5554
5555 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5556
5557         * gst/gstplugin.h:
5558           unbreak the build for those who have chronic arthritis
5559           and typing "make check" is just too taxing on the hands
5560
5561 2005-09-20  Andy Wingo  <wingo@pobox.com>
5562
5563         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5564         really want it out, you should fix plugins at the same time.
5565
5566 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5567
5568         * configure.ac:
5569         * docs/gst/gstreamer-sections.txt:
5570         * gst/gstobject.c:
5571           added missing symbols to api docs
5572           disable ref-count hack if we have glib >= 2.8
5573
5574 2005-09-19  David Schleef  <ds@schleef.org>
5575
5576         * docs/gst/Makefile.am: Ignore a few more internal headers
5577         * docs/gst/gstreamer-docs.sgml: Remove old sections
5578         * docs/gst/gstreamer-sections.txt: Remove old sections
5579         * docs/gst/tmpl/gstobject.sgml: update
5580         * docs/gst/tmpl/gstplugin.sgml: update
5581         * docs/gst/tmpl/gstpluginfeature.sgml: update
5582         * docs/random/ds/0.9-suggested-changes: update.
5583         * gst/Makefile.am: remove memchunk and trashstack, since they're
5584           not used.
5585         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5586         * gst/gst.h: don't include some headers
5587         * gst/gstchildproxy.c: add gstmarshal.h
5588         * gst/gstclock.c: Don't use memchunks
5589         * gst/gstminiobject.c: Add some docs
5590         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5591         * gst/gstobject.h: same
5592         * gst/gstplugin.c: include gstmacros.h
5593         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5594         * gst/gstquery.c: don't use memchunks
5595         * gst/gstregistry.c: rename gst_registry_deinit()
5596         * gst/gstregistry.h: same
5597
5598 2005-09-19  David Schleef  <ds@schleef.org>
5599
5600         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5601         * docs/libs/gstreamer-libs-sections.txt:
5602         * docs/libs/tmpl/gstgetbits.sgml:
5603         * docs/libs/tmpl/gstputbits.sgml:
5604
5605 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5606
5607         * win32/gstenumtypes.c:
5608         * win32/gstenumtypes.h:
5609           Update.
5610
5611 2005-09-19  Wim Taymans  <wim@fluendo.com>
5612
5613         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5614         Automatically PAUSE and RESUME a pipeline when a flushing seek
5615         is performed.
5616
5617 2005-09-19  Andy Wingo  <wingo@pobox.com>
5618
5619         * gst/gstregistry.h: Spacing fixen.
5620
5621 2005-09-19  Wim Taymans  <wim@fluendo.com>
5622
5623         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5624         Handle state change failure more correctly.
5625
5626 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5627
5628         * check/Makefile.am:
5629         * check/pipelines/cleanup.c: (run_pipeline):
5630         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5631         (GST_START_TEST):
5632           enable cleanup again after fixing the leak
5633         * docs/README:
5634           some more info on docs
5635
5636 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5637
5638         * check/Makefile.am:
5639           re-enable tests now that leaks are plugged
5640         * check/gst/gst.c:
5641         * check/gst/gstbin.c:
5642         * check/gst/gstpipeline.c:
5643           add some more tests while fixing leaks
5644         * common/check.mak:
5645           make sure binaries are uptodate when valgrinding/gdbing
5646         * gst/gst.c:
5647         * gst/gstelementfactory.c:
5648           remove a ref too many, and add a FIXME for when we get
5649           round to disposing of classes
5650         * gst/gstplugin.c:
5651           fix the refcounting when loading a plugin from a file and
5652           the code pretends that the pointer is the same even though
5653           of course it can change
5654         * gst/gstpluginfeature.c:
5655           unref plugins marked cached (a bit confusing as a name)
5656           as the docs state should be done
5657           various doc additions to explain refcounting
5658         * gst/gstregistry.c:
5659         * gst/gstregistryxml.c:
5660           debugging
5661
5662 2005-09-19  Wim Taymans  <wim@fluendo.com>
5663
5664         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5665         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5666         (send_messages), (GST_START_TEST), (gstbus_suite):
5667         * check/gst/gstpipeline.c: (GST_START_TEST):
5668         * check/pipelines/cleanup.c: (run_pipeline):
5669         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5670         (GST_START_TEST):
5671         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5672         (gst_bus_source_check), (gst_bus_source_dispatch),
5673         (gst_bus_create_watch), (gst_bus_add_watch_full),
5674         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5675         * gst/gstbus.h:
5676         * tools/gst-launch.c: (event_loop):
5677         * tools/gst-md5sum.c: (event_loop):
5678         GstBusHandler -> GstBusFunc, return value has the same meaning as
5679         any other GSource (FALSE == remove source).
5680         _add_watch() and _add_watch_full() now take a MessageType mask to
5681         only handle specific types of messages.
5682         _poll() returns the GstMessage instead of the message type to avoid
5683         race conditions.
5684         _have_pending() takes a MessageType mask now too.
5685         Added testsuite for multiple bus watches.
5686         Fix testsuites and applications for new bus API.
5687
5688 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5689
5690         * check/Makefile.am:
5691           mark a bunch of the tests as to fix until we fix them
5692
5693 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5694
5695         * common/check.mak:
5696           use GST_PLUGIN settings for valgrind tests as well, so we're
5697           valgrinding the correct thing
5698         * gst/gst.c: (init_post):
5699           plug another leak
5700
5701 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5702
5703         * gst/gst.c: (init_post), (gst_deinit):
5704         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5705         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5706         * gst/gstindex.c: (gst_index_factory_class_init),
5707         (gst_index_factory_finalize):
5708         * gst/gstobject.c: (gst_object_dispose):
5709         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5710         (gst_plugin_load_file), (gst_plugin_desc_free):
5711         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5712         (gst_plugin_feature_finalize):
5713         * gst/gstregistry.c: (gst_registry_class_init),
5714         (gst_registry_init), (gst_registry_finalize),
5715         (gst_registry_get_default), (gst_registry_deinit):
5716         * gst/gstregistry.h:
5717         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5718           various cleanups and memleak plugging.  make valgrind is happy now.
5719
5720 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5721
5722         * common/check.mak:
5723           add a check-valgrind target
5724
5725 2005-09-18  David Schleef  <ds@schleef.org>
5726
5727         * tools/gst-inspect.c: Revert the GOption code.
5728
5729 2005-09-17  David Schleef  <ds@schleef.org>
5730
5731         * check/Makefile.am: Fix environment variables.
5732         * check/gst/gstplugin.c: Fix for API changes.
5733         * tools/gst-inspect.c: Fix for API changes.
5734         * tools/gst-xmlinspect.c: Fix for API changes.
5735         * gst/gstelementfactory.c:
5736         * gst/gstplugin.c:
5737         * gst/gstplugin.h:
5738         * gst/gstpluginfeature.c:
5739         * gst/gstpluginfeature.h:
5740         * gst/gstregistry.c:
5741         * gst/gstregistry.h:
5742         * gst/gstregistryxml.c:
5743         * gst/gsttypefind.c:
5744         * gst/gsttypefindfactory.c:
5745         * gst/indexers/gstfileindex.c:
5746         * gst/indexers/gstmemindex.c:
5747         * gst/schedulers/Makefile.am:
5748           Change registry to keep track of both plugins and features,
5749           removing the feature tracking from plugins themselves.
5750
5751 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5752
5753         * check/Makefile.am:
5754         * tools/gst-register.1.in:
5755           remove gst-register
5756
5757 2005-09-15  David Schleef  <ds@schleef.org>
5758
5759         * check/gst/gstplugin.c:
5760         * gst/gstelementfactory.c:
5761         * gst/gstplugin.c:
5762         * gst/gstpluginfeature.c:
5763         * gst/gstregistry.c:
5764           Getting tired of debugging.  Disabled all the unreffing of
5765           plugins and features, which fixes the segfaults, but of
5766           course leaks like crazy.  At least playbin works.
5767
5768 2005-09-15  David Schleef  <ds@schleef.org>
5769
5770         * check/gst/gstplugin.c: (register_check_elements),
5771         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5772         More testing
5773         * gst/elements/gsttypefindelement.c: Fix refcounting.
5774         * gst/gsttypefind.c:
5775         * gst/gsttypefindfactory.c:
5776         * gst/gsttypefindfactory.h:
5777
5778 2005-09-15  David Schleef  <ds@schleef.org>
5779
5780         * gst/gstindex.c: get refcounting correct.
5781         * gst/gstregistry.c: Handle the case where a feature/plugin is
5782           not found.
5783
5784 2005-09-15  David Schleef  <ds@schleef.org>
5785
5786         * check/Makefile.am:
5787         * check/gst/gstplugin.c: Add test
5788         * gst/gstplugin.c: Fix problems noticed by testsuite
5789         * gst/gstplugin.h:
5790         * gst/gstregistry.c: 
5791         * gst/gstregistry.h:
5792
5793 2005-09-15  David Schleef  <ds@schleef.org>
5794
5795         * gst/gstplugin.c: Implement semi-decent recounting and locking
5796           in plugins and plugin features.
5797         * gst/gstplugin.h:
5798         * gst/gstpluginfeature.c:
5799         * gst/gstpluginfeature.h:
5800         * gst/gstregistry.c:
5801
5802 2005-09-15  Michael Smith <msmith@fluendo.com>
5803
5804         * gst/gstregistry.c: (gst_registry_get_feature_list):
5805           Implement this. Makes oggdemux work; decodebin still broken.
5806
5807 2005-09-14  David Schleef  <ds@schleef.org>
5808
5809         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5810           #316076)
5811         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5812         * gst/check/Makefile.am:
5813         * libs/gst/controller/Makefile.am:
5814         * libs/gst/dataprotocol/Makefile.am:
5815
5816 2005-09-14  David Schleef  <ds@schleef.org>
5817
5818         * configure.ac: Remove getbits library.  Nothing uses it, and
5819           it should be in something like liboil if someone did want
5820           to use it.
5821         * libs/gst/Makefile.am:
5822         * libs/gst/getbits/Makefile.am:
5823         * libs/gst/getbits/gbtest.c:
5824         * libs/gst/getbits/getbits.c:
5825         * libs/gst/getbits/getbits.h:
5826         * libs/gst/getbits/gstgetbits_generic.c:
5827         * libs/gst/getbits/gstgetbits_i386.s:
5828         * libs/gst/getbits/gstgetbits_inl.h:
5829
5830 2005-09-14  David Schleef  <ds@schleef.org>
5831
5832         * gst/Makefile.am: Dist glib-compat.h
5833
5834 2005-09-14  David Schleef  <ds@schleef.org>
5835
5836         * configure.ac: Remove gst/registries, since it's no longer used.
5837         * gst/registries/Makefile.am:
5838         * gst/registries/gstlibxmlregistry.c:
5839         * gst/registries/gstlibxmlregistry.h:
5840         * gst/registries/gstxmlregistry.c:
5841         * gst/registries/gstxmlregistry.h:
5842         * gst/registries/registrytest.c:
5843
5844 2005-09-14  David Schleef  <ds@schleef.org>
5845
5846         * gst/glib-compat.h:
5847         * gst/gstregistryxml.c:
5848           Convergence is near.  Seriously.
5849
5850 2005-09-14  David Schleef  <ds@schleef.org>
5851
5852         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5853         * gst/glib-compat.h:
5854           Attempt #4 to appease the buildbots.
5855
5856 2005-09-14  David Schleef  <ds@schleef.org>
5857
5858         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5859           Attempt #3.
5860
5861 2005-09-14  David Schleef  <ds@schleef.org>
5862
5863         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5864         Attempt #2.
5865
5866 2005-09-14  David Schleef  <ds@schleef.org>
5867
5868         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5869           the new functions.
5870
5871 2005-09-14  David Schleef  <ds@schleef.org>
5872
5873         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5874         * gst/glib-compat.h: Add some functions that are in newer versions
5875           of glib than we care to require.
5876         * gst/gstregistryxml.c: Use them.
5877
5878 2005-09-14  David Schleef  <ds@schleef.org>
5879
5880         * po/POTFILES.in: remove gst-register.c
5881
5882 2005-09-14  David Schleef  <ds@schleef.org>
5883
5884         * docs/gst/gstreamer-docs.sgml:
5885         * docs/gst/gstreamer-sections.txt:
5886         * docs/gst/gstreamer.types:
5887         * docs/gst/tmpl/gstelement.sgml:
5888         * docs/gst/tmpl/gstplugin.sgml:
5889         * docs/gst/tmpl/gstpluginfeature.sgml:
5890           Documentation updates for registry changes.
5891
5892 2005-09-14  David Schleef  <ds@schleef.org>
5893
5894         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5895           because we don't require glib-2.8.
5896
5897 2005-09-14  David Schleef  <ds@schleef.org>
5898
5899         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5900           registries directory.
5901
5902 2005-09-14  David Schleef  <ds@schleef.org>
5903
5904         * check/Makefile.am:
5905         * check/generic/states.c:
5906         * gst/Makefile.am:
5907         * gst/gst.c:
5908         * gst/gst.h:
5909         * gst/gst_private.h:
5910         * gst/gstelementfactory.c:
5911         * gst/gstindex.c:
5912         * gst/gstinfo.c:
5913         * gst/gstplugin.c:
5914         * gst/gstplugin.h:
5915         * gst/gstpluginfeature.c:
5916         * gst/gstpluginfeature.h:
5917         * gst/gstregistry.c:
5918         * gst/gstregistry.h:
5919         * gst/gstregistrypool.c: remove
5920         * gst/gstregistrypool.h: remove
5921         * gst/gsttypefind.c:
5922         * gst/gsttypefindfactory.c:
5923         * gst/gsturi.c:
5924         * tools/Makefile.am:
5925         * tools/gst-compprep.c:
5926         * tools/gst-inspect.c:
5927         * tools/gst-register.c: remove
5928         * tools/gst-xmlinspect.c:
5929           Registry rewrite.  Changes registry from being a file created
5930           by a tool into a simple cache file created automatically by 
5931           libgstreamer.  Removed gst-register (because it's no longer
5932           needed).  Remove registry pools, because we only have one
5933           registry implementation (XML).  Fix up other subsystems as
5934           necessary.
5935
5936 2005-09-13  Michael Smith <msmith@fluendo.com>
5937
5938         * gst/gstconfig.h.in:
5939           Don't Use windows linking attributes for MinGW. Fixes #316157
5940
5941 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5942
5943         * gst/gstutils.c: (set_state_async_thread_func),
5944         (gst_element_set_state_async):
5945           Apparently people think it's better if this function doesn't
5946           try to set the state to whatever state was asked for on the first
5947           call to this function for any object.  Seriously.
5948
5949 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5950
5951         * check/gst/gstpipeline.c: (GST_START_TEST):
5952         * docs/gst/gstreamer-sections.txt:
5953         * gst/gstutils.c: (set_state_async_thread_func),
5954         (gst_element_set_state_async):
5955         * gst/gstutils.h:
5956           add a "gst_element_set_state_async" method that
5957           sets the state and starts a thread to make sure the state
5958           change completes as best as it can
5959
5960 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5961
5962         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5963           codify design+behaviour in testsuite after discussion
5964
5965 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5966
5967         * docs/gst/tmpl/gstelement.sgml:
5968         * docs/manual/appendix-quotes.xml:
5969           add a quote
5970         * gst/gstelement.c: (gst_element_set_state):
5971           add some debug
5972
5973 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5974
5975         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5976         (gst_base_transform_prepare_output_buf),
5977         (gst_base_transform_handle_buffer):
5978         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5979         (gst_capsfilter_prepare_buf):
5980           Remove the requirement for sub-classes to call the parent
5981           implementation of prepare_output_buffer with a wrapper function.
5982           
5983         * gst/gsttaglist.h:
5984         * gst/gsttagsetter.h:
5985           Fix #define wrapper
5986
5987 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5988
5989         * docs/gst/gstreamer-sections.txt:
5990           more doc cleanups
5991
5992 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5993
5994         * docs/gst/gstreamer-sections.txt:
5995         * docs/gst/tmpl/gstelement.sgml:
5996         * docs/gst/tmpl/gstplugin.sgml:
5997         * gst/gstminiobject.c:
5998         * gst/gstvalue.h:
5999           docs now stop throwing warnings
6000
6001 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6002
6003         * docs/gst/gstreamer-sections.txt:
6004         * docs/gst/gstreamer.types:
6005         * docs/gst/tmpl/gstpad.sgml:
6006         * docs/gst/tmpl/gsttypes.sgml:
6007         * gst/base/gstadapter.h:
6008         * gst/base/gstbasesink.h:
6009         * gst/base/gstbasesrc.h:
6010         * gst/gstbin.h:
6011         * gst/gstbuffer.h:
6012         * gst/gstbus.h:
6013         * gst/gstcaps.h:
6014         * gst/gstclock.h:
6015         * gst/gstelement.h:
6016         * gst/gstevent.h:
6017         * gst/gstmessage.h:
6018         * gst/gstpad.h:
6019         * gst/gststructure.c:
6020         * gst/registries/gstlibxmlregistry.h:
6021           various documentation fixes
6022
6023 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6024
6025         * docs/gst/gstreamer-sections.txt:
6026         * docs/gst/tmpl/gstvalue.sgml:
6027           rearrange gstvalue section
6028         * gst/gstutils.c: (gst_element_state_get_name):
6029           NONE -> VOID
6030         * gst/gstvalue.c: (_gst_value_initialize):
6031         * gst/gstvalue.h:
6032           doc updates
6033
6034 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6035
6036         * check/gst-libs/controller.c:
6037           Header include fix.
6038         * gst/base/gstbasetransform.c:
6039         (gst_base_transform_default_prepare_buf),
6040         (gst_base_transform_handle_buffer):
6041         * gst/base/gstbasetransform.h:
6042           Some more basetransform changes and fixes to enable sub-classes
6043           that modify buffer metadata only.
6044         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6045         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6046         (gst_capsfilter_prepare_buf):
6047           If the output pad has fixed allowed caps and input buffers 
6048           don't have any, set the fixed caps on outgoing buffers.
6049
6050 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6051         * check/elements/identity.c: (GST_START_TEST):
6052           Make the error a little clearer when the test fails because
6053           identity made a copy of the buffer.
6054         * docs/gst/gstreamer-sections.txt:
6055           New symbols in gstbasetransform.h
6056         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6057         (gst_base_transform_init), (gst_base_transform_transform_size),
6058         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6059         (gst_base_transform_default_prepare_buf),
6060         (gst_base_transform_get_unit_size),
6061         (gst_base_transform_buffer_alloc),
6062         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6063         (gst_base_transform_change_state),
6064         (gst_base_transform_set_passthrough),
6065         (gst_base_transform_set_in_place),
6066         (gst_base_transform_is_in_place):
6067         * gst/base/gstbasetransform.h:
6068           Change BaseTransform to separate in_place operate from same_caps
6069           output. in_place implies that the element can perform the transform
6070           on incoming buffers in-place, even if the caps on the output are
6071           different.
6072           Sub-class elements can now implement special buffer allocation
6073           methods for outgoing buffers if they wish to.
6074           Big documentation addition.
6075         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6076         * gst/elements/gstelements.c:
6077           Changes for basetransform modifications.
6078         * gst/elements/Makefile.am:
6079         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6080           Compile fix. Extra debug output.
6081
6082 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6083
6084         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6085         (gst_pad_suite):
6086           add tests for valid pad naming
6087         * gst/check/gstcheck.c: (gst_check_log_message_func),
6088         (gst_check_log_critical_func):
6089           add ASSERT_WARNING
6090           remove printing of code, it is fragile when the code contains
6091           % and the line number is enough info
6092         * gst/check/gstcheck.h:
6093         * gst/gstpad.c: (gst_pad_template_new):
6094           fix memleaks
6095
6096 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6097
6098         * configure.ac:
6099           say what CHECK flags we use
6100         * docs/libs/gstreamer-libs.types:
6101         * libs/gst/controller/Makefile.am:
6102         * libs/gst/controller/gst-controller.c:
6103         * libs/gst/controller/gst-controller.h:
6104         * libs/gst/controller/gst-helper.c:
6105         * libs/gst/controller/gst-interpolation.c:
6106         * libs/gst/controller/gstcontroller.c:
6107         * libs/gst/controller/gsthelper.c:
6108         * libs/gst/controller/gstinterpolation.c:
6109         * tools/gst-inspect.c: (print_plugin_info):
6110           we don't use dashes in header names
6111
6112 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6113
6114         * check/Makefile.am:
6115         * check/gst/.cvsignore:
6116         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6117         (gst_pipeline_suite), (main):
6118           adding a test for pipelines and state changes
6119         * gst/gstutils.c: (get_state_func):
6120           add some debugging
6121         * gstreamer.spec.in:
6122           fix up spec file
6123
6124 2005-09-08  Michael Smith <msmith@fluendo.com>
6125
6126         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6127         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6128         (gst_file_src_is_seekable), (gst_file_src_get_size),
6129         (gst_file_src_start):
6130         * gst/elements/gstfilesrc.h:
6131           Various fixes for unseekable, unmmapable, and non-normal files, so
6132           that fallback to read() rather than mmap() works.
6133         * gst/gstevent.c: (gst_event_new_newsegment):
6134           Allow newsegment events with segment_start == segment_end, as will
6135           correctly happen if you use filesrc on a zero-size file, for
6136           example.
6137
6138 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6139
6140         * gst/gstplugin.c: (gst_plugin_load_file):
6141           Call g_module_close when we don't load the module
6142
6143         * gst/registries/gstlibxmlregistry.c:
6144         (gst_xml_registry_get_property):
6145           Port leak fix from 0.8
6146
6147 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6148
6149         * docs/gst/gstreamer-docs.sgml:
6150         * docs/gst/tmpl/.cvsignore:
6151         * docs/gst/tmpl/gsttrace.sgml:
6152         * docs/gst/tmpl/gsttrashstack.sgml:
6153         * gst/Makefile.am:
6154         * gst/gst.h:
6155         * gst/gstelement.h:
6156         * gst/gstevent.h:
6157         * gst/gstmessage.c:
6158         * gst/gstmessage.h:
6159         * gst/gsttag.c:
6160         * gst/gsttag.h:
6161         * gst/gsttaginterface.c:
6162         * gst/gsttaginterface.h:
6163         * gst/gsttaglist.c:
6164         * gst/gsttaglist.h:
6165         * gst/gsttagsetter.c:
6166         * gst/gsttagsetter.h:
6167         * gst/gsttrace.c:
6168         * gst/gsttrace.h:
6169         * gst/gsttrashstack.c:
6170           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6171           inlined docs for gsttrace, gsttrashstack
6172
6173 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6174
6175         * gst/Makefile.am:
6176         * gst/elements/gstbufferstore.h:
6177         * gst/elements/gsttypefindelement.c:
6178         * gst/elements/gsttypefindelement.h:
6179         * gst/gst.h:
6180         * gst/gsttypefind.c:
6181         * gst/gsttypefind.h:
6182         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6183         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6184         (gst_type_find_factory_dispose),
6185         (gst_type_find_factory_unload_thyself),
6186         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6187         (gst_type_find_factory_get_caps),
6188         (gst_type_find_factory_get_extensions),
6189         (gst_type_find_factory_call_function):
6190         * gst/gsttypefindfactory.h:
6191         * gst/registries/gstlibxmlregistry.c:
6192         * gst/registries/gstxmlregistry.c:
6193           splitted gsttypefind into gsttypefind, gsttypefindfactory
6194
6195 2005-09-07  Andy Wingo  <wingo@pobox.com>
6196
6197         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6198         condition whereby the pad's task function is entered before the
6199         pad_mode variable was set.
6200
6201 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6202
6203         * gst/gstpad.c: (gst_pad_alloc_buffer):
6204           Catch misbehaving pad_alloc functions that don't
6205           set up caps and do it for them.
6206
6207 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6208
6209         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6210           test for pipe!=NULL
6211         * docs/gst/tmpl/.cvsignore:
6212         * docs/gst/tmpl/gstmemchunk.sgml:
6213         * docs/gst/tmpl/gstparse.sgml:
6214         * docs/gst/tmpl/gsttaglist.sgml:
6215         * docs/gst/tmpl/gsttagsetter.sgml:
6216         * docs/gst/tmpl/gsttypefind.sgml:
6217         * docs/gst/tmpl/gsttypefindfactory.sgml:
6218         * gst/gstmemchunk.c:
6219         * gst/gstparse.c:
6220         * gst/gsttag.c:
6221         * gst/gsttaginterface.c:
6222         * gst/gsttypefind.c:
6223         * gst/gsttypefind.h:
6224           inlined more docs
6225
6226 === release 0.9.2 ===
6227
6228 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6229
6230         * NEWS:
6231         * RELEASE:
6232         * configure.ac:
6233           releasing 0.9.2, "South"
6234
6235 2005-09-05  Andy Wingo  <wingo@pobox.com>
6236
6237         * gst/registries/gstxmlregistry.h:
6238         * gst/registries/gstxmlregistry.c: Um... resurrect...
6239         
6240         * gst/registries/gstxmlregistry.h:
6241         * gst/registries/gstxmlregistry.c: and update to newer API.
6242         Incidentally they should be a bit faster now that they don't have
6243         to parse the caps.
6244         
6245 2005-09-05  Andy Wingo  <wingo@pobox.com>
6246
6247         * gst/registries/gstxmlregistry.h:
6248         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6249         replaced by the libxml registry a while back
6250
6251 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6252
6253         * docs/gst/tmpl/gstplugin.sgml:
6254         * gst/elements/gstelements.c:
6255         * gst/gst.c:
6256         * gst/gstplugin.c: (gst_plugin_register_func),
6257         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6258         (gst_plugin_get_source):
6259         * gst/gstplugin.h:
6260         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6261         (gst_xml_registry_save_plugin):
6262         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6263         (gst_xml_registry_save_plugin):
6264         * tools/gst-inspect.c: (print_plugin_info):
6265           add a "source" plugin description field, to represent the source
6266           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6267           will set it to PACKAGE, which is automake's idea of the name of
6268           the source project.
6269
6270 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6271
6272         * Makefile.am:
6273         * autogen.sh:
6274         * configure.ac:
6275         * docs/Makefile.am:
6276         * docs/faq/Makefile.am:
6277         * docs/gst/tmpl/gstelement.sgml:
6278         * docs/gst/tmpl/gsttypes.sgml:
6279         * docs/htmlinstall.mak:
6280         * docs/manual/Makefile.am:
6281         * docs/pwg/Makefile.am:
6282           reorganize doc build a little
6283           split out docbook and gtk-doc stuff
6284           have two separate --enable's and enable them through autogen
6285           but disable by default in configure (to be similar to other
6286           projects)
6287         * gstreamer.spec.in:
6288           clean up docs install
6289         * po/af.po:
6290         * po/az.po:
6291         * po/ca.po:
6292         * po/cs.po:
6293         * po/de.po:
6294         * po/en_GB.po:
6295         * po/fr.po:
6296         * po/it.po:
6297         * po/nb.po:
6298         * po/nl.po:
6299         * po/ru.po:
6300         * po/sq.po:
6301         * po/sr.po:
6302         * po/sv.po:
6303         * po/tr.po:
6304         * po/uk.po:
6305         * po/vi.po:
6306           translation updates
6307
6308 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6309
6310         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6311           Add comment.
6312           
6313         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6314         (gst_fake_sink_change_state):
6315           Make state change function thread-safe.
6316           
6317         * gst/gstpad.c: (gst_pad_alloc_buffer):
6318           Set offset on generic buffer allocated by fallback.
6319
6320 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6321
6322         * docs/gst/gstreamer-sections.txt:
6323         * docs/gst/tmpl/gstelement.sgml:
6324         * gst/gstpad.c:
6325         * libs/gst/controller/gst-controller.c:
6326         (gst_controlled_property_set_interpolation_mode),
6327         (gst_controlled_property_new),
6328         (gst_controller_find_controlled_property):
6329          run the wingo-magic script against the docs
6330
6331 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6332
6333         * docs/gst/gstreamer-docs.sgml:
6334         * docs/gst/gstreamer-sections.txt:
6335         * docs/gst/tmpl/.cvsignore:
6336         * docs/gst/tmpl/gstelementdetails.sgml:
6337         * docs/gst/tmpl/gstelementfactory.sgml:
6338         * gst/gst.c:
6339         * gst/gstbus.c:
6340         * gst/gstelementfactory.c:
6341         * gst/gstelementfactory.h:
6342           merged elementdetails docs into elementfactory docs
6343           inlined both
6344
6345 2005-09-02  Andy Wingo  <wingo@pobox.com>
6346
6347         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6348         consider this enum an enum and not a flags.
6349
6350 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6351
6352         * docs/gst/gstreamer-docs.sgml:
6353         * docs/gst/tmpl/.cvsignore:
6354         * docs/gst/tmpl/gstghostpad.sgml:
6355         * docs/gst/tmpl/gstiterator.sgml:
6356         * docs/gst/tmpl/gstmacros.sgml:
6357         * docs/gst/tmpl/gstrealpad.sgml:
6358         * docs/gst/tmpl/gstregistry.sgml:
6359         * docs/gst/tmpl/gstregistrypool.sgml:
6360         * docs/gst/tmpl/gststructure.sgml:
6361         * docs/gst/tmpl/gstsystemclock.sgml:
6362         * docs/gst/tmpl/gsttrace.sgml:
6363         * gst/gstghostpad.c:
6364         * gst/gstmacros.h:
6365         * gst/gstmemchunk.c:
6366         * gst/gstmemchunk.h:
6367         * gst/gstqueue.c:
6368         * gst/gstregistry.c:
6369         * gst/gstregistrypool.c:
6370         * gst/gststructure.c:
6371         * gst/gstsystemclock.c:
6372           more docs inlined
6373
6374 2005-09-02  Andy Wingo  <wingo@pobox.com>
6375
6376         * gst/gstelement.h (GstState): Renamed from GstElementState,
6377         changed to be a normal enum instead of flags.
6378         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6379         munged to be GST_STATE_CHANGE_*.
6380         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6381         work with the new state representation.
6382         (GstStateChange): New enumeration of possible state transitions.
6383         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6384         (GstElementClass::change_state): Pass the GstStateChange along as
6385         an argument. Helps language bindings, so they don't have to use
6386         tricky lock-needing macros like GST_STATE_CHANGE ().
6387
6388         * scripts/update-states (file): New script. Run it on a file to
6389         update it for state naming and API changes. Updates files in
6390         place.
6391
6392         * All files updated for the new API.
6393
6394 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6395
6396         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6397         * gst/gstutils.c: (gst_util_set_value_from_string),
6398         (gst_util_set_object_arg):
6399           fix a bunch of unchecked return values
6400         * tools/gst-complete.c: (main):
6401         * gstreamer.spec.in:
6402           clean up a little
6403
6404 2005-09-01  Wim Taymans  <wim@fluendo.com>
6405
6406         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6407         (gst_base_sink_event), (gst_base_sink_do_sync),
6408         (gst_base_sink_handle_event):
6409         * gst/base/gstbasesink.h:
6410         Handle newsegments more correctly.
6411
6412         * gst/gstbus.c:
6413         Fix docs.
6414
6415         * gst/gstevent.c: (gst_event_new_newsegment):
6416         A newsegment cannot have a start_time of -1
6417
6418 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6419
6420         * win32/gstenumtypes.c:
6421         * win32/gstenumtypes.h:
6422           Update
6423
6424 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6425
6426         * libs/gst/controller/gst-controller.c:
6427         (gst_controlled_property_set_interpolation_mode),
6428         (gst_controlled_property_new):
6429          fixed boolean again
6430
6431 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6432
6433         * docs/faq/gst-uninstalled:
6434           add -good
6435         * gst/gstevent.c:
6436         * gst/gstevent.h:
6437           remove wrong docs
6438         * gst/gstutils.c: (gst_element_link_filtered):
6439         * gst/gstutils.h:
6440           add gst_element_link_filtered
6441
6442 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6443
6444         * docs/gst/gstreamer-docs.sgml:
6445         * docs/gst/gstreamer-sections.txt:
6446         * docs/gst/tmpl/.cvsignore:
6447         * docs/gst/tmpl/gsterror.sgml:
6448         * docs/gst/tmpl/gstfilter.sgml:
6449         * docs/gst/tmpl/gsturihandler.sgml:
6450         * docs/gst/tmpl/gsturitype.sgml:
6451         * docs/gst/tmpl/gstutils.sgml:
6452         * docs/gst/tmpl/gstxml.sgml:
6453         * gst/gsterror.c:
6454         * gst/gsterror.h:
6455         * gst/gstfilter.c:
6456         * gst/gsturi.c:
6457         * gst/gsturitype.c:
6458         * gst/gstutils.c:
6459         * gst/gstxml.c:
6460           inlined more docs, fixed double id-ref
6461
6462 2005-08-31  Wim Taymans  <wim@fluendo.com>
6463
6464         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6465         (gst_base_transform_handle_buffer):
6466         Passthrough elements don't need the caps as they don't care.
6467
6468 2005-08-31  Wim Taymans  <wim@fluendo.com>
6469
6470         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6471         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6472         Don't leak refcounts on buffers.
6473
6474 2005-08-31  Wim Taymans  <wim@fluendo.com>
6475
6476         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6477         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6478         (gst_base_transform_chain), (gst_base_transform_change_state):
6479         * gst/base/gstbasetransform.h:
6480         Handle the case where we are not negotiated more gracefully.
6481
6482 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6483
6484         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6485         (gst_file_src_map_region):
6486           Set READONLY flag on mmap'ed buffers, otherwise
6487           gst_buffer_make_writable() won't work properly (#314708).
6488
6489 2005-08-31  Wim Taymans  <wim@fluendo.com>
6490
6491         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6492         passthrough elements can even do inplace on non writable
6493         buffers (as they don't touch them).
6494
6495 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6496
6497         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6498         (gst_test_mono_source_set_property),
6499         (gst_test_mono_source_class_init), (GST_START_TEST),
6500         (gst_controller_suite):
6501           more tests (hehe I have the most)
6502         * gst/gstbus.c:
6503           describe popping messages whenusing mulltiple sources
6504         * libs/gst/controller/gst-controller.c:
6505         (gst_controlled_property_set_interpolation_mode),
6506         (gst_controlled_property_new):
6507         * libs/gst/controller/gst-controller.h:
6508         * libs/gst/controller/gst-interpolation.c:
6509           implement boolean properties
6510
6511 2005-08-31  Wim Taymans  <wim@fluendo.com>
6512
6513         * gst/gstminiobject.c: (gst_mini_object_ref):
6514         Cannot assert that the refcount has to be positive
6515         since a disposed object can be resurrected.
6516
6517 2005-08-31  Wim Taymans  <wim@fluendo.com>
6518
6519         * gst/gstpad.c: (gst_pad_init):
6520         Revert change, need to first fix badly behaving 
6521         apps.
6522
6523 2005-08-30  Wim Taymans  <wim@fluendo.com>
6524
6525         * check/elements/fakesrc.c: (setup_fakesrc):
6526         * check/elements/identity.c: (setup_identity):
6527         Activate pads before using them.
6528
6529 2005-08-30  Wim Taymans  <wim@fluendo.com>
6530
6531         * gst/base/gstadapter.c: (gst_adapter_flush):
6532         Flushing out 0 bytes is ok for this function.
6533
6534         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6535         no newsegment gives a warning and sets the start/stop to 
6536         invalid.
6537
6538         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6539         (gst_base_transform_set_passthrough):
6540         Some debug info.
6541
6542         * gst/gstminiobject.c: (gst_mini_object_ref):
6543         Check refcount here too.
6544
6545         * gst/gstpad.c: (gst_pad_init):
6546         Pads are initially flushing and refusing data.
6547
6548         * gst/gstutils.c: (gst_element_link_pads_filtered):
6549         When adding a capsfilter element make sure it has the
6550         same state as the parent bin.
6551
6552 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6553
6554         * docs/gst/tmpl/.cvsignore:
6555         * docs/gst/tmpl/gstformat.sgml:
6556         * docs/gst/tmpl/gstversion.sgml:
6557         * gst/gstbus.h:
6558         * gst/gstformat.c:
6559         * gst/gstformat.h:
6560         * gst/gstversion.h.in:
6561           more docs and two more inlined
6562
6563 2005-08-30  Wim Taymans  <wim@fluendo.com>
6564
6565         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6566         Don't sync to clock.
6567
6568 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6569
6570         * docs/gst/gstreamer-sections.txt:
6571           ultral33t func10ns deserve to appear in the docs actually
6572         * docs/gst/tmpl/.cvsignore:
6573         * docs/gst/tmpl/gstcompat.sgml:
6574         * docs/gst/tmpl/gstconfig.sgml:
6575         * gst/check/gstcheck.c:
6576         * gst/gstcompat.h:
6577         * gst/gstconfig.h.in:
6578           inlined more docs
6579
6580 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6581
6582         * docs/gst/tmpl/.cvsignore:
6583         * docs/gst/tmpl/gstquery.sgml:
6584         * docs/gst/tmpl/gstutils.sgml:
6585         * gst/gstquery.c:
6586         * gst/gstquery.h:
6587           inlined and extended docs
6588
6589 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6590
6591         * check/gst-libs/controller.c: (GST_START_TEST),
6592         (gst_controller_suite):
6593           more tests
6594         * docs/gst/tmpl/gstutils.sgml:
6595         * docs/libs/gstreamer-libs-sections.txt:
6596         * docs/libs/tmpl/gstdataprotocol.sgml:
6597           include path fixes
6598         * examples/controller/audio-example.c: (main):
6599           controller example works now
6600         * gst/gstclock.h:
6601           doc fixes
6602         * tools/gst-inspect.c: (print_element_properties_info):
6603           show param spec flags
6604
6605 2005-08-29  Andy Wingo  <wingo@pobox.com>
6606
6607         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6608
6609 2005-08-28  Andy Wingo  <wingo@pobox.com>
6610
6611         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6612         as having two arguments instead of just one. Allows superclasses
6613         to access information on subclasses -- see the terrible for() loop
6614         in gtype.c:g_type_create_instance for the reason why. All callers
6615         changed.
6616
6617 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6618
6619         * docs/design/part-messages.txt:
6620           update info
6621         * docs/gst/tmpl/.cvsignore:
6622         * docs/gst/tmpl/gstcaps.sgml:
6623         * docs/gst/tmpl/gstclock.sgml:
6624         * gst/gstbus.c:
6625         * gst/gstcaps.c:
6626         * gst/gstcaps.h:
6627         * gst/gstclock.c:
6628         * gst/gstclock.h:
6629         * gst/gstmessage.c:
6630           added descriptions for bus and message
6631           inline caps and clock docs
6632
6633 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6634
6635         * gst/gstmessage.c:
6636         * gst/gstmessage.h:
6637           doc fixes
6638
6639 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6640
6641         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6642           fix div-by-zero
6643
6644 2005-08-26  Andy Wingo  <wingo@pobox.com>
6645
6646         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6647         element_set_state's return val.
6648         (test_2_elements): Add test that's been disabled for months.
6649
6650         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6651         can-activate-pull properties.
6652
6653         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6654         can-activate-pull properties. Implement is_seekable so fakesrc can
6655         operate in pull mode.
6656
6657         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6658         properties.
6659         (gst_base_sink_activate, gst_base_sink_activate_pull)
6660         (gst_base_sink_activate_push): Make activation mode choosing work.
6661         Cleanups.
6662         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6663         is right. Make pull mode work. Post an eos before pausing in pull
6664         mode.
6665         (gst_base_sink_change_state): Pay attention to the core's
6666         change_state() return val.
6667         
6668         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6669         has-getrange properties. Cleanups.
6670         
6671         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6672         has_getrange and replace with can_activate_pull and
6673         can_activate_push.
6674
6675         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6676         locking comments. Remove has_loop, has_chain and replace with
6677         can_activate_pull and can_activate_push.
6678
6679 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6680
6681         * configure.ac:
6682         * examples/Makefile.am:
6683         * examples/metadata/Makefile.am:
6684         * examples/metadata/read-metadata.c: (message_loop),
6685         (have_pad_handler), (make_pipeline), (print_tag), (main):
6686           Add metadata reading example that loops over a list of filenames,
6687           dumping any tags found.
6688
6689         * gst/gstbus.c: (gst_bus_dispose):
6690         * gst/gstelement.c: (gst_element_dispose):
6691           Release a few potentially-held references in dispose.
6692
6693 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6694
6695         * docs/gst/tmpl/gstminiobject.sgml:
6696           do *not* add tmpl/*.sgml files to CVS!
6697
6698 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6699
6700         * libs/gst/bytestream/.cvsignore:
6701         * libs/gst/bytestream/Makefile.am:
6702         * libs/gst/bytestream/adapter.c:
6703         * libs/gst/bytestream/adapter.h:
6704         * libs/gst/bytestream/bytestream.c:
6705         * libs/gst/bytestream/bytestream.h:
6706         * libs/gst/bytestream/filepad.c:
6707         * libs/gst/bytestream/filepad.h:
6708           removing obsolete files
6709
6710 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6711
6712         * docs/gst/gstreamer-docs.sgml:
6713         * docs/libs/gstreamer-libs-docs.sgml:
6714           disabed additional index entries again, as this makes docs-gen just
6715           slow and they aren't useful yet
6716         * docs/libs/gstreamer-libs-sections.txt:
6717           little -section.txt cleanup for libs
6718
6719 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6720
6721         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6722         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6723           fix up some debugging
6724         (gst_base_transform_get_unit_size),
6725         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6726         (gst_base_transform_handle_buffer):
6727         * gst/base/gstbasetransform.h:
6728           handle and store timed NEWSEGMENT events so that subclasses that
6729           calculate time by counting samples have a segment_start time they
6730           need to add to their timestamps - see audioresample
6731
6732 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6733
6734         * gst/gstbin.h:
6735           removed ';' from the end of macro defs
6736         * docs/gst/gstreamer-docs.sgml:
6737         * docs/gst/gstreamer-sections.txt:
6738         * docs/gst/tmpl/.cvsignore:
6739         * gst/gstbus.h:
6740         * gst/gstelement.c: (gst_element_class_init),
6741         (gst_element_set_state), (activate_pads),
6742         (gst_element_save_thyself):
6743         * gst/gstevent.c: (gst_event_new_newsegment):
6744         * gst/gstevent.h:
6745         * gst/gstiterator.c:
6746         * gst/gstiterator.h:
6747         * gst/gstpad.c:
6748         * gst/gstprobe.h:
6749         * gst/gstutils.c: (gst_pad_query_convert):
6750         * gst/gstutils.h:
6751           fixed parameter name mismatches between source, header and docs
6752           added some more docs, resolved the last batch of unused elements in
6753           docs (now someone needs to doc them)
6754
6755 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6756
6757         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6758         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6759           don't walk through the plugins backwards.  Where is all this
6760           reversed logic coming from ?
6761
6762 2005-08-25  Wim Taymans  <wim@fluendo.com>
6763
6764         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6765         (gst_base_transform_transform_size),
6766         (gst_base_transform_configure_caps),
6767         (gst_base_transform_get_unit_size),
6768         (gst_base_transform_buffer_alloc),
6769         (gst_base_transform_change_state):
6770         * gst/base/gstbasetransform.h:
6771         Cache caps unit_size.
6772         Make sure we cannot negotiate up and downstream at the
6773         same time.
6774
6775 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6776
6777         * gst/gst.c: (init_pre), (init_post):
6778           register the installed plugin path after the env var
6779         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6780         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6781           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6782           directories, so the tests can prefer uninstalled over installed
6783
6784 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6785
6786         * gst/base/gstbasetransform.h:
6787           comment
6788         * gst/gstpad.c:
6789           add to docs
6790
6791 2005-08-25  Wim Taymans  <wim@fluendo.com>
6792
6793         * gst/gstbin.c: (bin_bus_handler):
6794         Be a bit more conservative about the posted message.
6795         
6796         * gst/gstbus.c: (gst_bus_post):
6797         Some cleanups, warn wrong return values.
6798
6799 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6800
6801         * check/gst/gstbin.c: (GST_START_TEST):
6802         * gst/gstbin.c: (bin_bus_handler):
6803         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6804         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6805         (gst_message_new_warning), (gst_message_new_tag),
6806         (gst_message_new_state_changed), (gst_message_new_segment_start),
6807         (gst_message_new_segment_done), (gst_message_new_custom):
6808         * gst/gstmessage.h:
6809         * tools/gst-launch.c: (event_loop):
6810         * tools/gst-md5sum.c: (event_loop):
6811           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6812
6813 2005-08-25  Wim Taymans  <wim@fluendo.com>
6814
6815         * check/generic/states.c: (GST_START_TEST):
6816         Cleanup can be done at the end.
6817
6818         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6819         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6820         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6821         Oh boy.. Thanks for finding this, Thomas. 
6822
6823 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6824
6825         * docs/gst/gstreamer.types:
6826           added missing types
6827
6828 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6829
6830         * docs/gst/gstreamer-docs.sgml:
6831         * docs/gst/gstreamer-sections.txt:
6832         * docs/gst/tmpl/.cvsignore:
6833         * gst/gstbin.c:
6834         * gst/gstiterator.c:
6835         * gst/gstutils.c:
6836         * gst/registries/gstxmlregistry.h:
6837           added missing classes and symbols (123 more to go)
6838           removed removed symbols from section file
6839           fixed many doc-comments
6840
6841 2005-08-24  Wim Taymans  <wim@fluendo.com>
6842
6843         * check/generic/states.c: (GST_START_TEST):
6844         Make sure all tasks are stopped.
6845
6846         * check/gst/gstbin.c: (GST_START_TEST):
6847         Unref after usage for proper valgrinding.
6848
6849         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6850         Really wait for the task to stop before destroying the
6851         mutex.
6852
6853         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6854         (gst_queue_src_activate_push):
6855         Small cleanups. Don't stop the task when we did not start
6856         it.
6857
6858         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6859         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6860         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6861         (gst_task_join):
6862         * gst/gsttask.h:
6863         Protect the stream lock with the object lock.
6864         Disallow setting the stream lock when running.
6865         Add cleanup_all to wait for the threadpool to finish.
6866         Remove code to autoallocate a mutex if none was provided.
6867         Add _join() to wait for a task to stop.
6868         Protect the thread pool with a global lock.
6869
6870 2005-08-24  Wim Taymans  <wim@fluendo.com>
6871
6872         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6873         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6874         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6875         * gst/base/gstbasesink.h:
6876         Handle newsegment events correctly.
6877         Drop buffers out of the segment range.
6878
6879 2005-08-22  Andy Wingo  <wingo@pobox.com>
6880
6881         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6882         macro, implements an interface and gstimplementsinterface for a
6883         new type.
6884
6885 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6886
6887         * check/Makefile.am:
6888         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6889           add a test that does a bunch of state changes on elements
6890           needs some fixing for valgrind
6891         * check/states/sinks.c: (gst_object_suite):
6892           whitespace
6893         * gst/gstcaps.h:
6894           add prototype for gst_caps_is_equal_fixed
6895         * gst/gstplugin.c:
6896         * gst/gstregistrypool.c:
6897           doc fixes
6898
6899 2005-08-24  Andy Wingo  <wingo@pobox.com>
6900
6901         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6902         convert a negative value. Doesn't make much sense. Mostly this is
6903         here to force callers to ensure -1 maps to -1.
6904
6905 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6906
6907         * docs/pwg/advanced-types.xml:
6908           Well done to Michael for catching my deliberate introduction
6909           of this spelling mistake. 
6910         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6911         * gst/gstelement.h:
6912           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6913           unlink pads before removing the element from the bin.
6914
6915 2005-08-24  Andy Wingo  <wingo@pobox.com>
6916
6917         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6918         the same thing as GST_DEBUG=*:4.
6919         (parse_debug_level, parse_debug_category): New helper parsers.
6920
6921 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6922
6923         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6924         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6925         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6926         (gst_base_transform_buffer_alloc),
6927         (gst_base_transform_handle_buffer):
6928           use gboolean return values and pointers to size so we can use the
6929           full GST_BUFFER_SIZE range (guint) for buffer sizes
6930           use GstPadDirection for transform_caps
6931         * gst/base/gstbasetransform.h:
6932           rename get_size to get_unit_size since that's what it is
6933         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6934           use GstPadDirection for transform_caps
6935         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6936         * gst/gstutils.h:
6937           cleanup and debugging
6938
6939 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6940
6941         * gst/gstelement.c: (gst_element_class_init),
6942         (gst_element_set_state), (activate_pads),
6943         (gst_element_save_thyself):
6944         * tools/gst-compprep.c: (main):
6945         * tools/gst-inspect.c: (print_element_properties_info):
6946         * tools/gst-xmlinspect.c: (print_element_properties):
6947           Fixed long standing mem-leak
6948
6949 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6950
6951         * check/gst/gstbin.c: (GST_START_TEST):
6952         * gst/gstbin.c: (bin_bus_handler):
6953         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6954         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6955         (gst_message_new_warning), (gst_message_new_tag),
6956         (gst_message_new_state_changed), (gst_message_new_segment_start),
6957         (gst_message_new_segment_done), (gst_message_new_custom):
6958         * gst/gstmessage.h:
6959         * tools/gst-launch.c: (event_loop):
6960         * tools/gst-md5sum.c: (event_loop):
6961           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6962           that applications can sensibly post custom messages with references
6963           to their own objects.
6964
6965 2005-08-24  Andy Wingo  <wingo@pobox.com>
6966
6967         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6968         already.
6969
6970 2005-08-24  Wim Taymans  <wim@fluendo.com>
6971
6972         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6973         (gst_base_transform_transform_caps),
6974         (gst_base_transform_transform_size),
6975         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6976         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6977         (gst_base_transform_handle_buffer):
6978         * gst/base/gstbasetransform.h:
6979         Many fixes and new features added by Thomas. Can now also do
6980         transforms with variable sizes and a custom fixate_caps function.
6981
6982 2005-08-24  Wim Taymans  <wim@fluendo.com>
6983
6984         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6985         Some debugging.
6986
6987         * gst/gstclock.h:
6988         Cast to ClockTime before formatting to time.
6989
6990         * gst/gstutils.h:
6991         Cleanups.
6992
6993 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6994
6995         * check/gst-libs/controller.c: (GST_START_TEST),
6996         (gst_controller_suite):
6997         * docs/gst/tmpl/gstcaps.sgml:
6998         * docs/gst/tmpl/gstghostpad.sgml:
6999         * docs/gst/tmpl/gstquery.sgml:
7000         * docs/gst/tmpl/gstutils.sgml:
7001         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7002         (gst_object_sink_values), (gst_object_get_value_arrays),
7003         (gst_object_get_value_array):
7004           gracefully handle helper method calls to objects that are not beeing
7005           controlled, added test case for that          
7006
7007 2005-08-23  Wim Taymans  <wim@fluendo.com>
7008
7009         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7010         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7011         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7012         (gst_event_parse_qos), (gst_event_new_seek),
7013         (gst_event_parse_seek):
7014         * gst/gstevent.h:
7015         Some more debugging output and doc cleanups.
7016
7017         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7018         Fix possible deadlock.
7019
7020 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7021
7022         * docs/gst/gstreamer-docs.sgml:
7023         * docs/gst/gstreamer-sections.txt:
7024         * docs/gst/gstreamer.types:
7025         * docs/gst/tmpl/.cvsignore:
7026         * gst/gstbin.h:
7027         * gst/gstbus.c:
7028         * gst/gstelement.c:
7029         * gst/gstevent.h:
7030           added 100 symbols from gstreamer-unused.txt to the right sections
7031           fixed more broken comments
7032           added GstBus to docs
7033
7034 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7035
7036         * docs/gst/gstreamer-sections.txt:
7037         * docs/gst/tmpl/.cvsignore:
7038         * docs/gst/tmpl/gstbin.sgml:
7039         * docs/gst/tmpl/gstbuffer.sgml:
7040         * gst/base/gstbasesrc.c:
7041         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7042         * gst/gstbuffer.c:
7043         * gst/gstbuffer.h:
7044         * tools/gst-launch.1.in:
7045           inlined more doc comments, added missing comments and fixed comments
7046           fixed typos
7047
7048 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7049
7050         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7051           some debugging
7052         * gst/gstcaps.h:
7053           whitespace fixes
7054         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7055           more debugging
7056         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7057         * gst/gststructure.h:
7058           add a fixate function for booleans; add a FIXME that these func
7059           names should probably be gst_structure_fixate_*
7060
7061 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7062
7063         * docs/gst/gstreamer-docs.sgml:
7064         * docs/gst/gstreamer-sections.txt:
7065         * gst/Makefile.am:
7066         * gst/gstbin.c: (gst_bin_get_type),
7067         (gst_bin_child_proxy_get_child_by_index),
7068         (gst_bin_child_proxy_get_children_count),
7069         (gst_bin_child_proxy_init):
7070         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7071         (gst_child_proxy_get_child_by_index),
7072         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7073         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7074         (gst_child_proxy_get), (gst_child_proxy_set_property),
7075         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7076         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7077         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7078         * gst/gstchildproxy.h:
7079         * gst/parse/grammar.y:
7080         * tools/gst-inspect.c: (print_interfaces),
7081         (print_element_properties_info), (print_element_info):
7082           ported gstchildproxy over from 0.8
7083           ported gst-inspect fixes and enhancements over from 0.8
7084
7085 2005-08-22  Wim Taymans  <wim@fluendo.com>
7086
7087         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7088         (gst_base_transform_handle_buffer):
7089         Also call the transform function if we have ANY caps.
7090
7091         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7092         Fix debug info.
7093
7094 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7095
7096         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7097           Don't pretend to handle seek events if the source is not seekable
7098
7099 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7100
7101         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7102           Remove extra parameter to debug output
7103
7104         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7105         (gst_base_src_do_seek), (gst_base_src_activate_push):
7106           Fix seek event handling.
7107
7108         * gst/gstpipeline.c: (gst_pipeline_change_state):
7109         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7110         (gst_queue_src_activate_push):
7111           Don't start the src pad task on FLUSH_STOP if the pad
7112           isn't linked.
7113           Debug changes.
7114
7115 2005-08-22  Wim Taymans  <wim@fluendo.com>
7116
7117         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7118         Added check for gst_static_caps_get() refcounting.
7119
7120 2005-08-22  Wim Taymans  <wim@fluendo.com>
7121
7122         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7123         Make _static_caps_get() refcounting sane.
7124         
7125         * gst/gstelement.c: (gst_element_set_state):
7126         Add g_return_val_if_fail() to protect against segfaults.
7127
7128 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7129
7130         * docs/gst/tmpl/gstevent.sgml:
7131         * gst/gstevent.c:
7132         * gst/gstevent.h:
7133           inlined remaining docs, added missing doc comments
7134
7135 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7136
7137         * check/gst/gstbin.c: (GST_START_TEST):
7138           since we don't know when preroll is done, use refcount range
7139           check for the sink
7140         * gst/check/gstcheck.h:
7141           add macro for checking refcount range
7142
7143 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7144
7145         * check/Makefile.am:
7146           clean up environment for when registry gets built versus
7147           when actual tests are run; valgrind seems to not report
7148           leaks if GST_PLUGIN_PATH is set to some specific values
7149         * check/gst/gstbin.c: (GST_START_TEST):
7150           add more refcounting checks; maybe this exposes a
7151           preroll lock bug ?
7152         * common/check.mak:
7153         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7154         * gst/check/gstcheck.h:
7155         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7156         (gst_bin_change_state):
7157         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7158           add/fix debugging/whitespace
7159
7160 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7161
7162         * check/gst/gstevent.c: (event_probe), (test_event),
7163         (GST_START_TEST):
7164          Er, don't call gst_bin_watch_for_state_change you idiot.
7165
7166 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7167
7168         * check/Makefile.am:
7169           Use CHECK_CFLAGS and CHECK_LIBS
7170         * check/gst/gstevent.c: (event_probe), (test_event),
7171         (GST_START_TEST):
7172           Don't leak events.
7173         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7174         (gst_base_src_start), (gst_base_src_stop),
7175         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7176         (gst_base_src_change_state):
7177           Sprinkle gst_base_src_stop liberally around error paths to fix
7178           problems reusing a source after failed state changes.
7179         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7180         (helper_find_suggest), (gst_type_find_helper):
7181           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7182         * gst/gstevent.h:
7183         * docs/gst/tmpl/gstevent.sgml:
7184           Migrate part of the docs from the SGML file. Wait for ensonic to
7185           tell me how I did it wrong ;)
7186         * tools/gst-typefind.c: (main):
7187           Extra robustness to state changes between files.
7188
7189 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7190
7191         * check/Makefile.am:
7192           don't valgrind the controller test - it's leaking - Stefan, HELP
7193         * gst/check/gstcheck.c: (gst_check_message_error),
7194         (gst_check_chain_func), (gst_check_setup_element),
7195         (gst_check_teardown_element), (gst_check_setup_src_pad),
7196         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7197         (gst_check_teardown_sink_pad):
7198         * gst/check/gstcheck.h:
7199           add a bunch of methods to set up elements, and src and sink pads
7200         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7201         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7202         (GST_START_TEST):
7203           use them
7204         * gst/gstmessage.c:
7205         * gst/gsttag.h:
7206           whitespace/doc fixes
7207
7208 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7209
7210         * gst/gstelement.h:
7211           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7212           be handled by the application and not always printed as well
7213
7214 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7215
7216         * check/Makefile.am:
7217           set GST_TOOLS_DIR
7218         * gst/check/gstcheck.c: (gst_check_message_error):
7219         * gst/check/gstcheck.h:
7220           add a fail_unless_equals_int
7221           add fail_unless for error messages
7222
7223 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7224
7225         * check/Makefile.am:
7226         * check/gst.supp:
7227         * common/Makefile.am:
7228         * common/check.mak:
7229         * common/gst.supp:
7230           factor out some of the common stuff so we can use it
7231
7232 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7233
7234         * check/Makefile.am:
7235         * check/gst/gstiterator.c: (GST_START_TEST):
7236         * check/gst/gstsystemclock.c: (GST_START_TEST),
7237         (gst_systemclock_suite):
7238         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7239         * gst/gstclock.c:
7240           valgrind more tests
7241
7242 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7243
7244         * check/elements/.cvsignore:
7245         * check/elements/gstfakesrc.c:
7246           rename to name of element
7247         * check/elements/identity.c: (chain_func), (event_func),
7248         (setup_identity), (cleanup_identity), (GST_START_TEST),
7249         (identity_suite), (main):
7250           add a test for identity
7251         * check/Makefile.am:
7252         * pkgconfig/Makefile.am:
7253         * pkgconfig/gstreamer-check.pc.in:
7254         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7255         * gst/check:
7256         * gst/Makefile.am:
7257         * configure.ac:
7258           move the check stuff to a library that gets installed
7259         * check/gst-libs/controller.c: (GST_START_TEST):
7260         * check/gst-libs/gdp.c:
7261         * check/gst/gst.c: (GST_START_TEST):
7262         * check/gst/gstbin.c:
7263         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7264         * check/gst/gstbus.c:
7265         * check/gst/gstcaps.c: (GST_START_TEST):
7266         * check/gst/gstelement.c:
7267         * check/gst/gstghostpad.c:
7268         * check/gst/gstiterator.c:
7269         * check/gst/gstmessage.c:
7270         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7271         * check/gst/gstobject.c:
7272         * check/gst/gstpad.c: (GST_START_TEST):
7273         * check/gst/gststructure.c: (GST_START_TEST):
7274         * check/gst/gstsystemclock.c: (GST_START_TEST),
7275         (gst_systemclock_suite):
7276         * check/gst/gsttag.c: (gst_tag_suite):
7277         * check/gst/gstvalue.c:
7278         * check/pipelines/cleanup.c:
7279         * check/pipelines/simple_launch_lines.c:
7280         * check/states/sinks.c:
7281           change include statement
7282
7283         * docs/gst/gstreamer-sections.txt:
7284         * docs/gst/tmpl/gstpad.sgml:
7285           document more pad stuff
7286         * gst/gstminiobject.c: (gst_mini_object_ref),
7287         (gst_mini_object_unref):
7288           debug refcounting
7289
7290 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7291
7292         * docs/gst/tmpl/gst.sgml:
7293         * gst/gst.c:
7294           eliminate another tmpl file, fix spelling in the long-description
7295
7296 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7297
7298         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7299         (test_event), (timediff), (gstevents_suite):
7300           Should fix build on 64-bit arch's
7301
7302 2005-08-18  Andy Wingo  <wingo@pobox.com>
7303
7304         Make sure that when a pipeline goes to PLAYING, that data has
7305         actually hit the sink.
7306
7307         * check/states/sinks.c (test_sink): A sink that doesn't get any
7308         data shouldn't return SUCCESS for going to either PLAYING or
7309         PAUSED. Test also the return values on the way back down.
7310
7311         * gst/gstelement.c (gst_element_set_state): When changing the
7312         state of an element currently changing state asynchronously, go to
7313         lost-state after commiting the pending state. Makes future calls
7314         to get_state continue to return ASYNC.
7315
7316         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7317         ASYNC when going to PLAYING if we still don't have preroll, as can
7318         happen with live sources.
7319
7320 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7321
7322         * docs/pwg/advanced-types.xml:
7323           Hack long paragraph into 2 chunks as a workaround for buggy
7324           jadetex version in sid and breezy that loops infinitely and
7325           eats all RAM.
7326
7327 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7328
7329         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7330         (test_event), (timediff), (gstevents_suite):
7331           Provide more error margin in clock measurements to allow for 
7332           g_get_current_time inaccuracies.
7333
7334 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7335
7336         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7337         (test_event), (timediff), (gstevents_suite):
7338            Fix error message output so I might be able to tell why the
7339            test works here but fails on the build farm.
7340
7341 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7342
7343         * check/Makefile.am:
7344         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7345         (test_event), (timediff), (gstevents_suite), (main):
7346           I wrote a test!
7347
7348         * docs/design/part-seeking.txt:
7349           Spelling correction
7350
7351         * docs/gst/tmpl/gstevent.sgml:
7352         * docs/gst/tmpl/gstfakesrc.sgml:
7353           Docs updates.
7354
7355         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7356           Treat a buffer-without-newsegment the same as a receiving 
7357           a newsegment not in time format, and disable syncing to the clock
7358           with a warning.
7359
7360         * gst/gstbus.c: (gst_bus_set_sync_handler):
7361           Assert if anyone tries to replace the existing sync_handler for bus, 
7362           as only the owner should be setting it.
7363
7364         * gst/gstevent.h:
7365           Have a fixed set of custom event enums with events identified by
7366           their structure name (as in 0.8), rather than a free-for-all
7367           allowing collisions between enum values from different plugins.
7368
7369         * gst/gstpad.c: (gst_pad_class_init):
7370           Docs change.
7371           
7372         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7373           Handle out-of-band downstream events from the sending thread.
7374
7375 2005-08-17  Andy Wingo  <wingo@pobox.com>
7376
7377         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7378         play-timeout==0 to mean no timeout at all. In that case, don't
7379         bother with a get_state or a warning, just return directly, even
7380         if it's ASYNC.
7381
7382         * gst/base/gstbasetransform.c: Debug changes.
7383
7384         * gst/gstutils.h:
7385         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7386         ensure bins post state change messages. A bit of a hack but I can't
7387         think of a way to avoid it.
7388
7389         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7390
7391 2005-08-16  Andy Wingo  <wingo@pobox.com>
7392
7393         * gst/base/gstadapter.h:
7394         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7395         peek() but you own the data. Not terribly efficient atm.
7396
7397 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7398
7399         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7400         (gst_element_found_tags):
7401         * gst/gstutils.h:
7402           Add two utility functions for tag handling.
7403
7404 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7405
7406         * docs/manual/advanced-dataaccess.xml:
7407         * docs/manual/basics-helloworld.xml:
7408           Fix docs to use _bin_add() before _link(), which fixes the examples
7409           with recent core versions (reported by Madhan Raj M
7410           <raj_madan@rediffmail.com>, #313199).
7411
7412 2005-08-16  Wim Taymans  <wim@fluendo.com>
7413
7414         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7415         Added subtract checks.
7416
7417         * docs/design/part-events.txt:
7418         Some more docs about newsegment
7419
7420         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7421         Fix FIXME
7422
7423         * gst/gstcaps.c: (gst_caps_to_string):
7424         Add comments, cleanups.
7425         
7426         * gst/gstelement.c: (gst_element_save_thyself):
7427         cleanups
7428         
7429         * gst/gstvalue.c: (gst_value_collect_int_range),
7430         (gst_string_unwrap), (gst_value_union_int_int_range),
7431         (gst_value_union_int_range_int_range),
7432         (gst_value_intersect_int_int_range),
7433         (gst_value_intersect_int_range_int_range),
7434         (gst_value_intersect_double_double_range),
7435         (gst_value_intersect_double_range_double_range),
7436         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7437         (gst_value_subtract_int_range_int),
7438         (gst_value_subtract_double_range_double),
7439         (gst_value_subtract_double_range_double_range),
7440         (gst_value_subtract_from_list), (gst_value_subtract_list),
7441         (gst_value_can_compare), (gst_value_compare_fraction):
7442         Cleanups, add comments, remove unneeded asserts.
7443
7444 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7445
7446         * tools/gst-launch.c: (event_loop):
7447           don't convert NULL structures to strings
7448
7449 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7450
7451         * docs/gst/gstreamer-sections.txt:
7452           made some defines private
7453         * docs/gst/tmpl/gstconfig.sgml:
7454         * docs/gst/tmpl/gstqueue.sgml:
7455         * docs/gst/tmpl/gsttaglist.sgml:
7456         * docs/gst/tmpl/gsttypes.sgml:
7457         * docs/gst/tmpl/gstutils.sgml:
7458         * docs/pwg/appendix-porting.xml:
7459         * gst/base/gstbasesink.h:
7460         * gst/base/gstbasesrc.c:
7461         * gst/base/gstbasesrc.h:
7462         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7463         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7464         * gst/gstelement.c: (gst_element_class_init):
7465         * gst/gstpad.c: (gst_pad_class_init):
7466         * gst/gstqueue.c: (gst_queue_class_init):
7467         * gst/gstxml.c: (gst_xml_class_init):
7468           documented all undocumented signal inline
7469         * libs/gst/controller/gst-controller.h:
7470           added padding
7471
7472 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7473
7474         * docs/pwg/appendix-porting.xml:
7475           Document _set_link_function -> _set_setcaps_function.
7476
7477 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7478
7479         * check/Makefile.am:
7480           add a .check target for running the check
7481         * check/gst-libs/controller.c: (GST_START_TEST):
7482           cosmetic fixups
7483         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7484           complete checks for gstbuffer; would be nice if I could get the
7485           gcov stuff to work so I can see if I actually completed gstbuffer.c
7486         * check/gstcheck.h:
7487           add ASSERT_BUFFER_REFCOUNT
7488
7489 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7490
7491         * docs/gst/gstreamer-sections.txt:
7492         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7493         * gst/gsttag.h:
7494           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7495           spew out a warning if a tag that is already registered
7496           is re-registered, unless it is re-registered with a 
7497           different type (#308438).
7498
7499 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7500
7501         * docs/pwg/appendix-porting.xml:
7502         * docs/pwg/building-state.xml:
7503           Add some paragraphs about state changes in 0.9 to the PWG
7504           and the porting guide, in particular about the new meaning
7505           of GST_STATE_PAUSED and how to write state change functions
7506           with concurrent access by multiple threads in mind.
7507
7508 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7509
7510         * docs/gst/gstreamer-docs.sgml:
7511         * docs/libs/gstreamer-libs-docs.sgml:
7512           added deprecation and since indexes
7513         * libs/gst/controller/gst-controller.c:
7514         * libs/gst/controller/gst-helper.c:
7515           added since tags
7516
7517
7518 2005-08-11  Wim Taymans  <wim@fluendo.com>
7519
7520         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7521         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7522         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7523         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7524         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7525         (gst_ghost_pad_set_target):
7526         Actually implement (re)setting the target on a ghostpad
7527         as described in the docs.
7528
7529 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7530
7531         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7532           Check whether GST_DEBUG_NO_COLOR environment variable is
7533           set and disable coloured debug output if that is the case.
7534
7535 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7536
7537         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7538         (gst_type_find_helper):
7539           The memory returned by gst_type_find_peek() needs to
7540           stay valid until the end of a typefind function, and
7541           typefind functions may keep results from different 
7542           offsets around, so we can't just unref the buffer from
7543           the previous _peek(), but have to save all buffers 
7544           returned by _peek() until typefinding is done and only
7545           free them then.
7546
7547 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7548
7549         * docs/gst/gstreamer-sections.txt:
7550         * gst/gstutils.h:
7551           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7552
7553 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7554
7555         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7556           Fix a pretty good memleak.
7557
7558 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7559
7560         * gst/gstiterator.h:
7561           Fix wrong include and 'make distcheck'.
7562
7563 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7564
7565         * gst/gstbin.c: (bin_bus_handler):
7566           Use gst_element_post_message() instead.
7567
7568 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7569
7570         * gst/base/gstadapter.h:
7571         * gst/base/gstbasesink.h:
7572         * gst/base/gstbasesrc.h:
7573         * gst/base/gstbasetransform.h:
7574         * gst/base/gstcollectpads.h:
7575         * gst/base/gstpushsrc.h:
7576         * gst/gstiterator.h:
7577           Add padding to our base elements' class and instance structs and
7578           to GstIterator (you will need to rebuild all plugins and apps!)
7579
7580 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7581
7582         * gst/gstbin.c: (bin_bus_handler):
7583           Make default message forwarding from child->bus to bin->bus
7584           threadsafe and make it not emit warnings if the parent has no bus.
7585
7586 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7587
7588         * gst/gstelement.c: (activate_pads):
7589           On paused->ready, set pad->caps to NULL, as is the documented
7590           behaviour in this state change. Fixes playback of series of
7591           media files when visualization is enabled in Totem.
7592
7593 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7594
7595         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7596           Allow NULL as filter-caps (which means "any").
7597
7598 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7599
7600         * docs/libs/gstreamer-libs-sections.txt:
7601         * libs/gst/controller/gst-controller.c:
7602         * libs/gst/controller/gst-controller.h:
7603         * libs/gst/controller/gst-helper.c:
7604           adding more entries to the docs and fix small doc-bugs
7605
7606 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7607
7608         * docs/gst/gstreamer-docs.sgml:
7609         * docs/gst/gstreamer-sections.txt:
7610         * docs/gst/gstreamer.types:
7611         * docs/gst/tmpl/gstbasesink.sgml:
7612         * docs/gst/tmpl/gstbasesrc.sgml:
7613         * docs/gst/tmpl/gstbasetransform.sgml:
7614         * docs/gst/tmpl/gstfakesrc.sgml:
7615         * gst/base/gstcollectpads.c:
7616         * gst/base/gstcollectpads.h:
7617         * libs/gst/controller/gst-controller.c:
7618         * libs/gst/controller/gst-controller.h:
7619         * libs/gst/controller/gst-helper.c:
7620         * libs/gst/controller/gst-interpolation.c:
7621         * libs/gst/controller/lib.c:
7622           added long/short desc for controller docs
7623           added collectpads base class docs
7624           added correct includes to base-class docs
7625
7626 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7627
7628         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7629         (gst_test_mono_source_set_property),
7630         (gst_test_mono_source_class_init), (GST_START_TEST),
7631         (gst_controller_suite):
7632         * docs/gst/gstreamer-docs.sgml:
7633         * docs/gst/gstreamer-sections.txt:
7634         * docs/gst/gstreamer.types:
7635         * docs/libs/gstreamer-libs-docs.sgml:
7636         * docs/libs/gstreamer-libs-sections.txt:
7637         * gst/base/gstadapter.c:
7638         * libs/gst/controller/gst-controller.c:
7639         (gst_controlled_property_new), (gst_controlled_property_free),
7640         (gst_controller_new_valist),
7641         (gst_controller_remove_properties_valist),
7642         (gst_controller_sink_values), (_gst_controller_finalize):
7643         * libs/gst/controller/gst-controller.h:
7644         * libs/gst/controller/gst-helper.c:
7645         (gst_object_control_properties), (gst_object_uncontrol_properties),
7646         (gst_object_get_controller), (gst_object_set_controller),
7647         (gst_object_sink_values), (gst_object_get_value_arrays),
7648         (gst_object_get_value_array):
7649           more tests (and fixes) for the controller
7650           more docs for the controller
7651           integrated companies docs for the adapter 
7652
7653 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7654
7655         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7656         (GST_START_TEST), (fakesrc_suite):
7657           add tests for sizetype
7658
7659 2005-08-04  Andy Wingo  <wingo@pobox.com>
7660
7661         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7662         fixes buffer_alloc proxying among other things.
7663
7664         * gst/base/gstbasetransform.c:
7665         * gst/base/gstbasetransform.h:
7666         Revert patch to gstbasetransform from 7-28 removing
7667         delay_configure.
7668
7669         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7670         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7671         Semantics changed, should return not the size of the output buffer
7672         but the byte size of a buffer with a given caps.
7673
7674         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7675         debug object.
7676         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7677         out) are not the pad caps until setcaps finishes.
7678         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7679         not-in-place case as well. Deal with changing from in-place to
7680         not-in-place within calling pad_alloc_buffer. Still a bit
7681         concerned about the overhead here...
7682
7683 2005-08-03  Andy Wingo  <wingo@pobox.com>
7684
7685         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7686         fixating is an error.
7687
7688 2005-08-04  Edward Hervey  <edward@fluendo.com>
7689
7690         * gst/base/gstadapter.h: 
7691         Added gst_adapter_get_type() to the header
7692
7693 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7694
7695         * check/Makefile.am:
7696         * check/gst-libs/controller.c:
7697         * libs/gst/controller/gst-controller.c:
7698         (gst_controller_new_valist):
7699           added check test suite for the controller
7700         * gst/base/gstpushsrc.c:
7701           fixed a doc typo
7702
7703 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7704
7705         * docs/gst/Makefile.am:
7706         * docs/gst/gstreamer-docs.sgml:
7707         * docs/gst/gstreamer-sections.txt:
7708         * docs/gst/gstreamer.types:
7709         * docs/gst/tmpl/gstfakesrc.sgml:
7710         * gst/base/README:
7711         * gst/base/gstbasesink.c:
7712         * gst/base/gstbasesink.h:
7713         * gst/base/gstbasesrc.c:
7714         * gst/base/gstbasesrc.h:
7715         * gst/base/gstbasetransform.c:
7716         * gst/base/gstpushsrc.c:
7717         * gst/base/gstpushsrc.h:
7718           add short/long description docs to base classes
7719           add pushsrc to the docs
7720           remove consolidated doc fragments
7721
7722 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7723
7724         * configure.ac:
7725         * docs/libs/Makefile.am:
7726         * docs/libs/gstreamer-libs-docs.sgml:
7727         * docs/libs/gstreamer-libs-sections.txt:
7728         * docs/libs/gstreamer-libs.types:
7729         * examples/Makefile.am:
7730         * examples/controller/.cvsignore:
7731         * examples/controller/Makefile.am:
7732         * examples/controller/audio-example.c: (main):
7733         * libs/gst/Makefile.am:
7734         * libs/gst/controller/.cvsignore:
7735         * libs/gst/controller/Makefile.am:
7736         * libs/gst/controller/gst-controller.c:
7737         (on_object_controlled_property_changed), (gst_timed_value_compare),
7738         (gst_timed_value_find),
7739         (gst_controlled_property_set_interpolation_mode),
7740         (gst_controlled_property_new), (gst_controlled_property_free),
7741         (gst_controller_find_controlled_property),
7742         (gst_controller_new_valist), (gst_controller_new),
7743         (gst_controller_remove_properties_valist),
7744         (gst_controller_remove_properties), (gst_controller_set),
7745         (gst_controller_set_from_list), (gst_controller_unset),
7746         (gst_controller_get), (gst_controller_get_all),
7747         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7748         (gst_controller_get_value_array),
7749         (gst_controller_set_interpolation_mode),
7750         (_gst_controller_finalize), (_gst_controller_init),
7751         (_gst_controller_class_init), (gst_controller_get_type):
7752         * libs/gst/controller/gst-controller.h:
7753         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7754         (g_object_uncontrol_properties), (g_object_get_controller),
7755         (g_object_set_controller), (g_object_sink_values),
7756         (g_object_get_value_arrays), (g_object_get_value_array):
7757         * libs/gst/controller/gst-interpolation.c:
7758         (gst_controlled_property_find_timed_value_node),
7759         (interpolate_none_get), (interpolate_trigger_get),
7760         (interpolate_trigger_get_value_array):
7761         * libs/gst/controller/lib.c: (gst_controller_init):
7762         * pkgconfig/Makefile.am:
7763         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7764         * pkgconfig/gstreamer-control.pc.in:
7765         * testsuite/Makefile.am:
7766         * testsuite/controller/.cvsignore:
7767         * testsuite/controller/Makefile.am:
7768         * testsuite/controller/interpolator.c: (main):
7769           added controller code
7770           removed dparam pc files
7771
7772 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7773         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7774         (gst_collectpads_stop):
7775           Broadcast the condition when shutting down, to make sure we wake all
7776           threads up. Shut down pads on finalize, for safety.
7777
7778 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7779         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7780         (gst_base_transform_handle_buffer),
7781         (gst_base_transform_change_state):
7782           Handle PAUSED->READY->PAUSED transition after negotiation
7783           occurred already.
7784         * gst/gstmessage.c: (gst_message_init):
7785           Extra piece of debug for new messages.
7786
7787 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7788
7789         * configure.ac:
7790         * docs/gst/tmpl/gstbasesrc.sgml:
7791         * docs/gst/tmpl/gstelement.sgml:
7792         * docs/gst/tmpl/gstevent.sgml:
7793         * docs/gst/tmpl/gstfakesrc.sgml:
7794         * docs/gst/tmpl/gstformat.sgml:
7795         * docs/gst/tmpl/gstghostpad.sgml:
7796         * docs/gst/tmpl/gstpad.sgml:
7797         * docs/gst/tmpl/gstquery.sgml:
7798         * docs/gst/tmpl/gststructure.sgml:
7799         * docs/gst/tmpl/gsttaglist.sgml:
7800         * docs/gst/tmpl/gstvalue.sgml:
7801         * docs/libs/gstreamer-libs-docs.sgml:
7802         * docs/libs/gstreamer-libs-sections.txt:
7803         * docs/libs/gstreamer-libs.types:
7804         * libs/gst/Makefile.am:
7805         * libs/gst/control/.cvsignore:
7806         * libs/gst/control/Makefile.am:
7807         * libs/gst/control/control.c:
7808         * libs/gst/control/control.h:
7809         * libs/gst/control/dparam.c:
7810         * libs/gst/control/dparam.h:
7811         * libs/gst/control/dparam_smooth.c:
7812         * libs/gst/control/dparam_smooth.h:
7813         * libs/gst/control/dparamcommon.h:
7814         * libs/gst/control/dparammanager.c:
7815         * libs/gst/control/dparammanager.h:
7816         * libs/gst/control/dplinearinterp.c:
7817         * libs/gst/control/dplinearinterp.h:
7818         * libs/gst/control/unitconvert.c:
7819         * libs/gst/control/unitconvert.h:
7820         * testsuite/Makefile.am:
7821         * testsuite/dynparams/.cvsignore:
7822         * testsuite/dynparams/Makefile.am:
7823         * testsuite/dynparams/dparamstest.c:
7824         * tools/Makefile.am:
7825         * tools/gst-inspect.c: (print_element_info), (main):
7826         * tools/gst-xmlinspect.c: (print_element_info), (main):
7827           deactivate and remove dparams (libgstcontrol)
7828
7829 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7830
7831         * gst/elements/gsttypefindelement.c:
7832         (gst_type_find_element_have_type), (gst_type_find_element_init),
7833         (stop_typefinding), (gst_type_find_element_handle_event),
7834         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7835         * gst/elements/gsttypefindelement.h:
7836           Set caps on all outgoing buffers, not just the first one.
7837
7838 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7839
7840         * gst/elements/gsttypefindelement.c:
7841         (gst_type_find_element_have_type),
7842         (gst_type_find_element_check_set_buffer_caps),
7843         (gst_type_find_element_init), (stop_typefinding),
7844         (gst_type_find_element_handle_event),
7845         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7846         * gst/elements/gsttypefindelement.h:
7847           Set caps on first outgoing buffer when we've found the type.
7848
7849 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7850
7851         * docs/gst/gstreamer-docs.sgml:
7852         * docs/gst/gstreamer-sections.txt:
7853         * docs/gst/tmpl/gstscheduler.sgml:
7854         * docs/gst/tmpl/gstschedulerfactory.sgml:
7855           Remove some old cruft from docs.
7856
7857 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7858
7859         * gst/gstpad.h:
7860           Fix inline docs for GstPadLinkReturn.
7861           
7862         * gst/gststructure.c: (gst_structure_has_name):
7863         * gst/gststructure.h:
7864         * docs/gst/gstreamer-sections.txt:
7865           New API: gst_structure_has_name().
7866
7867 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7868
7869         * configure.ac:
7870           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7871           and _LARGEFILE_SOURCE in config.h as required. Do not 
7872           export those flags in our .pc files any longer (#142209).
7873
7874           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7875
7876         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7877         (gst_file_sink_do_seek), (gst_file_sink_event),
7878         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7879           Redo seek/tell calls with large file support in mind; add some
7880           debugging messages; add log message that tells us when large
7881           file support is unavailable or not enabled for some reason.
7882
7883         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7884           Add log message that tells us when large file support 
7885           is unavailable or not enabled for some reason.
7886
7887 2005-07-29  Wim Taymans  <wim@fluendo.com>
7888
7889         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7890         Added test for removing an element with ghostpad from a bin.
7891         Fixed test as current implementation does the right thing.
7892
7893         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7894         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7895         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7896         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7897         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7898         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7899         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7900         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7901         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7902         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7903         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7904         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7905         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7906         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7907         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7908         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7909         * gst/gstghostpad.h:
7910         Clean up ghostpads, remove properties for internal stuff.
7911         Make threadsafe.
7912         Fix refcounting.
7913         Prepare for switching targets, not all use cases work yet.
7914
7915 2005-07-29  Wim Taymans  <wim@fluendo.com>
7916
7917         * docs/design/part-gstghostpad.txt:
7918         Small update.
7919
7920         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7921         (gst_bin_remove_func):
7922         Unlinking pads while holding the bin LOCK is not a good
7923         idea.
7924
7925         * gst/gstpad.c: (gst_pad_class_init),
7926         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7927         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7928         No prob setting template after creating the pad.
7929
7930 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7931
7932         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7933         (gst_bus_peek), (gst_bus_source_dispatch),
7934         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7935         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7936           gst_bus_poll may be called from other threads. Handle
7937           this nicely by not making poll_data disappear off the
7938           stack once gst_bus_poll returns.
7939           gst_bus_peek now increments the refcount on the returned
7940           message.
7941
7942 2005-07-29  Wim Taymans  <wim@fluendo.com>
7943
7944         * docs/design/part-gstghostpad.txt:
7945         Overview of current GhostPad datastructures and use
7946         cases for changing the target.
7947
7948 2005-07-28  Wim Taymans  <wim@fluendo.com>
7949
7950         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7951         Added checks for hierarchy consistency whan adding linked
7952         elements to bins.
7953
7954         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7955         Added check to test element scheduling without bin/pipeline.
7956
7957         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7958         First add elements to bin, then link.
7959         
7960         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7961         (gst_bin_remove_func):
7962         Unlink pads from elements added/removed from bin to maintain
7963         hierarchy consistency.
7964
7965 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7966
7967         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7968         (gst_base_transform_handle_buffer):
7969         * gst/base/gstbasetransform.h:
7970           Remove broken delay_configure (fixes renegotiation of software
7971           scaling pipelines); remove some leftover printf()s.
7972
7973 2005-07-28  Wim Taymans  <wim@fluendo.com>
7974
7975         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7976         Added some more tests for wrong hierarchy
7977
7978         * docs/design/part-overview.txt:
7979         Some updates.
7980
7981         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7982         Cleanups.
7983
7984         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7985         (gst_element_dispose):
7986         Some more cleanups.
7987
7988         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7989         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7990         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7991         (gst_pad_set_caps), (gst_pad_send_event):
7992         Check for correct hierarchy when linking pads. Moving to
7993         strict requirement for ghostpads when linking elements in
7994         different bins.
7995
7996         * gst/gstpad.h:
7997         Clean ups. Added WRONG_HIERARCHY return value.
7998
7999 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8000
8001         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8002           Better debug if no transform is possible.
8003
8004 2005-07-27  Wim Taymans  <wim@fluendo.com>
8005
8006         * docs/random/wtay/network-transp:
8007         Some old doc I had.
8008
8009 2005-07-27  Wim Taymans  <wim@fluendo.com>
8010
8011         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8012         (gst_dp_event_from_packet):
8013         Fix serialization of seek events.
8014
8015 2005-07-27  Wim Taymans  <wim@fluendo.com>
8016
8017         * check/gst-libs/gdp.c: (GST_START_TEST):
8018         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8019         Fix compilation and fix event serialization.
8020
8021 2005-07-27  Wim Taymans  <wim@fluendo.com>
8022
8023         * CHANGES-0.9:
8024         * docs/design/part-TODO.txt:
8025         * docs/design/part-events.txt:
8026         Some docs updates
8027
8028         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8029         (gst_base_sink_event), (gst_base_sink_do_sync),
8030         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8031         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8032         (gst_base_src_do_seek), (gst_base_src_event_handler),
8033         (gst_base_src_loop):
8034         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8035         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8036         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8037         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8038         (gst_base_transform_set_passthrough),
8039         (gst_base_transform_is_passthrough):
8040         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8041         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8042         Event updates.
8043
8044         * gst/gstbuffer.h:
8045         Use faster casts.
8046
8047         * gst/gstelement.c: (gst_element_seek):
8048         * gst/gstelement.h:
8049         Update gst_element_seek.
8050
8051         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8052         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8053         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8054         (gst_event_new_eos), (gst_event_new_newsegment),
8055         (gst_event_parse_newsegment), (gst_event_new_tag),
8056         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8057         (gst_event_parse_qos), (gst_event_new_seek),
8058         (gst_event_parse_seek), (gst_event_new_navigation):
8059         * gst/gstevent.h:
8060         Make GstEvent use GstStructure. Add parsing code, make sure the
8061         API is sufficiently generic.
8062         Mark possible directions of events and serialization.
8063
8064         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8065         (_gst_message_copy), (gst_message_new_segment_start),
8066         (gst_message_new_segment_done), (gst_message_new_custom),
8067         (gst_message_parse_segment_start),
8068         (gst_message_parse_segment_done):
8069         Small cleanups.
8070
8071         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8072         (gst_pad_set_caps), (gst_pad_send_event):
8073         Update for new events. 
8074         Catch events sent in wrong directions.
8075
8076         * gst/gstqueue.c: (gst_queue_link_src),
8077         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8078         (gst_queue_handle_src_query):
8079         Event updates.
8080
8081         * gst/gsttag.c:
8082         * gst/gsttag.h:
8083         Remove event code from this file.
8084
8085         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8086         (gst_dp_event_from_packet):
8087         Event updates.
8088
8089 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8090
8091         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8092         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8093         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8094           Make debugging actually useful.
8095
8096 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8097
8098         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8099         (gst_pad_fixate_caps):
8100           Implement default fixation once again, so that gst_pad_fixate()
8101           actually does anything at all. This probably needs to be some
8102           sort of a last resort, and use profile-based fixation first, but
8103           since that doesn't exist yet, this is the best we have. Fixes
8104           visualization in Totem.
8105
8106 2005-07-22  Wim Taymans  <wim@fluendo.com>
8107
8108         * docs/design/part-events.txt:
8109         Small update.
8110
8111         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8112         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8113         (gst_base_sink_activate_pull):
8114         Some more comments.
8115
8116         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8117         (gst_fake_src_create):
8118         Fix handoff marshall.
8119
8120         * gst/elements/gstidentity.c: (gst_identity_class_init),
8121         (gst_identity_transform_ip):
8122         We're a real inplace element.
8123
8124         * gst/gstbus.c: (gst_bus_post):
8125         Added some comments.
8126
8127         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8128         * tests/muxing/case1.c: (main):
8129         * tests/sched/dynamic-pipeline.c: (main):
8130         * tests/sched/interrupt1.c: (main):
8131         * tests/sched/interrupt2.c: (main):
8132         * tests/sched/interrupt3.c: (main):
8133         * tests/sched/runxml.c: (main):
8134         * tests/sched/sched-stress.c: (main):
8135         * tests/seeking/seeking1.c: (event_received), (main):
8136         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8137         (main):
8138         * tests/threadstate/threadstate3.c: (main):
8139         * tests/threadstate/threadstate4.c: (main):
8140         * tests/threadstate/threadstate5.c: (main):
8141         Fix the tests.
8142
8143 2005-07-21  Wim Taymans  <wim@fluendo.com>
8144
8145         * docs/design/part-seeking.txt:
8146         Some small additions.
8147
8148         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8149         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8150         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8151         * gst/base/gstbasesink.h:
8152         discont values are gint64, handle the math correctly.
8153
8154         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8155         Make the basesrc report error if the source pad is not linked.
8156
8157         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8158         (gst_queue_loop), (gst_queue_handle_src_query),
8159         (gst_queue_src_activate_push):
8160         Make queue collect data even if the srcpad is not linked.
8161         Start pushing out data as soon as it is linked.
8162
8163         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8164         * gst/gstutils.h:
8165         Added gst_flow_get_name() to ease error reporting.
8166
8167 2005-07-20  Wim Taymans  <wim@fluendo.com>
8168
8169         * gst/gstmessage.c: (gst_message_new_segment_start),
8170         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8171         (gst_message_parse_segment_done):
8172         * gst/gstmessage.h:
8173         Added a bunch of messages for advanced seeking.
8174
8175         * gst/parse/grammar.y:
8176         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8177         (gst_dpman_state_changed):
8178         Fix some new-pad -> pad-added signals
8179
8180 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8181
8182         * docs/manual/appendix-porting.xml:
8183         * docs/pwg/appendix-porting.xml:
8184           Document new-pad/state-change signal renames and the FixedList
8185           type rename.
8186
8187 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8188
8189         * docs/manual/advanced-autoplugging.xml:
8190         * docs/manual/basics-helloworld.xml:
8191         * docs/manual/basics-pads.xml:
8192         * docs/random/ds/0.9-suggested-changes:
8193         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8194         * gst/gstelement.h:
8195         * gst/gstevent.h:
8196         * gst/gstformat.h:
8197         * gst/gstquery.h:
8198         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8199         (gst_structure_parse_array), (gst_structure_parse_value):
8200         * gst/gstvalue.c: (gst_type_is_fixed),
8201         (gst_value_list_prepend_value), (gst_value_list_append_value),
8202         (gst_value_list_get_size), (gst_value_list_get_value),
8203         (gst_value_transform_array_string), (gst_value_serialize_array),
8204         (gst_value_deserialize_array), (gst_value_intersect_array),
8205         (gst_value_is_fixed), (_gst_value_initialize):
8206         * gst/gstvalue.h:
8207           GstElement::new-pad -> pad-added, GstElement::state-change ->
8208           state-changed, GstValueFixedList -> GstValueArray, add format and
8209           flags as their own arguments in gst_element_seek() (should improve
8210           "bindeability"), remove function generators since they don't work
8211           under a whole bunch of compilers (they were deprecated already
8212           anyway).
8213
8214 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8215
8216         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8217         (_gst_debug_register_funcptr):
8218         * gst/gstinfo.h:
8219           Fix illegal cast on some platforms (#309253).
8220
8221 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8222
8223         * gst/gstmessage.c: (gst_message_new_custom):
8224         * gst/gstmessage.h:
8225           Add _new_custom, make _new_application a macro to _new_custom.
8226
8227 2005-07-20  Wim Taymans  <wim@fluendo.com>
8228
8229         * gst/base/gstbasesrc.c: (gst_base_src_init),
8230         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8231         * gst/base/gstbasesrc.h:
8232         Add a gboolean to decide when to push out a discont.
8233
8234         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8235         (gst_queue_loop), (gst_queue_handle_src_query),
8236         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8237         (gst_queue_set_property), (gst_queue_get_property):
8238         Some cleanups.
8239
8240         * tests/threadstate/threadstate1.c: (main):
8241         Make a thread test compile and run... very silly..
8242
8243
8244 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8245
8246         * docs/manual/appendix-porting.xml:
8247           Mention removal of libgstgconf-0.9.la and existence of gconf
8248           elements.
8249
8250 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8251
8252         * docs/pwg/advanced-clock.xml:
8253         * docs/pwg/appendix-porting.xml:
8254         * docs/pwg/intro-preface.xml:
8255         * docs/pwg/other-base.xml:
8256         * docs/pwg/other-manager.xml:
8257         * docs/pwg/other-nton.xml:
8258         * docs/pwg/other-ntoone.xml:
8259         * docs/pwg/other-oneton.xml:
8260         * docs/pwg/pwg.xml:
8261           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8262           demuxer), remove n-to-n (was never written), fix some code examples
8263           and links and update the porting section to include all this.
8264
8265 2005-07-19  Wim Taymans  <wim@fluendo.com>
8266
8267         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8268         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8269         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8270         (gst_queue_src_activate_push), (gst_queue_change_state),
8271         (gst_queue_get_property):
8272         * gst/gstqueue.h:
8273         Propagate GstFlowReturn more intelligently upstream and output
8274         an ERROR/EOS when streaming stopped due to fatal error.
8275
8276 2005-07-19  Wim Taymans  <wim@fluendo.com>
8277
8278         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8279         Don't block forever for the state change to complete, the
8280         pipeline already did with a sensible timeout.
8281
8282 2005-07-19  Wim Taymans  <wim@fluendo.com>
8283
8284         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8285         Make sure we never call the create function is we
8286         got deactivated.
8287
8288 2005-07-19  Andy Wingo  <wingo@pobox.com>
8289
8290         * gst/parse/parse.l: Attempt to solve bug #172815.
8291
8292 2005-07-19  Wim Taymans  <wim@fluendo.com>
8293
8294         * docs/design/part-clocks.txt:
8295         * docs/design/part-events.txt:
8296         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8297         Small docs updates.
8298         Only update the seeking values when we are not
8299         busy streaming.
8300
8301 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8302
8303         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8304           Oops, ignore the result of gst_pad_push_event here.
8305
8306 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8307
8308         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8309         (gst_base_src_activate_push):
8310           Send discont event from the loop function, as pads
8311           aren't activated yet in the activate_push handler.
8312
8313         * gst/gstbin.c: (bin_bus_handler):
8314           Don't leak element name.
8315
8316 2005-07-18  Andy Wingo  <wingo@pobox.com>
8317
8318         * configure.ac: Use AS_LIBTOOL_TAGS.
8319
8320 2005-07-18  Wim Taymans  <wim@fluendo.com>
8321
8322         * docs/gst/gstreamer.types:
8323         Remove deleted types.
8324
8325 2005-07-18  Wim Taymans  <wim@fluendo.com>
8326
8327         * check/elements/gstfakesrc.c: (GST_START_TEST):
8328         * configure.ac:
8329         * gst/Makefile.am:
8330         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8331         (init_popt_callback):
8332         * gst/gst.h:
8333         * gst/gst_private.h:
8334         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8335         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8336         * gst/gstbin.h:
8337         * gst/gstbus.h:
8338         * gst/gstconfig.h.in:
8339         * gst/gstelement.c: (gst_element_class_init),
8340         (gst_element_set_base_time), (gst_element_get_base_time),
8341         (iterator_fold_with_resync), (gst_element_change_state),
8342         (gst_element_dispose), (gst_element_get_bus):
8343         * gst/gstelement.h:
8344         * gst/gstelementfactory.h:
8345         * gst/gsterror.c: (_gst_core_errors_init):
8346         * gst/gsterror.h:
8347         * gst/gstevent.h:
8348         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8349         * gst/gstindex.c:
8350         * gst/gstinfo.c: (_gst_debug_init):
8351         * gst/gstmessage.c: (_gst_message_copy):
8352         * gst/gstmessage.h:
8353         * gst/gstminiobject.h:
8354         * gst/gstobject.c:
8355         * gst/gstobject.h:
8356         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8357         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8358         * gst/gstpad.h:
8359         * gst/gstparse.h:
8360         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8361         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8362         (gst_pipeline_get_last_stream_time):
8363         * gst/gstpipeline.h:
8364         * gst/gstpluginfeature.h:
8365         * gst/gstquery.h:
8366         * gst/gstscheduler.c:
8367         * gst/gstscheduler.h:
8368         * gst/gststructure.h:
8369         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8370         (gst_task_finalize), (gst_task_func), (gst_task_create),
8371         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8372         (gst_task_stop), (gst_task_pause):
8373         * gst/gsttask.h:
8374         * gst/gsttypefind.h:
8375         * gst/gsttypes.h:
8376         * gst/registries/gstlibxmlregistry.c: (load_feature),
8377         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8378         * gst/registries/gstxmlregistry.c:
8379         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8380         * gst/schedulers/threadscheduler.c:
8381         * libs/gst/control/dparammanager.h:
8382         * tools/gst-inspect.c: (print_element_list),
8383         (print_plugin_features), (print_element_features):
8384         * tools/gst-xmlinspect.c: (print_element_list),
8385         (print_plugin_info), (main):
8386         Removed plugable schedulers.
8387         Removed Scheduler/Manager from elements.
8388         Removed gsttypes.h, rearranged includes.
8389         Removed dependency pad<->element, element<>pipeline, and
8390         various others,  fix includes.
8391         implement gst_pad_get_parent() with gst_object_get_parent()
8392         Make GstTask sefcontained.
8393         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8394         timeout.
8395         Fix endless loop in iterator_fold_with_resync.
8396
8397
8398 2005-07-18  Wim Taymans  <wim@fluendo.com>
8399
8400         * gst/Makefile.am:
8401         * gst/gstarch.h:
8402         Remove old file.
8403
8404 2005-07-18  Wim Taymans  <wim@fluendo.com>
8405
8406         * gst/Makefile.am:
8407         No more cothreads.h
8408
8409 2005-07-18  Wim Taymans  <wim@fluendo.com>
8410
8411         * gst/cothreads.c:
8412         * gst/cothreads.h:
8413         Let's remove these.
8414
8415 2005-07-18  Wim Taymans  <wim@fluendo.com>
8416
8417         * docs/design/part-dynamic.txt:
8418         * docs/design/part-events.txt:
8419         * docs/design/part-seeking.txt:
8420         Some more docs in the works.
8421
8422         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8423         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8424         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8425         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8426         (gst_base_transform_handle_buffer),
8427         (gst_base_transform_sink_activate_push),
8428         (gst_base_transform_src_activate_pull),
8429         (gst_base_transform_set_passthrough),
8430         (gst_base_transform_is_passthrough):
8431         Refcounting fixes.
8432
8433         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8434         Cleanups.
8435
8436         * gst/gstevent.c: (gst_event_finalize):
8437         Set SRC to NULL.
8438
8439         * gst/gstutils.c: (gst_element_unlink),
8440         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8441         (gst_pad_proxy_setcaps):
8442         * gst/gstutils.h:
8443         Add _get_parent_element() to get a pads parent as an element.
8444
8445 2005-07-18  Wim Taymans  <wim@fluendo.com>
8446
8447         * check/gst/gstbin.c: (GST_START_TEST):
8448         Remove bogus test.
8449
8450 2005-07-18  Wim Taymans  <wim@fluendo.com>
8451
8452         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8453         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8454         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8455         (gst_base_sink_event), (gst_base_sink_do_sync),
8456         (gst_base_sink_chain), (gst_base_sink_loop),
8457         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8458         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8459         Refcounting fixes.
8460         Fix logic for returning ASYNC when not prerolled.
8461
8462 2005-07-18  Wim Taymans  <wim@fluendo.com>
8463
8464         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8465         Fix nasty refcount bug.
8466
8467 2005-07-16 Philippe Khalaf <burger@speedy.org>
8468
8469         * gst/elements/gstfdsrc.c:
8470         * gst/elements/gstfdsrc.h:
8471         * gst/elements/gstelements.c:
8472         * gst/elements/Makefile.am:
8473         Ported fdsrc to 0.9.
8474
8475 2005-07-16  Wim Taymans  <wim@fluendo.com>
8476
8477         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8478         (gst_base_sink_do_sync):
8479         Fix compile error.
8480
8481 2005-07-16  Wim Taymans  <wim@fluendo.com>
8482
8483         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8484         (gst_base_sink_event), (gst_base_sink_get_times),
8485         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8486         * gst/base/gstbasesink.h:
8487         Store and use discont values when syncing buffers as described
8488         in design docs.
8489         
8490         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8491         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8492         (gst_base_src_activate_push):
8493         Push discont event when starting.
8494
8495         * gst/elements/gstidentity.c: (gst_identity_transform):
8496         Small cleanups.
8497
8498         * gst/gstbin.c: (gst_bin_change_state):
8499         Small cleanups in base_time  distribution.
8500
8501         * gst/gstelement.c: (gst_element_set_base_time),
8502         (gst_element_get_base_time), (gst_element_change_state):
8503         * gst/gstelement.h:
8504         Added methods for the base_time of the element.
8505         Some MT fixes.
8506
8507         * gst/gstpipeline.c: (gst_pipeline_send_event),
8508         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8509         (gst_pipeline_get_last_stream_time):
8510         * gst/gstpipeline.h:
8511         MT fixes.
8512         Handle seeking as described in design doc, remove stream_time
8513         hack.
8514         Cleanups clock and stream_time selection code. Added accessors
8515         for the stream_time.
8516         
8517
8518 2005-07-16  Andy Wingo  <wingo@pobox.com>
8519
8520         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8521         (#305291).
8522
8523 2005-07-16  Wim Taymans  <wim@fluendo.com>
8524
8525         * check/gst/gstbin.c: (GST_START_TEST):
8526         Make elements silent as the deep_notify refs the
8527         parent, which might make the test fail.
8528
8529         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8530         Don't hold the lock for too long.
8531
8532 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8533
8534         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8535           Don't unref the caps we passed to gst_caps_make_writable() after
8536           passing them. gst_caps_make_writable() will do that for us.
8537
8538 2005-07-15  Andy Wingo  <wingo@pobox.com>
8539
8540         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8541         (#157311).
8542
8543         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8544         own marshalling function for the handoff signal. Properly type the
8545         buffer as a buffer. Fixes some warnings. Should do a more general
8546         solution.
8547         (gst_identity_class_init): Plug into the right marshaller.
8548
8549 2005-07-15  Wim Taymans  <wim@fluendo.com>
8550
8551         * docs/design/part-TODO.txt:
8552         * docs/design/part-clocks.txt:
8553         * docs/design/part-element-sink.txt:
8554         * docs/design/part-events.txt:
8555         * docs/design/part-gstpipeline.txt:
8556         Updated docs, mostly DISCONT related.
8557
8558 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8559
8560         * docs/pwg/building-pads.xml:
8561           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8562
8563 2005-07-15  Andy Wingo  <wingo@pobox.com>
8564
8565         * tools/gst-typefind.c: Update, add copyright block.
8566
8567         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8568         Normalize and truncate caps before fixation.
8569
8570         * gst/gstcaps.h:
8571         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8572         discards all but the first structure from its argument.
8573
8574 2005-07-15  Wim Taymans  <wim@fluendo.com>
8575
8576         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8577         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8578         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8579         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8580         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8581         (gst_base_transform_chain), (gst_base_transform_change_state),
8582         (gst_base_transform_set_passthrough),
8583         (gst_base_transform_is_passthrough):
8584         * gst/base/gstbasetransform.h:
8585         Make passthrough work using the bufferpools.
8586         Changed API a bit, subclasses have to write into a buffer
8587         provided by the base class.
8588         More debug info in nego functions.
8589         
8590         * gst/elements/gstidentity.c: (gst_identity_init),
8591         (gst_identity_transform):
8592         Port to new base class.
8593
8594 2005-07-15  Wim Taymans  <wim@fluendo.com>
8595
8596         * gst/gstmessage.c: (gst_message_new_state_changed):
8597         * tools/gst-launch.c: (event_loop), (main):
8598         Totally dump messages in -launch with the -m option.
8599         Fix message name for State messages,
8600
8601 2005-07-14  Wim Taymans  <wim@fluendo.com>
8602
8603         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8604         Post error messages on errors.
8605
8606 2005-07-14  Wim Taymans  <wim@fluendo.com>
8607
8608         * gst/gstcaps.c: (gst_caps_do_simplify):
8609         Remove debug info.
8610
8611         * gst/gsterror.h:
8612         Define error for stream stopped.
8613
8614         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8615         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8616         Do proper return values.
8617
8618         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8619         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8620         (gst_pad_get_range):
8621         Better return values.
8622
8623         * gst/gstpad.h:
8624         Reorganise return values, add macro to check for fatal errors.
8625
8626         * gst/gstqueue.c: (gst_queue_chain):
8627         Return proper GstFlowReturn values,
8628
8629 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8630
8631         * docs/gst/gstreamer-sections.txt:
8632         * docs/gst/gstreamer.types:
8633         * docs/gst/tmpl/gst.sgml:
8634         * docs/gst/tmpl/gstbasesink.sgml:
8635         * docs/gst/tmpl/gstbasesrc.sgml:
8636         * docs/gst/tmpl/gstbasetransform.sgml:
8637         * docs/gst/tmpl/gstbin.sgml:
8638         * docs/gst/tmpl/gstbuffer.sgml:
8639         * docs/gst/tmpl/gstcaps.sgml:
8640         * docs/gst/tmpl/gstclock.sgml:
8641         * docs/gst/tmpl/gstcompat.sgml:
8642         * docs/gst/tmpl/gstconfig.sgml:
8643         * docs/gst/tmpl/gstelement.sgml:
8644         * docs/gst/tmpl/gstelementdetails.sgml:
8645         * docs/gst/tmpl/gstelementfactory.sgml:
8646         * docs/gst/tmpl/gstenumtypes.sgml:
8647         * docs/gst/tmpl/gsterror.sgml:
8648         * docs/gst/tmpl/gstevent.sgml:
8649         * docs/gst/tmpl/gstfakesink.sgml:
8650         * docs/gst/tmpl/gstfakesrc.sgml:
8651         * docs/gst/tmpl/gstfilesink.sgml:
8652         * docs/gst/tmpl/gstfilesrc.sgml:
8653         * docs/gst/tmpl/gstfilter.sgml:
8654         * docs/gst/tmpl/gstformat.sgml:
8655         * docs/gst/tmpl/gstghostpad.sgml:
8656         * docs/gst/tmpl/gstimplementsinterface.sgml:
8657         * docs/gst/tmpl/gstindex.sgml:
8658         * docs/gst/tmpl/gstindexfactory.sgml:
8659         * docs/gst/tmpl/gstinfo.sgml:
8660         * docs/gst/tmpl/gstiterator.sgml:
8661         * docs/gst/tmpl/gstmacros.sgml:
8662         * docs/gst/tmpl/gstmemchunk.sgml:
8663         * docs/gst/tmpl/gstminiobject.sgml:
8664         * docs/gst/tmpl/gstobject.sgml:
8665         * docs/gst/tmpl/gstpad.sgml:
8666         * docs/gst/tmpl/gstpadtemplate.sgml:
8667         * docs/gst/tmpl/gstparse.sgml:
8668         * docs/gst/tmpl/gstpipeline.sgml:
8669         * docs/gst/tmpl/gstplugin.sgml:
8670         * docs/gst/tmpl/gstpluginfeature.sgml:
8671         * docs/gst/tmpl/gstquery.sgml:
8672         * docs/gst/tmpl/gstqueue.sgml:
8673         * docs/gst/tmpl/gstregistry.sgml:
8674         * docs/gst/tmpl/gstregistrypool.sgml:
8675         * docs/gst/tmpl/gstscheduler.sgml:
8676         * docs/gst/tmpl/gstschedulerfactory.sgml:
8677         * docs/gst/tmpl/gststructure.sgml:
8678         * docs/gst/tmpl/gstsystemclock.sgml:
8679         * docs/gst/tmpl/gsttaglist.sgml:
8680         * docs/gst/tmpl/gsttagsetter.sgml:
8681         * docs/gst/tmpl/gsttrace.sgml:
8682         * docs/gst/tmpl/gsttrashstack.sgml:
8683         * docs/gst/tmpl/gsttypefind.sgml:
8684         * docs/gst/tmpl/gsttypefindfactory.sgml:
8685         * docs/gst/tmpl/gsttypes.sgml:
8686         * docs/gst/tmpl/gsturihandler.sgml:
8687         * docs/gst/tmpl/gsturitype.sgml:
8688         * docs/gst/tmpl/gstutils.sgml:
8689         * docs/gst/tmpl/gstvalue.sgml:
8690         * docs/gst/tmpl/gstversion.sgml:
8691         * docs/gst/tmpl/gstxml.sgml:
8692         * docs/libs/tmpl/gstcontrol.sgml:
8693         * docs/libs/tmpl/gstdataprotocol.sgml:
8694         * docs/libs/tmpl/gstdparam.sgml:
8695         * docs/libs/tmpl/gstdplinint.sgml:
8696         * docs/libs/tmpl/gstdpman.sgml:
8697         * docs/libs/tmpl/gstdpsmooth.sgml:
8698         * docs/libs/tmpl/gstgetbits.sgml:
8699         * docs/libs/tmpl/gstunitconvert.sgml:
8700         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8701         (gst_push_src_base_init), (gst_push_src_class_init),
8702         (gst_push_src_init), (gst_push_src_create):
8703         * gst/base/gstpushsrc.h:
8704         * gst/elements/gstelements.c:
8705         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8706         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8707         (gst_fake_sink_init), (gst_fake_sink_set_property),
8708         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8709         (gst_fake_sink_event), (gst_fake_sink_preroll),
8710         (gst_fake_sink_render), (gst_fake_sink_change_state):
8711         * gst/elements/gstfakesink.h:
8712         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8713         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8714         (gst_fake_src_base_init), (gst_fake_src_class_init),
8715         (gst_fake_src_init), (gst_fake_src_event_handler),
8716         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8717         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8718         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8719         (gst_fake_src_create_buffer), (gst_fake_src_create),
8720         (gst_fake_src_start), (gst_fake_src_stop):
8721         * gst/elements/gstfakesrc.h:
8722         * gst/elements/gstfilesink.c: (_do_init),
8723         (gst_file_sink_base_init), (gst_file_sink_class_init),
8724         (gst_file_sink_init), (gst_file_sink_dispose),
8725         (gst_file_sink_set_location), (gst_file_sink_set_property),
8726         (gst_file_sink_get_property), (gst_file_sink_open_file),
8727         (gst_file_sink_close_file), (gst_file_sink_query),
8728         (gst_file_sink_event), (gst_file_sink_render),
8729         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8730         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8731         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8732         * gst/elements/gstfilesink.h:
8733         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8734         (gst_file_src_class_init), (gst_file_src_init),
8735         (gst_file_src_finalize), (gst_file_src_set_location),
8736         (gst_file_src_set_property), (gst_file_src_get_property),
8737         (gst_file_src_map_region), (gst_file_src_map_small_region),
8738         (gst_file_src_create_mmap), (gst_file_src_create_read),
8739         (gst_file_src_create), (gst_file_src_is_seekable),
8740         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8741         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8742         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8743         (gst_file_src_uri_handler_init):
8744         * gst/elements/gstfilesrc.h:
8745           more autistic cleanliness in functions/names/defines
8746
8747 2005-07-13  Andy Wingo  <wingo@pobox.com>
8748
8749         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8750         source couldn't negotiate.
8751
8752         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8753         connections again.
8754
8755         * gst/gstutils.h:
8756         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8757         function. I am channeling Hades. Put your boots on suckers!!!
8758
8759 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8760
8761         * testsuite/caps/Makefile.am:
8762         * testsuite/caps/value_compare.c:
8763         * testsuite/caps/value_intersect.c:
8764         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8765           move two testsuite apps over to the check dir
8766
8767 2005-07-12  Wim Taymans  <wim@fluendo.com>
8768
8769         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8770         Added more debug info in the negotiate process.
8771
8772         * gst/gstmessage.h:
8773         Prepare for segment playback.
8774
8775         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8776         Better debugging.
8777
8778         * gst/gstutils.c:
8779         Some more docs.
8780
8781         * tools/gst-launch.c: (main):
8782         NULL pipeline on errors.
8783
8784 2005-07-12  Andy Wingo  <wingo@pobox.com>
8785
8786         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8787         not it comes from a malloc region. Make sure our copy gets freed.
8788
8789 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8790
8791         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8792         * check/gst/gstmessage.c: (GST_START_TEST):
8793         * check/gst/gststructure.c: (GST_START_TEST),
8794         (gst_structure_suite), (main):
8795           more testing
8796         * gst/gstelement.c: (gst_element_message_full):
8797           clean up GError and debug string now that they get copied
8798         * gst/gstmessage.c: (gst_message_new_error),
8799         (gst_message_new_warning), (gst_message_parse_error),
8800         (gst_message_parse_warning):
8801           use GST_TYPE_G_ERROR for structure_new, and take copies of
8802           arguments, so that we don't mess up refcounting
8803
8804 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8805
8806         * check/Makefile.am:
8807           add per-test valgrind targets
8808         * check/gst-libs/gdp.c: (GST_START_TEST),
8809         (gst_data_protocol_suite), (main):
8810           clean up
8811
8812 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8813
8814         * check/Makefile.am:
8815           instate more valgrindable tests
8816         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8817         (GST_START_TEST), (fakesrc_suite):
8818         * check/gst/gstpad.c: (GST_START_TEST):
8819         * check/gst/gststructure.c: (GST_START_TEST):
8820           fix test leaks
8821         * docs/gst/tmpl/gstminiobject.sgml:
8822         * gst/gstpad.c: (gst_pad_finalize):
8823           fix the static mutex leak
8824
8825 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8826
8827         * check/Makefile.am:
8828           add two more tests for valgrinding
8829         * check/gst/gstvalue.c: (GST_START_TEST):
8830           test refcount of deserialized buffer, found a leak
8831         * docs/gst/gstreamer-docs.sgml:
8832         * docs/gst/gstreamer-sections.txt:
8833         * docs/gst/gstreamer.types:
8834         * docs/gst/tmpl/gstminiobject.sgml:
8835           add miniobject to docs
8836         * gst/gstminiobject.c:
8837           add some docs
8838         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8839         (gst_string_unwrap):
8840           fix a hard-to-find invalid write for one of the tests
8841           fix a leak for deserialized buffers
8842
8843 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8844
8845         * docs/pwg/advanced-events.xml:
8846         * docs/pwg/advanced-request.xml:
8847         * docs/pwg/advanced-scheduling.xml:
8848         * docs/pwg/appendix-porting.xml:
8849         * docs/pwg/building-boiler.xml:
8850         * docs/pwg/intro-preface.xml:
8851         * docs/pwg/other-ntoone.xml:
8852           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8853           of example code and explanation for pad activation, loop() and
8854           getrange() functions and a bit more. Remove old comments pointing
8855           to loop-functions.
8856         * examples/pwg/Makefile.am:
8857           Add loop/getrange examples.
8858
8859 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8860
8861         * configure.ac:
8862           check for valgrind binary + some fixes
8863         * check/gst.supp:
8864           valgrind suppressions for the tests
8865         * check/Makefile.am:
8866           add a valgrind: target that valgrinds the unit tests
8867         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8868         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8869         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8870         * check/gst/gstghostpad.c:
8871           added some cleanup
8872         * check/gst/gstdata.c:
8873           removed
8874         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8875         (thread_unref), (gst_mini_object_suite), (main):
8876           added
8877         * gst/gst.c: (gst_deinit):
8878         * gst/gst.h:
8879           add a method to clean up.
8880         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8881         (gst_system_clock_obtain):
8882           allow for disposing the system clock.
8883         * tools/gst-launch.c: (main):
8884           deinit
8885
8886 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8887
8888         * docs/gst/tmpl/gstbasesrc.sgml:
8889         * docs/gst/tmpl/gstfakesrc.sgml:
8890         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8891         (gst_base_src_init), (gst_base_src_set_property),
8892         (gst_base_src_get_property), (gst_base_src_get_range),
8893         (gst_base_src_start):
8894         * gst/base/gstbasesrc.h:
8895           add num-buffers property
8896         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8897         (gst_fakesrc_init), (gst_fakesrc_set_property),
8898         (gst_fakesrc_get_property), (gst_fakesrc_create),
8899         (gst_fakesrc_start):
8900           remove num-buffers property
8901
8902 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8903
8904         * docs/gst/gstreamer-sections.txt:
8905         * docs/gst/tmpl/gstbasesink.sgml:
8906         * docs/gst/tmpl/gstbasesrc.sgml:
8907         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8908         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8909         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8910         (gst_base_sink_set_property), (gst_base_sink_get_property),
8911         (gst_base_sink_handle_object), (gst_base_sink_event),
8912         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8913         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8914         (gst_base_sink_loop), (gst_base_sink_deactivate),
8915         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8916         (gst_base_sink_change_state):
8917         * gst/base/gstbasesink.h:
8918         * gst/base/gstbasesrc.h:
8919         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8920         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8921         (gst_filesink_init):
8922           more macro splitting
8923
8924 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8925
8926         * gst/gstelement.c: (gst_element_get_bus):
8927           add debug
8928         * tools/gst-launch.c: (check_intr), (event_loop):
8929           fix bus leaks
8930
8931 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8932
8933         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8934           fix a caps leak
8935
8936 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8937
8938         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8939         (gst_base_src_finalize):
8940           add finalize method and clean up properly
8941         * gst/gstpipeline.c: (gst_pipeline_dispose):
8942           add debug
8943
8944 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8945
8946         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8947         (gst_bin_suite):
8948           add more things to check
8949         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8950         * gst/gstelement.c:
8951           more debug
8952
8953 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8954
8955         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8956         (GST_START_TEST), (fakesrc_suite):
8957         * check/gst-libs/gdp.c: (GST_START_TEST):
8958         * check/gst/gst.c: (GST_START_TEST):
8959         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8960         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8961         * check/gst/gstbus.c: (GST_START_TEST):
8962         * check/gst/gstcaps.c: (GST_START_TEST):
8963         * check/gst/gstdata.c: (GST_START_TEST):
8964         * check/gst/gstelement.c: (GST_START_TEST):
8965         * check/gst/gstghostpad.c: (GST_START_TEST):
8966         * check/gst/gstiterator.c: (GST_START_TEST):
8967         * check/gst/gstmessage.c: (GST_START_TEST):
8968         * check/gst/gstobject.c: (GST_START_TEST):
8969         * check/gst/gstpad.c: (GST_START_TEST):
8970         * check/gst/gststructure.c: (GST_START_TEST):
8971         * check/gst/gstsystemclock.c: (GST_START_TEST),
8972         (gst_systemclock_suite):
8973         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8974         * check/gst/gstvalue.c: (GST_START_TEST):
8975         * check/pipelines/cleanup.c: (GST_START_TEST):
8976         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8977         * check/states/sinks.c: (GST_START_TEST):
8978         * check/gstcheck.c: (gst_check_init):
8979         * check/gstcheck.h:
8980           add debugging category
8981           use GST_START_TEST now, so we add a debug line
8982
8983 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8984
8985         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8986           add test for state change message on a bin
8987         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8988           add another test
8989         * gst/gstbin.c: (gst_bin_init):
8990         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8991         * gst/gstelement.c: (gst_element_post_message),
8992         (gst_element_set_state):
8993         * gst/gstelementfactory.c: (gst_element_factory_create):
8994         * gst/gstmessage.c: (gst_message_new):
8995         * gst/gstscheduler.c:
8996           various debugging additions and cleanups
8997
8998 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8999
9000         * check/Makefile.am:
9001         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9002         (main):
9003           adding tests for elements
9004         * gst/gstelement.c: (gst_element_dispose):
9005
9006 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9007
9008         * gst/registries/gstlibxmlregistry.c: (load_feature):
9009           plug more leaks.  A simple gst_init() now is leakfree, yay.
9010
9011 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9012
9013         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9014         (gst_xml_registry_load):
9015           plug another memleak
9016
9017 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9018
9019         * configure.ac:
9020           use GST_SET_ERROR_CFLAGS
9021         * docs/faq/cvs.xml:
9022           change to ERROR_CFLAGS
9023
9024 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9025
9026         * configure.ac:
9027           make GST_ERROR_CFLAGS overridable and re-enable Werror
9028         * docs/faq/cvs.xml:
9029           add a note about error CFLAGS
9030         * docs/gst/tmpl/gstfakesrc.sgml:
9031         * gst/elements/gstfakesrc.c:
9032           comment out some unused code
9033         * gst/gst.c: (split_and_iterate):
9034         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9035         (load_feature):
9036           plug some memleaks
9037
9038 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9039
9040         * common/Makefile.am:
9041         * common/gtk-doc.mak:
9042         * docs/gst/Makefile.am:
9043           factor out gtk-doc.mak
9044
9045 2005-07-07  Wim Taymans  <wim@fluendo.com>
9046
9047         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9048         (gst_thread_scheduler_dispose):
9049         Unlock the STREAM_LOCK completely.
9050
9051 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9052
9053         * check/Makefile.am:
9054         * check/elements/.cvsignore:
9055         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9056         (START_TEST), (fakesrc_suite), (main):
9057         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9058         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9059         (gst_fakesrc_create), (gst_fakesrc_start):
9060         * gst/elements/gstfakesrc.h:
9061           adding a first element test
9062
9063 2005-07-07  Andy Wingo  <wingo@pobox.com>
9064
9065         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9066         debug message.
9067
9068 2005-07-07  Wim Taymans  <wim@fluendo.com>
9069
9070         * gst/gstquery.c:
9071         * gst/gstquery.h:
9072         Remove old types
9073
9074 2005-07-07  Wim Taymans  <wim@fluendo.com>
9075
9076         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9077         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9078         Allow subclasses to implement their own negotiation.
9079
9080 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9081
9082         * docs/design/part-gstbin.txt:
9083         * docs/design/part-gstpipeline.txt:
9084           Update design notes to reflect the movement of
9085           responsibility for bus handling from GstPipeline to
9086           GstBin
9087
9088 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9089
9090         * configure.ac:
9091           Remove unnecessary queue2/3/4 examples.
9092
9093 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9094
9095         * examples/Makefile.am:
9096         * examples/helloworld/helloworld.c: (event_loop), (main):
9097         * examples/queue/queue.c: (event_loop), (main):
9098         * examples/queue2/queue2.c: (main):
9099           Update a couple of the examples to work again.
9100
9101         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9102         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9103          Spelling corrections and extra debug.
9104         
9105         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9106         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9107         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9108         * gst/gstbin.h:
9109         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9110         (gst_pipeline_change_state):
9111         * gst/gstpipeline.h:
9112           Move the bus handler for children to the GstBin, and create a
9113           separate bus for receiving messages from children to the one the
9114           bus sends 'upwards' on.
9115
9116 2005-07-06  Wim Taymans  <wim@fluendo.com>
9117
9118         * gst/base/README:
9119         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9120         (gst_base_sink_handle_object), (gst_base_sink_loop),
9121         (gst_base_sink_change_state):
9122         * gst/base/gstbasesink.h:
9123         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9124         (gst_base_src_init), (gst_base_src_setcaps),
9125         (gst_base_src_getcaps), (gst_base_src_loop),
9126         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9127         (gst_base_src_start), (gst_base_src_change_state):
9128         * gst/base/gstbasesrc.h:
9129         Make basesrc negotiate.
9130         Handle the case where preroll fails in basesink.
9131         Update README.
9132
9133 2005-07-06  Wim Taymans  <wim@fluendo.com>
9134
9135         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9136         Implement the fixate function.
9137         Clean up acceptcaps.
9138
9139 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9140
9141         * docs/pwg/building-filterfactory.xml:
9142         * docs/pwg/pwg.xml:
9143           Remove never-written filter-factory chapter; I'll add the various
9144           base classes to part 4 ("other element types") later on.
9145
9146 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9147
9148         * docs/pwg/advanced-negotiation.xml:
9149         * docs/pwg/building-boiler.xml:
9150         * docs/pwg/building-pads.xml:
9151         * docs/pwg/pwg.xml:
9152         * examples/pwg/Makefile.am:
9153           Add a chapter on caps negotiation, simplify the original code
9154           samples a bit w.r.t. caps negotiation, add link to the advanced
9155           section. Add a bunch of examples showing different use cases of
9156           different types of caps negotiation. Upstream renegotiation isn't
9157           fully documented yet since nobody knows how that works.
9158
9159 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9160
9161         * check/gst/gstpad.c:
9162         * check/gstcheck.c:
9163         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9164           if pad has no parent, return NULL as list of internal links
9165
9166 2005-07-05  Andy Wingo  <wingo@pobox.com>
9167
9168         * gst/elements/gstfilesrc.c:
9169         * gst/elements/gstfakesrc.c: 
9170         * gst/base/gstpushsrc.c:
9171         * gst/base/gstbasesrc.h: 
9172         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9173         
9174 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9175
9176         * Makefile.am:
9177           better report generation target (lcov needs a patch)
9178
9179 2005-07-05  Andy Wingo  <wingo@pobox.com>
9180
9181         * gst/elements, testsuite: Null if we got it...
9182
9183 2005-07-05  Wim Taymans  <wim@fluendo.com>
9184
9185         * configure.ac:
9186         * libs/gst/dataprotocol/Makefile.am:
9187         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9188         * libs/gst/dataprotocol/dataprotocol.h:
9189         * pkgconfig/Makefile.am:
9190         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9191         * pkgconfig/gstreamer-dataprotocol.pc.in:
9192         Ported dataprotol to 0.9. 
9193         Added pkgconfig files.
9194
9195 2005-07-05  Andy Wingo  <wingo@pobox.com>
9196
9197         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9198         Default to returning TRUE for the case when tranform_caps returns
9199         a fixed caps, like for identity or volume.
9200
9201         * check/gst/gstbus.c (pound_bus_with_messages): 
9202         * check/gst/gstmessage.c (START_TEST): 
9203         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9204         message API change.
9205
9206         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9207         logic weaks here: always run transform_caps, trying passthrough
9208         operation only if the original caps intersects with the transform.
9209
9210         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9211         source and sink caps.
9212
9213         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9214         Intersect the peer caps with the pad template before going into
9215         transform_caps.
9216         (gst_base_transform_transform_caps): More debugging.
9217
9218         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9219         src argument.
9220
9221 2005-07-04  Edward Hervey  <edward@fluendo.com>
9222
9223         * gst/gstutils.c:
9224         * gst/gstutils.h:
9225         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9226         in bindings.
9227
9228 2005-07-04  Andy Wingo  <wingo@pobox.com>
9229
9230         * check/gst/gstpad.c: Only set explicit caps on pads.
9231
9232 2005-07-01  Andy Wingo  <wingo@pobox.com>
9233
9234         * tests/network-clock.scm: Commentary update.
9235
9236         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9237         Didn't really make sense, not implementable with basetransform,
9238         etc.
9239         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9240         attempt at implementing the sync property, needs an unlock method.
9241
9242         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9243         New func, by default returns the same caps (the identity
9244         transformation).
9245         (gst_base_transform_getcaps): Uses transform_caps to return
9246         something sensible.
9247         (gst_base_transform_setcaps): Complicated logic to get caps on
9248         both pads, even if they are different, and to call set_caps once
9249         for every time both pads get their caps set.
9250         (gst_base_transform_handle_buffer): Give the ref to the transform
9251         function. Allows in-place modification of the buffer.
9252
9253         * gst/base/gstbasetransform.h (transform_caps): New class method.
9254         Given caps on one side, what can I do on the other.
9255         (set_caps): Take two caps, one for each side of the element.
9256
9257         * gst/gstpad.h:
9258         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9259         caps in place. This is safe because we can check the mutability of
9260         the caps, and a good idea because fixate functions are just called
9261         as a matter of last resort. (Not actually implemented.)
9262         (gst_pad_set_caps): If the caps we're setting is actually the same
9263         as the existing pad caps, just update the pointer without calling
9264         setcaps. Assert that caps is either NULL or fixed, as per the
9265         docs.
9266
9267         * gst/gstghostpad.c: Update for fixate changes.
9268
9269 2005-07-02  Andy Wingo  <wingo@pobox.com>
9270
9271         * gst/gstcaps.c:
9272         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9273         two refcounts makes it immutable, which is enough. Doc more.
9274
9275 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9276
9277         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9278           Put the mini_object into GValue as a mini_object,
9279           not a gpointer, since that's how we declared
9280           the signal.
9281
9282 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9283
9284         * examples/pwg/Makefile.am:
9285           Fix buildbot again.
9286
9287 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9288
9289         * docs/pwg/building-testapp.xml:
9290           Add extra check.
9291         * examples/pwg/Makefile.am:
9292           Fix buildbot.
9293
9294 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9295
9296         * configure.ac:
9297         * examples/Makefile.am:
9298         * examples/pwg/Makefile.am:
9299         * examples/pwg/extract.pl:
9300           Enable building the PWG examples.
9301         * docs/pwg/advanced-interfaces.xml:
9302           Add URI interface stub.
9303         * docs/pwg/advanced-types.xml:
9304         * docs/pwg/other-autoplugger.xml:
9305         * docs/pwg/appendix-porting.xml:
9306         * docs/pwg/pwg.xml:
9307           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9308         * docs/pwg/building-boiler.xml:
9309         * docs/pwg/building-chainfn.xml:
9310         * docs/pwg/building-pads.xml:
9311         * docs/pwg/building-props.xml:
9312         * docs/pwg/building-state.xml:
9313         * docs/pwg/building-testapp.xml:
9314           Update the building-*.xml parts for 0.9 changes. All examples
9315           code blocks compile in examples/pwg/*.
9316
9317 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9318
9319         * docs/manual/advanced-autoplugging.xml:
9320         * docs/manual/appendix-checklist.xml:
9321         * docs/manual/appendix-integration.xml:
9322         * docs/manual/highlevel-components.xml:
9323           Fix playbin/decodebin examples, update docs a bit, mention bus
9324           instead of signals in various places, mention kmplayer and
9325           kaffeine since they have a working GStreamer backend in the KDE
9326           section.
9327
9328 2005-06-30  Wim Taymans  <wim@fluendo.com>
9329
9330         * CHANGES-0.9:
9331         * docs/design/draft-ghostpads.txt:
9332         * docs/design/draft-push-pull.txt:
9333         * docs/design/draft-query.txt:
9334         * docs/design/part-TODO.txt:
9335         * docs/design/part-query.txt:
9336         Added CHANGES-0.9 doc, updated status of other docs.
9337         
9338         * gst/gstquery.h:
9339         Remove "hmm" macro
9340
9341 2005-06-30  Wim Taymans  <wim@fluendo.com>
9342
9343         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9344         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9345         (gst_base_sink_change_state):
9346         * gst/base/gstbasesink.h:
9347         Some tweaks, only EOS and a buffer complete a preroll.
9348
9349 2005-06-30  Andy Wingo  <wingo@pobox.com>
9350
9351         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9352         activate_push down to the internal pad as well.
9353
9354 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9355
9356         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9357
9358         * gst/gsttaginterface.c:
9359           Some documentation fixes (#307394 and #307397).
9360
9361 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9362
9363         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9364
9365         * gst/gstvalue.c: (gst_value_intersect_list):
9366           Fix memleak (#309125).
9367
9368 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9369
9370         * docs/manual/advanced-dataaccess.xml:
9371           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9372         * docs/manual/basics-pads.xml:
9373           Add reference for filtered caps to above chapter.
9374
9375 2005-06-30  Wim Taymans  <wim@fluendo.com>
9376
9377         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9378         (gst_bin_change_state):
9379         Probes are gone.
9380         Lame attempt at making the state change function a bit
9381         more readable.
9382
9383 2005-06-30  Wim Taymans  <wim@fluendo.com>
9384
9385         * docs/design/part-clocks.txt:
9386         * docs/design/part-element-sink.txt:
9387         * docs/design/part-events.txt:
9388         * docs/design/part-preroll.txt:
9389         * docs/design/part-states.txt:
9390         Some more tweeks and additions to the docs.
9391
9392 2005-06-30  Wim Taymans  <wim@fluendo.com>
9393
9394         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9395         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9396         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9397         (gst_pad_check_pull_range), (gst_pad_get_range),
9398         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9399         * gst/gstpad.h:
9400         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9401         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9402         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9403         (gst_pad_remove_buffer_probe):
9404         Removed atomic operations, use existing LOCK.
9405         Move exception handling out of main code path.
9406
9407 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9408
9409         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9410         (silly_return_true_function), (gst_pad_class_init),
9411         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9412         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9413         (gst_pad_send_event):
9414           Fix accumulator, add default value by using _emitv() instead
9415           of _emit() for signal emission.
9416
9417 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9418
9419         * docs/manual/advanced-dataaccess.xml:
9420         * examples/manual/Makefile.am:
9421           Add probe example.
9422         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9423           Make work (??).
9424
9425 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9426
9427         * gst/elements/gstfilesink.c: (gst_filesink_render):
9428           Simplify code so that we don't have to handle short
9429           writes and return GST_FLOW_ERROR if an error occured.
9430
9431 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9432
9433         * docs/gst/gstreamer-docs.sgml:
9434           Remove probes more.
9435
9436 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9437
9438         * docs/gst/gstreamer-sections.txt:
9439         * docs/gst/tmpl/gstpad.sgml:
9440         * docs/gst/tmpl/gstprobe.sgml:
9441         * gst/Makefile.am:
9442         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9443         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9444         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9445         (gst_pad_push_event), (gst_pad_send_event):
9446         * gst/gstpad.h:
9447         * gst/gstutils.c: (gst_pad_add_data_probe),
9448         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9449         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9450         (gst_pad_remove_buffer_probe):
9451         * gst/gstutils.h:
9452           Remove old probes, add new g-signal-based probes and some utility
9453           functions.
9454
9455 2005-06-29  Edward Hervey  <edward@fluendo.com>
9456
9457         * gst/gstelementfactory.c:
9458         * gst/gstutils.h:
9459         * gst/gstutils.c:
9460         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9461         the definition to the header file.
9462
9463 2005-06-29  Andy Wingo  <wingo@pobox.com>
9464
9465         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9466         plugins from the source directory.
9467
9468 2005-06-29  Wim Taymans  <wim@fluendo.com>
9469
9470         * docs/gst/tmpl/gstbuffer.sgml:
9471         * docs/gst/tmpl/gstclock.sgml:
9472         Some fixings for blantently wrong text.
9473
9474 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9475
9476         * check/Makefile.am:
9477         * gst/gst.c: (add_path_func), (init_pre):
9478         * gst/gstregistry.c: (gst_registry_add_path):
9479           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9480           only scan the GST_PLUGIN_PATH locations, and not add
9481           system locations
9482
9483 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9484
9485         * docs/gst/gstreamer-sections.txt:
9486         * docs/gst/tmpl/gstbasesrc.sgml:
9487         * gst/gstelement.c:
9488         * gst/gstelement.h:
9489         * gst/gstevent.c:
9490         * gst/gstutils.c:
9491           doc fixes
9492
9493 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9494
9495         * docs/manual/advanced-autoplugging.xml:
9496           Fix autoplugging example.
9497
9498 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9499
9500         * docs/manual/advanced-autoplugging.xml:
9501         * docs/manual/mime-world.fig:
9502           Try to get autoplugging working, fix type detection. Fix text
9503           in hello-world image.
9504
9505 2005-06-29  Wim Taymans  <wim@fluendo.com>
9506
9507         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9508         (gst_base_sink_change_state):
9509         Small debug line.
9510
9511         * gst/gstclock.h:
9512         map SIGNAL and BROADCAST to the right function.
9513
9514         * gst/gstobject.h:
9515         Remove redundant braces.
9516
9517         * gst/gstpad.c: (gst_pad_set_caps):
9518         Don't call setcaps function when reseting caps to NULL.
9519
9520         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9521         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9522         (gst_system_clock_id_unschedule):
9523         Use BROADCAST as this is what we do.
9524
9525 2005-06-29  Wim Taymans  <wim@fluendo.com>
9526
9527         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9528         We are actually prerolling before commiting the state
9529         change. 
9530
9531 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9532
9533         * docs/manual/advanced-clocks.xml:
9534         * docs/manual/advanced-interfaces.xml:
9535         * docs/manual/advanced-metadata.xml:
9536         * docs/manual/advanced-position.xml:
9537         * docs/manual/advanced-schedulers.xml:
9538         * docs/manual/advanced-threads.xml:
9539         * docs/manual/appendix-porting.xml:
9540         * docs/manual/basics-bins.xml:
9541         * docs/manual/basics-bus.xml:
9542         * docs/manual/basics-elements.xml:
9543         * docs/manual/basics-helloworld.xml:
9544         * docs/manual/basics-pads.xml:
9545         * docs/manual/highlevel-components.xml:
9546         * docs/manual/manual.xml:
9547         * docs/manual/thread.fig:
9548           Update (until threads/scheduling) Application Development Manual;
9549           remove GstThread, add GstBus, add simple porting checklist, add
9550           documentation for tag writing, clocks, make all examples until this
9551           part compile and run.
9552         * examples/manual/Makefile.am:
9553           Update from changes to Application Development Manual; add bus
9554           example, remove thread example.
9555
9556 2005-06-28  Wim Taymans  <wim@fluendo.com>
9557
9558         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9559         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9560         (gst_bus_source_dispatch):
9561         Add debugging messages.
9562         Make internal methods static.
9563         Handle the case where the bus is flushed in the handler.
9564         
9565         * gst/gstelement.c: (gst_element_get_bus):
9566         Fix refcount in _get_bus();
9567
9568         * gst/gstpipeline.c: (gst_pipeline_change_state),
9569         (gst_pipeline_get_clock_func):
9570         Clock refcounting fixes.
9571         Handle the case where preroll timed out more gracefully.
9572         
9573         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9574         Clean up the internal thread in dispose. This is needed
9575         for subclasses that actually get disposed.
9576         
9577         * gst/schedulers/threadscheduler.c:
9578         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9579         (gst_thread_scheduler_dispose):
9580         Free thread pool in dispose.
9581
9582 2005-06-28  Andy Wingo  <wingo@pobox.com>
9583
9584         * tests/network-clock-utils.scm (debug, print-event): New utils.
9585
9586         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9587         (*packet-loss*): Unified loss probability.
9588         (network-time): Report out-of-band events.
9589
9590         * tests/plot-data: Add support for out-of-band events. Hack it
9591         into this script instead of passing it down the pipe; should fix
9592         this later.
9593
9594 2005-06-28  Wim Taymans  <wim@fluendo.com>
9595
9596         * docs/gst/gstreamer.types:
9597         * docs/gst/tmpl/gstbasesrc.sgml:
9598         * docs/gst/tmpl/gstpad.sgml:
9599         Docs fixes.
9600
9601 2005-06-28  Wim Taymans  <wim@fluendo.com>
9602
9603         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9604         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9605         (gst_proxy_pad_do_fixatecaps):
9606         Correctly proxy the check_pull_range function.
9607
9608 2005-06-28  Andy Wingo  <wingo@pobox.com>
9609
9610         * tests/network-clock.scm: Removed need for slib.
9611         
9612 2005-06-28  Wim Taymans  <wim@fluendo.com>
9613
9614         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9615         (gst_basesink_preroll_queue_flush):
9616         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9617         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9618         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9619         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9620         (gst_proxy_pad_set_property):
9621         * gst/gstpad.c:
9622         * gst/gstpad.h:
9623         * gst/gstqueue.c: (gst_queue_init):
9624         The deprecated pad loop function is removed now.
9625
9626 2005-06-28  Andy Wingo  <wingo@pobox.com>
9627
9628         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9629         New parameters, simulate network packet loss.
9630
9631         * tests/network-clock-utils.scm: Initialize the RNG.
9632
9633 2005-06-28  Wim Taymans  <wim@fluendo.com>
9634
9635         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9636         (gst_basesink_event), (gst_basesink_deactivate):
9637         Flushing the preroll queue always needs to unlock the waiters.
9638
9639 2005-06-28  Edward Hervey  <edward@fluendo.com>
9640
9641         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9642         Wheen a seek was successful on a pipeline, set the stream_time to the
9643         seek offset in order to have a synchronized stream_time.
9644
9645 2005-06-28  Wim Taymans  <wim@fluendo.com>
9646
9647         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9648         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9649         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9650         (gst_proxy_pad_do_fixatecaps):
9651         Call wrapper function instead of just calling the function
9652         pointers. This takes care of any locking and whatmore.
9653
9654 2005-06-28  Wim Taymans  <wim@fluendo.com>
9655
9656         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9657         (gst_pad_pull_range):
9658         * gst/gstpad.h:
9659         CONNECTED -> LINKED.
9660
9661 2005-06-28  Andy Wingo  <wingo@pobox.com>
9662
9663         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9664         source-munging commit!!!
9665
9666         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9667         (gst_object_sink): Take gpointer arguments, not GstObject --
9668         avoids casts. Like GLib.
9669
9670         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9671         activate.
9672
9673 2005-06-27  Andy Wingo  <wingo@pobox.com>
9674
9675         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9676         remaining buffer.
9677
9678         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9679         returns a sorted copy of the trace list.
9680         (gst_alloc_trace_print_live): New API, only prints traces with
9681         live objects. Sort the list.
9682         (gst_alloc_trace_print_all): Sort the list.
9683         (gst_alloc_trace_print): Align columns.
9684
9685         * gst/elements/gstttypefindelement.c:
9686         * gst/elements/gsttee.c:
9687         * gst/base/gstbasesrc.c:
9688         * gst/base/gstbasesink.c:
9689         * gst/base/gstbasetransform.c:
9690         * gst/gstqueue.c: Adapt for pad activation changes.
9691
9692         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9693         sched.
9694         (gst_pipeline_dispose): Drop ref on sched.
9695
9696         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9697         (gst_pad_activate_default): Push mode by default.
9698         (pre_activate_switch, post_activate_switch): New stubs, things to
9699         do before and after switching activation modes on pads.
9700         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9701         the pad's activate function to choose which mode to activate.
9702         Shortcut on deactivation and call the right function directly.
9703         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9704         mode.
9705         (gst_pad_activate_push): New API, same for push mode.
9706         (gst_pad_set_activate_function) 
9707         (gst_pad_set_activatepull_function) 
9708         (gst_pad_set_activatepush_function): Setters for new API.
9709
9710         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9711         Trace all miniobjects.
9712         (gst_mini_object_make_writable): Unref the arg if we copy, like
9713         gst_caps_make_writable.
9714
9715         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9716
9717         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9718         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9719         Adapt for new pad API.
9720
9721         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9722
9723         * gst/gstelement.h:
9724         * gst/gstelement.c (gst_element_iterate_src_pads) 
9725         (gst_element_iterate_sink_pads): New API functions.
9726         
9727         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9728         should fold into gstiterator.c in some form.
9729         (gst_element_pads_activate): Simplified via use of fold and
9730         delegation of decisions to gstpad->activate.
9731
9732         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9733         help in debugging.
9734
9735         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9736         class once in init, like gstmessage. Didn't run into this issue
9737         but it seems correct. Don't initialize a trace, gstminiobject does
9738         that.
9739
9740         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9741         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9742         to the bus.
9743         (assert_live_count): New util function, uses alloc traces to check
9744         cleanup.
9745
9746         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9747         To be modified when unlink drops the internal pad.
9748
9749 2005-06-27  Wim Taymans  <wim@fluendo.com>
9750
9751         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9752         (gst_bin_change_state):
9753         Cleanup the get_state() function a little, make sure it
9754         iterates the same set of elements.
9755         Added stub iterate_state_order().
9756
9757 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9758
9759         * docs/gst/gstreamer-docs.sgml:
9760         * docs/gst/gstreamer-sections.txt:
9761         * docs/gst/gstreamer.types:
9762         * docs/gst/tmpl/gstbasesink.sgml:
9763         * docs/gst/tmpl/gstbasesrc.sgml:
9764         * docs/gst/tmpl/gstbasetransform.sgml:
9765         * docs/gst/tmpl/gstelement.sgml:
9766         * docs/gst/tmpl/gstiterator.sgml:
9767         * gst/base/gstbasesrc.c:
9768         * gst/base/gstbasesrc.h:
9769         * gst/base/gstbasetransform.h:
9770         * gst/gstelement.c:
9771         * gst/gstiterator.h:
9772           adding basetransform and iterator docs
9773
9774 2005-06-27  Andy Wingo  <wingo@pobox.com>
9775
9776         * docs/design/part-activation.txt: Notes on how activation should
9777         work -- not quite implemented yet.
9778
9779 2005-06-25  Wim Taymans  <wim@fluendo.com>
9780
9781         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9782         At least get the chain function correct, needs more
9783         fixing.
9784
9785 2005-06-25  Wim Taymans  <wim@fluendo.com>
9786
9787         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9788         (gst_basesink_handle_object), (gst_basesink_event),
9789         (gst_basesink_do_sync), (gst_basesink_handle_event),
9790         (gst_basesink_change_state):
9791         * gst/gsttask.h:
9792         Right, two problems here: ghostpads don't take locks and
9793         glib _rec_mutex_lock_full() with depth==0 still locks.
9794         Catch illegal locking and g_warn them.
9795
9796 2005-06-25  Wim Taymans  <wim@fluendo.com>
9797
9798         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9799         Have to check for completion now...
9800
9801 2005-06-25  Wim Taymans  <wim@fluendo.com>
9802
9803         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9804         (gst_basesink_handle_object), (gst_basesink_event),
9805         (gst_basesink_do_sync), (gst_basesink_handle_event),
9806         (gst_basesink_change_state):
9807         * gst/gstpad.h:
9808         Unlock STREAM_LOCK whatever the recursion was.
9809
9810 2005-06-25  Wim Taymans  <wim@fluendo.com>
9811
9812         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9813         (gst_basesink_preroll_queue_empty),
9814         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9815         (gst_basesink_event), (gst_basesink_do_sync),
9816         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9817         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9818         (gst_basesink_change_state):
9819         Reworked the base sink, handle event and buffer serialisation
9820         correctly and removed possible deadlock.
9821         Handle EOS correctly.
9822
9823 2005-06-25  Wim Taymans  <wim@fluendo.com>
9824
9825         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9826         (gst_pipeline_change_state):
9827         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9828         Allow elements to post EOS in the state change function.
9829         Fix up -launch, make it exit the poll loop when the
9830         pipeline actually changed state.
9831         Fix up warning parsing in -launch.
9832
9833 2005-06-25  Wim Taymans  <wim@fluendo.com>
9834
9835         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9836         (gst_tee_sink_activate):
9837         Core takes STREAM_LOCK for us now.
9838
9839 2005-06-25  Wim Taymans  <wim@fluendo.com>
9840
9841         * gst/gstelement.c: (gst_element_get_state_func),
9842         (gst_element_set_state):
9843         * gst/gstelement.h:
9844         * gst/gstmessage.c: (gst_message_parse_error),
9845         (gst_message_parse_warning):
9846         Keep track of current target state while performing a state
9847         change so that subclasses can do something interesting.
9848         Fix parsing of warning/error messages when GError is NULL.
9849
9850 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9851
9852         * docs/gst/Makefile.am:
9853         * docs/gst/gstreamer-docs.sgml:
9854         * docs/gst/gstreamer-sections.txt:
9855         * docs/gst/gstreamer.types:
9856         * docs/gst/tmpl/gstbasesink.sgml:
9857         * docs/gst/tmpl/gstbasesrc.sgml:
9858         * docs/gst/tmpl/gstbin.sgml:
9859         * docs/gst/tmpl/gstcompat.sgml:
9860         * docs/gst/tmpl/gstfakesink.sgml:
9861         * docs/gst/tmpl/gstfakesrc.sgml:
9862         * docs/gst/tmpl/gstfilesink.sgml:
9863         * docs/gst/tmpl/gstfilesrc.sgml:
9864         * docs/gst/tmpl/gstindex.sgml:
9865         * docs/manual/appendix-quotes.xml:
9866         * gst/base/gstbasesrc.h:
9867         * gst/elements/gstfakesrc.h:
9868         * gst/gstmessage.h:
9869           start pulling in base classes and elements in our docs
9870
9871 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9872
9873         * docs/gst/Makefile.am:
9874         * docs/libs/Makefile.am:
9875           fixed make distcheck with gtk-doc 1.3
9876
9877 2005-06-23  Wim Taymans  <wim@fluendo.com>
9878
9879         * gst/gstelement.c: (gst_element_get_state_func),
9880         (gst_element_set_state), (gst_element_change_state):
9881         When the state did not change, also report NO_PREROLL
9882         when it matters.
9883
9884 2005-06-23  Wim Taymans  <wim@fluendo.com>
9885
9886         * gst/gstpad.c: (gst_pad_event_default):
9887         * gst/gstqueue.c: (gst_queue_loop):
9888         No unsafe task pausing please.
9889
9890 2005-06-23  Wim Taymans  <wim@fluendo.com>
9891
9892         * gst/schedulers/threadscheduler.c:
9893         (gst_thread_scheduler_task_start),
9894         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9895         Ref the task before pushing it on the threadpool. This
9896         makes sure that we have a ref when the threadfunction is
9897         actually called.
9898
9899 2005-06-23  Andy Wingo  <wingo@pobox.com>
9900
9901         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9902         offset is greater than the file's size.
9903
9904         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9905         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9906         * gst/gstobject.c (gst_object_class_init): Make the class lock
9907         recursive. Wim won't let me drop deep_notify. Decodebin works
9908         again, whoopdy doo.
9909
9910         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9911         internal pad, and hacks accordingly. Doesn't do it on the target
9912         pad because we change its caps. Probably catches all cases of
9913         interest tho.
9914         (gst_ghost_pad_set_property): Connect to notify::caps as
9915         appropritate.
9916
9917         * tests/network-clock.scm (plot-simulation): Pipe data to the
9918         elite python skript.
9919
9920         * tests/network-clock-utils.scm (define-parameter): New macro,
9921         defines a parameter that can be set via the command line.
9922         (set-parameter!, parse-parameter-arguments): Command line args
9923         parser.
9924
9925         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9926         stdin.
9927
9928 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9929
9930         * gst/elements/gsttypefindelement.c:
9931         (gst_type_find_element_handle_event):
9932           Don't restart typefinding on a discont.
9933         * gst/gstelement.c: (gst_element_set_state):
9934           Debug spelling fix.
9935         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9936           Allow changing mode of an active pad.
9937           Debug output fixes.
9938         * gst/registries/gstlibxmlregistry.c: (load_feature):
9939           Don't cast a static pad template to a normal pad template.
9940
9941 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9942
9943         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9944         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9945           remove gst_strtoll completely, since it didn't actually do
9946           anything more than what g_ascii_strtoull already does.
9947           check for range errors when deserializing
9948           do a cast for the unsigned cases; but further fixing needs
9949           a decision on what the interpretation of "(int)" and
9950           deserialization should be for values that fall outside the
9951           type's boundaries (ie, refuse, or interpret as casting)
9952
9953 2005-06-23  Wim Taymans  <wim@fluendo.com>
9954
9955         * check/Makefile.am:
9956         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9957         * docs/design/part-live-source.txt:
9958         * docs/design/part-states.txt:
9959         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9960         (gst_basesrc_set_live), (gst_basesrc_is_live),
9961         (gst_basesrc_get_range), (gst_basesrc_activate),
9962         (gst_basesrc_change_state):
9963         * gst/base/gstbasesrc.h:
9964         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9965         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9966         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9967         * gst/gstelement.c: (gst_element_get_state_func),
9968         (gst_element_set_state):
9969         * gst/gstelement.h:
9970         * gst/gsttypes.h:
9971         * tools/gst-launch.c: (event_loop), (main):
9972         Added support for live sources and other elements that
9973         cannot do preroll.
9974         Updated design docs, added live-source design doc.
9975         Implemented live source functionality in basesrc
9976         Fix error condition in _bin_get_state()
9977         Implement live source handling in -launch.
9978         Added check for live sources.
9979         Fixed case in GstBin where elements were changed state
9980         multiple times.
9981
9982
9983 2005-06-23  Andy Wingo  <wingo@pobox.com>
9984
9985         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9986         borken refcounting.
9987
9988         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9989         gst_caps_replace takes care of this for us.
9990
9991         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9992         gst_pad_set_caps on the target, not just its setcaps() function.
9993
9994         * tests/network-clock.scm: 
9995         * tests/network-clock-utils.scm: A network clock simulator.
9996         Something of an algorithmic testbed before doing something in C.
9997
9998 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9999
10000         * check/Makefile.am:
10001         * check/gst/capslist.h:
10002           copy over from 0.8, and add two with bitmasks specified with
10003           (int) 0xFF...
10004         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10005           add test to parse everything from capslist.h
10006         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10007         (main):
10008           add test for structure deserialization
10009         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10010           add tests for deserialization of strings to int types
10011         * gst/gststructure.c: (gst_structure_nth_field_name):
10012         * gst/gststructure.h:
10013           add a way to get the name of a field referenced by index
10014         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10015           instead of checking if the resulting long long lies between
10016           min and max, we check if the long long would fit into
10017           a number of bytes for the final type.
10018           This fixes cases where a string represents 2^32 - 1, which
10019           when cast to int would be the (valid) -1, but is bigger than
10020           G_MAXINT
10021
10022 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10023
10024         * gst/parse/grammar.y:
10025           add a log line for type deserialization
10026
10027 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10028
10029         * check/gst/gstvalue.c: (START_TEST):
10030         * gst/gstvalue.c: (gst_value_deserialize):
10031           return long long, not int, so gint64 deserialization actually
10032           works.  Is there any flag that makes the compiler check this ?
10033           Fixes #308559
10034
10035 2005-06-22  Wim Taymans  <wim@fluendo.com>
10036
10037         * gst/gstbuffer.h:
10038         Added convenience macros for setting buffers in GValue.
10039
10040 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10041
10042         * check/gst/.cvsignore:
10043         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10044           add a test deserializing int64, and comment part out because
10045           it fails, yay !
10046
10047 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10048
10049         * check/Makefile.am:
10050         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10051         * testsuite/Makefile.am:
10052         * testsuite/caps/Makefile.am:
10053         * testsuite/caps/value_serialize.c:
10054         * testsuite/test_gst_init.c:
10055           move a value_serialize test over
10056
10057 2005-06-20  Wim Taymans  <wim@fluendo.com>
10058
10059         * gst/gstpad.c:
10060         Small doc updates.
10061         
10062         * gst/gstvalue.c: (gst_value_compare_buffer),
10063         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10064         (gst_value_compare_flags), (gst_value_serialize_flags),
10065         (gst_value_deserialize_flags), (_gst_value_initialize):
10066         Fix serialisation of buffers, they are not boxed types anymore
10067
10068 2005-06-20  Wim Taymans  <wim@fluendo.com>
10069
10070         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10071         Testcase to show error in buffer-on-caps serialisation.
10072
10073 2005-06-20  Andy Wingo  <wingo@pobox.com>
10074
10075         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10076         will be adding to later.
10077
10078         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10079         if its socks fill with rocks.
10080         (gst_system_clock_obtain): Set the name on object construction.
10081         Avoid double-checked locking.
10082
10083 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10084
10085         * gst/gsturi.c: (gst_element_make_from_uri):
10086           Fix potential endless loop.
10087
10088 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10089
10090         * check/Makefile.am:
10091           add gsttag
10092         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10093         (main):
10094           move over from testsuite dir and clean up
10095         * configure.ac:
10096         * gst/gsttag.c:
10097         * testsuite/Makefile.am:
10098         * testsuite/tags/.cvsignore:
10099         * testsuite/tags/Makefile.am:
10100         * testsuite/tags/merge.c:
10101           remove testsuite/tags
10102
10103 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10104
10105         * docs/gst/gstreamer-sections.txt:
10106         * docs/gst/tmpl/gstenumtypes.sgml:
10107         * win32/gstenumtypes.c:
10108           clean up documentation build a little
10109
10110 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10111
10112         * check/gstcheck.h:
10113           add macros for checking refcounts on objects and caps
10114         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10115           add some more unit tests
10116         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10117         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10118           fix leaked refcounts (I hope :)) so unittest works
10119         * gst/gstpad.h:
10120           whitespace removal
10121
10122 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10123
10124         * configure.ac: back to HEAD
10125
10126 === release 0.9.1 ===
10127
10128 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10129
10130         * NEWS:
10131         * RELEASE:
10132           updated
10133
10134 2005-06-17  Andy Wingo  <wingo@pobox.com>
10135
10136         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10137         assert; it's always possible that the pad gets deactivated in
10138         between the checks in gstpad.c and the implementation. Rely on
10139         finish_preroll() to return a FLUSHING or similar instead of on the
10140         assert.
10141         
10142         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10143         clock and post an EOS message if we come out of finish_preroll in
10144         the playing state.
10145
10146 2005-06-16  David Schleef  <ds@schleef.org>
10147
10148         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10149         (gst_capsfilter_set_property): Allow NULL as possible value
10150         for filter_caps property, indicating GST_CAPS_ANY.
10151
10152 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10153
10154         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10155           fix debug output
10156         * gst/schedulers/Makefile.am:
10157           use libgst prefix
10158         * gstreamer.spec.in:
10159           fix spec for it
10160
10161 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10162
10163         * gstreamer.spec.in:
10164           clean up
10165
10166 2005-06-08  Andy Wingo  <wingo@pobox.com>
10167
10168         * gst/gstutils.c: RPAD fixes all around.
10169         (gst_element_link_pads): Refcounting fixes.
10170
10171         * tools/gst-inspect.c:
10172         * tools/gst-xmlinspect.c:
10173         * parse/grammar.y:
10174         * gst/base/gsttypefindhelper.c:
10175         * gst/base/gstbasesink.c:
10176         * gst/gstqueue.c: RPAD fixes.
10177
10178         * gst/gstghostpad.h:
10179         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10180         pads. The tricky thing is they provide both source and sink
10181         interfaces, since they proxy the internal pad for the external
10182         pad, and vice versa. Implement with lower-level ProxyPad objects,
10183         with the interior proxy pad as a child of the exterior ghost pad.
10184         Should write a doc on this.
10185         
10186         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10187         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10188         gst_object API.
10189         
10190         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10191         pads are real pads. No ghost pads in this file. Not documenting
10192         the myriad s/RPAD/PAD/ and REALIZE fixes.
10193         (gst_pad_class_init): Add properties for "direction" and
10194         "template". Both are construct-only, so they can't change during
10195         the life of the pad. Fixes properly deriving from GstPad.
10196         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10197         derived objects, just set properties when creating the objects via
10198         g_object_new.
10199         (gst_pad_get_parent): Implement as a function, return NULL if the
10200         parent is not an element.
10201         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10202         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10203         
10204         * gst/gstobject.c (gst_object_class_init): Make name a construct
10205         property. Don't set it in the object init.
10206
10207         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10208         with UNKNOWN direction.
10209         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10210         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10211         (gst_element_remove_pad): Remove ghost-pad special cases.
10212         (gst_element_pads_activate): Remove rpad cruft.
10213
10214         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10215         catch the pad's-parent-not-an-element case.
10216
10217         * gst/gst.h: Include gstghostpad.h.
10218
10219         * gst/gst.c (init_post): No more real, ghost pads.
10220
10221         * gst/Makefile.am: Add gstghostpad.[ch].
10222
10223         * check/Makefile.am:
10224         * check/gst/gstbin.c:
10225         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10226         into a bin creates ghost pads, and that the refcounts are right.
10227         Partly moved from gstbin.c.
10228
10229 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10230
10231         * check/gst-libs/.cvsignore:
10232         * check/gst/.cvsignore:
10233         * check/pipelines/.cvsignore:
10234           ignore more
10235         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10236         (START_TEST), (cleanup_suite), (main):
10237           add some tests related to cleanup after running pipelines
10238
10239 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10240
10241         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10242           add a testsuite for GstBuffer
10243
10244 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10245
10246         * gst/gstminiobject.h:
10247           add defines for accessing the refcount
10248
10249 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10250
10251         * Makefile.am: added support for html unit test coverage reports
10252
10253 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10254
10255         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10256           Free existing caps if the capsfilter changes. Add a FIXME about
10257           setting those caps on the pads.
10258
10259         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10260           Before adding a ghost pad to a parent bin, check that there isn't
10261           already one for the element on the bin. Prevents infinite recursion
10262           when using decodebin in parse pipelines. Andy says he'll rewrite the
10263           way this works anyway, so ignore the hack.
10264
10265 2005-06-02  Andy Wingo  <wingo@pobox.com>
10266
10267         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10268         file size, pass it on to the type find helper.
10269
10270         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10271         segment_start and segment_end properly according to the seek
10272         method. Segment_end is still a bit flaky because offset can be
10273         negative for CUR and END cases, but it takes -1 as an "unset"
10274         value.
10275
10276 2005-06-02  Wim Taymans  <wim@fluendo.com>
10277
10278         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10279         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10280         (gst_basesink_activate):
10281         * gst/base/gstbasesink.h:
10282         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10283         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10284         (gst_pad_query), (gst_pad_start_task):
10285         * gst/gstpad.h:
10286         * gst/gstqueue.c: (gst_queue_bufferalloc),
10287         (gst_queue_handle_sink_event), (gst_queue_chain):
10288         Bufferalloc: return GstFlowReturn to more accuratly report
10289         why allocation failed.
10290
10291 2005-06-02  Wim Taymans  <wim@fluendo.com>
10292
10293         * gst/gstpipeline.c: (gst_pipeline_send_event):
10294         Take snapshot of state without blocking.
10295
10296 2005-06-02  Wim Taymans  <wim@fluendo.com>
10297
10298         * docs/design/part-TODO.txt:
10299         * docs/design/part-caps.txt:
10300         * docs/design/part-clocks.txt:
10301         * docs/design/part-negotiation.txt:
10302         * docs/design/part-preroll.txt:
10303         Small doc updates 
10304
10305 2005-05-30  Wim Taymans  <wim@fluendo.com>
10306
10307         * gst/elements/gstidentity.c: (gst_identity_event),
10308         (gst_identity_transform), (gst_identity_get_property):
10309         Protect last_message property as it is accessed from
10310         multiple threads.
10311
10312 2005-05-30  Wim Taymans  <wim@fluendo.com>
10313
10314         * gst/gstelement.c: (gst_element_init),
10315         (gst_element_pads_activate), (gst_element_change_state):
10316         Slicker pad activation code.
10317
10318 2005-05-30  Wim Taymans  <wim@fluendo.com>
10319
10320         * gst/Makefile.am:
10321         * gst/gstelement.h:
10322         * gst/gstelementfactory.h:
10323         * gst/gsttypes.h:
10324         Move elementfactory methods to separate .h file.
10325
10326 2005-05-30  Wim Taymans  <wim@fluendo.com>
10327
10328         * docs/design/part-overview.txt:
10329         * gst/gstsystemclock.h:
10330         Small typo fixes, doc updates.
10331
10332 2005-05-30  Wim Taymans  <wim@fluendo.com>
10333
10334         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10335         (init_popt_callback):
10336         Remove cpu-opt flag.
10337
10338 2005-05-30  Wim Taymans  <wim@fluendo.com>
10339
10340         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10341         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10342         * gst/gstbuffer.h:
10343         Avoid typechecking in places where not needed.
10344         Added accessor for malloc_data.
10345
10346 2005-05-30  Wim Taymans  <wim@fluendo.com>
10347
10348         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10349         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10350         (gst_pad_configure_sink), (gst_pad_configure_src),
10351         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10352         (gst_pad_start_task):
10353         Propagate errors from _set_caps() in configure_src/sink
10354         functions instead of returning TRUE.
10355         FLUSH events can travel up and downstream
10356
10357
10358 2005-05-30  Wim Taymans  <wim@fluendo.com>
10359
10360         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10361         (gst_basesink_activate):
10362         Handle EOS in preroll.
10363
10364 2005-05-30  Wim Taymans  <wim@fluendo.com>
10365
10366         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10367         (gst_queue_loop), (gst_queue_handle_src_event):
10368         Remove old pieces of code
10369         Flushing the queue in an upstream event is a very bad idea.
10370
10371 2005-05-26  Andy Wingo  <wingo@pobox.com>
10372
10373         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10374         gst_value_set_mini_object so as to add a ref on the object (which
10375         will be removed when the value is unset).
10376
10377         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10378         arg type in ::handoff.
10379
10380         * gst/gstelement.c (gst_element_change_state): Also deactivate
10381         pads in READY->NULL, just in case the element didn't make it to
10382         PAUSED. Wingo tested, Wim approved.
10383
10384 2005-05-26  Wim Taymans  <wim@fluendo.com>
10385
10386         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10387         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10388         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10389         A flushing pad cannot be used to alloc_buffer from.
10390
10391 2005-05-26  Wim Taymans  <wim@fluendo.com>
10392
10393         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10394         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10395         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10396         (gst_bus_create_watch), (gst_bus_add_watch_full):
10397         * gst/gstbus.h:
10398         Implement a real GSource and use g_main_context_wakeup() to
10399         signal new messages instead of the socketpair.
10400
10401 2005-05-25  Wim Taymans  <wim@fluendo.com>
10402
10403         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10404         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10405         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10406         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10407         (gst_pad_send_event), (gst_pad_start_task):
10408         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10409         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10410         (gst_queue_sink_activate), (gst_queue_src_activate),
10411         (gst_queue_change_state):
10412         * gst/gstqueue.h:
10413         Fix state changes for non sinks. We now change sinks, then elements
10414         with unconnected srcpads, then the rest.
10415         More efficient queue unlocking in flush and state changes.
10416         Set the pad activate mode even if it does not have an activate
10417         function.
10418
10419 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10420
10421         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10422           Don't go in pull mode for non-seekable sources.
10423         * gst/elements/gsttypefindelement.h:
10424         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10425         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10426         (free_entry), (stop_typefinding),
10427         (gst_type_find_element_handle_event), (find_peek),
10428         (gst_type_find_element_chain), (do_pull_typefind),
10429         (gst_type_find_element_change_state):
10430           Allow typefinding (w/o seeking) in push-mode, simplified version
10431           of what was in 0.8.
10432         * gst/gstutils.c: (gst_buffer_join):
10433         * gst/gstutils.h:
10434           gst_buffer_join() from 0.8.
10435
10436 2005-05-25  Wim Taymans  <wim@fluendo.com>
10437
10438         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10439         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10440         (gst_pad_send_event), (gst_pad_start_task):
10441         Disable attempt at mode switching until it is figured out.
10442
10443 2005-05-25  Wim Taymans  <wim@fluendo.com>
10444
10445         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10446         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10447         (gst_basesink_finish_preroll), (gst_basesink_chain),
10448         (gst_basesink_loop), (gst_basesink_activate),
10449         (gst_basesink_change_state):
10450         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10451         (gst_basesrc_get_range), (gst_basesrc_loop),
10452         (gst_basesrc_activate):
10453         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10454         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10455         (gst_real_pad_init), (gst_real_pad_set_property),
10456         (gst_real_pad_get_property), (gst_pad_set_active),
10457         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10458         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10459         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10460         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10461         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10462         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10463         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10464         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10465         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10466         (gst_pad_stop_task):
10467         * gst/gstpad.h:
10468         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10469         (gst_queue_loop), (gst_queue_src_activate):
10470         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10471         (gst_task_get_state):
10472         * gst/gsttask.h:
10473         * gst/schedulers/threadscheduler.c:
10474         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10475         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10476         in task function.
10477         Remove ACTIVE pad flag, use FLUSHING everywhere
10478         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10479         functions.
10480         Add locks around IS_FLUSHING when reading.
10481         Take STREAM lock in chain(), get_range() functions so plugins
10482         don't need to take it anymore.
10483         
10484
10485
10486 2005-05-25  Wim Taymans  <wim@fluendo.com>
10487
10488         * tools/gst-launch.c: (event_loop):
10489         Unref message after using its contents instead of
10490         before.
10491
10492 2005-05-24  Wim Taymans  <wim@fluendo.com>
10493
10494         * docs/design/draft-ghostpads.txt:
10495         * docs/design/draft-push-pull.txt:
10496         * docs/design/draft-query.txt:
10497         * docs/design/part-overview.txt:
10498         Docs updates, added general overview doc.
10499
10500 2005-05-21  David Schleef  <ds@schleef.org>
10501
10502         * docs/gst/tmpl/old/GstBin.sgml:
10503         * docs/gst/tmpl/old/GstBuffer.sgml:
10504         * docs/gst/tmpl/old/GstCaps.sgml:
10505         * docs/gst/tmpl/old/GstClock.sgml:
10506         * docs/gst/tmpl/old/GstCompat.sgml:
10507         * docs/gst/tmpl/old/GstData.sgml:
10508         * docs/gst/tmpl/old/GstElement.sgml:
10509         * docs/gst/tmpl/old/GstEvent.sgml:
10510         * docs/gst/tmpl/old/GstIndex.sgml:
10511         * docs/gst/tmpl/old/GstStructure.sgml:
10512         * docs/gst/tmpl/old/GstTag.sgml:
10513         * docs/gst/tmpl/old/cothreads.sgml:
10514         * docs/gst/tmpl/old/cothreads_compat.sgml:
10515         * docs/gst/tmpl/old/gettext.sgml:
10516         * docs/gst/tmpl/old/gobject2gtk.sgml:
10517         * docs/gst/tmpl/old/grammar.tab.sgml:
10518         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10519         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10520         * docs/gst/tmpl/old/gst_private.sgml:
10521         * docs/gst/tmpl/old/gstaggregator.sgml:
10522         * docs/gst/tmpl/old/gstarch.sgml:
10523         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10524         * docs/gst/tmpl/old/gstbufferstore.sgml:
10525         * docs/gst/tmpl/old/gstdata_private.sgml:
10526         * docs/gst/tmpl/old/gstdisksink.sgml:
10527         * docs/gst/tmpl/old/gstdisksrc.sgml:
10528         * docs/gst/tmpl/old/gstelementfactory.sgml:
10529         * docs/gst/tmpl/old/gstextratypes.sgml:
10530         * docs/gst/tmpl/old/gstfakesink.sgml:
10531         * docs/gst/tmpl/old/gstfakesrc.sgml:
10532         * docs/gst/tmpl/old/gstfdsink.sgml:
10533         * docs/gst/tmpl/old/gstfdsrc.sgml:
10534         * docs/gst/tmpl/old/gstfilesink.sgml:
10535         * docs/gst/tmpl/old/gstfilesrc.sgml:
10536         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10537         * docs/gst/tmpl/old/gstidentity.sgml:
10538         * docs/gst/tmpl/old/gstindexfactory.sgml:
10539         * docs/gst/tmpl/old/gstmarshal.sgml:
10540         * docs/gst/tmpl/old/gstmd5sink.sgml:
10541         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10542         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10543         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10544         * docs/gst/tmpl/old/gstpipefilter.sgml:
10545         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10546         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10547         * docs/gst/tmpl/old/gstshaper.sgml:
10548         * docs/gst/tmpl/old/gstspider.sgml:
10549         * docs/gst/tmpl/old/gstspideridentity.sgml:
10550         * docs/gst/tmpl/old/gststatistics.sgml:
10551         * docs/gst/tmpl/old/gsttee.sgml:
10552         * docs/gst/tmpl/old/gsttimecache.sgml:
10553         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10554         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10555         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10556         * docs/gst/tmpl/old/types.sgml:
10557           I didn't intend to add these or check them in.
10558
10559 2005-05-19  David Schleef  <ds@schleef.org>
10560
10561         * configure.ac: Use -no-common everywhere.  In a sane world, it
10562           would be the default in libtool, because without it, you can't
10563           build DLLs on Windows.
10564         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10565         * docs/gst/gstreamer-sections.txt:
10566         * docs/gst/tmpl/gstcpu.sgml:
10567         * docs/gst/tmpl/gstdata.sgml:
10568         * docs/gst/tmpl/gstthread.sgml:
10569
10570 2005-05-19  David Schleef  <ds@schleef.org>
10571
10572         * gst/gstminiobject.c: (gst_value_set_mini_object),
10573         (gst_value_take_mini_object), (gst_value_get_mini_object):
10574         * gst/gstminiobject.h: Add GValue set/get functions.
10575
10576 2005-05-19  Wim Taymans  <wim@fluendo.com>
10577
10578         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10579         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10580         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10581         * gst/gstbuffer.h:
10582         * gst/gstbus.c: (gst_bus_post):
10583         * gst/gstelement.c: (gst_element_get_random_pad):
10584         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10585         Make subbufer unref the parent in finalize.
10586         some more debugging info.
10587
10588
10589 2005-05-19  Wim Taymans  <wim@fluendo.com>
10590
10591         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10592         (gst_basesink_init), (gst_basesink_finalize),
10593         (gst_basesink_activate), (gst_basesink_change_state):
10594         Don't free preroll queue too early.
10595
10596 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10597
10598         * gst/Makefile.am:
10599         * gst/ROADMAP:
10600           Hi, I'm outdated. Please shoot me.
10601
10602 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10603
10604         * gst/gstpipeline.c: (gst_pipeline_send_event):
10605           Do not access variables after they have been deleted.
10606
10607 2005-05-19  Wim Taymans  <wim@fluendo.com>
10608
10609         * tools/gst-inspect.c: (print_plugin_features):
10610         A plugin feature does unfortunatly not use the
10611         object name yet...
10612
10613 2005-05-18  Wim Taymans  <wim@fluendo.com>
10614
10615         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10616         Port _span() functions to new subbuffers.
10617
10618 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10619
10620         * gst/gstbin.c: (gst_bin_add_func):
10621           Fix clock settery in bins when adding kids after the clock has
10622           been selected.
10623
10624 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10625
10626         * gst/elements/gstidentity.c: (gst_identity_class_init):
10627           Workaround until signals support GstMiniObject.
10628
10629 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10630
10631         * gst/gstbuffer.c:
10632         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10633
10634 2005-05-18  Wim Taymans  <wim@fluendo.com>
10635
10636         * gst/base/Makefile.am:
10637         * gst/base/gstadapter.c: (gst_adapter_base_init),
10638         (gst_adapter_class_init), (gst_adapter_init),
10639         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10640         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10641         (gst_adapter_flush), (gst_adapter_available),
10642         (gst_adapter_available_fast):
10643         * gst/base/gstadapter.h:
10644         Ported and added adapter to the base classes.
10645
10646 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10647
10648         * gst/gst.c:
10649         * gst/gstmessage.c:
10650           Make sure the class is reffed/unreffed once before threads can be
10651           used.  Fixes #304551.
10652
10653 2005-05-17  Wim Taymans  <wim@fluendo.com>
10654
10655         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10656         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10657         * gst/gstminiobject.c: (gst_mini_object_get_type),
10658         (gst_mini_object_free):
10659         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10660         (gst_pad_push), (gst_pad_push_event):
10661         * gst/gstqueue.c: (gst_queue_change_state):
10662         Don't queue buffers in basesink when we are flushing.
10663         Unref buffer when flushing in basesink.
10664         Flush queue when going to READY
10665         Unref buffer when _push() returns an error.
10666         Don't free MiniObject instance when refcount is incremented
10667         in _finalize() so that we can recover objects.
10668
10669 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10670
10671         * docs/manual/advanced-schedulers.xml:
10672         * docs/manual/appendix-checklist.xml:
10673         * docs/pwg/advanced-clock.xml:
10674         * docs/pwg/advanced-interfaces.xml:
10675         * docs/pwg/advanced-request.xml:
10676         * docs/pwg/advanced-types.xml:
10677         * docs/pwg/intro-preface.xml:
10678         * examples/plugins/example.c: (gst_example_get_type),
10679         (gst_example_class_init), (gst_example_chain),
10680         (gst_example_set_property), (gst_example_get_property),
10681         (gst_example_change_state), (plugin_init):
10682         * examples/plugins/example.h:
10683           small doc fixes
10684
10685 2005-05-17  Wim Taymans  <wim@fluendo.com>
10686
10687         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10688         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10689         * gst/gstqueue.c: (gst_queue_change_state):
10690         Clear queue when going to READY.
10691         Remove IN_SETCAPS flag too.
10692
10693 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10694
10695         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10696           Remove implicit cast from gboolean to GstElementStateReturn;
10697           make sure we still return failure in paused => ready case if
10698           the parent class fails to change state and our own stop 
10699           vfunc succeeds.
10700
10701 2005-05-17  Wim Taymans  <wim@fluendo.com>
10702
10703         * tools/gst-launch.c: (event_loop):
10704         Message was unreffed too soon.
10705
10706 2005-05-16  Andy Wingo  <wingo@pobox.com>
10707
10708         * gst/gstbin.c (sink_iterator_filter): Err... um...
10709
10710         * check/gst/gstbin.c (test_ghost_pads): New test for the
10711         ghosting-if-elements-not-in-same-bin behavior.
10712
10713 2005-05-16  David Schleef  <ds@schleef.org>
10714
10715         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10716         accessing refcount directly.
10717
10718 2005-05-15  David Schleef  <ds@schleef.org>
10719
10720         * check/Makefile.am: remove GstData checks
10721         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10722         * gst/Makefile.am: add miniobject, remove data
10723         * gst/gst.h: add miniobject, remove data
10724         * gst/gstdata.c: remove
10725         * gst/gstdata.h: remove
10726         * gst/gstdata_private.h: remove
10727         * gst/gsttypes.h: remove GstEvent and GstMessage
10728         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10729         * gst/gstmarshal.list: change BOXED -> OBJECT
10730
10731         Implement GstMiniObject.
10732         * gst/gstminiobject.c:
10733         * gst/gstminiobject.h:
10734
10735         Modify to be subclasses of GstMiniObject.
10736         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10737         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10738         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10739         (gst_subbuffer_get_type), (gst_subbuffer_init),
10740         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10741         (gst_buffer_span):
10742         * gst/gstbuffer.h:
10743         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10744         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10745         (_gst_event_copy), (gst_event_new):
10746         * gst/gstevent.h:
10747         * gst/gstmessage.c: (_gst_message_initialize),
10748         (gst_message_get_type), (gst_message_class_init),
10749         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10750         (gst_message_new), (gst_message_new_error),
10751         (gst_message_new_warning), (gst_message_new_tag),
10752         (gst_message_new_state_changed), (gst_message_new_application):
10753         * gst/gstmessage.h:
10754         * gst/gstprobe.c: (gst_probe_perform),
10755         (gst_probe_dispatcher_dispatch):
10756         * gst/gstprobe.h:
10757         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10758         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10759         (_gst_query_copy), (gst_query_new):
10760
10761         Update elements for GstData -> GstMiniObject changes
10762         * gst/gstquery.h:
10763         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10764         (gst_queue_chain), (gst_queue_loop):
10765         * gst/elements/gstbufferstore.c:
10766         (gst_buffer_store_add_buffer_func),
10767         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10768         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10769         (gst_fakesink_render):
10770         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10771         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10772         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10773         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10774         (gst_filesrc_create_read):
10775         * gst/elements/gstidentity.c: (gst_identity_class_init):
10776         * gst/elements/gsttypefindelement.c:
10777         (gst_type_find_element_src_event), (free_entry_buffers),
10778         (gst_type_find_element_handle_event):
10779         * libs/gst/dataprotocol/dataprotocol.c:
10780         (gst_dp_header_from_buffer):
10781         * libs/gst/dataprotocol/dataprotocol.h:
10782         * libs/gst/dataprotocol/dp-private.h:
10783
10784 2005-05-15  David Schleef  <ds@schleef.org>
10785
10786         * gst/elements/gstelements.c: Don't include headers that were
10787         just removed.
10788
10789 2005-05-15  David Schleef  <ds@schleef.org>
10790
10791         * gst/elements/Makefile.am: Remove some elements that don't
10792         need to be in the core (or even exist at all).
10793         * gst/elements/gstaggregator.c:
10794         * gst/elements/gstaggregator.h:
10795         * gst/elements/gstmd5sink.c:
10796         * gst/elements/gstmd5sink.h:
10797         * gst/elements/gstmultifilesrc.c:
10798         * gst/elements/gstmultifilesrc.h:
10799         * gst/elements/gstpipefilter.c:
10800         * gst/elements/gstpipefilter.h:
10801         * gst/elements/gstshaper.c:
10802         * gst/elements/gstshaper.h:
10803         * gst/elements/gststatistics.c:
10804         * gst/elements/gststatistics.h:
10805         * po/POTFILES.in: Remove above files.
10806
10807 2005-05-14  Andy Wingo  <wingo@pobox.com>
10808
10809         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10810         so as to get the refs right.
10811         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10812         unreffing objects that don't pass the filter.
10813
10814         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10815         gst_element_set_bus.
10816         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10817         normal cases, this will destroy the bus.
10818
10819         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10820         object.
10821
10822         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10823         has no sinks.
10824
10825 2005-05-13  Andy Wingo  <wingo@pobox.com>
10826
10827         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10828         gst_pad_link, call pad_link_maybe_ghosting,
10829         (pad_link_maybe_ghosting): Links pads, making sure that the
10830         elements being linked are in the same bin.
10831         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10832         Helpers for pad_link_maybe_ghosting.
10833
10834 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10835
10836         * configure.ac:
10837           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10838
10839 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10840
10841         * docs/design/part-element-source.txt:
10842           Mention GstPushSrc
10843
10844 2005-05-12  Wim Taymans  <wim@fluendo.com>
10845
10846         * gst/base/gstbasesink.c: (gst_basesink_init),
10847         (gst_basesink_activate):
10848         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10849         (gst_basesrc_is_seekable):
10850         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10851         (bin_element_is_sink), (gst_bin_change_state):
10852         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10853         * gst/gstelement.h:
10854         Identify sinks by their flag to avoid overly complicated
10855         checks (fow now).
10856         Do state changes even for elements not reachable from the
10857         sinks.
10858         BaseSink is a sink now :)
10859         Some more debugging info in the basesrc.
10860
10861
10862 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10863
10864         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10865           Implement _query on a bin, similar to _send_event.
10866
10867 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10868
10869         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10870           Discont event offset format should be GST_FORMAT_BYTES,
10871           not GST_FORMAT_TIME.
10872
10873 2005-05-12  Wim Taymans  <wim@fluendo.com>
10874
10875         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10876         Same fix as Ronald's but without the signal. 
10877
10878 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10879
10880         * gst/gstutils.c: (gst_element_query_position):
10881           No, an element is not a pad.
10882
10883 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10884
10885         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10886         (gst_bin_get_state):
10887           If a child is removed from a bin while we remove the child from
10888           the bin and while we're retrieving its state, signal this to the
10889           get_state function so we abort the wait (instead of waiting for
10890           a timeout) and can immediately re-iterate over all other elements.
10891
10892 2005-05-12  Wim Taymans  <wim@fluendo.com>
10893
10894         * gst/base/Makefile.am:
10895         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10896         (gst_basesrc_start):
10897         * gst/base/gstbasesrc.h:
10898         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10899         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10900         (gst_pushsrc_init), (gst_pushsrc_create):
10901         * gst/base/gstpushsrc.h:
10902         Added is_seekable to BaseSrc
10903         Added simple PushSrc.
10904
10905 2005-05-11  Wim Taymans  <wim@fluendo.com>
10906
10907         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10908         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10909         (gst_element_link_pads), (gst_element_query_position),
10910         (gst_element_query_convert), (intersect_caps_func),
10911         (gst_pad_query_position), (gst_pad_query_convert):
10912         Fix refcounting in utils function.
10913         No point in trying to activate a pad when it's added, it could
10914         be added from the state change function and then we deadlock, the
10915         element has to decide what to do.
10916
10917 2005-05-10  Andy Wingo  <wingo@pobox.com>
10918
10919         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10920         *all* the arguments.
10921
10922         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10923         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10924         lock (according to the docs -- if this is wrong change the docs).
10925
10926         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10927         flush messages in the NULL state.
10928
10929         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10930         message immediately and return.
10931         (gst_bus_set_flushing): New function. If a bus is flushing, it
10932         flushes out any queued messages and immediately unrefs new
10933         messages. This is so when an element goes to NULL, all of the
10934         unhandled messages coming from it can be freed, and their
10935         references to the element dropped. In other words: message source
10936         ref considered harmful :P
10937
10938         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10939         we're finished with it.
10940
10941         * gst/gstmessage.c (gst_message_new_state_changed): 
10942
10943 2005-05-10  Wim Taymans  <wim@fluendo.com>
10944
10945         * gst/gstvalue.c: (gst_value_compare_flags),
10946         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10947         (_gst_value_initialize):
10948         Added flags serialize/deserialize/compare code.
10949
10950 2005-05-09  Andy Wingo  <wingo@pobox.com>
10951
10952         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10953         Intersect the peer's caps with our caps.
10954
10955 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10956
10957         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10958         * gst/elements/gsttypefindelement.c: (find_peek):
10959           Handle negative offsets better. Fixes decodebin.
10960
10961 2005-05-09  Wim Taymans  <wim@fluendo.com>
10962
10963         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10964         (gst_base_transform_event):
10965         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10966         Implement accept_caps.
10967         Fix silly lock/unlock mismatch in base class.
10968
10969 2005-05-09  Wim Taymans  <wim@fluendo.com>
10970
10971         * docs/design/draft-push-pull.txt:
10972         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10973         * gst/elements/gstfilesink.c: (gst_filesink_init),
10974         (gst_filesink_query):
10975         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10976         (gst_type_find_handle_src_query), (find_element_get_length):
10977         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10978         * gst/gstelement.h:
10979         * gst/gstmessage.c:
10980         * gst/gstmessage.h:
10981         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10982         (gst_real_pad_get_caps_unlocked),
10983         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10984         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10985         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10986         (gst_real_pad_dispose), (gst_real_pad_finalize),
10987         (gst_pad_load_and_link), (gst_pad_save_thyself),
10988         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10989         (gst_pad_check_pull_range), (gst_pad_pull_range),
10990         (gst_pad_template_get_type), (gst_pad_template_class_init),
10991         (gst_pad_template_init), (gst_pad_template_dispose),
10992         (name_is_valid), (gst_static_pad_template_get),
10993         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10994         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10995         (gst_pad_get_element_private), (gst_pad_start_task),
10996         (gst_pad_pause_task), (gst_pad_stop_task),
10997         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10998         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10999         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11000         (gst_ghost_pad_new):
11001         * gst/gstpad.h:
11002         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11003         (gst_query_new_position), (gst_query_set_position),
11004         (gst_query_parse_position), (gst_query_new_convert),
11005         (gst_query_set_convert), (gst_query_parse_convert):
11006         * gst/gstquery.h:
11007         * gst/gstqueryutils.c:
11008         * gst/gstqueryutils.h:
11009         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11010         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11011         (gst_queue_handle_src_query):
11012         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11013         (gst_element_query_position), (gst_element_query_convert),
11014         (intersect_caps_func), (gst_pad_query_position),
11015         (gst_pad_query_convert):
11016         * gst/gstutils.h:
11017         * tools/gst-inspect.c: (print_pad_info):
11018         * tools/gst-xmlinspect.c: (print_element_info):
11019         Remove old query functions. Ported old code.
11020         Added position/convert helper functions to gstutils.
11021         Reordered gstpad.c code, grouping relevant things.
11022         Remove gst_message_new(), always need to speficy a specific
11023         message.
11024
11025
11026 2005-05-09  Andy Wingo  <wingo@pobox.com>
11027
11028         * gst/gstiterator.h: Add some includes.
11029
11030         * gst/gstqueryutils.h: Include more headers.
11031
11032         * gst/gstpad.h:
11033         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11034         some uses of gst_pad_query.
11035
11036         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11037         NULL out parameters.
11038         (gst_query_new_position): New proc, allocates a new position
11039         query.
11040
11041         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11042         gstqueryutils.c to the build.
11043
11044         * gst/gststructure.c (gst_structure_set_valist): Implement with
11045         the generic G_VALUE_COLLECT.
11046         
11047 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11048
11049         * gst/Makefile.am: (gst_headers):
11050         Added gstqueryutils.h to the list of headers to install, that was
11051         a 'nachty' move wingo :)
11052
11053 2005-05-06  Andy Wingo  <wingo@pobox.com>
11054
11055         * gst/gstquery.h
11056         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11057         GstData, init a memchunk.
11058         (standard_definitions): Add a few query types, deprecate a few.
11059         (gst_query_get_type): New proc.
11060         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11061         implementation.
11062         (gst_query_new_application, gst_query_get_structure): New public
11063         procs.
11064
11065         * docs/design/draft-query.txt: Removed LINKS from the query types,
11066         because all the rest can be dispatched to other pads -- seemed
11067         ugly to have a query that couldn't be dispatched. internal_links
11068         is fine as a pad method.
11069
11070         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11071         in gstpad.c, but maintain binary compatibility for the moment.
11072         Will fix before 0.9 is out.
11073
11074         * gst/gstqueryutils.c: 
11075         * gst/gstqueryutils.h: New files, implement 3 methods for each
11076         query type: parse_query, parse_response, and set. Probably need an
11077         allocator as well.
11078
11079         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11080
11081         * gst/elements/gstfilesink.c (gst_filesink_query2):
11082         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11083         query_types, and formats methods.
11084
11085         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11086         (gst_pad_set_query2_function): New functions.
11087         (gst_real_pad_init): Set query2_default as the default query2
11088         function. Basically just dispatches to internally linked pads.
11089
11090         Needs review!
11091         
11092         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11093         without using the atomic operations. Only one thread can possibly
11094         be accessing the data at this point. Changed so as to avoid
11095         gst_atomic operations.
11096
11097 2005-05-06  Wim Taymans  <wim@fluendo.com>
11098
11099         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11100         Also set caps if we use the fallback buffer alloc.
11101
11102 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11103
11104         * docs/gst/Makefile.am:
11105         * docs/gst/gstreamer-docs.sgml:
11106         * docs/gst/gstreamer-sections.txt:
11107         * docs/gst/tmpl/gstatomic.sgml:
11108         * docs/gst/tmpl/gstmemchunk.sgml:
11109         * testsuite/elements/struct_i386.h:
11110         * win32/GStreamer.vcproj:
11111         * win32/Makefile:
11112           Purge GstAtomic stuff from docs and win32 makefiles as well
11113
11114 2005-05-06  Wim Taymans  <wim@fluendo.com>
11115
11116         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11117         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11118         * gst/gstpad.c: (gst_pad_peer_get_caps):
11119         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11120         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11121         (gst_queue_src_activate), (gst_queue_change_state):
11122         * gst/gstqueue.h:
11123         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11124         (intersect_caps_func):
11125         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11126         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11127         Some fixes for the peer_get_caps() change.
11128
11129 2005-05-06  Wim Taymans  <wim@fluendo.com>
11130
11131         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11132         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11133         (gst_basesink_activate):
11134         Actually do something with error codes returned from the push
11135         functions.
11136
11137 2005-05-06  Wim Taymans  <wim@fluendo.com>
11138
11139         * docs/design/part-element-sink.txt:
11140         * docs/design/part-element-source.txt:
11141         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11142         (gst_basesink_event), (gst_basesink_activate):
11143         * gst/base/gstbasesink.h:
11144         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11145         (gst_basesrc_activate):
11146         * gst/base/gstbasesrc.h:
11147         * gst/gstelement.c: (gst_element_pads_activate):
11148         Some more documentation.
11149         Fixed scheduling decision in _pads_activate().
11150
11151 2005-05-05  Andy Wingo  <wingo@pobox.com>
11152
11153         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11154         the test suite.
11155
11156 2005-05-05  Wim Taymans  <wim@fluendo.com>
11157
11158         * gst/base/Makefile.am:
11159         * gst/base/gstbasesink.h:
11160         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11161         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11162         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11163         (gst_collectpads_class_init), (gst_collectpads_init),
11164         (gst_collectpads_finalize), (gst_collectpads_new),
11165         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11166         (find_pad), (gst_collectpads_remove_pad),
11167         (gst_collectpads_is_active), (gst_collectpads_collect),
11168         (gst_collectpads_collect_range), (gst_collectpads_start),
11169         (gst_collectpads_stop), (gst_collectpads_peek),
11170         (gst_collectpads_pop), (gst_collectpads_available),
11171         (gst_collectpads_read), (gst_collectpads_flush),
11172         (gst_collectpads_chain):
11173         * gst/base/gstcollectpads.h:
11174         * gst/elements/Makefile.am:
11175         * gst/elements/gstelements.c:
11176         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11177         (gst_fakesink_get_times), (gst_fakesink_event),
11178         (gst_fakesink_preroll), (gst_fakesink_render):
11179         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11180         (gst_filesink_init), (gst_filesink_set_location),
11181         (gst_filesink_open_file), (gst_filesink_close_file),
11182         (gst_filesink_pad_query), (gst_filesink_event),
11183         (gst_filesink_render), (gst_filesink_change_state):
11184         * gst/elements/gstfilesink.h:
11185         Added object to help in making collect pad based elements.
11186         Ported filesink.
11187         Make event function in sink baseclass return gboolean.
11188
11189 2005-05-05  Wim Taymans  <wim@fluendo.com>
11190
11191         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11192         (gst_bin_get_by_name):
11193         * gst/gstbuffer.h:
11194         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11195         (gst_clock_finalize):
11196         * gst/gstdata.c: (gst_data_replace):
11197         * gst/gstdata.h:
11198         * gst/gstelement.c: (gst_element_request_pad),
11199         (gst_element_pads_activate):
11200         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11201         (gst_object_unref):
11202         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11203         (gst_pad_set_checkgetrange_function),
11204         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11205         (gst_pad_check_pull_range), (gst_pad_pull_range),
11206         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11207         (gst_pad_pause_task), (gst_pad_stop_task):
11208         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11209         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11210         Fix name lookup in GstBin.
11211         Added _data_replace() function and _buffer_replace()
11212         Use finalize method to clean up clock.
11213         Fix refcounting on request pads.
11214         Fix pad schedule mode error.
11215         Some more object refcounting debug info,
11216
11217
11218 2005-05-04  Andy Wingo <wingo@pobox.com>
11219
11220         * check/Makefile.am:
11221         * docs/gst/tmpl/gstatomic.sgml:
11222         * docs/gst/tmpl/gstplugin.sgml:
11223         * gst/base/gstbasesink.c: (gst_basesink_activate):
11224         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11225         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11226         (gst_basesrc_query), (gst_basesrc_set_property),
11227         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11228         (gst_basesrc_activate):
11229         * gst/base/gstbasesrc.h:
11230         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11231         (gst_base_transform_src_activate):
11232         * gst/elements/gstelements.c:
11233         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11234         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11235         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11236         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11237         (gst_type_find_element_checkgetrange),
11238         (gst_type_find_element_activate):
11239         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11240         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11241         (gst_caps_load_thyself):
11242         * gst/gstelement.c: (gst_element_pads_activate),
11243         (gst_element_save_thyself), (gst_element_restore_thyself):
11244         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11245         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11246         * gst/gstpad.h:
11247         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11248         (gst_xml_parse_file), (gst_xml_parse_memory),
11249         (gst_xml_get_element), (gst_xml_make_element):
11250         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11251         (_file_index_id_save_xml), (gst_file_index_commit):
11252         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11253         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11254         (load_paths):
11255         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11256         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11257         * tools/gst-complete.c: (main):
11258         * tools/gst-compprep.c: (main):
11259         * tools/gst-inspect.c: (print_element_properties_info):
11260         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11261         * tools/gst-xmlinspect.c: (print_element_properties):
11262         GCC 4 fixen.
11263         
11264 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11265
11266         * gst/gstplugin.c: (gst_plugin_check_module),
11267         (gst_plugin_check_file), (gst_plugin_load_file):
11268             apply patch from #172526 to make register work on MacOSX
11269
11270 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11271
11272         * docs/gst/tmpl/gstconfig.sgml:
11273         * gst/gstconfig.h.in:
11274           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11275         * testsuite/debug/printf_extension.c: (main):
11276           Do not use GST_PTR_FORMAT on pointers to types with
11277           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11278         * testsuite/elements/property.h:
11279           use correct printf format
11280
11281 2005-05-02  Wim Taymans  <wim@fluendo.com>
11282
11283         * docs/design/draft-push-pull.txt:
11284         * docs/design/draft-query.txt:
11285         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11286         (gst_basesrc_start):
11287         Added draft for new query API.
11288         Added draft for better selecting scheduling methods.
11289         Make basesrc ignore length if the subclass does not support
11290         it.
11291
11292 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11293
11294         * gst/Makefile.am:
11295           possible fixes for automake-1.5 - _LIBADD is reserved
11296
11297 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11298
11299         * docs/faq/Makefile.am:
11300         * docs/manual/Makefile.am:
11301         * docs/manuals.mak:
11302         * docs/pwg/Makefile.am:
11303         * gst/Makefile.am:
11304           possible fixes for automake-1.5
11305
11306 2005-04-28  Wim Taymans  <wim@fluendo.com>
11307
11308         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11309         (gst_basesink_pad_getcaps), (gst_basesink_init),
11310         (gst_basesink_do_sync):
11311         * gst/gstclock.c: (gst_clock_entry_new):
11312         * gst/gstevent.c: (gst_event_discont_get_value):
11313         * gst/gstpipeline.c: (pipeline_bus_handler),
11314         (gst_pipeline_change_state):
11315         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11316         Better debugging of clocking info.
11317         Allow NULL values when getting discont values.
11318
11319 2005-04-27  Wim Taymans  <wim@fluendo.com>
11320
11321         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11322         * check/gst/gstpad.c: (gst_pad_suite):
11323         Increase timeout for checks.
11324
11325 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11326
11327         * check/Makefile.am:
11328           fix the broken rule for cleanup.  Apparently this rule is
11329           only needed on FC2, so maybe this warrants further autotool
11330           inspection.
11331
11332 2005-04-26  Wim Taymans  <wim@fluendo.com>
11333
11334         * gst/gsttrashstack.h:
11335         Ooohh. a nasty one! After having a failed pop() from the stack,
11336         it's possible that the stack is empty. In that case, don't
11337         follow the NULL pointer.
11338
11339 2005-04-25  Wim Taymans  <wim@fluendo.com>
11340
11341         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11342         (gst_pad_set_checkgetrange_function),
11343         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11344         (gst_pad_check_pull_range), (gst_pad_pull_range),
11345         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11346         (gst_pad_pause_task), (gst_pad_stop_task):
11347         * gst/gstplugin.c: (gst_plugin_load):
11348         * gst/gstplugin.h:
11349         Remove gst_library_load as it does more harm than good with
11350         the new g_module flags.
11351         Revert bogus caps template check in pad linking, pad caps
11352         are important when linking not the template, which is more
11353         general than the current caps.
11354
11355 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11356
11357         * gst/autoplug/.cvsignore:
11358         * gst/autoplug/Makefile.am:
11359         * gst/autoplug/gstsearchfuncs.c:
11360         * gst/autoplug/gstsearchfuncs.h:
11361         * gst/autoplug/gstspider.c:
11362         * gst/autoplug/gstspider.h:
11363         * gst/autoplug/gstspideridentity.c:
11364         * gst/autoplug/gstspideridentity.h:
11365         * gst/autoplug/spidertest.c:
11366           Die, spider, die.
11367
11368 2005-04-25  Wim Taymans  <wim@fluendo.com>
11369
11370         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11371         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11372         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11373         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11374         * gst/gstpad.h:
11375         Added stubs for unimplemented functions. 
11376
11377 2005-04-24  David Schleef  <ds@schleef.org>
11378
11379         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11380         please fix.
11381
11382 2005-04-24  David Schleef  <ds@schleef.org>
11383
11384         Convert everything from GstAtomicInt to g_atomic_int_*, and
11385         remove gstatomic.
11386         * gst/Makefile.am:
11387         * gst/gstatomic.c:
11388         * gst/gstatomic.h:
11389         * gst/gstatomic_impl.h:
11390         * gst/gstbuffer.c:
11391         * gst/gstcaps.c:
11392         * gst/gstcaps.h:
11393         * gst/gstclock.c:
11394         * gst/gstclock.h:
11395         * gst/gstdata.c:
11396         * gst/gstdata.h:
11397         * gst/gstdata_private.h:
11398         * gst/gstevent.c:
11399         * gst/gstinfo.c:
11400         * gst/gstinfo.h:
11401         * gst/gstmessage.c:
11402         * gst/gstobject.c:
11403         * gst/gstobject.h:
11404         * gst/gststructure.c:
11405         * gst/gststructure.h:
11406         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11407         * gst/gstutils.h:
11408
11409 2005-04-24  David Schleef  <ds@schleef.org>
11410
11411         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11412         make the regressions tests work.  Remove some code that is no
11413         longer true.
11414         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11415         Disable warning for pads without templates.
11416
11417 2005-04-24  David Schleef  <ds@schleef.org>
11418
11419         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11420         functions that handle filtered links.
11421         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11422         removed functions.
11423         * gst/gstutils.c: Fix/remove utility functions that handle
11424         filtered caps.
11425         * gst/gstutils.h:
11426         * gst/gstvalue.c: Add serialization/deserialization of caps
11427         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11428         requires fixing so that the filter caps notation creates
11429         a capsfilter element and sets the filter_caps property.  I
11430         think everyone probably wants to keep the shorthand notation.
11431         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11432         * docs/gst/tmpl/gstpad.sgml:
11433
11434         * gst/elements/gstelements.c: Register capsfilter element.
11435         * gst/Makefile.am: fix spacing
11436         * docs/random/ds/0.9-suggested-changes: random
11437
11438 2005-04-23  David Schleef  <ds@schleef.org>
11439
11440         * gst/elements/Makefile.am:
11441         * gst/elements/gstcapsfilter.c: New element that acts like an
11442         identity, but filters caps.  Will eventually replace filtered
11443         caps in pad linking.
11444         * gst/gstutils.c: (gst_element_create_all_pads): New function
11445         to create all the ALWAYS pads that are registered with an
11446         element class.  This functionality should eventually be
11447         merged in with GstElement initialization.
11448         * gst/gstutils.h:
11449         * testsuite/trigger/README: part of trigger test code that should
11450         have been checked in a long time ago.
11451
11452 2005-04-23  David Schleef  <ds@schleef.org>
11453
11454         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11455         needed with new versions of libtool (nobody will confirm this),
11456         and hard to carry around.
11457         * gst/autoplug/Makefile.am:
11458         * gst/base/Makefile.am:
11459         * gst/elements/Makefile.am:
11460         * gst/indexers/Makefile.am:
11461         * gst/schedulers/Makefile.am:
11462         * libs/gst/bytestream/Makefile.am:
11463         * libs/gst/control/Makefile.am:
11464         * libs/gst/dataprotocol/Makefile.am:
11465         * libs/gst/getbits/Makefile.am:
11466
11467 2005-04-21  Wim Taymans  <wim@fluendo.com>
11468
11469         * docs/design/draft-push-pull.txt:
11470         * docs/design/part-MT-refcounting.txt:
11471         * docs/design/part-TODO.txt:
11472         * docs/design/part-caps.txt:
11473         * docs/design/part-events.txt:
11474         * docs/design/part-gstbus.txt:
11475         * docs/design/part-gstpipeline.txt:
11476         * docs/design/part-messages.txt:
11477         * docs/design/part-push-pull.txt:
11478         * docs/design/part-query.txt:
11479         Some more docs.
11480
11481 2005-04-21  Wim Taymans  <wim@fluendo.com>
11482
11483         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11484         (gst_message_new), (gst_message_new_error),
11485         (gst_message_new_warning), (gst_message_new_tag),
11486         (gst_message_new_state_changed), (gst_message_new_application),
11487         (gst_message_get_structure):
11488         * gst/gstmessage.h:
11489         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11490         (gst_structure_copy_conditional):
11491         Use parent refcount in GstMessage to ensure GstStructure
11492         consistency.
11493         Cleaned up headers a bit.
11494         
11495
11496 2005-04-20  Wim Taymans  <wim@fluendo.com>
11497
11498         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11499         (gst_basesink_pad_getcaps), (gst_basesink_init),
11500         (gst_basesink_chain_unlocked):
11501         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11502         (gst_type_find_helper):
11503         * gst/elements/gsttypefindelement.c:
11504         (gst_type_find_element_have_type), (gst_type_find_element_init),
11505         (stop_typefinding), (gst_type_find_element_handle_event),
11506         (find_suggest), (gst_type_find_element_chain),
11507         (gst_type_find_element_checkgetrange),
11508         (gst_type_find_element_getrange), (do_typefind),
11509         (gst_type_find_element_activate):
11510         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11511         (gst_buffer_default_free), (gst_buffer_default_copy),
11512         (gst_buffer_set_caps):
11513         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11514         (gst_caps_replace):
11515         * gst/gstmessage.c: (gst_message_new),
11516         (gst_message_new_state_changed):
11517         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11518         (gst_pad_set_checkgetrange_function),
11519         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11520         (gst_pad_set_caps), (gst_pad_check_pull_range),
11521         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11522         * gst/gstpad.h:
11523         * gst/gsttypefind.c: (gst_type_find_register):
11524         Make gst_caps_replace() work like other _replace() functions.
11525         Use _caps_replace() where possible.
11526         Make sure _message_new() initialises its field.
11527         Add gst_static_pad_template_get_caps()
11528
11529
11530 2005-04-18  Andy Wingo  <wingo@pobox.com>
11531
11532         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11533         on the peer, not the pad. I think that was a typo. Pass an extra
11534         arg to see if random access is possible. Activate the pads as
11535         PULL_RANGE if possible.
11536
11537         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11538
11539         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11540         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11541         to PROP_....
11542
11543 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11544
11545         * docs/faq/using.xml:
11546           Add note on gstreamer-properties (#154996).
11547
11548 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11549
11550         * docs/random/bbb/optional-properties:
11551           Some analysis on optional properties.
11552
11553 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11554
11555         * docs/gst/tmpl/gstelementfactory.sgml:
11556         * gst/gstelement.h:
11557         * gst/gstelementfactory.c: (gst_element_factory_init),
11558         (gst_element_factory_cleanup), (gst_element_register),
11559         (__gst_element_factory_add_static_pad_template),
11560         (gst_element_factory_get_static_pad_templates),
11561         (gst_element_factory_can_src_caps),
11562         (gst_element_factory_can_sink_caps):
11563         * gst/registries/Makefile.am:
11564         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11565         (gst_xml_registry_class_init), (gst_xml_registry_init),
11566         (gst_xml_registry_new), (gst_xml_registry_set_property),
11567         (gst_xml_registry_get_property), (get_time), (make_dir),
11568         (gst_xml_registry_get_perms_func),
11569         (plugin_times_older_than_recurse), (plugin_times_older_than),
11570         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11571         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11572         (add_to_char_array), (read_string), (read_uint), (read_enum),
11573         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11574         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11575         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11576         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11577         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11578         (gst_xml_registry_rebuild):
11579         * gst/registries/gstlibxmlregistry.h:
11580         * tools/gst-compprep.c: (main):
11581         * tools/gst-inspect.c: (print_pad_templates_info):
11582         * tools/gst-xmlinspect.c: (print_element_info):
11583           Use libxml2 for registry parsing, use staticpadtemplates in
11584           elementfactories. Makes gst_init() +/- 10x faster.
11585
11586 2005-04-12  Wim Taymans  <wim@fluendo.com>
11587
11588         * gst/base/Makefile.am:
11589         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11590         (gst_basesink_pad_getcaps), (gst_basesink_init),
11591         (gst_basesink_event), (gst_basesink_change_state):
11592         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11593         (gst_basesrc_init), (gst_basesrc_query),
11594         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11595         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11596         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11597         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11598         (gst_basesrc_stop), (gst_basesrc_activate),
11599         (gst_basesrc_change_state):
11600         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11601         (helper_find_suggest), (gst_type_find_helper):
11602         * gst/base/gsttypefindhelper.h:
11603         * gst/elements/Makefile.am:
11604         * gst/elements/gstelements.c:
11605         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11606         (gst_fakesink_get_times), (gst_fakesink_event),
11607         (gst_fakesink_preroll), (gst_fakesink_render):
11608         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11609         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11610         (gst_fakesrc_get_property), (gst_fakesrc_create),
11611         (gst_fakesrc_start), (gst_fakesrc_stop):
11612         * gst/elements/gstfakesrc.h:
11613         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11614         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11615         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11616         (gst_filesrc_create_read), (gst_filesrc_create),
11617         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11618         (gst_filesrc_start):
11619         * gst/elements/gsttypefindelement.c:
11620         (gst_type_find_element_have_type), (gst_type_find_element_init),
11621         (start_typefinding), (stop_typefinding), (push_buffer_store),
11622         (gst_type_find_element_handle_event),
11623         (gst_type_find_element_chain),
11624         (gst_type_find_element_checkgetrange),
11625         (gst_type_find_element_getrange), (do_typefind),
11626         (gst_type_find_element_activate),
11627         (gst_type_find_element_change_state):
11628         * gst/elements/gsttypefindelement.h:
11629         * gst/gstpipeline.c: (pipeline_bus_handler):
11630         Added typefind helper.
11631         Small preroll fix in the base sink.
11632         Disable typefind code in basesrc.
11633         Crude port of typefindelement.
11634         Fakesrc cleanups.
11635
11636
11637 2005-04-11  Wim Taymans  <wim@fluendo.com>
11638
11639         * check/gst/gstbus.c: (gstbus_suite):
11640         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11641         * check/gstcheck.h:
11642           Fix up the timeout so that the test does not fail.
11643
11644 2005-04-06  Wim Taymans  <wim@fluendo.com>
11645
11646         * gst/base/README:
11647         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11648         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11649         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11650         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11651         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11652         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11653         (gst_basesrc_stop), (gst_basesrc_activate),
11654         (gst_basesrc_change_state), (basesrc_find_peek),
11655         (basesrc_find_suggest), (gst_basesrc_type_find):
11656         * gst/base/gstbasesrc.h:
11657         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11658         (gst_filesrc_class_init), (gst_filesrc_init),
11659         (gst_filesrc_finalize), (gst_filesrc_set_location),
11660         (gst_filesrc_set_property), (gst_filesrc_get_property),
11661         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11662         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11663         (gst_filesrc_create_read), (gst_filesrc_create),
11664         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11665         * gst/elements/gstfilesrc.h:
11666         * gst/gstelement.c: (gst_element_get_state_func),
11667         (gst_element_lost_state), (gst_element_pads_activate):
11668         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11669         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11670         (gst_pad_pull_range):
11671         * gst/gstpad.h:
11672         More work on the generic source base class, implement seeking,
11673         query.
11674         Make filesrc extend the base source class.
11675         Added gst_pad_set_checkgetrange_function to GstPad.
11676
11677 2005-04-06  Andy Wingo  <wingo@pobox.com>
11678
11679         * pkgconfig/gstreamer-base.pc.in:
11680         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11681
11682         * pkgconfig/Makefile.am:
11683         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11684
11685 2005-04-04  Wim Taymans  <wim@fluendo.com>
11686
11687         * gst/base/Makefile.am:
11688         * gst/base/README:
11689         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11690         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11691         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11692         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11693         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11694         (gst_basesrc_base_init), (gst_basesrc_class_init),
11695         (gst_basesrc_init), (gst_basesrc_get_formats),
11696         (gst_basesrc_get_query_types), (gst_basesrc_query),
11697         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11698         (gst_basesrc_set_property), (gst_basesrc_get_property),
11699         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11700         (gst_basesrc_loop), (gst_basesrc_activate),
11701         (gst_basesrc_change_state):
11702         * gst/base/gstbasesrc.h:
11703         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11704         (gst_fakesrc_class_init), (gst_fakesrc_init),
11705         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11706         (gst_fakesrc_get_property), (gst_fakesrc_create):
11707         * gst/elements/gstfakesrc.h:
11708         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11709         (gst_filesrc_open_file), (gst_filesrc_loop),
11710         (gst_filesrc_activate), (filesrc_find_peek),
11711         (gst_filesrc_type_find):
11712         Made base source class, make fakesrc extend it.
11713         Add comments to basesink class.
11714         Some filesrc cleanup.
11715
11716 2005-03-31  David Schleef  <ds@schleef.org>
11717
11718         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11719         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11720         expected to link against libgstreamer.
11721         * gst/base/Makefile.am: link against libgstreamer
11722         * gst/elements/Makefile.am: same
11723
11724 2005-03-31  Andy Wingo  <wingo@pobox.com>
11725
11726         * tests/instantiate/Makefile.am:
11727         * tests/instantiate/caps.c: Add test to test speed of caps copy
11728         and free.
11729
11730         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11731         GMemChunk to be fair.
11732
11733         * gst/gsttrashstack.h: Remove warning about using the fallback
11734         trash stack implementation, it's still faster than malloc.
11735
11736 2005-03-30  Andy Wingo  <wingo@pobox.com>
11737
11738         * tests/complexity.c: Add a copyright.
11739
11740 2005-03-31  Wim Taymans  <wim@fluendo.com>
11741
11742         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11743         (gst_base_transform_class_init), (gst_base_transform_init),
11744         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11745         (gst_base_transform_get_property),
11746         (gst_base_transform_sink_activate),
11747         (gst_base_transform_src_activate),
11748         (gst_base_transform_change_state):
11749         * gst/base/gstbasetransform.h:
11750         * gst/elements/gstidentity.c: (gst_identity_class_init),
11751         (gst_identity_event), (gst_identity_check_perfect),
11752         (gst_identity_transform), (gst_identity_start),
11753         (gst_identity_stop):
11754         Added start/stop methods to transform base class so subclasses 
11755         don't need to deal with state changes even.
11756
11757 2005-03-31  Wim Taymans  <wim@fluendo.com>
11758
11759         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11760         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11761         * gst/gstevent.h:
11762         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11763         (gst_pad_pull_range):
11764         Added rate to the discont event to prepare for variable speed
11765         and reverse playback.
11766
11767 2005-03-29  David Schleef  <ds@schleef.org>
11768
11769         * configure.ac:
11770         * testsuite/trigger/Makefile.am:
11771         * testsuite/trigger/trigger.c: A little example program to show
11772         how trigger-based elements can work.
11773
11774 2005-03-29  Wim Taymans  <wim@fluendo.com>
11775
11776         * gst/base/Makefile.am:
11777         * gst/base/README:
11778         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11779         (gst_basesink_base_init), (gst_basesink_class_init),
11780         (gst_basesink_pad_getcaps), (gst_basesink_init),
11781         (gst_basesink_activate), (gst_basesink_change_state):
11782         * gst/base/gstbasesink.h:
11783         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11784         (gst_base_transform_base_init), (gst_base_transform_finalize),
11785         (gst_base_transform_class_init), (gst_base_transform_init),
11786         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11787         (gst_base_transform_event), (gst_base_transform_getrange),
11788         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11789         (gst_base_transform_set_property),
11790         (gst_base_transform_get_property),
11791         (gst_base_transform_sink_activate),
11792         (gst_base_transform_src_activate),
11793         (gst_base_transform_change_state):
11794         * gst/base/gstbasetransform.h:
11795         * gst/elements/gstidentity.c: (gst_identity_finalize),
11796         (gst_identity_class_init), (gst_identity_init),
11797         (gst_identity_event), (gst_identity_check_perfect),
11798         (gst_identity_transform), (gst_identity_set_property),
11799         (gst_identity_get_property), (gst_identity_change_state):
11800         * gst/elements/gstidentity.h:
11801         * gst/gstelement.c: (gst_element_get_state_func),
11802         (gst_element_lost_state), (gst_element_pads_activate):
11803         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11804         (gst_pad_check_pull_range), (gst_pad_pull_range):
11805         * gst/gstpad.h:
11806         Simplify pad activation.
11807         Added function to check if pull_range can be performed.
11808         Error out when pulling inactive or flushing pads.
11809         Removed const from refcounted types as it does not make sense.
11810         Simplify pad templates in basesink
11811         Added base class for simple 1-to-1 transforms.
11812         Make identity subclass the base transform.
11813
11814 2005-03-29  Andy Wingo  <wingo@pobox.com>
11815
11816         * docs/libs/gstreamer-libs-overrides.txt: 
11817         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11818         really don't understand what's going on, but like whatever. I want
11819         green buildbot!
11820
11821         * docs/gst/Makefile.am:
11822         * docs/libs/Makefile.am: Dist the overrides files.
11823
11824         * check/Makefile.am (clean-local): Remove .libs directories.
11825
11826         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11827         elements to EXTRA_DIST, so po/ files are happy.
11828
11829         * po/POTFILES.in: Er, remove it here.
11830
11831         * po/POTFILES: Remove gstspider.c.
11832
11833         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11834
11835         * docs/libs/gstreamer-libs-docs.sgml: 
11836         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11837         bytestream.
11838
11839         * tests/complexity.c (main): Set the length of the preroll queue
11840         on the sinks to prevent a lockup.
11841
11842         * libs/gst/dataprotocol/Makefile.am: 
11843         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11844         the same as the one in check/gst-libs/gdp.c.
11845
11846         * po/, docs/gst/: Commit automatic changes to docs and po files.
11847
11848         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11849         the versioned libgstbase.
11850
11851         * check/Makefile.am: Depend on an unversioned gst-register, seems
11852         to make autoconf happier.
11853
11854         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11855
11856 2005-03-28  Wim Taymans  <wim@fluendo.com>
11857
11858         * configure.ac:
11859         * docs/design/part-gstelement.txt:
11860         * docs/design/part-negotiation.txt:
11861         * docs/design/part-preroll.txt:
11862         * docs/design/part-scheduling.txt:
11863         * docs/design/part-states.txt:
11864         * gst/Makefile.am:
11865         * gst/base/Makefile.am:
11866         * gst/base/README:
11867         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11868         (gst_basesink_base_init), (gst_basesink_class_init),
11869         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11870         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11871         (gst_basesink_set_pad_functions),
11872         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11873         (gst_basesink_set_property), (gst_basesink_get_property),
11874         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11875         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11876         (gst_basesink_preroll_queue_push),
11877         (gst_basesink_preroll_queue_empty),
11878         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11879         (gst_basesink_event), (gst_basesink_get_times),
11880         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11881         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11882         (gst_basesink_loop), (gst_basesink_activate),
11883         (gst_basesink_change_state):
11884         * gst/base/gstbasesink.h:
11885         * gst/elements/Makefile.am:
11886         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11887         (gst_fakesink_class_init), (gst_fakesink_init),
11888         (gst_fakesink_set_property), (gst_fakesink_get_property),
11889         (gst_fakesink_get_times), (gst_fakesink_event),
11890         (gst_fakesink_preroll), (gst_fakesink_render),
11891         (gst_fakesink_change_state):
11892         * gst/elements/gstfakesink.h:
11893         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11894         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11895         * gst/gstelement.c: (gst_element_add_pad),
11896         (gst_element_get_state_func), (gst_element_abort_state),
11897         (gst_element_commit_state), (gst_element_lost_state),
11898         (gst_element_set_state), (gst_element_pads_activate):
11899         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11900         * gst/gstpipeline.c: (gst_pipeline_send_event),
11901         (gst_pipeline_change_state):
11902         Added state change code.
11903         Added/updated docs.
11904         Added sink base class, make fakesink extend the base class.
11905         Small cleanups in GstPipeline.
11906
11907 2005-03-26  David Schleef  <ds@schleef.org>
11908
11909         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11910         is broken and should be implemented in a different library.
11911         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11912         * gst/gst.h: remove gstcpu.h
11913         * gst/gstcpu.c: remove
11914         * gst/gstcpu.h: remove
11915         * gst/Makefile.am.future: Remove this file.  It's ancient.
11916
11917 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11918
11919         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11920         (gst_bin_send_event):
11921           Add default event/set_manager handlers. The set_manager handler
11922           takes care that the manager is distributed over kids that were
11923           already in the bin before the manager was set. The event handler
11924           is a utility virtual function that sends the event over all sinks,
11925           so that gst_element_send_event (bin, event); has the expected
11926           behaviour.
11927         * gst/gstpad.c: (gst_pad_event_default):
11928           Re-install default event handling for discontinuities, so that
11929           seeking works without requiring hacks in applications or extra
11930           code in sinks.
11931         * gst/gstpipeline.c: (gst_pipeline_class_init),
11932         (gst_pipeline_send_event):
11933           Half hack, half utility: set a pipeline to PAUSED for seek events,
11934           since that is the only way we can guarantee a/v sync. Means that
11935           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11936           and it "just works".
11937
11938 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11939
11940         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11941           Lock/unlock mismatch.
11942
11943 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11944
11945         * docs/faq/gst-uninstalled:
11946           add gst-plugins-base
11947         * docs/gst/Makefile.am:
11948           don't error out until docs are fixed
11949         * docs/gst/gstreamer.types:
11950           remove thread
11951
11952 2005-03-22  Wim Taymans  <wim@fluendo.com>
11953
11954         * check/Makefile.am:
11955         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11956         * gst/gststructure.c: (gst_structure_set_valist),
11957         (gst_structure_copy_conditional):
11958         Activated more tests.
11959         Added message test.
11960         Added G_TYPE_POINTER to GstStructure.
11961         
11962
11963 2005-03-22  Wim Taymans  <wim@fluendo.com>
11964
11965         * docs/design/part-TODO.txt:
11966         * docs/design/part-events.txt:
11967         * docs/design/part-gstbin.txt:
11968         * docs/design/part-gstbus.txt:
11969         * docs/design/part-gstpipeline.txt:
11970         * docs/design/part-messages.txt:
11971         * gst/gstbus.c:
11972         * gst/gstmessage.c:
11973         Docs updates
11974
11975 2005-03-21  Wim Taymans  <wim@fluendo.com>
11976
11977         * gst/gstbus.c: (gst_bus_post):
11978         Fix copy-and-paste error.
11979
11980 2005-03-21  Wim Taymans  <wim@fluendo.com>
11981
11982         * check/Makefile.am:
11983         * gst/Makefile.am:
11984         * gst/elements/Makefile.am:
11985         * gst/elements/gstelements.c:
11986         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11987         (gst_fakesink_event), (gst_fakesink_chain):
11988         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11989         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11990         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11991         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11992         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11993         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11994         (gst_fakesrc_loop), (gst_fakesrc_activate),
11995         (gst_fakesrc_change_state):
11996         * gst/elements/gstfakesrc.h:
11997         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11998         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11999         (gst_filesrc_open_file), (gst_filesrc_loop),
12000         (gst_filesrc_activate), (gst_filesrc_change_state),
12001         (filesrc_find_peek), (filesrc_find_suggest),
12002         (gst_filesrc_type_find):
12003         * gst/elements/gstidentity.c: (gst_identity_finalize),
12004         (gst_identity_class_init), (gst_identity_init),
12005         (gst_identity_proxy_getcaps), (identity_queue_push),
12006         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12007         (gst_identity_getrange), (gst_identity_chain),
12008         (gst_identity_sink_loop), (gst_identity_src_loop),
12009         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12010         (gst_identity_set_property), (gst_identity_get_property),
12011         (gst_identity_change_state):
12012         * gst/elements/gstidentity.h:
12013         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12014         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12015         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12016         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12017         (gst_tee_sink_activate):
12018         * gst/elements/gsttee.h:
12019         * gst/gst.c: (gst_register_core_elements), (init_post):
12020         * gst/gst.h:
12021         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12022         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12023         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12024         (gst_bin_change_state):
12025         * gst/gstbin.h:
12026         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12027         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12028         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12029         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12030         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12031         (bus_watch_callback), (bus_watch_destroy),
12032         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12033         (poll_timeout), (gst_bus_poll):
12034         * gst/gstbus.h:
12035         * gst/gstcaps.h:
12036         * gst/gstdata.h:
12037         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12038         (gst_element_post_message), (gst_element_message_full),
12039         (gst_element_get_state_func), (gst_element_get_state),
12040         (gst_element_abort_state), (gst_element_commit_state),
12041         (gst_element_lost_state), (gst_element_set_state),
12042         (gst_element_pads_activate), (gst_element_change_state),
12043         (gst_element_dispose), (gst_element_set_manager_func),
12044         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12045         (gst_element_set_manager), (gst_element_get_manager),
12046         (gst_element_set_bus), (gst_element_get_bus),
12047         (gst_element_set_scheduler), (gst_element_get_scheduler):
12048         * gst/gstelement.h:
12049         * gst/gstevent.c: (gst_event_new_segment_seek),
12050         (gst_event_new_flush):
12051         * gst/gstevent.h:
12052         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12053         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12054         (gst_message_new_eos), (gst_message_new_error),
12055         (gst_message_new_warning), (gst_message_new_tag),
12056         (gst_message_new_state_changed), (gst_message_new_application),
12057         (gst_message_get_structure), (gst_message_parse_tag),
12058         (gst_message_parse_state_changed), (gst_message_parse_error),
12059         (gst_message_parse_warning):
12060         * gst/gstmessage.h:
12061         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12062         (gst_real_pad_set_property), (gst_pad_set_active),
12063         (gst_pad_is_active), (gst_pad_set_blocked_async),
12064         (gst_pad_set_blocked), (gst_pad_is_blocked),
12065         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12066         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12067         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12068         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12069         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12070         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12071         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12072         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12073         (gst_pad_set_caps), (gst_pad_configure_sink),
12074         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12075         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12076         (gst_real_pad_dispose), (gst_real_pad_finalize),
12077         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12078         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12079         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12080         * gst/gstpad.h:
12081         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12082         (pipeline_bus_handler), (gst_pipeline_change_state),
12083         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12084         * gst/gstpipeline.h:
12085         * gst/gstprobe.h:
12086         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12087         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12088         (gst_queue_link_src), (gst_queue_bufferalloc),
12089         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12090         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12091         (gst_queue_loop), (gst_queue_handle_src_event),
12092         (gst_queue_handle_src_query), (gst_queue_src_activate),
12093         (gst_queue_change_state):
12094         * gst/gstqueue.h:
12095         * gst/gstscheduler.c: (gst_scheduler_init),
12096         (gst_scheduler_dispose), (gst_scheduler_create_task),
12097         (gst_scheduler_factory_create):
12098         * gst/gstscheduler.h:
12099         * gst/gststructure.c: (gst_structure_get_type),
12100         (gst_structure_copy_conditional):
12101         * gst/gststructure.h:
12102         * gst/gsttaginterface.h:
12103         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12104         (gst_task_init), (gst_task_dispose), (gst_task_create),
12105         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12106         (gst_task_pause):
12107         * gst/gsttask.h:
12108         * gst/gstthread.c:
12109         * gst/gstthread.h:
12110         * gst/gsttypes.h:
12111         * gst/schedulers/Makefile.am:
12112         * gst/schedulers/cothreads_compat.h:
12113         * gst/schedulers/entryscheduler.c:
12114         * gst/schedulers/faircothreads.c:
12115         * gst/schedulers/faircothreads.h:
12116         * gst/schedulers/fairscheduler.c:
12117         * gst/schedulers/gstbasicscheduler.c:
12118         * gst/schedulers/gstoptimalscheduler.c:
12119         * gst/schedulers/gthread-cothreads.h:
12120         * gst/schedulers/threadscheduler.c:
12121         (gst_thread_scheduler_task_get_type),
12122         (gst_thread_scheduler_task_class_init),
12123         (gst_thread_scheduler_task_init),
12124         (gst_thread_scheduler_task_start),
12125         (gst_thread_scheduler_task_stop),
12126         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12127         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12128         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12129         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12130         (plugin_init):
12131         * libs/gst/Makefile.am:
12132         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12133         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12134         (gst_file_pad_parent_set):
12135         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12136         (gst_dp_event_from_packet):
12137         * tests/complexity.c: (main):
12138         * tests/mass_elements.c: (main):
12139         * testsuite/states/locked.c: (message_received), (main):
12140         * testsuite/states/parent.c: (main):
12141         * tools/gst-inspect.c: (print_element_flag_info),
12142         (print_implementation_info), (print_pad_info):
12143         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12144         (main):
12145         * tools/gst-md5sum.c: (event_loop), (main):
12146         * tools/gst-typefind.c: (main):
12147         * tools/gst-xmlinspect.c: (print_element_info):
12148         Next big merge.
12149         Added GstBus for mainloop integration.
12150         Added GstMessage for sending notifications on the bus.
12151         Added GstTask as an abstraction for pipeline entry points.
12152         Removed GstThread.
12153         Removed Schedulers.
12154         Simplified GstQueue for multithreaded core.
12155         Made _link threadsafe, removed old capsnego.
12156         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12157         Added pad blocking functions.
12158         Reworked scheduling functions in GstPad to prepare for
12159         scheduling updates soon.
12160         Moved events out of data stream.
12161         Simplified GstEvent types.
12162         Added return values to push/pull.
12163         Removed clocking from GstElement.
12164         Added prototypes for state change function for next merge.
12165         Removed iterate from bins and state change management.
12166         Fixed some elements, disabled others for now.
12167         Fixed -inspect and -launch.
12168         Added check for GstBus.
12169
12170 2005-03-10  Wim Taymans  <wim@fluendo.com>
12171
12172         * docs/design/part-MT-refcounting.txt:
12173         * docs/design/part-clocks.txt:
12174         * docs/design/part-gstelement.txt:
12175         * docs/design/part-gstobject.txt:
12176         * docs/design/part-standards.txt:
12177         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12178         (gst_bin_remove_func), (gst_bin_remove):
12179         * gst/gstbin.h:
12180         * gst/gstbuffer.c:
12181         * gst/gstcaps.h:
12182         * testsuite/clock/clock1.c: (main):
12183         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12184         (main):
12185         * testsuite/dlopen/loadgst.c: (do_test):
12186         * testsuite/refcounting/bin.c: (add_remove_test1),
12187         (add_remove_test2), (main):
12188         * testsuite/refcounting/element.c: (main):
12189         * testsuite/refcounting/element_pad.c: (main):
12190         * testsuite/refcounting/pad.c: (main):
12191         * tools/gst-launch.c: (sigint_handler_sighandler):
12192         * tools/gst-typefind.c: (main):
12193         Doc updates.
12194         Added doc about clock.
12195         removed gst_bin_iterate_recurse_up(), marked methods
12196         for removal.
12197         Fix more testsuites.
12198
12199 2005-03-09  Wim Taymans  <wim@fluendo.com>
12200
12201         * gst/gstpad.c: (gst_pad_get_direction),
12202         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12203         (gst_pad_collect_valist):
12204         * testsuite/bins/interface.c: (main):
12205         * testsuite/caps/audioscale.c: (test_caps):
12206         * testsuite/caps/caps.c: (test1), (test2), (test3):
12207         * testsuite/caps/deserialize.c: (main):
12208         * testsuite/caps/enumcaps.c: (main):
12209         * testsuite/caps/filtercaps.c: (main):
12210         * testsuite/caps/intersect2.c: (main):
12211         * testsuite/caps/random.c: (main):
12212         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12213         * testsuite/caps/sets.c: (check_caps):
12214         * testsuite/caps/simplify.c: (check_caps), (main):
12215         * testsuite/caps/subtract.c: (check_caps):
12216         Fix _pad_get_direction wrt ghostpads.
12217         Fix caps testsuite.
12218
12219 2005-03-09  Wim Taymans  <wim@fluendo.com>
12220
12221         * check/Makefile.am:
12222         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12223         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12224         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12225         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12226         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12227         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12228         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12229         (bin_element_is_sink), (gst_bin_iterate_sinks),
12230         (gst_bin_iterate_all_by_interface):
12231         * gst/gstbin.h:
12232         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12233         (gst_element_change_state), (gst_element_dispose),
12234         (gst_element_finalize), (gst_element_set_loop_function):
12235         * gst/gstelement.h:
12236         * gst/gstiterator.c: (find_custom_fold_func):
12237         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12238         (gst_pad_collectv), (gst_pad_collect_valist),
12239         (gst_pad_template_new):
12240         * gst/gstpipeline.c: (gst_pipeline_class_init),
12241         (gst_pipeline_dispose), (gst_pipeline_set_property),
12242         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12243         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12244         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12245         * gst/gstutils.h:
12246         * gst/schedulers/entryscheduler.c:
12247         * gst/schedulers/gstbasicscheduler.c:
12248         (gst_basic_scheduler_cothreaded_chain),
12249         (gst_basic_scheduler_chain_add_element):
12250         * testsuite/bins/interface.c: (main):
12251         Added GstBin test.
12252         Added GstSystemClock test.
12253         Implemented clock distribution code in GstBin.
12254         Implemented iterate sinks method for future use.
12255         Rearranged gstelement.h
12256         Fix GstIterator comparison bug.
12257         Moved some code to GstPipeline, mostly clocking related.
12258
12259 2005-03-09  Wim Taymans  <wim@fluendo.com>
12260
12261         * configure.ac:
12262         * gst/gst_private.h:
12263         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12264         (gst_bin_remove_func), (gst_bin_remove),
12265         (gst_bin_get_by_name_recurse_up):
12266         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12267         (gst_clock_id_compare_func), (gst_clock_id_wait),
12268         (gst_clock_id_wait_async), (gst_clock_init),
12269         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12270         * gst/gstelement.h:
12271         * gst/gstinfo.c: (_gst_debug_init):
12272         * gst/gstobject.h:
12273         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12274         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12275         * gst/gstpad.h:
12276         Bump version number, we're now 0.9.0
12277         Add future debugging category.
12278         Fix NULL _unref() in _get_by_name_recurse_up
12279         Rearrange gstpad.h.
12280         Update some docs.
12281
12282 2005-03-08  Wim Taymans  <wim@fluendo.com>
12283
12284         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12285         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12286         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12287         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12288         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12289         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12290         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12291         * gst/elements/gstidentity.c: (gst_identity_class_init):
12292         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12293         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12294         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12295         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12296         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12297         (gst_tee_link):
12298         * gst/gstelement.c: (gst_element_class_init),
12299         (gst_element_base_class_init), (gst_element_init),
12300         (gst_element_get_random_pad), (gst_element_wait_state_change),
12301         (gst_element_change_state), (gst_element_dispose),
12302         (gst_element_finalize), (gst_element_set_loop_function):
12303         * gst/gstelement.h:
12304         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12305         * gst/gstthread.c: (gst_thread_class_init),
12306         (gst_thread_release_children_locks), (gst_thread_change_state):
12307         * gst/schedulers/gstbasicscheduler.c:
12308         (gst_basic_scheduler_loopfunc_wrapper),
12309         (gst_basic_scheduler_chain_wrapper),
12310         (gst_basic_scheduler_src_wrapper),
12311         (gst_basic_scheduler_remove_element):
12312         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12313         Remove threadsafe properties. Fix elements because GObject
12314         complains when installing a property before declaring a
12315         set/get_property handler.
12316         Rearrange gstelement.h file, use STATE macros for state locks.
12317         Free mutexes in the finalize method instead of dispose.
12318
12319 2005-03-08  Wim Taymans  <wim@fluendo.com>
12320
12321         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12322         * gst/gstthread.c: (gst_thread_release_children_locks):
12323         Added parentage check.
12324         Fix build og GstThread again.
12325
12326 2005-03-08  Wim Taymans  <wim@fluendo.com>
12327
12328         * docs/design/part-MT-refcounting.txt:
12329         * docs/design/part-conventions.txt:
12330         * docs/design/part-gstobject.txt:
12331         * docs/design/part-relations.txt:
12332         * docs/design/part-standards.txt:
12333         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12334         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12335         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12336         (gst_bin_iterate_all_by_interface):
12337         * gst/gstbuffer.h:
12338         * gst/gstclock.h:
12339         * gst/gstelement.c: (gst_element_class_init),
12340         (gst_element_change_state), (gst_element_set_loop_function):
12341         * gst/gstelement.h:
12342         * gst/gstiterator.c:
12343         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12344         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12345         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12346         (gst_object_set_parent), (gst_object_unparent),
12347         (gst_object_check_uniqueness):
12348         * gst/gstobject.h:
12349         Docs updates, clean up some headers.
12350
12351 2005-03-07  Wim Taymans  <wim@fluendo.com>
12352
12353         * check/.cvsignore:
12354         * check/Makefile.am:
12355         * check/gst-libs/.cvsignore:
12356         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12357         * check/gst/.cvsignore:
12358         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12359         (START_TEST), (gstbus_suite), (main):
12360         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12361         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12362         (gst_data_suite), (main):
12363         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12364         (add_fold_func), (gstiterator_suite), (main):
12365         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12366         (thread_name_object), (thread_name_object_default),
12367         (gst_object_name_compare), (gst_object_suite), (main):
12368         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12369         (gst_pad_suite), (main):
12370         * check/gstcheck.c: (gst_check_log_message_func),
12371         (gst_check_log_critical_func), (gst_check_init):
12372         * check/gstcheck.h:
12373         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12374         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12375         Added checks.
12376
12377 2005-03-07  Wim Taymans  <wim@fluendo.com>
12378
12379         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12380         (gst_list_iterator_next), (gst_list_iterator_resync),
12381         (gst_list_iterator_free), (gst_iterator_new_list),
12382         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12383         (gst_iterator_free), (gst_iterator_push), (filter_next),
12384         (filter_resync), (filter_uninit), (filter_free),
12385         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12386         (gst_iterator_foreach), (find_custom_fold_func),
12387         (gst_iterator_find_custom):
12388         * gst/gstiterator.h:
12389         Added missing files.
12390
12391 2005-03-07  Wim Taymans  <wim@fluendo.com>
12392
12393         * Makefile.am:
12394         * configure.ac:
12395         * docs/design/part-MT-refcounting.txt:
12396         * docs/design/part-conventions.txt:
12397         * docs/design/part-gstobject.txt:
12398         * docs/design/part-relations.txt:
12399         * examples/mixer/mixer.c: (main):
12400         * examples/thread/thread.c: (eos), (main):
12401         * gst/Makefile.am:
12402         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12403         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12404         (gst_spider_plug_from_srcpad):
12405         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12406         (gst_spider_identity_change_state),
12407         (gst_spider_identity_sink_loop_type_finding):
12408         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12409         * gst/elements/gstidentity.c: (gst_identity_init):
12410         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12411         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12412         * gst/elements/gsttypefindelement.c: (free_entry):
12413         * gst/gst.c:
12414         * gst/gst.h:
12415         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12416         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12417         (gst_bin_set_index), (gst_bin_set_element_sched),
12418         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12419         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12420         (gst_bin_iterate_elements), (iterate_child_recurse),
12421         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12422         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12423         (compare_interface), (gst_bin_get_by_interface),
12424         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12425         * gst/gstbin.h:
12426         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12427         (gst_buffer_default_free), (gst_buffer_default_copy),
12428         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12429         (gst_buffer_create_sub):
12430         * gst/gstbuffer.h:
12431         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12432         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12433         (gst_caps_unref), (gst_static_caps_get),
12434         (gst_caps_remove_and_get_structure), (gst_caps_append),
12435         (gst_caps_append_structure), (gst_caps_remove_structure),
12436         (gst_caps_copy_nth), (gst_caps_set_simple),
12437         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12438         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12439         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12440         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12441         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12442         (gst_caps_structure_figure_out_union),
12443         (gst_caps_switch_structures), (gst_caps_do_simplify),
12444         (gst_caps_replace), (gst_caps_from_string),
12445         (gst_caps_copy_conditional):
12446         * gst/gstcaps.h:
12447         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12448         (_gst_clock_id_free), (gst_clock_id_unref),
12449         (gst_clock_id_compare_func), (gst_clock_id_wait),
12450         (gst_clock_id_wait_async), (gst_clock_class_init),
12451         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12452         (gst_clock_get_time), (gst_clock_set_time_adjust),
12453         (gst_clock_set_property), (gst_clock_get_property):
12454         * gst/gstclock.h:
12455         * gst/gstcompat.h:
12456         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12457         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12458         * gst/gstdata.h:
12459         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12460         (gst_element_requires_clock), (gst_element_provides_clock),
12461         (gst_element_set_clock), (gst_element_clock_wait),
12462         (gst_element_wait), (gst_element_set_time_delay),
12463         (gst_element_is_indexable), (gst_element_add_pad),
12464         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12465         (pad_compare_name), (gst_element_get_static_pad),
12466         (gst_element_request_pad), (gst_element_get_request_pad),
12467         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12468         (gst_element_class_get_pad_template_list),
12469         (gst_element_class_get_pad_template), (gst_element_error_func),
12470         (gst_element_get_random_pad), (gst_element_get_event_masks),
12471         (gst_element_send_event), (gst_element_seek),
12472         (gst_element_get_query_types), (gst_element_query),
12473         (gst_element_get_formats), (gst_element_convert),
12474         (gst_element_is_locked_state), (gst_element_set_locked_state),
12475         (gst_element_sync_state_with_parent), (gst_element_change_state),
12476         (gst_element_finalize), (gst_element_yield),
12477         (gst_element_interrupt), (gst_element_set_scheduler),
12478         (gst_element_get_scheduler), (gst_element_set_loop_function):
12479         * gst/gstelement.h:
12480         * gst/gstevent.h:
12481         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12482         (gst_format_get_by_nick), (gst_format_get_details),
12483         (gst_format_iterate_definitions):
12484         * gst/gstformat.h:
12485         * gst/gstindex.c: (gst_index_gtype_resolver):
12486         * gst/gstinfo.c:
12487         * gst/gstinfo.h:
12488         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12489         (gst_mem_chunk_free):
12490         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12491         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12492         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12493         (gst_object_dispatch_properties_changed),
12494         (gst_object_set_name_default), (gst_object_set_name),
12495         (gst_object_get_name), (gst_object_set_name_prefix),
12496         (gst_object_get_name_prefix), (gst_object_set_parent),
12497         (gst_object_get_parent), (gst_object_unparent),
12498         (gst_object_check_uniqueness), (gst_object_save_thyself),
12499         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12500         (gst_object_set_property), (gst_object_get_property),
12501         (gst_object_get_path_string):
12502         * gst/gstobject.h:
12503         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12504         (gst_real_pad_init), (gst_real_pad_get_property),
12505         (gst_pad_custom_new), (gst_pad_get_direction),
12506         (gst_pad_set_active), (gst_pad_is_active),
12507         (gst_pad_set_event_function), (gst_pad_is_linked),
12508         (gst_pad_link_free), (gst_pad_link_intersect),
12509         (gst_pad_link_fixate), (gst_pad_set_caps),
12510         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12511         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12512         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12513         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12514         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12515         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12516         (gst_pad_realize), (gst_pad_get_allowed_caps),
12517         (gst_real_pad_dispose), (gst_real_pad_finalize),
12518         (gst_pad_collectv), (gst_pad_collect_valist),
12519         (gst_pad_template_dispose), (gst_pad_template_new),
12520         (gst_pad_get_internal_links):
12521         * gst/gstpad.h:
12522         * gst/gstpipeline.c: (gst_pipeline_dispose),
12523         (gst_pipeline_change_state):
12524         * gst/gstpipeline.h:
12525         * gst/gstplugin.c:
12526         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12527         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12528         * gst/gstpluginfeature.h:
12529         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12530         * gst/gstquery.c: (_gst_query_type_initialize),
12531         (gst_query_type_register), (gst_query_type_get_by_nick),
12532         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12533         * gst/gstquery.h:
12534         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12535         * gst/gstscheduler.c: (gst_scheduler_add_element),
12536         (gst_scheduler_factory_create):
12537         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12538         (gst_structure_free), (gst_structure_set_name),
12539         (gst_structure_id_set_value), (gst_structure_set_value),
12540         (gst_structure_set_valist), (gst_structure_remove_field),
12541         (gst_structure_remove_fields),
12542         (gst_structure_remove_fields_valist),
12543         (gst_structure_remove_all_fields), (gst_structure_foreach),
12544         (gst_structure_map_in_place),
12545         (gst_caps_structure_fixate_field_nearest_int),
12546         (gst_caps_structure_fixate_field_nearest_double):
12547         * gst/gststructure.h:
12548         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12549         (gst_system_clock_init), (gst_system_clock_dispose),
12550         (gst_system_clock_async_thread),
12551         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12552         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12553         * gst/gstsystemclock.h:
12554         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12555         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12556         * gst/gsttaginterface.c:
12557         * gst/gstthread.c: (gst_thread_dispose),
12558         (gst_thread_release_children_locks), (gst_thread_change_state),
12559         (gst_thread_main_loop):
12560         * gst/gsttrashstack.h:
12561         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12562         * gst/gsttypes.h:
12563         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12564         (gst_element_request_pad), (gst_element_get_pad_from_template),
12565         (gst_element_request_compatible_pad),
12566         (gst_element_get_compatible_pad_filtered),
12567         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12568         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12569         (gst_element_link_many), (gst_element_link),
12570         (gst_element_link_pads), (gst_element_unlink_pads),
12571         (gst_element_unlink_many), (gst_element_unlink),
12572         (gst_pad_can_link_filtered), (gst_pad_can_link),
12573         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12574         (gst_object_default_error), (gst_bin_add_many),
12575         (gst_bin_remove_many), (gst_element_populate_std_props),
12576         (gst_element_class_install_std_props), (gst_buffer_merge),
12577         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12578         (link_fold_func), (gst_pad_proxy_setcaps):
12579         * gst/gstutils.h:
12580         * gst/gstvalue.c: (gst_value_deserialize_string):
12581         * gst/parse/grammar.y:
12582         * gst/schedulers/gstbasicscheduler.c:
12583         (gst_basic_scheduler_cothreaded_chain),
12584         (gst_basic_scheduler_chain_recursive_add),
12585         (gst_basic_scheduler_pad_link):
12586         * gst/schedulers/gstoptimalscheduler.c:
12587         (get_group_schedule_function),
12588         (gst_opt_scheduler_state_transition),
12589         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12590         * libs/gst/bytestream/bytestream.c:
12591         * libs/gst/dataprotocol/dataprotocol.c:
12592         (gst_dp_header_from_buffer):
12593         * po/nb.po:
12594         * po/ru.po:
12595         * tests/threadstate/threadstate2.c: (eos):
12596         * tools/gst-compprep.c: (main):
12597         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12598         (print_pad_info), (print_children_info):
12599         * tools/gst-launch.c: (idle_func), (main):
12600         * tools/gst-md5sum.c: (idle_func), (main):
12601         * tools/gst-xmlinspect.c: (print_element_info):
12602         First THREADED backport attempt, focusing on adding locks and
12603         making sure the API is threadsafe. Needs more work. More docs
12604         follow this week.
12605
12606 2005-02-24  Andy Wingo  <wingo@pobox.com>
12607
12608         * tests/bench-complexity.scm:
12609         * tests/complexity.gnuplot: New files, good for running complexity
12610         benchmarks.
12611
12612         * tests/Makefile.am:
12613         * tests/complexity.c: New test, sets up N elements, at each level
12614         teeing into M streams per element. Eeeenteresting.
12615
12616         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12617         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12618         running bench-mass_elements.scm.
12619
12620         * tests/bench-mass_elements.scm: New script, runs mass_elements
12621         for various numbers of identities, outputting the results to a
12622         file. Requires guile 1.6. Just for testing.
12623
12624 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12625
12626         * gst/schedulers/fairscheduler.c:
12627           compile with debug disabled
12628
12629 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12630
12631         * configure.ac:
12632           hunting season on 0.9 is now OPEN