docs/gst/gstreamer-sections.txt: remove double entries from the docs
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * docs/gst/gstreamer-sections.txt:
4           remove double entries from the docs
5         * gst/gst_private.h:
6         * gst/gstinfo.c: (_gst_debug_init):
7           remove the THREAD debug category
8         * gst/Makefile.am:
9         * gst/gstqueue.c:
10         * gst/gstqueue.h:
11         * docs/gst/gstreamer.types:
12         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14           completely move queue and fix up debugging categories
15
16 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17
18         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19           make initialization portable, using LL is not
20
21 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
22
23         * win32/common/gstconfig.h:
24           add large padding
25
26 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
27
28         * win32/common/libgstreamer.def:
29           rename symbols; sort base section
30
31 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
32
33         * gst/gstclock.c: (do_linear_regression):
34           remove crack non-portable handrolled DEBUG macro
35
36 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
37
38         * docs/random/release:
39           update notes
40         * win32/common/gstenumtypes.c: (register_gst_object_flags),
41         (gst_object_flags_get_type), (register_gst_bin_flags),
42         (gst_bin_flags_get_type), (register_gst_buffer_flag),
43         (gst_buffer_flag_get_type), (register_gst_bus_flags),
44         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
45         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
46         (gst_caps_flags_get_type), (register_gst_clock_return),
47         (gst_clock_return_get_type), (register_gst_clock_entry_type),
48         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
49         (gst_clock_flags_get_type), (register_gst_state),
50         (gst_state_get_type), (register_gst_state_change_return),
51         (gst_state_change_return_get_type), (register_gst_state_change),
52         (gst_state_change_get_type), (register_gst_element_flags),
53         (gst_element_flags_get_type), (register_gst_core_error),
54         (gst_core_error_get_type), (register_gst_library_error),
55         (gst_library_error_get_type), (register_gst_resource_error),
56         (gst_resource_error_get_type), (register_gst_stream_error),
57         (gst_stream_error_get_type), (register_gst_event_type_flags),
58         (gst_event_type_flags_get_type), (register_gst_event_type),
59         (gst_event_type_get_type), (register_gst_seek_type),
60         (gst_seek_type_get_type), (register_gst_seek_flags),
61         (gst_seek_flags_get_type), (register_gst_format),
62         (gst_format_get_type), (register_gst_index_certainty),
63         (gst_index_certainty_get_type), (register_gst_index_entry_type),
64         (gst_index_entry_type_get_type),
65         (register_gst_index_lookup_method),
66         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
67         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
68         (gst_index_resolver_method_get_type), (register_gst_index_flags),
69         (gst_index_flags_get_type), (register_gst_debug_level),
70         (gst_debug_level_get_type), (register_gst_debug_color_flags),
71         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
72         (gst_iterator_result_get_type), (register_gst_iterator_item),
73         (gst_iterator_item_get_type), (register_gst_message_type),
74         (gst_message_type_get_type), (register_gst_mini_object_flags),
75         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
76         (gst_pad_link_return_get_type), (register_gst_flow_return),
77         (gst_flow_return_get_type), (register_gst_activate_mode),
78         (gst_activate_mode_get_type), (register_gst_pad_direction),
79         (gst_pad_direction_get_type), (register_gst_pad_flags),
80         (gst_pad_flags_get_type), (register_gst_pad_presence),
81         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
82         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
83         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
84         (gst_plugin_error_get_type), (register_gst_plugin_flags),
85         (gst_plugin_flags_get_type), (register_gst_rank),
86         (gst_rank_get_type), (register_gst_query_type),
87         (gst_query_type_get_type), (register_gst_tag_merge_mode),
88         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
89         (gst_tag_flag_get_type), (register_gst_task_state),
90         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
91         (gst_alloc_trace_flags_get_type),
92         (register_gst_type_find_probability),
93         (gst_type_find_probability_get_type), (register_gst_uri_type),
94         (gst_uri_type_get_type), (register_gst_parse_error),
95         (gst_parse_error_get_type):
96         * win32/common/gstenumtypes.h:
97         * win32/common/gstversion.h:
98           update visual studio generated files
99
100 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
101
102         * win32/vs6/libgstbase.dsp:
103         * win32/vs6/libgstelements.dsp:
104           update project files for new locations
105
106 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
107
108         * Makefile.am:
109           remove some files
110         * README:
111           reinstate and update
112         * DEVEL:
113         * REQUIREMENTS:
114           removed
115         * LICENSE:
116         * docs/random/LICENSE:
117           moved to random
118
119 2005-11-30  Edward Hervey  <edward@fluendo.com>
120
121         * gst/gsttypefind.c: (gst_type_find_register):
122         * gst/gsttypefind.h:
123         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
124         (gst_type_find_factory_dispose):
125         * gst/gsttypefindfactory.h:
126         Fix memory leak in GstTypeFindFactory.
127
128 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
129
130         * gst/gst.c:
131         * plugins/elements/Makefile.am:
132         * plugins/elements/gstelements.c:
133         * plugins/elements/gstqueue.c:
134           move queue from core to the elements plugin
135
136 2005-11-29  Andy Wingo  <wingo@pobox.com>
137
138         * libs/gst/base/gstbasetransform.h: 
139         * libs/gst/base/gstbasesrc.h: 
140         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
141
142         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
143         of pointers by which to pad very extensible base classes (like the
144         ones in libs/gst/base).
145
146 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
147
148         * docs/gst/gstreamer-docs.sgml:
149         * docs/gst/gstreamer-sections.txt:
150         * docs/libs/gstreamer-libs-docs.sgml:
151         * docs/libs/gstreamer-libs-sections.txt:
152           moving documentation from core to lib
153
154 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
155
156         * check/Makefile.am:
157         * configure.ac:
158         * docs/gst/Makefile.am:
159         * gst/Makefile.am:
160         * gst/base/.cvsignore:
161         * gst/base/Makefile.am:
162         * gst/base/README:
163         * gst/base/gstadapter.c:
164         * gst/base/gstadapter.h:
165         * gst/base/gstbasesink.c:
166         * gst/base/gstbasesink.h:
167         * gst/base/gstbasesrc.c:
168         * gst/base/gstbasesrc.h:
169         * gst/base/gstbasetransform.c:
170         * gst/base/gstbasetransform.h:
171         * gst/base/gstcollectpads.c:
172         * gst/base/gstcollectpads.h:
173         * gst/base/gstpushsrc.c:
174         * gst/base/gstpushsrc.h:
175         * gst/base/gsttypefindhelper.c:
176         * gst/base/gsttypefindhelper.h:
177         * gst/check/Makefile.am:
178         * gst/check/gstcheck.c:
179         * gst/check/gstcheck.h:
180         * gst/net/Makefile.am:
181         * gst/net/gstnet.h:
182         * gst/net/gstnetclientclock.c:
183         * gst/net/gstnetclientclock.h:
184         * gst/net/gstnettimepacket.c:
185         * gst/net/gstnettimepacket.h:
186         * gst/net/gstnettimeprovider.c:
187         * gst/net/gstnettimeprovider.h:
188         * libs/gst/Makefile.am:
189         * libs/gst/base/Makefile.am:
190         * libs/gst/base/gstbasetransform.c:
191         * libs/gst/check/Makefile.am:
192         * plugins/elements/Makefile.am:
193         * po/POTFILES.in:
194           CVS surgery + support to move base, check, and net out of gst
195           and into libs/gst
196
197 2005-11-29  Andy Wingo  <wingo@pobox.com>
198
199         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
200
201         * gst/gststructure.h (struct _GstStructure): Only one pointer of
202         padding.
203
204         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
205
206         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
207
208         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
209
210         * gst/gstobject.h: (struct _GstObject): Only one pointer of
211         padding; reduces object size by about 30%. We don't expect
212         anything else to go into gstobject.
213
214         * gst/gstminiobject.h (struct _GstMiniObject)
215         (struct _GstMiniObjectClass): Only one pointer of padding; the
216         payload is only a pointer and two ints anyway. For the class there
217         are only two methods as well.
218         
219         * gst/gstelement.h (struct _GstElementClass): Removed
220         the state_changed signal callback, it is not used.
221
222 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
223
224         * docs/gst/gstreamer.types:
225           fix includes, though they are a little dinky
226
227 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
228
229         * check/Makefile.am:
230           look in the right place for elements, a lot more chance of
231           success
232         * gst/Makefile.am:
233           remove indexers and elements subdirs
234         * plugins/Makefile.am:
235           make indexers conditional
236
237 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
238
239         * Makefile.am:
240         * configure.ac:
241         * plugins/elements/Makefile.am:
242         * plugins/elements/gstcapsfilter.c:
243         * plugins/elements/gstfilesink.c:
244         * plugins/elements/gstfilesrc.c:
245         * plugins/elements/gstidentity.c:
246         * plugins/indexers/Makefile.am:
247           do CVS surgery and related build fixery to move elements
248           and indexers in a new gstreamer/plugins directory, out of the
249           gst/ directory
250
251 2005-11-29  Andy Wingo  <wingo@pobox.com>
252
253         * check/Makefile.am:
254         * pkgconfig/gstreamer-net-uninstalled.pc.in:
255         * pkgconfig/gstreamer-net.pc.in:
256         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
257         #322257.
258
259 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
260
261         * tools/Makefile.am:
262         * tools/gst-complete.1.in:
263         * tools/gst-complete.c:
264         * tools/gst-compprep.1.in:
265         * tools/gst-compprep.c:
266           removing -compprep and -complete
267
268 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
269
270         * gst/gstevent.c: (gst_event_new_new_segment),
271         (gst_event_parse_new_segment):
272         * gst/gstevent.h:
273           fix #320529 - clean up new_segment API and structure.
274           Let's hope everyone was using the methods, and not the structure.
275
276 2005-11-29  Edward Hervey  <edward@fluendo.com>
277
278         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
279         (gst_base_sink_event), (gst_base_sink_do_sync),
280         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
281         Properly handle non GST_FORMAT_TIME segment
282         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
283         Properly handle non GST_FORMAT_TIME segment
284         * gst/gstsegment.c:
285         This function is valid if the accumulator is 0 and the format
286         is different from the requested format.
287         
288 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
289
290         * docs/gst/gstreamer-sections.txt:
291         Add gst_query_new_seeking and gst_query_parse_seeking to the
292         docs.
293
294 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
295
296         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
297           Treat a pad alloc with new caps the same as if we were not
298           negotiated, in order to allow a changing upstream output
299           to produce a new format of data.
300
301 2005-11-29  Edward Hervey  <edward@fluendo.com>
302
303         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
304         (gst_base_transform_event), (gst_base_transform_eventfunc):
305         The event virtual method is now properly implemented, with a default
306         handler
307         Sub classes should call the parent_class event method. They should
308         return FALSE if they had a problem handling the given event, or don't
309         want GstBaseTransform to send that even downstream
310         * gst/elements/gstidentity.c: (gst_identity_class_init),
311         (gst_identity_init), (gst_identity_event),
312         (gst_identity_transform_ip), (gst_identity_set_property),
313         (gst_identity_get_property):
314         * gst/elements/gstidentity.h:
315         Added the single-segment boolean property.
316         If set to TRUE, it will output a single segment of data, starting from
317         0, will eat up all incoming newsegment, and modify the timestamp of the
318         buffers accordingly
319
320 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
321
322         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
323           Don't ref NULL target pad (#322751). Improve docs.
324
325 2005-11-29  Michael Smith  <msmith@fluendo.com>
326
327         * gst/gstregistryxml.c: (load_plugin):
328           Don't crash if we failed to load a feature from a plugin. 
329
330 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
331
332         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
333         (GST_START_TEST):
334           use more check API and less GLib API
335
336 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
337
338         * Makefile.am:
339           don't run checks if we don't have check
340         * common/check.mak:
341           remove the registry when running make torture
342         * docs/gst/gstreamer-sections.txt:
343           remove second multiply
344         * gst/gstqueue.c: (gst_queue_loop):
345           fix a compile warning when disabling debug
346
347 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
348
349         * gst/gstinfo.h:
350         Hey! Let's print the pad name if the pointer != NULL instead
351         of when it == NULL :-)
352
353 2005-11-28  Wim Taymans  <wim@fluendo.com>
354
355         * check/gst/gstutils.c: (GST_START_TEST):
356         Updated check, add some scaling accuracy checking code.
357
358         * gst/gstutils.c: (gst_util_div128_64),
359         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
360         (gst_util_uint64_scale_int):
361         Fix 6 times faster division code. Optimize for common 
362         1/1 and less common X/1 cases.
363
364 2005-11-28  Wim Taymans  <wim@fluendo.com>
365
366         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
367         More checks.
368
369         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
370         (do_linear_regression), (gst_clock_add_observation):
371         Cleanups.
372         Release lock when the clock cannot be slaved.
373         Catch the case where the regression returned an invalid denominator.
374
375         * gst/gstutils.c: (gst_util_div128_64_iterate),
376         (gst_util_div128_64), (gst_util_uint64_scale_int64),
377         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
378         Add protentially more performant non-iterative 128/64 divide function
379         that unfortunatly does not work yet.
380         Shortcut the trivial 0/X = 0 case.
381         Remove the warnings on overflow.
382
383 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
384
385         * gst/gstplugin.c: (gst_plugin_register_func):
386           everything causing a plugin not to load should be at least a WARNING
387
388 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
389
390         * docs/random/ensonic/dparams.txt:
391           some TODOs for the next dev cycle
392         * libs/gst/controller/gstcontroller.c:
393         (gst_controlled_property_set_interpolation_mode),
394         (gst_controlled_property_new):
395         * libs/gst/controller/gstcontroller.h:
396           use base type to assign acccessor functions
397
398 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
399
400         * check/Makefile.am:
401         Oops, that should have been top_srcdir
402
403 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
404
405         * check/Makefile.am:
406         * check/elements/fdsrc.c: (GST_START_TEST):
407         Use a cmdline define to specify the location of a file to use for
408         testing, to avoid breaking distcheck.
409
410 2005-11-28  Andy Wingo  <wingo@pobox.com>
411
412         * gst/gstpad.c (fixate_value): Use array functions for arrays.
413
414 2005-11-28  Edward Hervey  <edward@fluendo.com>
415
416         * tools/gst-launch.c: (main):
417         Clarify the output strings, makes it easier to translate.
418         Fixes #322626
419
420 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
421
422         * gst/Makefile.am:
423           don't try and build net if we don't even have <sys/socket.h>
424
425 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
426
427         * check/Makefile.am:
428         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
429         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
430           Add tests for fdsrc seekability
431
432         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
433         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
434         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
435         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
436         * gst/elements/gstfdsrc.h:
437           fdsrc should not be a 'live' source.
438           Implement seeking on seekable fd's.
439
440         * gst/gstquery.c: (gst_query_new_seeking),
441         (gst_query_parse_seeking):
442         * gst/gstquery.h:
443           Implement SEEKING query functions: 
444             *_new_seeking and *_parse_seeking
445
446 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
447
448         * gst/gstelement.c: (gst_element_dispose):
449           don't loop forever
450
451         * gst/gstiterator.c:
452         * gst/gststructure.c:
453           doc fixes
454
455         * libs/gst/controller/gstcontroller.c:
456         (gst_controlled_property_set_interpolation_mode):
457         * libs/gst/controller/gstcontroller.h:
458         * libs/gst/controller/gstinterpolation.c:
459         (interpolate_none_get_enum_value_array):
460           support controlling enums
461
462 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
463
464         * gst/gstvalue.c:
465           Improve documentation for gst_value_union().
466
467         * gst/gstvalue.h:
468           Change return value for union, intersect and subtract functions
469           from gint to gboolean.
470
471 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
472
473         * gst/gstvalue.c: (gst_value_serialize_any_list),
474         (gst_value_transform_any_list_string),
475         (gst_value_deserialize_list), (gst_value_deserialize_array),
476         (gst_value_set_int_range), (gst_value_deserialize_int_range),
477         (gst_value_set_double_range), (gst_value_deserialize_double_range),
478         (gst_value_set_fraction_range_full),
479         (gst_value_deserialize_fraction_range),
480         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
481         (gst_value_deserialize_boolean),
482         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
483         (gst_value_serialize_float), (gst_value_deserialize_float),
484         (gst_string_wrap), (gst_value_deserialize_string),
485         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
486         (gst_value_union_int_range_int_range),
487         (gst_value_intersect_int_range_int_range),
488         (gst_value_intersect_double_range_double_range),
489         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
490         (gst_value_subtract_int_range_int_range),
491         (gst_value_subtract_double_double_range),
492         (gst_value_subtract_double_range_double_range),
493         (gst_value_deserialize_fraction):
494         * gst/gstvalue.h:
495           Use gint, gdouble and gchar in our API instead of int, double and
496           char (and make usage in gstvalue.c more consistent).
497
498 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
499
500         * check/Makefile.am:
501         * libs/gst/controller/Makefile.am:
502         * libs/gst/dataprotocol/Makefile.am:
503           fix up Makefile.am and remove GST_ENABLE_NEW
504
505 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
506
507         * configure.ac:
508         * gst/Makefile.am:
509         * gst/base/Makefile.am:
510         * gst/check/Makefile.am:
511         * gst/elements/Makefile.am:
512         * gst/net/Makefile.am:
513           update LDFLAGS use some more
514
515 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
516
517         * common/m4/gst-doc.m4:
518           Fixes #312589
519
520 2005-11-26  Edward Hervey  <edward@fluendo.com>
521
522         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
523         This shouldn't issue a g_warning since it returns NULL if it
524         couldn't find the plugin, and all functions using this behave
525         properly on a NULL return. Switching to a GST_WARNING.
526
527 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
528
529         * gst/gstbin.c: (gst_bin_handle_message_func):
530         Don't leak clock messages.
531
532 2005-11-25  Wim Taymans  <wim@fluendo.com>
533
534         * gst/gstutils.c: (gst_util_uint64_scale_int64),
535         (gst_util_uint64_scale_int):
536         Optimisations, remove unneeded vars.
537
538 2005-11-25  Wim Taymans  <wim@fluendo.com>
539
540         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
541         Added more checks for the high precision uint64 cases.
542
543         * gst/gstutils.c: (gst_util_uint64_scale_int64),
544         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
545         Implement high precission (guint64 * guint64) / guint64.
546
547 2005-11-24  Wim Taymans  <wim@fluendo.com>
548
549         * gst/base/gstbasesrc.c: (gst_base_src_query):
550         Fix wrong percentage query.
551
552         * gst/gstutils.c: (gst_util_uint64_scale),
553         (gst_util_uint64_scale_int):
554         Add some more common cases that can be handled 
555         efficiently to _scale.
556
557 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
558
559         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
560         (gst_mini_object_suite):
561           don't use check calls from threads; check probably isn't
562           threadsafe and using a lock to make it threadsafe would
563           defeat the purpose of this check
564         * gst/check/gstcheck.c:
565         * gst/check/gstcheck.h:
566           use GST_DEBUG some more
567
568 2005-11-24  Wim Taymans  <wim@fluendo.com>
569
570         * gst/gstutils.c: (gst_util_uint64_scale),
571         (gst_util_uint64_scale_int):
572         Chain trivial case to _scale_int.
573
574 2005-11-24  Wim Taymans  <wim@fluendo.com>
575
576         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
577         Added test for scaling.
578
579         * gst/gstclock.h:
580         Small doc fix.
581
582         * gst/gstutils.c: (gst_util_uint64_scale_int):
583         Implemented high precision scaling code.
584
585 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
586
587         * gst/gstinfo.h:
588           do not crash on pad==NULL
589
590 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
591
592         Patch by: Stefan Kost
593
594         * common/gtk-doc.mak:
595         * docs/gst/Makefile.am:
596         * docs/libs/Makefile.am:
597           Fix distcheck issues for the libraries docs build
598           Closes #319599.
599
600 2005-11-24  Michael Smith <msmith@fluendo.com>
601
602         * docs/manual/basics-helloworld.xml:
603           Fix bug #315027: memory leak in example code in docs.
604
605 2005-11-24  Michael Smith <msmith@fluendo.com>
606
607         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
608           Unlock the PREROLL_LOCK in a failure case.
609
610 2005-11-24  Wim Taymans  <wim@fluendo.com>
611
612         * docs/gst/gstreamer-sections.txt:
613         * gst/base/gstadapter.h:
614         * gst/base/gstbasesink.h:
615         * gst/base/gstbasesrc.h:
616         * gst/base/gstbasetransform.h:
617         * gst/base/gstpushsrc.h:
618         * gst/elements/gstfakesink.h:
619         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
620         * gst/elements/gstfakesrc.h:
621         * gst/elements/gstfilesink.h:
622         * gst/elements/gstfilesrc.h:
623         * gst/gst.c:
624         * gst/gstbin.c:
625         * gst/gstbuffer.c: (_gst_buffer_copy):
626         * gst/gstbus.h:
627         * gst/gstcaps.c:
628         * gst/gstchildproxy.c:
629         * gst/gstclock.c:
630         * gst/gstelement.c:
631         * gst/gstelementfactory.c:
632         * gst/gstelementfactory.h:
633         * gst/gstevent.c:
634         * gst/gstghostpad.h:
635         * gst/gstindex.h:
636         * gst/gstinterface.h:
637         * gst/gstminiobject.c:
638         * gst/gstminiobject.h:
639         * gst/gstpad.c:
640         * gst/gstpad.h:
641         * gst/gstpadtemplate.h:
642         * gst/gstpipeline.h:
643         * gst/gstpluginfeature.h:
644         * gst/gstquery.h:
645         * gst/gstqueue.h:
646         * gst/gsttaglist.c:
647         * gst/gsttaglist.h:
648         * gst/gsttagsetter.c:
649         * gst/gsttagsetter.h:
650         * gst/gsttrace.c:
651         * gst/gsttrace.h:
652         * gst/gsttypefind.h:
653         * gst/gsturi.h:
654         * gst/gstvalue.c:
655         * gst/net/gstnetclientclock.c:
656         * gst/net/gstnetclientclock.h:
657         * gst/net/gstnettimepacket.c:
658         * gst/net/gstnettimeprovider.c:
659         * gst/net/gstnettimeprovider.h:
660         Doc fixes.
661
662 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
663
664         * configure.ac: back to HEAD
665
666 === release 0.9.6 ===
667
668 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
669
670         * configure.ac:
671           releasing 0.9.6, "Always On Time"
672
673 2005-11-23  Wim Taymans  <wim@fluendo.com>
674
675         * docs/gst/gstreamer-sections.txt:
676         * gst/glib-compat.c:
677         * gst/gsttagsetter.c:
678         * gst/gstvalue.c:
679         * gst/net/gstnetclientclock.c:
680         * gst/net/gstnettimepacket.h:
681         Doc updates.
682
683 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
684
685         * docs/faq/using.xml:
686         * docs/libs/tmpl/gstcontrol.sgml:
687         * docs/manual/advanced-dparams.xml:
688         * docs/manual/appendix-checklist.xml:
689         * docs/manual/basics-elements.xml:
690         * docs/pwg/other-source.xml:
691         * docs/random/moving-plugins:
692         * gst/gstpad.c:
693         * tools/gst-launch.1.in:
694           remove mentions of sinesrc
695
696 2005-11-23  Michael Smith <msmith@fluendo.com>
697
698         * docs/gst/gstreamer-sections.txt:
699           Update for new API and API changes.
700         * gst/gstobject.h:
701           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
702         * gst/gstvalue.c:
703           Documentation typo fix.
704         * gst/net/gstnettimepacket.c:
705           Documentation fixes for arguments.
706
707 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
708
709         * gst/gststructure.c: (gst_structure_get_fraction),
710         (gst_structure_parse_value),
711         (gst_structure_fixate_field_nearest_fraction):
712         * gst/gststructure.h:
713         * gst/gstutils.c: (gst_util_uint64_scale_int):
714         * gst/gstutils.h:
715         * scripts/update-funcnames:
716         API Changes. 
717         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
718         Make gst_structure_fixate_field_nearest_fraction take a numerator
719         and denominator argument instead of a GValue
720         add gst_structure_get_fraction helper function.
721
722 2005-11-23  Wim Taymans  <wim@fluendo.com>
723
724         * docs/design/part-TODO.txt:
725         Update TODO.
726
727         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
728         * gst/net/gstnetclientclock.h:
729         Use parent fields for timeout and window_size.
730
731 2005-11-23  Andy Wingo  <wingo@pobox.com>
732
733         * check/net/gstnetclientclock.c (test_functioning): Adjust to
734         rate_num/rate_denom change.
735
736         * gst/net/gstnetclientclock.c
737         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
738         OBJECT_LOCK. Don't call add_observation with the lock.
739
740         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
741         fraction.
742         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
743         rate fraction.
744         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
745         deal with rate as a fraction whose numerator and denominator are
746         GstClockTime values.
747         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
748         master; the other fields are protected by the SLAVE_LOCK.
749         (do_linear_regression): Note that this must be called with the
750         SLAVE_LOCK.
751         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
752         OBJECT_LOCK. Call set_calibration instead of touching the
753         variables directly.
754         (gst_clock_set_property, gst_clock_get_property): Protect
755         master/slave parameters with the SLAVE_LOCK.
756
757         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
758         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
759         note that all of the instance variables that add_observation and
760         the set_master functions use are protected by that lock and not
761         the OBJECT_LOCK.
762         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
763
764         * gst/gstclock.c (gst_clock_add_observation): No longer requires
765         the caller to take the object lock.
766
767 2005-11-23  Wim Taymans  <wim@fluendo.com>
768
769         * gst/gsterror.c: (_gst_core_errors_init):
770         * gst/gsterror.h:
771         Add error for clock stuff.
772
773         * gst/gstpipeline.c: (gst_pipeline_change_state),
774         (gst_pipeline_set_clock):
775         Post clock error when clock cannot be used in a pipeline.
776
777 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
778
779         * docs/gst/gstreamer-sections.txt:
780           make two symbols from gstinfo private for the docs
781         * gst/base/gstcollectpads.h:
782         * gst/gstutils.c:
783           fix doc typos, update docs
784
785 2005-11-22  Wim Taymans  <wim@fluendo.com>
786
787         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
788         (gst_base_sink_wait), (gst_base_sink_do_sync),
789         (gst_base_sink_handle_event):
790         * gst/base/gstbasesink.h:
791         No need to store the clock, the parent element class already
792         has it.
793
794         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
795         Updates for clock_set returning a gboolean
796
797         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
798         (gst_clock_id_wait_async), (gst_clock_class_init),
799         (gst_clock_init), (gst_clock_finalize),
800         (gst_clock_get_internal_time), (gst_clock_get_time),
801         (gst_clock_slave_callback), (gst_clock_set_master),
802         (gst_clock_get_master), (do_linear_regression),
803         (gst_clock_add_observation), (gst_clock_set_property),
804         (gst_clock_get_property):
805         * gst/gstclock.h:
806         Implement master/slave. When setting a clock as a slave, a
807         periodic timeout is scheduled to sample master and slave times.
808         Then the slave clock is recalibrated to match offset and rate
809         of the master clock.
810         Update logging a bit.
811         Add flag so that a clock can state that is cannot be slaved to
812         another clock.
813
814         * gst/gstelement.c: (gst_element_set_clock):
815         * gst/gstelement.h:
816         The set clock returns a gboolean for when an element cannot
817         deal with the selected clock in the pipeline. 
818
819         * gst/gstpipeline.c: (gst_pipeline_change_state),
820         (gst_pipeline_set_clock):
821         * gst/gstpipeline.h:
822         Handle the case where the selected clock cannot be set on
823         the pipeline.
824
825         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
826         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
827         (gst_net_client_clock_set_property),
828         (gst_net_client_clock_get_property),
829         (gst_net_client_clock_observe_times):
830         * gst/net/gstnetclientclock.h:
831         Use regression code in GstClock parent, remove duplicated
832         functionality.
833
834 2005-11-22  Michael Smith <msmith@fluendo.com>
835
836         * gst/gstutils.c: (gst_util_clock_time_scale):
837         * gst/gstutils.h:
838         * docs/gst/gstreamer-sections.txt:
839           Rename method to have extra underscore.
840
841 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
842
843         * gst/elements/Makefile.am:
844         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
845         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
846         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
847         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
848         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
849         * gst/elements/gstfakesrc.h:
850         * gst/gstqueue.c: (queue_leaky_get_type):
851           correctly fix GEnumValues so that nick is the short lowercase
852           dashed tag
853         * tools/gst-inspect.c: (print_element_properties_info):
854           also show the nick, since it's useful to use from parse_launch
855           syntax
856           Fixes #322139
857
858 2005-11-22  Michael Smith <msmith@fluendo.com>
859
860         * gst/gstutils.c: (gst_util_clocktime_scale):
861         * gst/gstutils.h:
862         * docs/gst/gstreamer-sections.txt:
863           Add util method for scaling a clocktime by a fraction. Useful 
864           implementation is left as an exercise for the reader.
865
866 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
867
868         * gst/gstvalue.c: (gst_value_collect_fraction_range):
869         If needed, allocate storage in the destination value during
870         collection.
871
872 2005-11-22  Edward Hervey  <edward@fluendo.com>
873
874         * docs/gst/gstreamer-sections.txt:
875         * gst/Makefile.am:
876         * gst/gst.h:
877         * gst/gsturitype.c:
878         * gst/gsturitype.h:
879         * gst/gstutils.c: (gst_util_set_object_arg):
880         * tools/gst-compprep.c: (main):
881         * tools/gst-inspect.c: (print_element_properties_info):
882         Removed GstURI, closes bug #321061
883
884 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
885
886         * check/gst/gststructure.c: (GST_START_TEST):
887         * gst/gststructure.c: (gst_structure_parse_value):
888           Oops, broke automatic string type parsing.
889           Add a test to catch it in future.
890
891 2005-11-22  Andy Wingo  <wingo@pobox.com>
892
893         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
894         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
895         Actually rename the function implementations. Grr.
896
897 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
898
899         * check/gst/capslist.h:
900           Comment test cases
901         * check/gst/gststructure.c: (GST_START_TEST),
902         (gst_structure_suite):
903           Test automatic value type detection in gst_structure_from_string.
904         * gst/gststructure.c: (gst_structure_parse_value):
905           Add fraction as a type we try and guess automatically in
906           caps/structure strings.
907
908 2005-11-22  Andy Wingo  <wingo@pobox.com>
909
910         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
911
912         * gst/gsttagsetter.h:
913         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
914         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
915         (gst_tag_setter_add_tag_valist)
916         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
917         _add_values, _add_valist, and _add_valist_values. Since this is an
918         interface the function suffixes should be more explicit so
919         language binding don't end up with element.add_valist ->
920         gst_tag_setter_add_valist, for example. Fixes #322069.
921
922 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
923
924         * check/gst/gstcaps.c: (GST_START_TEST):
925           Extend caps string tests to check that a caps to string
926           conversion is reversible and produces the same caps.
927
928         * gst/gststructure.c: (gst_structure_value_get_generic_type):
929           Output "fraction" as the generic type fraction range, so caps
930           serialisation and deserialisation works.
931         * check/gst/capslist.h:
932         * gst/gstvalue.c: (gst_value_deserialize_fraction):
933           Support 'MIN' and 'MAX' for deserialising fractions.
934
935 2005-11-22  Andy Wingo  <wingo@pobox.com>
936
937         * gst/gstevent.h (gst_event_new_new_segment)
938         (gst_event_parse_new_segment, gst_event_new_buffer_size)
939         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
940         Renamed from *_newsegment, *_buffersize, *_notarget.
941
942         * scripts/update-funcnames: New script, performs the changes
943         listed above.
944
945 2005-11-22  Wim Taymans  <wim@fluendo.com>
946
947         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
948         Make sure the GstFlowReturn is returned.
949
950         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
951         (gst_bus_add_signal_watch):
952         * gst/gstbus.h:
953         add gst_bus_add_signal_watch_full.
954
955         * gst/gstplugin.c: (gst_plugin_load_file):
956         Small style cleanup.
957
958 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
959
960         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
961           Block the fakesrc srcpad when we send an event, to avoid
962           contention on the stream_lock causing random test failures.
963
964 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
965
966         * check/gst/gstvalue.c: (GST_START_TEST):
967         * gst/gstvalue.c: (gst_value_fraction_subtract):
968           Fix subtraction.
969
970 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
971
972         * gst/gst.h:
973           include "gstchildproxy.h"
974         * gst/gstchildproxy.h:
975         * libs/gst/controller/gstcontroller.h:
976           use G_GNUC_NULL_TERMINATED
977
978 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
979
980         * check/gst/capslist.h:
981         * check/gst/gstcaps.c: (GST_START_TEST):
982         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
983         * gst/gststructure.c: (gst_structure_parse_range),
984         (gst_structure_fixate_field_nearest_fraction):
985         * gst/gststructure.h:
986         * gst/gstvalue.c: (gst_value_init_fraction_range),
987         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
988         (gst_value_collect_fraction_range),
989         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
990         (gst_value_set_fraction_range_full),
991         (gst_value_get_fraction_range_min),
992         (gst_value_get_fraction_range_max),
993         (gst_value_serialize_fraction_range),
994         (gst_value_transform_fraction_range_string),
995         (gst_value_compare_fraction_range),
996         (gst_value_deserialize_fraction_range),
997         (gst_value_intersect_fraction_fraction_range),
998         (gst_value_intersect_fraction_range_fraction_range),
999         (gst_value_subtract_fraction_fraction_range),
1000         (gst_value_subtract_fraction_range_fraction),
1001         (gst_value_subtract_fraction_range_fraction_range),
1002         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1003         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1004         (gst_value_transform_string_fraction), (_gst_value_initialize):
1005         * gst/gstvalue.h:
1006           Implement fraction ranges and extend GstFraction to support
1007           arithmetic subtraction, as well as deserialization from integer
1008           strings such as "100"
1009           Add a testsuite as for int and double range set operations
1010
1011 2005-11-21  Andy Wingo  <wingo@pobox.com>
1012
1013         * gst/gsttaglist.h: 
1014         * gst/gstcaps.h: 
1015         * gst/gststructure.h: Add glib-compat.h.
1016
1017 2005-11-21  Wim Taymans  <wim@fluendo.com>
1018
1019         * gst/gstbin.c: (gst_bin_change_state_func):
1020         Fix for #321595
1021
1022 2005-11-21  Wim Taymans  <wim@fluendo.com>
1023
1024         * gst/gstsegment.h:
1025         And add a nice define too.
1026
1027 2005-11-21  Wim Taymans  <wim@fluendo.com>
1028
1029         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1030         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1031         (gst_segment_set_duration), (gst_segment_set_last_stop),
1032         (gst_segment_set_seek), (gst_segment_set_newsegment),
1033         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1034         (gst_segment_clip):
1035         * gst/gstsegment.h:
1036         Make binding friendly.
1037
1038 2005-11-21  Andy Wingo  <wingo@pobox.com>
1039
1040         * gst/gsttagsetter.h: 
1041         * gst/gsttaglist.h: 
1042         * gst/gststructure.h: 
1043         * gst/gstcaps.h: 
1044         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1045         #319940.
1046
1047         * gst/gsterror.c (_gst_core_errors_init):
1048         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1049         category.
1050
1051         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1052         (noinst_HEADERS): noinst the -private.
1053
1054 2005-11-21  Michael Smith <msmith@fluendo.com>
1055
1056         * gst/gstplugin.h:
1057         * gst/gstregistry.h:
1058           Remove unimplemented declarations for which we can see no sensible
1059           use.
1060
1061 2005-11-21  Andy Wingo  <wingo@pobox.com>
1062
1063         * gst/gst.h: Include glib-compat.h.
1064
1065         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1066
1067         * gst/glib-compat.c: Include the public and the private header.
1068
1069         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1070
1071         * gst/gstvalue.c: 
1072         * gst/gstpad.c: 
1073         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1074
1075         * check/gst/gstevent.c (create_custom_events): Check that
1076         FLUSH_STOP is serialized.
1077
1078         * check/elements/identity.c (event_func): 
1079         * check/elements/fakesrc.c (event_func): No stream lock, the core
1080         takes it.
1081
1082         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1083         stream lock taking, yay.
1084
1085         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1086         ensure that core takes the stream lock.
1087
1088         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1089         lock name change.
1090
1091         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1092         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1093         it already. For the flush start we do take it though so we get the
1094         right preroll state change messages.
1095
1096         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1097         the stream lock here, the core does it for us.
1098
1099         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1100         GST_STREAM_GET_LOCK.
1101         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1102         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1103         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1104         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1105         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1106         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1107
1108         * gst/gstpad.c: Update for stream lock name change.
1109
1110         * gst/base/gstbasesink.c: Update for preroll lock name change.
1111
1112 2005-11-21  Wim Taymans  <wim@fluendo.com>
1113
1114         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1115         (gst_clock_get_master):
1116         * gst/gstclock.h:
1117         * gst/gstsystemclock.c: (gst_system_clock_init):
1118         Convert Clock flags to object flags.
1119         Added methods to manage master/slave clocks.
1120
1121 2005-11-21  Wim Taymans  <wim@fluendo.com>
1122
1123         * check/gst/gstsegment.c: (GST_START_TEST):
1124         * docs/design/part-TODO.txt:
1125         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1126         (gst_base_sink_event), (gst_base_sink_do_sync),
1127         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1128         (gst_base_sink_query), (gst_base_sink_change_state):
1129         * gst/base/gstbasesink.h:
1130         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1131         (gst_base_src_default_newsegment),
1132         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1133         (gst_base_src_get_range), (gst_base_src_loop),
1134         (gst_base_src_change_state):
1135         * gst/base/gstbasesrc.h:
1136         * gst/base/gstbasetransform.c:
1137         (gst_base_transform_prepare_output_buf),
1138         (gst_base_transform_event), (gst_base_transform_change_state):
1139         * gst/base/gstbasetransform.h:
1140         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1141         (gst_collect_pads_event):
1142         * gst/base/gstcollectpads.h:
1143         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1144         (gst_fake_src_create):
1145         * gst/elements/gstfakesrc.h:
1146         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1147         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1148         (gst_segment_set_last_stop), (gst_segment_set_seek),
1149         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1150         (gst_segment_to_running_time), (gst_segment_clip):
1151         * gst/gstsegment.h:
1152         More segment updates, replace code in plugins with segment
1153         helper functions.
1154
1155 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1156
1157         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1158         Don't ignore sscanf results
1159
1160 2005-11-21  Andy Wingo  <wingo@pobox.com>
1161
1162         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1163
1164         * *.h:
1165         * *.c: Ran scripts/update-macros. Oh yes.
1166
1167         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1168         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1169         GST_GET_LOCK, etc.
1170
1171         * scripts/update-macros: New script. Run it on your files to
1172         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1173         well.
1174
1175 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1176
1177         * docs/gst/Makefile.am:
1178         * docs/gst/gstreamer-docs.sgml:
1179         * docs/gst/gstreamer-sections.txt:
1180         * docs/gst/gstreamer.types:
1181         * gst/gstinfo.h:
1182           more docs fixes, add new api to the docs
1183
1184 2005-11-21  Andy Wingo  <wingo@pobox.com>
1185
1186         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1187         state_broadcast call.
1188
1189         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1190
1191 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1192
1193         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1194         function calls for arrays.
1195
1196 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1197
1198         * docs/random/ensonic/media-device-daemon.txt:
1199           wild idea, can this be done?
1200         * docs/gst/gstreamer-sections.txt:
1201         * gst/gsterror.h:
1202         * gst/gstfilter.c:
1203         * gst/gstfilter.h:
1204         * gst/gstplugin.h:
1205         * gst/gstpluginfeature.c:
1206         * gst/gsttrace.c:
1207         * gst/gstvalue.c:
1208         * gst/gstvalue.h:
1209           doc fixes and additions
1210
1211 2005-11-21  Andy Wingo  <wingo@pobox.com>
1212
1213         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1214         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1215         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1216         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1217         private to the basesrc implementation.
1218
1219         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1220         behalf of event function if necessary. It should no longer be
1221         necessary to take the stream lock in pad's event functions. Fixes
1222         #320299.
1223
1224 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1225         * docs/gst/gstreamer-sections.txt:
1226         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1227         (gst_structure_fixate_field_nearest_double),
1228         (gst_structure_fixate_field_boolean):
1229         * gst/gststructure.h:
1230         * win32/common/libgstreamer.def:
1231         * win32/gstreamer.def:
1232
1233         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1234         (#322027)
1235
1236 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1237
1238         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1239         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1240         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1241         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1242         (gst_fdsrc_uri_handler_init):
1243         * gst/elements/gstfdsrc.h:
1244           Port fd:// URI handler from 0.8 to fdsrc
1245
1246 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1247
1248         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1249         (gst_value_serialize_fourcc):
1250         * gst/gstvalue.h:
1251           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1252           consistent with our other format defines (#320324).
1253
1254 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1255
1256         * gst/gstvalue.c: (gst_value_is_fixed):
1257           Revert previous commit. Value lists are by definition
1258           not fixed, as they are a list of possible values.
1259
1260 2005-11-21  Andy Wingo  <wingo@pobox.com>
1261
1262         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1263         during the stable series if we need it. Fixes #319178.
1264
1265         * gst/gstevent.c (gst_event_new_filler): Removed.
1266
1267         * check/gst/gstevent.c: Update comment about filler events.
1268
1269 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1270
1271         * gst/gstvalue.c: (gst_value_is_fixed):
1272           Should handle both value arrays and value lists.
1273
1274 2005-11-21  Andy Wingo  <wingo@pobox.com>
1275
1276         patch by: Alessandro Dessina <alessandro nnva org>
1277
1278         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1279         functions to access arrays. Fixes #321962.
1280
1281 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1282
1283         * docs/gst/gstreamer.types:
1284           gst_collectpads_get_type => gst_collect_pads_get_type.
1285           
1286         * gst/base/gstbasetransform.c:
1287           Remove unused SIGNAL_HANDOFF enum.
1288
1289 2005-11-21  Andy Wingo  <wingo@pobox.com>
1290
1291         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1292         the event type (upstream, downstream, serialized). Renamed
1293         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1294         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1295         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1296
1297         * gst/gstevent.c: Update for new CUSTOM event names.
1298
1299         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1300
1301         * gst/gstevent.h:
1302         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1303         bug #319392.
1304
1305 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1306
1307         * docs/gst/gstreamer-sections.txt:
1308         * win32/common/libgstbase.def:
1309         * win32/libgstbase.def:
1310         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1311         (gst_collect_pads_class_init), (gst_collect_pads_init),
1312         (gst_collect_pads_finalize), (gst_collect_pads_new),
1313         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1314         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1315         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1316         (gst_collect_pads_start), (gst_collect_pads_stop),
1317         (gst_collect_pads_peek), (gst_collect_pads_pop),
1318         (gst_collect_pads_available), (gst_collect_pads_read),
1319         (gst_collect_pads_flush), (gst_collect_pads_event),
1320         (gst_collect_pads_chain):
1321         * gst/base/gstcollectpads.h:
1322           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1323           unimplemented functions as unimplemented. Add padding to
1324           GstCollectData. (#320766, #320423)
1325
1326 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1327
1328         * gst/gstmessage.c:
1329           Improve docs for DURATION message (usage of duration parameter)
1330           (#320113)
1331
1332 2005-11-20  Wim Taymans  <wim@fluendo.com>
1333
1334         * check/Makefile.am:
1335         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1336         (main):
1337         * gst/Makefile.am:
1338         * gst/gst.h:
1339         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1340         (gst_segment_set_seek), (gst_segment_set_newsegment),
1341         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1342         (gst_segment_clip):
1343         * gst/gstsegment.h:
1344         Added segment helper structure and methods. Not fully implemented
1345         yet.
1346         Added segment check.
1347
1348 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1349
1350         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1351           Add a deserialisation test for fractions
1352         * examples/metadata/read-metadata.c: (message_loop),
1353         (make_pipeline), (main):
1354           Fix up metadata reading sample.
1355         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1356           Debug format fix
1357         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1358           Don't try and fixate empty caps
1359         * gst/gst_private.h:
1360           Wrap in G_BEGIN_DECLS/G_END_DECLS
1361         * gst/gstvalue.c: (gst_value_collect_fraction),
1362         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1363         (gst_value_transform_string_fraction),
1364         (gst_value_compare_fraction):
1365           Add some extra guards to ensure that we don't end up 
1366           with an invalid denominator of 0 in a gstfraction and
1367           that fractions always get reduced.
1368
1369 2005-11-20  Wim Taymans  <wim@fluendo.com>
1370
1371         * docs/gst/gstreamer-sections.txt:
1372         * gst/gstbuffer.h:
1373         * gst/gstelement.c:
1374         * gst/gstformat.c:
1375         * gst/gstformat.h:
1376         * gst/gstindex.h:
1377         * gst/gstquery.c:
1378         * gst/gstquery.h:
1379         * gst/gstvalue.c:
1380         Doc fixes.
1381
1382 2005-11-20  Wim Taymans  <wim@fluendo.com>
1383
1384         * docs/design/part-TODO.txt:
1385         * gst/gstcaps.h:
1386         Make a proper enum of the flag.
1387
1388 2005-11-19  Wim Taymans  <wim@fluendo.com>
1389
1390         * docs/design/part-TODO.txt:
1391         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1392         (gst_format_to_quark), (gst_format_register):
1393         * gst/gstformat.h:
1394         * gst/gstquery.c: (_gst_query_initialize),
1395         (gst_query_type_get_name), (gst_query_type_to_quark),
1396         (gst_query_type_register):
1397         * gst/gstquery.h:
1398         Add type to quark and type to string conversions.
1399
1400 2005-11-19  Andy Wingo  <wingo@pobox.com>
1401
1402         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1403         #320097.
1404
1405 2005-11-19  Wim Taymans  <wim@fluendo.com>
1406
1407         * docs/design/part-TODO.txt:
1408         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1409         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1410         (gst_bin_handle_message_func):
1411         * gst/gstbin.h:
1412         Make message handling overridable.
1413
1414 2005-11-19  Andy Wingo  <wingo@pobox.com>
1415
1416         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1417
1418         * gst/gstclock.h:
1419         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1420         be a GstClockTime.
1421         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1422         is a GstClockTime. Fixes #321710.
1423
1424         * gst/gstclock.h (GstClock): Remove offset property. Add
1425         internal_calibration and external_calibration. Fix padding. Pad
1426         also by GstClockTime so we don't run into problems.
1427
1428         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1429         (gst_clock_get_rate_offset): Remove.
1430         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1431
1432         * gst/gstutils.h:
1433         * gst/gstutils.c (g_static_rec_cond_wait)
1434         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1435
1436         * gst/gstbin.c: Remove terrible continue_state prototype.
1437
1438         * gst/gstelement.h (gst_element_continue_state): Make public.
1439
1440         * gst/gstelement.h:
1441         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1442         by continue_state. Fixes #319389.
1443
1444         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1445         Really fixes #168438. However I don't see anywhere where the
1446         filter function is called... stupid GStreamer...
1447         
1448         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1449         don't have a dispose function, so it won't get called when the
1450         object is unreffed, but oh well!
1451
1452         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1453         allows a destroy function to be set so user_data can be freed.
1454         Fixes #168438.
1455         (gst_index_set_filter): Call gst_index_set_filter_full.
1456
1457         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1458
1459         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1460         string should produce an error, given the lack of a way to
1461         represent NULL strings. Fixes #165650.
1462         
1463         * gst/gstvalue.h: 
1464         * gst/gstvalue.c (gst_value_array_append_value) 
1465         (gst_value_array_prepend_value, gst_value_array_get_size) 
1466         (gst_value_array_get_value): New API, copied from
1467         gst_value_list_*, only operates on arrays.
1468         (gst_value_list_append_value, gst_value_list_prepend_value) 
1469         (gst_value_list_concat, gst_value_list_get_size) 
1470         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1471
1472         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1473         init_list, because it works on both.
1474         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1475         (gst_value_copy_list_or_array): Renamed from copy_list.
1476         (gst_value_free_list_or_array): Renamed from free_list.
1477         (gst_value_collect_list_or_array): Renamed from collect_list.
1478         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1479         (gst_value_list_or_array_peek_pointer): Renamed from
1480         list_peek_pointer.
1481         (_gst_value_array_value_table, _gst_value_list_value_table):
1482         Update value table functions.
1483         (gst_value_compare_list_or_array): Renamed from compare_list.
1484
1485         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1486         some constness.
1487
1488         * gst/gsttaglist.c:
1489         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1490         GstTagList*. Fixes #143472.
1491
1492         * gst/gststructure.h: Clarify what the foreach/map functions can
1493         or can't do to their arguments.
1494
1495 2005-11-18  Wim Taymans  <wim@fluendo.com>
1496
1497         * gst/gstclock.c: (gst_clock_set_calibration),
1498         (gst_clock_get_calibration):
1499         Doc and API fixes.
1500         Calibration can be set with internal time equal to current
1501         internal time too.
1502
1503 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1504
1505         * gst/gsterror.c:
1506         * gst/gsterror.h:
1507           document
1508
1509 2005-11-18  Andy Wingo  <wingo@pobox.com>
1510
1511         * configure.ac: 
1512         * pkgconfig/gstreamer-net.pc.in:
1513         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1514         * pkgconfig/Makefile.am: Add net pkgconfig files.
1515
1516 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1517
1518         * gst/gstcaps.c:
1519         * gst/gstghostpad.c:
1520         * gst/gsttrace.c:
1521         * gst/gstvalue.c:
1522         * gst/gstvalue.h:
1523           docs fixes
1524
1525 2005-11-18  Andy Wingo  <wingo@pobox.com>
1526
1527         * gst/net/gstnetclientclock.c: Turn off debugging.
1528
1529         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1530         times connverge somewhat. Can't make a real test.
1531
1532         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1533         integer arithmetic. Return the minimum of the domain, which can be
1534         set as "internal" for gst_clock_set_calibration.
1535         (gst_net_client_clock_observe_times): Call _set_calibration.
1536         (gst_net_client_clock_new): Call _set_calibration instead of
1537         rate_offset.
1538
1539         * check/net/gstnetclientclock.c (test_functioning): Use the right
1540         adjustment api.
1541
1542         * gst/gstclock.h:
1543         * gst/gstclock.c (gst_clock_get_calibration) 
1544         (gst_clock_set_calibration): New functions, obsolete the ones I
1545         added yesterday. Doh. Precision issues mean we have to extrapolate
1546         from a point in the more recent past than 1970.
1547         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1548         obsolete.
1549         (gst_clock_adjust_unlocked): Use the right calibration data.
1550
1551 2005-11-18  Edward Hervey  <edward@fluendo.com>
1552
1553         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1554         Also reset the ->current_* values in READY->PAUSED
1555
1556 2005-11-18  Andy Wingo  <wingo@pobox.com>
1557
1558         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1559         Whoops, check the right fd. Also add some debugging.
1560         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1561         (do_linear_regression): Add a crapload of debugging. Subtract off
1562         the minimum values from the input series to discard unneeded bits.
1563         Use only int arithmetic. There is still double arithmetic when
1564         calculating the intercept that needs fixing. Return boolean to
1565         indicate success; FALSE would mean the domain or range is too
1566         great. Still needs fixes.
1567
1568 2005-11-18  Wim Taymans  <wim@fluendo.com>
1569
1570         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1571         For the current position in stream time, we need to subtract
1572         accumulated time.
1573         
1574         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1575         Release lock before calling the callback function of async
1576         entries.
1577
1578 2005-11-18  Andy Wingo  <wingo@pobox.com>
1579
1580         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1581         Port goes all the way to MAXUINT16.
1582
1583         * gst/net/gstnettimeprovider.c: Make the port range the same as
1584         for the kernel: 0 assigns, otherwise ports are less than
1585         MAXUINT16.
1586
1587         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1588         port change.
1589
1590         * check/net/gstnetclientclock.c (test_functioning): Add the start
1591         of another test. 
1592
1593 2005-11-18  Wim Taymans  <wim@fluendo.com>
1594
1595         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1596         (gst_bin_remove_func), (bin_bus_handler):
1597         * gst/gstbin.h:
1598         Removing a clock provider from a bin, triggers a clock lost message
1599         so that a new clock will be selected.
1600         Adding a clock to a bin triggers a clock provider message.
1601         Make sure we reselect a clock when we received a clock lost message.
1602         Keep a reference to the element that provided the clock.
1603
1604 2005-11-18  Andy Wingo  <wingo@pobox.com>
1605
1606         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1607         the clock initially so it produces values around the base time.
1608         (gst_net_client_clock_class_init): Typo fix.
1609         (gst_net_client_clock_thread): Add note on when the socket gets
1610         closed.
1611
1612 2005-11-17  Wim Taymans  <wim@fluendo.com>
1613
1614         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1615         Free remote and local time arrays.
1616
1617 2005-11-17  Wim Taymans  <wim@fluendo.com>
1618
1619         * gst/net/gstnetclientclock.c: (do_linear_regression),
1620         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1621         Fix compilation, uninitialized vars and a forgotten continue.
1622
1623 2005-11-17  Andy Wingo  <wingo@pobox.com>
1624
1625         * check/Makefile.am (check_PROGRAMS): 
1626         * check/net/gstnetclientclock.c: Add a most minimal test for the
1627         net client clock. More to come later.
1628
1629         * gst/net/gstnet.h: 
1630         * gst/net/Makefile.am: Add netclientclock.
1631
1632         * gst/net/gstnetclientclock.h:
1633         * gst/net/gstnetclientclock.c: New files, implement an untested
1634         GstClock that takes its time from a network time provider.
1635         Implements the algorithm in network-clock.scm.
1636
1637         * tests/network-clock.scm (*window-size*): Rename from
1638         *queue-length*.
1639         * tests/network-clock.scm (network-time): 
1640         * tests/network-clock-utils.scm (q-push): Update callers.
1641
1642 2005-11-17  Wim Taymans  <wim@fluendo.com>
1643
1644         * gst/gstbin.c: (gst_bin_provide_clock_func),
1645         (gst_bin_sort_iterator_new):
1646         And unref the child too..
1647
1648 2005-11-17  Wim Taymans  <wim@fluendo.com>
1649
1650         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1651         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1652         Refactor the sort iterator so it can be used while holding the
1653         LOCK too.
1654         Make clock selection select a clock closest to the source.
1655
1656 2005-11-17  Michael Smith <msmith@fluendo.com>
1657
1658         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1659         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1660         * gst/gstclock.h:
1661           Anonymous structs are a gcc (and some other compilers) extension, so
1662           don't use them. Since this is only for ABI-compatibility, and our
1663           API/ABI freeze is over in a few days, this whole thing will only
1664           last a few days, so don't bother trying to think up a meaningful
1665           name for the struct.
1666
1667 2005-11-17  Andy Wingo  <wingo@pobox.com>
1668
1669         * gst/gstclock.h (GstClock): Add rate and offset properties,
1670         preserving ABI stability. Add rate/offset accessors. Will file bug
1671         for the freeze break.
1672
1673         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1674         and offset, trying to keep precision and avoiding
1675         underflow/overflow.
1676         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1677         functions. Make gst_clock_set_time_adjust obsolete.
1678         (gst_clock_set_time_adjust): Note that this function is obsolete.
1679         Will file bug soon.
1680
1681         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1682         greppable by using GST_PADDING-1+1.
1683
1684 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1685
1686         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1687
1688         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1689           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1690
1691         * gst/gstpadtemplate.h:
1692         * gst/gstpluginfeature.h:
1693           Don't use c++ style comments in headers (#321638).
1694
1695 2005-11-16  Andy Wingo  <wingo@pobox.com>
1696
1697         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1698         buffer.
1699
1700         * check/net/gstnettimeprovider.c: Check to see that the time
1701         provider actually provides times. Works, yo!
1702
1703 2005-11-16  Wim Taymans  <wim@fluendo.com>
1704
1705         * check/Makefile.am:
1706         Enable more tests.
1707
1708         * check/elements/fakesrc.c: (GST_START_TEST):
1709         Set element to NULL before disposing it.
1710
1711 2005-11-16  Andy Wingo  <wingo@pobox.com>
1712
1713         * gst/net/Makefile.am:
1714         * gst/net/gstnet.h:
1715         * gst/net/gstnettimeprovider.c: 
1716         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1717         provider, include it from gstnet.h, and add it to the build.
1718
1719         * gst/net/gstnettimepacket.h: 
1720         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1721         sending and receiving.
1722
1723 2005-11-16  Wim Taymans  <wim@fluendo.com>
1724
1725         * check/Makefile.am:
1726         Enable valgrind check.
1727
1728         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1729         (gst_fake_src_alloc_buffer):
1730         Fix memleak.
1731
1732 2005-11-16  Wim Taymans  <wim@fluendo.com>
1733
1734         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1735         Call parent finalize too.
1736
1737 2005-11-16  Wim Taymans  <wim@fluendo.com>
1738
1739         * check/Makefile.am:
1740         Enable valgrind check that should work fine now.
1741
1742         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1743         * gst/gstqueue.c: (gst_queue_init):
1744         Fix memleaks in pad allocation.
1745
1746 2005-11-16  Andy Wingo  <wingo@pobox.com>
1747
1748         * gst/net/Makefile.am:
1749         * gst/net/gstnet.h: New part of core to hold network elements and
1750         objects. Put in core because it exposes API that applications want
1751         to use. The library is named libgstnet-tempname right now because
1752         of the existing libgstnet in gst-plugins-base. Solution is
1753         probably to rename the one in plugins-base; will file a bug for
1754         the freeze break.
1755
1756         * gst/net/gstnettimeprovider.c: 
1757         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1758         get_time call over the network.
1759
1760         * configure.ac: 
1761         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1762
1763         * check/Makefile.am:
1764         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1765         get additions shortly.
1766
1767 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1768
1769         * gst/gstpad.c: (gst_pad_new_from_static_template):
1770         * gst/gstpad.h:
1771           add gst_pad_new_from_static_template functions
1772         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1773         (gst_check_setup_sink_pad):
1774         * gst/elements/gsttee.c: (gst_tee_init):
1775           and use them
1776
1777 2005-11-16  Wim Taymans  <wim@fluendo.com>
1778
1779         * gst/gstpad.c: (gst_pad_pause_task):
1780         Removed warning, it's not really an error either.
1781
1782 2005-11-16  Wim Taymans  <wim@fluendo.com>
1783
1784         * gst/base/gstbasetransform.c:
1785         (gst_base_transform_prepare_output_buf),
1786         (gst_base_transform_event):
1787         Check if the caps are NULL, this can happen if the element
1788         is shutting down and the pad caps are set to NULL.
1789
1790 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1791
1792         * gst/elements/gsttee.c: (gst_tee_init):
1793           fix pad template leak in tee
1794
1795 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1796
1797         * gst/glib-compat.c: (g_value_dup_gst_object):
1798         * gst/glib-compat.h:
1799         * gst/gstpad.c: (gst_pad_set_property):
1800           use gst_object_ref when setting the pad template; this will
1801           trigger the pad template leaks on GLib 2.6 and the slaves
1802
1803 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1804
1805         * gst/glib-compat.c: (gst_flags_get_first_value):
1806         * gst/glib-compat.h:
1807         * gst/gstregistryxml.c:
1808           remove functions copied from GLib 2.6
1809
1810 2005-11-16  Michael Smith <msmith@fluendo.com>
1811
1812         * gst/Makefile.am:
1813           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1814           do, but only breaks with newer valgrind versions. We're not a
1815           valgrind tool, we have no link-time dependencies on libcoregrind.
1816
1817 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1818
1819         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1820           some debug changes
1821         * gst/gstmessage.h:
1822           typo fixes
1823
1824 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1825
1826         * gst/base/gstbasesrc.c: (gst_base_src_init):
1827         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1828         * gst/gstqueue.c: (gst_queue_init):
1829         * gst/gstregistryxml.c: (load_feature):
1830           Revert all these unrefs, they don't even pass make check !
1831
1832 2005-11-15  Johan Dahlin  <johan@gnome.org>
1833
1834         * gst/base/gstbasesrc.c: (gst_base_src_init):
1835         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1836         * gst/gstqueue.c: (gst_queue_init): 
1837         Free pad templates, fixes a couple of leaks.
1838
1839 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1840
1841         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1842
1843         * gst/gstpad.c: (gst_pad_get_property):
1844           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1845           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1846           (#321452)
1847
1848 2005-11-15  Wim Taymans  <wim@fluendo.com>
1849
1850         * gst/gstevent.c:
1851         Small doc update.
1852
1853 2005-11-15  Andy Wingo  <wingo@pobox.com>
1854
1855         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1856
1857         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1858         using GST_CLOCK_TIME_NONE to disable base time management.
1859         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1860         time if it was NONE before.
1861         (gst_pipeline_change_state): Only munge the base time if
1862         stream_time != GST_CLOCK_TIME_NONE.
1863
1864         * check/gst/gstpipeline.c (test_base_time): Punt around the
1865         problem of the probe not being called, because that's not the
1866         issue I'm looking at. Add a check that setting stream_time to NONE
1867         disables base time management.
1868         
1869 2005-11-15  Wim Taymans  <wim@fluendo.com>
1870
1871         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1872         segment_stop == -1 at startup.
1873
1874         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1875         (gst_base_transform_change_state):
1876         Init segment values at start.
1877
1878 2005-11-15  Wim Taymans  <wim@fluendo.com>
1879
1880         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1881         0 segment values are 0 in any format.
1882
1883         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1884         * gst/base/gstbasetransform.h:
1885         Parse newsegment correctly in basetransform
1886
1887         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1888         Sync to clock using updated segment values.
1889
1890 2005-11-15  Andy Wingo  <wingo@pobox.com>
1891
1892         * check/gst/gstpipeline.c (test_base_time): Add check that the
1893         base time and stream time are reset correctly.
1894
1895 2005-11-15  Wim Taymans  <wim@fluendo.com>
1896
1897         * docs/design/part-TODO.txt:
1898         Some more TODO items.
1899
1900 2005-11-15  Andy Wingo  <wingo@pobox.com>
1901
1902         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1903         error if the user selected "no clock" as the clocking method.
1904
1905         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1906         timestamps with live capture.
1907
1908         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1909         is 0 but we are a live source, timestamp the buffers using the
1910         element's clock.
1911
1912 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1913
1914         * docs/gst/gstreamer-sections.txt:
1915         * gst/gsterror.c:
1916         * gst/gstghostpad.c:
1917         * gst/gstobject.h:
1918         * gst/gstxml.c:
1919           more section docs
1920
1921 2005-11-14  Wim Taymans  <wim@fluendo.com>
1922
1923         * common/gst.supp:
1924           add suppressions from Wim's Debian machine
1925
1926 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1927
1928         * common/gst.supp:
1929           add suppressions from Andy's AMD64 Ubuntu machine
1930
1931 2005-11-14  Andy Wingo  <wingo@pobox.com>
1932
1933         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1934         STATE_LOCK not necessary. Fixes #311489.
1935
1936         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1937         #305291.
1938
1939         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1940         this function is not implemented.
1941
1942 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1943
1944         * gst/base/gstbasetransform.c:
1945         (gst_base_transform_prepare_output_buf):
1946         Ref the source pad caps while we need them.
1947         Fixes (#321386)
1948
1949 2005-11-11  Wim Taymans  <wim@fluendo.com>
1950
1951         * docs/gst/gstreamer-sections.txt:
1952         Added some docs for GstCollectData.
1953
1954         * gst/base/gstadapter.c:
1955         Some small code example fix.
1956
1957         * gst/base/gstcollectpads.c:
1958         * gst/base/gstcollectpads.h:
1959         Document some more.
1960
1961 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1962
1963         * configure.ac: back to HEAD
1964
1965 === release 0.9.5 ===
1966
1967 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
1968
1969         * configure.ac:
1970           releasing 0.9.5, "Bike Lunch Day"
1971
1972 2005-11-11  Wim Taymans  <wim@fluendo.com>
1973
1974         * gst/gstbuffer.c: (_gst_buffer_copy):
1975         Copy more flags.
1976
1977         * gst/gstcaps.c: (gst_caps_is_equal):
1978         Fix some docs.
1979         Make _is_equal fast in the trivial cases.
1980
1981         * gst/gstminiobject.c:
1982         * gst/gstminiobject.h:
1983         More docs. Spifify .h file.
1984
1985         * gst/gstutils.c:
1986         Small doc update.
1987
1988 2005-11-11  Wim Taymans  <wim@fluendo.com>
1989
1990         * gst/base/gstbasetransform.c:
1991         (gst_base_transform_prepare_output_buf),
1992         (gst_base_transform_handle_buffer):
1993         Small cleanups.
1994         If we're processing a buffer and need to allocate an output
1995         buffer, we cannot accept a format change. If we did get a 
1996         format change, we have to alloc a buffer ourselves of the 
1997         right size.
1998
1999 2005-11-11  Wim Taymans  <wim@fluendo.com>
2000
2001         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2002         While checking the flag for reentrancy in the gstcaps function
2003         is nice to detect recursive invocations, it also makes it 
2004         impossible to call getcaps from multiple threads, which must be
2005         possible. So, checking for recursive calls has to go.
2006
2007 2005-11-11  Michael Smith <msmith@fluendo.com>
2008
2009         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2010           Don't sync on buffers that fall partially outside our current
2011           segment. Prevents an assertion failure/abort playing some files.
2012
2013 2005-11-10  Andy Wingo  <wingo@pobox.com>
2014
2015         * check/gst/gstbin.c (test_message_state_changed_children): Style
2016         fix..
2017
2018         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2019         gst_bus_poll with the signal watch. Ensures that poll and a signal
2020         watch see the same messages.
2021
2022         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2023         a poll and a watch at the same time get the same messages.
2024
2025 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2026
2027         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2028         * gst/gstcaps.c: (gst_caps_intersect):
2029           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2030           and it's not needed.
2031
2032 2005-11-10  Wim Taymans  <wim@fluendo.com>
2033
2034         * docs/design/part-TODO.txt:
2035         Updated todo.
2036
2037 2005-11-10  Wim Taymans  <wim@fluendo.com>
2038
2039         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2040         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2041         (gst_base_src_do_sync), (gst_base_src_get_range):
2042         Implement clock sync in base class.
2043
2044 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2045
2046         patch by: Tim-Philipp Müller <tim at centricular dot net>
2047
2048         * gst/gststructure.c: (gst_structure_parse_field),
2049         (gst_structure_from_string):
2050           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2051           so that gst_parse_launch() can deal with spaces in filtered link
2052           caps (fixes #164479)
2053         * check/gst/capslist.h:
2054         * check/gst/gststructure.c: (GST_START_TEST):
2055           add unit tests for this change
2056
2057 2005-11-10  Wim Taymans  <wim@fluendo.com>
2058
2059         * docs/gst/gstreamer-sections.txt:
2060         * gst/gstelement.c:
2061         * gst/gstelement.h:
2062         Fix docs, move some STATE macros to private.
2063
2064 2005-11-10  Wim Taymans  <wim@fluendo.com>
2065
2066         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2067         Added check for bug #317341
2068
2069         * gst/gstbuffer.c:
2070         * gst/gstbuffer.h:
2071         Some more spiffifying.
2072
2073         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2074         Call peer linkfunction if we are a source pad. Totally fixes
2075         #317341
2076
2077         * gst/gstpad.c:
2078         Update docs, source pads should call the peer linkfunction
2079         so they can atomically perform the pad link.
2080
2081 2005-11-09  Wim Taymans  <wim@fluendo.com>
2082
2083         * gst/gstbuffer.c:
2084         * gst/gstbuffer.h:
2085         Uber-spiffy-spiffify some more.
2086
2087 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2088
2089         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2090         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2091         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2092         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2093         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2094         * gst/gstpad.c: (gst_pad_init):
2095           Use GST_DEBUG_FUNCPTR() more extensively.
2096
2097 2005-11-09  Wim Taymans  <wim@fluendo.com>
2098
2099         * gst/gstobject.c: (gst_object_class_init):
2100         * gst/gstobject.h:
2101         Documentation fixes.
2102
2103 2005-11-09  Edward Hervey  <edward@fluendo.com>
2104
2105         * gst/gsttypefindfactory.c:
2106         Fix docs.
2107         
2108 2005-11-09  Edward Hervey  <edward@fluendo.com>
2109
2110         * gst/base/gsttypefindhelper.c:
2111         * gst/gsttypefind.c:
2112         * gst/gsttypefind.h:
2113         Fix docs.
2114
2115 2005-11-09  Wim Taymans  <wim@fluendo.com>
2116
2117         * gst/gstiterator.c:
2118         Fix revision data.
2119
2120         * gst/gsttask.c:
2121         * gst/gsttask.h:
2122         Fix docs.
2123
2124 2005-11-09  Wim Taymans  <wim@fluendo.com>
2125
2126         * gst/gstevent.h:
2127         * gst/gsturi.h:
2128         Fix docs.
2129
2130 2005-11-09  Wim Taymans  <wim@fluendo.com>
2131
2132         * docs/gst/gstreamer-sections.txt:
2133         Moved the message async delivery private lock and cond
2134         to the private section.
2135
2136         * gst/gstmessage.c:
2137         * gst/gstmessage.h:
2138         Fixed docs.
2139
2140 2005-11-09  Edward Hervey  <edward@fluendo.com>
2141
2142         * docs/gst/gstreamer-sections.txt:
2143         * gst/gsturi.c:
2144         * gst/gsturi.h:
2145         Document GstURIHandler
2146
2147 2005-11-09  Wim Taymans  <wim@fluendo.com>
2148
2149         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2150         (gst_iterator_find_custom):
2151         * gst/gstiterator.h:
2152         Fix iterator docs.
2153
2154 2005-11-09  Wim Taymans  <wim@fluendo.com>
2155
2156         * gst/gstbin.h:
2157         Document another field.
2158
2159         * gst/gststructure.c:
2160         * gst/gststructure.h:
2161         Document.
2162
2163 2005-11-09  Wim Taymans  <wim@fluendo.com>
2164
2165         * gst/gstbin.h:
2166         Documented structs.
2167
2168 2005-11-09  Wim Taymans  <wim@fluendo.com>
2169
2170         * docs/gst/gstreamer-sections.txt:
2171         Added some new macros.
2172
2173         * gst/gstclock.c:
2174         * gst/gstclock.h:
2175         * gst/gstobject.h:
2176         Docs updates.
2177
2178 2005-11-09  Wim Taymans  <wim@fluendo.com>
2179
2180         * docs/design/part-TODO.txt:
2181         Some more items for the TODO
2182
2183         * gst/gstcaps.c:
2184         * gst/gstcaps.h:
2185         Document GstCaps.
2186
2187 2005-11-09  Andy Wingo  <wingo@pobox.com>
2188
2189         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2190         to work on something else now tho...
2191
2192         * gst/base/gstadapter.c: More adapter docs.
2193
2194         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2195         (gst_file_sink_stop): New functions, replace the state change
2196         handler.
2197         (gst_file_sink_class_init): Hook up the start and stop functions.
2198         (gst_file_sink_base_init): Don't set the state change handler any
2199         more. It was a bit ugly too, being set from here...
2200         (gst_file_sink_get_property, gst_file_sink_set_property):
2201         Cleanups...
2202         (gst_file_sink_set_location): More robust check that doesn't call
2203         GST_STATE. Ugggggg.
2204
2205 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2206
2207         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2208           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2209
2210 2005-11-08  Wim Taymans  <wim@fluendo.com>
2211
2212         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2213         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2214         (gst_base_sink_chain), (gst_base_sink_change_state):
2215         * gst/base/gstbasesink.h:
2216         * gst/base/gstbasesrc.h:
2217         * gst/gstelement.h:
2218         * gst/gstevent.h:
2219         Avoid excessive typechecking in macros.
2220
2221         * gst/gstminiobject.c: (gst_mini_object_get_type),
2222         (gst_mini_object_init), (gst_mini_object_new),
2223         (gst_mini_object_free):
2224         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2225         (gst_object_finalize):
2226         Remove cruft code, optimize alloc_trace.
2227
2228 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2229
2230         * docs/faq/gst-uninstalled:
2231           fix up PS1 for systems that try to reset it
2232
2233 2005-11-07  Wim Taymans  <wim@fluendo.com>
2234
2235         * gst/base/gstbasesrc.c: (gst_base_src_init),
2236         (gst_base_src_get_range):
2237         Set the segment_end to -1 initially. Fixed typefind.
2238
2239 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2240
2241         * gst/base/gstadapter.c:
2242           Debug category should be 'adapter', not 'GstAdapter'.
2243           
2244         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2245         (gst_collectpads_class_init), (gst_collectpads_init),
2246         (gst_collectpads_peek), (gst_collectpads_pop),
2247         (gst_collectpads_event), (gst_collectpads_chain):
2248           Add debug category and some debugging output. Use boilerplate
2249           macros. Remove some extraneous words from docs.
2250
2251 2005-11-05  Andy Wingo  <wingo@pobox.com>
2252
2253         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2254         macro.
2255
2256 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2257
2258         * docs/gst/gstreamer-sections.txt:
2259         * gst/gstcaps.h:
2260         * gst/gstinfo.c:
2261         * gst/gstminiobject.h:
2262         * gst/gstobject.h:
2263         * gst/gstutils.h:
2264           more docs added
2265
2266 2005-11-04  Wim Taymans  <wim@fluendo.com>
2267
2268         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2269         Small update to stop at the configured segment_end
2270         position.
2271
2272 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2273
2274         * gst/gstregistry.c:
2275         * gst/gstregistry.h:
2276           added missing docs
2277
2278 2005-11-04  Edward Hervey  <edward@fluendo.com>
2279
2280         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2281         Check if we are doing a segment seek and have arrived at the
2282         end of that segment.
2283
2284 2005-11-04  Wim Taymans  <wim@fluendo.com>
2285
2286         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2287         Don't leak a mutex unlock in case of an error.
2288
2289         * gst/gstbus.h:
2290         Doc fixes.
2291
2292 2005-11-04  Wim Taymans  <wim@fluendo.com>
2293
2294         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2295         (gst_bus_post):
2296         Get the context to wake up only once.
2297
2298 2005-11-03  Wim Taymans  <wim@fluendo.com>
2299
2300         * check/states/sinks.c: (GST_START_TEST):
2301         Uncomment fixed check.
2302
2303         * docs/design/part-TODO.txt:
2304         Updated TODO.
2305
2306         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2307         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2308         (gst_base_sink_get_position):
2309         If we are going to PLAYING, post the right pending state
2310         when we post the intermediate paused message.
2311
2312         * gst/gstelement.c: (gst_element_continue_state),
2313         (gst_element_set_state_func), (gst_element_change_state):
2314         Don't post state changes that were between the same state
2315         and were not ASYNC.
2316
2317 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2318
2319         * docs/gst/gstreamer-sections.txt:
2320         * gst/gstcaps.h:
2321         * gst/gstinfo.c:
2322         * gst/gstminiobject.h:
2323         * gst/gstobject.h:
2324         * gst/gstutils.h:
2325           more docs and doc style fixes
2326
2327 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2328
2329         * docs/gst/gstreamer-sections.txt:
2330         * gst/gstelement.c:
2331         * gst/gstminiobject.c:
2332         doc fixes
2333
2334 2005-11-03  Andy Wingo  <wingo@pobox.com>
2335
2336         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2337         state-changed messages actually have the right order and the right
2338         values.
2339
2340 2005-11-03  Wim Taymans  <wim@fluendo.com>
2341
2342         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2343         Added some more checks. Specifically the case where NO_PREROLL
2344         elements are in the pipeline.
2345
2346         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2347         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2348         (gst_base_sink_get_position):
2349         Post READY->PAUSED state change messages too.
2350         Fix bug where VOID was posted as pending state...
2351
2352         * gst/gstbin.c: (gst_bin_recalc_state):
2353         use _element_continue_state() to continue the state change.
2354
2355         * gst/gstelement.c: (gst_element_continue_state),
2356         (gst_element_commit_state), (gst_element_set_state_func),
2357         (gst_element_change_state), (gst_element_change_state_func):
2358         Lots of state change cleanups, assign the STATE_RETURN in
2359         a new continue_state() function that also propagates the
2360         last return value from a state change to the app.
2361         Update some debug statements with proper category.
2362
2363 2005-11-03  Wim Taymans  <wim@fluendo.com>
2364
2365         * docs/design/part-events.txt:
2366         * docs/design/part-gstpipeline.txt:
2367         * docs/design/part-messages.txt:
2368         * docs/design/part-overview.txt:
2369         * docs/design/part-seeking.txt:
2370         * docs/design/part-states.txt:
2371         * docs/design/part-trickmodes.txt:
2372         * docs/manual/advanced-position.xml:
2373         Small docs updates.
2374
2375         * gst/gstobject.h:
2376         People think !! is ugly, this looks better.
2377
2378         * gst/gstpad.c: (gst_pad_set_blocked_async):
2379         Remove !! since it's fixed elsewhere now.
2380
2381 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2382
2383         * gst/gstminiobject.h:
2384         * gst/gstobject.h:
2385           Add !! to _FLAG_IS_SET macros to make the result boolean.
2386
2387 2005-11-03  Edward Hervey  <edward@fluendo.com>
2388
2389         * gst/gstpad.c: (gst_pad_set_blocked_async):
2390         comparing a flag and a gboolean rarely returns coherent results...
2391         Added two characters (!!) to make that work correctly.
2392         
2393 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2394
2395         * gst/gstbus.c: (gst_bus_class_init):
2396           Fix some typos.
2397           
2398         * gst/gstqueue.c: (gst_queue_loop):
2399           Don't assume a miniobject that isn't a buffer is an
2400           event (it could be that there is a refcounting
2401           problem somewhere and the pointer is stale and
2402           refers to an already destroyed miniobject).
2403
2404 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2405
2406         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2407
2408 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2409
2410         * docs/manual/advanced-position.xml:
2411           Update seek example and explanations to current 0.9 API.
2412
2413         * gst/elements/gsttypefindelement.c:
2414         (gst_type_find_element_activate):
2415           Remove FIXME comment now that the found caps
2416           are unreffed.
2417
2418 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2419
2420         * gst/gstregistryxml.c: (load_feature):
2421           Add another GST_STR_NULL instance
2422
2423 2005-11-02  Edward Hervey  <edward@fluendo.com>
2424
2425         * gst/gstpad.c: (handle_pad_block):
2426         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2427         
2428 2005-11-02  Wim Taymans  <wim@fluendo.com>
2429
2430         * gst/gstbin.c:
2431         Fix typo in docs.
2432
2433         * gst/gstelement.c: (gst_element_commit_state):
2434         Remove unused value.
2435
2436         * gst/gstiterator.c:
2437         Mention that the returned element is reffed in the docs.
2438
2439 2005-11-02  Wim Taymans  <wim@fluendo.com>
2440
2441         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2442         (gst_pad_push), (gst_pad_push_event):
2443         Unlock blocked pads when they are flushed.
2444
2445 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2446
2447         * docs/README:
2448         * docs/gst/gstreamer-sections.txt:
2449         * gst/gstbin.c:
2450           doc updates
2451         * gst/gstregistry.c: (gst_registry_scan_path_level):
2452           fix for a nasty little missed situation where an installed plug-in
2453           which was in the cache did not get overridden by an uninstalled one
2454           which was earlier in the plugin path because the newly created plugin
2455           for the uninstalled one (not in the registry) didn't get its
2456           ->registered set to TRUE
2457
2458 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2459
2460         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2461         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2462         (gst_collectpads_is_active), (gst_collectpads_collect),
2463         (gst_collectpads_collect_range), (gst_collectpads_start),
2464         (gst_collectpads_stop), (gst_collectpads_peek),
2465         (gst_collectpads_pop), (gst_collectpads_available),
2466         (gst_collectpads_read), (gst_collectpads_flush):
2467           Guard public API with assertions.
2468         
2469         * gst/gstpad.c:
2470           Fix docs for gst_pad_set_link_function().
2471
2472 2005-11-02  Johan Dahlin  <johan@gnome.org>
2473
2474         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2475         Unref found_caps after we used it.
2476
2477 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2478
2479         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2480           Don't try to ref NULL.
2481
2482 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2483
2484         * win32/common/config.h.in:
2485           provide a GST_FUNCTION that just gives a string for now
2486
2487 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2488
2489         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2490         (gst_object_flags_get_type), (register_gst_bin_flags),
2491         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2492         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2493         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2494         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2495         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2496         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2497         (gst_clock_flags_get_type), (register_gst_state),
2498         (gst_state_get_type), (register_gst_state_change_return),
2499         (gst_state_change_return_get_type), (register_gst_state_change),
2500         (gst_state_change_get_type), (register_gst_element_flags),
2501         (gst_element_flags_get_type), (register_gst_core_error),
2502         (gst_core_error_get_type), (register_gst_library_error),
2503         (gst_library_error_get_type), (register_gst_resource_error),
2504         (gst_resource_error_get_type), (register_gst_stream_error),
2505         (gst_stream_error_get_type), (register_gst_event_type),
2506         (gst_event_type_get_type), (register_gst_seek_type),
2507         (gst_seek_type_get_type), (register_gst_seek_flags),
2508         (gst_seek_flags_get_type), (register_gst_format),
2509         (gst_format_get_type), (register_gst_index_certainty),
2510         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2511         (gst_index_entry_type_get_type),
2512         (register_gst_index_lookup_method),
2513         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2514         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2515         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2516         (gst_index_flags_get_type), (register_gst_debug_level),
2517         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2518         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2519         (gst_iterator_result_get_type), (register_gst_iterator_item),
2520         (gst_iterator_item_get_type), (register_gst_message_type),
2521         (gst_message_type_get_type), (register_gst_mini_object_flags),
2522         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2523         (gst_pad_link_return_get_type), (register_gst_flow_return),
2524         (gst_flow_return_get_type), (register_gst_activate_mode),
2525         (gst_activate_mode_get_type), (register_gst_pad_direction),
2526         (gst_pad_direction_get_type), (register_gst_pad_flags),
2527         (gst_pad_flags_get_type), (register_gst_pad_presence),
2528         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2529         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2530         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2531         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2532         (gst_plugin_flags_get_type), (register_gst_rank),
2533         (gst_rank_get_type), (register_gst_query_type),
2534         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2535         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2536         (gst_tag_flag_get_type), (register_gst_task_state),
2537         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2538         (gst_alloc_trace_flags_get_type),
2539         (register_gst_type_find_probability),
2540         (gst_type_find_probability_get_type), (register_gst_uri_type),
2541         (gst_uri_type_get_type), (register_gst_parse_error),
2542         (gst_parse_error_get_type):
2543         * win32/common/gstversion.h:
2544           update win32 copies
2545
2546 2005-11-01  Luca Ognibene  <luogni@tin.it>
2547
2548         * gst/gst.c:
2549           fix docs. popt is dead, long live GOption.
2550
2551 2005-10-31  Wim Taymans  <wim@fluendo.com>
2552
2553         * gst/gstbuffer.h:
2554         Small doc fix.
2555
2556 2005-10-31  Andy Wingo  <wingo@pobox.com>
2557
2558         * Boo!
2559
2560         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2561
2562         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2563         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2564         the possibility of deadlocks here if code calling notify() or
2565         set() has a lock that can be taken in another notify handler (ABBA
2566         with class lock and e.g. python GIL state lock).
2567
2568 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2569
2570         * gst/gstbus.c: Doc updates.
2571
2572 2005-10-28  Wim Taymans  <wim@fluendo.com>
2573
2574         * docs/design/part-TODO.txt:
2575         * gst/gstiterator.c:
2576         * gst/gstsystemclock.c:
2577         * gst/gstsystemclock.h:
2578         Doc updates.
2579
2580 2005-10-28  Edward Hervey  <edward@fluendo.com>
2581
2582         * docs/gst/gstreamer-docs.sgml:
2583         * docs/gst/gstreamer-sections.txt:
2584         the GstURIType documentation page is private, it only defines GstURIType
2585         which should be defined in the GstURIHandler page
2586         
2587 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2588
2589         * gst/gstbin.c: (gst_bin_class_init):
2590         * gst/gstbin.h:
2591         * gst/gstutils.c:
2592         Documentation updates.
2593
2594 2005-10-28  Wim Taymans  <wim@fluendo.com>
2595
2596         * docs/gst/gstreamer-sections.txt:
2597         * gst/gstclock.c:
2598         * gst/gstclock.h:
2599         Documented the clocks.
2600
2601 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2602
2603         * docs/gst/gstreamer-sections.txt:
2604           move some macros to private sections
2605         * gst/gstminiobject.c:
2606         * gst/gstminiobject.h:
2607           add descriptions provided by ds and some more
2608         * gst/gstpad.h:
2609           mark macro as to be removed
2610
2611 2005-10-28  Wim Taymans  <wim@fluendo.com>
2612
2613         * docs/design/part-TODO.txt:
2614         Add an item to TODO.
2615
2616         * gst/gstiterator.c: (gst_iterator_fold),
2617         (gst_iterator_find_custom):
2618         * gst/gstiterator.h:
2619         Add iterator docs.
2620
2621 2005-10-28  Wim Taymans  <wim@fluendo.com>
2622
2623         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2624         (gst_base_transform_init):
2625         Don't leak class.
2626
2627         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2628         An EOS event marks the queue as completely filled.
2629
2630 2005-10-27  Wim Taymans  <wim@fluendo.com>
2631
2632         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2633         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2634         Some more debugging.
2635
2636         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2637         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2638         (gst_base_transform_event), (gst_base_transform_getrange),
2639         (gst_base_transform_chain):
2640         * gst/base/gstbasetransform.h:
2641         Fix debugging,
2642         Protect transform and concurrent buffer alloc with a new lock.
2643         Try not to break ABI/API.
2644
2645 2005-10-27  Wim Taymans  <wim@fluendo.com>
2646
2647         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2648         (gst_base_src_init), (gst_base_src_query),
2649         (gst_base_src_default_newsegment),
2650         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2651         (gst_base_src_send_event), (gst_base_src_event_handler),
2652         (gst_base_src_pad_get_range), (gst_base_src_loop),
2653         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2654         (gst_base_src_start), (gst_base_src_deactivate),
2655         (gst_base_src_activate_push), (gst_base_src_change_state):
2656         Move some stuff around and cleanup things.
2657
2658 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2659
2660         * gst/base/gstbasesrc.c: (gst_base_src_query):
2661           Add missing break statements.
2662
2663 2005-10-27  Wim Taymans  <wim@fluendo.com>
2664
2665         * check/gst/gstbin.c: (GST_START_TEST):
2666         An extra refcount is taken in basesrc.
2667
2668         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2669         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2670         (gst_base_src_loop):
2671         Small cleanups, check for flushing after being unlocked from the 
2672         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2673         Don't send out EOS when going to READY.
2674
2675 2005-10-27  Wim Taymans  <wim@fluendo.com>
2676
2677         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2678         (gst_base_sink_get_position):
2679         Some more debug.
2680
2681         * gst/gstbin.c: (message_check), (bin_replace_message),
2682         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2683         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2684         (bin_query_duration_init), (bin_query_duration_fold),
2685         (bin_query_duration_done), (bin_query_generic_fold),
2686         (gst_bin_query):
2687         * tools/gst-launch.c: (main):
2688         Remove old option.
2689
2690 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2691
2692         * examples/controller/audio-example.c: (main):
2693         * examples/queue/queue.c: (event_loop):
2694         * gst/base/gstbasetransform.h:
2695         * gst/gstelement.c: (gst_element_send_event):
2696         * gst/gstevent.h:
2697         * gst/gstpad.c: (gst_pad_send_event):
2698           fixing examples
2699           fixing docs typos
2700           changing log priority in error situations
2701
2702 2005-10-25  Wim Taymans  <wim@fluendo.com>
2703
2704         * gst/gstbin.c: (message_check), (bin_replace_message),
2705         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2706         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2707         (bin_query_duration_init), (bin_query_duration_fold),
2708         (bin_query_duration_done), (bin_query_generic_fold),
2709         (gst_bin_query):
2710         Some doc and debug updates.
2711         Cache previously requested query DURATION for speed. invalidate
2712         cached duration if element posts a DURATION message.
2713
2714 2005-10-25  Wim Taymans  <wim@fluendo.com>
2715
2716         * docs/design/part-TODO.txt:
2717         Update TODO.
2718
2719         * gst/gstbin.c: (message_check), (bin_replace_message),
2720         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2721         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2722         (bin_query_duration_init), (bin_query_duration_fold),
2723         (bin_query_duration_done), (bin_query_generic_fold),
2724         (gst_bin_query):
2725         Handle SEGMENT_START/DONE messages correctly.
2726         More evolved query algorithm that handles duration queries
2727         correctly.
2728
2729         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2730         (gst_element_get_state_func), (gst_element_abort_state),
2731         (gst_element_commit_state), (gst_element_lost_state):
2732         Some more debugging.
2733
2734         * gst/gstmessage.h:
2735         Added doc.
2736
2737 2005-10-25  Wim Taymans  <wim@fluendo.com>
2738
2739         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2740         Don't use invalid stream_time.
2741
2742         * gst/gstevent.c: (gst_event_new_newsegment):
2743         stream_time in newsegment cannot be undefined.
2744
2745 2005-10-24  Wim Taymans  <wim@fluendo.com>
2746
2747         * gst/gstbus.c:
2748         Doc fix.
2749
2750         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2751         (gst_queue_loop):
2752         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2753
2754 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2755
2756         * docs/libs/tmpl/gstdparam.sgml:
2757         * docs/libs/tmpl/gstdplinint.sgml:
2758         * docs/libs/tmpl/gstdpman.sgml:
2759         * docs/libs/tmpl/gstdpsmooth.sgml:
2760         * docs/libs/tmpl/gstunitconvert.sgml:
2761           these are obsolete
2762
2763 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2764
2765         * configure.ac:
2766           back to HEAD
2767
2768 === release 0.9.4 ===
2769
2770 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2771
2772         * configure.ac:
2773           releasing 0.9.4, "Tyrannosaurus Rex"
2774
2775 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2776
2777         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2778         (gst_file_sink_get_current_offset):
2779           Use fseeko() and ftello() if available. When falling back on
2780           lseek() to get the current offset, fflush() first to make sure
2781           everything is up-to-date and we get the right offset.
2782
2783 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2784
2785         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2786         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2787         * gst/gsterror.c: (_gst_stream_errors_init):
2788         * gst/gsterror.h:
2789         * gst/gstqueue.c: (gst_queue_loop):
2790         * po/POTFILES.in:
2791           remove prematurely added error category and clean up the instances
2792
2793 2005-10-21  Wim Taymans  <wim@fluendo.com>
2794
2795         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2796         (gst_base_sink_get_position), (gst_base_sink_query),
2797         (gst_base_sink_change_state):
2798         Simply set the right flag when going to playing, that's all
2799         we need to do instead of calling a function inside the object
2800         lock (that could take the lock as well and deadlock)
2801
2802 2005-10-21  Wim Taymans  <wim@fluendo.com>
2803
2804         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2805         (gst_base_src_loop):
2806         Don't warn, the peer element knows what to do best when
2807         the seek failed, it might try something else.
2808
2809 2005-10-21  Wim Taymans  <wim@fluendo.com>
2810
2811         * gst/base/gstbasesrc.c: (gst_base_src_init),
2812         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2813         Fix seeking.
2814
2815 2005-10-21  Wim Taymans  <wim@fluendo.com>
2816
2817         * docs/design/part-segments.txt:
2818         More docs.
2819
2820         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2821         Correctly set caps, even on the subbufer.
2822
2823 2005-10-21  Wim Taymans  <wim@fluendo.com>
2824
2825         * docs/gst/gstreamer-docs.sgml:
2826         * docs/gst/gstreamer-sections.txt:
2827         * gst/gstelement.h:
2828         * gst/gstevent.c:
2829         * gst/gstevent.h:
2830         * gst/gstmessage.h:
2831         * gst/gstpad.h:
2832         * gst/gstparse.h:
2833         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2834         * gst/gsttask.h:
2835         * gst/gstutils.c:
2836         * gst/gstutils.h:
2837         And 2% more doc coverage.
2838
2839 2005-10-21  Andy Wingo  <wingo@pobox.com>
2840
2841         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2842         position reporting.
2843
2844 2005-10-20  Wim Taymans  <wim@fluendo.com>
2845
2846         * gst/gsterror.c: (gst_error_get_message):
2847         * gst/gstparse.h:
2848         * gst/gstquery.h:
2849         * gst/gststructure.c:
2850         * gst/gsttrace.c:
2851         * gst/gstutils.c:
2852         More docs.
2853
2854 2005-10-20  Wim Taymans  <wim@fluendo.com>
2855
2856         * gst/gstbuffer.h:
2857         * gst/gstpad.c:
2858         * gst/gstparse.c:
2859         Another 1% more coverage.
2860
2861 2005-10-20  Wim Taymans  <wim@fluendo.com>
2862
2863         * docs/gst/gstreamer-sections.txt:
2864         * gst/gstelement.c: (gst_element_get_state_func),
2865         (gst_element_abort_state), (gst_element_commit_state),
2866         (gst_element_lost_state):
2867         * gst/gstevent.h:
2868         * gst/gstquery.c: (gst_query_set_position),
2869         (gst_query_parse_position), (gst_query_set_duration),
2870         (gst_query_parse_duration), (gst_query_new_convert):
2871         * gst/gstutils.c:
2872         Yay! 1% more docs coverage.
2873
2874 2005-10-20  Wim Taymans  <wim@fluendo.com>
2875
2876         * gst/gstpad.h:
2877         * gst/gstquery.c: (gst_query_set_position),
2878         (gst_query_parse_position), (gst_query_set_duration),
2879         (gst_query_parse_duration), (gst_query_new_convert):
2880         * gst/gstquery.h:
2881         * gst/gstutils.c: (gst_element_query_convert):
2882         * gst/gstutils.h:
2883         Docs and consistency fixes.
2884
2885 2005-10-20  Wim Taymans  <wim@fluendo.com>
2886
2887         * gst/gsttask.c:
2888         * gst/gsttask.h:
2889         More docs.
2890
2891 2005-10-20  Wim Taymans  <wim@fluendo.com>
2892
2893         * gst/gstbin.c: (message_check), (bin_replace_message),
2894         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2895         (update_degree), (gst_bin_sort_iterator_next),
2896         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2897         Reworked the message handling a bit, cache the messages instead of
2898         only the senders. alows us to do more in the future.
2899
2900 2005-10-20  Wim Taymans  <wim@fluendo.com>
2901
2902         * docs/design/part-TODO.txt:
2903         Update TODO
2904
2905         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2906         (gst_base_sink_query):
2907         Don't use clock time to report position when in EOS.
2908
2909 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2910
2911         * tools/gst-inspect.c: (print_interfaces),
2912         (print_element_properties_info), (print_element_info):
2913           Fix interface output with gst-inspect -a; don't print
2914           newlines after double/float properties.
2915
2916 2005-10-20  Wim Taymans  <wim@fluendo.com>
2917
2918         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2919         (gst_base_sink_query):
2920         Speed up current position calculation.
2921
2922         * gst/base/gstbasesrc.c: (gst_base_src_query),
2923         (gst_base_src_default_newsegment):
2924         Correctly set stream position in newsegment.
2925
2926         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2927         (update_degree), (gst_bin_sort_iterator_next),
2928         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2929         * gst/gstmessage.c: (gst_message_new_custom):
2930         Clean up debugging info
2931
2932         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2933         (gst_queue_loop), (gst_queue_handle_src_query):
2934         Pause task faster.
2935
2936 2005-10-19  Wim Taymans  <wim@fluendo.com>
2937
2938         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2939         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2940         Fix query handling again.
2941
2942 2005-10-19  Wim Taymans  <wim@fluendo.com>
2943
2944         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2945         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2946         * gst/base/gstbasesrc.c: (gst_base_src_query):
2947         * gst/elements/gstfilesink.c: (gst_file_sink_query):
2948         * gst/elements/gsttypefindelement.c:
2949         (gst_type_find_handle_src_query), (find_element_get_length),
2950         (gst_type_find_element_activate):
2951         API change fix.
2952
2953         * gst/gstquery.c: (gst_query_new_position),
2954         (gst_query_set_position), (gst_query_parse_position),
2955         (gst_query_new_duration), (gst_query_set_duration),
2956         (gst_query_parse_duration), (gst_query_set_segment),
2957         (gst_query_parse_segment):
2958         * gst/gstquery.h:
2959         Bundling query position/duration is not a good idea since duration
2960         does not change much and we don't want to recalculate it for every
2961         position query, so they are separated again..
2962         Base value in segment query is not needed.
2963
2964         * gst/gstqueue.c: (gst_queue_handle_src_query):
2965         * gst/gstutils.c: (gst_element_query_position),
2966         (gst_element_query_duration), (gst_pad_query_position),
2967         (gst_pad_query_duration):
2968         * gst/gstutils.h:
2969         Updates for query API change.
2970         Added some docs here and there.
2971
2972 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
2973
2974         * check/gst/gstbin.c: (GST_START_TEST):
2975         * check/gst/gstghostpad.c: (GST_START_TEST):
2976         * check/pipelines/cleanup.c: (GST_START_TEST):
2977           wait on thread to die so we can check refcount correctly
2978
2979 2005-10-18  Wim Taymans  <wim@fluendo.com>
2980
2981         * check/pipelines/stress.c: (GST_START_TEST):
2982         Make check a little more time consuming.
2983
2984 2005-10-18  Wim Taymans  <wim@fluendo.com>
2985
2986         * check/Makefile.am:
2987         * check/pipelines/stress.c: (GST_START_TEST),
2988         (simple_launch_lines_suite), (main):
2989         Small state change torture test.
2990
2991         * docs/design/part-states.txt:
2992         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2993         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2994         (gst_base_sink_change_state):
2995         Never take state lock from streaming thread, clean up ugly
2996         hacks. Unfortunatly core does not yet support nice ways to
2997         async commit state.
2998         
2999         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3000         (bin_bus_handler):
3001         Start state recalc if a STATE_DIRTY message is posted, but only
3002         on the toplevel bin.
3003
3004         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3005         (gst_element_get_state_func), (gst_element_abort_state),
3006         (gst_element_commit_state), (gst_element_lost_state),
3007         (gst_element_set_state_func), (gst_element_change_state):
3008         * gst/gstelement.h:
3009         State variables are now protected with the LOCK, the state
3010         lock is only used to serialize _set_state().
3011
3012 2005-10-18  Wim Taymans  <wim@fluendo.com>
3013
3014         * check/gst/gstbin.c: (GST_START_TEST):
3015         * check/gst/gstmessage.c: (GST_START_TEST):
3016         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3017         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3018         (bin_bus_handler):
3019         * gst/gstelement.c: (gst_element_abort_state),
3020         (gst_element_commit_state), (gst_element_lost_state):
3021         * gst/gstmessage.c: (gst_message_new_state_changed),
3022         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3023         (gst_message_new_segment_done), (gst_message_new_duration),
3024         (gst_message_parse_state_changed),
3025         (gst_message_parse_segment_start),
3026         (gst_message_parse_segment_done), (gst_message_parse_duration):
3027         * gst/gstmessage.h:
3028         * tools/gst-launch.c: (event_loop):
3029         Seriously, this is better than a previous commit as we only need
3030         to notify the fact that an element changed state in a streaming
3031         thread, marking the state of the parents dirty, hence the 
3032         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3033         message.
3034
3035 2005-10-18  Wim Taymans  <wim@fluendo.com>
3036
3037         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3038         (gst_bin_recalc_func):
3039         * gst/gstelement.c: (gst_element_set_clock),
3040         (gst_element_abort_state), (gst_element_lost_state):
3041         Cleanups, prepare for state change fixes.
3042
3043 2005-10-18  Wim Taymans  <wim@fluendo.com>
3044
3045         * gst/gstbin.h:
3046         * gst/gstelement.c: (gst_element_class_init),
3047         (gst_element_set_state), (gst_element_set_state_func):
3048         * gst/gstelement.h:
3049         Pending ABI changes.
3050         GThreadPool in GstBinClass to monitor async state changes.
3051         state_cookie in GstElement to detect concurrent gst/set state.
3052         set_state is now virtual too in case a very complicated element
3053         has to be constructed.
3054
3055 2005-10-18  Wim Taymans  <wim@fluendo.com>
3056
3057         * check/gst/gstbin.c: (GST_START_TEST):
3058         * check/gst/gstmessage.c: (GST_START_TEST):
3059         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3060         * gst/gstbin.c: (bin_bus_handler):
3061         * gst/gstelement.c: (gst_element_commit_state),
3062         (gst_element_lost_state):
3063         * gst/gstmessage.c: (gst_message_new_state_changed),
3064         (gst_message_new_segment_start), (gst_message_new_segment_done),
3065         (gst_message_new_duration), (gst_message_parse_state_changed),
3066         (gst_message_parse_segment_start),
3067         (gst_message_parse_segment_done), (gst_message_parse_duration):
3068         * gst/gstmessage.h:
3069         * tools/gst-launch.c: (event_loop):
3070         Make messages future proof.
3071         state-change gets a flag if it was a message comming from the
3072         streaming thread.
3073         segment-start/stop can also be specified in other formats.
3074         A message to notify an app that a pipeline changed playback 
3075         duration.
3076         Also fix a GstMessage leak in -launch
3077
3078 2005-10-18  Andy Wingo  <wingo@pobox.com>
3079
3080         * gst/gstelement.c (gst_element_dispose): More helpful message.
3081
3082 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3083
3084         reviewed by: <delete if not using a buddy>
3085
3086         * common/gtk-doc.mak:
3087
3088 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3089
3090         * gst/gstregistry.c: (gst_registry_scan_path_level):
3091           unref a plug-in we get that was already initialized
3092
3093 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3094
3095         * docs/gst/gstreamer-sections.txt:
3096         * docs/libs/gstreamer-libs-sections.txt:
3097         * gst/gstelement.h:
3098           add new api entries
3099           hide internal macro
3100
3101 2005-10-17  Andy Wingo  <wingo@pobox.com>
3102
3103         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3104         cleanup.
3105
3106         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3107
3108         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3109
3110         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3111         (gst_element_get_state_func): Better debug message.
3112         (gst_element_commit_state): s/INFO/DEBUG/.
3113         (gst_element_lost_state, gst_element_change_state): 
3114
3115         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3116         (gst_message_new_custom): s/INFO/LOG/.
3117
3118 2005-10-17  Michael Smith <msmith@fluendo.com>
3119
3120         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3121           Check if end time is valid using end time, not start time.
3122
3123 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3124
3125         * check/gst-libs/controller.c: (GST_START_TEST),
3126         (gst_controller_suite):
3127         * libs/gst/controller/gstcontroller.c:
3128         (gst_controlled_property_set_interpolation_mode):
3129         * libs/gst/controller/gstcontroller.h:
3130         * libs/gst/controller/gstinterpolation.c:
3131         * testsuite/controller/.cvsignore:
3132         * testsuite/controller/Makefile.am:
3133         * testsuite/controller/interpolator.c:
3134           merge controller testsuites
3135           fix broken tests
3136           remove mem-chunk from docs
3137
3138 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3139
3140         * gst/gstmemchunk.c:
3141         * gst/gstmemchunk.h:
3142         * gst/gsttrashstack.c:
3143         * gst/gsttrashstack.h:
3144           out.  get out.  you're fired.  to the Attic !
3145
3146 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3147
3148         * gst/gstcaps.c: (gst_caps_intersect):
3149           fix signedness issues in a (hopefully) correct way
3150         * gst/gstelement.c: (gst_element_pads_activate):
3151           some debugging
3152         * gst/gstobject.c: (gst_object_set_parent):
3153           some debugging
3154
3155 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3156
3157         * gst/gstvalue.h: Fix prototypes.
3158
3159 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3160
3161         * docs/gst/gstreamer-sections.txt:
3162         * gst/gst.c: (gst_version_string):
3163         * gst/gst.h:
3164         * gst/gstversion.h.in:
3165         * win32/common/libgstreamer.def:
3166           add gst_version_string ()
3167
3168 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3169
3170         * configure.ac:
3171           clean up further
3172         * gst/gst.c: (init_post):
3173         * win32/common/config.h.in:
3174           it's PLUGINDIR now
3175         * gst/gstcaps.c: (gst_caps_intersect):
3176           use gint64, the range could be bigger than a guint
3177
3178 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3179
3180         * gst/gstclock.h:
3181           document potential problem in 2038
3182
3183 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3184
3185         * gst/gstcaps.c: (gst_caps_intersect):
3186           Fix guint j diving under 0
3187
3188 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3189
3190         * configure.ac:
3191         * win32/common/config.h:
3192         * win32/common/config.h.in:
3193           check for process.h, declares getpid() on Windows
3194         * gst/gstinfo.c:
3195           include process.h if we have it
3196         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3197         * gst/gstmemchunk.h:
3198           fix signedness issues
3199         * win32/common/libgstreamer.def:
3200           fix get_type's
3201
3202 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3203
3204         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3205         fix. Because of unsigned ints, caps intersection was going nuts and
3206         trying to access structures with G_MAXUINT index. That fixes
3207         videotestsrc ! ffmpegcolorspace ! fakesink
3208         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3209         consistency.
3210
3211 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3212
3213         * configure.ac:
3214           use the gettext macro
3215         * gst/elements/gstelements.c:
3216         * gst/gst.c:
3217         * gst/indexers/gstindexers.c:
3218           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3219         * win32/common/config.h:
3220           updated config.h
3221         * win32/common/config.h.in:
3222           add the template to generate config.h
3223         * win32/common/gstenumtypes.c:
3224         * win32/common/gstversion.h:
3225           updated copies
3226
3227 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3228
3229         * gst/gst.c: (gst_version):
3230         * gst/gstversion.h.in:
3231           add the nano
3232
3233 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3234
3235         * gst/gstevent.h:
3236           Oops, add missing closing bracket.
3237
3238 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3239
3240         * configure.ac:
3241           use common m4's for argument checking
3242
3243 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3244
3245         * docs/gst/gstreamer-sections.txt:
3246         * gst/gstevent.h:
3247           Add GST_EVENT_TYPE_NAME() macro.
3248
3249 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3250
3251         * gst/gstinfo.c:
3252         * gst/gstpluginfeature.c:
3253         * gst/gsttask.c:
3254           privatize more symbols
3255
3256 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3257
3258         * configure.ac:
3259           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3260           everything that uses GStreamer API should have the includes
3261
3262 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3263
3264         * docs/gst/gstreamer-sections.txt:
3265         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3266         * gst/gstvalue.h:
3267           give each value a _get_type, removes the DATA exports
3268
3269 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3270
3271         * gst/gst.c:
3272         * gst/gst.h:
3273           remove _gst_registry_auto_load, not used anymore
3274         * gst/gstbin.c: (gst_bin_get_type):
3275         * gst/gstbin.h:
3276         * gst/gstelement.c: (gst_element_get_type):
3277         * gst/gstelement.h:
3278         * gst/gstobject.c: (gst_object_get_type):
3279         * gst/gstobject.h:
3280         * gst/gstpad.c: (gst_pad_get_type):
3281         * gst/gstpad.h:
3282           make _get_type functions similar, fixes data export from library
3283
3284 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3285
3286         * configure.ac:
3287           correctly make conditionals
3288         * gst/elements/Makefile.am:
3289         * gst/elements/gstelements.c:
3290           fix typo causing fdsrc not to build
3291
3292 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3293
3294         * testsuite/Makefile.am:
3295         * testsuite/bytestream/.cvsignore:
3296         * testsuite/bytestream/Makefile.am:
3297         * testsuite/bytestream/filepadsink.c:
3298         * testsuite/bytestream/gstbstest.c:
3299         * testsuite/bytestream/test1.c:
3300         * testsuite/bytestream/testfile1:
3301         * testsuite/caps/normalisation.c:
3302         * testsuite/caps/random.c: (main):
3303         * testsuite/cleanup/.cvsignore:
3304         * testsuite/cleanup/Makefile.am:
3305         * testsuite/cleanup/cleanup1.c:
3306         * testsuite/cleanup/cleanup2.c:
3307         * testsuite/cleanup/cleanup3.c:
3308         * testsuite/cleanup/cleanup4.c:
3309         * testsuite/cleanup/cleanup5.c:
3310         * testsuite/controller/interpolator.c:
3311         * testsuite/debug/printf_extension.c: (main):
3312         * testsuite/elements/tee.c:
3313         * testsuite/negotiation/.cvsignore:
3314         * testsuite/negotiation/Makefile.am:
3315         * testsuite/negotiation/pad_link.c:
3316         * testsuite/pad/Makefile.am:
3317         * testsuite/pad/chainnopull.c:
3318         * testsuite/pad/getnopush.c:
3319         * testsuite/pad/link.c:
3320         * testsuite/refcounting/sched.c: (create_pipeline):
3321         * testsuite/registry/Makefile.am:
3322         * testsuite/registry/gst-print-formats.c:
3323         * testsuite/schedulers/.cvsignore:
3324         * testsuite/schedulers/142183-2.c:
3325         * testsuite/schedulers/142183.c:
3326         * testsuite/schedulers/143777-2.c:
3327         * testsuite/schedulers/143777.c:
3328         * testsuite/schedulers/147713.c:
3329         * testsuite/schedulers/147819.c:
3330         * testsuite/schedulers/147894-2.c:
3331         * testsuite/schedulers/147894.c:
3332         * testsuite/schedulers/Makefile.am:
3333         * testsuite/schedulers/group_link.c:
3334         * testsuite/schedulers/queue_link.c:
3335         * testsuite/schedulers/relink.c:
3336         * testsuite/schedulers/unlink.c:
3337         * testsuite/schedulers/unref.c:
3338         * testsuite/schedulers/useless_iteration.c:
3339         * testsuite/states/bin.c:
3340           clean out/remove some stuff from the testsuite directories
3341
3342 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3343
3344         * configure.ac:
3345           check for some headers
3346         * gst/elements/Makefile.am:
3347         * gst/elements/gstelements.c:
3348           don't compile fdsrc without sys/socket.h
3349         * gst/indexers/Makefile.am:
3350         * gst/indexers/gstindexers.c: (plugin_init):
3351           don't compile fileindex without mmap
3352
3353 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3354
3355         * configure.ac:
3356           reorganize
3357           clean up
3358           document more
3359           remove cruft
3360         * check/Makefile.am:
3361         * docs/gst/Makefile.am:
3362         * examples/helloworld/Makefile.am:
3363         * gst/Makefile.am:
3364         * gst/base/Makefile.am:
3365         * gst/check/Makefile.am:
3366         * gst/elements/Makefile.am:
3367         * gst/indexers/Makefile.am:
3368         * gst/parse/Makefile.am:
3369         * libs/gst/controller/Makefile.am:
3370         * libs/gst/dataprotocol/Makefile.am:
3371         * examples/helloworld/helloworld.c: (event_loop):
3372           compile fixes, though it's not being compiled currently
3373
3374 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3375
3376         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3377           Add some simple tests for the new taglist date API.
3378
3379 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3380
3381         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3382         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3383           Beautify 'last-message' output: print 'none' for buffer timestamps
3384           and durations if none is set; improve alignment with next messages.
3385
3386 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3387
3388         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3389         * gst/gstpluginfeature.h:
3390         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3391         * gst/gstregistry.h:
3392         * docs/gst/gstreamer-sections.txt:
3393           Add new API to check plugin feature version requirements.
3394
3395         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3396           Some basic tests for the above.         
3397
3398 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3399
3400         * gst/gststructure.c: (gst_structure_to_string):
3401           guard against NULL printf - happens when for example
3402           a message structure with GstClock gets serialized
3403
3404 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3405
3406         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3407           Fix presumable copy'n'pasto.
3408
3409 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3410
3411         * gst/elements/gstfakesrc.h:
3412         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3413         * gst/elements/gsttypefindelement.c:
3414           fix some signedness
3415         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3416           I wonder if this could actually write +2GB files before
3417
3418 2005-10-13  Andy Wingo  <wingo@pobox.com>
3419
3420         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3421         Fix Timmeke Waymans bug.
3422         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3423         string of the proper length to gst_caps_from_string. There's a
3424         potential for, before this fix, that this could cause someone
3425         connecting over the network to cause a segfault if the payload is
3426         not NUL-terminated.
3427
3428 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3429
3430         * docs/design/draft-push-pull.txt:
3431         * docs/design/part-overview.txt:
3432         * docs/random/TODO-pre-0.9:
3433         * docs/random/old/ChangeLog.gstreamer:
3434         * gst/base/gstpushsrc.c:
3435         * gst/gstclock.c:
3436           fixed typos
3437
3438 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3439
3440         * gst/glib-compat.c: (gst_flags_get_first_value):
3441         * gst/glib-compat.h:
3442         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3443         (gst_value_compare_double), (gst_value_serialize_flags):
3444           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3445           infinite loop
3446
3447 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3448
3449         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3450         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3451           fix up debugging
3452         * tools/gst-launch.c: (event_loop):
3453           print out clock nicely
3454
3455 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3456
3457         * docs/gst/gstreamer-sections.txt:
3458         * gst/gsttaglist.h:
3459         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3460         (gst_tag_list_get_date_index):
3461           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3462           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3463
3464 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3465
3466         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3467         (gst_collectpads_chain):
3468         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3469         in CollectData.
3470
3471 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3472
3473         * docs/gst/gstreamer-sections.txt:
3474         * gst/gst.c:
3475         * gst/gsterror.h:
3476         * tools/gst-inspect.c: (main):
3477         * tools/gst-launch.c: (main):
3478         * tools/gst-run.c: (main):
3479         * tools/gst-xmlinspect.c: (main):
3480           fix GOption context leaks
3481           doc fixes
3482
3483 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3484
3485         * gst/gstbus.c:
3486           use HAVE_UNISTD_H
3487         * win32/common/config.h:
3488           update config
3489         * win32/vs6/grammar.dsp:
3490         * win32/vs6/libgstelements.dsp:
3491         * win32/vs6/libgstreamer.dsp:
3492           update vs6 files
3493
3494 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3495
3496         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3497         * gst/base/gstbasesrc.c: (gst_base_src_query):
3498           fix more guint64<->gdouble conversions
3499
3500 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3501
3502         * Makefile.am:
3503           add win32-update target
3504         * win32/common/gstconfig.h:
3505         * win32/common/gstenumtypes.c:
3506         * win32/common/gstenumtypes.h:
3507         * win32/common/gstversion.h:
3508           add files that visual studio can't generate
3509
3510 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3511
3512         * Makefile.am:
3513           add a win32-update target
3514         * configure.ac:
3515
3516 2005-10-12  Wim Taymans  <wim@fluendo.com>
3517
3518         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3519         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3520         * gst/gstelement.c: (gst_element_commit_state),
3521         (gst_element_set_state):
3522         Protect flags with proper lock.
3523         unref provided cached clock in dispose.
3524
3525 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3526
3527         * gst/gst.c:
3528         * gst/gstminiobject.h:
3529         * gst/gstpad.h:
3530         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3531           removed unused flags from miniobject
3532           doc fixes
3533
3534 2005-10-12  Wim Taymans  <wim@fluendo.com>
3535
3536         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3537         (gst_file_sink_event), (gst_file_sink_render):
3538         Flush before seeking.
3539
3540 2005-10-12  Andy Wingo  <wingo@pobox.com>
3541
3542         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3543         always been the case.
3544
3545 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3546
3547         * check/gst/gstbin.c: (GST_START_TEST):
3548         * docs/gst/gstreamer-sections.txt:
3549         * gst/base/gstbasesink.c: (gst_base_sink_init):
3550         * gst/base/gstbasesrc.c: (gst_base_src_init),
3551         (gst_base_src_get_range), (gst_base_src_check_get_range),
3552         (gst_base_src_start), (gst_base_src_stop):
3553         * gst/base/gstbasesrc.h:
3554         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3555         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3556         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3557         (bin_bus_handler):
3558         * gst/gstbin.h:
3559         * gst/gstbuffer.h:
3560         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3561         * gst/gstbus.h:
3562         * gst/gstelement.c: (gst_element_is_locked_state),
3563         (gst_element_set_locked_state), (gst_element_commit_state),
3564         (gst_element_set_state):
3565         * gst/gstelement.h:
3566         * gst/gstindex.c: (gst_index_init):
3567         * gst/gstindex.h:
3568         * gst/gstminiobject.h:
3569         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3570         (gst_object_set_parent):
3571         * gst/gstobject.h:
3572         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3573         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3574         * gst/gstpad.h:
3575         * gst/gstpadtemplate.h:
3576         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3577         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3578         * gst/gstpipeline.h:
3579         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3580         (gst_file_index_commit):
3581         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3582         * testsuite/pad/link.c: (gst_test_src_init),
3583         (gst_test_filter_init), (gst_test_sink_init):
3584         * testsuite/states/locked.c: (main):
3585           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3586           moved bitshift from macro to enum definition
3587
3588 2005-10-12  Wim Taymans  <wim@fluendo.com>
3589
3590         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3591         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3592         (gst_file_sink_render):
3593         Some more debugging info.
3594
3595 2005-10-12  Wim Taymans  <wim@fluendo.com>
3596
3597         * docs/design/part-states.txt:
3598         * tools/gst-launch.c: (main):
3599         Some doc updates.
3600         Revert non-intentional change.
3601
3602 2005-10-12  Wim Taymans  <wim@fluendo.com>
3603
3604         * check/gst/gstbin.c: (GST_START_TEST):
3605         * check/gst/gstelement.c: (GST_START_TEST):
3606         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3607         * check/gst/gstghostpad.c: (GST_START_TEST):
3608         * check/gst/gstpipeline.c: (GST_START_TEST):
3609         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3610         * check/states/sinks.c: (GST_START_TEST):
3611         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3612         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3613         (gst_bin_remove_func), (gst_bin_get_state_func),
3614         (gst_bin_recalc_state), (gst_bin_change_state_func),
3615         (bin_bus_handler):
3616         * gst/gstelement.c: (gst_element_get_state_func),
3617         (gst_element_get_state), (gst_element_abort_state),
3618         (gst_element_commit_state), (gst_element_set_state),
3619         (gst_element_change_state), (gst_element_change_state_func):
3620         * gst/gstelement.h:
3621         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3622         (gst_pipeline_provide_clock_func):
3623         * gst/gstutils.c: (gst_element_link_pads_filtered):
3624         * tools/gst-launch.c: (main):
3625         * tools/gst-typefind.c: (main):
3626         Use GstClockTime in _get_state() instead of GTimeVal.
3627         Remove old code in gstutils.c
3628
3629 2005-10-12  Andy Wingo  <wingo@pobox.com>
3630
3631         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3632         removed.
3633
3634         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3635         there is no task. Shouldn't affect any code, as nothing in our
3636         plugins checks this return value.
3637         (gst_pad_stop_task): Also take the stream lock if the pad has no
3638         task. Docs updated.
3639
3640 2005-10-12  Wim Taymans  <wim@fluendo.com>
3641
3642         * gst/gstpad.c: (pre_activate), (post_activate),
3643         (gst_pad_activate_pull), (gst_pad_activate_push):
3644         Cleanup activation code. Reset old state if
3645         activation failed.
3646
3647 2005-10-12  Wim Taymans  <wim@fluendo.com>
3648
3649         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3650         (gst_base_sink_change_state):
3651         No need to prerol after receiving EOS.
3652
3653         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3654         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3655         * gst/elements/gstidentity.c: (gst_identity_event):
3656         Print events more verbosely.
3657
3658 2005-10-12  Wim Taymans  <wim@fluendo.com>
3659
3660         * check/Makefile.am:
3661         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3662         * check/states/sinks2.c:
3663         Moved sinks2 testcode in sinks check.
3664
3665         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3666         (gst_bin_remove_func), (gst_bin_recalc_state),
3667         (gst_bin_change_state_func), (bin_bus_handler):
3668         Fix potential race condition when _get_state() iterated over an
3669         ASYNC element right before it posted a state completion.
3670
3671         * gst/gstclock.h:
3672         Do proper cast here.
3673
3674         * gst/gstevent.c: (gst_event_new_newsegment),
3675         (gst_event_parse_newsegment):
3676         A playback rate of 0.0 is not allowed.
3677
3678 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3679
3680         * win32/common/config.h:
3681         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3682         (_trewinddir), (_ttelldir), (_tseekdir):
3683         * win32/common/dirent.h:
3684         * win32/common/gtchar.h:
3685         * win32/common/libgstbase.def:
3686         * win32/common/libgstreamer.def:
3687         * win32/vs6/grammar.dsp:
3688         * win32/vs6/gst_inspect.dsp:
3689         * win32/vs6/gst_launch.dsp:
3690         * win32/vs6/gstreamer.dsw:
3691         * win32/vs6/libgstbase.dsp:
3692         * win32/vs6/libgstelements.dsp:
3693         * win32/vs6/libgstreamer.dsp:
3694           Visual Studio 6 project files, and a new common directory.
3695           Phear.
3696
3697 2005-10-11  Wim Taymans  <wim@fluendo.com>
3698
3699         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3700         (gst_base_sink_do_sync), (gst_base_sink_query),
3701         (gst_base_sink_change_state):
3702         * gst/base/gstbasesink.h:
3703         Correctly parse newsegment info.
3704
3705 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3706
3707         * gst/gst.c: (init_post):
3708           split plugin paths correctly
3709
3710 2005-10-11  Wim Taymans  <wim@fluendo.com>
3711
3712         * check/gst/gstevent.c: (GST_START_TEST):
3713         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3714         (gst_base_sink_change_state):
3715         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3716         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3717         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3718         * gst/gstevent.c: (gst_event_new_newsegment),
3719         (gst_event_parse_newsegment):
3720         * gst/gstevent.h:
3721         Added extra flag to newsegment for future API freeze.
3722         Updated check and base elements.
3723
3724 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3725
3726         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3727         (gst_collectpads_add_pad), (gst_collectpads_pop),
3728         (gst_collectpads_event), (gst_collectpads_chain):
3729         * gst/base/gstcollectpads.h: Handle EOS correctly.
3730
3731 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3732
3733         * tools/gst-launch.c: (main):
3734           more null protecting
3735
3736 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3737
3738         * gst/gst-i18n-lib.h:
3739           check for ENABLE_NLS, not GETTEXT_PACKAGE
3740         * gst/gstregistry.c: (gst_registry_add_plugin),
3741         (gst_registry_scan_path_level),
3742         (_gst_registry_remove_cache_plugins):
3743           protect possibly NULL strings
3744         * gst/parse/types.h:
3745           config.h already included before
3746         * tools/gst-inspect.c: (main):
3747           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3748           check for ENABLE_NLS, not GETTEXT_PACKAGE
3749         * tools/gst-launch.c: (main):
3750           check for ENABLE_NLS, not GETTEXT_PACKAGE
3751
3752 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3753
3754         * configure.ac:
3755           if we don't have glib, fail before testing 2.8
3756         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3757           fix a leak, should fix plugins-base testsuite
3758
3759 2005-10-11  Andy Wingo  <wingo@pobox.com>
3760
3761         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3762         take the mode we're going to as an arg. Go head and set the mode
3763         and flushing flags now, so that if the activate function starts a
3764         thread all the flags will be in the right state.
3765         (post_activate): Renamed also. Just handle making sure streaming
3766         finishes for the deactivation case, and setting the deactivated
3767         mode.
3768         (gst_pad_set_active): Complain loudly if deactivation fails.
3769         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3770         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3771         remove the terrible hack.
3772
3773 2005-10-11  Wim Taymans  <wim@fluendo.com>
3774
3775         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3776         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3777         (gst_bin_recalc_state), (gst_bin_change_state_func),
3778         (gst_bin_dispose), (bin_bus_handler):
3779         * gst/gstbin.h:
3780         Prepare to make current EOS message queue more generic.
3781         Fix some typos.
3782
3783         * gst/gstevent.c: (gst_event_new_newsegment),
3784         (gst_event_parse_newsegment):
3785         * gst/gstevent.h:
3786         Rename base to stream_time.
3787
3788         * gst/gstmessage.h:
3789         Fix typo in docs.
3790
3791 2005-10-11  Wim Taymans  <wim@fluendo.com>
3792
3793         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3794         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3795         (gst_bin_change_state_func), (bin_bus_handler):
3796         * gst/gstbin.h:
3797         Work on proper clock selection.
3798
3799 2005-10-11  Edward Hervey  <edward@fluendo.com>
3800
3801         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3802         * libs/gst/controller/gstcontroller.h:
3803         Added GList* version of _remove_properties() in order to be able to wrap
3804         it in bindings.
3805
3806 2005-10-11  Wim Taymans  <wim@fluendo.com>
3807
3808         * docs/design/part-states.txt:
3809         Some more docs.
3810
3811         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3812         (gst_bin_change_state_func), (bin_bus_handler):
3813         Doc updates. Don't distribute the same clock over and over again.
3814
3815         * gst/gstclock.c:
3816         * gst/gstclock.h:
3817         Doc updates.
3818
3819         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3820         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3821         (gst_pad_send_event):
3822         * gst/gstpad.h:
3823         Make probe emission threadsafe again.
3824         Register quarks and move _get_name() from utils.
3825         Doc updates.
3826
3827         * gst/gstpipeline.c: (gst_pipeline_class_init),
3828         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3829         Only redistribute the clock of it changed.
3830
3831         * gst/gstsystemclock.h:
3832         Doc updates. 
3833
3834         * gst/gstutils.c:
3835         * gst/gstutils.h:
3836         Moved the _flow_get_name() to GstPad.
3837
3838 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3839
3840         * check/gst-libs/gdp.c: (GST_START_TEST):
3841         * check/gst/gstcaps.c: (GST_START_TEST):
3842         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3843         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3844         (gst_dp_packet_from_caps):
3845           fix more valgrind warnings before turning up the heat
3846
3847 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3848
3849         * gst/parse/grammar.y:
3850           some cleanup before the hacking
3851
3852 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3853
3854         * gst/base/gstbasesrc.c: (gst_base_src_query):
3855           use conversions
3856         * gst/gstutils.c: (gst_guint64_to_gdouble),
3857         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3858         * gst/gstutils.h:
3859           externalize, basesrc uses it
3860           obviously the implementation needs testing
3861
3862 2005-10-10  Wim Taymans  <wim@fluendo.com>
3863
3864         * tests/sched/Makefile.am:
3865         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3866         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3867
3868 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3869
3870         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3871           apparently converting from guint64 to double is not implemented
3872           on MSVC
3873
3874 2005-10-10  Wim Taymans  <wim@fluendo.com>
3875
3876         * check/Makefile.am:
3877         * check/generic/states.c: (GST_START_TEST):
3878         * check/gst/gstbin.c: (GST_START_TEST):
3879         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3880         * check/states/sinks.c: (GST_START_TEST):
3881         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3882         (main):
3883         Check fixes, use API as stated in design docs, remove hacks.
3884
3885         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3886         (gst_base_sink_change_state):
3887         Catch stopping our task while we're shutting down.
3888
3889         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3890         (gst_bin_remove_func), (gst_bin_get_state_func),
3891         (gst_bin_recalc_state), (gst_bin_change_state_func),
3892         (bin_bus_handler):
3893         * gst/gstbin.h:
3894         * gst/gstelement.c: (gst_element_init),
3895         (gst_element_get_state_func), (gst_element_abort_state),
3896         (gst_element_commit_state), (gst_element_lost_state),
3897         (gst_element_set_state), (gst_element_change_state),
3898         (gst_element_change_state_func):
3899         * gst/gstelement.h:
3900         New state change algorithm (see #318116)
3901
3902         * gst/gstpipeline.c: (gst_pipeline_class_init),
3903         (gst_pipeline_init), (gst_pipeline_set_property),
3904         (gst_pipeline_get_property), (do_pipeline_seek),
3905         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3906         * gst/gstpipeline.h:
3907         Remove crude state change hacks.
3908
3909         * gst/gstutils.h:
3910         Remove crude hacks.
3911
3912         * tools/gst-launch.c: (main):
3913         Fixes for state change. Needs some more work to fully use the
3914         new stuff.
3915
3916 2005-10-10  Andy Wingo  <wingo@pobox.com>
3917
3918         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3919
3920         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3921         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3922         issue.
3923
3924 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3925
3926         * gst/gstiterator.c: (gst_iterator_new):
3927           Fix my previous commit: GTypes passed to gst_iterator_new()
3928           can be fundamental types.
3929
3930 2005-10-10  Wim Taymans  <wim@fluendo.com>
3931
3932         * gst/gstelement.c: (gst_element_iterate_pad_list),
3933         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3934         (gst_element_iterate_sink_pads):
3935         Use src/sink pads lists for the respective iterators instead
3936         of filtering.
3937
3938 2005-10-10  Andy Wingo  <wingo@pobox.com>
3939
3940         Merged in popt removal + GOption addition patch from Ronald, bug
3941         #169772.
3942
3943         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3944         GstElement macros around, remove popt-related symbols, add goption
3945         stuff.
3946
3947         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3948         
3949         * docs/gst/Makefile.am:
3950         * docs/libs/Makefile.am: No POPT_CFLAGS.
3951         
3952         * examples/manual/Makefile.am:
3953         * docs/manual/basics-init.xml: Doc updates with an example.
3954         
3955         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3956         (gst_init), (parse_one_option), (parse_goption_arg):
3957         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3958         bit of hand merging and debugging to get the GOption stuff working
3959         tho.
3960         
3961         * tests/Makefile.am:
3962         * tools/Makefile.am:
3963         * tools/gst-inspect.c: (main):
3964         * tools/gst-launch.c: (main):
3965         * tools/gst-run.c: (main):
3966         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3967
3968 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3969
3970         * gst/gstiterator.c: (gst_iterator_new):
3971           Add assertions to make sure passed GType is likely to really
3972           be a GType (as the compiler won't catch it if the size and
3973           GType arguments get mixed up, see #318447).
3974
3975 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
3976
3977         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3978
3979         * gst/gstbin.c: (gst_bin_iterate_sorted):
3980           Pass GType and size arguments to gst_iterator_new() in the right
3981           order (maybe we should make _new() take the GType as first argument
3982           just like _new_list()?) (#318447).
3983           
3984
3985 2005-10-10  Wim Taymans  <wim@fluendo.com>
3986
3987         * gst/gstelement.c: (gst_element_finalize):
3988         And free the GStaticRecMutex too
3989
3990 2005-10-10  Andy Wingo  <wingo@pobox.com>
3991
3992         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3993         Allocate and free the mutex properly.
3994
3995         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3996         New macros.
3997         (GstElement): The state_lock is now recursive. Rebuild your
3998         plugins, suckers. Old macros adapted.
3999
4000         * docs/gst/gstreamer-sections.txt: Doc updates.
4001
4002         * gst/gstutils.h:
4003         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4004         (g_static_rec_cond_wait): Ported from state changes patch, while
4005         we wait on bug #317802 to be solved in a well-distributed GLib.
4006
4007         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4008         gst_element_change_state, variable name changes.
4009         (gst_element_change_state): Split out of gst_element_set_state in
4010         preparation for the state change merge. Doesn't pay attention to
4011         the 'transition' argument.
4012         (gst_element_set_state): Updates, hopefully purely cosmetic.
4013         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4014         state change patch.
4015         (gst_element_get_state_func): Renamed from get_state, cosmetic
4016         changes.
4017
4018 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4019
4020         * gst/elements/gstelements.c:
4021         * win32/GStreamer.vcproj:
4022         * win32/config.h:
4023         * win32/dirent.c: (_tseekdir):
4024         * win32/gst-inspect.vcproj:
4025         * win32/gst-launch.vcproj:
4026         * win32/gstconfig.h:
4027         * win32/gstelements.vcproj:
4028         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4029         * win32/gstreamer.def:
4030         * win32/msvc71.sln:
4031           updates for the win32 build (patch from Sebastien Moutte)
4032
4033 2005-10-10  Andy Wingo  <wingo@pobox.com>
4034
4035         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4036         gst_bin_get_state, cleaned up (but no logic changes).
4037         (bin_element_is_sink): Comment updates.
4038         (sink_iterator_filter): Remove needless cast.
4039         (gst_bin_iterate_sinks): Doc update.
4040         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4041         cleaned up (but no logic changes).
4042
4043         * check/states/sinks.c (test_src_sink): Cleanups from the state
4044         change patch.
4045         (test_livesrc_sink): Sync on the state.
4046
4047         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4048         the state change patch.
4049
4050         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4051         change patch.
4052
4053         * check/gst/gstbin.c: Merge in some style fixes and additional
4054         checks from Wim's state change patch.
4055
4056 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4057
4058         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4059         (gst_type_find_helper):
4060           Check whether we have the requested data already in our list of
4061           cached buffers before pulling a new buffer; also make the buffer
4062           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4063
4064 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4065
4066         * gst/gstcaps.c:
4067         * gst/gstevent.c:
4068           doc updates
4069         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4070           don't use long long, it's not portable.  Replacing with
4071           gint64 seems to work; let's hope no skeletons fall out of the closet.
4072
4073 2005-10-10  Andy Wingo  <wingo@pobox.com>
4074
4075         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4076
4077 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4078
4079         * docs/gst/gstreamer-sections.txt:
4080         * gst/gstevent.c:
4081         * gst/gstevent.h:
4082         * gst/gstinfo.c:
4083         * gst/gstinfo.h:
4084         * gst/gstmessage.c: (gst_message_parse_state_changed):
4085         * gst/gstpad.c:
4086         * gst/gstpad.h:
4087           more docs, fix compilation
4088
4089 2005-10-09  Philippe Khalaf <burger@speedy.org>
4090         * gst/gstmessage.c:
4091           Fixed a few forgotten variables on previous commit
4092
4093 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4094
4095         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4096           Fix evil typefind crasher: getrange() might return a short
4097           buffer at the end of a file, but gst_type_find_peek() must
4098           either return the full data as requested or NULL, but
4099           never a short buffer.
4100
4101 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4102
4103         * gst/gstmessage.c: (gst_message_new_state_changed),
4104         (gst_message_parse_state_changed):
4105         * gst/gstmessage.h:
4106           don't use "new", it's a C++ keyword
4107
4108 2005-10-08  Wim Taymans  <wim@fluendo.com>
4109
4110         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4111         * gst/gstelement.c: (gst_element_post_message):
4112         * gst/gstpipeline.c: (gst_pipeline_change_state):
4113         Small docs and debug updates.
4114
4115 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4116
4117         * docs/gst/gstreamer-sections.txt:
4118         * gst/gstelementfactory.c:
4119         * gst/gstevent.c:
4120         * gst/gsttaglist.c:
4121           more docs
4122
4123 2005-10-08  Wim Taymans  <wim@fluendo.com>
4124
4125         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4126         (gst_bin_dispose), (bin_bus_handler):
4127         Fix typos, add comments.
4128         Clear EOS list when going to PAUSED from any direction and do it
4129         in a threadsafe way.
4130         Get base time in a threadsafe way too.
4131         Fix confusing debug in the change_state function.
4132         Various other small cleanups.
4133         
4134         * gst/gstelement.c: (gst_element_post_message):
4135         Fix very verbose bus posting code.
4136
4137         * gst/gstpipeline.c: (gst_pipeline_class_init),
4138         (gst_pipeline_set_property), (gst_pipeline_get_property),
4139         (gst_pipeline_change_state):
4140         Small ARG_ -> PROP_ cleanup
4141
4142 2005-10-08  Wim Taymans  <wim@fluendo.com>
4143
4144         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4145         Do a less CPU demanding EOS check because we can.
4146
4147 2005-10-08  Wim Taymans  <wim@fluendo.com>
4148
4149         * libs/gst/dataprotocol/dataprotocol.c:
4150         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4151         (gst_dp_packet_from_event):
4152         * libs/gst/dataprotocol/dataprotocol.h:
4153         * libs/gst/dataprotocol/dp-private.h:
4154         It's about time we bump the version number.
4155         Since event types don't fit in the guint8 anymore describing
4156         the payload type, make payload type 16 bits wide.
4157
4158 2005-10-08  Wim Taymans  <wim@fluendo.com>
4159
4160         * docs/design/part-TODO.txt:
4161         * docs/design/part-clocks.txt:
4162         * docs/design/part-events.txt:
4163         * docs/design/part-gstbin.txt:
4164         * docs/design/part-gstelement.txt:
4165         * docs/design/part-gstpipeline.txt:
4166         * docs/design/part-live-source.txt:
4167         * docs/design/part-messages.txt:
4168         * docs/design/part-overview.txt:
4169         * docs/design/part-states.txt:
4170         Many doc updates.
4171
4172 2005-10-08  Wim Taymans  <wim@fluendo.com>
4173
4174         * gst/gstevent.c:
4175         * gst/gstevent.h:
4176         Fix event quark registration.
4177         Add some space between events so we can insert them in the
4178         right groups.
4179
4180 2005-10-08  Wim Taymans  <wim@fluendo.com>
4181
4182         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4183         (gst_base_sink_handle_buffer):
4184         Better log message.
4185
4186         * gst/gstbus.h:
4187         * gst/gstelement.h:
4188         More docs.
4189
4190         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4191         (gst_queue_set_property), (gst_queue_get_property):
4192         * gst/gstqueue.h:
4193         Remove old unused properties.
4194
4195 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4196         * docs/gst/gstreamer-sections.txt:
4197         * gst/gstmessage.c:
4198         * gst/gstmessage.h:
4199         * gst/gstminiobject.c:
4200         * gst/gstminiobject.h:
4201         * gst/gstobject.h:
4202         * gst/gstpad.h:
4203         * gst/gstutils.h:
4204           lots of new docs and doc fixes
4205
4206 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4207
4208         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4209         * gst/gstplugin.h:
4210         * gst/gstregistry.c: (gst_registry_lookup_locked),
4211         (gst_registry_scan_path_level):
4212         * gst/gstregistryxml.c: (load_plugin):
4213           Only ever load one plugin for a given plugin basename.
4214           This ensures correct overriding of GST_PLUGIN_PATH over
4215           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4216           system installed plugins.
4217
4218 2005-10-08  Wim Taymans  <wim@fluendo.com>
4219
4220         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4221         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4222         Prepare for doing QOS.
4223
4224 2005-10-08  Wim Taymans  <wim@fluendo.com>
4225
4226         * check/gst/gstbin.c: (GST_START_TEST):
4227         * check/pipelines/cleanup.c: (GST_START_TEST):
4228         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4229         Allow new clock message too.
4230
4231 2005-10-08  Wim Taymans  <wim@fluendo.com>
4232
4233         * gst/gstmessage.c: (gst_message_new_error),
4234         (gst_message_new_warning), (gst_message_new_tag),
4235         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4236         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4237         (gst_message_new_segment_start), (gst_message_new_segment_done),
4238         (gst_message_parse_state_changed),
4239         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4240         (gst_message_parse_new_clock):
4241         * gst/gstmessage.h:
4242         Also carry the clock in question.
4243
4244 2005-10-08  Wim Taymans  <wim@fluendo.com>
4245
4246         * gst/gstmessage.c: (gst_message_new_custom),
4247         (gst_message_new_eos), (gst_message_new_error),
4248         (gst_message_new_warning), (gst_message_new_tag),
4249         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4250         (gst_message_new_new_clock), (gst_message_new_segment_start),
4251         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4252         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4253         * gst/gstmessage.h:
4254         Clean up.
4255         Added clock related messages.
4256
4257         * gst/gstpipeline.c: (gst_pipeline_change_state):
4258         Post message when the clock changed.
4259
4260         * tools/gst-launch.c: (event_loop):
4261         Print new clock.
4262
4263 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4264
4265         * tools/gst-inspect.c: (print_element_properties_info):
4266           Can't pass NULL strings to g_print() on windows.
4267
4268 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4269
4270         * docs/Makefile.am:
4271         * docs/gst/Makefile.am:
4272         * docs/gst/gstreamer-docs.sgml:
4273         * docs/gst/running.xml:
4274         * docs/version.entities.in:
4275           add a chapter on running GStreamer.
4276           document GST_DEBUG and GST_PLUGIN* env vars
4277
4278 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4279
4280         * Makefile.am:
4281           remove include dir
4282         * configure.ac:
4283           remove PLUGINS_BUILDDIR stuff
4284         * gst/gst.c: (init_post):
4285           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4286         * idiottest.mak:
4287           remove, it was condescending and not needed
4288
4289 2005-10-08  Wim Taymans  <wim@fluendo.com>
4290
4291         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4292         (gst_base_sink_handle_object), (gst_base_sink_event),
4293         (gst_base_sink_wait), (gst_base_sink_handle_event),
4294         (gst_base_sink_change_state):
4295         * gst/base/gstbasesink.h:
4296         Repost EOS message while going to PLAYING if still EOS.
4297         Make sure that when receiving a FLUSH_START we don't attempt
4298         to sync on the clock anymore.
4299
4300 2005-10-08  Wim Taymans  <wim@fluendo.com>
4301
4302         * tools/gst-launch.c: (event_loop):
4303         Better message printout.
4304
4305 2005-10-08  Wim Taymans  <wim@fluendo.com>
4306
4307         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4308         (gst_bin_child_proxy_get_children_count):
4309         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4310         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4311         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4312         (gst_child_proxy_set_valist):
4313         * gst/parse/grammar.y:
4314         Make ChildProxy threadsafe and fix mem leaks.
4315
4316 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4317
4318         * gst/gst.c: (init_post):
4319           debug the GST_PLUGIN_ env vars
4320
4321 2005-10-08  Wim Taymans  <wim@fluendo.com>
4322
4323         * check/gst/gstbin.c: (GST_START_TEST):
4324         * check/gst/gstmessage.c: (GST_START_TEST):
4325         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4326         * gst/gstelement.c: (gst_element_commit_state),
4327         (gst_element_lost_state):
4328         * gst/gstmessage.c: (gst_message_new_state_changed),
4329         (gst_message_parse_state_changed):
4330         * gst/gstmessage.h:
4331         * tools/gst-launch.c: (event_loop):
4332         Added extra field to STATE_CHANGE message with the pending
4333         state, which will be different from the new state soon.
4334
4335 2005-10-08  Wim Taymans  <wim@fluendo.com>
4336
4337         * gst/gstbus.c: (gst_bus_pop):
4338         * gst/gstclock.c:
4339         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4340         Small cleanups and doc updates.
4341
4342 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4343
4344         * gst/gst.c: (init_pre):
4345         * gst/gstbin.c: (gst_bin_add_func):
4346           log distributing clocks and base time
4347         * gst/gstregistry.c: (gst_registry_add_plugin),
4348         (gst_registry_scan_path_level), (gst_registry_scan_path):
4349           clean up the debugging output a little
4350         * gst/gstutils.c: (gst_element_state_get_name):
4351           warn about a memleak (I've actually seen this be used, though
4352           it was probably a bug)
4353
4354 2005-10-07  Wim Taymans  <wim@fluendo.com>
4355
4356         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4357         (gst_base_src_init), (gst_base_src_default_newsegment),
4358         (gst_base_src_newsegment), (gst_base_src_do_seek),
4359         (gst_base_src_loop), (gst_base_src_start):
4360         * gst/base/gstbasesrc.h:
4361         Make the newsegment event customizable by subclasses.
4362
4363 2005-10-07  Wim Taymans  <wim@fluendo.com>
4364
4365         * gst/gstevent.c: (gst_event_new_buffersize),
4366         (gst_event_parse_buffersize):
4367         * gst/gstevent.h:
4368         New event for future idea.
4369
4370 2005-10-07  Andy Wingo  <wingo@pobox.com>
4371
4372         * gst/gstelement.c (gst_element_post_message): Doc update.
4373
4374         * docs/gst/gstreamer-sections.txt: Update.
4375
4376         * gst/gstmessage.c (gst_message_new_application): Made into a
4377         function like honest API calls.
4378         (gst_message_new_element): New message type.
4379
4380         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4381
4382         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4383         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4384         times.
4385
4386         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4387         NO_PREROLL from gst_element_change_state to fall through.
4388
4389 2005-10-07  Wim Taymans  <wim@fluendo.com>
4390
4391         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4392         (gst_ghost_pad_do_activate_push):
4393         Activating a ghostpad with no internal pad in push mode
4394         is ok.
4395
4396 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4397
4398         * gst/gstobject.h:
4399           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4400           Fixes compilation on Windows.
4401
4402 2005-10-07  Michael Smith <msmith@fluendo.com>
4403
4404         * tools/gst-inspect.c:
4405           Print out feature and plugin count at the end when printing out
4406           all features.
4407
4408 2005-10-04  Michael Smith <msmith@fluendo.com>
4409
4410         * gst/gsterror.c: (_gst_stream_errors_init):
4411           Add another error string used in a few existing plugins.
4412
4413         * gst/gstplugin.c:
4414         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4415         * tools/gst-inspect.c: (print_element_info):
4416           When a feature disappears from a plugin (and the feature exists in
4417           the cached registry file), things went horribly wrong. This isn't a
4418           complete fix, we should actually be removing the 'missing' features
4419           from the features list when we load the actual plugin. That's not
4420           yet implemented. 
4421
4422 2005-10-04  Johan Dahlin  <johan@gnome.org>
4423
4424         * check/gst/gstiterator.c: (GST_START_TEST):
4425         * gst/gstbin.c: (gst_bin_iterate_elements),
4426         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4427         * gst/gstelement.c: (gst_element_iterate_pads):
4428         * gst/gstformat.c: (gst_format_iterate_definitions):
4429         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4430         (gst_iterator_new_list), (gst_iterator_filter):
4431         * gst/gstiterator.h:
4432         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4433         Add a GType to GstIterator, update callsites and tests.
4434
4435 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4436
4437         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4438           give events a chance to be handled by event probes when the pad
4439           is not linked
4440
4441 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4442
4443         * gst/gstevent.c: (gst_event_type_get_name),
4444         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4445         * gst/gstevent.h:
4446           add string representations for event types
4447
4448 2005-10-06  Wim Taymans  <wim@fluendo.com>
4449
4450         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4451         Don't use NULL pointers.
4452
4453 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4454
4455         * gst/gst_private.h:
4456         * gst/gstbus.c:
4457         * gst/gstelement.c:
4458         * gst/gstinfo.c:
4459         * gst/gstpluginfeature.c:
4460           widen the debug category in output to fit the biggest one we have
4461           add a bus category and use it
4462           play with the colors
4463           fix up some categories
4464
4465 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4466
4467         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4468           add push activation of sink ghost pads.
4469           Andye, please verify
4470
4471 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4472
4473         * gst/gstutils.c: (gst_element_link_pads):
4474           fix a bug in the case where neither element has a pad
4475         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4476           add a test for that case
4477
4478 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4479
4480         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4481           emit have-data before checking for peers.  This allows
4482           for probe handlers to connect elements.  This helps autopluggers.
4483         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4484         (gst_pad_suite):
4485           add six checks, linked/unlinked with no/true/false probe
4486
4487 2005-10-04  Wim Taymans  <wim@fluendo.com>
4488
4489         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4490         (gst_fake_sink_event), (gst_fake_sink_preroll),
4491         (gst_fake_sink_render), (gst_fake_sink_change_state):
4492         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4493         (gst_fake_src_get_property), (gst_fake_src_create),
4494         (gst_fake_src_stop):
4495         * gst/elements/gstidentity.c: (gst_identity_stop):
4496         Protect last_message with lock.
4497
4498 2005-10-04  Edward Hervey  <edward@fluendo.com>
4499
4500         * gst/gstformat.h: 
4501         Added precision in the comments for GST_FORMAT_DEFAULT
4502
4503 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4504
4505         * tools/gst-launch.c: (main):
4506           Don't try to run erroneous pipelines.
4507
4508 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4509
4510         * gst/gstbus.c: We don't need this header.
4511
4512 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4513
4514         * configure.ac:
4515           back to development
4516
4517 === release 0.9.3 ===
4518
4519 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4520
4521         * README:
4522         * configure.ac:
4523           Releasing 0.9.3, "Unregistered"
4524
4525 2005-10-03  Andy Wingo  <wingo@pobox.com>
4526
4527         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4528         whereby calling a pad's activatepush() function can start a thread
4529         that starts to push or pull before the pad gets the FLUSHING flag
4530         unset. Hack around it by holding the stream lock until the flag is
4531         set. Need to replace this with a proper solution. Together with
4532         the ghost pad fixes, this fixes mp3 playing/tagreading.
4533
4534         * docs/design/part-gstghostpad.txt: Add a note about activation of
4535         proxy pads outside of ghost pads.
4536
4537         * gst/gstghostpad.c: Implement the ghost pad activation design.
4538
4539 2005-10-02  Andy Wingo  <wingo@pobox.com>
4540
4541         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4542         It is volatile, after all.
4543
4544         * docs/design/part-gstghostpad.txt: Flesh out activation with
4545         ghost pads.
4546
4547         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4548         GST_DEBUG_FUNCPTR.
4549
4550 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4551
4552         * configure.ac:
4553           Fix (unused) AM_CONDITIONAL tests.
4554
4555 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4556
4557         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4558
4559         * gst/gstutils.c: (gst_pad_query_convert):
4560           Add assertion that makes sure src_val is >=0, just like
4561           gst_query_new_convert() has. (#315895)
4562
4563 2005-09-30  Edward Hervey  <edward@fluendo.com>
4564
4565         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4566         Let's not iterate pads we're not interested in, it avoids getting 
4567         sky-high refcounts on sinkpad.
4568
4569 2005-09-30  Wim Taymans  <wim@fluendo.com>
4570
4571         * gst/gstelement.c: (gst_element_set_state),
4572         (gst_element_change_state):
4573         Small tweak, element in ASYNC remains ASYNC.
4574
4575 2005-09-30  Wim Taymans  <wim@fluendo.com>
4576
4577         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4578         Only error is an error.
4579
4580         * gst/gstbin.c: (gst_bin_change_state):
4581         Better debugging.
4582
4583         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4584         Also call pad_block in pad alloc.
4585
4586         * gst/gstutils.c: (gst_flow_get_name):
4587         Better debugging.
4588
4589 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4590
4591         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4592         (gst_base_src_get_range):
4593           Fix documentation typos. Add some more debug info.
4594
4595 2005-09-29  David Schleef  <ds@schleef.org>
4596
4597         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4598           more end-user friendly.
4599         * tools/gst-inspect.c: (main): Check if command-line argument is
4600           a file and attempt to load that file as a plugin.
4601
4602 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4603
4604         * check/gst/gstbin.c:
4605         * check/states/sinks.c:
4606           fix tests for the new warning
4607         * check/gst/gstpipeline.c:
4608           add a test for pipeline and bus interaction
4609         * gst/gstelement.c:
4610           elements should be NULL if they get disposed; add a warning if not
4611
4612 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4613
4614         * gst/gstobject.c:
4615           for 2.6 refcounting, make debug log more correct by printing
4616           the actual refcounts at the time of swap (Wim)
4617
4618 2005-09-29  Andy Wingo  <wingo@pobox.com>
4619
4620         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4621         removes signal watches previously added via
4622         gst_bus_add_signal_watch.
4623         (gst_bus_add_signal_watch): Don't return the source id, just store
4624         it on the bus if there wasn't an id already.
4625
4626         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4627         add_signal_watch and remove_signal_watch.
4628
4629 2005-09-29  Edward Hervey  <edward@fluendo.com>
4630
4631         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4632         Better if we actually iterate the list :)
4633
4634 2005-09-29  Wim Taymans  <wim@fluendo.com>
4635
4636         * check/gst/gstbin.c: (GST_START_TEST):
4637         Change for new bus API.
4638
4639         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4640         (send_messages), (GST_START_TEST), (gstbus_suite):
4641         Change for new bus signal API.
4642
4643         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4644         (gst_bus_source_prepare), (gst_bus_source_check),
4645         (gst_bus_create_watch), (gst_bus_add_watch_full),
4646         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4647         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4648         * gst/gstbus.h:
4649         Remove support for multiple GSources operating on different
4650         message types as it is too complex and unneeded when using
4651         signals.
4652         Added support for receiving signals from the bus.
4653
4654 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4655
4656         * docs/libs/tmpl/gstdataprotocol.sgml:
4657         * docs/manual/advanced-dataaccess.xml:
4658         * gst/elements/gstcapsfilter.c:
4659         * gst/gstutils.c:
4660           rename filter-caps to caps property
4661
4662 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4663
4664         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4665           More robust fraction string parsing.
4666
4667         * docs/pwg/appendix-porting.xml:
4668           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4669
4670 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4671
4672         * gst/gstcaps.c: (gst_caps_do_simplify):
4673           Thou shalt not free a structure and then continue using it
4674           in the next loop iteration.
4675
4676         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4677         (gst_caps_suite):
4678           Add test case for caps simplification.
4679
4680 2005-09-29  Wim Taymans  <wim@fluendo.com>
4681
4682         * check/gst/gstbin.c: (GST_START_TEST):
4683         Oops.
4684
4685 2005-09-29  Wim Taymans  <wim@fluendo.com>
4686
4687         * check/gst/gstbin.c: (GST_START_TEST):
4688         Add bus to bin.
4689
4690         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4691         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4692         (find_element), (gst_bin_sort_iterator_next),
4693         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4694         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4695         (gst_bin_change_state), (gst_bin_dispose):
4696         A bin does not have a bus, it gets the bus from the parent.
4697
4698         * gst/gstelement.c: (gst_element_requires_clock),
4699         (gst_element_provides_clock), (gst_element_is_indexable),
4700         (gst_element_is_locked_state), (gst_element_change_state),
4701         (gst_element_set_bus_func):
4702         Small cleanups.
4703
4704         * gst/gstpipeline.c: (gst_pipeline_class_init),
4705         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4706         The pipeline provides a bus.
4707
4708 2005-09-28  Johan Dahlin  <johan@gnome.org>
4709
4710         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4711         gst_structure_get_enum instead of gst_structure_get_int
4712
4713         * gst/gststructure.c (gst_structure_get_enum): Impl.
4714
4715         * gst/gststructure.h (gst_structure_get_enum): Add
4716
4717         * docs/gst/gstreamer-sections.txt: Ditto
4718
4719         * gst/gstmessage.c (gst_message_new_state_changed): Use
4720         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4721         which does introspection.
4722         Reviewed by Christian Schaller
4723
4724 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4725
4726         * gst/gstinfo.c: (gst_debug_log_default):
4727           don't do dummy g_strdup()s
4728         * libs/gst/controller/gstcontroller.c:
4729         (on_object_controlled_property_changed),
4730         (gst_controlled_property_new), (gst_controller_new_valist),
4731         (gst_controller_new_list),
4732         (gst_controller_remove_properties_valist), (gst_controller_set),
4733         (gst_controller_get), (gst_controller_sync_values),
4734         (gst_controller_get_value_array), (_gst_controller_class_init),
4735         (gst_controller_get_type):
4736         * libs/gst/controller/gstcontroller.h:
4737         * libs/gst/controller/gstinterpolation.c:
4738         (gst_controlled_property_find_timed_value_node):
4739           convert // to /**/ comments
4740
4741 2005-09-28  Wim Taymans  <wim@fluendo.com>
4742
4743         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4744         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4745         (gst_bus_sync_signal_handler):
4746         * gst/gstbus.h:
4747         Added async-message and sync-message signals to the bus.
4748         Added helper BusFunc to emit signals for all posted messages.
4749
4750         * gst/gstmessage.c: (gst_message_type_get_name),
4751         (gst_message_type_to_quark), (gst_message_get_type):
4752         * gst/gstmessage.h:
4753         Register quarks for message names.
4754
4755 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4756
4757         * docs/libs/gstreamer-libs-sections.txt:
4758         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4759         (gst_controller_new_list):
4760         * libs/gst/controller/gstcontroller.h:
4761           added another constructor for language bindings
4762
4763 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4764
4765         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4766           add another check
4767         * gst/gstbus.c:
4768           add some doc
4769         * gst/gstinfo.c: (_gst_debug_init):
4770           slightly more readable color for refcount debugging
4771
4772 2005-09-28  Wim Taymans  <wim@fluendo.com>
4773
4774         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4775         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4776         (find_element), (gst_bin_sort_iterator_next),
4777         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4778         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4779         (gst_bin_change_state), (gst_bin_dispose):
4780         Small doc fixes. get_clock -> provide_clock.
4781
4782         * gst/gstelement.c: (gst_element_class_init),
4783         (gst_element_provides_clock), (gst_element_provide_clock),
4784         (gst_element_get_clock), (gst_element_commit_state),
4785         (gst_element_lost_state):
4786         * gst/gstelement.h:
4787         Make get/set_clock() symetric. Add provide_clock vmethod since
4788         that is actually what this function does.
4789
4790         * gst/gstpipeline.c: (gst_pipeline_class_init),
4791         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4792         (gst_pipeline_get_clock):
4793         get_clock -> provide_clock.
4794
4795 2005-09-28  Andy Wingo  <wingo@pobox.com>
4796
4797         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4798         lieu of real docs...
4799
4800         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4801
4802 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4803
4804         * gst/elements/gstcapsfilter.c:
4805         * gst/elements/gstfakesink.c:
4806         * gst/elements/gstfakesrc.c:
4807         * gst/elements/gstfdsink.c:
4808         * gst/elements/gstfdsrc.c:
4809         * gst/elements/gstfilesink.c:
4810         * gst/elements/gstfilesrc.c:
4811         * gst/elements/gstidentity.c:
4812         * gst/elements/gsttee.c:
4813         * gst/elements/gsttypefindelement.c:
4814           Make element details static.
4815
4816 2005-09-28  Wim Taymans  <wim@fluendo.com>
4817
4818         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4819         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4820         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4821         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4822         (gst_bin_change_state), (gst_bin_dispose):
4823         Some documentation updates.
4824         Clean up dispose handlers.
4825
4826         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4827         * gst/gstpad.c: (gst_pad_dispose):
4828         Clean up dispose handler.
4829
4830         * gst/gstpipeline.c: (gst_pipeline_change_state):
4831         Removed spurious UNLOCK.
4832
4833 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4834
4835         * docs/gst/gstreamer-sections.txt:
4836         * gst/base/gstbasesrc.h:
4837         * gst/gstelement.h:
4838         * gst/gstevent.h:
4839         * gst/gstobject.h:
4840         * gst/gstpad.h:
4841         * gst/gstpipeline.c:
4842         * gst/gstpipeline.h:
4843         * gst/gstutils.h:
4844         * gst/gstxml.h:
4845           added two new functions to the docs
4846                 documents all undocumented GstXXXFlags
4847                 completed some incomplete docs 
4848
4849 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4850
4851         * gst/gstbin.c: (gst_bin_dispose):
4852         * gst/gstelement.c: (gst_element_dispose):
4853           remove now useless and leaky resurrection code in dispose
4854         * gst/base/gstbasesrc.c: (gst_base_src_init):
4855         * gst/gstelementfactory.c: (gst_element_factory_create):
4856         * gst/gstobject.c: (gst_object_set_parent):
4857           add some debugging
4858
4859 2005-09-27  Wim Taymans  <wim@fluendo.com>
4860
4861         * docs/design/part-TODO.txt:
4862         Update TODO.
4863
4864         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4865         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4866         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4867         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4868         (gst_bin_change_state):
4869         * gst/gstelement.h:
4870         Remove element variable, we keep element info in the iterator now.
4871
4872 2005-09-27  Andy Wingo  <wingo@pobox.com>
4873
4874         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4875         values.
4876
4877 2005-09-27  Wim Taymans  <wim@fluendo.com>
4878
4879         * check/gst/gstbin.c: (GST_START_TEST):
4880         Enable check that works now.
4881
4882         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4883         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4884         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4885         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4886         (gst_bin_change_state):
4887         * gst/gstbin.h:
4888         Redid the state change algorithm using a topological sort algo.
4889         Handles all cases correctly.
4890         Exposed iterator for state change order.
4891
4892         * gst/gstelement.h:
4893         Temp storage for state changes. Need to get rid of this soon.
4894
4895 2005-09-27  Wim Taymans  <wim@fluendo.com>
4896
4897         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4898         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4899         (link_fold_func), (gst_pad_proxy_setcaps):
4900         Leak fixes, the fold functions need to unref the passed object and
4901         _get_parent_*() returns ref to parent.
4902
4903 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4904
4905         * check/gst/gstbuffer.c: (test_make_writable):
4906           Plug leak in test case and fix 'make check-valgrind'
4907
4908 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4909
4910         * gst/gstbuffer.c: (gst_subbuffer_init):
4911           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4912           works correctly in all circumstances (we could have just copied
4913           the parent buffer's readonly flag, but conceptually it seems
4914           cleaner to mark all subbuffers as read-only). (based on patch
4915           by Alessandro Decina, #314710).
4916         
4917         * check/gst/gstbuffer.c: (create_read_only_buffer),
4918         (test_make_writable), (test_subbuffer_make_writable),
4919         (gst_test_suite):
4920           Add some tests for gst_buffer_make_writable().
4921
4922 2005-09-27  Wim Taymans  <wim@fluendo.com>
4923
4924         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4925         use gst_object_has_ancestor().
4926
4927         * gst/gstobject.c: (gst_object_has_ancestor):
4928         * gst/gstobject.h:
4929         gst_object_has_ancestor() copied from gstbin.c as it is a
4930         usefull function.
4931
4932         * tests/instantiate/create.c: (create_all_elements):
4933         * tests/lat.c: (handoff_src), (handoff_sink):
4934         * tests/sched/runxml.c: (main):
4935         * tests/seeking/seeking1.c: (main):
4936         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4937         (main):
4938         Fix compilation of some tests.
4939
4940 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4941
4942         * gst/gsterror.h:
4943           Remove comment. GST_TYPE_G_ERROR is here to stay,
4944           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4945           (#316961, #300610).
4946
4947 2005-09-26  Wim Taymans  <wim@fluendo.com>
4948
4949         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4950         Added check that shows error in state change order.
4951
4952 2005-09-26  Wim Taymans  <wim@fluendo.com>
4953
4954         * gst/gstbin.c: (gst_bin_change_state):
4955         Make state change function use 3 queues again, we were
4956         adding elements in the wrong order.
4957
4958         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4959         Some debug info,
4960
4961         * gst/gstpad.c: (gst_pad_dispose):
4962         Added some debug info first.
4963
4964 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4965
4966         * docs/design/draft-push-pull.txt:
4967         * docs/design/part-events.txt:
4968         * docs/design/part-overview.txt:
4969         * docs/design/part-scheduling.txt:
4970           Replace all _pull_region() with _pull_range()
4971           
4972 2005-09-26  Andy Wingo  <wingo@pobox.com>
4973
4974         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4975
4976         * check/gst-libs/controller.c: Update for controller api change.
4977
4978         * configure.ac: 
4979         * tests/Makefile.am:
4980         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4981         over by GLib bug 118439.
4982         
4983         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4984         routines to a function.
4985
4986         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4987
4988         * libs/gst/controller/gsthelper.c:
4989         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4990         (gst_object_sync_values): Renamed from sink_values. Ugh.
4991
4992         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4993
4994         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4995         Renamed from controller_key, as it is exported.
4996
4997         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4998
4999 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5000
5001         * gst/Makefile.am:
5002         * gst/gst.h:
5003         * gst/gstpad.h:
5004         * gst/gstpadtemplate.h:
5005         * gst/gstquery.c:
5006         * gst/gstquery.h:
5007         * gst/gstqueryutils.c:
5008         * gst/gstqueryutils.h:
5009           remove queryutils headers after moving the two used functions
5010           to gstquery.  also fixes build problem for gstsiddec
5011
5012 2005-09-26  Michael Smith <msmith@fluendo.com>
5013
5014         * tools/gst-launch.1.in:
5015         Correct documentation in manpage of debug syntax
5016
5017 2005-09-26  Wim Taymans  <wim@fluendo.com>
5018
5019         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5020         (gst_base_src_is_seekable), (gst_base_src_change_state):
5021         Some more debugging info.
5022
5023 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5024
5025         * docs/gst/gstreamer-sections.txt:
5026         * gst/base/gstbasetransform.h:
5027         * gst/gstindex.h:
5028           added more docs
5029
5030 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5031
5032         * docs/gst/.cvsignore:
5033         * docs/gst/tmpl/.cvsignore:
5034         * docs/gst/tmpl/gstpipeline.sgml:
5035         * docs/gst/tmpl/gstplugin.sgml:
5036         * gst/gstpipeline.c:
5037         * gst/gstplugin.c:
5038         * gst/gstplugin.h:
5039           inlined the last two docs files
5040           removed the tmpl directory from cvs (no more conflicts here!)
5041
5042 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5043
5044         * docs/gst/gstreamer-sections.txt:
5045         * docs/gst/tmpl/.cvsignore:
5046         * docs/gst/tmpl/gstpad.sgml:
5047         * docs/gst/tmpl/gstpadtemplate.sgml:
5048         * gst/Makefile.am:
5049         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5050         (gst_pad_finalize), (gst_pad_set_pad_template):
5051         * gst/gstpad.h:
5052         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5053         (gst_pad_template_class_init), (gst_pad_template_init),
5054         (gst_pad_template_dispose), (name_is_valid),
5055         (gst_static_pad_template_get), (gst_pad_template_new),
5056         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5057         (gst_pad_template_pad_created):
5058         * gst/gstpadtemplate.h:
5059           inlined two more docs
5060           factored gstpadtemplate out of gstpad
5061
5062 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5063
5064         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5065         (test_children_state_change_order_semi_sink):
5066           Fix test case: we can't rely on a fixed state change order when
5067           going from READY => PAUSED because the sink might commit its 
5068           new state first when the first buffer created by the source 
5069           reaches the sink before the source has finished its change state.
5070           (Test case still fails at times, see #316856, comment 5 onwards)
5071
5072 2005-09-24  Wim Taymans  <wim@fluendo.com>
5073
5074         * docs/design/part-events.txt:
5075         * docs/design/part-gstbus.txt:
5076         * docs/design/part-gstpipeline.txt:
5077         * docs/design/part-messages.txt:
5078         * docs/design/part-overview.txt:
5079         * docs/design/part-segments.txt:
5080         * gst/gstbin.c:
5081         * gst/gstbuffer.c:
5082         * gst/gstclock.c:
5083         * gst/gstelement.c:
5084         * gst/gstevent.c:
5085         * gst/gstfilter.c:
5086         * gst/gstiterator.c:
5087         Various documentation updates.
5088
5089 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5090
5091         * gst/gstclock.h:
5092           Well, that's embarassing.  Luckily we weren't using
5093           GST_CLOCK_DIFF anywhere.
5094
5095 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5096
5097         * common/gtk-doc.mak:
5098           don't fail on building XML, FC4 slave shows a bunch of doc
5099           missing bits that I don't get
5100         * gst/gstpad.c:
5101         * gst/gstpipeline.c:
5102         * gst/gststructure.c:
5103           some doc updates
5104
5105 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5106
5107         * docs/design/part-gstbin.txt:
5108         * docs/design/part-gstbus.txt:
5109         * gst/gstbus.c:
5110           Add blurb about how the bus goes into flushing mode and
5111           drops all messages when its bin goes from READY into NULL 
5112           state.
5113
5114 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5115
5116         * docs/gst/gstreamer-sections.txt:
5117         * gst/gststructure.c: (gst_structure_get_clock_time):
5118         * gst/gststructure.h:
5119           add a method to get a GstClockTime out of a structure
5120
5121 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5122
5123         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5124         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5125           Added test to check state change order in bins (can still be made
5126           to fail here under heavy disk load; bails out with 'Push on pad
5127           fakesink:sink0, but it was not activated in push mode').
5128
5129         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5130           Fix state change order when there is only a semi sink (#316856)
5131
5132         * gst/gstbus.c: (gst_bus_class_init):
5133           Use _class_peek_parent(), not _class_ref(); fix docs to say
5134           'default main context' instead of 'mainloop' where that is
5135           what's meant.
5136
5137         * gst/gstelement.c: (gst_element_commit_state),
5138         (gst_element_set_state):
5139           Fix typos in debug messages
5140
5141 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5142
5143         * docs/README:
5144         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5145         * gst/gstpluginfeature.c:
5146         * gst/gstutils.c:
5147           various doc updates
5148         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5149           change an assert into an error until it gets fixed properly
5150
5151 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5152
5153         * docs/gst/gstreamer-sections.txt:
5154         * docs/gst/tmpl/.cvsignore:
5155         * docs/gst/tmpl/gstelement.sgml:
5156         * docs/gst/tmpl/gstinfo.sgml:
5157         * docs/gst/tmpl/gstobject.sgml:
5158         * gst/gstelement.c:
5159         * gst/gstelement.h:
5160         * gst/gstinfo.c:
5161         * gst/gstinfo.h:
5162         * gst/gstobject.c: (gst_object_class_init):
5163         * gst/gstobject.h:
5164           inlined 3 more biiiig doc files and added some missing docs on the fly
5165
5166 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5167
5168         * check/gst/.cvsignore:
5169         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5170         * gst/gstregistryxml.c: (load_plugin),
5171         (gst_registry_xml_save_plugin):
5172           put back source in registry.  add checks for find_plugin.
5173         * testsuite/states/bin.c: (assert_state), (empty_bin),
5174         (test_adding_one_element), (main):
5175         * testsuite/states/locked.c: (main):
5176           some compile/run fixes
5177
5178 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5179
5180         * check/gst/gstvalue.c: (GST_START_TEST):
5181           fix leaks in the test itself
5182
5183 2005-09-22  Wim Taymans  <wim@fluendo.com>
5184
5185         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5186         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5187         (gst_base_sink_query):
5188         Prepare for more accurate position reporting and query
5189         handling.
5190
5191         * gst/gstelement.c: (gst_element_send_event),
5192         (gst_element_set_state):
5193         Add some comment.
5194
5195 2005-09-22  Wim Taymans  <wim@fluendo.com>
5196
5197         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5198         (gst_query_parse_segment):
5199         * gst/gstquery.h:
5200         More documentation.
5201         Add segment query for future use.
5202
5203 2005-09-22  Wim Taymans  <wim@fluendo.com>
5204
5205         * gst/gstbin.c: (gst_bin_add_func):
5206         Some more debug info.
5207
5208         * gst/gstelement.c: (gst_element_send_event):
5209         Simplify send_event
5210
5211         * gst/gstelement.h:
5212         Don't know how flags got broken.
5213
5214         * gst/gstquery.h:
5215         Added new query.
5216
5217 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5218
5219         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5220           Add simplistic test suite for GST_TYPE_DATE serialisation and
5221           deserialisation.
5222
5223 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5224
5225         * docs/gst/gstreamer-sections.txt:
5226         * gst/gststructure.c: (gst_structure_set_valist),
5227         (gst_structure_get_date):
5228         * gst/gststructure.h:
5229         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5230         (gst_date_copy), (gst_value_compare_date),
5231         (gst_value_serialize_date), (gst_value_deserialize_date),
5232         (gst_value_transform_date_string),
5233         (gst_value_transform_string_date), (_gst_value_initialize):
5234         * gst/gstvalue.h:
5235           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5236           bunch of utility functions along with a hack that checks that
5237           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5238           is required. Part of the grand scheme in #170777.
5239
5240 2005-09-22  Andy Wingo  <wingo@pobox.com>
5241
5242         * gst/gstconfig.h.in: Psych out gtk-doc.
5243
5244         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5245
5246         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5247
5248         * tools/gst-inspect.c (print_element_list): Plug some
5249         inconsequential leaks.
5250
5251         * gst/gstregistry.c (gst_registry_get_default): Doc.
5252
5253         * check/gst/gstplugin.c: 
5254         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5255         * gst/gstelementfactory.c (gst_element_factory_create): 
5256         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5257         refcount changes.
5258
5259         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5260         (gst_plugin_feature_load): Doc, don't eat refs.
5261
5262         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5263         (gst_plugin_list_free): Doc.
5264         (gst_plugin_load_file): Doc updates.
5265
5266         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5267         accessors returning refcounted objects, return a ref.
5268
5269         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5270         accessor for caps. IDEMPOTENCE. Oh yes.
5271
5272 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5273
5274         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5275
5276         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5277         (_gst_debug_register_funcptr):
5278           Add mutex to serialise access to the hash table with
5279           the function pointer => function name string mapping;
5280           make that hash table static scope (#316809).
5281
5282         * gst/registries/.cvsignore:
5283           Remove left-over file.
5284
5285 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5286
5287         * docs/pwg/appendix-porting.xml:
5288           And something about newsegment events and caps-on-buffers to
5289           the porting guide (feel free to improve).
5290
5291 2005-09-21  Andy Wingo  <wingo@pobox.com>
5292
5293         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5294         data and event probes on the same pad.
5295         (test_buffer_probe_once): Test that removing probes from within
5296         the probe functions works.
5297
5298 2005-09-21  Andy Wingo  <wingo@pobox.com>
5299
5300         * check/gst/gstutils.c: New file.
5301         (test_buffer_probe_n_times): A simple buffer probe test. More to
5302         come, foolios.
5303
5304         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5305         have-data::buffer, not have-data.
5306         (gst_pad_add_event_probe): Likewise for have-data::event.
5307         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5308         peer' isn't quite right yet though.
5309         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5310         (gst_pad_remove_data_probe): Change to take the guint handler_id
5311         as their arg, not the function+data, which is more glib-like.
5312
5313         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5314         the signal emission to indicate if the data is a buffer or an
5315         event.
5316         (gst_pad_get_type): Initialize buffer and event quarks.
5317         (gst_pad_class_init): have-data is now a detailed signal, yes it
5318         is.
5319
5320 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5321
5322         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5323         * gst/gstutils.c: (gst_util_set_value_from_string),
5324         (gst_util_set_object_arg):
5325           Don't put functional code in g_return_if_fail() or
5326           g_return_val_if_fail() statements, otherwise things will 
5327           break when G_DISABLE_CHECKS is defined during compilation.
5328
5329 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5330
5331         * docs/gst/tmpl/.cvsignore:
5332         * docs/gst/tmpl/gstvalue.sgml:
5333         * gst/gstvalue.c:
5334         * gst/gstvalue.h:
5335           inlied another one and added  some obvious docs
5336
5337 2005-09-21  Wim Taymans  <wim@fluendo.com>
5338
5339         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5340         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5341         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5342         (gst_fdsrc_get_property), (gst_fdsrc_create):
5343         * gst/elements/gstfdsrc.h:
5344         Properly implement fdsrc. Removed signal and timeout,
5345         better implemented somewhere else.
5346
5347 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5348
5349         * docs/gst/tmpl/.cvsignore:
5350         * docs/gst/tmpl/gstimplementsinterface.sgml:
5351         * gst/gstinterface.c:
5352           inlined more docs
5353
5354 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5355
5356         * docs/gst/gstreamer-sections.txt:
5357         * docs/gst/tmpl/.cvsignore:
5358         * docs/gst/tmpl/gstenumtypes.sgml:
5359           remove obsolete doc file
5360
5361 2005-09-21  David Schleef  <ds@schleef.org>
5362
5363         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5364         little beer, fix a little leak.
5365
5366 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5367
5368         * docs/gst/gstreamer-docs.sgml:
5369         * docs/gst/gstreamer-sections.txt:
5370         * docs/gst/tmpl/.cvsignore:
5371         * gst/Makefile.am:
5372         * gst/gst.h:
5373         * gst/gstbin.c:
5374         * gst/gstelement.h:
5375         * gst/gstindex.c: (gst_index_class_init):
5376         * gst/gstindex.h:
5377         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5378         (gst_index_factory_class_init), (gst_index_factory_init),
5379         (gst_index_factory_finalize), (gst_index_factory_new),
5380         (gst_index_factory_destroy), (gst_index_factory_find),
5381         (gst_index_factory_create), (gst_index_factory_make):
5382         * gst/gstindexfactory.h:
5383         * gst/gstpluginfeature.c:
5384         * gst/gstpluginfeature.h:
5385         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5386           more docs inlined, splitted gstindex.{c,h}
5387
5388 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5389
5390         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5391           fix a leak
5392
5393 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5394
5395         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5396           Set sync to FALSE by default.
5397
5398 2005-09-20  Wim Taymans  <wim@fluendo.com>
5399
5400         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5401         (gst_base_sink_init):
5402         Make sync property settable from subclass.
5403
5404         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5405         (gst_fake_sink_change_state):
5406         Set sync to FALSE by default.
5407
5408 2005-09-20  Wim Taymans  <wim@fluendo.com>
5409
5410         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5411         * tools/gst-launch.c: (main):
5412         The timeout handler should have lower priority than the source
5413         so we don't timeout before popping a message with 0 timeout.
5414         Dump error messages after failed state change.
5415
5416 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5417
5418         * tools/gst-inspect.c: (print_element_properties_info):
5419           Fix two typos.
5420
5421 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5422
5423         * check/gst/gstevent.c:
5424         * gst/elements/gstfakesink.c:
5425         * gst/elements/gstfakesink.h:
5426           remove the sync property from fakesink.
5427           has the side effect of setting sync TRUE
5428           for fakesink, which is a change.  Anyone who knows how
5429           to fix this nicely in a GObject-y way, feel free.
5430
5431 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5432
5433         * docs/gst/gstreamer-docs.sgml:
5434           remove probe refsection
5435
5436 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5437
5438         * check/Makefile.am:
5439           disable valgrinding the controller test again
5440         * docs/gst/gstreamer-sections.txt:
5441           update for api-changes
5442
5443 2005-09-20  Wim Taymans  <wim@fluendo.com>
5444
5445         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5446         (gst_base_sink_set_property), (gst_base_sink_get_property),
5447         (gst_base_sink_do_sync):
5448         * gst/base/gstbasesink.h:
5449         Added sync property to basesink to disable clock sync.
5450
5451 2005-09-20  Andy Wingo  <wingo@pobox.com>
5452
5453         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5454         eating the caller's refcount.
5455
5456         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5457         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5458         refcount.
5459
5460         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5461         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5462         of GLib 2.8 public, so we can know which refcount to check in
5463         tests.
5464
5465         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5466         (gst_object_init): Only set the gst refcount if we're going ahead
5467         with the refcount hack.
5468
5469 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5470
5471         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5472         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5473           more leaks plumbed, added more debug-logging
5474         * gst/gstmacros.h:
5475           whitespace fix
5476
5477 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5478
5479         * gst/gstmessage.c:
5480           remove include of gstmemchunk.h
5481
5482 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5483
5484         * gst/gstclock.c: (_gst_clock_id_free):
5485           Commit from the Political Party For More Atomic CVS Commits,
5486           so that people don't waste too much of their day fishing
5487           out obvious leaks out of massive commits.
5488           Oh, and fix a pretty damn obvious leak in the memchunk
5489           removal code.
5490
5491 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5492
5493         * check/Makefile.am:
5494         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5495           plug mem-leak, re-add to valgrindable tests
5496
5497 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5498
5499         * gst/gstplugin.h:
5500           unbreak the build for those who have chronic arthritis
5501           and typing "make check" is just too taxing on the hands
5502
5503 2005-09-20  Andy Wingo  <wingo@pobox.com>
5504
5505         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5506         really want it out, you should fix plugins at the same time.
5507
5508 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5509
5510         * configure.ac:
5511         * docs/gst/gstreamer-sections.txt:
5512         * gst/gstobject.c:
5513           added missing symbols to api docs
5514           disable ref-count hack if we have glib >= 2.8
5515
5516 2005-09-19  David Schleef  <ds@schleef.org>
5517
5518         * docs/gst/Makefile.am: Ignore a few more internal headers
5519         * docs/gst/gstreamer-docs.sgml: Remove old sections
5520         * docs/gst/gstreamer-sections.txt: Remove old sections
5521         * docs/gst/tmpl/gstobject.sgml: update
5522         * docs/gst/tmpl/gstplugin.sgml: update
5523         * docs/gst/tmpl/gstpluginfeature.sgml: update
5524         * docs/random/ds/0.9-suggested-changes: update.
5525         * gst/Makefile.am: remove memchunk and trashstack, since they're
5526           not used.
5527         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5528         * gst/gst.h: don't include some headers
5529         * gst/gstchildproxy.c: add gstmarshal.h
5530         * gst/gstclock.c: Don't use memchunks
5531         * gst/gstminiobject.c: Add some docs
5532         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5533         * gst/gstobject.h: same
5534         * gst/gstplugin.c: include gstmacros.h
5535         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5536         * gst/gstquery.c: don't use memchunks
5537         * gst/gstregistry.c: rename gst_registry_deinit()
5538         * gst/gstregistry.h: same
5539
5540 2005-09-19  David Schleef  <ds@schleef.org>
5541
5542         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5543         * docs/libs/gstreamer-libs-sections.txt:
5544         * docs/libs/tmpl/gstgetbits.sgml:
5545         * docs/libs/tmpl/gstputbits.sgml:
5546
5547 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5548
5549         * win32/gstenumtypes.c:
5550         * win32/gstenumtypes.h:
5551           Update.
5552
5553 2005-09-19  Wim Taymans  <wim@fluendo.com>
5554
5555         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5556         Automatically PAUSE and RESUME a pipeline when a flushing seek
5557         is performed.
5558
5559 2005-09-19  Andy Wingo  <wingo@pobox.com>
5560
5561         * gst/gstregistry.h: Spacing fixen.
5562
5563 2005-09-19  Wim Taymans  <wim@fluendo.com>
5564
5565         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5566         Handle state change failure more correctly.
5567
5568 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5569
5570         * check/Makefile.am:
5571         * check/pipelines/cleanup.c: (run_pipeline):
5572         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5573         (GST_START_TEST):
5574           enable cleanup again after fixing the leak
5575         * docs/README:
5576           some more info on docs
5577
5578 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5579
5580         * check/Makefile.am:
5581           re-enable tests now that leaks are plugged
5582         * check/gst/gst.c:
5583         * check/gst/gstbin.c:
5584         * check/gst/gstpipeline.c:
5585           add some more tests while fixing leaks
5586         * common/check.mak:
5587           make sure binaries are uptodate when valgrinding/gdbing
5588         * gst/gst.c:
5589         * gst/gstelementfactory.c:
5590           remove a ref too many, and add a FIXME for when we get
5591           round to disposing of classes
5592         * gst/gstplugin.c:
5593           fix the refcounting when loading a plugin from a file and
5594           the code pretends that the pointer is the same even though
5595           of course it can change
5596         * gst/gstpluginfeature.c:
5597           unref plugins marked cached (a bit confusing as a name)
5598           as the docs state should be done
5599           various doc additions to explain refcounting
5600         * gst/gstregistry.c:
5601         * gst/gstregistryxml.c:
5602           debugging
5603
5604 2005-09-19  Wim Taymans  <wim@fluendo.com>
5605
5606         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5607         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5608         (send_messages), (GST_START_TEST), (gstbus_suite):
5609         * check/gst/gstpipeline.c: (GST_START_TEST):
5610         * check/pipelines/cleanup.c: (run_pipeline):
5611         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5612         (GST_START_TEST):
5613         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5614         (gst_bus_source_check), (gst_bus_source_dispatch),
5615         (gst_bus_create_watch), (gst_bus_add_watch_full),
5616         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5617         * gst/gstbus.h:
5618         * tools/gst-launch.c: (event_loop):
5619         * tools/gst-md5sum.c: (event_loop):
5620         GstBusHandler -> GstBusFunc, return value has the same meaning as
5621         any other GSource (FALSE == remove source).
5622         _add_watch() and _add_watch_full() now take a MessageType mask to
5623         only handle specific types of messages.
5624         _poll() returns the GstMessage instead of the message type to avoid
5625         race conditions.
5626         _have_pending() takes a MessageType mask now too.
5627         Added testsuite for multiple bus watches.
5628         Fix testsuites and applications for new bus API.
5629
5630 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5631
5632         * check/Makefile.am:
5633           mark a bunch of the tests as to fix until we fix them
5634
5635 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5636
5637         * common/check.mak:
5638           use GST_PLUGIN settings for valgrind tests as well, so we're
5639           valgrinding the correct thing
5640         * gst/gst.c: (init_post):
5641           plug another leak
5642
5643 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5644
5645         * gst/gst.c: (init_post), (gst_deinit):
5646         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5647         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5648         * gst/gstindex.c: (gst_index_factory_class_init),
5649         (gst_index_factory_finalize):
5650         * gst/gstobject.c: (gst_object_dispose):
5651         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5652         (gst_plugin_load_file), (gst_plugin_desc_free):
5653         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5654         (gst_plugin_feature_finalize):
5655         * gst/gstregistry.c: (gst_registry_class_init),
5656         (gst_registry_init), (gst_registry_finalize),
5657         (gst_registry_get_default), (gst_registry_deinit):
5658         * gst/gstregistry.h:
5659         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5660           various cleanups and memleak plugging.  make valgrind is happy now.
5661
5662 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5663
5664         * common/check.mak:
5665           add a check-valgrind target
5666
5667 2005-09-18  David Schleef  <ds@schleef.org>
5668
5669         * tools/gst-inspect.c: Revert the GOption code.
5670
5671 2005-09-17  David Schleef  <ds@schleef.org>
5672
5673         * check/Makefile.am: Fix environment variables.
5674         * check/gst/gstplugin.c: Fix for API changes.
5675         * tools/gst-inspect.c: Fix for API changes.
5676         * tools/gst-xmlinspect.c: Fix for API changes.
5677         * gst/gstelementfactory.c:
5678         * gst/gstplugin.c:
5679         * gst/gstplugin.h:
5680         * gst/gstpluginfeature.c:
5681         * gst/gstpluginfeature.h:
5682         * gst/gstregistry.c:
5683         * gst/gstregistry.h:
5684         * gst/gstregistryxml.c:
5685         * gst/gsttypefind.c:
5686         * gst/gsttypefindfactory.c:
5687         * gst/indexers/gstfileindex.c:
5688         * gst/indexers/gstmemindex.c:
5689         * gst/schedulers/Makefile.am:
5690           Change registry to keep track of both plugins and features,
5691           removing the feature tracking from plugins themselves.
5692
5693 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5694
5695         * check/Makefile.am:
5696         * tools/gst-register.1.in:
5697           remove gst-register
5698
5699 2005-09-15  David Schleef  <ds@schleef.org>
5700
5701         * check/gst/gstplugin.c:
5702         * gst/gstelementfactory.c:
5703         * gst/gstplugin.c:
5704         * gst/gstpluginfeature.c:
5705         * gst/gstregistry.c:
5706           Getting tired of debugging.  Disabled all the unreffing of
5707           plugins and features, which fixes the segfaults, but of
5708           course leaks like crazy.  At least playbin works.
5709
5710 2005-09-15  David Schleef  <ds@schleef.org>
5711
5712         * check/gst/gstplugin.c: (register_check_elements),
5713         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5714         More testing
5715         * gst/elements/gsttypefindelement.c: Fix refcounting.
5716         * gst/gsttypefind.c:
5717         * gst/gsttypefindfactory.c:
5718         * gst/gsttypefindfactory.h:
5719
5720 2005-09-15  David Schleef  <ds@schleef.org>
5721
5722         * gst/gstindex.c: get refcounting correct.
5723         * gst/gstregistry.c: Handle the case where a feature/plugin is
5724           not found.
5725
5726 2005-09-15  David Schleef  <ds@schleef.org>
5727
5728         * check/Makefile.am:
5729         * check/gst/gstplugin.c: Add test
5730         * gst/gstplugin.c: Fix problems noticed by testsuite
5731         * gst/gstplugin.h:
5732         * gst/gstregistry.c: 
5733         * gst/gstregistry.h:
5734
5735 2005-09-15  David Schleef  <ds@schleef.org>
5736
5737         * gst/gstplugin.c: Implement semi-decent recounting and locking
5738           in plugins and plugin features.
5739         * gst/gstplugin.h:
5740         * gst/gstpluginfeature.c:
5741         * gst/gstpluginfeature.h:
5742         * gst/gstregistry.c:
5743
5744 2005-09-15  Michael Smith <msmith@fluendo.com>
5745
5746         * gst/gstregistry.c: (gst_registry_get_feature_list):
5747           Implement this. Makes oggdemux work; decodebin still broken.
5748
5749 2005-09-14  David Schleef  <ds@schleef.org>
5750
5751         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5752           #316076)
5753         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5754         * gst/check/Makefile.am:
5755         * libs/gst/controller/Makefile.am:
5756         * libs/gst/dataprotocol/Makefile.am:
5757
5758 2005-09-14  David Schleef  <ds@schleef.org>
5759
5760         * configure.ac: Remove getbits library.  Nothing uses it, and
5761           it should be in something like liboil if someone did want
5762           to use it.
5763         * libs/gst/Makefile.am:
5764         * libs/gst/getbits/Makefile.am:
5765         * libs/gst/getbits/gbtest.c:
5766         * libs/gst/getbits/getbits.c:
5767         * libs/gst/getbits/getbits.h:
5768         * libs/gst/getbits/gstgetbits_generic.c:
5769         * libs/gst/getbits/gstgetbits_i386.s:
5770         * libs/gst/getbits/gstgetbits_inl.h:
5771
5772 2005-09-14  David Schleef  <ds@schleef.org>
5773
5774         * gst/Makefile.am: Dist glib-compat.h
5775
5776 2005-09-14  David Schleef  <ds@schleef.org>
5777
5778         * configure.ac: Remove gst/registries, since it's no longer used.
5779         * gst/registries/Makefile.am:
5780         * gst/registries/gstlibxmlregistry.c:
5781         * gst/registries/gstlibxmlregistry.h:
5782         * gst/registries/gstxmlregistry.c:
5783         * gst/registries/gstxmlregistry.h:
5784         * gst/registries/registrytest.c:
5785
5786 2005-09-14  David Schleef  <ds@schleef.org>
5787
5788         * gst/glib-compat.h:
5789         * gst/gstregistryxml.c:
5790           Convergence is near.  Seriously.
5791
5792 2005-09-14  David Schleef  <ds@schleef.org>
5793
5794         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5795         * gst/glib-compat.h:
5796           Attempt #4 to appease the buildbots.
5797
5798 2005-09-14  David Schleef  <ds@schleef.org>
5799
5800         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5801           Attempt #3.
5802
5803 2005-09-14  David Schleef  <ds@schleef.org>
5804
5805         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5806         Attempt #2.
5807
5808 2005-09-14  David Schleef  <ds@schleef.org>
5809
5810         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5811           the new functions.
5812
5813 2005-09-14  David Schleef  <ds@schleef.org>
5814
5815         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5816         * gst/glib-compat.h: Add some functions that are in newer versions
5817           of glib than we care to require.
5818         * gst/gstregistryxml.c: Use them.
5819
5820 2005-09-14  David Schleef  <ds@schleef.org>
5821
5822         * po/POTFILES.in: remove gst-register.c
5823
5824 2005-09-14  David Schleef  <ds@schleef.org>
5825
5826         * docs/gst/gstreamer-docs.sgml:
5827         * docs/gst/gstreamer-sections.txt:
5828         * docs/gst/gstreamer.types:
5829         * docs/gst/tmpl/gstelement.sgml:
5830         * docs/gst/tmpl/gstplugin.sgml:
5831         * docs/gst/tmpl/gstpluginfeature.sgml:
5832           Documentation updates for registry changes.
5833
5834 2005-09-14  David Schleef  <ds@schleef.org>
5835
5836         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5837           because we don't require glib-2.8.
5838
5839 2005-09-14  David Schleef  <ds@schleef.org>
5840
5841         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5842           registries directory.
5843
5844 2005-09-14  David Schleef  <ds@schleef.org>
5845
5846         * check/Makefile.am:
5847         * check/generic/states.c:
5848         * gst/Makefile.am:
5849         * gst/gst.c:
5850         * gst/gst.h:
5851         * gst/gst_private.h:
5852         * gst/gstelementfactory.c:
5853         * gst/gstindex.c:
5854         * gst/gstinfo.c:
5855         * gst/gstplugin.c:
5856         * gst/gstplugin.h:
5857         * gst/gstpluginfeature.c:
5858         * gst/gstpluginfeature.h:
5859         * gst/gstregistry.c:
5860         * gst/gstregistry.h:
5861         * gst/gstregistrypool.c: remove
5862         * gst/gstregistrypool.h: remove
5863         * gst/gsttypefind.c:
5864         * gst/gsttypefindfactory.c:
5865         * gst/gsturi.c:
5866         * tools/Makefile.am:
5867         * tools/gst-compprep.c:
5868         * tools/gst-inspect.c:
5869         * tools/gst-register.c: remove
5870         * tools/gst-xmlinspect.c:
5871           Registry rewrite.  Changes registry from being a file created
5872           by a tool into a simple cache file created automatically by 
5873           libgstreamer.  Removed gst-register (because it's no longer
5874           needed).  Remove registry pools, because we only have one
5875           registry implementation (XML).  Fix up other subsystems as
5876           necessary.
5877
5878 2005-09-13  Michael Smith <msmith@fluendo.com>
5879
5880         * gst/gstconfig.h.in:
5881           Don't Use windows linking attributes for MinGW. Fixes #316157
5882
5883 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5884
5885         * gst/gstutils.c: (set_state_async_thread_func),
5886         (gst_element_set_state_async):
5887           Apparently people think it's better if this function doesn't
5888           try to set the state to whatever state was asked for on the first
5889           call to this function for any object.  Seriously.
5890
5891 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5892
5893         * check/gst/gstpipeline.c: (GST_START_TEST):
5894         * docs/gst/gstreamer-sections.txt:
5895         * gst/gstutils.c: (set_state_async_thread_func),
5896         (gst_element_set_state_async):
5897         * gst/gstutils.h:
5898           add a "gst_element_set_state_async" method that
5899           sets the state and starts a thread to make sure the state
5900           change completes as best as it can
5901
5902 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5903
5904         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5905           codify design+behaviour in testsuite after discussion
5906
5907 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5908
5909         * docs/gst/tmpl/gstelement.sgml:
5910         * docs/manual/appendix-quotes.xml:
5911           add a quote
5912         * gst/gstelement.c: (gst_element_set_state):
5913           add some debug
5914
5915 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5916
5917         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5918         (gst_base_transform_prepare_output_buf),
5919         (gst_base_transform_handle_buffer):
5920         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5921         (gst_capsfilter_prepare_buf):
5922           Remove the requirement for sub-classes to call the parent
5923           implementation of prepare_output_buffer with a wrapper function.
5924           
5925         * gst/gsttaglist.h:
5926         * gst/gsttagsetter.h:
5927           Fix #define wrapper
5928
5929 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5930
5931         * docs/gst/gstreamer-sections.txt:
5932           more doc cleanups
5933
5934 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5935
5936         * docs/gst/gstreamer-sections.txt:
5937         * docs/gst/tmpl/gstelement.sgml:
5938         * docs/gst/tmpl/gstplugin.sgml:
5939         * gst/gstminiobject.c:
5940         * gst/gstvalue.h:
5941           docs now stop throwing warnings
5942
5943 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5944
5945         * docs/gst/gstreamer-sections.txt:
5946         * docs/gst/gstreamer.types:
5947         * docs/gst/tmpl/gstpad.sgml:
5948         * docs/gst/tmpl/gsttypes.sgml:
5949         * gst/base/gstadapter.h:
5950         * gst/base/gstbasesink.h:
5951         * gst/base/gstbasesrc.h:
5952         * gst/gstbin.h:
5953         * gst/gstbuffer.h:
5954         * gst/gstbus.h:
5955         * gst/gstcaps.h:
5956         * gst/gstclock.h:
5957         * gst/gstelement.h:
5958         * gst/gstevent.h:
5959         * gst/gstmessage.h:
5960         * gst/gstpad.h:
5961         * gst/gststructure.c:
5962         * gst/registries/gstlibxmlregistry.h:
5963           various documentation fixes
5964
5965 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5966
5967         * docs/gst/gstreamer-sections.txt:
5968         * docs/gst/tmpl/gstvalue.sgml:
5969           rearrange gstvalue section
5970         * gst/gstutils.c: (gst_element_state_get_name):
5971           NONE -> VOID
5972         * gst/gstvalue.c: (_gst_value_initialize):
5973         * gst/gstvalue.h:
5974           doc updates
5975
5976 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5977
5978         * check/gst-libs/controller.c:
5979           Header include fix.
5980         * gst/base/gstbasetransform.c:
5981         (gst_base_transform_default_prepare_buf),
5982         (gst_base_transform_handle_buffer):
5983         * gst/base/gstbasetransform.h:
5984           Some more basetransform changes and fixes to enable sub-classes
5985           that modify buffer metadata only.
5986         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5987         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5988         (gst_capsfilter_prepare_buf):
5989           If the output pad has fixed allowed caps and input buffers 
5990           don't have any, set the fixed caps on outgoing buffers.
5991
5992 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5993         * check/elements/identity.c: (GST_START_TEST):
5994           Make the error a little clearer when the test fails because
5995           identity made a copy of the buffer.
5996         * docs/gst/gstreamer-sections.txt:
5997           New symbols in gstbasetransform.h
5998         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5999         (gst_base_transform_init), (gst_base_transform_transform_size),
6000         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6001         (gst_base_transform_default_prepare_buf),
6002         (gst_base_transform_get_unit_size),
6003         (gst_base_transform_buffer_alloc),
6004         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6005         (gst_base_transform_change_state),
6006         (gst_base_transform_set_passthrough),
6007         (gst_base_transform_set_in_place),
6008         (gst_base_transform_is_in_place):
6009         * gst/base/gstbasetransform.h:
6010           Change BaseTransform to separate in_place operate from same_caps
6011           output. in_place implies that the element can perform the transform
6012           on incoming buffers in-place, even if the caps on the output are
6013           different.
6014           Sub-class elements can now implement special buffer allocation
6015           methods for outgoing buffers if they wish to.
6016           Big documentation addition.
6017         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6018         * gst/elements/gstelements.c:
6019           Changes for basetransform modifications.
6020         * gst/elements/Makefile.am:
6021         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6022           Compile fix. Extra debug output.
6023
6024 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6025
6026         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6027         (gst_pad_suite):
6028           add tests for valid pad naming
6029         * gst/check/gstcheck.c: (gst_check_log_message_func),
6030         (gst_check_log_critical_func):
6031           add ASSERT_WARNING
6032           remove printing of code, it is fragile when the code contains
6033           % and the line number is enough info
6034         * gst/check/gstcheck.h:
6035         * gst/gstpad.c: (gst_pad_template_new):
6036           fix memleaks
6037
6038 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6039
6040         * configure.ac:
6041           say what CHECK flags we use
6042         * docs/libs/gstreamer-libs.types:
6043         * libs/gst/controller/Makefile.am:
6044         * libs/gst/controller/gst-controller.c:
6045         * libs/gst/controller/gst-controller.h:
6046         * libs/gst/controller/gst-helper.c:
6047         * libs/gst/controller/gst-interpolation.c:
6048         * libs/gst/controller/gstcontroller.c:
6049         * libs/gst/controller/gsthelper.c:
6050         * libs/gst/controller/gstinterpolation.c:
6051         * tools/gst-inspect.c: (print_plugin_info):
6052           we don't use dashes in header names
6053
6054 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6055
6056         * check/Makefile.am:
6057         * check/gst/.cvsignore:
6058         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6059         (gst_pipeline_suite), (main):
6060           adding a test for pipelines and state changes
6061         * gst/gstutils.c: (get_state_func):
6062           add some debugging
6063         * gstreamer.spec.in:
6064           fix up spec file
6065
6066 2005-09-08  Michael Smith <msmith@fluendo.com>
6067
6068         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6069         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6070         (gst_file_src_is_seekable), (gst_file_src_get_size),
6071         (gst_file_src_start):
6072         * gst/elements/gstfilesrc.h:
6073           Various fixes for unseekable, unmmapable, and non-normal files, so
6074           that fallback to read() rather than mmap() works.
6075         * gst/gstevent.c: (gst_event_new_newsegment):
6076           Allow newsegment events with segment_start == segment_end, as will
6077           correctly happen if you use filesrc on a zero-size file, for
6078           example.
6079
6080 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6081
6082         * gst/gstplugin.c: (gst_plugin_load_file):
6083           Call g_module_close when we don't load the module
6084
6085         * gst/registries/gstlibxmlregistry.c:
6086         (gst_xml_registry_get_property):
6087           Port leak fix from 0.8
6088
6089 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6090
6091         * docs/gst/gstreamer-docs.sgml:
6092         * docs/gst/tmpl/.cvsignore:
6093         * docs/gst/tmpl/gsttrace.sgml:
6094         * docs/gst/tmpl/gsttrashstack.sgml:
6095         * gst/Makefile.am:
6096         * gst/gst.h:
6097         * gst/gstelement.h:
6098         * gst/gstevent.h:
6099         * gst/gstmessage.c:
6100         * gst/gstmessage.h:
6101         * gst/gsttag.c:
6102         * gst/gsttag.h:
6103         * gst/gsttaginterface.c:
6104         * gst/gsttaginterface.h:
6105         * gst/gsttaglist.c:
6106         * gst/gsttaglist.h:
6107         * gst/gsttagsetter.c:
6108         * gst/gsttagsetter.h:
6109         * gst/gsttrace.c:
6110         * gst/gsttrace.h:
6111         * gst/gsttrashstack.c:
6112           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6113           inlined docs for gsttrace, gsttrashstack
6114
6115 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6116
6117         * gst/Makefile.am:
6118         * gst/elements/gstbufferstore.h:
6119         * gst/elements/gsttypefindelement.c:
6120         * gst/elements/gsttypefindelement.h:
6121         * gst/gst.h:
6122         * gst/gsttypefind.c:
6123         * gst/gsttypefind.h:
6124         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6125         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6126         (gst_type_find_factory_dispose),
6127         (gst_type_find_factory_unload_thyself),
6128         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6129         (gst_type_find_factory_get_caps),
6130         (gst_type_find_factory_get_extensions),
6131         (gst_type_find_factory_call_function):
6132         * gst/gsttypefindfactory.h:
6133         * gst/registries/gstlibxmlregistry.c:
6134         * gst/registries/gstxmlregistry.c:
6135           splitted gsttypefind into gsttypefind, gsttypefindfactory
6136
6137 2005-09-07  Andy Wingo  <wingo@pobox.com>
6138
6139         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6140         condition whereby the pad's task function is entered before the
6141         pad_mode variable was set.
6142
6143 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6144
6145         * gst/gstpad.c: (gst_pad_alloc_buffer):
6146           Catch misbehaving pad_alloc functions that don't
6147           set up caps and do it for them.
6148
6149 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6150
6151         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6152           test for pipe!=NULL
6153         * docs/gst/tmpl/.cvsignore:
6154         * docs/gst/tmpl/gstmemchunk.sgml:
6155         * docs/gst/tmpl/gstparse.sgml:
6156         * docs/gst/tmpl/gsttaglist.sgml:
6157         * docs/gst/tmpl/gsttagsetter.sgml:
6158         * docs/gst/tmpl/gsttypefind.sgml:
6159         * docs/gst/tmpl/gsttypefindfactory.sgml:
6160         * gst/gstmemchunk.c:
6161         * gst/gstparse.c:
6162         * gst/gsttag.c:
6163         * gst/gsttaginterface.c:
6164         * gst/gsttypefind.c:
6165         * gst/gsttypefind.h:
6166           inlined more docs
6167
6168 === release 0.9.2 ===
6169
6170 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6171
6172         * NEWS:
6173         * RELEASE:
6174         * configure.ac:
6175           releasing 0.9.2, "South"
6176
6177 2005-09-05  Andy Wingo  <wingo@pobox.com>
6178
6179         * gst/registries/gstxmlregistry.h:
6180         * gst/registries/gstxmlregistry.c: Um... resurrect...
6181         
6182         * gst/registries/gstxmlregistry.h:
6183         * gst/registries/gstxmlregistry.c: and update to newer API.
6184         Incidentally they should be a bit faster now that they don't have
6185         to parse the caps.
6186         
6187 2005-09-05  Andy Wingo  <wingo@pobox.com>
6188
6189         * gst/registries/gstxmlregistry.h:
6190         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6191         replaced by the libxml registry a while back
6192
6193 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6194
6195         * docs/gst/tmpl/gstplugin.sgml:
6196         * gst/elements/gstelements.c:
6197         * gst/gst.c:
6198         * gst/gstplugin.c: (gst_plugin_register_func),
6199         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6200         (gst_plugin_get_source):
6201         * gst/gstplugin.h:
6202         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6203         (gst_xml_registry_save_plugin):
6204         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6205         (gst_xml_registry_save_plugin):
6206         * tools/gst-inspect.c: (print_plugin_info):
6207           add a "source" plugin description field, to represent the source
6208           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6209           will set it to PACKAGE, which is automake's idea of the name of
6210           the source project.
6211
6212 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6213
6214         * Makefile.am:
6215         * autogen.sh:
6216         * configure.ac:
6217         * docs/Makefile.am:
6218         * docs/faq/Makefile.am:
6219         * docs/gst/tmpl/gstelement.sgml:
6220         * docs/gst/tmpl/gsttypes.sgml:
6221         * docs/htmlinstall.mak:
6222         * docs/manual/Makefile.am:
6223         * docs/pwg/Makefile.am:
6224           reorganize doc build a little
6225           split out docbook and gtk-doc stuff
6226           have two separate --enable's and enable them through autogen
6227           but disable by default in configure (to be similar to other
6228           projects)
6229         * gstreamer.spec.in:
6230           clean up docs install
6231         * po/af.po:
6232         * po/az.po:
6233         * po/ca.po:
6234         * po/cs.po:
6235         * po/de.po:
6236         * po/en_GB.po:
6237         * po/fr.po:
6238         * po/it.po:
6239         * po/nb.po:
6240         * po/nl.po:
6241         * po/ru.po:
6242         * po/sq.po:
6243         * po/sr.po:
6244         * po/sv.po:
6245         * po/tr.po:
6246         * po/uk.po:
6247         * po/vi.po:
6248           translation updates
6249
6250 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6251
6252         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6253           Add comment.
6254           
6255         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6256         (gst_fake_sink_change_state):
6257           Make state change function thread-safe.
6258           
6259         * gst/gstpad.c: (gst_pad_alloc_buffer):
6260           Set offset on generic buffer allocated by fallback.
6261
6262 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6263
6264         * docs/gst/gstreamer-sections.txt:
6265         * docs/gst/tmpl/gstelement.sgml:
6266         * gst/gstpad.c:
6267         * libs/gst/controller/gst-controller.c:
6268         (gst_controlled_property_set_interpolation_mode),
6269         (gst_controlled_property_new),
6270         (gst_controller_find_controlled_property):
6271          run the wingo-magic script against the docs
6272
6273 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6274
6275         * docs/gst/gstreamer-docs.sgml:
6276         * docs/gst/gstreamer-sections.txt:
6277         * docs/gst/tmpl/.cvsignore:
6278         * docs/gst/tmpl/gstelementdetails.sgml:
6279         * docs/gst/tmpl/gstelementfactory.sgml:
6280         * gst/gst.c:
6281         * gst/gstbus.c:
6282         * gst/gstelementfactory.c:
6283         * gst/gstelementfactory.h:
6284           merged elementdetails docs into elementfactory docs
6285           inlined both
6286
6287 2005-09-02  Andy Wingo  <wingo@pobox.com>
6288
6289         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6290         consider this enum an enum and not a flags.
6291
6292 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6293
6294         * docs/gst/gstreamer-docs.sgml:
6295         * docs/gst/tmpl/.cvsignore:
6296         * docs/gst/tmpl/gstghostpad.sgml:
6297         * docs/gst/tmpl/gstiterator.sgml:
6298         * docs/gst/tmpl/gstmacros.sgml:
6299         * docs/gst/tmpl/gstrealpad.sgml:
6300         * docs/gst/tmpl/gstregistry.sgml:
6301         * docs/gst/tmpl/gstregistrypool.sgml:
6302         * docs/gst/tmpl/gststructure.sgml:
6303         * docs/gst/tmpl/gstsystemclock.sgml:
6304         * docs/gst/tmpl/gsttrace.sgml:
6305         * gst/gstghostpad.c:
6306         * gst/gstmacros.h:
6307         * gst/gstmemchunk.c:
6308         * gst/gstmemchunk.h:
6309         * gst/gstqueue.c:
6310         * gst/gstregistry.c:
6311         * gst/gstregistrypool.c:
6312         * gst/gststructure.c:
6313         * gst/gstsystemclock.c:
6314           more docs inlined
6315
6316 2005-09-02  Andy Wingo  <wingo@pobox.com>
6317
6318         * gst/gstelement.h (GstState): Renamed from GstElementState,
6319         changed to be a normal enum instead of flags.
6320         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6321         munged to be GST_STATE_CHANGE_*.
6322         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6323         work with the new state representation.
6324         (GstStateChange): New enumeration of possible state transitions.
6325         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6326         (GstElementClass::change_state): Pass the GstStateChange along as
6327         an argument. Helps language bindings, so they don't have to use
6328         tricky lock-needing macros like GST_STATE_CHANGE ().
6329
6330         * scripts/update-states (file): New script. Run it on a file to
6331         update it for state naming and API changes. Updates files in
6332         place.
6333
6334         * All files updated for the new API.
6335
6336 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6337
6338         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6339         * gst/gstutils.c: (gst_util_set_value_from_string),
6340         (gst_util_set_object_arg):
6341           fix a bunch of unchecked return values
6342         * tools/gst-complete.c: (main):
6343         * gstreamer.spec.in:
6344           clean up a little
6345
6346 2005-09-01  Wim Taymans  <wim@fluendo.com>
6347
6348         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6349         (gst_base_sink_event), (gst_base_sink_do_sync),
6350         (gst_base_sink_handle_event):
6351         * gst/base/gstbasesink.h:
6352         Handle newsegments more correctly.
6353
6354         * gst/gstbus.c:
6355         Fix docs.
6356
6357         * gst/gstevent.c: (gst_event_new_newsegment):
6358         A newsegment cannot have a start_time of -1
6359
6360 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6361
6362         * win32/gstenumtypes.c:
6363         * win32/gstenumtypes.h:
6364           Update
6365
6366 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6367
6368         * libs/gst/controller/gst-controller.c:
6369         (gst_controlled_property_set_interpolation_mode),
6370         (gst_controlled_property_new):
6371          fixed boolean again
6372
6373 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6374
6375         * docs/faq/gst-uninstalled:
6376           add -good
6377         * gst/gstevent.c:
6378         * gst/gstevent.h:
6379           remove wrong docs
6380         * gst/gstutils.c: (gst_element_link_filtered):
6381         * gst/gstutils.h:
6382           add gst_element_link_filtered
6383
6384 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6385
6386         * docs/gst/gstreamer-docs.sgml:
6387         * docs/gst/gstreamer-sections.txt:
6388         * docs/gst/tmpl/.cvsignore:
6389         * docs/gst/tmpl/gsterror.sgml:
6390         * docs/gst/tmpl/gstfilter.sgml:
6391         * docs/gst/tmpl/gsturihandler.sgml:
6392         * docs/gst/tmpl/gsturitype.sgml:
6393         * docs/gst/tmpl/gstutils.sgml:
6394         * docs/gst/tmpl/gstxml.sgml:
6395         * gst/gsterror.c:
6396         * gst/gsterror.h:
6397         * gst/gstfilter.c:
6398         * gst/gsturi.c:
6399         * gst/gsturitype.c:
6400         * gst/gstutils.c:
6401         * gst/gstxml.c:
6402           inlined more docs, fixed double id-ref
6403
6404 2005-08-31  Wim Taymans  <wim@fluendo.com>
6405
6406         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6407         (gst_base_transform_handle_buffer):
6408         Passthrough elements don't need the caps as they don't care.
6409
6410 2005-08-31  Wim Taymans  <wim@fluendo.com>
6411
6412         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6413         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6414         Don't leak refcounts on buffers.
6415
6416 2005-08-31  Wim Taymans  <wim@fluendo.com>
6417
6418         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6419         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6420         (gst_base_transform_chain), (gst_base_transform_change_state):
6421         * gst/base/gstbasetransform.h:
6422         Handle the case where we are not negotiated more gracefully.
6423
6424 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6425
6426         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6427         (gst_file_src_map_region):
6428           Set READONLY flag on mmap'ed buffers, otherwise
6429           gst_buffer_make_writable() won't work properly (#314708).
6430
6431 2005-08-31  Wim Taymans  <wim@fluendo.com>
6432
6433         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6434         passthrough elements can even do inplace on non writable
6435         buffers (as they don't touch them).
6436
6437 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6438
6439         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6440         (gst_test_mono_source_set_property),
6441         (gst_test_mono_source_class_init), (GST_START_TEST),
6442         (gst_controller_suite):
6443           more tests (hehe I have the most)
6444         * gst/gstbus.c:
6445           describe popping messages whenusing mulltiple sources
6446         * libs/gst/controller/gst-controller.c:
6447         (gst_controlled_property_set_interpolation_mode),
6448         (gst_controlled_property_new):
6449         * libs/gst/controller/gst-controller.h:
6450         * libs/gst/controller/gst-interpolation.c:
6451           implement boolean properties
6452
6453 2005-08-31  Wim Taymans  <wim@fluendo.com>
6454
6455         * gst/gstminiobject.c: (gst_mini_object_ref):
6456         Cannot assert that the refcount has to be positive
6457         since a disposed object can be resurrected.
6458
6459 2005-08-31  Wim Taymans  <wim@fluendo.com>
6460
6461         * gst/gstpad.c: (gst_pad_init):
6462         Revert change, need to first fix badly behaving 
6463         apps.
6464
6465 2005-08-30  Wim Taymans  <wim@fluendo.com>
6466
6467         * check/elements/fakesrc.c: (setup_fakesrc):
6468         * check/elements/identity.c: (setup_identity):
6469         Activate pads before using them.
6470
6471 2005-08-30  Wim Taymans  <wim@fluendo.com>
6472
6473         * gst/base/gstadapter.c: (gst_adapter_flush):
6474         Flushing out 0 bytes is ok for this function.
6475
6476         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6477         no newsegment gives a warning and sets the start/stop to 
6478         invalid.
6479
6480         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6481         (gst_base_transform_set_passthrough):
6482         Some debug info.
6483
6484         * gst/gstminiobject.c: (gst_mini_object_ref):
6485         Check refcount here too.
6486
6487         * gst/gstpad.c: (gst_pad_init):
6488         Pads are initially flushing and refusing data.
6489
6490         * gst/gstutils.c: (gst_element_link_pads_filtered):
6491         When adding a capsfilter element make sure it has the
6492         same state as the parent bin.
6493
6494 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6495
6496         * docs/gst/tmpl/.cvsignore:
6497         * docs/gst/tmpl/gstformat.sgml:
6498         * docs/gst/tmpl/gstversion.sgml:
6499         * gst/gstbus.h:
6500         * gst/gstformat.c:
6501         * gst/gstformat.h:
6502         * gst/gstversion.h.in:
6503           more docs and two more inlined
6504
6505 2005-08-30  Wim Taymans  <wim@fluendo.com>
6506
6507         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6508         Don't sync to clock.
6509
6510 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6511
6512         * docs/gst/gstreamer-sections.txt:
6513           ultral33t func10ns deserve to appear in the docs actually
6514         * docs/gst/tmpl/.cvsignore:
6515         * docs/gst/tmpl/gstcompat.sgml:
6516         * docs/gst/tmpl/gstconfig.sgml:
6517         * gst/check/gstcheck.c:
6518         * gst/gstcompat.h:
6519         * gst/gstconfig.h.in:
6520           inlined more docs
6521
6522 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6523
6524         * docs/gst/tmpl/.cvsignore:
6525         * docs/gst/tmpl/gstquery.sgml:
6526         * docs/gst/tmpl/gstutils.sgml:
6527         * gst/gstquery.c:
6528         * gst/gstquery.h:
6529           inlined and extended docs
6530
6531 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6532
6533         * check/gst-libs/controller.c: (GST_START_TEST),
6534         (gst_controller_suite):
6535           more tests
6536         * docs/gst/tmpl/gstutils.sgml:
6537         * docs/libs/gstreamer-libs-sections.txt:
6538         * docs/libs/tmpl/gstdataprotocol.sgml:
6539           include path fixes
6540         * examples/controller/audio-example.c: (main):
6541           controller example works now
6542         * gst/gstclock.h:
6543           doc fixes
6544         * tools/gst-inspect.c: (print_element_properties_info):
6545           show param spec flags
6546
6547 2005-08-29  Andy Wingo  <wingo@pobox.com>
6548
6549         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6550
6551 2005-08-28  Andy Wingo  <wingo@pobox.com>
6552
6553         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6554         as having two arguments instead of just one. Allows superclasses
6555         to access information on subclasses -- see the terrible for() loop
6556         in gtype.c:g_type_create_instance for the reason why. All callers
6557         changed.
6558
6559 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6560
6561         * docs/design/part-messages.txt:
6562           update info
6563         * docs/gst/tmpl/.cvsignore:
6564         * docs/gst/tmpl/gstcaps.sgml:
6565         * docs/gst/tmpl/gstclock.sgml:
6566         * gst/gstbus.c:
6567         * gst/gstcaps.c:
6568         * gst/gstcaps.h:
6569         * gst/gstclock.c:
6570         * gst/gstclock.h:
6571         * gst/gstmessage.c:
6572           added descriptions for bus and message
6573           inline caps and clock docs
6574
6575 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6576
6577         * gst/gstmessage.c:
6578         * gst/gstmessage.h:
6579           doc fixes
6580
6581 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6582
6583         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6584           fix div-by-zero
6585
6586 2005-08-26  Andy Wingo  <wingo@pobox.com>
6587
6588         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6589         element_set_state's return val.
6590         (test_2_elements): Add test that's been disabled for months.
6591
6592         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6593         can-activate-pull properties.
6594
6595         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6596         can-activate-pull properties. Implement is_seekable so fakesrc can
6597         operate in pull mode.
6598
6599         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6600         properties.
6601         (gst_base_sink_activate, gst_base_sink_activate_pull)
6602         (gst_base_sink_activate_push): Make activation mode choosing work.
6603         Cleanups.
6604         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6605         is right. Make pull mode work. Post an eos before pausing in pull
6606         mode.
6607         (gst_base_sink_change_state): Pay attention to the core's
6608         change_state() return val.
6609         
6610         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6611         has-getrange properties. Cleanups.
6612         
6613         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6614         has_getrange and replace with can_activate_pull and
6615         can_activate_push.
6616
6617         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6618         locking comments. Remove has_loop, has_chain and replace with
6619         can_activate_pull and can_activate_push.
6620
6621 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6622
6623         * configure.ac:
6624         * examples/Makefile.am:
6625         * examples/metadata/Makefile.am:
6626         * examples/metadata/read-metadata.c: (message_loop),
6627         (have_pad_handler), (make_pipeline), (print_tag), (main):
6628           Add metadata reading example that loops over a list of filenames,
6629           dumping any tags found.
6630
6631         * gst/gstbus.c: (gst_bus_dispose):
6632         * gst/gstelement.c: (gst_element_dispose):
6633           Release a few potentially-held references in dispose.
6634
6635 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6636
6637         * docs/gst/tmpl/gstminiobject.sgml:
6638           do *not* add tmpl/*.sgml files to CVS!
6639
6640 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6641
6642         * libs/gst/bytestream/.cvsignore:
6643         * libs/gst/bytestream/Makefile.am:
6644         * libs/gst/bytestream/adapter.c:
6645         * libs/gst/bytestream/adapter.h:
6646         * libs/gst/bytestream/bytestream.c:
6647         * libs/gst/bytestream/bytestream.h:
6648         * libs/gst/bytestream/filepad.c:
6649         * libs/gst/bytestream/filepad.h:
6650           removing obsolete files
6651
6652 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6653
6654         * docs/gst/gstreamer-docs.sgml:
6655         * docs/libs/gstreamer-libs-docs.sgml:
6656           disabed additional index entries again, as this makes docs-gen just
6657           slow and they aren't useful yet
6658         * docs/libs/gstreamer-libs-sections.txt:
6659           little -section.txt cleanup for libs
6660
6661 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6662
6663         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6664         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6665           fix up some debugging
6666         (gst_base_transform_get_unit_size),
6667         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6668         (gst_base_transform_handle_buffer):
6669         * gst/base/gstbasetransform.h:
6670           handle and store timed NEWSEGMENT events so that subclasses that
6671           calculate time by counting samples have a segment_start time they
6672           need to add to their timestamps - see audioresample
6673
6674 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6675
6676         * gst/gstbin.h:
6677           removed ';' from the end of macro defs
6678         * docs/gst/gstreamer-docs.sgml:
6679         * docs/gst/gstreamer-sections.txt:
6680         * docs/gst/tmpl/.cvsignore:
6681         * gst/gstbus.h:
6682         * gst/gstelement.c: (gst_element_class_init),
6683         (gst_element_set_state), (activate_pads),
6684         (gst_element_save_thyself):
6685         * gst/gstevent.c: (gst_event_new_newsegment):
6686         * gst/gstevent.h:
6687         * gst/gstiterator.c:
6688         * gst/gstiterator.h:
6689         * gst/gstpad.c:
6690         * gst/gstprobe.h:
6691         * gst/gstutils.c: (gst_pad_query_convert):
6692         * gst/gstutils.h:
6693           fixed parameter name mismatches between source, header and docs
6694           added some more docs, resolved the last batch of unused elements in
6695           docs (now someone needs to doc them)
6696
6697 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6698
6699         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6700         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6701           don't walk through the plugins backwards.  Where is all this
6702           reversed logic coming from ?
6703
6704 2005-08-25  Wim Taymans  <wim@fluendo.com>
6705
6706         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6707         (gst_base_transform_transform_size),
6708         (gst_base_transform_configure_caps),
6709         (gst_base_transform_get_unit_size),
6710         (gst_base_transform_buffer_alloc),
6711         (gst_base_transform_change_state):
6712         * gst/base/gstbasetransform.h:
6713         Cache caps unit_size.
6714         Make sure we cannot negotiate up and downstream at the
6715         same time.
6716
6717 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6718
6719         * gst/gst.c: (init_pre), (init_post):
6720           register the installed plugin path after the env var
6721         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6722         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6723           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6724           directories, so the tests can prefer uninstalled over installed
6725
6726 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6727
6728         * gst/base/gstbasetransform.h:
6729           comment
6730         * gst/gstpad.c:
6731           add to docs
6732
6733 2005-08-25  Wim Taymans  <wim@fluendo.com>
6734
6735         * gst/gstbin.c: (bin_bus_handler):
6736         Be a bit more conservative about the posted message.
6737         
6738         * gst/gstbus.c: (gst_bus_post):
6739         Some cleanups, warn wrong return values.
6740
6741 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6742
6743         * check/gst/gstbin.c: (GST_START_TEST):
6744         * gst/gstbin.c: (bin_bus_handler):
6745         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6746         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6747         (gst_message_new_warning), (gst_message_new_tag),
6748         (gst_message_new_state_changed), (gst_message_new_segment_start),
6749         (gst_message_new_segment_done), (gst_message_new_custom):
6750         * gst/gstmessage.h:
6751         * tools/gst-launch.c: (event_loop):
6752         * tools/gst-md5sum.c: (event_loop):
6753           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6754
6755 2005-08-25  Wim Taymans  <wim@fluendo.com>
6756
6757         * check/generic/states.c: (GST_START_TEST):
6758         Cleanup can be done at the end.
6759
6760         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6761         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6762         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6763         Oh boy.. Thanks for finding this, Thomas. 
6764
6765 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6766
6767         * docs/gst/gstreamer.types:
6768           added missing types
6769
6770 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6771
6772         * docs/gst/gstreamer-docs.sgml:
6773         * docs/gst/gstreamer-sections.txt:
6774         * docs/gst/tmpl/.cvsignore:
6775         * gst/gstbin.c:
6776         * gst/gstiterator.c:
6777         * gst/gstutils.c:
6778         * gst/registries/gstxmlregistry.h:
6779           added missing classes and symbols (123 more to go)
6780           removed removed symbols from section file
6781           fixed many doc-comments
6782
6783 2005-08-24  Wim Taymans  <wim@fluendo.com>
6784
6785         * check/generic/states.c: (GST_START_TEST):
6786         Make sure all tasks are stopped.
6787
6788         * check/gst/gstbin.c: (GST_START_TEST):
6789         Unref after usage for proper valgrinding.
6790
6791         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6792         Really wait for the task to stop before destroying the
6793         mutex.
6794
6795         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6796         (gst_queue_src_activate_push):
6797         Small cleanups. Don't stop the task when we did not start
6798         it.
6799
6800         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6801         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6802         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6803         (gst_task_join):
6804         * gst/gsttask.h:
6805         Protect the stream lock with the object lock.
6806         Disallow setting the stream lock when running.
6807         Add cleanup_all to wait for the threadpool to finish.
6808         Remove code to autoallocate a mutex if none was provided.
6809         Add _join() to wait for a task to stop.
6810         Protect the thread pool with a global lock.
6811
6812 2005-08-24  Wim Taymans  <wim@fluendo.com>
6813
6814         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6815         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6816         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6817         * gst/base/gstbasesink.h:
6818         Handle newsegment events correctly.
6819         Drop buffers out of the segment range.
6820
6821 2005-08-22  Andy Wingo  <wingo@pobox.com>
6822
6823         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6824         macro, implements an interface and gstimplementsinterface for a
6825         new type.
6826
6827 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6828
6829         * check/Makefile.am:
6830         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6831           add a test that does a bunch of state changes on elements
6832           needs some fixing for valgrind
6833         * check/states/sinks.c: (gst_object_suite):
6834           whitespace
6835         * gst/gstcaps.h:
6836           add prototype for gst_caps_is_equal_fixed
6837         * gst/gstplugin.c:
6838         * gst/gstregistrypool.c:
6839           doc fixes
6840
6841 2005-08-24  Andy Wingo  <wingo@pobox.com>
6842
6843         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6844         convert a negative value. Doesn't make much sense. Mostly this is
6845         here to force callers to ensure -1 maps to -1.
6846
6847 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6848
6849         * docs/pwg/advanced-types.xml:
6850           Well done to Michael for catching my deliberate introduction
6851           of this spelling mistake. 
6852         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6853         * gst/gstelement.h:
6854           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6855           unlink pads before removing the element from the bin.
6856
6857 2005-08-24  Andy Wingo  <wingo@pobox.com>
6858
6859         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6860         the same thing as GST_DEBUG=*:4.
6861         (parse_debug_level, parse_debug_category): New helper parsers.
6862
6863 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6864
6865         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6866         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6867         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6868         (gst_base_transform_buffer_alloc),
6869         (gst_base_transform_handle_buffer):
6870           use gboolean return values and pointers to size so we can use the
6871           full GST_BUFFER_SIZE range (guint) for buffer sizes
6872           use GstPadDirection for transform_caps
6873         * gst/base/gstbasetransform.h:
6874           rename get_size to get_unit_size since that's what it is
6875         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6876           use GstPadDirection for transform_caps
6877         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6878         * gst/gstutils.h:
6879           cleanup and debugging
6880
6881 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6882
6883         * gst/gstelement.c: (gst_element_class_init),
6884         (gst_element_set_state), (activate_pads),
6885         (gst_element_save_thyself):
6886         * tools/gst-compprep.c: (main):
6887         * tools/gst-inspect.c: (print_element_properties_info):
6888         * tools/gst-xmlinspect.c: (print_element_properties):
6889           Fixed long standing mem-leak
6890
6891 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6892
6893         * check/gst/gstbin.c: (GST_START_TEST):
6894         * gst/gstbin.c: (bin_bus_handler):
6895         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6896         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6897         (gst_message_new_warning), (gst_message_new_tag),
6898         (gst_message_new_state_changed), (gst_message_new_segment_start),
6899         (gst_message_new_segment_done), (gst_message_new_custom):
6900         * gst/gstmessage.h:
6901         * tools/gst-launch.c: (event_loop):
6902         * tools/gst-md5sum.c: (event_loop):
6903           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6904           that applications can sensibly post custom messages with references
6905           to their own objects.
6906
6907 2005-08-24  Andy Wingo  <wingo@pobox.com>
6908
6909         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6910         already.
6911
6912 2005-08-24  Wim Taymans  <wim@fluendo.com>
6913
6914         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6915         (gst_base_transform_transform_caps),
6916         (gst_base_transform_transform_size),
6917         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6918         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6919         (gst_base_transform_handle_buffer):
6920         * gst/base/gstbasetransform.h:
6921         Many fixes and new features added by Thomas. Can now also do
6922         transforms with variable sizes and a custom fixate_caps function.
6923
6924 2005-08-24  Wim Taymans  <wim@fluendo.com>
6925
6926         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6927         Some debugging.
6928
6929         * gst/gstclock.h:
6930         Cast to ClockTime before formatting to time.
6931
6932         * gst/gstutils.h:
6933         Cleanups.
6934
6935 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6936
6937         * check/gst-libs/controller.c: (GST_START_TEST),
6938         (gst_controller_suite):
6939         * docs/gst/tmpl/gstcaps.sgml:
6940         * docs/gst/tmpl/gstghostpad.sgml:
6941         * docs/gst/tmpl/gstquery.sgml:
6942         * docs/gst/tmpl/gstutils.sgml:
6943         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6944         (gst_object_sink_values), (gst_object_get_value_arrays),
6945         (gst_object_get_value_array):
6946           gracefully handle helper method calls to objects that are not beeing
6947           controlled, added test case for that          
6948
6949 2005-08-23  Wim Taymans  <wim@fluendo.com>
6950
6951         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6952         (gst_event_new_newsegment), (gst_event_parse_newsegment),
6953         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6954         (gst_event_parse_qos), (gst_event_new_seek),
6955         (gst_event_parse_seek):
6956         * gst/gstevent.h:
6957         Some more debugging output and doc cleanups.
6958
6959         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6960         Fix possible deadlock.
6961
6962 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6963
6964         * docs/gst/gstreamer-docs.sgml:
6965         * docs/gst/gstreamer-sections.txt:
6966         * docs/gst/gstreamer.types:
6967         * docs/gst/tmpl/.cvsignore:
6968         * gst/gstbin.h:
6969         * gst/gstbus.c:
6970         * gst/gstelement.c:
6971         * gst/gstevent.h:
6972           added 100 symbols from gstreamer-unused.txt to the right sections
6973           fixed more broken comments
6974           added GstBus to docs
6975
6976 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6977
6978         * docs/gst/gstreamer-sections.txt:
6979         * docs/gst/tmpl/.cvsignore:
6980         * docs/gst/tmpl/gstbin.sgml:
6981         * docs/gst/tmpl/gstbuffer.sgml:
6982         * gst/base/gstbasesrc.c:
6983         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6984         * gst/gstbuffer.c:
6985         * gst/gstbuffer.h:
6986         * tools/gst-launch.1.in:
6987           inlined more doc comments, added missing comments and fixed comments
6988           fixed typos
6989
6990 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6991
6992         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6993           some debugging
6994         * gst/gstcaps.h:
6995           whitespace fixes
6996         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6997           more debugging
6998         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6999         * gst/gststructure.h:
7000           add a fixate function for booleans; add a FIXME that these func
7001           names should probably be gst_structure_fixate_*
7002
7003 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7004
7005         * docs/gst/gstreamer-docs.sgml:
7006         * docs/gst/gstreamer-sections.txt:
7007         * gst/Makefile.am:
7008         * gst/gstbin.c: (gst_bin_get_type),
7009         (gst_bin_child_proxy_get_child_by_index),
7010         (gst_bin_child_proxy_get_children_count),
7011         (gst_bin_child_proxy_init):
7012         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7013         (gst_child_proxy_get_child_by_index),
7014         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7015         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7016         (gst_child_proxy_get), (gst_child_proxy_set_property),
7017         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7018         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7019         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7020         * gst/gstchildproxy.h:
7021         * gst/parse/grammar.y:
7022         * tools/gst-inspect.c: (print_interfaces),
7023         (print_element_properties_info), (print_element_info):
7024           ported gstchildproxy over from 0.8
7025           ported gst-inspect fixes and enhancements over from 0.8
7026
7027 2005-08-22  Wim Taymans  <wim@fluendo.com>
7028
7029         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7030         (gst_base_transform_handle_buffer):
7031         Also call the transform function if we have ANY caps.
7032
7033         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7034         Fix debug info.
7035
7036 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7037
7038         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7039           Don't pretend to handle seek events if the source is not seekable
7040
7041 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7042
7043         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7044           Remove extra parameter to debug output
7045
7046         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7047         (gst_base_src_do_seek), (gst_base_src_activate_push):
7048           Fix seek event handling.
7049
7050         * gst/gstpipeline.c: (gst_pipeline_change_state):
7051         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7052         (gst_queue_src_activate_push):
7053           Don't start the src pad task on FLUSH_STOP if the pad
7054           isn't linked.
7055           Debug changes.
7056
7057 2005-08-22  Wim Taymans  <wim@fluendo.com>
7058
7059         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7060         Added check for gst_static_caps_get() refcounting.
7061
7062 2005-08-22  Wim Taymans  <wim@fluendo.com>
7063
7064         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7065         Make _static_caps_get() refcounting sane.
7066         
7067         * gst/gstelement.c: (gst_element_set_state):
7068         Add g_return_val_if_fail() to protect against segfaults.
7069
7070 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7071
7072         * docs/gst/tmpl/gstevent.sgml:
7073         * gst/gstevent.c:
7074         * gst/gstevent.h:
7075           inlined remaining docs, added missing doc comments
7076
7077 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7078
7079         * check/gst/gstbin.c: (GST_START_TEST):
7080           since we don't know when preroll is done, use refcount range
7081           check for the sink
7082         * gst/check/gstcheck.h:
7083           add macro for checking refcount range
7084
7085 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7086
7087         * check/Makefile.am:
7088           clean up environment for when registry gets built versus
7089           when actual tests are run; valgrind seems to not report
7090           leaks if GST_PLUGIN_PATH is set to some specific values
7091         * check/gst/gstbin.c: (GST_START_TEST):
7092           add more refcounting checks; maybe this exposes a
7093           preroll lock bug ?
7094         * common/check.mak:
7095         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7096         * gst/check/gstcheck.h:
7097         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7098         (gst_bin_change_state):
7099         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7100           add/fix debugging/whitespace
7101
7102 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7103
7104         * check/gst/gstevent.c: (event_probe), (test_event),
7105         (GST_START_TEST):
7106          Er, don't call gst_bin_watch_for_state_change you idiot.
7107
7108 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7109
7110         * check/Makefile.am:
7111           Use CHECK_CFLAGS and CHECK_LIBS
7112         * check/gst/gstevent.c: (event_probe), (test_event),
7113         (GST_START_TEST):
7114           Don't leak events.
7115         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7116         (gst_base_src_start), (gst_base_src_stop),
7117         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7118         (gst_base_src_change_state):
7119           Sprinkle gst_base_src_stop liberally around error paths to fix
7120           problems reusing a source after failed state changes.
7121         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7122         (helper_find_suggest), (gst_type_find_helper):
7123           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7124         * gst/gstevent.h:
7125         * docs/gst/tmpl/gstevent.sgml:
7126           Migrate part of the docs from the SGML file. Wait for ensonic to
7127           tell me how I did it wrong ;)
7128         * tools/gst-typefind.c: (main):
7129           Extra robustness to state changes between files.
7130
7131 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7132
7133         * check/Makefile.am:
7134           don't valgrind the controller test - it's leaking - Stefan, HELP
7135         * gst/check/gstcheck.c: (gst_check_message_error),
7136         (gst_check_chain_func), (gst_check_setup_element),
7137         (gst_check_teardown_element), (gst_check_setup_src_pad),
7138         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7139         (gst_check_teardown_sink_pad):
7140         * gst/check/gstcheck.h:
7141           add a bunch of methods to set up elements, and src and sink pads
7142         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7143         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7144         (GST_START_TEST):
7145           use them
7146         * gst/gstmessage.c:
7147         * gst/gsttag.h:
7148           whitespace/doc fixes
7149
7150 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7151
7152         * gst/gstelement.h:
7153           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7154           be handled by the application and not always printed as well
7155
7156 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7157
7158         * check/Makefile.am:
7159           set GST_TOOLS_DIR
7160         * gst/check/gstcheck.c: (gst_check_message_error):
7161         * gst/check/gstcheck.h:
7162           add a fail_unless_equals_int
7163           add fail_unless for error messages
7164
7165 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7166
7167         * check/Makefile.am:
7168         * check/gst.supp:
7169         * common/Makefile.am:
7170         * common/check.mak:
7171         * common/gst.supp:
7172           factor out some of the common stuff so we can use it
7173
7174 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7175
7176         * check/Makefile.am:
7177         * check/gst/gstiterator.c: (GST_START_TEST):
7178         * check/gst/gstsystemclock.c: (GST_START_TEST),
7179         (gst_systemclock_suite):
7180         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7181         * gst/gstclock.c:
7182           valgrind more tests
7183
7184 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7185
7186         * check/elements/.cvsignore:
7187         * check/elements/gstfakesrc.c:
7188           rename to name of element
7189         * check/elements/identity.c: (chain_func), (event_func),
7190         (setup_identity), (cleanup_identity), (GST_START_TEST),
7191         (identity_suite), (main):
7192           add a test for identity
7193         * check/Makefile.am:
7194         * pkgconfig/Makefile.am:
7195         * pkgconfig/gstreamer-check.pc.in:
7196         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7197         * gst/check:
7198         * gst/Makefile.am:
7199         * configure.ac:
7200           move the check stuff to a library that gets installed
7201         * check/gst-libs/controller.c: (GST_START_TEST):
7202         * check/gst-libs/gdp.c:
7203         * check/gst/gst.c: (GST_START_TEST):
7204         * check/gst/gstbin.c:
7205         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7206         * check/gst/gstbus.c:
7207         * check/gst/gstcaps.c: (GST_START_TEST):
7208         * check/gst/gstelement.c:
7209         * check/gst/gstghostpad.c:
7210         * check/gst/gstiterator.c:
7211         * check/gst/gstmessage.c:
7212         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7213         * check/gst/gstobject.c:
7214         * check/gst/gstpad.c: (GST_START_TEST):
7215         * check/gst/gststructure.c: (GST_START_TEST):
7216         * check/gst/gstsystemclock.c: (GST_START_TEST),
7217         (gst_systemclock_suite):
7218         * check/gst/gsttag.c: (gst_tag_suite):
7219         * check/gst/gstvalue.c:
7220         * check/pipelines/cleanup.c:
7221         * check/pipelines/simple_launch_lines.c:
7222         * check/states/sinks.c:
7223           change include statement
7224
7225         * docs/gst/gstreamer-sections.txt:
7226         * docs/gst/tmpl/gstpad.sgml:
7227           document more pad stuff
7228         * gst/gstminiobject.c: (gst_mini_object_ref),
7229         (gst_mini_object_unref):
7230           debug refcounting
7231
7232 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7233
7234         * docs/gst/tmpl/gst.sgml:
7235         * gst/gst.c:
7236           eliminate another tmpl file, fix spelling in the long-description
7237
7238 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7239
7240         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7241         (test_event), (timediff), (gstevents_suite):
7242           Should fix build on 64-bit arch's
7243
7244 2005-08-18  Andy Wingo  <wingo@pobox.com>
7245
7246         Make sure that when a pipeline goes to PLAYING, that data has
7247         actually hit the sink.
7248
7249         * check/states/sinks.c (test_sink): A sink that doesn't get any
7250         data shouldn't return SUCCESS for going to either PLAYING or
7251         PAUSED. Test also the return values on the way back down.
7252
7253         * gst/gstelement.c (gst_element_set_state): When changing the
7254         state of an element currently changing state asynchronously, go to
7255         lost-state after commiting the pending state. Makes future calls
7256         to get_state continue to return ASYNC.
7257
7258         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7259         ASYNC when going to PLAYING if we still don't have preroll, as can
7260         happen with live sources.
7261
7262 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7263
7264         * docs/pwg/advanced-types.xml:
7265           Hack long paragraph into 2 chunks as a workaround for buggy
7266           jadetex version in sid and breezy that loops infinitely and
7267           eats all RAM.
7268
7269 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7270
7271         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7272         (test_event), (timediff), (gstevents_suite):
7273           Provide more error margin in clock measurements to allow for 
7274           g_get_current_time inaccuracies.
7275
7276 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7277
7278         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7279         (test_event), (timediff), (gstevents_suite):
7280            Fix error message output so I might be able to tell why the
7281            test works here but fails on the build farm.
7282
7283 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7284
7285         * check/Makefile.am:
7286         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7287         (test_event), (timediff), (gstevents_suite), (main):
7288           I wrote a test!
7289
7290         * docs/design/part-seeking.txt:
7291           Spelling correction
7292
7293         * docs/gst/tmpl/gstevent.sgml:
7294         * docs/gst/tmpl/gstfakesrc.sgml:
7295           Docs updates.
7296
7297         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7298           Treat a buffer-without-newsegment the same as a receiving 
7299           a newsegment not in time format, and disable syncing to the clock
7300           with a warning.
7301
7302         * gst/gstbus.c: (gst_bus_set_sync_handler):
7303           Assert if anyone tries to replace the existing sync_handler for bus, 
7304           as only the owner should be setting it.
7305
7306         * gst/gstevent.h:
7307           Have a fixed set of custom event enums with events identified by
7308           their structure name (as in 0.8), rather than a free-for-all
7309           allowing collisions between enum values from different plugins.
7310
7311         * gst/gstpad.c: (gst_pad_class_init):
7312           Docs change.
7313           
7314         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7315           Handle out-of-band downstream events from the sending thread.
7316
7317 2005-08-17  Andy Wingo  <wingo@pobox.com>
7318
7319         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7320         play-timeout==0 to mean no timeout at all. In that case, don't
7321         bother with a get_state or a warning, just return directly, even
7322         if it's ASYNC.
7323
7324         * gst/base/gstbasetransform.c: Debug changes.
7325
7326         * gst/gstutils.h:
7327         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7328         ensure bins post state change messages. A bit of a hack but I can't
7329         think of a way to avoid it.
7330
7331         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7332
7333 2005-08-16  Andy Wingo  <wingo@pobox.com>
7334
7335         * gst/base/gstadapter.h:
7336         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7337         peek() but you own the data. Not terribly efficient atm.
7338
7339 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7340
7341         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7342         (gst_element_found_tags):
7343         * gst/gstutils.h:
7344           Add two utility functions for tag handling.
7345
7346 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7347
7348         * docs/manual/advanced-dataaccess.xml:
7349         * docs/manual/basics-helloworld.xml:
7350           Fix docs to use _bin_add() before _link(), which fixes the examples
7351           with recent core versions (reported by Madhan Raj M
7352           <raj_madan@rediffmail.com>, #313199).
7353
7354 2005-08-16  Wim Taymans  <wim@fluendo.com>
7355
7356         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7357         Added subtract checks.
7358
7359         * docs/design/part-events.txt:
7360         Some more docs about newsegment
7361
7362         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7363         Fix FIXME
7364
7365         * gst/gstcaps.c: (gst_caps_to_string):
7366         Add comments, cleanups.
7367         
7368         * gst/gstelement.c: (gst_element_save_thyself):
7369         cleanups
7370         
7371         * gst/gstvalue.c: (gst_value_collect_int_range),
7372         (gst_string_unwrap), (gst_value_union_int_int_range),
7373         (gst_value_union_int_range_int_range),
7374         (gst_value_intersect_int_int_range),
7375         (gst_value_intersect_int_range_int_range),
7376         (gst_value_intersect_double_double_range),
7377         (gst_value_intersect_double_range_double_range),
7378         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7379         (gst_value_subtract_int_range_int),
7380         (gst_value_subtract_double_range_double),
7381         (gst_value_subtract_double_range_double_range),
7382         (gst_value_subtract_from_list), (gst_value_subtract_list),
7383         (gst_value_can_compare), (gst_value_compare_fraction):
7384         Cleanups, add comments, remove unneeded asserts.
7385
7386 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7387
7388         * tools/gst-launch.c: (event_loop):
7389           don't convert NULL structures to strings
7390
7391 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7392
7393         * docs/gst/gstreamer-sections.txt:
7394           made some defines private
7395         * docs/gst/tmpl/gstconfig.sgml:
7396         * docs/gst/tmpl/gstqueue.sgml:
7397         * docs/gst/tmpl/gsttaglist.sgml:
7398         * docs/gst/tmpl/gsttypes.sgml:
7399         * docs/gst/tmpl/gstutils.sgml:
7400         * docs/pwg/appendix-porting.xml:
7401         * gst/base/gstbasesink.h:
7402         * gst/base/gstbasesrc.c:
7403         * gst/base/gstbasesrc.h:
7404         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7405         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7406         * gst/gstelement.c: (gst_element_class_init):
7407         * gst/gstpad.c: (gst_pad_class_init):
7408         * gst/gstqueue.c: (gst_queue_class_init):
7409         * gst/gstxml.c: (gst_xml_class_init):
7410           documented all undocumented signal inline
7411         * libs/gst/controller/gst-controller.h:
7412           added padding
7413
7414 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7415
7416         * docs/pwg/appendix-porting.xml:
7417           Document _set_link_function -> _set_setcaps_function.
7418
7419 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7420
7421         * check/Makefile.am:
7422           add a .check target for running the check
7423         * check/gst-libs/controller.c: (GST_START_TEST):
7424           cosmetic fixups
7425         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7426           complete checks for gstbuffer; would be nice if I could get the
7427           gcov stuff to work so I can see if I actually completed gstbuffer.c
7428         * check/gstcheck.h:
7429           add ASSERT_BUFFER_REFCOUNT
7430
7431 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7432
7433         * docs/gst/gstreamer-sections.txt:
7434         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7435         * gst/gsttag.h:
7436           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7437           spew out a warning if a tag that is already registered
7438           is re-registered, unless it is re-registered with a 
7439           different type (#308438).
7440
7441 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7442
7443         * docs/pwg/appendix-porting.xml:
7444         * docs/pwg/building-state.xml:
7445           Add some paragraphs about state changes in 0.9 to the PWG
7446           and the porting guide, in particular about the new meaning
7447           of GST_STATE_PAUSED and how to write state change functions
7448           with concurrent access by multiple threads in mind.
7449
7450 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7451
7452         * docs/gst/gstreamer-docs.sgml:
7453         * docs/libs/gstreamer-libs-docs.sgml:
7454           added deprecation and since indexes
7455         * libs/gst/controller/gst-controller.c:
7456         * libs/gst/controller/gst-helper.c:
7457           added since tags
7458
7459
7460 2005-08-11  Wim Taymans  <wim@fluendo.com>
7461
7462         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7463         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7464         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7465         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7466         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7467         (gst_ghost_pad_set_target):
7468         Actually implement (re)setting the target on a ghostpad
7469         as described in the docs.
7470
7471 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7472
7473         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7474           Check whether GST_DEBUG_NO_COLOR environment variable is
7475           set and disable coloured debug output if that is the case.
7476
7477 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7478
7479         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7480         (gst_type_find_helper):
7481           The memory returned by gst_type_find_peek() needs to
7482           stay valid until the end of a typefind function, and
7483           typefind functions may keep results from different 
7484           offsets around, so we can't just unref the buffer from
7485           the previous _peek(), but have to save all buffers 
7486           returned by _peek() until typefinding is done and only
7487           free them then.
7488
7489 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7490
7491         * docs/gst/gstreamer-sections.txt:
7492         * gst/gstutils.h:
7493           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7494
7495 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7496
7497         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7498           Fix a pretty good memleak.
7499
7500 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7501
7502         * gst/gstiterator.h:
7503           Fix wrong include and 'make distcheck'.
7504
7505 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7506
7507         * gst/gstbin.c: (bin_bus_handler):
7508           Use gst_element_post_message() instead.
7509
7510 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7511
7512         * gst/base/gstadapter.h:
7513         * gst/base/gstbasesink.h:
7514         * gst/base/gstbasesrc.h:
7515         * gst/base/gstbasetransform.h:
7516         * gst/base/gstcollectpads.h:
7517         * gst/base/gstpushsrc.h:
7518         * gst/gstiterator.h:
7519           Add padding to our base elements' class and instance structs and
7520           to GstIterator (you will need to rebuild all plugins and apps!)
7521
7522 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7523
7524         * gst/gstbin.c: (bin_bus_handler):
7525           Make default message forwarding from child->bus to bin->bus
7526           threadsafe and make it not emit warnings if the parent has no bus.
7527
7528 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7529
7530         * gst/gstelement.c: (activate_pads):
7531           On paused->ready, set pad->caps to NULL, as is the documented
7532           behaviour in this state change. Fixes playback of series of
7533           media files when visualization is enabled in Totem.
7534
7535 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7536
7537         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7538           Allow NULL as filter-caps (which means "any").
7539
7540 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7541
7542         * docs/libs/gstreamer-libs-sections.txt:
7543         * libs/gst/controller/gst-controller.c:
7544         * libs/gst/controller/gst-controller.h:
7545         * libs/gst/controller/gst-helper.c:
7546           adding more entries to the docs and fix small doc-bugs
7547
7548 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7549
7550         * docs/gst/gstreamer-docs.sgml:
7551         * docs/gst/gstreamer-sections.txt:
7552         * docs/gst/gstreamer.types:
7553         * docs/gst/tmpl/gstbasesink.sgml:
7554         * docs/gst/tmpl/gstbasesrc.sgml:
7555         * docs/gst/tmpl/gstbasetransform.sgml:
7556         * docs/gst/tmpl/gstfakesrc.sgml:
7557         * gst/base/gstcollectpads.c:
7558         * gst/base/gstcollectpads.h:
7559         * libs/gst/controller/gst-controller.c:
7560         * libs/gst/controller/gst-controller.h:
7561         * libs/gst/controller/gst-helper.c:
7562         * libs/gst/controller/gst-interpolation.c:
7563         * libs/gst/controller/lib.c:
7564           added long/short desc for controller docs
7565           added collectpads base class docs
7566           added correct includes to base-class docs
7567
7568 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7569
7570         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7571         (gst_test_mono_source_set_property),
7572         (gst_test_mono_source_class_init), (GST_START_TEST),
7573         (gst_controller_suite):
7574         * docs/gst/gstreamer-docs.sgml:
7575         * docs/gst/gstreamer-sections.txt:
7576         * docs/gst/gstreamer.types:
7577         * docs/libs/gstreamer-libs-docs.sgml:
7578         * docs/libs/gstreamer-libs-sections.txt:
7579         * gst/base/gstadapter.c:
7580         * libs/gst/controller/gst-controller.c:
7581         (gst_controlled_property_new), (gst_controlled_property_free),
7582         (gst_controller_new_valist),
7583         (gst_controller_remove_properties_valist),
7584         (gst_controller_sink_values), (_gst_controller_finalize):
7585         * libs/gst/controller/gst-controller.h:
7586         * libs/gst/controller/gst-helper.c:
7587         (gst_object_control_properties), (gst_object_uncontrol_properties),
7588         (gst_object_get_controller), (gst_object_set_controller),
7589         (gst_object_sink_values), (gst_object_get_value_arrays),
7590         (gst_object_get_value_array):
7591           more tests (and fixes) for the controller
7592           more docs for the controller
7593           integrated companies docs for the adapter 
7594
7595 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7596
7597         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7598         (GST_START_TEST), (fakesrc_suite):
7599           add tests for sizetype
7600
7601 2005-08-04  Andy Wingo  <wingo@pobox.com>
7602
7603         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7604         fixes buffer_alloc proxying among other things.
7605
7606         * gst/base/gstbasetransform.c:
7607         * gst/base/gstbasetransform.h:
7608         Revert patch to gstbasetransform from 7-28 removing
7609         delay_configure.
7610
7611         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7612         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7613         Semantics changed, should return not the size of the output buffer
7614         but the byte size of a buffer with a given caps.
7615
7616         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7617         debug object.
7618         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7619         out) are not the pad caps until setcaps finishes.
7620         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7621         not-in-place case as well. Deal with changing from in-place to
7622         not-in-place within calling pad_alloc_buffer. Still a bit
7623         concerned about the overhead here...
7624
7625 2005-08-03  Andy Wingo  <wingo@pobox.com>
7626
7627         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7628         fixating is an error.
7629
7630 2005-08-04  Edward Hervey  <edward@fluendo.com>
7631
7632         * gst/base/gstadapter.h: 
7633         Added gst_adapter_get_type() to the header
7634
7635 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7636
7637         * check/Makefile.am:
7638         * check/gst-libs/controller.c:
7639         * libs/gst/controller/gst-controller.c:
7640         (gst_controller_new_valist):
7641           added check test suite for the controller
7642         * gst/base/gstpushsrc.c:
7643           fixed a doc typo
7644
7645 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7646
7647         * docs/gst/Makefile.am:
7648         * docs/gst/gstreamer-docs.sgml:
7649         * docs/gst/gstreamer-sections.txt:
7650         * docs/gst/gstreamer.types:
7651         * docs/gst/tmpl/gstfakesrc.sgml:
7652         * gst/base/README:
7653         * gst/base/gstbasesink.c:
7654         * gst/base/gstbasesink.h:
7655         * gst/base/gstbasesrc.c:
7656         * gst/base/gstbasesrc.h:
7657         * gst/base/gstbasetransform.c:
7658         * gst/base/gstpushsrc.c:
7659         * gst/base/gstpushsrc.h:
7660           add short/long description docs to base classes
7661           add pushsrc to the docs
7662           remove consolidated doc fragments
7663
7664 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7665
7666         * configure.ac:
7667         * docs/libs/Makefile.am:
7668         * docs/libs/gstreamer-libs-docs.sgml:
7669         * docs/libs/gstreamer-libs-sections.txt:
7670         * docs/libs/gstreamer-libs.types:
7671         * examples/Makefile.am:
7672         * examples/controller/.cvsignore:
7673         * examples/controller/Makefile.am:
7674         * examples/controller/audio-example.c: (main):
7675         * libs/gst/Makefile.am:
7676         * libs/gst/controller/.cvsignore:
7677         * libs/gst/controller/Makefile.am:
7678         * libs/gst/controller/gst-controller.c:
7679         (on_object_controlled_property_changed), (gst_timed_value_compare),
7680         (gst_timed_value_find),
7681         (gst_controlled_property_set_interpolation_mode),
7682         (gst_controlled_property_new), (gst_controlled_property_free),
7683         (gst_controller_find_controlled_property),
7684         (gst_controller_new_valist), (gst_controller_new),
7685         (gst_controller_remove_properties_valist),
7686         (gst_controller_remove_properties), (gst_controller_set),
7687         (gst_controller_set_from_list), (gst_controller_unset),
7688         (gst_controller_get), (gst_controller_get_all),
7689         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7690         (gst_controller_get_value_array),
7691         (gst_controller_set_interpolation_mode),
7692         (_gst_controller_finalize), (_gst_controller_init),
7693         (_gst_controller_class_init), (gst_controller_get_type):
7694         * libs/gst/controller/gst-controller.h:
7695         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7696         (g_object_uncontrol_properties), (g_object_get_controller),
7697         (g_object_set_controller), (g_object_sink_values),
7698         (g_object_get_value_arrays), (g_object_get_value_array):
7699         * libs/gst/controller/gst-interpolation.c:
7700         (gst_controlled_property_find_timed_value_node),
7701         (interpolate_none_get), (interpolate_trigger_get),
7702         (interpolate_trigger_get_value_array):
7703         * libs/gst/controller/lib.c: (gst_controller_init):
7704         * pkgconfig/Makefile.am:
7705         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7706         * pkgconfig/gstreamer-control.pc.in:
7707         * testsuite/Makefile.am:
7708         * testsuite/controller/.cvsignore:
7709         * testsuite/controller/Makefile.am:
7710         * testsuite/controller/interpolator.c: (main):
7711           added controller code
7712           removed dparam pc files
7713
7714 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7715         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7716         (gst_collectpads_stop):
7717           Broadcast the condition when shutting down, to make sure we wake all
7718           threads up. Shut down pads on finalize, for safety.
7719
7720 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7721         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7722         (gst_base_transform_handle_buffer),
7723         (gst_base_transform_change_state):
7724           Handle PAUSED->READY->PAUSED transition after negotiation
7725           occurred already.
7726         * gst/gstmessage.c: (gst_message_init):
7727           Extra piece of debug for new messages.
7728
7729 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7730
7731         * configure.ac:
7732         * docs/gst/tmpl/gstbasesrc.sgml:
7733         * docs/gst/tmpl/gstelement.sgml:
7734         * docs/gst/tmpl/gstevent.sgml:
7735         * docs/gst/tmpl/gstfakesrc.sgml:
7736         * docs/gst/tmpl/gstformat.sgml:
7737         * docs/gst/tmpl/gstghostpad.sgml:
7738         * docs/gst/tmpl/gstpad.sgml:
7739         * docs/gst/tmpl/gstquery.sgml:
7740         * docs/gst/tmpl/gststructure.sgml:
7741         * docs/gst/tmpl/gsttaglist.sgml:
7742         * docs/gst/tmpl/gstvalue.sgml:
7743         * docs/libs/gstreamer-libs-docs.sgml:
7744         * docs/libs/gstreamer-libs-sections.txt:
7745         * docs/libs/gstreamer-libs.types:
7746         * libs/gst/Makefile.am:
7747         * libs/gst/control/.cvsignore:
7748         * libs/gst/control/Makefile.am:
7749         * libs/gst/control/control.c:
7750         * libs/gst/control/control.h:
7751         * libs/gst/control/dparam.c:
7752         * libs/gst/control/dparam.h:
7753         * libs/gst/control/dparam_smooth.c:
7754         * libs/gst/control/dparam_smooth.h:
7755         * libs/gst/control/dparamcommon.h:
7756         * libs/gst/control/dparammanager.c:
7757         * libs/gst/control/dparammanager.h:
7758         * libs/gst/control/dplinearinterp.c:
7759         * libs/gst/control/dplinearinterp.h:
7760         * libs/gst/control/unitconvert.c:
7761         * libs/gst/control/unitconvert.h:
7762         * testsuite/Makefile.am:
7763         * testsuite/dynparams/.cvsignore:
7764         * testsuite/dynparams/Makefile.am:
7765         * testsuite/dynparams/dparamstest.c:
7766         * tools/Makefile.am:
7767         * tools/gst-inspect.c: (print_element_info), (main):
7768         * tools/gst-xmlinspect.c: (print_element_info), (main):
7769           deactivate and remove dparams (libgstcontrol)
7770
7771 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7772
7773         * gst/elements/gsttypefindelement.c:
7774         (gst_type_find_element_have_type), (gst_type_find_element_init),
7775         (stop_typefinding), (gst_type_find_element_handle_event),
7776         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7777         * gst/elements/gsttypefindelement.h:
7778           Set caps on all outgoing buffers, not just the first one.
7779
7780 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7781
7782         * gst/elements/gsttypefindelement.c:
7783         (gst_type_find_element_have_type),
7784         (gst_type_find_element_check_set_buffer_caps),
7785         (gst_type_find_element_init), (stop_typefinding),
7786         (gst_type_find_element_handle_event),
7787         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7788         * gst/elements/gsttypefindelement.h:
7789           Set caps on first outgoing buffer when we've found the type.
7790
7791 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7792
7793         * docs/gst/gstreamer-docs.sgml:
7794         * docs/gst/gstreamer-sections.txt:
7795         * docs/gst/tmpl/gstscheduler.sgml:
7796         * docs/gst/tmpl/gstschedulerfactory.sgml:
7797           Remove some old cruft from docs.
7798
7799 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7800
7801         * gst/gstpad.h:
7802           Fix inline docs for GstPadLinkReturn.
7803           
7804         * gst/gststructure.c: (gst_structure_has_name):
7805         * gst/gststructure.h:
7806         * docs/gst/gstreamer-sections.txt:
7807           New API: gst_structure_has_name().
7808
7809 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7810
7811         * configure.ac:
7812           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7813           and _LARGEFILE_SOURCE in config.h as required. Do not 
7814           export those flags in our .pc files any longer (#142209).
7815
7816           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7817
7818         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7819         (gst_file_sink_do_seek), (gst_file_sink_event),
7820         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7821           Redo seek/tell calls with large file support in mind; add some
7822           debugging messages; add log message that tells us when large
7823           file support is unavailable or not enabled for some reason.
7824
7825         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7826           Add log message that tells us when large file support 
7827           is unavailable or not enabled for some reason.
7828
7829 2005-07-29  Wim Taymans  <wim@fluendo.com>
7830
7831         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7832         Added test for removing an element with ghostpad from a bin.
7833         Fixed test as current implementation does the right thing.
7834
7835         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7836         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7837         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7838         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7839         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7840         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7841         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7842         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7843         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7844         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7845         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7846         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7847         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7848         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7849         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7850         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7851         * gst/gstghostpad.h:
7852         Clean up ghostpads, remove properties for internal stuff.
7853         Make threadsafe.
7854         Fix refcounting.
7855         Prepare for switching targets, not all use cases work yet.
7856
7857 2005-07-29  Wim Taymans  <wim@fluendo.com>
7858
7859         * docs/design/part-gstghostpad.txt:
7860         Small update.
7861
7862         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7863         (gst_bin_remove_func):
7864         Unlinking pads while holding the bin LOCK is not a good
7865         idea.
7866
7867         * gst/gstpad.c: (gst_pad_class_init),
7868         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7869         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7870         No prob setting template after creating the pad.
7871
7872 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7873
7874         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7875         (gst_bus_peek), (gst_bus_source_dispatch),
7876         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7877         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7878           gst_bus_poll may be called from other threads. Handle
7879           this nicely by not making poll_data disappear off the
7880           stack once gst_bus_poll returns.
7881           gst_bus_peek now increments the refcount on the returned
7882           message.
7883
7884 2005-07-29  Wim Taymans  <wim@fluendo.com>
7885
7886         * docs/design/part-gstghostpad.txt:
7887         Overview of current GhostPad datastructures and use
7888         cases for changing the target.
7889
7890 2005-07-28  Wim Taymans  <wim@fluendo.com>
7891
7892         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7893         Added checks for hierarchy consistency whan adding linked
7894         elements to bins.
7895
7896         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7897         Added check to test element scheduling without bin/pipeline.
7898
7899         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7900         First add elements to bin, then link.
7901         
7902         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7903         (gst_bin_remove_func):
7904         Unlink pads from elements added/removed from bin to maintain
7905         hierarchy consistency.
7906
7907 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7908
7909         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7910         (gst_base_transform_handle_buffer):
7911         * gst/base/gstbasetransform.h:
7912           Remove broken delay_configure (fixes renegotiation of software
7913           scaling pipelines); remove some leftover printf()s.
7914
7915 2005-07-28  Wim Taymans  <wim@fluendo.com>
7916
7917         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7918         Added some more tests for wrong hierarchy
7919
7920         * docs/design/part-overview.txt:
7921         Some updates.
7922
7923         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7924         Cleanups.
7925
7926         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7927         (gst_element_dispose):
7928         Some more cleanups.
7929
7930         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7931         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7932         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7933         (gst_pad_set_caps), (gst_pad_send_event):
7934         Check for correct hierarchy when linking pads. Moving to
7935         strict requirement for ghostpads when linking elements in
7936         different bins.
7937
7938         * gst/gstpad.h:
7939         Clean ups. Added WRONG_HIERARCHY return value.
7940
7941 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7942
7943         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7944           Better debug if no transform is possible.
7945
7946 2005-07-27  Wim Taymans  <wim@fluendo.com>
7947
7948         * docs/random/wtay/network-transp:
7949         Some old doc I had.
7950
7951 2005-07-27  Wim Taymans  <wim@fluendo.com>
7952
7953         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7954         (gst_dp_event_from_packet):
7955         Fix serialization of seek events.
7956
7957 2005-07-27  Wim Taymans  <wim@fluendo.com>
7958
7959         * check/gst-libs/gdp.c: (GST_START_TEST):
7960         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7961         Fix compilation and fix event serialization.
7962
7963 2005-07-27  Wim Taymans  <wim@fluendo.com>
7964
7965         * CHANGES-0.9:
7966         * docs/design/part-TODO.txt:
7967         * docs/design/part-events.txt:
7968         Some docs updates
7969
7970         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7971         (gst_base_sink_event), (gst_base_sink_do_sync),
7972         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7973         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7974         (gst_base_src_do_seek), (gst_base_src_event_handler),
7975         (gst_base_src_loop):
7976         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7977         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7978         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7979         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7980         (gst_base_transform_set_passthrough),
7981         (gst_base_transform_is_passthrough):
7982         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7983         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7984         Event updates.
7985
7986         * gst/gstbuffer.h:
7987         Use faster casts.
7988
7989         * gst/gstelement.c: (gst_element_seek):
7990         * gst/gstelement.h:
7991         Update gst_element_seek.
7992
7993         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7994         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7995         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7996         (gst_event_new_eos), (gst_event_new_newsegment),
7997         (gst_event_parse_newsegment), (gst_event_new_tag),
7998         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7999         (gst_event_parse_qos), (gst_event_new_seek),
8000         (gst_event_parse_seek), (gst_event_new_navigation):
8001         * gst/gstevent.h:
8002         Make GstEvent use GstStructure. Add parsing code, make sure the
8003         API is sufficiently generic.
8004         Mark possible directions of events and serialization.
8005
8006         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8007         (_gst_message_copy), (gst_message_new_segment_start),
8008         (gst_message_new_segment_done), (gst_message_new_custom),
8009         (gst_message_parse_segment_start),
8010         (gst_message_parse_segment_done):
8011         Small cleanups.
8012
8013         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8014         (gst_pad_set_caps), (gst_pad_send_event):
8015         Update for new events. 
8016         Catch events sent in wrong directions.
8017
8018         * gst/gstqueue.c: (gst_queue_link_src),
8019         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8020         (gst_queue_handle_src_query):
8021         Event updates.
8022
8023         * gst/gsttag.c:
8024         * gst/gsttag.h:
8025         Remove event code from this file.
8026
8027         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8028         (gst_dp_event_from_packet):
8029         Event updates.
8030
8031 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8032
8033         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8034         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8035         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8036           Make debugging actually useful.
8037
8038 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8039
8040         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8041         (gst_pad_fixate_caps):
8042           Implement default fixation once again, so that gst_pad_fixate()
8043           actually does anything at all. This probably needs to be some
8044           sort of a last resort, and use profile-based fixation first, but
8045           since that doesn't exist yet, this is the best we have. Fixes
8046           visualization in Totem.
8047
8048 2005-07-22  Wim Taymans  <wim@fluendo.com>
8049
8050         * docs/design/part-events.txt:
8051         Small update.
8052
8053         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8054         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8055         (gst_base_sink_activate_pull):
8056         Some more comments.
8057
8058         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8059         (gst_fake_src_create):
8060         Fix handoff marshall.
8061
8062         * gst/elements/gstidentity.c: (gst_identity_class_init),
8063         (gst_identity_transform_ip):
8064         We're a real inplace element.
8065
8066         * gst/gstbus.c: (gst_bus_post):
8067         Added some comments.
8068
8069         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8070         * tests/muxing/case1.c: (main):
8071         * tests/sched/dynamic-pipeline.c: (main):
8072         * tests/sched/interrupt1.c: (main):
8073         * tests/sched/interrupt2.c: (main):
8074         * tests/sched/interrupt3.c: (main):
8075         * tests/sched/runxml.c: (main):
8076         * tests/sched/sched-stress.c: (main):
8077         * tests/seeking/seeking1.c: (event_received), (main):
8078         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8079         (main):
8080         * tests/threadstate/threadstate3.c: (main):
8081         * tests/threadstate/threadstate4.c: (main):
8082         * tests/threadstate/threadstate5.c: (main):
8083         Fix the tests.
8084
8085 2005-07-21  Wim Taymans  <wim@fluendo.com>
8086
8087         * docs/design/part-seeking.txt:
8088         Some small additions.
8089
8090         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8091         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8092         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8093         * gst/base/gstbasesink.h:
8094         discont values are gint64, handle the math correctly.
8095
8096         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8097         Make the basesrc report error if the source pad is not linked.
8098
8099         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8100         (gst_queue_loop), (gst_queue_handle_src_query),
8101         (gst_queue_src_activate_push):
8102         Make queue collect data even if the srcpad is not linked.
8103         Start pushing out data as soon as it is linked.
8104
8105         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8106         * gst/gstutils.h:
8107         Added gst_flow_get_name() to ease error reporting.
8108
8109 2005-07-20  Wim Taymans  <wim@fluendo.com>
8110
8111         * gst/gstmessage.c: (gst_message_new_segment_start),
8112         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8113         (gst_message_parse_segment_done):
8114         * gst/gstmessage.h:
8115         Added a bunch of messages for advanced seeking.
8116
8117         * gst/parse/grammar.y:
8118         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8119         (gst_dpman_state_changed):
8120         Fix some new-pad -> pad-added signals
8121
8122 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8123
8124         * docs/manual/appendix-porting.xml:
8125         * docs/pwg/appendix-porting.xml:
8126           Document new-pad/state-change signal renames and the FixedList
8127           type rename.
8128
8129 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8130
8131         * docs/manual/advanced-autoplugging.xml:
8132         * docs/manual/basics-helloworld.xml:
8133         * docs/manual/basics-pads.xml:
8134         * docs/random/ds/0.9-suggested-changes:
8135         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8136         * gst/gstelement.h:
8137         * gst/gstevent.h:
8138         * gst/gstformat.h:
8139         * gst/gstquery.h:
8140         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8141         (gst_structure_parse_array), (gst_structure_parse_value):
8142         * gst/gstvalue.c: (gst_type_is_fixed),
8143         (gst_value_list_prepend_value), (gst_value_list_append_value),
8144         (gst_value_list_get_size), (gst_value_list_get_value),
8145         (gst_value_transform_array_string), (gst_value_serialize_array),
8146         (gst_value_deserialize_array), (gst_value_intersect_array),
8147         (gst_value_is_fixed), (_gst_value_initialize):
8148         * gst/gstvalue.h:
8149           GstElement::new-pad -> pad-added, GstElement::state-change ->
8150           state-changed, GstValueFixedList -> GstValueArray, add format and
8151           flags as their own arguments in gst_element_seek() (should improve
8152           "bindeability"), remove function generators since they don't work
8153           under a whole bunch of compilers (they were deprecated already
8154           anyway).
8155
8156 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8157
8158         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8159         (_gst_debug_register_funcptr):
8160         * gst/gstinfo.h:
8161           Fix illegal cast on some platforms (#309253).
8162
8163 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8164
8165         * gst/gstmessage.c: (gst_message_new_custom):
8166         * gst/gstmessage.h:
8167           Add _new_custom, make _new_application a macro to _new_custom.
8168
8169 2005-07-20  Wim Taymans  <wim@fluendo.com>
8170
8171         * gst/base/gstbasesrc.c: (gst_base_src_init),
8172         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8173         * gst/base/gstbasesrc.h:
8174         Add a gboolean to decide when to push out a discont.
8175
8176         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8177         (gst_queue_loop), (gst_queue_handle_src_query),
8178         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8179         (gst_queue_set_property), (gst_queue_get_property):
8180         Some cleanups.
8181
8182         * tests/threadstate/threadstate1.c: (main):
8183         Make a thread test compile and run... very silly..
8184
8185
8186 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8187
8188         * docs/manual/appendix-porting.xml:
8189           Mention removal of libgstgconf-0.9.la and existence of gconf
8190           elements.
8191
8192 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8193
8194         * docs/pwg/advanced-clock.xml:
8195         * docs/pwg/appendix-porting.xml:
8196         * docs/pwg/intro-preface.xml:
8197         * docs/pwg/other-base.xml:
8198         * docs/pwg/other-manager.xml:
8199         * docs/pwg/other-nton.xml:
8200         * docs/pwg/other-ntoone.xml:
8201         * docs/pwg/other-oneton.xml:
8202         * docs/pwg/pwg.xml:
8203           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8204           demuxer), remove n-to-n (was never written), fix some code examples
8205           and links and update the porting section to include all this.
8206
8207 2005-07-19  Wim Taymans  <wim@fluendo.com>
8208
8209         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8210         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8211         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8212         (gst_queue_src_activate_push), (gst_queue_change_state),
8213         (gst_queue_get_property):
8214         * gst/gstqueue.h:
8215         Propagate GstFlowReturn more intelligently upstream and output
8216         an ERROR/EOS when streaming stopped due to fatal error.
8217
8218 2005-07-19  Wim Taymans  <wim@fluendo.com>
8219
8220         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8221         Don't block forever for the state change to complete, the
8222         pipeline already did with a sensible timeout.
8223
8224 2005-07-19  Wim Taymans  <wim@fluendo.com>
8225
8226         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8227         Make sure we never call the create function is we
8228         got deactivated.
8229
8230 2005-07-19  Andy Wingo  <wingo@pobox.com>
8231
8232         * gst/parse/parse.l: Attempt to solve bug #172815.
8233
8234 2005-07-19  Wim Taymans  <wim@fluendo.com>
8235
8236         * docs/design/part-clocks.txt:
8237         * docs/design/part-events.txt:
8238         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8239         Small docs updates.
8240         Only update the seeking values when we are not
8241         busy streaming.
8242
8243 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8244
8245         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8246           Oops, ignore the result of gst_pad_push_event here.
8247
8248 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8249
8250         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8251         (gst_base_src_activate_push):
8252           Send discont event from the loop function, as pads
8253           aren't activated yet in the activate_push handler.
8254
8255         * gst/gstbin.c: (bin_bus_handler):
8256           Don't leak element name.
8257
8258 2005-07-18  Andy Wingo  <wingo@pobox.com>
8259
8260         * configure.ac: Use AS_LIBTOOL_TAGS.
8261
8262 2005-07-18  Wim Taymans  <wim@fluendo.com>
8263
8264         * docs/gst/gstreamer.types:
8265         Remove deleted types.
8266
8267 2005-07-18  Wim Taymans  <wim@fluendo.com>
8268
8269         * check/elements/gstfakesrc.c: (GST_START_TEST):
8270         * configure.ac:
8271         * gst/Makefile.am:
8272         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8273         (init_popt_callback):
8274         * gst/gst.h:
8275         * gst/gst_private.h:
8276         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8277         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8278         * gst/gstbin.h:
8279         * gst/gstbus.h:
8280         * gst/gstconfig.h.in:
8281         * gst/gstelement.c: (gst_element_class_init),
8282         (gst_element_set_base_time), (gst_element_get_base_time),
8283         (iterator_fold_with_resync), (gst_element_change_state),
8284         (gst_element_dispose), (gst_element_get_bus):
8285         * gst/gstelement.h:
8286         * gst/gstelementfactory.h:
8287         * gst/gsterror.c: (_gst_core_errors_init):
8288         * gst/gsterror.h:
8289         * gst/gstevent.h:
8290         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8291         * gst/gstindex.c:
8292         * gst/gstinfo.c: (_gst_debug_init):
8293         * gst/gstmessage.c: (_gst_message_copy):
8294         * gst/gstmessage.h:
8295         * gst/gstminiobject.h:
8296         * gst/gstobject.c:
8297         * gst/gstobject.h:
8298         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8299         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8300         * gst/gstpad.h:
8301         * gst/gstparse.h:
8302         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8303         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8304         (gst_pipeline_get_last_stream_time):
8305         * gst/gstpipeline.h:
8306         * gst/gstpluginfeature.h:
8307         * gst/gstquery.h:
8308         * gst/gstscheduler.c:
8309         * gst/gstscheduler.h:
8310         * gst/gststructure.h:
8311         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8312         (gst_task_finalize), (gst_task_func), (gst_task_create),
8313         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8314         (gst_task_stop), (gst_task_pause):
8315         * gst/gsttask.h:
8316         * gst/gsttypefind.h:
8317         * gst/gsttypes.h:
8318         * gst/registries/gstlibxmlregistry.c: (load_feature),
8319         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8320         * gst/registries/gstxmlregistry.c:
8321         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8322         * gst/schedulers/threadscheduler.c:
8323         * libs/gst/control/dparammanager.h:
8324         * tools/gst-inspect.c: (print_element_list),
8325         (print_plugin_features), (print_element_features):
8326         * tools/gst-xmlinspect.c: (print_element_list),
8327         (print_plugin_info), (main):
8328         Removed plugable schedulers.
8329         Removed Scheduler/Manager from elements.
8330         Removed gsttypes.h, rearranged includes.
8331         Removed dependency pad<->element, element<>pipeline, and
8332         various others,  fix includes.
8333         implement gst_pad_get_parent() with gst_object_get_parent()
8334         Make GstTask sefcontained.
8335         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8336         timeout.
8337         Fix endless loop in iterator_fold_with_resync.
8338
8339
8340 2005-07-18  Wim Taymans  <wim@fluendo.com>
8341
8342         * gst/Makefile.am:
8343         * gst/gstarch.h:
8344         Remove old file.
8345
8346 2005-07-18  Wim Taymans  <wim@fluendo.com>
8347
8348         * gst/Makefile.am:
8349         No more cothreads.h
8350
8351 2005-07-18  Wim Taymans  <wim@fluendo.com>
8352
8353         * gst/cothreads.c:
8354         * gst/cothreads.h:
8355         Let's remove these.
8356
8357 2005-07-18  Wim Taymans  <wim@fluendo.com>
8358
8359         * docs/design/part-dynamic.txt:
8360         * docs/design/part-events.txt:
8361         * docs/design/part-seeking.txt:
8362         Some more docs in the works.
8363
8364         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8365         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8366         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8367         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8368         (gst_base_transform_handle_buffer),
8369         (gst_base_transform_sink_activate_push),
8370         (gst_base_transform_src_activate_pull),
8371         (gst_base_transform_set_passthrough),
8372         (gst_base_transform_is_passthrough):
8373         Refcounting fixes.
8374
8375         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8376         Cleanups.
8377
8378         * gst/gstevent.c: (gst_event_finalize):
8379         Set SRC to NULL.
8380
8381         * gst/gstutils.c: (gst_element_unlink),
8382         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8383         (gst_pad_proxy_setcaps):
8384         * gst/gstutils.h:
8385         Add _get_parent_element() to get a pads parent as an element.
8386
8387 2005-07-18  Wim Taymans  <wim@fluendo.com>
8388
8389         * check/gst/gstbin.c: (GST_START_TEST):
8390         Remove bogus test.
8391
8392 2005-07-18  Wim Taymans  <wim@fluendo.com>
8393
8394         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8395         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8396         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8397         (gst_base_sink_event), (gst_base_sink_do_sync),
8398         (gst_base_sink_chain), (gst_base_sink_loop),
8399         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8400         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8401         Refcounting fixes.
8402         Fix logic for returning ASYNC when not prerolled.
8403
8404 2005-07-18  Wim Taymans  <wim@fluendo.com>
8405
8406         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8407         Fix nasty refcount bug.
8408
8409 2005-07-16 Philippe Khalaf <burger@speedy.org>
8410
8411         * gst/elements/gstfdsrc.c:
8412         * gst/elements/gstfdsrc.h:
8413         * gst/elements/gstelements.c:
8414         * gst/elements/Makefile.am:
8415         Ported fdsrc to 0.9.
8416
8417 2005-07-16  Wim Taymans  <wim@fluendo.com>
8418
8419         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8420         (gst_base_sink_do_sync):
8421         Fix compile error.
8422
8423 2005-07-16  Wim Taymans  <wim@fluendo.com>
8424
8425         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8426         (gst_base_sink_event), (gst_base_sink_get_times),
8427         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8428         * gst/base/gstbasesink.h:
8429         Store and use discont values when syncing buffers as described
8430         in design docs.
8431         
8432         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8433         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8434         (gst_base_src_activate_push):
8435         Push discont event when starting.
8436
8437         * gst/elements/gstidentity.c: (gst_identity_transform):
8438         Small cleanups.
8439
8440         * gst/gstbin.c: (gst_bin_change_state):
8441         Small cleanups in base_time  distribution.
8442
8443         * gst/gstelement.c: (gst_element_set_base_time),
8444         (gst_element_get_base_time), (gst_element_change_state):
8445         * gst/gstelement.h:
8446         Added methods for the base_time of the element.
8447         Some MT fixes.
8448
8449         * gst/gstpipeline.c: (gst_pipeline_send_event),
8450         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8451         (gst_pipeline_get_last_stream_time):
8452         * gst/gstpipeline.h:
8453         MT fixes.
8454         Handle seeking as described in design doc, remove stream_time
8455         hack.
8456         Cleanups clock and stream_time selection code. Added accessors
8457         for the stream_time.
8458         
8459
8460 2005-07-16  Andy Wingo  <wingo@pobox.com>
8461
8462         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8463         (#305291).
8464
8465 2005-07-16  Wim Taymans  <wim@fluendo.com>
8466
8467         * check/gst/gstbin.c: (GST_START_TEST):
8468         Make elements silent as the deep_notify refs the
8469         parent, which might make the test fail.
8470
8471         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8472         Don't hold the lock for too long.
8473
8474 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8475
8476         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8477           Don't unref the caps we passed to gst_caps_make_writable() after
8478           passing them. gst_caps_make_writable() will do that for us.
8479
8480 2005-07-15  Andy Wingo  <wingo@pobox.com>
8481
8482         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8483         (#157311).
8484
8485         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8486         own marshalling function for the handoff signal. Properly type the
8487         buffer as a buffer. Fixes some warnings. Should do a more general
8488         solution.
8489         (gst_identity_class_init): Plug into the right marshaller.
8490
8491 2005-07-15  Wim Taymans  <wim@fluendo.com>
8492
8493         * docs/design/part-TODO.txt:
8494         * docs/design/part-clocks.txt:
8495         * docs/design/part-element-sink.txt:
8496         * docs/design/part-events.txt:
8497         * docs/design/part-gstpipeline.txt:
8498         Updated docs, mostly DISCONT related.
8499
8500 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8501
8502         * docs/pwg/building-pads.xml:
8503           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8504
8505 2005-07-15  Andy Wingo  <wingo@pobox.com>
8506
8507         * tools/gst-typefind.c: Update, add copyright block.
8508
8509         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8510         Normalize and truncate caps before fixation.
8511
8512         * gst/gstcaps.h:
8513         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8514         discards all but the first structure from its argument.
8515
8516 2005-07-15  Wim Taymans  <wim@fluendo.com>
8517
8518         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8519         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8520         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8521         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8522         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8523         (gst_base_transform_chain), (gst_base_transform_change_state),
8524         (gst_base_transform_set_passthrough),
8525         (gst_base_transform_is_passthrough):
8526         * gst/base/gstbasetransform.h:
8527         Make passthrough work using the bufferpools.
8528         Changed API a bit, subclasses have to write into a buffer
8529         provided by the base class.
8530         More debug info in nego functions.
8531         
8532         * gst/elements/gstidentity.c: (gst_identity_init),
8533         (gst_identity_transform):
8534         Port to new base class.
8535
8536 2005-07-15  Wim Taymans  <wim@fluendo.com>
8537
8538         * gst/gstmessage.c: (gst_message_new_state_changed):
8539         * tools/gst-launch.c: (event_loop), (main):
8540         Totally dump messages in -launch with the -m option.
8541         Fix message name for State messages,
8542
8543 2005-07-14  Wim Taymans  <wim@fluendo.com>
8544
8545         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8546         Post error messages on errors.
8547
8548 2005-07-14  Wim Taymans  <wim@fluendo.com>
8549
8550         * gst/gstcaps.c: (gst_caps_do_simplify):
8551         Remove debug info.
8552
8553         * gst/gsterror.h:
8554         Define error for stream stopped.
8555
8556         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8557         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8558         Do proper return values.
8559
8560         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8561         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8562         (gst_pad_get_range):
8563         Better return values.
8564
8565         * gst/gstpad.h:
8566         Reorganise return values, add macro to check for fatal errors.
8567
8568         * gst/gstqueue.c: (gst_queue_chain):
8569         Return proper GstFlowReturn values,
8570
8571 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8572
8573         * docs/gst/gstreamer-sections.txt:
8574         * docs/gst/gstreamer.types:
8575         * docs/gst/tmpl/gst.sgml:
8576         * docs/gst/tmpl/gstbasesink.sgml:
8577         * docs/gst/tmpl/gstbasesrc.sgml:
8578         * docs/gst/tmpl/gstbasetransform.sgml:
8579         * docs/gst/tmpl/gstbin.sgml:
8580         * docs/gst/tmpl/gstbuffer.sgml:
8581         * docs/gst/tmpl/gstcaps.sgml:
8582         * docs/gst/tmpl/gstclock.sgml:
8583         * docs/gst/tmpl/gstcompat.sgml:
8584         * docs/gst/tmpl/gstconfig.sgml:
8585         * docs/gst/tmpl/gstelement.sgml:
8586         * docs/gst/tmpl/gstelementdetails.sgml:
8587         * docs/gst/tmpl/gstelementfactory.sgml:
8588         * docs/gst/tmpl/gstenumtypes.sgml:
8589         * docs/gst/tmpl/gsterror.sgml:
8590         * docs/gst/tmpl/gstevent.sgml:
8591         * docs/gst/tmpl/gstfakesink.sgml:
8592         * docs/gst/tmpl/gstfakesrc.sgml:
8593         * docs/gst/tmpl/gstfilesink.sgml:
8594         * docs/gst/tmpl/gstfilesrc.sgml:
8595         * docs/gst/tmpl/gstfilter.sgml:
8596         * docs/gst/tmpl/gstformat.sgml:
8597         * docs/gst/tmpl/gstghostpad.sgml:
8598         * docs/gst/tmpl/gstimplementsinterface.sgml:
8599         * docs/gst/tmpl/gstindex.sgml:
8600         * docs/gst/tmpl/gstindexfactory.sgml:
8601         * docs/gst/tmpl/gstinfo.sgml:
8602         * docs/gst/tmpl/gstiterator.sgml:
8603         * docs/gst/tmpl/gstmacros.sgml:
8604         * docs/gst/tmpl/gstmemchunk.sgml:
8605         * docs/gst/tmpl/gstminiobject.sgml:
8606         * docs/gst/tmpl/gstobject.sgml:
8607         * docs/gst/tmpl/gstpad.sgml:
8608         * docs/gst/tmpl/gstpadtemplate.sgml:
8609         * docs/gst/tmpl/gstparse.sgml:
8610         * docs/gst/tmpl/gstpipeline.sgml:
8611         * docs/gst/tmpl/gstplugin.sgml:
8612         * docs/gst/tmpl/gstpluginfeature.sgml:
8613         * docs/gst/tmpl/gstquery.sgml:
8614         * docs/gst/tmpl/gstqueue.sgml:
8615         * docs/gst/tmpl/gstregistry.sgml:
8616         * docs/gst/tmpl/gstregistrypool.sgml:
8617         * docs/gst/tmpl/gstscheduler.sgml:
8618         * docs/gst/tmpl/gstschedulerfactory.sgml:
8619         * docs/gst/tmpl/gststructure.sgml:
8620         * docs/gst/tmpl/gstsystemclock.sgml:
8621         * docs/gst/tmpl/gsttaglist.sgml:
8622         * docs/gst/tmpl/gsttagsetter.sgml:
8623         * docs/gst/tmpl/gsttrace.sgml:
8624         * docs/gst/tmpl/gsttrashstack.sgml:
8625         * docs/gst/tmpl/gsttypefind.sgml:
8626         * docs/gst/tmpl/gsttypefindfactory.sgml:
8627         * docs/gst/tmpl/gsttypes.sgml:
8628         * docs/gst/tmpl/gsturihandler.sgml:
8629         * docs/gst/tmpl/gsturitype.sgml:
8630         * docs/gst/tmpl/gstutils.sgml:
8631         * docs/gst/tmpl/gstvalue.sgml:
8632         * docs/gst/tmpl/gstversion.sgml:
8633         * docs/gst/tmpl/gstxml.sgml:
8634         * docs/libs/tmpl/gstcontrol.sgml:
8635         * docs/libs/tmpl/gstdataprotocol.sgml:
8636         * docs/libs/tmpl/gstdparam.sgml:
8637         * docs/libs/tmpl/gstdplinint.sgml:
8638         * docs/libs/tmpl/gstdpman.sgml:
8639         * docs/libs/tmpl/gstdpsmooth.sgml:
8640         * docs/libs/tmpl/gstgetbits.sgml:
8641         * docs/libs/tmpl/gstunitconvert.sgml:
8642         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8643         (gst_push_src_base_init), (gst_push_src_class_init),
8644         (gst_push_src_init), (gst_push_src_create):
8645         * gst/base/gstpushsrc.h:
8646         * gst/elements/gstelements.c:
8647         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8648         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8649         (gst_fake_sink_init), (gst_fake_sink_set_property),
8650         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8651         (gst_fake_sink_event), (gst_fake_sink_preroll),
8652         (gst_fake_sink_render), (gst_fake_sink_change_state):
8653         * gst/elements/gstfakesink.h:
8654         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8655         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8656         (gst_fake_src_base_init), (gst_fake_src_class_init),
8657         (gst_fake_src_init), (gst_fake_src_event_handler),
8658         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8659         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8660         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8661         (gst_fake_src_create_buffer), (gst_fake_src_create),
8662         (gst_fake_src_start), (gst_fake_src_stop):
8663         * gst/elements/gstfakesrc.h:
8664         * gst/elements/gstfilesink.c: (_do_init),
8665         (gst_file_sink_base_init), (gst_file_sink_class_init),
8666         (gst_file_sink_init), (gst_file_sink_dispose),
8667         (gst_file_sink_set_location), (gst_file_sink_set_property),
8668         (gst_file_sink_get_property), (gst_file_sink_open_file),
8669         (gst_file_sink_close_file), (gst_file_sink_query),
8670         (gst_file_sink_event), (gst_file_sink_render),
8671         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8672         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8673         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8674         * gst/elements/gstfilesink.h:
8675         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8676         (gst_file_src_class_init), (gst_file_src_init),
8677         (gst_file_src_finalize), (gst_file_src_set_location),
8678         (gst_file_src_set_property), (gst_file_src_get_property),
8679         (gst_file_src_map_region), (gst_file_src_map_small_region),
8680         (gst_file_src_create_mmap), (gst_file_src_create_read),
8681         (gst_file_src_create), (gst_file_src_is_seekable),
8682         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8683         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8684         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8685         (gst_file_src_uri_handler_init):
8686         * gst/elements/gstfilesrc.h:
8687           more autistic cleanliness in functions/names/defines
8688
8689 2005-07-13  Andy Wingo  <wingo@pobox.com>
8690
8691         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8692         source couldn't negotiate.
8693
8694         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8695         connections again.
8696
8697         * gst/gstutils.h:
8698         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8699         function. I am channeling Hades. Put your boots on suckers!!!
8700
8701 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8702
8703         * testsuite/caps/Makefile.am:
8704         * testsuite/caps/value_compare.c:
8705         * testsuite/caps/value_intersect.c:
8706         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8707           move two testsuite apps over to the check dir
8708
8709 2005-07-12  Wim Taymans  <wim@fluendo.com>
8710
8711         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8712         Added more debug info in the negotiate process.
8713
8714         * gst/gstmessage.h:
8715         Prepare for segment playback.
8716
8717         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8718         Better debugging.
8719
8720         * gst/gstutils.c:
8721         Some more docs.
8722
8723         * tools/gst-launch.c: (main):
8724         NULL pipeline on errors.
8725
8726 2005-07-12  Andy Wingo  <wingo@pobox.com>
8727
8728         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8729         not it comes from a malloc region. Make sure our copy gets freed.
8730
8731 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8732
8733         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8734         * check/gst/gstmessage.c: (GST_START_TEST):
8735         * check/gst/gststructure.c: (GST_START_TEST),
8736         (gst_structure_suite), (main):
8737           more testing
8738         * gst/gstelement.c: (gst_element_message_full):
8739           clean up GError and debug string now that they get copied
8740         * gst/gstmessage.c: (gst_message_new_error),
8741         (gst_message_new_warning), (gst_message_parse_error),
8742         (gst_message_parse_warning):
8743           use GST_TYPE_G_ERROR for structure_new, and take copies of
8744           arguments, so that we don't mess up refcounting
8745
8746 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8747
8748         * check/Makefile.am:
8749           add per-test valgrind targets
8750         * check/gst-libs/gdp.c: (GST_START_TEST),
8751         (gst_data_protocol_suite), (main):
8752           clean up
8753
8754 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8755
8756         * check/Makefile.am:
8757           instate more valgrindable tests
8758         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8759         (GST_START_TEST), (fakesrc_suite):
8760         * check/gst/gstpad.c: (GST_START_TEST):
8761         * check/gst/gststructure.c: (GST_START_TEST):
8762           fix test leaks
8763         * docs/gst/tmpl/gstminiobject.sgml:
8764         * gst/gstpad.c: (gst_pad_finalize):
8765           fix the static mutex leak
8766
8767 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8768
8769         * check/Makefile.am:
8770           add two more tests for valgrinding
8771         * check/gst/gstvalue.c: (GST_START_TEST):
8772           test refcount of deserialized buffer, found a leak
8773         * docs/gst/gstreamer-docs.sgml:
8774         * docs/gst/gstreamer-sections.txt:
8775         * docs/gst/gstreamer.types:
8776         * docs/gst/tmpl/gstminiobject.sgml:
8777           add miniobject to docs
8778         * gst/gstminiobject.c:
8779           add some docs
8780         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8781         (gst_string_unwrap):
8782           fix a hard-to-find invalid write for one of the tests
8783           fix a leak for deserialized buffers
8784
8785 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8786
8787         * docs/pwg/advanced-events.xml:
8788         * docs/pwg/advanced-request.xml:
8789         * docs/pwg/advanced-scheduling.xml:
8790         * docs/pwg/appendix-porting.xml:
8791         * docs/pwg/building-boiler.xml:
8792         * docs/pwg/intro-preface.xml:
8793         * docs/pwg/other-ntoone.xml:
8794           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8795           of example code and explanation for pad activation, loop() and
8796           getrange() functions and a bit more. Remove old comments pointing
8797           to loop-functions.
8798         * examples/pwg/Makefile.am:
8799           Add loop/getrange examples.
8800
8801 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8802
8803         * configure.ac:
8804           check for valgrind binary + some fixes
8805         * check/gst.supp:
8806           valgrind suppressions for the tests
8807         * check/Makefile.am:
8808           add a valgrind: target that valgrinds the unit tests
8809         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8810         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8811         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8812         * check/gst/gstghostpad.c:
8813           added some cleanup
8814         * check/gst/gstdata.c:
8815           removed
8816         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8817         (thread_unref), (gst_mini_object_suite), (main):
8818           added
8819         * gst/gst.c: (gst_deinit):
8820         * gst/gst.h:
8821           add a method to clean up.
8822         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8823         (gst_system_clock_obtain):
8824           allow for disposing the system clock.
8825         * tools/gst-launch.c: (main):
8826           deinit
8827
8828 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8829
8830         * docs/gst/tmpl/gstbasesrc.sgml:
8831         * docs/gst/tmpl/gstfakesrc.sgml:
8832         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8833         (gst_base_src_init), (gst_base_src_set_property),
8834         (gst_base_src_get_property), (gst_base_src_get_range),
8835         (gst_base_src_start):
8836         * gst/base/gstbasesrc.h:
8837           add num-buffers property
8838         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8839         (gst_fakesrc_init), (gst_fakesrc_set_property),
8840         (gst_fakesrc_get_property), (gst_fakesrc_create),
8841         (gst_fakesrc_start):
8842           remove num-buffers property
8843
8844 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8845
8846         * docs/gst/gstreamer-sections.txt:
8847         * docs/gst/tmpl/gstbasesink.sgml:
8848         * docs/gst/tmpl/gstbasesrc.sgml:
8849         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8850         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8851         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8852         (gst_base_sink_set_property), (gst_base_sink_get_property),
8853         (gst_base_sink_handle_object), (gst_base_sink_event),
8854         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8855         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8856         (gst_base_sink_loop), (gst_base_sink_deactivate),
8857         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8858         (gst_base_sink_change_state):
8859         * gst/base/gstbasesink.h:
8860         * gst/base/gstbasesrc.h:
8861         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8862         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8863         (gst_filesink_init):
8864           more macro splitting
8865
8866 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8867
8868         * gst/gstelement.c: (gst_element_get_bus):
8869           add debug
8870         * tools/gst-launch.c: (check_intr), (event_loop):
8871           fix bus leaks
8872
8873 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8874
8875         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8876           fix a caps leak
8877
8878 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8879
8880         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8881         (gst_base_src_finalize):
8882           add finalize method and clean up properly
8883         * gst/gstpipeline.c: (gst_pipeline_dispose):
8884           add debug
8885
8886 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8887
8888         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8889         (gst_bin_suite):
8890           add more things to check
8891         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8892         * gst/gstelement.c:
8893           more debug
8894
8895 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8896
8897         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8898         (GST_START_TEST), (fakesrc_suite):
8899         * check/gst-libs/gdp.c: (GST_START_TEST):
8900         * check/gst/gst.c: (GST_START_TEST):
8901         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8902         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8903         * check/gst/gstbus.c: (GST_START_TEST):
8904         * check/gst/gstcaps.c: (GST_START_TEST):
8905         * check/gst/gstdata.c: (GST_START_TEST):
8906         * check/gst/gstelement.c: (GST_START_TEST):
8907         * check/gst/gstghostpad.c: (GST_START_TEST):
8908         * check/gst/gstiterator.c: (GST_START_TEST):
8909         * check/gst/gstmessage.c: (GST_START_TEST):
8910         * check/gst/gstobject.c: (GST_START_TEST):
8911         * check/gst/gstpad.c: (GST_START_TEST):
8912         * check/gst/gststructure.c: (GST_START_TEST):
8913         * check/gst/gstsystemclock.c: (GST_START_TEST),
8914         (gst_systemclock_suite):
8915         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8916         * check/gst/gstvalue.c: (GST_START_TEST):
8917         * check/pipelines/cleanup.c: (GST_START_TEST):
8918         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8919         * check/states/sinks.c: (GST_START_TEST):
8920         * check/gstcheck.c: (gst_check_init):
8921         * check/gstcheck.h:
8922           add debugging category
8923           use GST_START_TEST now, so we add a debug line
8924
8925 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8926
8927         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8928           add test for state change message on a bin
8929         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8930           add another test
8931         * gst/gstbin.c: (gst_bin_init):
8932         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8933         * gst/gstelement.c: (gst_element_post_message),
8934         (gst_element_set_state):
8935         * gst/gstelementfactory.c: (gst_element_factory_create):
8936         * gst/gstmessage.c: (gst_message_new):
8937         * gst/gstscheduler.c:
8938           various debugging additions and cleanups
8939
8940 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8941
8942         * check/Makefile.am:
8943         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8944         (main):
8945           adding tests for elements
8946         * gst/gstelement.c: (gst_element_dispose):
8947
8948 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8949
8950         * gst/registries/gstlibxmlregistry.c: (load_feature):
8951           plug more leaks.  A simple gst_init() now is leakfree, yay.
8952
8953 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8954
8955         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8956         (gst_xml_registry_load):
8957           plug another memleak
8958
8959 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8960
8961         * configure.ac:
8962           use GST_SET_ERROR_CFLAGS
8963         * docs/faq/cvs.xml:
8964           change to ERROR_CFLAGS
8965
8966 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8967
8968         * configure.ac:
8969           make GST_ERROR_CFLAGS overridable and re-enable Werror
8970         * docs/faq/cvs.xml:
8971           add a note about error CFLAGS
8972         * docs/gst/tmpl/gstfakesrc.sgml:
8973         * gst/elements/gstfakesrc.c:
8974           comment out some unused code
8975         * gst/gst.c: (split_and_iterate):
8976         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8977         (load_feature):
8978           plug some memleaks
8979
8980 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8981
8982         * common/Makefile.am:
8983         * common/gtk-doc.mak:
8984         * docs/gst/Makefile.am:
8985           factor out gtk-doc.mak
8986
8987 2005-07-07  Wim Taymans  <wim@fluendo.com>
8988
8989         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8990         (gst_thread_scheduler_dispose):
8991         Unlock the STREAM_LOCK completely.
8992
8993 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8994
8995         * check/Makefile.am:
8996         * check/elements/.cvsignore:
8997         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8998         (START_TEST), (fakesrc_suite), (main):
8999         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9000         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9001         (gst_fakesrc_create), (gst_fakesrc_start):
9002         * gst/elements/gstfakesrc.h:
9003           adding a first element test
9004
9005 2005-07-07  Andy Wingo  <wingo@pobox.com>
9006
9007         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9008         debug message.
9009
9010 2005-07-07  Wim Taymans  <wim@fluendo.com>
9011
9012         * gst/gstquery.c:
9013         * gst/gstquery.h:
9014         Remove old types
9015
9016 2005-07-07  Wim Taymans  <wim@fluendo.com>
9017
9018         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9019         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9020         Allow subclasses to implement their own negotiation.
9021
9022 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9023
9024         * docs/design/part-gstbin.txt:
9025         * docs/design/part-gstpipeline.txt:
9026           Update design notes to reflect the movement of
9027           responsibility for bus handling from GstPipeline to
9028           GstBin
9029
9030 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9031
9032         * configure.ac:
9033           Remove unnecessary queue2/3/4 examples.
9034
9035 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9036
9037         * examples/Makefile.am:
9038         * examples/helloworld/helloworld.c: (event_loop), (main):
9039         * examples/queue/queue.c: (event_loop), (main):
9040         * examples/queue2/queue2.c: (main):
9041           Update a couple of the examples to work again.
9042
9043         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9044         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9045          Spelling corrections and extra debug.
9046         
9047         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9048         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9049         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9050         * gst/gstbin.h:
9051         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9052         (gst_pipeline_change_state):
9053         * gst/gstpipeline.h:
9054           Move the bus handler for children to the GstBin, and create a
9055           separate bus for receiving messages from children to the one the
9056           bus sends 'upwards' on.
9057
9058 2005-07-06  Wim Taymans  <wim@fluendo.com>
9059
9060         * gst/base/README:
9061         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9062         (gst_base_sink_handle_object), (gst_base_sink_loop),
9063         (gst_base_sink_change_state):
9064         * gst/base/gstbasesink.h:
9065         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9066         (gst_base_src_init), (gst_base_src_setcaps),
9067         (gst_base_src_getcaps), (gst_base_src_loop),
9068         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9069         (gst_base_src_start), (gst_base_src_change_state):
9070         * gst/base/gstbasesrc.h:
9071         Make basesrc negotiate.
9072         Handle the case where preroll fails in basesink.
9073         Update README.
9074
9075 2005-07-06  Wim Taymans  <wim@fluendo.com>
9076
9077         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9078         Implement the fixate function.
9079         Clean up acceptcaps.
9080
9081 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9082
9083         * docs/pwg/building-filterfactory.xml:
9084         * docs/pwg/pwg.xml:
9085           Remove never-written filter-factory chapter; I'll add the various
9086           base classes to part 4 ("other element types") later on.
9087
9088 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9089
9090         * docs/pwg/advanced-negotiation.xml:
9091         * docs/pwg/building-boiler.xml:
9092         * docs/pwg/building-pads.xml:
9093         * docs/pwg/pwg.xml:
9094         * examples/pwg/Makefile.am:
9095           Add a chapter on caps negotiation, simplify the original code
9096           samples a bit w.r.t. caps negotiation, add link to the advanced
9097           section. Add a bunch of examples showing different use cases of
9098           different types of caps negotiation. Upstream renegotiation isn't
9099           fully documented yet since nobody knows how that works.
9100
9101 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9102
9103         * check/gst/gstpad.c:
9104         * check/gstcheck.c:
9105         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9106           if pad has no parent, return NULL as list of internal links
9107
9108 2005-07-05  Andy Wingo  <wingo@pobox.com>
9109
9110         * gst/elements/gstfilesrc.c:
9111         * gst/elements/gstfakesrc.c: 
9112         * gst/base/gstpushsrc.c:
9113         * gst/base/gstbasesrc.h: 
9114         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9115         
9116 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9117
9118         * Makefile.am:
9119           better report generation target (lcov needs a patch)
9120
9121 2005-07-05  Andy Wingo  <wingo@pobox.com>
9122
9123         * gst/elements, testsuite: Null if we got it...
9124
9125 2005-07-05  Wim Taymans  <wim@fluendo.com>
9126
9127         * configure.ac:
9128         * libs/gst/dataprotocol/Makefile.am:
9129         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9130         * libs/gst/dataprotocol/dataprotocol.h:
9131         * pkgconfig/Makefile.am:
9132         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9133         * pkgconfig/gstreamer-dataprotocol.pc.in:
9134         Ported dataprotol to 0.9. 
9135         Added pkgconfig files.
9136
9137 2005-07-05  Andy Wingo  <wingo@pobox.com>
9138
9139         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9140         Default to returning TRUE for the case when tranform_caps returns
9141         a fixed caps, like for identity or volume.
9142
9143         * check/gst/gstbus.c (pound_bus_with_messages): 
9144         * check/gst/gstmessage.c (START_TEST): 
9145         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9146         message API change.
9147
9148         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9149         logic weaks here: always run transform_caps, trying passthrough
9150         operation only if the original caps intersects with the transform.
9151
9152         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9153         source and sink caps.
9154
9155         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9156         Intersect the peer caps with the pad template before going into
9157         transform_caps.
9158         (gst_base_transform_transform_caps): More debugging.
9159
9160         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9161         src argument.
9162
9163 2005-07-04  Edward Hervey  <edward@fluendo.com>
9164
9165         * gst/gstutils.c:
9166         * gst/gstutils.h:
9167         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9168         in bindings.
9169
9170 2005-07-04  Andy Wingo  <wingo@pobox.com>
9171
9172         * check/gst/gstpad.c: Only set explicit caps on pads.
9173
9174 2005-07-01  Andy Wingo  <wingo@pobox.com>
9175
9176         * tests/network-clock.scm: Commentary update.
9177
9178         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9179         Didn't really make sense, not implementable with basetransform,
9180         etc.
9181         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9182         attempt at implementing the sync property, needs an unlock method.
9183
9184         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9185         New func, by default returns the same caps (the identity
9186         transformation).
9187         (gst_base_transform_getcaps): Uses transform_caps to return
9188         something sensible.
9189         (gst_base_transform_setcaps): Complicated logic to get caps on
9190         both pads, even if they are different, and to call set_caps once
9191         for every time both pads get their caps set.
9192         (gst_base_transform_handle_buffer): Give the ref to the transform
9193         function. Allows in-place modification of the buffer.
9194
9195         * gst/base/gstbasetransform.h (transform_caps): New class method.
9196         Given caps on one side, what can I do on the other.
9197         (set_caps): Take two caps, one for each side of the element.
9198
9199         * gst/gstpad.h:
9200         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9201         caps in place. This is safe because we can check the mutability of
9202         the caps, and a good idea because fixate functions are just called
9203         as a matter of last resort. (Not actually implemented.)
9204         (gst_pad_set_caps): If the caps we're setting is actually the same
9205         as the existing pad caps, just update the pointer without calling
9206         setcaps. Assert that caps is either NULL or fixed, as per the
9207         docs.
9208
9209         * gst/gstghostpad.c: Update for fixate changes.
9210
9211 2005-07-02  Andy Wingo  <wingo@pobox.com>
9212
9213         * gst/gstcaps.c:
9214         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9215         two refcounts makes it immutable, which is enough. Doc more.
9216
9217 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9218
9219         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9220           Put the mini_object into GValue as a mini_object,
9221           not a gpointer, since that's how we declared
9222           the signal.
9223
9224 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9225
9226         * examples/pwg/Makefile.am:
9227           Fix buildbot again.
9228
9229 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9230
9231         * docs/pwg/building-testapp.xml:
9232           Add extra check.
9233         * examples/pwg/Makefile.am:
9234           Fix buildbot.
9235
9236 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9237
9238         * configure.ac:
9239         * examples/Makefile.am:
9240         * examples/pwg/Makefile.am:
9241         * examples/pwg/extract.pl:
9242           Enable building the PWG examples.
9243         * docs/pwg/advanced-interfaces.xml:
9244           Add URI interface stub.
9245         * docs/pwg/advanced-types.xml:
9246         * docs/pwg/other-autoplugger.xml:
9247         * docs/pwg/appendix-porting.xml:
9248         * docs/pwg/pwg.xml:
9249           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9250         * docs/pwg/building-boiler.xml:
9251         * docs/pwg/building-chainfn.xml:
9252         * docs/pwg/building-pads.xml:
9253         * docs/pwg/building-props.xml:
9254         * docs/pwg/building-state.xml:
9255         * docs/pwg/building-testapp.xml:
9256           Update the building-*.xml parts for 0.9 changes. All examples
9257           code blocks compile in examples/pwg/*.
9258
9259 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9260
9261         * docs/manual/advanced-autoplugging.xml:
9262         * docs/manual/appendix-checklist.xml:
9263         * docs/manual/appendix-integration.xml:
9264         * docs/manual/highlevel-components.xml:
9265           Fix playbin/decodebin examples, update docs a bit, mention bus
9266           instead of signals in various places, mention kmplayer and
9267           kaffeine since they have a working GStreamer backend in the KDE
9268           section.
9269
9270 2005-06-30  Wim Taymans  <wim@fluendo.com>
9271
9272         * CHANGES-0.9:
9273         * docs/design/draft-ghostpads.txt:
9274         * docs/design/draft-push-pull.txt:
9275         * docs/design/draft-query.txt:
9276         * docs/design/part-TODO.txt:
9277         * docs/design/part-query.txt:
9278         Added CHANGES-0.9 doc, updated status of other docs.
9279         
9280         * gst/gstquery.h:
9281         Remove "hmm" macro
9282
9283 2005-06-30  Wim Taymans  <wim@fluendo.com>
9284
9285         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9286         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9287         (gst_base_sink_change_state):
9288         * gst/base/gstbasesink.h:
9289         Some tweaks, only EOS and a buffer complete a preroll.
9290
9291 2005-06-30  Andy Wingo  <wingo@pobox.com>
9292
9293         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9294         activate_push down to the internal pad as well.
9295
9296 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9297
9298         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9299
9300         * gst/gsttaginterface.c:
9301           Some documentation fixes (#307394 and #307397).
9302
9303 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9304
9305         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9306
9307         * gst/gstvalue.c: (gst_value_intersect_list):
9308           Fix memleak (#309125).
9309
9310 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9311
9312         * docs/manual/advanced-dataaccess.xml:
9313           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9314         * docs/manual/basics-pads.xml:
9315           Add reference for filtered caps to above chapter.
9316
9317 2005-06-30  Wim Taymans  <wim@fluendo.com>
9318
9319         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9320         (gst_bin_change_state):
9321         Probes are gone.
9322         Lame attempt at making the state change function a bit
9323         more readable.
9324
9325 2005-06-30  Wim Taymans  <wim@fluendo.com>
9326
9327         * docs/design/part-clocks.txt:
9328         * docs/design/part-element-sink.txt:
9329         * docs/design/part-events.txt:
9330         * docs/design/part-preroll.txt:
9331         * docs/design/part-states.txt:
9332         Some more tweeks and additions to the docs.
9333
9334 2005-06-30  Wim Taymans  <wim@fluendo.com>
9335
9336         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9337         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9338         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9339         (gst_pad_check_pull_range), (gst_pad_get_range),
9340         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9341         * gst/gstpad.h:
9342         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9343         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9344         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9345         (gst_pad_remove_buffer_probe):
9346         Removed atomic operations, use existing LOCK.
9347         Move exception handling out of main code path.
9348
9349 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9350
9351         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9352         (silly_return_true_function), (gst_pad_class_init),
9353         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9354         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9355         (gst_pad_send_event):
9356           Fix accumulator, add default value by using _emitv() instead
9357           of _emit() for signal emission.
9358
9359 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9360
9361         * docs/manual/advanced-dataaccess.xml:
9362         * examples/manual/Makefile.am:
9363           Add probe example.
9364         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9365           Make work (??).
9366
9367 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9368
9369         * gst/elements/gstfilesink.c: (gst_filesink_render):
9370           Simplify code so that we don't have to handle short
9371           writes and return GST_FLOW_ERROR if an error occured.
9372
9373 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9374
9375         * docs/gst/gstreamer-docs.sgml:
9376           Remove probes more.
9377
9378 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9379
9380         * docs/gst/gstreamer-sections.txt:
9381         * docs/gst/tmpl/gstpad.sgml:
9382         * docs/gst/tmpl/gstprobe.sgml:
9383         * gst/Makefile.am:
9384         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9385         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9386         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9387         (gst_pad_push_event), (gst_pad_send_event):
9388         * gst/gstpad.h:
9389         * gst/gstutils.c: (gst_pad_add_data_probe),
9390         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9391         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9392         (gst_pad_remove_buffer_probe):
9393         * gst/gstutils.h:
9394           Remove old probes, add new g-signal-based probes and some utility
9395           functions.
9396
9397 2005-06-29  Edward Hervey  <edward@fluendo.com>
9398
9399         * gst/gstelementfactory.c:
9400         * gst/gstutils.h:
9401         * gst/gstutils.c:
9402         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9403         the definition to the header file.
9404
9405 2005-06-29  Andy Wingo  <wingo@pobox.com>
9406
9407         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9408         plugins from the source directory.
9409
9410 2005-06-29  Wim Taymans  <wim@fluendo.com>
9411
9412         * docs/gst/tmpl/gstbuffer.sgml:
9413         * docs/gst/tmpl/gstclock.sgml:
9414         Some fixings for blantently wrong text.
9415
9416 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9417
9418         * check/Makefile.am:
9419         * gst/gst.c: (add_path_func), (init_pre):
9420         * gst/gstregistry.c: (gst_registry_add_path):
9421           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9422           only scan the GST_PLUGIN_PATH locations, and not add
9423           system locations
9424
9425 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9426
9427         * docs/gst/gstreamer-sections.txt:
9428         * docs/gst/tmpl/gstbasesrc.sgml:
9429         * gst/gstelement.c:
9430         * gst/gstelement.h:
9431         * gst/gstevent.c:
9432         * gst/gstutils.c:
9433           doc fixes
9434
9435 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9436
9437         * docs/manual/advanced-autoplugging.xml:
9438           Fix autoplugging example.
9439
9440 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9441
9442         * docs/manual/advanced-autoplugging.xml:
9443         * docs/manual/mime-world.fig:
9444           Try to get autoplugging working, fix type detection. Fix text
9445           in hello-world image.
9446
9447 2005-06-29  Wim Taymans  <wim@fluendo.com>
9448
9449         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9450         (gst_base_sink_change_state):
9451         Small debug line.
9452
9453         * gst/gstclock.h:
9454         map SIGNAL and BROADCAST to the right function.
9455
9456         * gst/gstobject.h:
9457         Remove redundant braces.
9458
9459         * gst/gstpad.c: (gst_pad_set_caps):
9460         Don't call setcaps function when reseting caps to NULL.
9461
9462         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9463         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9464         (gst_system_clock_id_unschedule):
9465         Use BROADCAST as this is what we do.
9466
9467 2005-06-29  Wim Taymans  <wim@fluendo.com>
9468
9469         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9470         We are actually prerolling before commiting the state
9471         change. 
9472
9473 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9474
9475         * docs/manual/advanced-clocks.xml:
9476         * docs/manual/advanced-interfaces.xml:
9477         * docs/manual/advanced-metadata.xml:
9478         * docs/manual/advanced-position.xml:
9479         * docs/manual/advanced-schedulers.xml:
9480         * docs/manual/advanced-threads.xml:
9481         * docs/manual/appendix-porting.xml:
9482         * docs/manual/basics-bins.xml:
9483         * docs/manual/basics-bus.xml:
9484         * docs/manual/basics-elements.xml:
9485         * docs/manual/basics-helloworld.xml:
9486         * docs/manual/basics-pads.xml:
9487         * docs/manual/highlevel-components.xml:
9488         * docs/manual/manual.xml:
9489         * docs/manual/thread.fig:
9490           Update (until threads/scheduling) Application Development Manual;
9491           remove GstThread, add GstBus, add simple porting checklist, add
9492           documentation for tag writing, clocks, make all examples until this
9493           part compile and run.
9494         * examples/manual/Makefile.am:
9495           Update from changes to Application Development Manual; add bus
9496           example, remove thread example.
9497
9498 2005-06-28  Wim Taymans  <wim@fluendo.com>
9499
9500         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9501         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9502         (gst_bus_source_dispatch):
9503         Add debugging messages.
9504         Make internal methods static.
9505         Handle the case where the bus is flushed in the handler.
9506         
9507         * gst/gstelement.c: (gst_element_get_bus):
9508         Fix refcount in _get_bus();
9509
9510         * gst/gstpipeline.c: (gst_pipeline_change_state),
9511         (gst_pipeline_get_clock_func):
9512         Clock refcounting fixes.
9513         Handle the case where preroll timed out more gracefully.
9514         
9515         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9516         Clean up the internal thread in dispose. This is needed
9517         for subclasses that actually get disposed.
9518         
9519         * gst/schedulers/threadscheduler.c:
9520         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9521         (gst_thread_scheduler_dispose):
9522         Free thread pool in dispose.
9523
9524 2005-06-28  Andy Wingo  <wingo@pobox.com>
9525
9526         * tests/network-clock-utils.scm (debug, print-event): New utils.
9527
9528         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9529         (*packet-loss*): Unified loss probability.
9530         (network-time): Report out-of-band events.
9531
9532         * tests/plot-data: Add support for out-of-band events. Hack it
9533         into this script instead of passing it down the pipe; should fix
9534         this later.
9535
9536 2005-06-28  Wim Taymans  <wim@fluendo.com>
9537
9538         * docs/gst/gstreamer.types:
9539         * docs/gst/tmpl/gstbasesrc.sgml:
9540         * docs/gst/tmpl/gstpad.sgml:
9541         Docs fixes.
9542
9543 2005-06-28  Wim Taymans  <wim@fluendo.com>
9544
9545         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9546         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9547         (gst_proxy_pad_do_fixatecaps):
9548         Correctly proxy the check_pull_range function.
9549
9550 2005-06-28  Andy Wingo  <wingo@pobox.com>
9551
9552         * tests/network-clock.scm: Removed need for slib.
9553         
9554 2005-06-28  Wim Taymans  <wim@fluendo.com>
9555
9556         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9557         (gst_basesink_preroll_queue_flush):
9558         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9559         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9560         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9561         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9562         (gst_proxy_pad_set_property):
9563         * gst/gstpad.c:
9564         * gst/gstpad.h:
9565         * gst/gstqueue.c: (gst_queue_init):
9566         The deprecated pad loop function is removed now.
9567
9568 2005-06-28  Andy Wingo  <wingo@pobox.com>
9569
9570         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9571         New parameters, simulate network packet loss.
9572
9573         * tests/network-clock-utils.scm: Initialize the RNG.
9574
9575 2005-06-28  Wim Taymans  <wim@fluendo.com>
9576
9577         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9578         (gst_basesink_event), (gst_basesink_deactivate):
9579         Flushing the preroll queue always needs to unlock the waiters.
9580
9581 2005-06-28  Edward Hervey  <edward@fluendo.com>
9582
9583         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9584         Wheen a seek was successful on a pipeline, set the stream_time to the
9585         seek offset in order to have a synchronized stream_time.
9586
9587 2005-06-28  Wim Taymans  <wim@fluendo.com>
9588
9589         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9590         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9591         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9592         (gst_proxy_pad_do_fixatecaps):
9593         Call wrapper function instead of just calling the function
9594         pointers. This takes care of any locking and whatmore.
9595
9596 2005-06-28  Wim Taymans  <wim@fluendo.com>
9597
9598         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9599         (gst_pad_pull_range):
9600         * gst/gstpad.h:
9601         CONNECTED -> LINKED.
9602
9603 2005-06-28  Andy Wingo  <wingo@pobox.com>
9604
9605         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9606         source-munging commit!!!
9607
9608         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9609         (gst_object_sink): Take gpointer arguments, not GstObject --
9610         avoids casts. Like GLib.
9611
9612         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9613         activate.
9614
9615 2005-06-27  Andy Wingo  <wingo@pobox.com>
9616
9617         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9618         remaining buffer.
9619
9620         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9621         returns a sorted copy of the trace list.
9622         (gst_alloc_trace_print_live): New API, only prints traces with
9623         live objects. Sort the list.
9624         (gst_alloc_trace_print_all): Sort the list.
9625         (gst_alloc_trace_print): Align columns.
9626
9627         * gst/elements/gstttypefindelement.c:
9628         * gst/elements/gsttee.c:
9629         * gst/base/gstbasesrc.c:
9630         * gst/base/gstbasesink.c:
9631         * gst/base/gstbasetransform.c:
9632         * gst/gstqueue.c: Adapt for pad activation changes.
9633
9634         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9635         sched.
9636         (gst_pipeline_dispose): Drop ref on sched.
9637
9638         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9639         (gst_pad_activate_default): Push mode by default.
9640         (pre_activate_switch, post_activate_switch): New stubs, things to
9641         do before and after switching activation modes on pads.
9642         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9643         the pad's activate function to choose which mode to activate.
9644         Shortcut on deactivation and call the right function directly.
9645         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9646         mode.
9647         (gst_pad_activate_push): New API, same for push mode.
9648         (gst_pad_set_activate_function) 
9649         (gst_pad_set_activatepull_function) 
9650         (gst_pad_set_activatepush_function): Setters for new API.
9651
9652         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9653         Trace all miniobjects.
9654         (gst_mini_object_make_writable): Unref the arg if we copy, like
9655         gst_caps_make_writable.
9656
9657         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9658
9659         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9660         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9661         Adapt for new pad API.
9662
9663         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9664
9665         * gst/gstelement.h:
9666         * gst/gstelement.c (gst_element_iterate_src_pads) 
9667         (gst_element_iterate_sink_pads): New API functions.
9668         
9669         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9670         should fold into gstiterator.c in some form.
9671         (gst_element_pads_activate): Simplified via use of fold and
9672         delegation of decisions to gstpad->activate.
9673
9674         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9675         help in debugging.
9676
9677         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9678         class once in init, like gstmessage. Didn't run into this issue
9679         but it seems correct. Don't initialize a trace, gstminiobject does
9680         that.
9681
9682         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9683         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9684         to the bus.
9685         (assert_live_count): New util function, uses alloc traces to check
9686         cleanup.
9687
9688         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9689         To be modified when unlink drops the internal pad.
9690
9691 2005-06-27  Wim Taymans  <wim@fluendo.com>
9692
9693         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9694         (gst_bin_change_state):
9695         Cleanup the get_state() function a little, make sure it
9696         iterates the same set of elements.
9697         Added stub iterate_state_order().
9698
9699 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9700
9701         * docs/gst/gstreamer-docs.sgml:
9702         * docs/gst/gstreamer-sections.txt:
9703         * docs/gst/gstreamer.types:
9704         * docs/gst/tmpl/gstbasesink.sgml:
9705         * docs/gst/tmpl/gstbasesrc.sgml:
9706         * docs/gst/tmpl/gstbasetransform.sgml:
9707         * docs/gst/tmpl/gstelement.sgml:
9708         * docs/gst/tmpl/gstiterator.sgml:
9709         * gst/base/gstbasesrc.c:
9710         * gst/base/gstbasesrc.h:
9711         * gst/base/gstbasetransform.h:
9712         * gst/gstelement.c:
9713         * gst/gstiterator.h:
9714           adding basetransform and iterator docs
9715
9716 2005-06-27  Andy Wingo  <wingo@pobox.com>
9717
9718         * docs/design/part-activation.txt: Notes on how activation should
9719         work -- not quite implemented yet.
9720
9721 2005-06-25  Wim Taymans  <wim@fluendo.com>
9722
9723         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9724         At least get the chain function correct, needs more
9725         fixing.
9726
9727 2005-06-25  Wim Taymans  <wim@fluendo.com>
9728
9729         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9730         (gst_basesink_handle_object), (gst_basesink_event),
9731         (gst_basesink_do_sync), (gst_basesink_handle_event),
9732         (gst_basesink_change_state):
9733         * gst/gsttask.h:
9734         Right, two problems here: ghostpads don't take locks and
9735         glib _rec_mutex_lock_full() with depth==0 still locks.
9736         Catch illegal locking and g_warn them.
9737
9738 2005-06-25  Wim Taymans  <wim@fluendo.com>
9739
9740         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9741         Have to check for completion now...
9742
9743 2005-06-25  Wim Taymans  <wim@fluendo.com>
9744
9745         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9746         (gst_basesink_handle_object), (gst_basesink_event),
9747         (gst_basesink_do_sync), (gst_basesink_handle_event),
9748         (gst_basesink_change_state):
9749         * gst/gstpad.h:
9750         Unlock STREAM_LOCK whatever the recursion was.
9751
9752 2005-06-25  Wim Taymans  <wim@fluendo.com>
9753
9754         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9755         (gst_basesink_preroll_queue_empty),
9756         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9757         (gst_basesink_event), (gst_basesink_do_sync),
9758         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9759         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9760         (gst_basesink_change_state):
9761         Reworked the base sink, handle event and buffer serialisation
9762         correctly and removed possible deadlock.
9763         Handle EOS correctly.
9764
9765 2005-06-25  Wim Taymans  <wim@fluendo.com>
9766
9767         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9768         (gst_pipeline_change_state):
9769         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9770         Allow elements to post EOS in the state change function.
9771         Fix up -launch, make it exit the poll loop when the
9772         pipeline actually changed state.
9773         Fix up warning parsing in -launch.
9774
9775 2005-06-25  Wim Taymans  <wim@fluendo.com>
9776
9777         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9778         (gst_tee_sink_activate):
9779         Core takes STREAM_LOCK for us now.
9780
9781 2005-06-25  Wim Taymans  <wim@fluendo.com>
9782
9783         * gst/gstelement.c: (gst_element_get_state_func),
9784         (gst_element_set_state):
9785         * gst/gstelement.h:
9786         * gst/gstmessage.c: (gst_message_parse_error),
9787         (gst_message_parse_warning):
9788         Keep track of current target state while performing a state
9789         change so that subclasses can do something interesting.
9790         Fix parsing of warning/error messages when GError is NULL.
9791
9792 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9793
9794         * docs/gst/Makefile.am:
9795         * docs/gst/gstreamer-docs.sgml:
9796         * docs/gst/gstreamer-sections.txt:
9797         * docs/gst/gstreamer.types:
9798         * docs/gst/tmpl/gstbasesink.sgml:
9799         * docs/gst/tmpl/gstbasesrc.sgml:
9800         * docs/gst/tmpl/gstbin.sgml:
9801         * docs/gst/tmpl/gstcompat.sgml:
9802         * docs/gst/tmpl/gstfakesink.sgml:
9803         * docs/gst/tmpl/gstfakesrc.sgml:
9804         * docs/gst/tmpl/gstfilesink.sgml:
9805         * docs/gst/tmpl/gstfilesrc.sgml:
9806         * docs/gst/tmpl/gstindex.sgml:
9807         * docs/manual/appendix-quotes.xml:
9808         * gst/base/gstbasesrc.h:
9809         * gst/elements/gstfakesrc.h:
9810         * gst/gstmessage.h:
9811           start pulling in base classes and elements in our docs
9812
9813 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9814
9815         * docs/gst/Makefile.am:
9816         * docs/libs/Makefile.am:
9817           fixed make distcheck with gtk-doc 1.3
9818
9819 2005-06-23  Wim Taymans  <wim@fluendo.com>
9820
9821         * gst/gstelement.c: (gst_element_get_state_func),
9822         (gst_element_set_state), (gst_element_change_state):
9823         When the state did not change, also report NO_PREROLL
9824         when it matters.
9825
9826 2005-06-23  Wim Taymans  <wim@fluendo.com>
9827
9828         * gst/gstpad.c: (gst_pad_event_default):
9829         * gst/gstqueue.c: (gst_queue_loop):
9830         No unsafe task pausing please.
9831
9832 2005-06-23  Wim Taymans  <wim@fluendo.com>
9833
9834         * gst/schedulers/threadscheduler.c:
9835         (gst_thread_scheduler_task_start),
9836         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9837         Ref the task before pushing it on the threadpool. This
9838         makes sure that we have a ref when the threadfunction is
9839         actually called.
9840
9841 2005-06-23  Andy Wingo  <wingo@pobox.com>
9842
9843         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9844         offset is greater than the file's size.
9845
9846         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9847         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9848         * gst/gstobject.c (gst_object_class_init): Make the class lock
9849         recursive. Wim won't let me drop deep_notify. Decodebin works
9850         again, whoopdy doo.
9851
9852         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9853         internal pad, and hacks accordingly. Doesn't do it on the target
9854         pad because we change its caps. Probably catches all cases of
9855         interest tho.
9856         (gst_ghost_pad_set_property): Connect to notify::caps as
9857         appropritate.
9858
9859         * tests/network-clock.scm (plot-simulation): Pipe data to the
9860         elite python skript.
9861
9862         * tests/network-clock-utils.scm (define-parameter): New macro,
9863         defines a parameter that can be set via the command line.
9864         (set-parameter!, parse-parameter-arguments): Command line args
9865         parser.
9866
9867         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9868         stdin.
9869
9870 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9871
9872         * gst/elements/gsttypefindelement.c:
9873         (gst_type_find_element_handle_event):
9874           Don't restart typefinding on a discont.
9875         * gst/gstelement.c: (gst_element_set_state):
9876           Debug spelling fix.
9877         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9878           Allow changing mode of an active pad.
9879           Debug output fixes.
9880         * gst/registries/gstlibxmlregistry.c: (load_feature):
9881           Don't cast a static pad template to a normal pad template.
9882
9883 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9884
9885         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9886         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9887           remove gst_strtoll completely, since it didn't actually do
9888           anything more than what g_ascii_strtoull already does.
9889           check for range errors when deserializing
9890           do a cast for the unsigned cases; but further fixing needs
9891           a decision on what the interpretation of "(int)" and
9892           deserialization should be for values that fall outside the
9893           type's boundaries (ie, refuse, or interpret as casting)
9894
9895 2005-06-23  Wim Taymans  <wim@fluendo.com>
9896
9897         * check/Makefile.am:
9898         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9899         * docs/design/part-live-source.txt:
9900         * docs/design/part-states.txt:
9901         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9902         (gst_basesrc_set_live), (gst_basesrc_is_live),
9903         (gst_basesrc_get_range), (gst_basesrc_activate),
9904         (gst_basesrc_change_state):
9905         * gst/base/gstbasesrc.h:
9906         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9907         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9908         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9909         * gst/gstelement.c: (gst_element_get_state_func),
9910         (gst_element_set_state):
9911         * gst/gstelement.h:
9912         * gst/gsttypes.h:
9913         * tools/gst-launch.c: (event_loop), (main):
9914         Added support for live sources and other elements that
9915         cannot do preroll.
9916         Updated design docs, added live-source design doc.
9917         Implemented live source functionality in basesrc
9918         Fix error condition in _bin_get_state()
9919         Implement live source handling in -launch.
9920         Added check for live sources.
9921         Fixed case in GstBin where elements were changed state
9922         multiple times.
9923
9924
9925 2005-06-23  Andy Wingo  <wingo@pobox.com>
9926
9927         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9928         borken refcounting.
9929
9930         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9931         gst_caps_replace takes care of this for us.
9932
9933         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9934         gst_pad_set_caps on the target, not just its setcaps() function.
9935
9936         * tests/network-clock.scm: 
9937         * tests/network-clock-utils.scm: A network clock simulator.
9938         Something of an algorithmic testbed before doing something in C.
9939
9940 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9941
9942         * check/Makefile.am:
9943         * check/gst/capslist.h:
9944           copy over from 0.8, and add two with bitmasks specified with
9945           (int) 0xFF...
9946         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9947           add test to parse everything from capslist.h
9948         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9949         (main):
9950           add test for structure deserialization
9951         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9952           add tests for deserialization of strings to int types
9953         * gst/gststructure.c: (gst_structure_nth_field_name):
9954         * gst/gststructure.h:
9955           add a way to get the name of a field referenced by index
9956         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9957           instead of checking if the resulting long long lies between
9958           min and max, we check if the long long would fit into
9959           a number of bytes for the final type.
9960           This fixes cases where a string represents 2^32 - 1, which
9961           when cast to int would be the (valid) -1, but is bigger than
9962           G_MAXINT
9963
9964 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9965
9966         * gst/parse/grammar.y:
9967           add a log line for type deserialization
9968
9969 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9970
9971         * check/gst/gstvalue.c: (START_TEST):
9972         * gst/gstvalue.c: (gst_value_deserialize):
9973           return long long, not int, so gint64 deserialization actually
9974           works.  Is there any flag that makes the compiler check this ?
9975           Fixes #308559
9976
9977 2005-06-22  Wim Taymans  <wim@fluendo.com>
9978
9979         * gst/gstbuffer.h:
9980         Added convenience macros for setting buffers in GValue.
9981
9982 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9983
9984         * check/gst/.cvsignore:
9985         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9986           add a test deserializing int64, and comment part out because
9987           it fails, yay !
9988
9989 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9990
9991         * check/Makefile.am:
9992         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9993         * testsuite/Makefile.am:
9994         * testsuite/caps/Makefile.am:
9995         * testsuite/caps/value_serialize.c:
9996         * testsuite/test_gst_init.c:
9997           move a value_serialize test over
9998
9999 2005-06-20  Wim Taymans  <wim@fluendo.com>
10000
10001         * gst/gstpad.c:
10002         Small doc updates.
10003         
10004         * gst/gstvalue.c: (gst_value_compare_buffer),
10005         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10006         (gst_value_compare_flags), (gst_value_serialize_flags),
10007         (gst_value_deserialize_flags), (_gst_value_initialize):
10008         Fix serialisation of buffers, they are not boxed types anymore
10009
10010 2005-06-20  Wim Taymans  <wim@fluendo.com>
10011
10012         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10013         Testcase to show error in buffer-on-caps serialisation.
10014
10015 2005-06-20  Andy Wingo  <wingo@pobox.com>
10016
10017         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10018         will be adding to later.
10019
10020         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10021         if its socks fill with rocks.
10022         (gst_system_clock_obtain): Set the name on object construction.
10023         Avoid double-checked locking.
10024
10025 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10026
10027         * gst/gsturi.c: (gst_element_make_from_uri):
10028           Fix potential endless loop.
10029
10030 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10031
10032         * check/Makefile.am:
10033           add gsttag
10034         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10035         (main):
10036           move over from testsuite dir and clean up
10037         * configure.ac:
10038         * gst/gsttag.c:
10039         * testsuite/Makefile.am:
10040         * testsuite/tags/.cvsignore:
10041         * testsuite/tags/Makefile.am:
10042         * testsuite/tags/merge.c:
10043           remove testsuite/tags
10044
10045 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10046
10047         * docs/gst/gstreamer-sections.txt:
10048         * docs/gst/tmpl/gstenumtypes.sgml:
10049         * win32/gstenumtypes.c:
10050           clean up documentation build a little
10051
10052 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10053
10054         * check/gstcheck.h:
10055           add macros for checking refcounts on objects and caps
10056         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10057           add some more unit tests
10058         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10059         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10060           fix leaked refcounts (I hope :)) so unittest works
10061         * gst/gstpad.h:
10062           whitespace removal
10063
10064 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10065
10066         * configure.ac: back to HEAD
10067
10068 === release 0.9.1 ===
10069
10070 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10071
10072         * NEWS:
10073         * RELEASE:
10074           updated
10075
10076 2005-06-17  Andy Wingo  <wingo@pobox.com>
10077
10078         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10079         assert; it's always possible that the pad gets deactivated in
10080         between the checks in gstpad.c and the implementation. Rely on
10081         finish_preroll() to return a FLUSHING or similar instead of on the
10082         assert.
10083         
10084         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10085         clock and post an EOS message if we come out of finish_preroll in
10086         the playing state.
10087
10088 2005-06-16  David Schleef  <ds@schleef.org>
10089
10090         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10091         (gst_capsfilter_set_property): Allow NULL as possible value
10092         for filter_caps property, indicating GST_CAPS_ANY.
10093
10094 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10095
10096         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10097           fix debug output
10098         * gst/schedulers/Makefile.am:
10099           use libgst prefix
10100         * gstreamer.spec.in:
10101           fix spec for it
10102
10103 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10104
10105         * gstreamer.spec.in:
10106           clean up
10107
10108 2005-06-08  Andy Wingo  <wingo@pobox.com>
10109
10110         * gst/gstutils.c: RPAD fixes all around.
10111         (gst_element_link_pads): Refcounting fixes.
10112
10113         * tools/gst-inspect.c:
10114         * tools/gst-xmlinspect.c:
10115         * parse/grammar.y:
10116         * gst/base/gsttypefindhelper.c:
10117         * gst/base/gstbasesink.c:
10118         * gst/gstqueue.c: RPAD fixes.
10119
10120         * gst/gstghostpad.h:
10121         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10122         pads. The tricky thing is they provide both source and sink
10123         interfaces, since they proxy the internal pad for the external
10124         pad, and vice versa. Implement with lower-level ProxyPad objects,
10125         with the interior proxy pad as a child of the exterior ghost pad.
10126         Should write a doc on this.
10127         
10128         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10129         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10130         gst_object API.
10131         
10132         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10133         pads are real pads. No ghost pads in this file. Not documenting
10134         the myriad s/RPAD/PAD/ and REALIZE fixes.
10135         (gst_pad_class_init): Add properties for "direction" and
10136         "template". Both are construct-only, so they can't change during
10137         the life of the pad. Fixes properly deriving from GstPad.
10138         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10139         derived objects, just set properties when creating the objects via
10140         g_object_new.
10141         (gst_pad_get_parent): Implement as a function, return NULL if the
10142         parent is not an element.
10143         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10144         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10145         
10146         * gst/gstobject.c (gst_object_class_init): Make name a construct
10147         property. Don't set it in the object init.
10148
10149         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10150         with UNKNOWN direction.
10151         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10152         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10153         (gst_element_remove_pad): Remove ghost-pad special cases.
10154         (gst_element_pads_activate): Remove rpad cruft.
10155
10156         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10157         catch the pad's-parent-not-an-element case.
10158
10159         * gst/gst.h: Include gstghostpad.h.
10160
10161         * gst/gst.c (init_post): No more real, ghost pads.
10162
10163         * gst/Makefile.am: Add gstghostpad.[ch].
10164
10165         * check/Makefile.am:
10166         * check/gst/gstbin.c:
10167         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10168         into a bin creates ghost pads, and that the refcounts are right.
10169         Partly moved from gstbin.c.
10170
10171 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10172
10173         * check/gst-libs/.cvsignore:
10174         * check/gst/.cvsignore:
10175         * check/pipelines/.cvsignore:
10176           ignore more
10177         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10178         (START_TEST), (cleanup_suite), (main):
10179           add some tests related to cleanup after running pipelines
10180
10181 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10182
10183         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10184           add a testsuite for GstBuffer
10185
10186 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10187
10188         * gst/gstminiobject.h:
10189           add defines for accessing the refcount
10190
10191 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10192
10193         * Makefile.am: added support for html unit test coverage reports
10194
10195 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10196
10197         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10198           Free existing caps if the capsfilter changes. Add a FIXME about
10199           setting those caps on the pads.
10200
10201         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10202           Before adding a ghost pad to a parent bin, check that there isn't
10203           already one for the element on the bin. Prevents infinite recursion
10204           when using decodebin in parse pipelines. Andy says he'll rewrite the
10205           way this works anyway, so ignore the hack.
10206
10207 2005-06-02  Andy Wingo  <wingo@pobox.com>
10208
10209         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10210         file size, pass it on to the type find helper.
10211
10212         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10213         segment_start and segment_end properly according to the seek
10214         method. Segment_end is still a bit flaky because offset can be
10215         negative for CUR and END cases, but it takes -1 as an "unset"
10216         value.
10217
10218 2005-06-02  Wim Taymans  <wim@fluendo.com>
10219
10220         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10221         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10222         (gst_basesink_activate):
10223         * gst/base/gstbasesink.h:
10224         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10225         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10226         (gst_pad_query), (gst_pad_start_task):
10227         * gst/gstpad.h:
10228         * gst/gstqueue.c: (gst_queue_bufferalloc),
10229         (gst_queue_handle_sink_event), (gst_queue_chain):
10230         Bufferalloc: return GstFlowReturn to more accuratly report
10231         why allocation failed.
10232
10233 2005-06-02  Wim Taymans  <wim@fluendo.com>
10234
10235         * gst/gstpipeline.c: (gst_pipeline_send_event):
10236         Take snapshot of state without blocking.
10237
10238 2005-06-02  Wim Taymans  <wim@fluendo.com>
10239
10240         * docs/design/part-TODO.txt:
10241         * docs/design/part-caps.txt:
10242         * docs/design/part-clocks.txt:
10243         * docs/design/part-negotiation.txt:
10244         * docs/design/part-preroll.txt:
10245         Small doc updates 
10246
10247 2005-05-30  Wim Taymans  <wim@fluendo.com>
10248
10249         * gst/elements/gstidentity.c: (gst_identity_event),
10250         (gst_identity_transform), (gst_identity_get_property):
10251         Protect last_message property as it is accessed from
10252         multiple threads.
10253
10254 2005-05-30  Wim Taymans  <wim@fluendo.com>
10255
10256         * gst/gstelement.c: (gst_element_init),
10257         (gst_element_pads_activate), (gst_element_change_state):
10258         Slicker pad activation code.
10259
10260 2005-05-30  Wim Taymans  <wim@fluendo.com>
10261
10262         * gst/Makefile.am:
10263         * gst/gstelement.h:
10264         * gst/gstelementfactory.h:
10265         * gst/gsttypes.h:
10266         Move elementfactory methods to separate .h file.
10267
10268 2005-05-30  Wim Taymans  <wim@fluendo.com>
10269
10270         * docs/design/part-overview.txt:
10271         * gst/gstsystemclock.h:
10272         Small typo fixes, doc updates.
10273
10274 2005-05-30  Wim Taymans  <wim@fluendo.com>
10275
10276         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10277         (init_popt_callback):
10278         Remove cpu-opt flag.
10279
10280 2005-05-30  Wim Taymans  <wim@fluendo.com>
10281
10282         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10283         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10284         * gst/gstbuffer.h:
10285         Avoid typechecking in places where not needed.
10286         Added accessor for malloc_data.
10287
10288 2005-05-30  Wim Taymans  <wim@fluendo.com>
10289
10290         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10291         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10292         (gst_pad_configure_sink), (gst_pad_configure_src),
10293         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10294         (gst_pad_start_task):
10295         Propagate errors from _set_caps() in configure_src/sink
10296         functions instead of returning TRUE.
10297         FLUSH events can travel up and downstream
10298
10299
10300 2005-05-30  Wim Taymans  <wim@fluendo.com>
10301
10302         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10303         (gst_basesink_activate):
10304         Handle EOS in preroll.
10305
10306 2005-05-30  Wim Taymans  <wim@fluendo.com>
10307
10308         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10309         (gst_queue_loop), (gst_queue_handle_src_event):
10310         Remove old pieces of code
10311         Flushing the queue in an upstream event is a very bad idea.
10312
10313 2005-05-26  Andy Wingo  <wingo@pobox.com>
10314
10315         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10316         gst_value_set_mini_object so as to add a ref on the object (which
10317         will be removed when the value is unset).
10318
10319         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10320         arg type in ::handoff.
10321
10322         * gst/gstelement.c (gst_element_change_state): Also deactivate
10323         pads in READY->NULL, just in case the element didn't make it to
10324         PAUSED. Wingo tested, Wim approved.
10325
10326 2005-05-26  Wim Taymans  <wim@fluendo.com>
10327
10328         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10329         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10330         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10331         A flushing pad cannot be used to alloc_buffer from.
10332
10333 2005-05-26  Wim Taymans  <wim@fluendo.com>
10334
10335         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10336         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10337         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10338         (gst_bus_create_watch), (gst_bus_add_watch_full):
10339         * gst/gstbus.h:
10340         Implement a real GSource and use g_main_context_wakeup() to
10341         signal new messages instead of the socketpair.
10342
10343 2005-05-25  Wim Taymans  <wim@fluendo.com>
10344
10345         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10346         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10347         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10348         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10349         (gst_pad_send_event), (gst_pad_start_task):
10350         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10351         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10352         (gst_queue_sink_activate), (gst_queue_src_activate),
10353         (gst_queue_change_state):
10354         * gst/gstqueue.h:
10355         Fix state changes for non sinks. We now change sinks, then elements
10356         with unconnected srcpads, then the rest.
10357         More efficient queue unlocking in flush and state changes.
10358         Set the pad activate mode even if it does not have an activate
10359         function.
10360
10361 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10362
10363         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10364           Don't go in pull mode for non-seekable sources.
10365         * gst/elements/gsttypefindelement.h:
10366         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10367         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10368         (free_entry), (stop_typefinding),
10369         (gst_type_find_element_handle_event), (find_peek),
10370         (gst_type_find_element_chain), (do_pull_typefind),
10371         (gst_type_find_element_change_state):
10372           Allow typefinding (w/o seeking) in push-mode, simplified version
10373           of what was in 0.8.
10374         * gst/gstutils.c: (gst_buffer_join):
10375         * gst/gstutils.h:
10376           gst_buffer_join() from 0.8.
10377
10378 2005-05-25  Wim Taymans  <wim@fluendo.com>
10379
10380         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10381         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10382         (gst_pad_send_event), (gst_pad_start_task):
10383         Disable attempt at mode switching until it is figured out.
10384
10385 2005-05-25  Wim Taymans  <wim@fluendo.com>
10386
10387         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10388         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10389         (gst_basesink_finish_preroll), (gst_basesink_chain),
10390         (gst_basesink_loop), (gst_basesink_activate),
10391         (gst_basesink_change_state):
10392         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10393         (gst_basesrc_get_range), (gst_basesrc_loop),
10394         (gst_basesrc_activate):
10395         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10396         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10397         (gst_real_pad_init), (gst_real_pad_set_property),
10398         (gst_real_pad_get_property), (gst_pad_set_active),
10399         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10400         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10401         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10402         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10403         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10404         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10405         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10406         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10407         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10408         (gst_pad_stop_task):
10409         * gst/gstpad.h:
10410         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10411         (gst_queue_loop), (gst_queue_src_activate):
10412         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10413         (gst_task_get_state):
10414         * gst/gsttask.h:
10415         * gst/schedulers/threadscheduler.c:
10416         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10417         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10418         in task function.
10419         Remove ACTIVE pad flag, use FLUSHING everywhere
10420         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10421         functions.
10422         Add locks around IS_FLUSHING when reading.
10423         Take STREAM lock in chain(), get_range() functions so plugins
10424         don't need to take it anymore.
10425         
10426
10427
10428 2005-05-25  Wim Taymans  <wim@fluendo.com>
10429
10430         * tools/gst-launch.c: (event_loop):
10431         Unref message after using its contents instead of
10432         before.
10433
10434 2005-05-24  Wim Taymans  <wim@fluendo.com>
10435
10436         * docs/design/draft-ghostpads.txt:
10437         * docs/design/draft-push-pull.txt:
10438         * docs/design/draft-query.txt:
10439         * docs/design/part-overview.txt:
10440         Docs updates, added general overview doc.
10441
10442 2005-05-21  David Schleef  <ds@schleef.org>
10443
10444         * docs/gst/tmpl/old/GstBin.sgml:
10445         * docs/gst/tmpl/old/GstBuffer.sgml:
10446         * docs/gst/tmpl/old/GstCaps.sgml:
10447         * docs/gst/tmpl/old/GstClock.sgml:
10448         * docs/gst/tmpl/old/GstCompat.sgml:
10449         * docs/gst/tmpl/old/GstData.sgml:
10450         * docs/gst/tmpl/old/GstElement.sgml:
10451         * docs/gst/tmpl/old/GstEvent.sgml:
10452         * docs/gst/tmpl/old/GstIndex.sgml:
10453         * docs/gst/tmpl/old/GstStructure.sgml:
10454         * docs/gst/tmpl/old/GstTag.sgml:
10455         * docs/gst/tmpl/old/cothreads.sgml:
10456         * docs/gst/tmpl/old/cothreads_compat.sgml:
10457         * docs/gst/tmpl/old/gettext.sgml:
10458         * docs/gst/tmpl/old/gobject2gtk.sgml:
10459         * docs/gst/tmpl/old/grammar.tab.sgml:
10460         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10461         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10462         * docs/gst/tmpl/old/gst_private.sgml:
10463         * docs/gst/tmpl/old/gstaggregator.sgml:
10464         * docs/gst/tmpl/old/gstarch.sgml:
10465         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10466         * docs/gst/tmpl/old/gstbufferstore.sgml:
10467         * docs/gst/tmpl/old/gstdata_private.sgml:
10468         * docs/gst/tmpl/old/gstdisksink.sgml:
10469         * docs/gst/tmpl/old/gstdisksrc.sgml:
10470         * docs/gst/tmpl/old/gstelementfactory.sgml:
10471         * docs/gst/tmpl/old/gstextratypes.sgml:
10472         * docs/gst/tmpl/old/gstfakesink.sgml:
10473         * docs/gst/tmpl/old/gstfakesrc.sgml:
10474         * docs/gst/tmpl/old/gstfdsink.sgml:
10475         * docs/gst/tmpl/old/gstfdsrc.sgml:
10476         * docs/gst/tmpl/old/gstfilesink.sgml:
10477         * docs/gst/tmpl/old/gstfilesrc.sgml:
10478         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10479         * docs/gst/tmpl/old/gstidentity.sgml:
10480         * docs/gst/tmpl/old/gstindexfactory.sgml:
10481         * docs/gst/tmpl/old/gstmarshal.sgml:
10482         * docs/gst/tmpl/old/gstmd5sink.sgml:
10483         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10484         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10485         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10486         * docs/gst/tmpl/old/gstpipefilter.sgml:
10487         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10488         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10489         * docs/gst/tmpl/old/gstshaper.sgml:
10490         * docs/gst/tmpl/old/gstspider.sgml:
10491         * docs/gst/tmpl/old/gstspideridentity.sgml:
10492         * docs/gst/tmpl/old/gststatistics.sgml:
10493         * docs/gst/tmpl/old/gsttee.sgml:
10494         * docs/gst/tmpl/old/gsttimecache.sgml:
10495         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10496         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10497         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10498         * docs/gst/tmpl/old/types.sgml:
10499           I didn't intend to add these or check them in.
10500
10501 2005-05-19  David Schleef  <ds@schleef.org>
10502
10503         * configure.ac: Use -no-common everywhere.  In a sane world, it
10504           would be the default in libtool, because without it, you can't
10505           build DLLs on Windows.
10506         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10507         * docs/gst/gstreamer-sections.txt:
10508         * docs/gst/tmpl/gstcpu.sgml:
10509         * docs/gst/tmpl/gstdata.sgml:
10510         * docs/gst/tmpl/gstthread.sgml:
10511
10512 2005-05-19  David Schleef  <ds@schleef.org>
10513
10514         * gst/gstminiobject.c: (gst_value_set_mini_object),
10515         (gst_value_take_mini_object), (gst_value_get_mini_object):
10516         * gst/gstminiobject.h: Add GValue set/get functions.
10517
10518 2005-05-19  Wim Taymans  <wim@fluendo.com>
10519
10520         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10521         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10522         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10523         * gst/gstbuffer.h:
10524         * gst/gstbus.c: (gst_bus_post):
10525         * gst/gstelement.c: (gst_element_get_random_pad):
10526         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10527         Make subbufer unref the parent in finalize.
10528         some more debugging info.
10529
10530
10531 2005-05-19  Wim Taymans  <wim@fluendo.com>
10532
10533         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10534         (gst_basesink_init), (gst_basesink_finalize),
10535         (gst_basesink_activate), (gst_basesink_change_state):
10536         Don't free preroll queue too early.
10537
10538 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10539
10540         * gst/Makefile.am:
10541         * gst/ROADMAP:
10542           Hi, I'm outdated. Please shoot me.
10543
10544 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10545
10546         * gst/gstpipeline.c: (gst_pipeline_send_event):
10547           Do not access variables after they have been deleted.
10548
10549 2005-05-19  Wim Taymans  <wim@fluendo.com>
10550
10551         * tools/gst-inspect.c: (print_plugin_features):
10552         A plugin feature does unfortunatly not use the
10553         object name yet...
10554
10555 2005-05-18  Wim Taymans  <wim@fluendo.com>
10556
10557         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10558         Port _span() functions to new subbuffers.
10559
10560 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10561
10562         * gst/gstbin.c: (gst_bin_add_func):
10563           Fix clock settery in bins when adding kids after the clock has
10564           been selected.
10565
10566 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10567
10568         * gst/elements/gstidentity.c: (gst_identity_class_init):
10569           Workaround until signals support GstMiniObject.
10570
10571 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10572
10573         * gst/gstbuffer.c:
10574         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10575
10576 2005-05-18  Wim Taymans  <wim@fluendo.com>
10577
10578         * gst/base/Makefile.am:
10579         * gst/base/gstadapter.c: (gst_adapter_base_init),
10580         (gst_adapter_class_init), (gst_adapter_init),
10581         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10582         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10583         (gst_adapter_flush), (gst_adapter_available),
10584         (gst_adapter_available_fast):
10585         * gst/base/gstadapter.h:
10586         Ported and added adapter to the base classes.
10587
10588 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10589
10590         * gst/gst.c:
10591         * gst/gstmessage.c:
10592           Make sure the class is reffed/unreffed once before threads can be
10593           used.  Fixes #304551.
10594
10595 2005-05-17  Wim Taymans  <wim@fluendo.com>
10596
10597         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10598         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10599         * gst/gstminiobject.c: (gst_mini_object_get_type),
10600         (gst_mini_object_free):
10601         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10602         (gst_pad_push), (gst_pad_push_event):
10603         * gst/gstqueue.c: (gst_queue_change_state):
10604         Don't queue buffers in basesink when we are flushing.
10605         Unref buffer when flushing in basesink.
10606         Flush queue when going to READY
10607         Unref buffer when _push() returns an error.
10608         Don't free MiniObject instance when refcount is incremented
10609         in _finalize() so that we can recover objects.
10610
10611 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10612
10613         * docs/manual/advanced-schedulers.xml:
10614         * docs/manual/appendix-checklist.xml:
10615         * docs/pwg/advanced-clock.xml:
10616         * docs/pwg/advanced-interfaces.xml:
10617         * docs/pwg/advanced-request.xml:
10618         * docs/pwg/advanced-types.xml:
10619         * docs/pwg/intro-preface.xml:
10620         * examples/plugins/example.c: (gst_example_get_type),
10621         (gst_example_class_init), (gst_example_chain),
10622         (gst_example_set_property), (gst_example_get_property),
10623         (gst_example_change_state), (plugin_init):
10624         * examples/plugins/example.h:
10625           small doc fixes
10626
10627 2005-05-17  Wim Taymans  <wim@fluendo.com>
10628
10629         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10630         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10631         * gst/gstqueue.c: (gst_queue_change_state):
10632         Clear queue when going to READY.
10633         Remove IN_SETCAPS flag too.
10634
10635 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10636
10637         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10638           Remove implicit cast from gboolean to GstElementStateReturn;
10639           make sure we still return failure in paused => ready case if
10640           the parent class fails to change state and our own stop 
10641           vfunc succeeds.
10642
10643 2005-05-17  Wim Taymans  <wim@fluendo.com>
10644
10645         * tools/gst-launch.c: (event_loop):
10646         Message was unreffed too soon.
10647
10648 2005-05-16  Andy Wingo  <wingo@pobox.com>
10649
10650         * gst/gstbin.c (sink_iterator_filter): Err... um...
10651
10652         * check/gst/gstbin.c (test_ghost_pads): New test for the
10653         ghosting-if-elements-not-in-same-bin behavior.
10654
10655 2005-05-16  David Schleef  <ds@schleef.org>
10656
10657         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10658         accessing refcount directly.
10659
10660 2005-05-15  David Schleef  <ds@schleef.org>
10661
10662         * check/Makefile.am: remove GstData checks
10663         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10664         * gst/Makefile.am: add miniobject, remove data
10665         * gst/gst.h: add miniobject, remove data
10666         * gst/gstdata.c: remove
10667         * gst/gstdata.h: remove
10668         * gst/gstdata_private.h: remove
10669         * gst/gsttypes.h: remove GstEvent and GstMessage
10670         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10671         * gst/gstmarshal.list: change BOXED -> OBJECT
10672
10673         Implement GstMiniObject.
10674         * gst/gstminiobject.c:
10675         * gst/gstminiobject.h:
10676
10677         Modify to be subclasses of GstMiniObject.
10678         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10679         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10680         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10681         (gst_subbuffer_get_type), (gst_subbuffer_init),
10682         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10683         (gst_buffer_span):
10684         * gst/gstbuffer.h:
10685         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10686         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10687         (_gst_event_copy), (gst_event_new):
10688         * gst/gstevent.h:
10689         * gst/gstmessage.c: (_gst_message_initialize),
10690         (gst_message_get_type), (gst_message_class_init),
10691         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10692         (gst_message_new), (gst_message_new_error),
10693         (gst_message_new_warning), (gst_message_new_tag),
10694         (gst_message_new_state_changed), (gst_message_new_application):
10695         * gst/gstmessage.h:
10696         * gst/gstprobe.c: (gst_probe_perform),
10697         (gst_probe_dispatcher_dispatch):
10698         * gst/gstprobe.h:
10699         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10700         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10701         (_gst_query_copy), (gst_query_new):
10702
10703         Update elements for GstData -> GstMiniObject changes
10704         * gst/gstquery.h:
10705         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10706         (gst_queue_chain), (gst_queue_loop):
10707         * gst/elements/gstbufferstore.c:
10708         (gst_buffer_store_add_buffer_func),
10709         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10710         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10711         (gst_fakesink_render):
10712         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10713         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10714         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10715         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10716         (gst_filesrc_create_read):
10717         * gst/elements/gstidentity.c: (gst_identity_class_init):
10718         * gst/elements/gsttypefindelement.c:
10719         (gst_type_find_element_src_event), (free_entry_buffers),
10720         (gst_type_find_element_handle_event):
10721         * libs/gst/dataprotocol/dataprotocol.c:
10722         (gst_dp_header_from_buffer):
10723         * libs/gst/dataprotocol/dataprotocol.h:
10724         * libs/gst/dataprotocol/dp-private.h:
10725
10726 2005-05-15  David Schleef  <ds@schleef.org>
10727
10728         * gst/elements/gstelements.c: Don't include headers that were
10729         just removed.
10730
10731 2005-05-15  David Schleef  <ds@schleef.org>
10732
10733         * gst/elements/Makefile.am: Remove some elements that don't
10734         need to be in the core (or even exist at all).
10735         * gst/elements/gstaggregator.c:
10736         * gst/elements/gstaggregator.h:
10737         * gst/elements/gstmd5sink.c:
10738         * gst/elements/gstmd5sink.h:
10739         * gst/elements/gstmultifilesrc.c:
10740         * gst/elements/gstmultifilesrc.h:
10741         * gst/elements/gstpipefilter.c:
10742         * gst/elements/gstpipefilter.h:
10743         * gst/elements/gstshaper.c:
10744         * gst/elements/gstshaper.h:
10745         * gst/elements/gststatistics.c:
10746         * gst/elements/gststatistics.h:
10747         * po/POTFILES.in: Remove above files.
10748
10749 2005-05-14  Andy Wingo  <wingo@pobox.com>
10750
10751         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10752         so as to get the refs right.
10753         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10754         unreffing objects that don't pass the filter.
10755
10756         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10757         gst_element_set_bus.
10758         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10759         normal cases, this will destroy the bus.
10760
10761         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10762         object.
10763
10764         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10765         has no sinks.
10766
10767 2005-05-13  Andy Wingo  <wingo@pobox.com>
10768
10769         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10770         gst_pad_link, call pad_link_maybe_ghosting,
10771         (pad_link_maybe_ghosting): Links pads, making sure that the
10772         elements being linked are in the same bin.
10773         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10774         Helpers for pad_link_maybe_ghosting.
10775
10776 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10777
10778         * configure.ac:
10779           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10780
10781 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10782
10783         * docs/design/part-element-source.txt:
10784           Mention GstPushSrc
10785
10786 2005-05-12  Wim Taymans  <wim@fluendo.com>
10787
10788         * gst/base/gstbasesink.c: (gst_basesink_init),
10789         (gst_basesink_activate):
10790         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10791         (gst_basesrc_is_seekable):
10792         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10793         (bin_element_is_sink), (gst_bin_change_state):
10794         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10795         * gst/gstelement.h:
10796         Identify sinks by their flag to avoid overly complicated
10797         checks (fow now).
10798         Do state changes even for elements not reachable from the
10799         sinks.
10800         BaseSink is a sink now :)
10801         Some more debugging info in the basesrc.
10802
10803
10804 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10805
10806         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10807           Implement _query on a bin, similar to _send_event.
10808
10809 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10810
10811         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10812           Discont event offset format should be GST_FORMAT_BYTES,
10813           not GST_FORMAT_TIME.
10814
10815 2005-05-12  Wim Taymans  <wim@fluendo.com>
10816
10817         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10818         Same fix as Ronald's but without the signal. 
10819
10820 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10821
10822         * gst/gstutils.c: (gst_element_query_position):
10823           No, an element is not a pad.
10824
10825 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10826
10827         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10828         (gst_bin_get_state):
10829           If a child is removed from a bin while we remove the child from
10830           the bin and while we're retrieving its state, signal this to the
10831           get_state function so we abort the wait (instead of waiting for
10832           a timeout) and can immediately re-iterate over all other elements.
10833
10834 2005-05-12  Wim Taymans  <wim@fluendo.com>
10835
10836         * gst/base/Makefile.am:
10837         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10838         (gst_basesrc_start):
10839         * gst/base/gstbasesrc.h:
10840         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10841         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10842         (gst_pushsrc_init), (gst_pushsrc_create):
10843         * gst/base/gstpushsrc.h:
10844         Added is_seekable to BaseSrc
10845         Added simple PushSrc.
10846
10847 2005-05-11  Wim Taymans  <wim@fluendo.com>
10848
10849         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10850         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10851         (gst_element_link_pads), (gst_element_query_position),
10852         (gst_element_query_convert), (intersect_caps_func),
10853         (gst_pad_query_position), (gst_pad_query_convert):
10854         Fix refcounting in utils function.
10855         No point in trying to activate a pad when it's added, it could
10856         be added from the state change function and then we deadlock, the
10857         element has to decide what to do.
10858
10859 2005-05-10  Andy Wingo  <wingo@pobox.com>
10860
10861         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10862         *all* the arguments.
10863
10864         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10865         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10866         lock (according to the docs -- if this is wrong change the docs).
10867
10868         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10869         flush messages in the NULL state.
10870
10871         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10872         message immediately and return.
10873         (gst_bus_set_flushing): New function. If a bus is flushing, it
10874         flushes out any queued messages and immediately unrefs new
10875         messages. This is so when an element goes to NULL, all of the
10876         unhandled messages coming from it can be freed, and their
10877         references to the element dropped. In other words: message source
10878         ref considered harmful :P
10879
10880         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10881         we're finished with it.
10882
10883         * gst/gstmessage.c (gst_message_new_state_changed): 
10884
10885 2005-05-10  Wim Taymans  <wim@fluendo.com>
10886
10887         * gst/gstvalue.c: (gst_value_compare_flags),
10888         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10889         (_gst_value_initialize):
10890         Added flags serialize/deserialize/compare code.
10891
10892 2005-05-09  Andy Wingo  <wingo@pobox.com>
10893
10894         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10895         Intersect the peer's caps with our caps.
10896
10897 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10898
10899         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10900         * gst/elements/gsttypefindelement.c: (find_peek):
10901           Handle negative offsets better. Fixes decodebin.
10902
10903 2005-05-09  Wim Taymans  <wim@fluendo.com>
10904
10905         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10906         (gst_base_transform_event):
10907         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10908         Implement accept_caps.
10909         Fix silly lock/unlock mismatch in base class.
10910
10911 2005-05-09  Wim Taymans  <wim@fluendo.com>
10912
10913         * docs/design/draft-push-pull.txt:
10914         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10915         * gst/elements/gstfilesink.c: (gst_filesink_init),
10916         (gst_filesink_query):
10917         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10918         (gst_type_find_handle_src_query), (find_element_get_length):
10919         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10920         * gst/gstelement.h:
10921         * gst/gstmessage.c:
10922         * gst/gstmessage.h:
10923         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10924         (gst_real_pad_get_caps_unlocked),
10925         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10926         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10927         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10928         (gst_real_pad_dispose), (gst_real_pad_finalize),
10929         (gst_pad_load_and_link), (gst_pad_save_thyself),
10930         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10931         (gst_pad_check_pull_range), (gst_pad_pull_range),
10932         (gst_pad_template_get_type), (gst_pad_template_class_init),
10933         (gst_pad_template_init), (gst_pad_template_dispose),
10934         (name_is_valid), (gst_static_pad_template_get),
10935         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10936         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10937         (gst_pad_get_element_private), (gst_pad_start_task),
10938         (gst_pad_pause_task), (gst_pad_stop_task),
10939         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10940         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10941         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10942         (gst_ghost_pad_new):
10943         * gst/gstpad.h:
10944         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10945         (gst_query_new_position), (gst_query_set_position),
10946         (gst_query_parse_position), (gst_query_new_convert),
10947         (gst_query_set_convert), (gst_query_parse_convert):
10948         * gst/gstquery.h:
10949         * gst/gstqueryutils.c:
10950         * gst/gstqueryutils.h:
10951         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10952         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10953         (gst_queue_handle_src_query):
10954         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10955         (gst_element_query_position), (gst_element_query_convert),
10956         (intersect_caps_func), (gst_pad_query_position),
10957         (gst_pad_query_convert):
10958         * gst/gstutils.h:
10959         * tools/gst-inspect.c: (print_pad_info):
10960         * tools/gst-xmlinspect.c: (print_element_info):
10961         Remove old query functions. Ported old code.
10962         Added position/convert helper functions to gstutils.
10963         Reordered gstpad.c code, grouping relevant things.
10964         Remove gst_message_new(), always need to speficy a specific
10965         message.
10966
10967
10968 2005-05-09  Andy Wingo  <wingo@pobox.com>
10969
10970         * gst/gstiterator.h: Add some includes.
10971
10972         * gst/gstqueryutils.h: Include more headers.
10973
10974         * gst/gstpad.h:
10975         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10976         some uses of gst_pad_query.
10977
10978         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10979         NULL out parameters.
10980         (gst_query_new_position): New proc, allocates a new position
10981         query.
10982
10983         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10984         gstqueryutils.c to the build.
10985
10986         * gst/gststructure.c (gst_structure_set_valist): Implement with
10987         the generic G_VALUE_COLLECT.
10988         
10989 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10990
10991         * gst/Makefile.am: (gst_headers):
10992         Added gstqueryutils.h to the list of headers to install, that was
10993         a 'nachty' move wingo :)
10994
10995 2005-05-06  Andy Wingo  <wingo@pobox.com>
10996
10997         * gst/gstquery.h
10998         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10999         GstData, init a memchunk.
11000         (standard_definitions): Add a few query types, deprecate a few.
11001         (gst_query_get_type): New proc.
11002         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11003         implementation.
11004         (gst_query_new_application, gst_query_get_structure): New public
11005         procs.
11006
11007         * docs/design/draft-query.txt: Removed LINKS from the query types,
11008         because all the rest can be dispatched to other pads -- seemed
11009         ugly to have a query that couldn't be dispatched. internal_links
11010         is fine as a pad method.
11011
11012         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11013         in gstpad.c, but maintain binary compatibility for the moment.
11014         Will fix before 0.9 is out.
11015
11016         * gst/gstqueryutils.c: 
11017         * gst/gstqueryutils.h: New files, implement 3 methods for each
11018         query type: parse_query, parse_response, and set. Probably need an
11019         allocator as well.
11020
11021         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11022
11023         * gst/elements/gstfilesink.c (gst_filesink_query2):
11024         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11025         query_types, and formats methods.
11026
11027         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11028         (gst_pad_set_query2_function): New functions.
11029         (gst_real_pad_init): Set query2_default as the default query2
11030         function. Basically just dispatches to internally linked pads.
11031
11032         Needs review!
11033         
11034         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11035         without using the atomic operations. Only one thread can possibly
11036         be accessing the data at this point. Changed so as to avoid
11037         gst_atomic operations.
11038
11039 2005-05-06  Wim Taymans  <wim@fluendo.com>
11040
11041         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11042         Also set caps if we use the fallback buffer alloc.
11043
11044 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11045
11046         * docs/gst/Makefile.am:
11047         * docs/gst/gstreamer-docs.sgml:
11048         * docs/gst/gstreamer-sections.txt:
11049         * docs/gst/tmpl/gstatomic.sgml:
11050         * docs/gst/tmpl/gstmemchunk.sgml:
11051         * testsuite/elements/struct_i386.h:
11052         * win32/GStreamer.vcproj:
11053         * win32/Makefile:
11054           Purge GstAtomic stuff from docs and win32 makefiles as well
11055
11056 2005-05-06  Wim Taymans  <wim@fluendo.com>
11057
11058         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11059         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11060         * gst/gstpad.c: (gst_pad_peer_get_caps):
11061         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11062         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11063         (gst_queue_src_activate), (gst_queue_change_state):
11064         * gst/gstqueue.h:
11065         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11066         (intersect_caps_func):
11067         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11068         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11069         Some fixes for the peer_get_caps() change.
11070
11071 2005-05-06  Wim Taymans  <wim@fluendo.com>
11072
11073         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11074         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11075         (gst_basesink_activate):
11076         Actually do something with error codes returned from the push
11077         functions.
11078
11079 2005-05-06  Wim Taymans  <wim@fluendo.com>
11080
11081         * docs/design/part-element-sink.txt:
11082         * docs/design/part-element-source.txt:
11083         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11084         (gst_basesink_event), (gst_basesink_activate):
11085         * gst/base/gstbasesink.h:
11086         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11087         (gst_basesrc_activate):
11088         * gst/base/gstbasesrc.h:
11089         * gst/gstelement.c: (gst_element_pads_activate):
11090         Some more documentation.
11091         Fixed scheduling decision in _pads_activate().
11092
11093 2005-05-05  Andy Wingo  <wingo@pobox.com>
11094
11095         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11096         the test suite.
11097
11098 2005-05-05  Wim Taymans  <wim@fluendo.com>
11099
11100         * gst/base/Makefile.am:
11101         * gst/base/gstbasesink.h:
11102         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11103         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11104         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11105         (gst_collectpads_class_init), (gst_collectpads_init),
11106         (gst_collectpads_finalize), (gst_collectpads_new),
11107         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11108         (find_pad), (gst_collectpads_remove_pad),
11109         (gst_collectpads_is_active), (gst_collectpads_collect),
11110         (gst_collectpads_collect_range), (gst_collectpads_start),
11111         (gst_collectpads_stop), (gst_collectpads_peek),
11112         (gst_collectpads_pop), (gst_collectpads_available),
11113         (gst_collectpads_read), (gst_collectpads_flush),
11114         (gst_collectpads_chain):
11115         * gst/base/gstcollectpads.h:
11116         * gst/elements/Makefile.am:
11117         * gst/elements/gstelements.c:
11118         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11119         (gst_fakesink_get_times), (gst_fakesink_event),
11120         (gst_fakesink_preroll), (gst_fakesink_render):
11121         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11122         (gst_filesink_init), (gst_filesink_set_location),
11123         (gst_filesink_open_file), (gst_filesink_close_file),
11124         (gst_filesink_pad_query), (gst_filesink_event),
11125         (gst_filesink_render), (gst_filesink_change_state):
11126         * gst/elements/gstfilesink.h:
11127         Added object to help in making collect pad based elements.
11128         Ported filesink.
11129         Make event function in sink baseclass return gboolean.
11130
11131 2005-05-05  Wim Taymans  <wim@fluendo.com>
11132
11133         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11134         (gst_bin_get_by_name):
11135         * gst/gstbuffer.h:
11136         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11137         (gst_clock_finalize):
11138         * gst/gstdata.c: (gst_data_replace):
11139         * gst/gstdata.h:
11140         * gst/gstelement.c: (gst_element_request_pad),
11141         (gst_element_pads_activate):
11142         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11143         (gst_object_unref):
11144         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11145         (gst_pad_set_checkgetrange_function),
11146         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11147         (gst_pad_check_pull_range), (gst_pad_pull_range),
11148         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11149         (gst_pad_pause_task), (gst_pad_stop_task):
11150         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11151         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11152         Fix name lookup in GstBin.
11153         Added _data_replace() function and _buffer_replace()
11154         Use finalize method to clean up clock.
11155         Fix refcounting on request pads.
11156         Fix pad schedule mode error.
11157         Some more object refcounting debug info,
11158
11159
11160 2005-05-04  Andy Wingo <wingo@pobox.com>
11161
11162         * check/Makefile.am:
11163         * docs/gst/tmpl/gstatomic.sgml:
11164         * docs/gst/tmpl/gstplugin.sgml:
11165         * gst/base/gstbasesink.c: (gst_basesink_activate):
11166         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11167         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11168         (gst_basesrc_query), (gst_basesrc_set_property),
11169         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11170         (gst_basesrc_activate):
11171         * gst/base/gstbasesrc.h:
11172         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11173         (gst_base_transform_src_activate):
11174         * gst/elements/gstelements.c:
11175         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11176         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11177         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11178         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11179         (gst_type_find_element_checkgetrange),
11180         (gst_type_find_element_activate):
11181         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11182         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11183         (gst_caps_load_thyself):
11184         * gst/gstelement.c: (gst_element_pads_activate),
11185         (gst_element_save_thyself), (gst_element_restore_thyself):
11186         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11187         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11188         * gst/gstpad.h:
11189         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11190         (gst_xml_parse_file), (gst_xml_parse_memory),
11191         (gst_xml_get_element), (gst_xml_make_element):
11192         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11193         (_file_index_id_save_xml), (gst_file_index_commit):
11194         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11195         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11196         (load_paths):
11197         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11198         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11199         * tools/gst-complete.c: (main):
11200         * tools/gst-compprep.c: (main):
11201         * tools/gst-inspect.c: (print_element_properties_info):
11202         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11203         * tools/gst-xmlinspect.c: (print_element_properties):
11204         GCC 4 fixen.
11205         
11206 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11207
11208         * gst/gstplugin.c: (gst_plugin_check_module),
11209         (gst_plugin_check_file), (gst_plugin_load_file):
11210             apply patch from #172526 to make register work on MacOSX
11211
11212 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11213
11214         * docs/gst/tmpl/gstconfig.sgml:
11215         * gst/gstconfig.h.in:
11216           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11217         * testsuite/debug/printf_extension.c: (main):
11218           Do not use GST_PTR_FORMAT on pointers to types with
11219           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11220         * testsuite/elements/property.h:
11221           use correct printf format
11222
11223 2005-05-02  Wim Taymans  <wim@fluendo.com>
11224
11225         * docs/design/draft-push-pull.txt:
11226         * docs/design/draft-query.txt:
11227         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11228         (gst_basesrc_start):
11229         Added draft for new query API.
11230         Added draft for better selecting scheduling methods.
11231         Make basesrc ignore length if the subclass does not support
11232         it.
11233
11234 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11235
11236         * gst/Makefile.am:
11237           possible fixes for automake-1.5 - _LIBADD is reserved
11238
11239 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11240
11241         * docs/faq/Makefile.am:
11242         * docs/manual/Makefile.am:
11243         * docs/manuals.mak:
11244         * docs/pwg/Makefile.am:
11245         * gst/Makefile.am:
11246           possible fixes for automake-1.5
11247
11248 2005-04-28  Wim Taymans  <wim@fluendo.com>
11249
11250         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11251         (gst_basesink_pad_getcaps), (gst_basesink_init),
11252         (gst_basesink_do_sync):
11253         * gst/gstclock.c: (gst_clock_entry_new):
11254         * gst/gstevent.c: (gst_event_discont_get_value):
11255         * gst/gstpipeline.c: (pipeline_bus_handler),
11256         (gst_pipeline_change_state):
11257         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11258         Better debugging of clocking info.
11259         Allow NULL values when getting discont values.
11260
11261 2005-04-27  Wim Taymans  <wim@fluendo.com>
11262
11263         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11264         * check/gst/gstpad.c: (gst_pad_suite):
11265         Increase timeout for checks.
11266
11267 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11268
11269         * check/Makefile.am:
11270           fix the broken rule for cleanup.  Apparently this rule is
11271           only needed on FC2, so maybe this warrants further autotool
11272           inspection.
11273
11274 2005-04-26  Wim Taymans  <wim@fluendo.com>
11275
11276         * gst/gsttrashstack.h:
11277         Ooohh. a nasty one! After having a failed pop() from the stack,
11278         it's possible that the stack is empty. In that case, don't
11279         follow the NULL pointer.
11280
11281 2005-04-25  Wim Taymans  <wim@fluendo.com>
11282
11283         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11284         (gst_pad_set_checkgetrange_function),
11285         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11286         (gst_pad_check_pull_range), (gst_pad_pull_range),
11287         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11288         (gst_pad_pause_task), (gst_pad_stop_task):
11289         * gst/gstplugin.c: (gst_plugin_load):
11290         * gst/gstplugin.h:
11291         Remove gst_library_load as it does more harm than good with
11292         the new g_module flags.
11293         Revert bogus caps template check in pad linking, pad caps
11294         are important when linking not the template, which is more
11295         general than the current caps.
11296
11297 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11298
11299         * gst/autoplug/.cvsignore:
11300         * gst/autoplug/Makefile.am:
11301         * gst/autoplug/gstsearchfuncs.c:
11302         * gst/autoplug/gstsearchfuncs.h:
11303         * gst/autoplug/gstspider.c:
11304         * gst/autoplug/gstspider.h:
11305         * gst/autoplug/gstspideridentity.c:
11306         * gst/autoplug/gstspideridentity.h:
11307         * gst/autoplug/spidertest.c:
11308           Die, spider, die.
11309
11310 2005-04-25  Wim Taymans  <wim@fluendo.com>
11311
11312         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11313         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11314         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11315         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11316         * gst/gstpad.h:
11317         Added stubs for unimplemented functions. 
11318
11319 2005-04-24  David Schleef  <ds@schleef.org>
11320
11321         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11322         please fix.
11323
11324 2005-04-24  David Schleef  <ds@schleef.org>
11325
11326         Convert everything from GstAtomicInt to g_atomic_int_*, and
11327         remove gstatomic.
11328         * gst/Makefile.am:
11329         * gst/gstatomic.c:
11330         * gst/gstatomic.h:
11331         * gst/gstatomic_impl.h:
11332         * gst/gstbuffer.c:
11333         * gst/gstcaps.c:
11334         * gst/gstcaps.h:
11335         * gst/gstclock.c:
11336         * gst/gstclock.h:
11337         * gst/gstdata.c:
11338         * gst/gstdata.h:
11339         * gst/gstdata_private.h:
11340         * gst/gstevent.c:
11341         * gst/gstinfo.c:
11342         * gst/gstinfo.h:
11343         * gst/gstmessage.c:
11344         * gst/gstobject.c:
11345         * gst/gstobject.h:
11346         * gst/gststructure.c:
11347         * gst/gststructure.h:
11348         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11349         * gst/gstutils.h:
11350
11351 2005-04-24  David Schleef  <ds@schleef.org>
11352
11353         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11354         make the regressions tests work.  Remove some code that is no
11355         longer true.
11356         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11357         Disable warning for pads without templates.
11358
11359 2005-04-24  David Schleef  <ds@schleef.org>
11360
11361         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11362         functions that handle filtered links.
11363         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11364         removed functions.
11365         * gst/gstutils.c: Fix/remove utility functions that handle
11366         filtered caps.
11367         * gst/gstutils.h:
11368         * gst/gstvalue.c: Add serialization/deserialization of caps
11369         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11370         requires fixing so that the filter caps notation creates
11371         a capsfilter element and sets the filter_caps property.  I
11372         think everyone probably wants to keep the shorthand notation.
11373         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11374         * docs/gst/tmpl/gstpad.sgml:
11375
11376         * gst/elements/gstelements.c: Register capsfilter element.
11377         * gst/Makefile.am: fix spacing
11378         * docs/random/ds/0.9-suggested-changes: random
11379
11380 2005-04-23  David Schleef  <ds@schleef.org>
11381
11382         * gst/elements/Makefile.am:
11383         * gst/elements/gstcapsfilter.c: New element that acts like an
11384         identity, but filters caps.  Will eventually replace filtered
11385         caps in pad linking.
11386         * gst/gstutils.c: (gst_element_create_all_pads): New function
11387         to create all the ALWAYS pads that are registered with an
11388         element class.  This functionality should eventually be
11389         merged in with GstElement initialization.
11390         * gst/gstutils.h:
11391         * testsuite/trigger/README: part of trigger test code that should
11392         have been checked in a long time ago.
11393
11394 2005-04-23  David Schleef  <ds@schleef.org>
11395
11396         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11397         needed with new versions of libtool (nobody will confirm this),
11398         and hard to carry around.
11399         * gst/autoplug/Makefile.am:
11400         * gst/base/Makefile.am:
11401         * gst/elements/Makefile.am:
11402         * gst/indexers/Makefile.am:
11403         * gst/schedulers/Makefile.am:
11404         * libs/gst/bytestream/Makefile.am:
11405         * libs/gst/control/Makefile.am:
11406         * libs/gst/dataprotocol/Makefile.am:
11407         * libs/gst/getbits/Makefile.am:
11408
11409 2005-04-21  Wim Taymans  <wim@fluendo.com>
11410
11411         * docs/design/draft-push-pull.txt:
11412         * docs/design/part-MT-refcounting.txt:
11413         * docs/design/part-TODO.txt:
11414         * docs/design/part-caps.txt:
11415         * docs/design/part-events.txt:
11416         * docs/design/part-gstbus.txt:
11417         * docs/design/part-gstpipeline.txt:
11418         * docs/design/part-messages.txt:
11419         * docs/design/part-push-pull.txt:
11420         * docs/design/part-query.txt:
11421         Some more docs.
11422
11423 2005-04-21  Wim Taymans  <wim@fluendo.com>
11424
11425         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11426         (gst_message_new), (gst_message_new_error),
11427         (gst_message_new_warning), (gst_message_new_tag),
11428         (gst_message_new_state_changed), (gst_message_new_application),
11429         (gst_message_get_structure):
11430         * gst/gstmessage.h:
11431         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11432         (gst_structure_copy_conditional):
11433         Use parent refcount in GstMessage to ensure GstStructure
11434         consistency.
11435         Cleaned up headers a bit.
11436         
11437
11438 2005-04-20  Wim Taymans  <wim@fluendo.com>
11439
11440         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11441         (gst_basesink_pad_getcaps), (gst_basesink_init),
11442         (gst_basesink_chain_unlocked):
11443         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11444         (gst_type_find_helper):
11445         * gst/elements/gsttypefindelement.c:
11446         (gst_type_find_element_have_type), (gst_type_find_element_init),
11447         (stop_typefinding), (gst_type_find_element_handle_event),
11448         (find_suggest), (gst_type_find_element_chain),
11449         (gst_type_find_element_checkgetrange),
11450         (gst_type_find_element_getrange), (do_typefind),
11451         (gst_type_find_element_activate):
11452         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11453         (gst_buffer_default_free), (gst_buffer_default_copy),
11454         (gst_buffer_set_caps):
11455         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11456         (gst_caps_replace):
11457         * gst/gstmessage.c: (gst_message_new),
11458         (gst_message_new_state_changed):
11459         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11460         (gst_pad_set_checkgetrange_function),
11461         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11462         (gst_pad_set_caps), (gst_pad_check_pull_range),
11463         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11464         * gst/gstpad.h:
11465         * gst/gsttypefind.c: (gst_type_find_register):
11466         Make gst_caps_replace() work like other _replace() functions.
11467         Use _caps_replace() where possible.
11468         Make sure _message_new() initialises its field.
11469         Add gst_static_pad_template_get_caps()
11470
11471
11472 2005-04-18  Andy Wingo  <wingo@pobox.com>
11473
11474         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11475         on the peer, not the pad. I think that was a typo. Pass an extra
11476         arg to see if random access is possible. Activate the pads as
11477         PULL_RANGE if possible.
11478
11479         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11480
11481         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11482         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11483         to PROP_....
11484
11485 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11486
11487         * docs/faq/using.xml:
11488           Add note on gstreamer-properties (#154996).
11489
11490 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11491
11492         * docs/random/bbb/optional-properties:
11493           Some analysis on optional properties.
11494
11495 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11496
11497         * docs/gst/tmpl/gstelementfactory.sgml:
11498         * gst/gstelement.h:
11499         * gst/gstelementfactory.c: (gst_element_factory_init),
11500         (gst_element_factory_cleanup), (gst_element_register),
11501         (__gst_element_factory_add_static_pad_template),
11502         (gst_element_factory_get_static_pad_templates),
11503         (gst_element_factory_can_src_caps),
11504         (gst_element_factory_can_sink_caps):
11505         * gst/registries/Makefile.am:
11506         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11507         (gst_xml_registry_class_init), (gst_xml_registry_init),
11508         (gst_xml_registry_new), (gst_xml_registry_set_property),
11509         (gst_xml_registry_get_property), (get_time), (make_dir),
11510         (gst_xml_registry_get_perms_func),
11511         (plugin_times_older_than_recurse), (plugin_times_older_than),
11512         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11513         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11514         (add_to_char_array), (read_string), (read_uint), (read_enum),
11515         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11516         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11517         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11518         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11519         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11520         (gst_xml_registry_rebuild):
11521         * gst/registries/gstlibxmlregistry.h:
11522         * tools/gst-compprep.c: (main):
11523         * tools/gst-inspect.c: (print_pad_templates_info):
11524         * tools/gst-xmlinspect.c: (print_element_info):
11525           Use libxml2 for registry parsing, use staticpadtemplates in
11526           elementfactories. Makes gst_init() +/- 10x faster.
11527
11528 2005-04-12  Wim Taymans  <wim@fluendo.com>
11529
11530         * gst/base/Makefile.am:
11531         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11532         (gst_basesink_pad_getcaps), (gst_basesink_init),
11533         (gst_basesink_event), (gst_basesink_change_state):
11534         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11535         (gst_basesrc_init), (gst_basesrc_query),
11536         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11537         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11538         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11539         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11540         (gst_basesrc_stop), (gst_basesrc_activate),
11541         (gst_basesrc_change_state):
11542         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11543         (helper_find_suggest), (gst_type_find_helper):
11544         * gst/base/gsttypefindhelper.h:
11545         * gst/elements/Makefile.am:
11546         * gst/elements/gstelements.c:
11547         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11548         (gst_fakesink_get_times), (gst_fakesink_event),
11549         (gst_fakesink_preroll), (gst_fakesink_render):
11550         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11551         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11552         (gst_fakesrc_get_property), (gst_fakesrc_create),
11553         (gst_fakesrc_start), (gst_fakesrc_stop):
11554         * gst/elements/gstfakesrc.h:
11555         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11556         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11557         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11558         (gst_filesrc_create_read), (gst_filesrc_create),
11559         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11560         (gst_filesrc_start):
11561         * gst/elements/gsttypefindelement.c:
11562         (gst_type_find_element_have_type), (gst_type_find_element_init),
11563         (start_typefinding), (stop_typefinding), (push_buffer_store),
11564         (gst_type_find_element_handle_event),
11565         (gst_type_find_element_chain),
11566         (gst_type_find_element_checkgetrange),
11567         (gst_type_find_element_getrange), (do_typefind),
11568         (gst_type_find_element_activate),
11569         (gst_type_find_element_change_state):
11570         * gst/elements/gsttypefindelement.h:
11571         * gst/gstpipeline.c: (pipeline_bus_handler):
11572         Added typefind helper.
11573         Small preroll fix in the base sink.
11574         Disable typefind code in basesrc.
11575         Crude port of typefindelement.
11576         Fakesrc cleanups.
11577
11578
11579 2005-04-11  Wim Taymans  <wim@fluendo.com>
11580
11581         * check/gst/gstbus.c: (gstbus_suite):
11582         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11583         * check/gstcheck.h:
11584           Fix up the timeout so that the test does not fail.
11585
11586 2005-04-06  Wim Taymans  <wim@fluendo.com>
11587
11588         * gst/base/README:
11589         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11590         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11591         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11592         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11593         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11594         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11595         (gst_basesrc_stop), (gst_basesrc_activate),
11596         (gst_basesrc_change_state), (basesrc_find_peek),
11597         (basesrc_find_suggest), (gst_basesrc_type_find):
11598         * gst/base/gstbasesrc.h:
11599         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11600         (gst_filesrc_class_init), (gst_filesrc_init),
11601         (gst_filesrc_finalize), (gst_filesrc_set_location),
11602         (gst_filesrc_set_property), (gst_filesrc_get_property),
11603         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11604         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11605         (gst_filesrc_create_read), (gst_filesrc_create),
11606         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11607         * gst/elements/gstfilesrc.h:
11608         * gst/gstelement.c: (gst_element_get_state_func),
11609         (gst_element_lost_state), (gst_element_pads_activate):
11610         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11611         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11612         (gst_pad_pull_range):
11613         * gst/gstpad.h:
11614         More work on the generic source base class, implement seeking,
11615         query.
11616         Make filesrc extend the base source class.
11617         Added gst_pad_set_checkgetrange_function to GstPad.
11618
11619 2005-04-06  Andy Wingo  <wingo@pobox.com>
11620
11621         * pkgconfig/gstreamer-base.pc.in:
11622         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11623
11624         * pkgconfig/Makefile.am:
11625         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11626
11627 2005-04-04  Wim Taymans  <wim@fluendo.com>
11628
11629         * gst/base/Makefile.am:
11630         * gst/base/README:
11631         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11632         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11633         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11634         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11635         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11636         (gst_basesrc_base_init), (gst_basesrc_class_init),
11637         (gst_basesrc_init), (gst_basesrc_get_formats),
11638         (gst_basesrc_get_query_types), (gst_basesrc_query),
11639         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11640         (gst_basesrc_set_property), (gst_basesrc_get_property),
11641         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11642         (gst_basesrc_loop), (gst_basesrc_activate),
11643         (gst_basesrc_change_state):
11644         * gst/base/gstbasesrc.h:
11645         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11646         (gst_fakesrc_class_init), (gst_fakesrc_init),
11647         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11648         (gst_fakesrc_get_property), (gst_fakesrc_create):
11649         * gst/elements/gstfakesrc.h:
11650         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11651         (gst_filesrc_open_file), (gst_filesrc_loop),
11652         (gst_filesrc_activate), (filesrc_find_peek),
11653         (gst_filesrc_type_find):
11654         Made base source class, make fakesrc extend it.
11655         Add comments to basesink class.
11656         Some filesrc cleanup.
11657
11658 2005-03-31  David Schleef  <ds@schleef.org>
11659
11660         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11661         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11662         expected to link against libgstreamer.
11663         * gst/base/Makefile.am: link against libgstreamer
11664         * gst/elements/Makefile.am: same
11665
11666 2005-03-31  Andy Wingo  <wingo@pobox.com>
11667
11668         * tests/instantiate/Makefile.am:
11669         * tests/instantiate/caps.c: Add test to test speed of caps copy
11670         and free.
11671
11672         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11673         GMemChunk to be fair.
11674
11675         * gst/gsttrashstack.h: Remove warning about using the fallback
11676         trash stack implementation, it's still faster than malloc.
11677
11678 2005-03-30  Andy Wingo  <wingo@pobox.com>
11679
11680         * tests/complexity.c: Add a copyright.
11681
11682 2005-03-31  Wim Taymans  <wim@fluendo.com>
11683
11684         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11685         (gst_base_transform_class_init), (gst_base_transform_init),
11686         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11687         (gst_base_transform_get_property),
11688         (gst_base_transform_sink_activate),
11689         (gst_base_transform_src_activate),
11690         (gst_base_transform_change_state):
11691         * gst/base/gstbasetransform.h:
11692         * gst/elements/gstidentity.c: (gst_identity_class_init),
11693         (gst_identity_event), (gst_identity_check_perfect),
11694         (gst_identity_transform), (gst_identity_start),
11695         (gst_identity_stop):
11696         Added start/stop methods to transform base class so subclasses 
11697         don't need to deal with state changes even.
11698
11699 2005-03-31  Wim Taymans  <wim@fluendo.com>
11700
11701         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11702         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11703         * gst/gstevent.h:
11704         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11705         (gst_pad_pull_range):
11706         Added rate to the discont event to prepare for variable speed
11707         and reverse playback.
11708
11709 2005-03-29  David Schleef  <ds@schleef.org>
11710
11711         * configure.ac:
11712         * testsuite/trigger/Makefile.am:
11713         * testsuite/trigger/trigger.c: A little example program to show
11714         how trigger-based elements can work.
11715
11716 2005-03-29  Wim Taymans  <wim@fluendo.com>
11717
11718         * gst/base/Makefile.am:
11719         * gst/base/README:
11720         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11721         (gst_basesink_base_init), (gst_basesink_class_init),
11722         (gst_basesink_pad_getcaps), (gst_basesink_init),
11723         (gst_basesink_activate), (gst_basesink_change_state):
11724         * gst/base/gstbasesink.h:
11725         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11726         (gst_base_transform_base_init), (gst_base_transform_finalize),
11727         (gst_base_transform_class_init), (gst_base_transform_init),
11728         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11729         (gst_base_transform_event), (gst_base_transform_getrange),
11730         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11731         (gst_base_transform_set_property),
11732         (gst_base_transform_get_property),
11733         (gst_base_transform_sink_activate),
11734         (gst_base_transform_src_activate),
11735         (gst_base_transform_change_state):
11736         * gst/base/gstbasetransform.h:
11737         * gst/elements/gstidentity.c: (gst_identity_finalize),
11738         (gst_identity_class_init), (gst_identity_init),
11739         (gst_identity_event), (gst_identity_check_perfect),
11740         (gst_identity_transform), (gst_identity_set_property),
11741         (gst_identity_get_property), (gst_identity_change_state):
11742         * gst/elements/gstidentity.h:
11743         * gst/gstelement.c: (gst_element_get_state_func),
11744         (gst_element_lost_state), (gst_element_pads_activate):
11745         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11746         (gst_pad_check_pull_range), (gst_pad_pull_range):
11747         * gst/gstpad.h:
11748         Simplify pad activation.
11749         Added function to check if pull_range can be performed.
11750         Error out when pulling inactive or flushing pads.
11751         Removed const from refcounted types as it does not make sense.
11752         Simplify pad templates in basesink
11753         Added base class for simple 1-to-1 transforms.
11754         Make identity subclass the base transform.
11755
11756 2005-03-29  Andy Wingo  <wingo@pobox.com>
11757
11758         * docs/libs/gstreamer-libs-overrides.txt: 
11759         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11760         really don't understand what's going on, but like whatever. I want
11761         green buildbot!
11762
11763         * docs/gst/Makefile.am:
11764         * docs/libs/Makefile.am: Dist the overrides files.
11765
11766         * check/Makefile.am (clean-local): Remove .libs directories.
11767
11768         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11769         elements to EXTRA_DIST, so po/ files are happy.
11770
11771         * po/POTFILES.in: Er, remove it here.
11772
11773         * po/POTFILES: Remove gstspider.c.
11774
11775         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11776
11777         * docs/libs/gstreamer-libs-docs.sgml: 
11778         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11779         bytestream.
11780
11781         * tests/complexity.c (main): Set the length of the preroll queue
11782         on the sinks to prevent a lockup.
11783
11784         * libs/gst/dataprotocol/Makefile.am: 
11785         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11786         the same as the one in check/gst-libs/gdp.c.
11787
11788         * po/, docs/gst/: Commit automatic changes to docs and po files.
11789
11790         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11791         the versioned libgstbase.
11792
11793         * check/Makefile.am: Depend on an unversioned gst-register, seems
11794         to make autoconf happier.
11795
11796         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11797
11798 2005-03-28  Wim Taymans  <wim@fluendo.com>
11799
11800         * configure.ac:
11801         * docs/design/part-gstelement.txt:
11802         * docs/design/part-negotiation.txt:
11803         * docs/design/part-preroll.txt:
11804         * docs/design/part-scheduling.txt:
11805         * docs/design/part-states.txt:
11806         * gst/Makefile.am:
11807         * gst/base/Makefile.am:
11808         * gst/base/README:
11809         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11810         (gst_basesink_base_init), (gst_basesink_class_init),
11811         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11812         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11813         (gst_basesink_set_pad_functions),
11814         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11815         (gst_basesink_set_property), (gst_basesink_get_property),
11816         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11817         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11818         (gst_basesink_preroll_queue_push),
11819         (gst_basesink_preroll_queue_empty),
11820         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11821         (gst_basesink_event), (gst_basesink_get_times),
11822         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11823         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11824         (gst_basesink_loop), (gst_basesink_activate),
11825         (gst_basesink_change_state):
11826         * gst/base/gstbasesink.h:
11827         * gst/elements/Makefile.am:
11828         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11829         (gst_fakesink_class_init), (gst_fakesink_init),
11830         (gst_fakesink_set_property), (gst_fakesink_get_property),
11831         (gst_fakesink_get_times), (gst_fakesink_event),
11832         (gst_fakesink_preroll), (gst_fakesink_render),
11833         (gst_fakesink_change_state):
11834         * gst/elements/gstfakesink.h:
11835         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11836         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11837         * gst/gstelement.c: (gst_element_add_pad),
11838         (gst_element_get_state_func), (gst_element_abort_state),
11839         (gst_element_commit_state), (gst_element_lost_state),
11840         (gst_element_set_state), (gst_element_pads_activate):
11841         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11842         * gst/gstpipeline.c: (gst_pipeline_send_event),
11843         (gst_pipeline_change_state):
11844         Added state change code.
11845         Added/updated docs.
11846         Added sink base class, make fakesink extend the base class.
11847         Small cleanups in GstPipeline.
11848
11849 2005-03-26  David Schleef  <ds@schleef.org>
11850
11851         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11852         is broken and should be implemented in a different library.
11853         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11854         * gst/gst.h: remove gstcpu.h
11855         * gst/gstcpu.c: remove
11856         * gst/gstcpu.h: remove
11857         * gst/Makefile.am.future: Remove this file.  It's ancient.
11858
11859 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11860
11861         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11862         (gst_bin_send_event):
11863           Add default event/set_manager handlers. The set_manager handler
11864           takes care that the manager is distributed over kids that were
11865           already in the bin before the manager was set. The event handler
11866           is a utility virtual function that sends the event over all sinks,
11867           so that gst_element_send_event (bin, event); has the expected
11868           behaviour.
11869         * gst/gstpad.c: (gst_pad_event_default):
11870           Re-install default event handling for discontinuities, so that
11871           seeking works without requiring hacks in applications or extra
11872           code in sinks.
11873         * gst/gstpipeline.c: (gst_pipeline_class_init),
11874         (gst_pipeline_send_event):
11875           Half hack, half utility: set a pipeline to PAUSED for seek events,
11876           since that is the only way we can guarantee a/v sync. Means that
11877           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11878           and it "just works".
11879
11880 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11881
11882         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11883           Lock/unlock mismatch.
11884
11885 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11886
11887         * docs/faq/gst-uninstalled:
11888           add gst-plugins-base
11889         * docs/gst/Makefile.am:
11890           don't error out until docs are fixed
11891         * docs/gst/gstreamer.types:
11892           remove thread
11893
11894 2005-03-22  Wim Taymans  <wim@fluendo.com>
11895
11896         * check/Makefile.am:
11897         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11898         * gst/gststructure.c: (gst_structure_set_valist),
11899         (gst_structure_copy_conditional):
11900         Activated more tests.
11901         Added message test.
11902         Added G_TYPE_POINTER to GstStructure.
11903         
11904
11905 2005-03-22  Wim Taymans  <wim@fluendo.com>
11906
11907         * docs/design/part-TODO.txt:
11908         * docs/design/part-events.txt:
11909         * docs/design/part-gstbin.txt:
11910         * docs/design/part-gstbus.txt:
11911         * docs/design/part-gstpipeline.txt:
11912         * docs/design/part-messages.txt:
11913         * gst/gstbus.c:
11914         * gst/gstmessage.c:
11915         Docs updates
11916
11917 2005-03-21  Wim Taymans  <wim@fluendo.com>
11918
11919         * gst/gstbus.c: (gst_bus_post):
11920         Fix copy-and-paste error.
11921
11922 2005-03-21  Wim Taymans  <wim@fluendo.com>
11923
11924         * check/Makefile.am:
11925         * gst/Makefile.am:
11926         * gst/elements/Makefile.am:
11927         * gst/elements/gstelements.c:
11928         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11929         (gst_fakesink_event), (gst_fakesink_chain):
11930         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11931         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11932         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11933         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11934         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11935         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11936         (gst_fakesrc_loop), (gst_fakesrc_activate),
11937         (gst_fakesrc_change_state):
11938         * gst/elements/gstfakesrc.h:
11939         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11940         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11941         (gst_filesrc_open_file), (gst_filesrc_loop),
11942         (gst_filesrc_activate), (gst_filesrc_change_state),
11943         (filesrc_find_peek), (filesrc_find_suggest),
11944         (gst_filesrc_type_find):
11945         * gst/elements/gstidentity.c: (gst_identity_finalize),
11946         (gst_identity_class_init), (gst_identity_init),
11947         (gst_identity_proxy_getcaps), (identity_queue_push),
11948         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11949         (gst_identity_getrange), (gst_identity_chain),
11950         (gst_identity_sink_loop), (gst_identity_src_loop),
11951         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11952         (gst_identity_set_property), (gst_identity_get_property),
11953         (gst_identity_change_state):
11954         * gst/elements/gstidentity.h:
11955         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11956         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11957         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11958         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11959         (gst_tee_sink_activate):
11960         * gst/elements/gsttee.h:
11961         * gst/gst.c: (gst_register_core_elements), (init_post):
11962         * gst/gst.h:
11963         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11964         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11965         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11966         (gst_bin_change_state):
11967         * gst/gstbin.h:
11968         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11969         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11970         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11971         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11972         (gst_bus_set_sync_handler), (gst_bus_create_watch),
11973         (bus_watch_callback), (bus_watch_destroy),
11974         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11975         (poll_timeout), (gst_bus_poll):
11976         * gst/gstbus.h:
11977         * gst/gstcaps.h:
11978         * gst/gstdata.h:
11979         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11980         (gst_element_post_message), (gst_element_message_full),
11981         (gst_element_get_state_func), (gst_element_get_state),
11982         (gst_element_abort_state), (gst_element_commit_state),
11983         (gst_element_lost_state), (gst_element_set_state),
11984         (gst_element_pads_activate), (gst_element_change_state),
11985         (gst_element_dispose), (gst_element_set_manager_func),
11986         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11987         (gst_element_set_manager), (gst_element_get_manager),
11988         (gst_element_set_bus), (gst_element_get_bus),
11989         (gst_element_set_scheduler), (gst_element_get_scheduler):
11990         * gst/gstelement.h:
11991         * gst/gstevent.c: (gst_event_new_segment_seek),
11992         (gst_event_new_flush):
11993         * gst/gstevent.h:
11994         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11995         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11996         (gst_message_new_eos), (gst_message_new_error),
11997         (gst_message_new_warning), (gst_message_new_tag),
11998         (gst_message_new_state_changed), (gst_message_new_application),
11999         (gst_message_get_structure), (gst_message_parse_tag),
12000         (gst_message_parse_state_changed), (gst_message_parse_error),
12001         (gst_message_parse_warning):
12002         * gst/gstmessage.h:
12003         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12004         (gst_real_pad_set_property), (gst_pad_set_active),
12005         (gst_pad_is_active), (gst_pad_set_blocked_async),
12006         (gst_pad_set_blocked), (gst_pad_is_blocked),
12007         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12008         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12009         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12010         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12011         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12012         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12013         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12014         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12015         (gst_pad_set_caps), (gst_pad_configure_sink),
12016         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12017         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12018         (gst_real_pad_dispose), (gst_real_pad_finalize),
12019         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12020         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12021         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12022         * gst/gstpad.h:
12023         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12024         (pipeline_bus_handler), (gst_pipeline_change_state),
12025         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12026         * gst/gstpipeline.h:
12027         * gst/gstprobe.h:
12028         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12029         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12030         (gst_queue_link_src), (gst_queue_bufferalloc),
12031         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12032         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12033         (gst_queue_loop), (gst_queue_handle_src_event),
12034         (gst_queue_handle_src_query), (gst_queue_src_activate),
12035         (gst_queue_change_state):
12036         * gst/gstqueue.h:
12037         * gst/gstscheduler.c: (gst_scheduler_init),
12038         (gst_scheduler_dispose), (gst_scheduler_create_task),
12039         (gst_scheduler_factory_create):
12040         * gst/gstscheduler.h:
12041         * gst/gststructure.c: (gst_structure_get_type),
12042         (gst_structure_copy_conditional):
12043         * gst/gststructure.h:
12044         * gst/gsttaginterface.h:
12045         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12046         (gst_task_init), (gst_task_dispose), (gst_task_create),
12047         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12048         (gst_task_pause):
12049         * gst/gsttask.h:
12050         * gst/gstthread.c:
12051         * gst/gstthread.h:
12052         * gst/gsttypes.h:
12053         * gst/schedulers/Makefile.am:
12054         * gst/schedulers/cothreads_compat.h:
12055         * gst/schedulers/entryscheduler.c:
12056         * gst/schedulers/faircothreads.c:
12057         * gst/schedulers/faircothreads.h:
12058         * gst/schedulers/fairscheduler.c:
12059         * gst/schedulers/gstbasicscheduler.c:
12060         * gst/schedulers/gstoptimalscheduler.c:
12061         * gst/schedulers/gthread-cothreads.h:
12062         * gst/schedulers/threadscheduler.c:
12063         (gst_thread_scheduler_task_get_type),
12064         (gst_thread_scheduler_task_class_init),
12065         (gst_thread_scheduler_task_init),
12066         (gst_thread_scheduler_task_start),
12067         (gst_thread_scheduler_task_stop),
12068         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12069         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12070         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12071         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12072         (plugin_init):
12073         * libs/gst/Makefile.am:
12074         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12075         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12076         (gst_file_pad_parent_set):
12077         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12078         (gst_dp_event_from_packet):
12079         * tests/complexity.c: (main):
12080         * tests/mass_elements.c: (main):
12081         * testsuite/states/locked.c: (message_received), (main):
12082         * testsuite/states/parent.c: (main):
12083         * tools/gst-inspect.c: (print_element_flag_info),
12084         (print_implementation_info), (print_pad_info):
12085         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12086         (main):
12087         * tools/gst-md5sum.c: (event_loop), (main):
12088         * tools/gst-typefind.c: (main):
12089         * tools/gst-xmlinspect.c: (print_element_info):
12090         Next big merge.
12091         Added GstBus for mainloop integration.
12092         Added GstMessage for sending notifications on the bus.
12093         Added GstTask as an abstraction for pipeline entry points.
12094         Removed GstThread.
12095         Removed Schedulers.
12096         Simplified GstQueue for multithreaded core.
12097         Made _link threadsafe, removed old capsnego.
12098         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12099         Added pad blocking functions.
12100         Reworked scheduling functions in GstPad to prepare for
12101         scheduling updates soon.
12102         Moved events out of data stream.
12103         Simplified GstEvent types.
12104         Added return values to push/pull.
12105         Removed clocking from GstElement.
12106         Added prototypes for state change function for next merge.
12107         Removed iterate from bins and state change management.
12108         Fixed some elements, disabled others for now.
12109         Fixed -inspect and -launch.
12110         Added check for GstBus.
12111
12112 2005-03-10  Wim Taymans  <wim@fluendo.com>
12113
12114         * docs/design/part-MT-refcounting.txt:
12115         * docs/design/part-clocks.txt:
12116         * docs/design/part-gstelement.txt:
12117         * docs/design/part-gstobject.txt:
12118         * docs/design/part-standards.txt:
12119         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12120         (gst_bin_remove_func), (gst_bin_remove):
12121         * gst/gstbin.h:
12122         * gst/gstbuffer.c:
12123         * gst/gstcaps.h:
12124         * testsuite/clock/clock1.c: (main):
12125         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12126         (main):
12127         * testsuite/dlopen/loadgst.c: (do_test):
12128         * testsuite/refcounting/bin.c: (add_remove_test1),
12129         (add_remove_test2), (main):
12130         * testsuite/refcounting/element.c: (main):
12131         * testsuite/refcounting/element_pad.c: (main):
12132         * testsuite/refcounting/pad.c: (main):
12133         * tools/gst-launch.c: (sigint_handler_sighandler):
12134         * tools/gst-typefind.c: (main):
12135         Doc updates.
12136         Added doc about clock.
12137         removed gst_bin_iterate_recurse_up(), marked methods
12138         for removal.
12139         Fix more testsuites.
12140
12141 2005-03-09  Wim Taymans  <wim@fluendo.com>
12142
12143         * gst/gstpad.c: (gst_pad_get_direction),
12144         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12145         (gst_pad_collect_valist):
12146         * testsuite/bins/interface.c: (main):
12147         * testsuite/caps/audioscale.c: (test_caps):
12148         * testsuite/caps/caps.c: (test1), (test2), (test3):
12149         * testsuite/caps/deserialize.c: (main):
12150         * testsuite/caps/enumcaps.c: (main):
12151         * testsuite/caps/filtercaps.c: (main):
12152         * testsuite/caps/intersect2.c: (main):
12153         * testsuite/caps/random.c: (main):
12154         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12155         * testsuite/caps/sets.c: (check_caps):
12156         * testsuite/caps/simplify.c: (check_caps), (main):
12157         * testsuite/caps/subtract.c: (check_caps):
12158         Fix _pad_get_direction wrt ghostpads.
12159         Fix caps testsuite.
12160
12161 2005-03-09  Wim Taymans  <wim@fluendo.com>
12162
12163         * check/Makefile.am:
12164         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12165         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12166         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12167         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12168         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12169         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12170         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12171         (bin_element_is_sink), (gst_bin_iterate_sinks),
12172         (gst_bin_iterate_all_by_interface):
12173         * gst/gstbin.h:
12174         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12175         (gst_element_change_state), (gst_element_dispose),
12176         (gst_element_finalize), (gst_element_set_loop_function):
12177         * gst/gstelement.h:
12178         * gst/gstiterator.c: (find_custom_fold_func):
12179         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12180         (gst_pad_collectv), (gst_pad_collect_valist),
12181         (gst_pad_template_new):
12182         * gst/gstpipeline.c: (gst_pipeline_class_init),
12183         (gst_pipeline_dispose), (gst_pipeline_set_property),
12184         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12185         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12186         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12187         * gst/gstutils.h:
12188         * gst/schedulers/entryscheduler.c:
12189         * gst/schedulers/gstbasicscheduler.c:
12190         (gst_basic_scheduler_cothreaded_chain),
12191         (gst_basic_scheduler_chain_add_element):
12192         * testsuite/bins/interface.c: (main):
12193         Added GstBin test.
12194         Added GstSystemClock test.
12195         Implemented clock distribution code in GstBin.
12196         Implemented iterate sinks method for future use.
12197         Rearranged gstelement.h
12198         Fix GstIterator comparison bug.
12199         Moved some code to GstPipeline, mostly clocking related.
12200
12201 2005-03-09  Wim Taymans  <wim@fluendo.com>
12202
12203         * configure.ac:
12204         * gst/gst_private.h:
12205         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12206         (gst_bin_remove_func), (gst_bin_remove),
12207         (gst_bin_get_by_name_recurse_up):
12208         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12209         (gst_clock_id_compare_func), (gst_clock_id_wait),
12210         (gst_clock_id_wait_async), (gst_clock_init),
12211         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12212         * gst/gstelement.h:
12213         * gst/gstinfo.c: (_gst_debug_init):
12214         * gst/gstobject.h:
12215         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12216         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12217         * gst/gstpad.h:
12218         Bump version number, we're now 0.9.0
12219         Add future debugging category.
12220         Fix NULL _unref() in _get_by_name_recurse_up
12221         Rearrange gstpad.h.
12222         Update some docs.
12223
12224 2005-03-08  Wim Taymans  <wim@fluendo.com>
12225
12226         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12227         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12228         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12229         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12230         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12231         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12232         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12233         * gst/elements/gstidentity.c: (gst_identity_class_init):
12234         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12235         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12236         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12237         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12238         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12239         (gst_tee_link):
12240         * gst/gstelement.c: (gst_element_class_init),
12241         (gst_element_base_class_init), (gst_element_init),
12242         (gst_element_get_random_pad), (gst_element_wait_state_change),
12243         (gst_element_change_state), (gst_element_dispose),
12244         (gst_element_finalize), (gst_element_set_loop_function):
12245         * gst/gstelement.h:
12246         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12247         * gst/gstthread.c: (gst_thread_class_init),
12248         (gst_thread_release_children_locks), (gst_thread_change_state):
12249         * gst/schedulers/gstbasicscheduler.c:
12250         (gst_basic_scheduler_loopfunc_wrapper),
12251         (gst_basic_scheduler_chain_wrapper),
12252         (gst_basic_scheduler_src_wrapper),
12253         (gst_basic_scheduler_remove_element):
12254         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12255         Remove threadsafe properties. Fix elements because GObject
12256         complains when installing a property before declaring a
12257         set/get_property handler.
12258         Rearrange gstelement.h file, use STATE macros for state locks.
12259         Free mutexes in the finalize method instead of dispose.
12260
12261 2005-03-08  Wim Taymans  <wim@fluendo.com>
12262
12263         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12264         * gst/gstthread.c: (gst_thread_release_children_locks):
12265         Added parentage check.
12266         Fix build og GstThread again.
12267
12268 2005-03-08  Wim Taymans  <wim@fluendo.com>
12269
12270         * docs/design/part-MT-refcounting.txt:
12271         * docs/design/part-conventions.txt:
12272         * docs/design/part-gstobject.txt:
12273         * docs/design/part-relations.txt:
12274         * docs/design/part-standards.txt:
12275         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12276         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12277         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12278         (gst_bin_iterate_all_by_interface):
12279         * gst/gstbuffer.h:
12280         * gst/gstclock.h:
12281         * gst/gstelement.c: (gst_element_class_init),
12282         (gst_element_change_state), (gst_element_set_loop_function):
12283         * gst/gstelement.h:
12284         * gst/gstiterator.c:
12285         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12286         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12287         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12288         (gst_object_set_parent), (gst_object_unparent),
12289         (gst_object_check_uniqueness):
12290         * gst/gstobject.h:
12291         Docs updates, clean up some headers.
12292
12293 2005-03-07  Wim Taymans  <wim@fluendo.com>
12294
12295         * check/.cvsignore:
12296         * check/Makefile.am:
12297         * check/gst-libs/.cvsignore:
12298         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12299         * check/gst/.cvsignore:
12300         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12301         (START_TEST), (gstbus_suite), (main):
12302         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12303         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12304         (gst_data_suite), (main):
12305         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12306         (add_fold_func), (gstiterator_suite), (main):
12307         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12308         (thread_name_object), (thread_name_object_default),
12309         (gst_object_name_compare), (gst_object_suite), (main):
12310         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12311         (gst_pad_suite), (main):
12312         * check/gstcheck.c: (gst_check_log_message_func),
12313         (gst_check_log_critical_func), (gst_check_init):
12314         * check/gstcheck.h:
12315         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12316         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12317         Added checks.
12318
12319 2005-03-07  Wim Taymans  <wim@fluendo.com>
12320
12321         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12322         (gst_list_iterator_next), (gst_list_iterator_resync),
12323         (gst_list_iterator_free), (gst_iterator_new_list),
12324         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12325         (gst_iterator_free), (gst_iterator_push), (filter_next),
12326         (filter_resync), (filter_uninit), (filter_free),
12327         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12328         (gst_iterator_foreach), (find_custom_fold_func),
12329         (gst_iterator_find_custom):
12330         * gst/gstiterator.h:
12331         Added missing files.
12332
12333 2005-03-07  Wim Taymans  <wim@fluendo.com>
12334
12335         * Makefile.am:
12336         * configure.ac:
12337         * docs/design/part-MT-refcounting.txt:
12338         * docs/design/part-conventions.txt:
12339         * docs/design/part-gstobject.txt:
12340         * docs/design/part-relations.txt:
12341         * examples/mixer/mixer.c: (main):
12342         * examples/thread/thread.c: (eos), (main):
12343         * gst/Makefile.am:
12344         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12345         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12346         (gst_spider_plug_from_srcpad):
12347         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12348         (gst_spider_identity_change_state),
12349         (gst_spider_identity_sink_loop_type_finding):
12350         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12351         * gst/elements/gstidentity.c: (gst_identity_init):
12352         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12353         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12354         * gst/elements/gsttypefindelement.c: (free_entry):
12355         * gst/gst.c:
12356         * gst/gst.h:
12357         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12358         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12359         (gst_bin_set_index), (gst_bin_set_element_sched),
12360         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12361         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12362         (gst_bin_iterate_elements), (iterate_child_recurse),
12363         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12364         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12365         (compare_interface), (gst_bin_get_by_interface),
12366         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12367         * gst/gstbin.h:
12368         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12369         (gst_buffer_default_free), (gst_buffer_default_copy),
12370         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12371         (gst_buffer_create_sub):
12372         * gst/gstbuffer.h:
12373         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12374         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12375         (gst_caps_unref), (gst_static_caps_get),
12376         (gst_caps_remove_and_get_structure), (gst_caps_append),
12377         (gst_caps_append_structure), (gst_caps_remove_structure),
12378         (gst_caps_copy_nth), (gst_caps_set_simple),
12379         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12380         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12381         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12382         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12383         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12384         (gst_caps_structure_figure_out_union),
12385         (gst_caps_switch_structures), (gst_caps_do_simplify),
12386         (gst_caps_replace), (gst_caps_from_string),
12387         (gst_caps_copy_conditional):
12388         * gst/gstcaps.h:
12389         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12390         (_gst_clock_id_free), (gst_clock_id_unref),
12391         (gst_clock_id_compare_func), (gst_clock_id_wait),
12392         (gst_clock_id_wait_async), (gst_clock_class_init),
12393         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12394         (gst_clock_get_time), (gst_clock_set_time_adjust),
12395         (gst_clock_set_property), (gst_clock_get_property):
12396         * gst/gstclock.h:
12397         * gst/gstcompat.h:
12398         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12399         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12400         * gst/gstdata.h:
12401         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12402         (gst_element_requires_clock), (gst_element_provides_clock),
12403         (gst_element_set_clock), (gst_element_clock_wait),
12404         (gst_element_wait), (gst_element_set_time_delay),
12405         (gst_element_is_indexable), (gst_element_add_pad),
12406         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12407         (pad_compare_name), (gst_element_get_static_pad),
12408         (gst_element_request_pad), (gst_element_get_request_pad),
12409         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12410         (gst_element_class_get_pad_template_list),
12411         (gst_element_class_get_pad_template), (gst_element_error_func),
12412         (gst_element_get_random_pad), (gst_element_get_event_masks),
12413         (gst_element_send_event), (gst_element_seek),
12414         (gst_element_get_query_types), (gst_element_query),
12415         (gst_element_get_formats), (gst_element_convert),
12416         (gst_element_is_locked_state), (gst_element_set_locked_state),
12417         (gst_element_sync_state_with_parent), (gst_element_change_state),
12418         (gst_element_finalize), (gst_element_yield),
12419         (gst_element_interrupt), (gst_element_set_scheduler),
12420         (gst_element_get_scheduler), (gst_element_set_loop_function):
12421         * gst/gstelement.h:
12422         * gst/gstevent.h:
12423         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12424         (gst_format_get_by_nick), (gst_format_get_details),
12425         (gst_format_iterate_definitions):
12426         * gst/gstformat.h:
12427         * gst/gstindex.c: (gst_index_gtype_resolver):
12428         * gst/gstinfo.c:
12429         * gst/gstinfo.h:
12430         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12431         (gst_mem_chunk_free):
12432         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12433         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12434         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12435         (gst_object_dispatch_properties_changed),
12436         (gst_object_set_name_default), (gst_object_set_name),
12437         (gst_object_get_name), (gst_object_set_name_prefix),
12438         (gst_object_get_name_prefix), (gst_object_set_parent),
12439         (gst_object_get_parent), (gst_object_unparent),
12440         (gst_object_check_uniqueness), (gst_object_save_thyself),
12441         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12442         (gst_object_set_property), (gst_object_get_property),
12443         (gst_object_get_path_string):
12444         * gst/gstobject.h:
12445         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12446         (gst_real_pad_init), (gst_real_pad_get_property),
12447         (gst_pad_custom_new), (gst_pad_get_direction),
12448         (gst_pad_set_active), (gst_pad_is_active),
12449         (gst_pad_set_event_function), (gst_pad_is_linked),
12450         (gst_pad_link_free), (gst_pad_link_intersect),
12451         (gst_pad_link_fixate), (gst_pad_set_caps),
12452         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12453         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12454         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12455         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12456         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12457         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12458         (gst_pad_realize), (gst_pad_get_allowed_caps),
12459         (gst_real_pad_dispose), (gst_real_pad_finalize),
12460         (gst_pad_collectv), (gst_pad_collect_valist),
12461         (gst_pad_template_dispose), (gst_pad_template_new),
12462         (gst_pad_get_internal_links):
12463         * gst/gstpad.h:
12464         * gst/gstpipeline.c: (gst_pipeline_dispose),
12465         (gst_pipeline_change_state):
12466         * gst/gstpipeline.h:
12467         * gst/gstplugin.c:
12468         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12469         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12470         * gst/gstpluginfeature.h:
12471         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12472         * gst/gstquery.c: (_gst_query_type_initialize),
12473         (gst_query_type_register), (gst_query_type_get_by_nick),
12474         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12475         * gst/gstquery.h:
12476         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12477         * gst/gstscheduler.c: (gst_scheduler_add_element),
12478         (gst_scheduler_factory_create):
12479         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12480         (gst_structure_free), (gst_structure_set_name),
12481         (gst_structure_id_set_value), (gst_structure_set_value),
12482         (gst_structure_set_valist), (gst_structure_remove_field),
12483         (gst_structure_remove_fields),
12484         (gst_structure_remove_fields_valist),
12485         (gst_structure_remove_all_fields), (gst_structure_foreach),
12486         (gst_structure_map_in_place),
12487         (gst_caps_structure_fixate_field_nearest_int),
12488         (gst_caps_structure_fixate_field_nearest_double):
12489         * gst/gststructure.h:
12490         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12491         (gst_system_clock_init), (gst_system_clock_dispose),
12492         (gst_system_clock_async_thread),
12493         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12494         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12495         * gst/gstsystemclock.h:
12496         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12497         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12498         * gst/gsttaginterface.c:
12499         * gst/gstthread.c: (gst_thread_dispose),
12500         (gst_thread_release_children_locks), (gst_thread_change_state),
12501         (gst_thread_main_loop):
12502         * gst/gsttrashstack.h:
12503         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12504         * gst/gsttypes.h:
12505         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12506         (gst_element_request_pad), (gst_element_get_pad_from_template),
12507         (gst_element_request_compatible_pad),
12508         (gst_element_get_compatible_pad_filtered),
12509         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12510         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12511         (gst_element_link_many), (gst_element_link),
12512         (gst_element_link_pads), (gst_element_unlink_pads),
12513         (gst_element_unlink_many), (gst_element_unlink),
12514         (gst_pad_can_link_filtered), (gst_pad_can_link),
12515         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12516         (gst_object_default_error), (gst_bin_add_many),
12517         (gst_bin_remove_many), (gst_element_populate_std_props),
12518         (gst_element_class_install_std_props), (gst_buffer_merge),
12519         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12520         (link_fold_func), (gst_pad_proxy_setcaps):
12521         * gst/gstutils.h:
12522         * gst/gstvalue.c: (gst_value_deserialize_string):
12523         * gst/parse/grammar.y:
12524         * gst/schedulers/gstbasicscheduler.c:
12525         (gst_basic_scheduler_cothreaded_chain),
12526         (gst_basic_scheduler_chain_recursive_add),
12527         (gst_basic_scheduler_pad_link):
12528         * gst/schedulers/gstoptimalscheduler.c:
12529         (get_group_schedule_function),
12530         (gst_opt_scheduler_state_transition),
12531         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12532         * libs/gst/bytestream/bytestream.c:
12533         * libs/gst/dataprotocol/dataprotocol.c:
12534         (gst_dp_header_from_buffer):
12535         * po/nb.po:
12536         * po/ru.po:
12537         * tests/threadstate/threadstate2.c: (eos):
12538         * tools/gst-compprep.c: (main):
12539         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12540         (print_pad_info), (print_children_info):
12541         * tools/gst-launch.c: (idle_func), (main):
12542         * tools/gst-md5sum.c: (idle_func), (main):
12543         * tools/gst-xmlinspect.c: (print_element_info):
12544         First THREADED backport attempt, focusing on adding locks and
12545         making sure the API is threadsafe. Needs more work. More docs
12546         follow this week.
12547
12548 2005-02-24  Andy Wingo  <wingo@pobox.com>
12549
12550         * tests/bench-complexity.scm:
12551         * tests/complexity.gnuplot: New files, good for running complexity
12552         benchmarks.
12553
12554         * tests/Makefile.am:
12555         * tests/complexity.c: New test, sets up N elements, at each level
12556         teeing into M streams per element. Eeeenteresting.
12557
12558         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12559         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12560         running bench-mass_elements.scm.
12561
12562         * tests/bench-mass_elements.scm: New script, runs mass_elements
12563         for various numbers of identities, outputting the results to a
12564         file. Requires guile 1.6. Just for testing.
12565
12566 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12567
12568         * gst/schedulers/fairscheduler.c:
12569           compile with debug disabled
12570
12571 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12572
12573         * configure.ac:
12574           hunting season on 0.9 is now OPEN