First pass at cleaning up tests/ dir before moving the rest
[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         * tests/sched/.cvsignore:
5         * tests/sched/Makefile.am:
6         * tests/sched/cases/(fs-fs).xml:
7         * tests/sched/cases/(fs-i-fs).xml:
8         * tests/sched/cases/(fs-i-i-fs).xml:
9         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10         * tests/sched/dynamic-pipeline.c:
11         * tests/sched/interrupt1.c:
12         * tests/sched/interrupt2.c:
13         * tests/sched/interrupt3.c:
14         * tests/sched/runtestcases:
15         * tests/sched/runxml.c:
16         * tests/sched/sched-stress.c:
17         * tests/sched/sort.c:
18         * tests/sched/testcases:
19         * tests/sched/testcases1.tc:
20         * tests/seeking/.cvsignore:
21         * tests/seeking/Makefile.am:
22         * tests/seeking/seeking1.c:
23         * tests/threadstate/.cvsignore:
24         * tests/threadstate/Makefile.am:
25         * tests/threadstate/test1.c:
26         * tests/threadstate/test2.c:
27         * tests/threadstate/threadstate1.c:
28         * tests/threadstate/threadstate2.c:
29         * tests/threadstate/threadstate3.c:
30         * tests/threadstate/threadstate4.c:
31         * tests/threadstate/threadstate5.c:
32           remove obsolete tests
33         * configure.ac:
34         * tests/bench-complexity.scm:
35         * tests/bench-mass_elements.scm:
36         * tests/complexity.c:
37         * tests/complexity.gnuplot:
38         * tests/instantiate/.cvsignore:
39         * tests/instantiate/Makefile.am:
40         * tests/instantiate/caps.c:
41         * tests/mass_elements.c:
42         * tests/network-clock-utils.scm:
43         * tests/network-clock.scm:
44         * tests/plot-data:
45         First pass at cleaning up tests/ dir before moving the rest
46         Combined with CVS surgery
47
48 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
49
50         * po/POTFILES.in:
51           queue has moved, update
52
53 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
54
55         * docs/gst/gstreamer-sections.txt:
56           remove double entries from the docs
57         * gst/gst_private.h:
58         * gst/gstinfo.c: (_gst_debug_init):
59           remove the THREAD debug category
60         * gst/Makefile.am:
61         * gst/gstqueue.c:
62         * gst/gstqueue.h:
63         * docs/gst/gstreamer.types:
64         * plugins/elements/gstqueue.c: (gst_queue_get_type),
65         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
66           completely move queue and fix up debugging categories
67
68 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
69
70         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
71           make initialization portable, using LL is not
72
73 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
74
75         * win32/common/gstconfig.h:
76           add large padding
77
78 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
79
80         * win32/common/libgstreamer.def:
81           rename symbols; sort base section
82
83 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
84
85         * gst/gstclock.c: (do_linear_regression):
86           remove crack non-portable handrolled DEBUG macro
87
88 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
89
90         * docs/random/release:
91           update notes
92         * win32/common/gstenumtypes.c: (register_gst_object_flags),
93         (gst_object_flags_get_type), (register_gst_bin_flags),
94         (gst_bin_flags_get_type), (register_gst_buffer_flag),
95         (gst_buffer_flag_get_type), (register_gst_bus_flags),
96         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
97         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
98         (gst_caps_flags_get_type), (register_gst_clock_return),
99         (gst_clock_return_get_type), (register_gst_clock_entry_type),
100         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
101         (gst_clock_flags_get_type), (register_gst_state),
102         (gst_state_get_type), (register_gst_state_change_return),
103         (gst_state_change_return_get_type), (register_gst_state_change),
104         (gst_state_change_get_type), (register_gst_element_flags),
105         (gst_element_flags_get_type), (register_gst_core_error),
106         (gst_core_error_get_type), (register_gst_library_error),
107         (gst_library_error_get_type), (register_gst_resource_error),
108         (gst_resource_error_get_type), (register_gst_stream_error),
109         (gst_stream_error_get_type), (register_gst_event_type_flags),
110         (gst_event_type_flags_get_type), (register_gst_event_type),
111         (gst_event_type_get_type), (register_gst_seek_type),
112         (gst_seek_type_get_type), (register_gst_seek_flags),
113         (gst_seek_flags_get_type), (register_gst_format),
114         (gst_format_get_type), (register_gst_index_certainty),
115         (gst_index_certainty_get_type), (register_gst_index_entry_type),
116         (gst_index_entry_type_get_type),
117         (register_gst_index_lookup_method),
118         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
119         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
120         (gst_index_resolver_method_get_type), (register_gst_index_flags),
121         (gst_index_flags_get_type), (register_gst_debug_level),
122         (gst_debug_level_get_type), (register_gst_debug_color_flags),
123         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
124         (gst_iterator_result_get_type), (register_gst_iterator_item),
125         (gst_iterator_item_get_type), (register_gst_message_type),
126         (gst_message_type_get_type), (register_gst_mini_object_flags),
127         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
128         (gst_pad_link_return_get_type), (register_gst_flow_return),
129         (gst_flow_return_get_type), (register_gst_activate_mode),
130         (gst_activate_mode_get_type), (register_gst_pad_direction),
131         (gst_pad_direction_get_type), (register_gst_pad_flags),
132         (gst_pad_flags_get_type), (register_gst_pad_presence),
133         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
134         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
135         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
136         (gst_plugin_error_get_type), (register_gst_plugin_flags),
137         (gst_plugin_flags_get_type), (register_gst_rank),
138         (gst_rank_get_type), (register_gst_query_type),
139         (gst_query_type_get_type), (register_gst_tag_merge_mode),
140         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
141         (gst_tag_flag_get_type), (register_gst_task_state),
142         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
143         (gst_alloc_trace_flags_get_type),
144         (register_gst_type_find_probability),
145         (gst_type_find_probability_get_type), (register_gst_uri_type),
146         (gst_uri_type_get_type), (register_gst_parse_error),
147         (gst_parse_error_get_type):
148         * win32/common/gstenumtypes.h:
149         * win32/common/gstversion.h:
150           update visual studio generated files
151
152 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
153
154         * win32/vs6/libgstbase.dsp:
155         * win32/vs6/libgstelements.dsp:
156           update project files for new locations
157
158 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
159
160         * Makefile.am:
161           remove some files
162         * README:
163           reinstate and update
164         * DEVEL:
165         * REQUIREMENTS:
166           removed
167         * LICENSE:
168         * docs/random/LICENSE:
169           moved to random
170
171 2005-11-30  Edward Hervey  <edward@fluendo.com>
172
173         * gst/gsttypefind.c: (gst_type_find_register):
174         * gst/gsttypefind.h:
175         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
176         (gst_type_find_factory_dispose):
177         * gst/gsttypefindfactory.h:
178         Fix memory leak in GstTypeFindFactory.
179
180 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
181
182         * gst/gst.c:
183         * plugins/elements/Makefile.am:
184         * plugins/elements/gstelements.c:
185         * plugins/elements/gstqueue.c:
186           move queue from core to the elements plugin
187
188 2005-11-29  Andy Wingo  <wingo@pobox.com>
189
190         * libs/gst/base/gstbasetransform.h: 
191         * libs/gst/base/gstbasesrc.h: 
192         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
193
194         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
195         of pointers by which to pad very extensible base classes (like the
196         ones in libs/gst/base).
197
198 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
199
200         * docs/gst/gstreamer-docs.sgml:
201         * docs/gst/gstreamer-sections.txt:
202         * docs/libs/gstreamer-libs-docs.sgml:
203         * docs/libs/gstreamer-libs-sections.txt:
204           moving documentation from core to lib
205
206 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
207
208         * check/Makefile.am:
209         * configure.ac:
210         * docs/gst/Makefile.am:
211         * gst/Makefile.am:
212         * gst/base/.cvsignore:
213         * gst/base/Makefile.am:
214         * gst/base/README:
215         * gst/base/gstadapter.c:
216         * gst/base/gstadapter.h:
217         * gst/base/gstbasesink.c:
218         * gst/base/gstbasesink.h:
219         * gst/base/gstbasesrc.c:
220         * gst/base/gstbasesrc.h:
221         * gst/base/gstbasetransform.c:
222         * gst/base/gstbasetransform.h:
223         * gst/base/gstcollectpads.c:
224         * gst/base/gstcollectpads.h:
225         * gst/base/gstpushsrc.c:
226         * gst/base/gstpushsrc.h:
227         * gst/base/gsttypefindhelper.c:
228         * gst/base/gsttypefindhelper.h:
229         * gst/check/Makefile.am:
230         * gst/check/gstcheck.c:
231         * gst/check/gstcheck.h:
232         * gst/net/Makefile.am:
233         * gst/net/gstnet.h:
234         * gst/net/gstnetclientclock.c:
235         * gst/net/gstnetclientclock.h:
236         * gst/net/gstnettimepacket.c:
237         * gst/net/gstnettimepacket.h:
238         * gst/net/gstnettimeprovider.c:
239         * gst/net/gstnettimeprovider.h:
240         * libs/gst/Makefile.am:
241         * libs/gst/base/Makefile.am:
242         * libs/gst/base/gstbasetransform.c:
243         * libs/gst/check/Makefile.am:
244         * plugins/elements/Makefile.am:
245         * po/POTFILES.in:
246           CVS surgery + support to move base, check, and net out of gst
247           and into libs/gst
248
249 2005-11-29  Andy Wingo  <wingo@pobox.com>
250
251         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
252
253         * gst/gststructure.h (struct _GstStructure): Only one pointer of
254         padding.
255
256         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
257
258         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
259
260         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
261
262         * gst/gstobject.h: (struct _GstObject): Only one pointer of
263         padding; reduces object size by about 30%. We don't expect
264         anything else to go into gstobject.
265
266         * gst/gstminiobject.h (struct _GstMiniObject)
267         (struct _GstMiniObjectClass): Only one pointer of padding; the
268         payload is only a pointer and two ints anyway. For the class there
269         are only two methods as well.
270         
271         * gst/gstelement.h (struct _GstElementClass): Removed
272         the state_changed signal callback, it is not used.
273
274 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
275
276         * docs/gst/gstreamer.types:
277           fix includes, though they are a little dinky
278
279 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
280
281         * check/Makefile.am:
282           look in the right place for elements, a lot more chance of
283           success
284         * gst/Makefile.am:
285           remove indexers and elements subdirs
286         * plugins/Makefile.am:
287           make indexers conditional
288
289 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
290
291         * Makefile.am:
292         * configure.ac:
293         * plugins/elements/Makefile.am:
294         * plugins/elements/gstcapsfilter.c:
295         * plugins/elements/gstfilesink.c:
296         * plugins/elements/gstfilesrc.c:
297         * plugins/elements/gstidentity.c:
298         * plugins/indexers/Makefile.am:
299           do CVS surgery and related build fixery to move elements
300           and indexers in a new gstreamer/plugins directory, out of the
301           gst/ directory
302
303 2005-11-29  Andy Wingo  <wingo@pobox.com>
304
305         * check/Makefile.am:
306         * pkgconfig/gstreamer-net-uninstalled.pc.in:
307         * pkgconfig/gstreamer-net.pc.in:
308         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
309         #322257.
310
311 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
312
313         * tools/Makefile.am:
314         * tools/gst-complete.1.in:
315         * tools/gst-complete.c:
316         * tools/gst-compprep.1.in:
317         * tools/gst-compprep.c:
318           removing -compprep and -complete
319
320 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
321
322         * gst/gstevent.c: (gst_event_new_new_segment),
323         (gst_event_parse_new_segment):
324         * gst/gstevent.h:
325           fix #320529 - clean up new_segment API and structure.
326           Let's hope everyone was using the methods, and not the structure.
327
328 2005-11-29  Edward Hervey  <edward@fluendo.com>
329
330         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
331         (gst_base_sink_event), (gst_base_sink_do_sync),
332         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
333         Properly handle non GST_FORMAT_TIME segment
334         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
335         Properly handle non GST_FORMAT_TIME segment
336         * gst/gstsegment.c:
337         This function is valid if the accumulator is 0 and the format
338         is different from the requested format.
339         
340 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
341
342         * docs/gst/gstreamer-sections.txt:
343         Add gst_query_new_seeking and gst_query_parse_seeking to the
344         docs.
345
346 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
347
348         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
349           Treat a pad alloc with new caps the same as if we were not
350           negotiated, in order to allow a changing upstream output
351           to produce a new format of data.
352
353 2005-11-29  Edward Hervey  <edward@fluendo.com>
354
355         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
356         (gst_base_transform_event), (gst_base_transform_eventfunc):
357         The event virtual method is now properly implemented, with a default
358         handler
359         Sub classes should call the parent_class event method. They should
360         return FALSE if they had a problem handling the given event, or don't
361         want GstBaseTransform to send that even downstream
362         * gst/elements/gstidentity.c: (gst_identity_class_init),
363         (gst_identity_init), (gst_identity_event),
364         (gst_identity_transform_ip), (gst_identity_set_property),
365         (gst_identity_get_property):
366         * gst/elements/gstidentity.h:
367         Added the single-segment boolean property.
368         If set to TRUE, it will output a single segment of data, starting from
369         0, will eat up all incoming newsegment, and modify the timestamp of the
370         buffers accordingly
371
372 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
373
374         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
375           Don't ref NULL target pad (#322751). Improve docs.
376
377 2005-11-29  Michael Smith  <msmith@fluendo.com>
378
379         * gst/gstregistryxml.c: (load_plugin):
380           Don't crash if we failed to load a feature from a plugin. 
381
382 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
383
384         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
385         (GST_START_TEST):
386           use more check API and less GLib API
387
388 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
389
390         * Makefile.am:
391           don't run checks if we don't have check
392         * common/check.mak:
393           remove the registry when running make torture
394         * docs/gst/gstreamer-sections.txt:
395           remove second multiply
396         * gst/gstqueue.c: (gst_queue_loop):
397           fix a compile warning when disabling debug
398
399 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
400
401         * gst/gstinfo.h:
402         Hey! Let's print the pad name if the pointer != NULL instead
403         of when it == NULL :-)
404
405 2005-11-28  Wim Taymans  <wim@fluendo.com>
406
407         * check/gst/gstutils.c: (GST_START_TEST):
408         Updated check, add some scaling accuracy checking code.
409
410         * gst/gstutils.c: (gst_util_div128_64),
411         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
412         (gst_util_uint64_scale_int):
413         Fix 6 times faster division code. Optimize for common 
414         1/1 and less common X/1 cases.
415
416 2005-11-28  Wim Taymans  <wim@fluendo.com>
417
418         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
419         More checks.
420
421         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
422         (do_linear_regression), (gst_clock_add_observation):
423         Cleanups.
424         Release lock when the clock cannot be slaved.
425         Catch the case where the regression returned an invalid denominator.
426
427         * gst/gstutils.c: (gst_util_div128_64_iterate),
428         (gst_util_div128_64), (gst_util_uint64_scale_int64),
429         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
430         Add protentially more performant non-iterative 128/64 divide function
431         that unfortunatly does not work yet.
432         Shortcut the trivial 0/X = 0 case.
433         Remove the warnings on overflow.
434
435 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
436
437         * gst/gstplugin.c: (gst_plugin_register_func):
438           everything causing a plugin not to load should be at least a WARNING
439
440 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
441
442         * docs/random/ensonic/dparams.txt:
443           some TODOs for the next dev cycle
444         * libs/gst/controller/gstcontroller.c:
445         (gst_controlled_property_set_interpolation_mode),
446         (gst_controlled_property_new):
447         * libs/gst/controller/gstcontroller.h:
448           use base type to assign acccessor functions
449
450 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
451
452         * check/Makefile.am:
453         Oops, that should have been top_srcdir
454
455 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
456
457         * check/Makefile.am:
458         * check/elements/fdsrc.c: (GST_START_TEST):
459         Use a cmdline define to specify the location of a file to use for
460         testing, to avoid breaking distcheck.
461
462 2005-11-28  Andy Wingo  <wingo@pobox.com>
463
464         * gst/gstpad.c (fixate_value): Use array functions for arrays.
465
466 2005-11-28  Edward Hervey  <edward@fluendo.com>
467
468         * tools/gst-launch.c: (main):
469         Clarify the output strings, makes it easier to translate.
470         Fixes #322626
471
472 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
473
474         * gst/Makefile.am:
475           don't try and build net if we don't even have <sys/socket.h>
476
477 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
478
479         * check/Makefile.am:
480         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
481         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
482           Add tests for fdsrc seekability
483
484         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
485         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
486         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
487         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
488         * gst/elements/gstfdsrc.h:
489           fdsrc should not be a 'live' source.
490           Implement seeking on seekable fd's.
491
492         * gst/gstquery.c: (gst_query_new_seeking),
493         (gst_query_parse_seeking):
494         * gst/gstquery.h:
495           Implement SEEKING query functions: 
496             *_new_seeking and *_parse_seeking
497
498 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
499
500         * gst/gstelement.c: (gst_element_dispose):
501           don't loop forever
502
503         * gst/gstiterator.c:
504         * gst/gststructure.c:
505           doc fixes
506
507         * libs/gst/controller/gstcontroller.c:
508         (gst_controlled_property_set_interpolation_mode):
509         * libs/gst/controller/gstcontroller.h:
510         * libs/gst/controller/gstinterpolation.c:
511         (interpolate_none_get_enum_value_array):
512           support controlling enums
513
514 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
515
516         * gst/gstvalue.c:
517           Improve documentation for gst_value_union().
518
519         * gst/gstvalue.h:
520           Change return value for union, intersect and subtract functions
521           from gint to gboolean.
522
523 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
524
525         * gst/gstvalue.c: (gst_value_serialize_any_list),
526         (gst_value_transform_any_list_string),
527         (gst_value_deserialize_list), (gst_value_deserialize_array),
528         (gst_value_set_int_range), (gst_value_deserialize_int_range),
529         (gst_value_set_double_range), (gst_value_deserialize_double_range),
530         (gst_value_set_fraction_range_full),
531         (gst_value_deserialize_fraction_range),
532         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
533         (gst_value_deserialize_boolean),
534         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
535         (gst_value_serialize_float), (gst_value_deserialize_float),
536         (gst_string_wrap), (gst_value_deserialize_string),
537         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
538         (gst_value_union_int_range_int_range),
539         (gst_value_intersect_int_range_int_range),
540         (gst_value_intersect_double_range_double_range),
541         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
542         (gst_value_subtract_int_range_int_range),
543         (gst_value_subtract_double_double_range),
544         (gst_value_subtract_double_range_double_range),
545         (gst_value_deserialize_fraction):
546         * gst/gstvalue.h:
547           Use gint, gdouble and gchar in our API instead of int, double and
548           char (and make usage in gstvalue.c more consistent).
549
550 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
551
552         * check/Makefile.am:
553         * libs/gst/controller/Makefile.am:
554         * libs/gst/dataprotocol/Makefile.am:
555           fix up Makefile.am and remove GST_ENABLE_NEW
556
557 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
558
559         * configure.ac:
560         * gst/Makefile.am:
561         * gst/base/Makefile.am:
562         * gst/check/Makefile.am:
563         * gst/elements/Makefile.am:
564         * gst/net/Makefile.am:
565           update LDFLAGS use some more
566
567 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
568
569         * common/m4/gst-doc.m4:
570           Fixes #312589
571
572 2005-11-26  Edward Hervey  <edward@fluendo.com>
573
574         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
575         This shouldn't issue a g_warning since it returns NULL if it
576         couldn't find the plugin, and all functions using this behave
577         properly on a NULL return. Switching to a GST_WARNING.
578
579 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
580
581         * gst/gstbin.c: (gst_bin_handle_message_func):
582         Don't leak clock messages.
583
584 2005-11-25  Wim Taymans  <wim@fluendo.com>
585
586         * gst/gstutils.c: (gst_util_uint64_scale_int64),
587         (gst_util_uint64_scale_int):
588         Optimisations, remove unneeded vars.
589
590 2005-11-25  Wim Taymans  <wim@fluendo.com>
591
592         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
593         Added more checks for the high precision uint64 cases.
594
595         * gst/gstutils.c: (gst_util_uint64_scale_int64),
596         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
597         Implement high precission (guint64 * guint64) / guint64.
598
599 2005-11-24  Wim Taymans  <wim@fluendo.com>
600
601         * gst/base/gstbasesrc.c: (gst_base_src_query):
602         Fix wrong percentage query.
603
604         * gst/gstutils.c: (gst_util_uint64_scale),
605         (gst_util_uint64_scale_int):
606         Add some more common cases that can be handled 
607         efficiently to _scale.
608
609 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
610
611         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
612         (gst_mini_object_suite):
613           don't use check calls from threads; check probably isn't
614           threadsafe and using a lock to make it threadsafe would
615           defeat the purpose of this check
616         * gst/check/gstcheck.c:
617         * gst/check/gstcheck.h:
618           use GST_DEBUG some more
619
620 2005-11-24  Wim Taymans  <wim@fluendo.com>
621
622         * gst/gstutils.c: (gst_util_uint64_scale),
623         (gst_util_uint64_scale_int):
624         Chain trivial case to _scale_int.
625
626 2005-11-24  Wim Taymans  <wim@fluendo.com>
627
628         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
629         Added test for scaling.
630
631         * gst/gstclock.h:
632         Small doc fix.
633
634         * gst/gstutils.c: (gst_util_uint64_scale_int):
635         Implemented high precision scaling code.
636
637 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
638
639         * gst/gstinfo.h:
640           do not crash on pad==NULL
641
642 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
643
644         Patch by: Stefan Kost
645
646         * common/gtk-doc.mak:
647         * docs/gst/Makefile.am:
648         * docs/libs/Makefile.am:
649           Fix distcheck issues for the libraries docs build
650           Closes #319599.
651
652 2005-11-24  Michael Smith <msmith@fluendo.com>
653
654         * docs/manual/basics-helloworld.xml:
655           Fix bug #315027: memory leak in example code in docs.
656
657 2005-11-24  Michael Smith <msmith@fluendo.com>
658
659         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
660           Unlock the PREROLL_LOCK in a failure case.
661
662 2005-11-24  Wim Taymans  <wim@fluendo.com>
663
664         * docs/gst/gstreamer-sections.txt:
665         * gst/base/gstadapter.h:
666         * gst/base/gstbasesink.h:
667         * gst/base/gstbasesrc.h:
668         * gst/base/gstbasetransform.h:
669         * gst/base/gstpushsrc.h:
670         * gst/elements/gstfakesink.h:
671         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
672         * gst/elements/gstfakesrc.h:
673         * gst/elements/gstfilesink.h:
674         * gst/elements/gstfilesrc.h:
675         * gst/gst.c:
676         * gst/gstbin.c:
677         * gst/gstbuffer.c: (_gst_buffer_copy):
678         * gst/gstbus.h:
679         * gst/gstcaps.c:
680         * gst/gstchildproxy.c:
681         * gst/gstclock.c:
682         * gst/gstelement.c:
683         * gst/gstelementfactory.c:
684         * gst/gstelementfactory.h:
685         * gst/gstevent.c:
686         * gst/gstghostpad.h:
687         * gst/gstindex.h:
688         * gst/gstinterface.h:
689         * gst/gstminiobject.c:
690         * gst/gstminiobject.h:
691         * gst/gstpad.c:
692         * gst/gstpad.h:
693         * gst/gstpadtemplate.h:
694         * gst/gstpipeline.h:
695         * gst/gstpluginfeature.h:
696         * gst/gstquery.h:
697         * gst/gstqueue.h:
698         * gst/gsttaglist.c:
699         * gst/gsttaglist.h:
700         * gst/gsttagsetter.c:
701         * gst/gsttagsetter.h:
702         * gst/gsttrace.c:
703         * gst/gsttrace.h:
704         * gst/gsttypefind.h:
705         * gst/gsturi.h:
706         * gst/gstvalue.c:
707         * gst/net/gstnetclientclock.c:
708         * gst/net/gstnetclientclock.h:
709         * gst/net/gstnettimepacket.c:
710         * gst/net/gstnettimeprovider.c:
711         * gst/net/gstnettimeprovider.h:
712         Doc fixes.
713
714 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
715
716         * configure.ac: back to HEAD
717
718 === release 0.9.6 ===
719
720 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
721
722         * configure.ac:
723           releasing 0.9.6, "Always On Time"
724
725 2005-11-23  Wim Taymans  <wim@fluendo.com>
726
727         * docs/gst/gstreamer-sections.txt:
728         * gst/glib-compat.c:
729         * gst/gsttagsetter.c:
730         * gst/gstvalue.c:
731         * gst/net/gstnetclientclock.c:
732         * gst/net/gstnettimepacket.h:
733         Doc updates.
734
735 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
736
737         * docs/faq/using.xml:
738         * docs/libs/tmpl/gstcontrol.sgml:
739         * docs/manual/advanced-dparams.xml:
740         * docs/manual/appendix-checklist.xml:
741         * docs/manual/basics-elements.xml:
742         * docs/pwg/other-source.xml:
743         * docs/random/moving-plugins:
744         * gst/gstpad.c:
745         * tools/gst-launch.1.in:
746           remove mentions of sinesrc
747
748 2005-11-23  Michael Smith <msmith@fluendo.com>
749
750         * docs/gst/gstreamer-sections.txt:
751           Update for new API and API changes.
752         * gst/gstobject.h:
753           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
754         * gst/gstvalue.c:
755           Documentation typo fix.
756         * gst/net/gstnettimepacket.c:
757           Documentation fixes for arguments.
758
759 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
760
761         * gst/gststructure.c: (gst_structure_get_fraction),
762         (gst_structure_parse_value),
763         (gst_structure_fixate_field_nearest_fraction):
764         * gst/gststructure.h:
765         * gst/gstutils.c: (gst_util_uint64_scale_int):
766         * gst/gstutils.h:
767         * scripts/update-funcnames:
768         API Changes. 
769         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
770         Make gst_structure_fixate_field_nearest_fraction take a numerator
771         and denominator argument instead of a GValue
772         add gst_structure_get_fraction helper function.
773
774 2005-11-23  Wim Taymans  <wim@fluendo.com>
775
776         * docs/design/part-TODO.txt:
777         Update TODO.
778
779         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
780         * gst/net/gstnetclientclock.h:
781         Use parent fields for timeout and window_size.
782
783 2005-11-23  Andy Wingo  <wingo@pobox.com>
784
785         * check/net/gstnetclientclock.c (test_functioning): Adjust to
786         rate_num/rate_denom change.
787
788         * gst/net/gstnetclientclock.c
789         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
790         OBJECT_LOCK. Don't call add_observation with the lock.
791
792         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
793         fraction.
794         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
795         rate fraction.
796         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
797         deal with rate as a fraction whose numerator and denominator are
798         GstClockTime values.
799         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
800         master; the other fields are protected by the SLAVE_LOCK.
801         (do_linear_regression): Note that this must be called with the
802         SLAVE_LOCK.
803         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
804         OBJECT_LOCK. Call set_calibration instead of touching the
805         variables directly.
806         (gst_clock_set_property, gst_clock_get_property): Protect
807         master/slave parameters with the SLAVE_LOCK.
808
809         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
810         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
811         note that all of the instance variables that add_observation and
812         the set_master functions use are protected by that lock and not
813         the OBJECT_LOCK.
814         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
815
816         * gst/gstclock.c (gst_clock_add_observation): No longer requires
817         the caller to take the object lock.
818
819 2005-11-23  Wim Taymans  <wim@fluendo.com>
820
821         * gst/gsterror.c: (_gst_core_errors_init):
822         * gst/gsterror.h:
823         Add error for clock stuff.
824
825         * gst/gstpipeline.c: (gst_pipeline_change_state),
826         (gst_pipeline_set_clock):
827         Post clock error when clock cannot be used in a pipeline.
828
829 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
830
831         * docs/gst/gstreamer-sections.txt:
832           make two symbols from gstinfo private for the docs
833         * gst/base/gstcollectpads.h:
834         * gst/gstutils.c:
835           fix doc typos, update docs
836
837 2005-11-22  Wim Taymans  <wim@fluendo.com>
838
839         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
840         (gst_base_sink_wait), (gst_base_sink_do_sync),
841         (gst_base_sink_handle_event):
842         * gst/base/gstbasesink.h:
843         No need to store the clock, the parent element class already
844         has it.
845
846         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
847         Updates for clock_set returning a gboolean
848
849         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
850         (gst_clock_id_wait_async), (gst_clock_class_init),
851         (gst_clock_init), (gst_clock_finalize),
852         (gst_clock_get_internal_time), (gst_clock_get_time),
853         (gst_clock_slave_callback), (gst_clock_set_master),
854         (gst_clock_get_master), (do_linear_regression),
855         (gst_clock_add_observation), (gst_clock_set_property),
856         (gst_clock_get_property):
857         * gst/gstclock.h:
858         Implement master/slave. When setting a clock as a slave, a
859         periodic timeout is scheduled to sample master and slave times.
860         Then the slave clock is recalibrated to match offset and rate
861         of the master clock.
862         Update logging a bit.
863         Add flag so that a clock can state that is cannot be slaved to
864         another clock.
865
866         * gst/gstelement.c: (gst_element_set_clock):
867         * gst/gstelement.h:
868         The set clock returns a gboolean for when an element cannot
869         deal with the selected clock in the pipeline. 
870
871         * gst/gstpipeline.c: (gst_pipeline_change_state),
872         (gst_pipeline_set_clock):
873         * gst/gstpipeline.h:
874         Handle the case where the selected clock cannot be set on
875         the pipeline.
876
877         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
878         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
879         (gst_net_client_clock_set_property),
880         (gst_net_client_clock_get_property),
881         (gst_net_client_clock_observe_times):
882         * gst/net/gstnetclientclock.h:
883         Use regression code in GstClock parent, remove duplicated
884         functionality.
885
886 2005-11-22  Michael Smith <msmith@fluendo.com>
887
888         * gst/gstutils.c: (gst_util_clock_time_scale):
889         * gst/gstutils.h:
890         * docs/gst/gstreamer-sections.txt:
891           Rename method to have extra underscore.
892
893 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
894
895         * gst/elements/Makefile.am:
896         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
897         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
898         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
899         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
900         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
901         * gst/elements/gstfakesrc.h:
902         * gst/gstqueue.c: (queue_leaky_get_type):
903           correctly fix GEnumValues so that nick is the short lowercase
904           dashed tag
905         * tools/gst-inspect.c: (print_element_properties_info):
906           also show the nick, since it's useful to use from parse_launch
907           syntax
908           Fixes #322139
909
910 2005-11-22  Michael Smith <msmith@fluendo.com>
911
912         * gst/gstutils.c: (gst_util_clocktime_scale):
913         * gst/gstutils.h:
914         * docs/gst/gstreamer-sections.txt:
915           Add util method for scaling a clocktime by a fraction. Useful 
916           implementation is left as an exercise for the reader.
917
918 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
919
920         * gst/gstvalue.c: (gst_value_collect_fraction_range):
921         If needed, allocate storage in the destination value during
922         collection.
923
924 2005-11-22  Edward Hervey  <edward@fluendo.com>
925
926         * docs/gst/gstreamer-sections.txt:
927         * gst/Makefile.am:
928         * gst/gst.h:
929         * gst/gsturitype.c:
930         * gst/gsturitype.h:
931         * gst/gstutils.c: (gst_util_set_object_arg):
932         * tools/gst-compprep.c: (main):
933         * tools/gst-inspect.c: (print_element_properties_info):
934         Removed GstURI, closes bug #321061
935
936 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
937
938         * check/gst/gststructure.c: (GST_START_TEST):
939         * gst/gststructure.c: (gst_structure_parse_value):
940           Oops, broke automatic string type parsing.
941           Add a test to catch it in future.
942
943 2005-11-22  Andy Wingo  <wingo@pobox.com>
944
945         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
946         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
947         Actually rename the function implementations. Grr.
948
949 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
950
951         * check/gst/capslist.h:
952           Comment test cases
953         * check/gst/gststructure.c: (GST_START_TEST),
954         (gst_structure_suite):
955           Test automatic value type detection in gst_structure_from_string.
956         * gst/gststructure.c: (gst_structure_parse_value):
957           Add fraction as a type we try and guess automatically in
958           caps/structure strings.
959
960 2005-11-22  Andy Wingo  <wingo@pobox.com>
961
962         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
963
964         * gst/gsttagsetter.h:
965         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
966         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
967         (gst_tag_setter_add_tag_valist)
968         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
969         _add_values, _add_valist, and _add_valist_values. Since this is an
970         interface the function suffixes should be more explicit so
971         language binding don't end up with element.add_valist ->
972         gst_tag_setter_add_valist, for example. Fixes #322069.
973
974 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
975
976         * check/gst/gstcaps.c: (GST_START_TEST):
977           Extend caps string tests to check that a caps to string
978           conversion is reversible and produces the same caps.
979
980         * gst/gststructure.c: (gst_structure_value_get_generic_type):
981           Output "fraction" as the generic type fraction range, so caps
982           serialisation and deserialisation works.
983         * check/gst/capslist.h:
984         * gst/gstvalue.c: (gst_value_deserialize_fraction):
985           Support 'MIN' and 'MAX' for deserialising fractions.
986
987 2005-11-22  Andy Wingo  <wingo@pobox.com>
988
989         * gst/gstevent.h (gst_event_new_new_segment)
990         (gst_event_parse_new_segment, gst_event_new_buffer_size)
991         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
992         Renamed from *_newsegment, *_buffersize, *_notarget.
993
994         * scripts/update-funcnames: New script, performs the changes
995         listed above.
996
997 2005-11-22  Wim Taymans  <wim@fluendo.com>
998
999         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1000         Make sure the GstFlowReturn is returned.
1001
1002         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1003         (gst_bus_add_signal_watch):
1004         * gst/gstbus.h:
1005         add gst_bus_add_signal_watch_full.
1006
1007         * gst/gstplugin.c: (gst_plugin_load_file):
1008         Small style cleanup.
1009
1010 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1011
1012         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1013           Block the fakesrc srcpad when we send an event, to avoid
1014           contention on the stream_lock causing random test failures.
1015
1016 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1017
1018         * check/gst/gstvalue.c: (GST_START_TEST):
1019         * gst/gstvalue.c: (gst_value_fraction_subtract):
1020           Fix subtraction.
1021
1022 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1023
1024         * gst/gst.h:
1025           include "gstchildproxy.h"
1026         * gst/gstchildproxy.h:
1027         * libs/gst/controller/gstcontroller.h:
1028           use G_GNUC_NULL_TERMINATED
1029
1030 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1031
1032         * check/gst/capslist.h:
1033         * check/gst/gstcaps.c: (GST_START_TEST):
1034         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1035         * gst/gststructure.c: (gst_structure_parse_range),
1036         (gst_structure_fixate_field_nearest_fraction):
1037         * gst/gststructure.h:
1038         * gst/gstvalue.c: (gst_value_init_fraction_range),
1039         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1040         (gst_value_collect_fraction_range),
1041         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1042         (gst_value_set_fraction_range_full),
1043         (gst_value_get_fraction_range_min),
1044         (gst_value_get_fraction_range_max),
1045         (gst_value_serialize_fraction_range),
1046         (gst_value_transform_fraction_range_string),
1047         (gst_value_compare_fraction_range),
1048         (gst_value_deserialize_fraction_range),
1049         (gst_value_intersect_fraction_fraction_range),
1050         (gst_value_intersect_fraction_range_fraction_range),
1051         (gst_value_subtract_fraction_fraction_range),
1052         (gst_value_subtract_fraction_range_fraction),
1053         (gst_value_subtract_fraction_range_fraction_range),
1054         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1055         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1056         (gst_value_transform_string_fraction), (_gst_value_initialize):
1057         * gst/gstvalue.h:
1058           Implement fraction ranges and extend GstFraction to support
1059           arithmetic subtraction, as well as deserialization from integer
1060           strings such as "100"
1061           Add a testsuite as for int and double range set operations
1062
1063 2005-11-21  Andy Wingo  <wingo@pobox.com>
1064
1065         * gst/gsttaglist.h: 
1066         * gst/gstcaps.h: 
1067         * gst/gststructure.h: Add glib-compat.h.
1068
1069 2005-11-21  Wim Taymans  <wim@fluendo.com>
1070
1071         * gst/gstbin.c: (gst_bin_change_state_func):
1072         Fix for #321595
1073
1074 2005-11-21  Wim Taymans  <wim@fluendo.com>
1075
1076         * gst/gstsegment.h:
1077         And add a nice define too.
1078
1079 2005-11-21  Wim Taymans  <wim@fluendo.com>
1080
1081         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1082         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1083         (gst_segment_set_duration), (gst_segment_set_last_stop),
1084         (gst_segment_set_seek), (gst_segment_set_newsegment),
1085         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1086         (gst_segment_clip):
1087         * gst/gstsegment.h:
1088         Make binding friendly.
1089
1090 2005-11-21  Andy Wingo  <wingo@pobox.com>
1091
1092         * gst/gsttagsetter.h: 
1093         * gst/gsttaglist.h: 
1094         * gst/gststructure.h: 
1095         * gst/gstcaps.h: 
1096         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1097         #319940.
1098
1099         * gst/gsterror.c (_gst_core_errors_init):
1100         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1101         category.
1102
1103         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1104         (noinst_HEADERS): noinst the -private.
1105
1106 2005-11-21  Michael Smith <msmith@fluendo.com>
1107
1108         * gst/gstplugin.h:
1109         * gst/gstregistry.h:
1110           Remove unimplemented declarations for which we can see no sensible
1111           use.
1112
1113 2005-11-21  Andy Wingo  <wingo@pobox.com>
1114
1115         * gst/gst.h: Include glib-compat.h.
1116
1117         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1118
1119         * gst/glib-compat.c: Include the public and the private header.
1120
1121         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1122
1123         * gst/gstvalue.c: 
1124         * gst/gstpad.c: 
1125         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1126
1127         * check/gst/gstevent.c (create_custom_events): Check that
1128         FLUSH_STOP is serialized.
1129
1130         * check/elements/identity.c (event_func): 
1131         * check/elements/fakesrc.c (event_func): No stream lock, the core
1132         takes it.
1133
1134         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1135         stream lock taking, yay.
1136
1137         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1138         ensure that core takes the stream lock.
1139
1140         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1141         lock name change.
1142
1143         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1144         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1145         it already. For the flush start we do take it though so we get the
1146         right preroll state change messages.
1147
1148         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1149         the stream lock here, the core does it for us.
1150
1151         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1152         GST_STREAM_GET_LOCK.
1153         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1154         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1155         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1156         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1157         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1158         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1159
1160         * gst/gstpad.c: Update for stream lock name change.
1161
1162         * gst/base/gstbasesink.c: Update for preroll lock name change.
1163
1164 2005-11-21  Wim Taymans  <wim@fluendo.com>
1165
1166         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1167         (gst_clock_get_master):
1168         * gst/gstclock.h:
1169         * gst/gstsystemclock.c: (gst_system_clock_init):
1170         Convert Clock flags to object flags.
1171         Added methods to manage master/slave clocks.
1172
1173 2005-11-21  Wim Taymans  <wim@fluendo.com>
1174
1175         * check/gst/gstsegment.c: (GST_START_TEST):
1176         * docs/design/part-TODO.txt:
1177         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1178         (gst_base_sink_event), (gst_base_sink_do_sync),
1179         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1180         (gst_base_sink_query), (gst_base_sink_change_state):
1181         * gst/base/gstbasesink.h:
1182         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1183         (gst_base_src_default_newsegment),
1184         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1185         (gst_base_src_get_range), (gst_base_src_loop),
1186         (gst_base_src_change_state):
1187         * gst/base/gstbasesrc.h:
1188         * gst/base/gstbasetransform.c:
1189         (gst_base_transform_prepare_output_buf),
1190         (gst_base_transform_event), (gst_base_transform_change_state):
1191         * gst/base/gstbasetransform.h:
1192         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1193         (gst_collect_pads_event):
1194         * gst/base/gstcollectpads.h:
1195         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1196         (gst_fake_src_create):
1197         * gst/elements/gstfakesrc.h:
1198         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1199         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1200         (gst_segment_set_last_stop), (gst_segment_set_seek),
1201         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1202         (gst_segment_to_running_time), (gst_segment_clip):
1203         * gst/gstsegment.h:
1204         More segment updates, replace code in plugins with segment
1205         helper functions.
1206
1207 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1208
1209         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1210         Don't ignore sscanf results
1211
1212 2005-11-21  Andy Wingo  <wingo@pobox.com>
1213
1214         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1215
1216         * *.h:
1217         * *.c: Ran scripts/update-macros. Oh yes.
1218
1219         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1220         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1221         GST_GET_LOCK, etc.
1222
1223         * scripts/update-macros: New script. Run it on your files to
1224         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1225         well.
1226
1227 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1228
1229         * docs/gst/Makefile.am:
1230         * docs/gst/gstreamer-docs.sgml:
1231         * docs/gst/gstreamer-sections.txt:
1232         * docs/gst/gstreamer.types:
1233         * gst/gstinfo.h:
1234           more docs fixes, add new api to the docs
1235
1236 2005-11-21  Andy Wingo  <wingo@pobox.com>
1237
1238         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1239         state_broadcast call.
1240
1241         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1242
1243 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1244
1245         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1246         function calls for arrays.
1247
1248 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1249
1250         * docs/random/ensonic/media-device-daemon.txt:
1251           wild idea, can this be done?
1252         * docs/gst/gstreamer-sections.txt:
1253         * gst/gsterror.h:
1254         * gst/gstfilter.c:
1255         * gst/gstfilter.h:
1256         * gst/gstplugin.h:
1257         * gst/gstpluginfeature.c:
1258         * gst/gsttrace.c:
1259         * gst/gstvalue.c:
1260         * gst/gstvalue.h:
1261           doc fixes and additions
1262
1263 2005-11-21  Andy Wingo  <wingo@pobox.com>
1264
1265         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1266         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1267         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1268         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1269         private to the basesrc implementation.
1270
1271         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1272         behalf of event function if necessary. It should no longer be
1273         necessary to take the stream lock in pad's event functions. Fixes
1274         #320299.
1275
1276 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1277         * docs/gst/gstreamer-sections.txt:
1278         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1279         (gst_structure_fixate_field_nearest_double),
1280         (gst_structure_fixate_field_boolean):
1281         * gst/gststructure.h:
1282         * win32/common/libgstreamer.def:
1283         * win32/gstreamer.def:
1284
1285         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1286         (#322027)
1287
1288 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1289
1290         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1291         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1292         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1293         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1294         (gst_fdsrc_uri_handler_init):
1295         * gst/elements/gstfdsrc.h:
1296           Port fd:// URI handler from 0.8 to fdsrc
1297
1298 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1299
1300         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1301         (gst_value_serialize_fourcc):
1302         * gst/gstvalue.h:
1303           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1304           consistent with our other format defines (#320324).
1305
1306 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1307
1308         * gst/gstvalue.c: (gst_value_is_fixed):
1309           Revert previous commit. Value lists are by definition
1310           not fixed, as they are a list of possible values.
1311
1312 2005-11-21  Andy Wingo  <wingo@pobox.com>
1313
1314         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1315         during the stable series if we need it. Fixes #319178.
1316
1317         * gst/gstevent.c (gst_event_new_filler): Removed.
1318
1319         * check/gst/gstevent.c: Update comment about filler events.
1320
1321 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1322
1323         * gst/gstvalue.c: (gst_value_is_fixed):
1324           Should handle both value arrays and value lists.
1325
1326 2005-11-21  Andy Wingo  <wingo@pobox.com>
1327
1328         patch by: Alessandro Dessina <alessandro nnva org>
1329
1330         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1331         functions to access arrays. Fixes #321962.
1332
1333 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1334
1335         * docs/gst/gstreamer.types:
1336           gst_collectpads_get_type => gst_collect_pads_get_type.
1337           
1338         * gst/base/gstbasetransform.c:
1339           Remove unused SIGNAL_HANDOFF enum.
1340
1341 2005-11-21  Andy Wingo  <wingo@pobox.com>
1342
1343         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1344         the event type (upstream, downstream, serialized). Renamed
1345         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1346         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1347         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1348
1349         * gst/gstevent.c: Update for new CUSTOM event names.
1350
1351         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1352
1353         * gst/gstevent.h:
1354         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1355         bug #319392.
1356
1357 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1358
1359         * docs/gst/gstreamer-sections.txt:
1360         * win32/common/libgstbase.def:
1361         * win32/libgstbase.def:
1362         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1363         (gst_collect_pads_class_init), (gst_collect_pads_init),
1364         (gst_collect_pads_finalize), (gst_collect_pads_new),
1365         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1366         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1367         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1368         (gst_collect_pads_start), (gst_collect_pads_stop),
1369         (gst_collect_pads_peek), (gst_collect_pads_pop),
1370         (gst_collect_pads_available), (gst_collect_pads_read),
1371         (gst_collect_pads_flush), (gst_collect_pads_event),
1372         (gst_collect_pads_chain):
1373         * gst/base/gstcollectpads.h:
1374           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1375           unimplemented functions as unimplemented. Add padding to
1376           GstCollectData. (#320766, #320423)
1377
1378 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1379
1380         * gst/gstmessage.c:
1381           Improve docs for DURATION message (usage of duration parameter)
1382           (#320113)
1383
1384 2005-11-20  Wim Taymans  <wim@fluendo.com>
1385
1386         * check/Makefile.am:
1387         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1388         (main):
1389         * gst/Makefile.am:
1390         * gst/gst.h:
1391         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1392         (gst_segment_set_seek), (gst_segment_set_newsegment),
1393         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1394         (gst_segment_clip):
1395         * gst/gstsegment.h:
1396         Added segment helper structure and methods. Not fully implemented
1397         yet.
1398         Added segment check.
1399
1400 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1401
1402         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1403           Add a deserialisation test for fractions
1404         * examples/metadata/read-metadata.c: (message_loop),
1405         (make_pipeline), (main):
1406           Fix up metadata reading sample.
1407         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1408           Debug format fix
1409         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1410           Don't try and fixate empty caps
1411         * gst/gst_private.h:
1412           Wrap in G_BEGIN_DECLS/G_END_DECLS
1413         * gst/gstvalue.c: (gst_value_collect_fraction),
1414         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1415         (gst_value_transform_string_fraction),
1416         (gst_value_compare_fraction):
1417           Add some extra guards to ensure that we don't end up 
1418           with an invalid denominator of 0 in a gstfraction and
1419           that fractions always get reduced.
1420
1421 2005-11-20  Wim Taymans  <wim@fluendo.com>
1422
1423         * docs/gst/gstreamer-sections.txt:
1424         * gst/gstbuffer.h:
1425         * gst/gstelement.c:
1426         * gst/gstformat.c:
1427         * gst/gstformat.h:
1428         * gst/gstindex.h:
1429         * gst/gstquery.c:
1430         * gst/gstquery.h:
1431         * gst/gstvalue.c:
1432         Doc fixes.
1433
1434 2005-11-20  Wim Taymans  <wim@fluendo.com>
1435
1436         * docs/design/part-TODO.txt:
1437         * gst/gstcaps.h:
1438         Make a proper enum of the flag.
1439
1440 2005-11-19  Wim Taymans  <wim@fluendo.com>
1441
1442         * docs/design/part-TODO.txt:
1443         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1444         (gst_format_to_quark), (gst_format_register):
1445         * gst/gstformat.h:
1446         * gst/gstquery.c: (_gst_query_initialize),
1447         (gst_query_type_get_name), (gst_query_type_to_quark),
1448         (gst_query_type_register):
1449         * gst/gstquery.h:
1450         Add type to quark and type to string conversions.
1451
1452 2005-11-19  Andy Wingo  <wingo@pobox.com>
1453
1454         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1455         #320097.
1456
1457 2005-11-19  Wim Taymans  <wim@fluendo.com>
1458
1459         * docs/design/part-TODO.txt:
1460         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1461         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1462         (gst_bin_handle_message_func):
1463         * gst/gstbin.h:
1464         Make message handling overridable.
1465
1466 2005-11-19  Andy Wingo  <wingo@pobox.com>
1467
1468         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1469
1470         * gst/gstclock.h:
1471         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1472         be a GstClockTime.
1473         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1474         is a GstClockTime. Fixes #321710.
1475
1476         * gst/gstclock.h (GstClock): Remove offset property. Add
1477         internal_calibration and external_calibration. Fix padding. Pad
1478         also by GstClockTime so we don't run into problems.
1479
1480         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1481         (gst_clock_get_rate_offset): Remove.
1482         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1483
1484         * gst/gstutils.h:
1485         * gst/gstutils.c (g_static_rec_cond_wait)
1486         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1487
1488         * gst/gstbin.c: Remove terrible continue_state prototype.
1489
1490         * gst/gstelement.h (gst_element_continue_state): Make public.
1491
1492         * gst/gstelement.h:
1493         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1494         by continue_state. Fixes #319389.
1495
1496         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1497         Really fixes #168438. However I don't see anywhere where the
1498         filter function is called... stupid GStreamer...
1499         
1500         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1501         don't have a dispose function, so it won't get called when the
1502         object is unreffed, but oh well!
1503
1504         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1505         allows a destroy function to be set so user_data can be freed.
1506         Fixes #168438.
1507         (gst_index_set_filter): Call gst_index_set_filter_full.
1508
1509         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1510
1511         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1512         string should produce an error, given the lack of a way to
1513         represent NULL strings. Fixes #165650.
1514         
1515         * gst/gstvalue.h: 
1516         * gst/gstvalue.c (gst_value_array_append_value) 
1517         (gst_value_array_prepend_value, gst_value_array_get_size) 
1518         (gst_value_array_get_value): New API, copied from
1519         gst_value_list_*, only operates on arrays.
1520         (gst_value_list_append_value, gst_value_list_prepend_value) 
1521         (gst_value_list_concat, gst_value_list_get_size) 
1522         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1523
1524         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1525         init_list, because it works on both.
1526         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1527         (gst_value_copy_list_or_array): Renamed from copy_list.
1528         (gst_value_free_list_or_array): Renamed from free_list.
1529         (gst_value_collect_list_or_array): Renamed from collect_list.
1530         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1531         (gst_value_list_or_array_peek_pointer): Renamed from
1532         list_peek_pointer.
1533         (_gst_value_array_value_table, _gst_value_list_value_table):
1534         Update value table functions.
1535         (gst_value_compare_list_or_array): Renamed from compare_list.
1536
1537         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1538         some constness.
1539
1540         * gst/gsttaglist.c:
1541         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1542         GstTagList*. Fixes #143472.
1543
1544         * gst/gststructure.h: Clarify what the foreach/map functions can
1545         or can't do to their arguments.
1546
1547 2005-11-18  Wim Taymans  <wim@fluendo.com>
1548
1549         * gst/gstclock.c: (gst_clock_set_calibration),
1550         (gst_clock_get_calibration):
1551         Doc and API fixes.
1552         Calibration can be set with internal time equal to current
1553         internal time too.
1554
1555 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1556
1557         * gst/gsterror.c:
1558         * gst/gsterror.h:
1559           document
1560
1561 2005-11-18  Andy Wingo  <wingo@pobox.com>
1562
1563         * configure.ac: 
1564         * pkgconfig/gstreamer-net.pc.in:
1565         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1566         * pkgconfig/Makefile.am: Add net pkgconfig files.
1567
1568 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1569
1570         * gst/gstcaps.c:
1571         * gst/gstghostpad.c:
1572         * gst/gsttrace.c:
1573         * gst/gstvalue.c:
1574         * gst/gstvalue.h:
1575           docs fixes
1576
1577 2005-11-18  Andy Wingo  <wingo@pobox.com>
1578
1579         * gst/net/gstnetclientclock.c: Turn off debugging.
1580
1581         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1582         times connverge somewhat. Can't make a real test.
1583
1584         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1585         integer arithmetic. Return the minimum of the domain, which can be
1586         set as "internal" for gst_clock_set_calibration.
1587         (gst_net_client_clock_observe_times): Call _set_calibration.
1588         (gst_net_client_clock_new): Call _set_calibration instead of
1589         rate_offset.
1590
1591         * check/net/gstnetclientclock.c (test_functioning): Use the right
1592         adjustment api.
1593
1594         * gst/gstclock.h:
1595         * gst/gstclock.c (gst_clock_get_calibration) 
1596         (gst_clock_set_calibration): New functions, obsolete the ones I
1597         added yesterday. Doh. Precision issues mean we have to extrapolate
1598         from a point in the more recent past than 1970.
1599         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1600         obsolete.
1601         (gst_clock_adjust_unlocked): Use the right calibration data.
1602
1603 2005-11-18  Edward Hervey  <edward@fluendo.com>
1604
1605         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1606         Also reset the ->current_* values in READY->PAUSED
1607
1608 2005-11-18  Andy Wingo  <wingo@pobox.com>
1609
1610         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1611         Whoops, check the right fd. Also add some debugging.
1612         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1613         (do_linear_regression): Add a crapload of debugging. Subtract off
1614         the minimum values from the input series to discard unneeded bits.
1615         Use only int arithmetic. There is still double arithmetic when
1616         calculating the intercept that needs fixing. Return boolean to
1617         indicate success; FALSE would mean the domain or range is too
1618         great. Still needs fixes.
1619
1620 2005-11-18  Wim Taymans  <wim@fluendo.com>
1621
1622         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1623         For the current position in stream time, we need to subtract
1624         accumulated time.
1625         
1626         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1627         Release lock before calling the callback function of async
1628         entries.
1629
1630 2005-11-18  Andy Wingo  <wingo@pobox.com>
1631
1632         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1633         Port goes all the way to MAXUINT16.
1634
1635         * gst/net/gstnettimeprovider.c: Make the port range the same as
1636         for the kernel: 0 assigns, otherwise ports are less than
1637         MAXUINT16.
1638
1639         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1640         port change.
1641
1642         * check/net/gstnetclientclock.c (test_functioning): Add the start
1643         of another test. 
1644
1645 2005-11-18  Wim Taymans  <wim@fluendo.com>
1646
1647         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1648         (gst_bin_remove_func), (bin_bus_handler):
1649         * gst/gstbin.h:
1650         Removing a clock provider from a bin, triggers a clock lost message
1651         so that a new clock will be selected.
1652         Adding a clock to a bin triggers a clock provider message.
1653         Make sure we reselect a clock when we received a clock lost message.
1654         Keep a reference to the element that provided the clock.
1655
1656 2005-11-18  Andy Wingo  <wingo@pobox.com>
1657
1658         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1659         the clock initially so it produces values around the base time.
1660         (gst_net_client_clock_class_init): Typo fix.
1661         (gst_net_client_clock_thread): Add note on when the socket gets
1662         closed.
1663
1664 2005-11-17  Wim Taymans  <wim@fluendo.com>
1665
1666         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1667         Free remote and local time arrays.
1668
1669 2005-11-17  Wim Taymans  <wim@fluendo.com>
1670
1671         * gst/net/gstnetclientclock.c: (do_linear_regression),
1672         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1673         Fix compilation, uninitialized vars and a forgotten continue.
1674
1675 2005-11-17  Andy Wingo  <wingo@pobox.com>
1676
1677         * check/Makefile.am (check_PROGRAMS): 
1678         * check/net/gstnetclientclock.c: Add a most minimal test for the
1679         net client clock. More to come later.
1680
1681         * gst/net/gstnet.h: 
1682         * gst/net/Makefile.am: Add netclientclock.
1683
1684         * gst/net/gstnetclientclock.h:
1685         * gst/net/gstnetclientclock.c: New files, implement an untested
1686         GstClock that takes its time from a network time provider.
1687         Implements the algorithm in network-clock.scm.
1688
1689         * tests/network-clock.scm (*window-size*): Rename from
1690         *queue-length*.
1691         * tests/network-clock.scm (network-time): 
1692         * tests/network-clock-utils.scm (q-push): Update callers.
1693
1694 2005-11-17  Wim Taymans  <wim@fluendo.com>
1695
1696         * gst/gstbin.c: (gst_bin_provide_clock_func),
1697         (gst_bin_sort_iterator_new):
1698         And unref the child too..
1699
1700 2005-11-17  Wim Taymans  <wim@fluendo.com>
1701
1702         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1703         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1704         Refactor the sort iterator so it can be used while holding the
1705         LOCK too.
1706         Make clock selection select a clock closest to the source.
1707
1708 2005-11-17  Michael Smith <msmith@fluendo.com>
1709
1710         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1711         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1712         * gst/gstclock.h:
1713           Anonymous structs are a gcc (and some other compilers) extension, so
1714           don't use them. Since this is only for ABI-compatibility, and our
1715           API/ABI freeze is over in a few days, this whole thing will only
1716           last a few days, so don't bother trying to think up a meaningful
1717           name for the struct.
1718
1719 2005-11-17  Andy Wingo  <wingo@pobox.com>
1720
1721         * gst/gstclock.h (GstClock): Add rate and offset properties,
1722         preserving ABI stability. Add rate/offset accessors. Will file bug
1723         for the freeze break.
1724
1725         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1726         and offset, trying to keep precision and avoiding
1727         underflow/overflow.
1728         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1729         functions. Make gst_clock_set_time_adjust obsolete.
1730         (gst_clock_set_time_adjust): Note that this function is obsolete.
1731         Will file bug soon.
1732
1733         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1734         greppable by using GST_PADDING-1+1.
1735
1736 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1737
1738         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1739
1740         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1741           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1742
1743         * gst/gstpadtemplate.h:
1744         * gst/gstpluginfeature.h:
1745           Don't use c++ style comments in headers (#321638).
1746
1747 2005-11-16  Andy Wingo  <wingo@pobox.com>
1748
1749         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1750         buffer.
1751
1752         * check/net/gstnettimeprovider.c: Check to see that the time
1753         provider actually provides times. Works, yo!
1754
1755 2005-11-16  Wim Taymans  <wim@fluendo.com>
1756
1757         * check/Makefile.am:
1758         Enable more tests.
1759
1760         * check/elements/fakesrc.c: (GST_START_TEST):
1761         Set element to NULL before disposing it.
1762
1763 2005-11-16  Andy Wingo  <wingo@pobox.com>
1764
1765         * gst/net/Makefile.am:
1766         * gst/net/gstnet.h:
1767         * gst/net/gstnettimeprovider.c: 
1768         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1769         provider, include it from gstnet.h, and add it to the build.
1770
1771         * gst/net/gstnettimepacket.h: 
1772         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1773         sending and receiving.
1774
1775 2005-11-16  Wim Taymans  <wim@fluendo.com>
1776
1777         * check/Makefile.am:
1778         Enable valgrind check.
1779
1780         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1781         (gst_fake_src_alloc_buffer):
1782         Fix memleak.
1783
1784 2005-11-16  Wim Taymans  <wim@fluendo.com>
1785
1786         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1787         Call parent finalize too.
1788
1789 2005-11-16  Wim Taymans  <wim@fluendo.com>
1790
1791         * check/Makefile.am:
1792         Enable valgrind check that should work fine now.
1793
1794         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1795         * gst/gstqueue.c: (gst_queue_init):
1796         Fix memleaks in pad allocation.
1797
1798 2005-11-16  Andy Wingo  <wingo@pobox.com>
1799
1800         * gst/net/Makefile.am:
1801         * gst/net/gstnet.h: New part of core to hold network elements and
1802         objects. Put in core because it exposes API that applications want
1803         to use. The library is named libgstnet-tempname right now because
1804         of the existing libgstnet in gst-plugins-base. Solution is
1805         probably to rename the one in plugins-base; will file a bug for
1806         the freeze break.
1807
1808         * gst/net/gstnettimeprovider.c: 
1809         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1810         get_time call over the network.
1811
1812         * configure.ac: 
1813         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1814
1815         * check/Makefile.am:
1816         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1817         get additions shortly.
1818
1819 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1820
1821         * gst/gstpad.c: (gst_pad_new_from_static_template):
1822         * gst/gstpad.h:
1823           add gst_pad_new_from_static_template functions
1824         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1825         (gst_check_setup_sink_pad):
1826         * gst/elements/gsttee.c: (gst_tee_init):
1827           and use them
1828
1829 2005-11-16  Wim Taymans  <wim@fluendo.com>
1830
1831         * gst/gstpad.c: (gst_pad_pause_task):
1832         Removed warning, it's not really an error either.
1833
1834 2005-11-16  Wim Taymans  <wim@fluendo.com>
1835
1836         * gst/base/gstbasetransform.c:
1837         (gst_base_transform_prepare_output_buf),
1838         (gst_base_transform_event):
1839         Check if the caps are NULL, this can happen if the element
1840         is shutting down and the pad caps are set to NULL.
1841
1842 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1843
1844         * gst/elements/gsttee.c: (gst_tee_init):
1845           fix pad template leak in tee
1846
1847 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1848
1849         * gst/glib-compat.c: (g_value_dup_gst_object):
1850         * gst/glib-compat.h:
1851         * gst/gstpad.c: (gst_pad_set_property):
1852           use gst_object_ref when setting the pad template; this will
1853           trigger the pad template leaks on GLib 2.6 and the slaves
1854
1855 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1856
1857         * gst/glib-compat.c: (gst_flags_get_first_value):
1858         * gst/glib-compat.h:
1859         * gst/gstregistryxml.c:
1860           remove functions copied from GLib 2.6
1861
1862 2005-11-16  Michael Smith <msmith@fluendo.com>
1863
1864         * gst/Makefile.am:
1865           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1866           do, but only breaks with newer valgrind versions. We're not a
1867           valgrind tool, we have no link-time dependencies on libcoregrind.
1868
1869 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1870
1871         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1872           some debug changes
1873         * gst/gstmessage.h:
1874           typo fixes
1875
1876 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1877
1878         * gst/base/gstbasesrc.c: (gst_base_src_init):
1879         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1880         * gst/gstqueue.c: (gst_queue_init):
1881         * gst/gstregistryxml.c: (load_feature):
1882           Revert all these unrefs, they don't even pass make check !
1883
1884 2005-11-15  Johan Dahlin  <johan@gnome.org>
1885
1886         * gst/base/gstbasesrc.c: (gst_base_src_init):
1887         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1888         * gst/gstqueue.c: (gst_queue_init): 
1889         Free pad templates, fixes a couple of leaks.
1890
1891 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1892
1893         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1894
1895         * gst/gstpad.c: (gst_pad_get_property):
1896           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1897           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1898           (#321452)
1899
1900 2005-11-15  Wim Taymans  <wim@fluendo.com>
1901
1902         * gst/gstevent.c:
1903         Small doc update.
1904
1905 2005-11-15  Andy Wingo  <wingo@pobox.com>
1906
1907         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1908
1909         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1910         using GST_CLOCK_TIME_NONE to disable base time management.
1911         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1912         time if it was NONE before.
1913         (gst_pipeline_change_state): Only munge the base time if
1914         stream_time != GST_CLOCK_TIME_NONE.
1915
1916         * check/gst/gstpipeline.c (test_base_time): Punt around the
1917         problem of the probe not being called, because that's not the
1918         issue I'm looking at. Add a check that setting stream_time to NONE
1919         disables base time management.
1920         
1921 2005-11-15  Wim Taymans  <wim@fluendo.com>
1922
1923         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1924         segment_stop == -1 at startup.
1925
1926         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1927         (gst_base_transform_change_state):
1928         Init segment values at start.
1929
1930 2005-11-15  Wim Taymans  <wim@fluendo.com>
1931
1932         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1933         0 segment values are 0 in any format.
1934
1935         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1936         * gst/base/gstbasetransform.h:
1937         Parse newsegment correctly in basetransform
1938
1939         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1940         Sync to clock using updated segment values.
1941
1942 2005-11-15  Andy Wingo  <wingo@pobox.com>
1943
1944         * check/gst/gstpipeline.c (test_base_time): Add check that the
1945         base time and stream time are reset correctly.
1946
1947 2005-11-15  Wim Taymans  <wim@fluendo.com>
1948
1949         * docs/design/part-TODO.txt:
1950         Some more TODO items.
1951
1952 2005-11-15  Andy Wingo  <wingo@pobox.com>
1953
1954         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1955         error if the user selected "no clock" as the clocking method.
1956
1957         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1958         timestamps with live capture.
1959
1960         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1961         is 0 but we are a live source, timestamp the buffers using the
1962         element's clock.
1963
1964 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1965
1966         * docs/gst/gstreamer-sections.txt:
1967         * gst/gsterror.c:
1968         * gst/gstghostpad.c:
1969         * gst/gstobject.h:
1970         * gst/gstxml.c:
1971           more section docs
1972
1973 2005-11-14  Wim Taymans  <wim@fluendo.com>
1974
1975         * common/gst.supp:
1976           add suppressions from Wim's Debian machine
1977
1978 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1979
1980         * common/gst.supp:
1981           add suppressions from Andy's AMD64 Ubuntu machine
1982
1983 2005-11-14  Andy Wingo  <wingo@pobox.com>
1984
1985         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1986         STATE_LOCK not necessary. Fixes #311489.
1987
1988         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1989         #305291.
1990
1991         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1992         this function is not implemented.
1993
1994 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1995
1996         * gst/base/gstbasetransform.c:
1997         (gst_base_transform_prepare_output_buf):
1998         Ref the source pad caps while we need them.
1999         Fixes (#321386)
2000
2001 2005-11-11  Wim Taymans  <wim@fluendo.com>
2002
2003         * docs/gst/gstreamer-sections.txt:
2004         Added some docs for GstCollectData.
2005
2006         * gst/base/gstadapter.c:
2007         Some small code example fix.
2008
2009         * gst/base/gstcollectpads.c:
2010         * gst/base/gstcollectpads.h:
2011         Document some more.
2012
2013 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2014
2015         * configure.ac: back to HEAD
2016
2017 === release 0.9.5 ===
2018
2019 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2020
2021         * configure.ac:
2022           releasing 0.9.5, "Bike Lunch Day"
2023
2024 2005-11-11  Wim Taymans  <wim@fluendo.com>
2025
2026         * gst/gstbuffer.c: (_gst_buffer_copy):
2027         Copy more flags.
2028
2029         * gst/gstcaps.c: (gst_caps_is_equal):
2030         Fix some docs.
2031         Make _is_equal fast in the trivial cases.
2032
2033         * gst/gstminiobject.c:
2034         * gst/gstminiobject.h:
2035         More docs. Spifify .h file.
2036
2037         * gst/gstutils.c:
2038         Small doc update.
2039
2040 2005-11-11  Wim Taymans  <wim@fluendo.com>
2041
2042         * gst/base/gstbasetransform.c:
2043         (gst_base_transform_prepare_output_buf),
2044         (gst_base_transform_handle_buffer):
2045         Small cleanups.
2046         If we're processing a buffer and need to allocate an output
2047         buffer, we cannot accept a format change. If we did get a 
2048         format change, we have to alloc a buffer ourselves of the 
2049         right size.
2050
2051 2005-11-11  Wim Taymans  <wim@fluendo.com>
2052
2053         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2054         While checking the flag for reentrancy in the gstcaps function
2055         is nice to detect recursive invocations, it also makes it 
2056         impossible to call getcaps from multiple threads, which must be
2057         possible. So, checking for recursive calls has to go.
2058
2059 2005-11-11  Michael Smith <msmith@fluendo.com>
2060
2061         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2062           Don't sync on buffers that fall partially outside our current
2063           segment. Prevents an assertion failure/abort playing some files.
2064
2065 2005-11-10  Andy Wingo  <wingo@pobox.com>
2066
2067         * check/gst/gstbin.c (test_message_state_changed_children): Style
2068         fix..
2069
2070         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2071         gst_bus_poll with the signal watch. Ensures that poll and a signal
2072         watch see the same messages.
2073
2074         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2075         a poll and a watch at the same time get the same messages.
2076
2077 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2078
2079         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2080         * gst/gstcaps.c: (gst_caps_intersect):
2081           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2082           and it's not needed.
2083
2084 2005-11-10  Wim Taymans  <wim@fluendo.com>
2085
2086         * docs/design/part-TODO.txt:
2087         Updated todo.
2088
2089 2005-11-10  Wim Taymans  <wim@fluendo.com>
2090
2091         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2092         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2093         (gst_base_src_do_sync), (gst_base_src_get_range):
2094         Implement clock sync in base class.
2095
2096 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2097
2098         patch by: Tim-Philipp Müller <tim at centricular dot net>
2099
2100         * gst/gststructure.c: (gst_structure_parse_field),
2101         (gst_structure_from_string):
2102           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2103           so that gst_parse_launch() can deal with spaces in filtered link
2104           caps (fixes #164479)
2105         * check/gst/capslist.h:
2106         * check/gst/gststructure.c: (GST_START_TEST):
2107           add unit tests for this change
2108
2109 2005-11-10  Wim Taymans  <wim@fluendo.com>
2110
2111         * docs/gst/gstreamer-sections.txt:
2112         * gst/gstelement.c:
2113         * gst/gstelement.h:
2114         Fix docs, move some STATE macros to private.
2115
2116 2005-11-10  Wim Taymans  <wim@fluendo.com>
2117
2118         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2119         Added check for bug #317341
2120
2121         * gst/gstbuffer.c:
2122         * gst/gstbuffer.h:
2123         Some more spiffifying.
2124
2125         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2126         Call peer linkfunction if we are a source pad. Totally fixes
2127         #317341
2128
2129         * gst/gstpad.c:
2130         Update docs, source pads should call the peer linkfunction
2131         so they can atomically perform the pad link.
2132
2133 2005-11-09  Wim Taymans  <wim@fluendo.com>
2134
2135         * gst/gstbuffer.c:
2136         * gst/gstbuffer.h:
2137         Uber-spiffy-spiffify some more.
2138
2139 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2140
2141         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2142         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2143         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2144         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2145         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2146         * gst/gstpad.c: (gst_pad_init):
2147           Use GST_DEBUG_FUNCPTR() more extensively.
2148
2149 2005-11-09  Wim Taymans  <wim@fluendo.com>
2150
2151         * gst/gstobject.c: (gst_object_class_init):
2152         * gst/gstobject.h:
2153         Documentation fixes.
2154
2155 2005-11-09  Edward Hervey  <edward@fluendo.com>
2156
2157         * gst/gsttypefindfactory.c:
2158         Fix docs.
2159         
2160 2005-11-09  Edward Hervey  <edward@fluendo.com>
2161
2162         * gst/base/gsttypefindhelper.c:
2163         * gst/gsttypefind.c:
2164         * gst/gsttypefind.h:
2165         Fix docs.
2166
2167 2005-11-09  Wim Taymans  <wim@fluendo.com>
2168
2169         * gst/gstiterator.c:
2170         Fix revision data.
2171
2172         * gst/gsttask.c:
2173         * gst/gsttask.h:
2174         Fix docs.
2175
2176 2005-11-09  Wim Taymans  <wim@fluendo.com>
2177
2178         * gst/gstevent.h:
2179         * gst/gsturi.h:
2180         Fix docs.
2181
2182 2005-11-09  Wim Taymans  <wim@fluendo.com>
2183
2184         * docs/gst/gstreamer-sections.txt:
2185         Moved the message async delivery private lock and cond
2186         to the private section.
2187
2188         * gst/gstmessage.c:
2189         * gst/gstmessage.h:
2190         Fixed docs.
2191
2192 2005-11-09  Edward Hervey  <edward@fluendo.com>
2193
2194         * docs/gst/gstreamer-sections.txt:
2195         * gst/gsturi.c:
2196         * gst/gsturi.h:
2197         Document GstURIHandler
2198
2199 2005-11-09  Wim Taymans  <wim@fluendo.com>
2200
2201         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2202         (gst_iterator_find_custom):
2203         * gst/gstiterator.h:
2204         Fix iterator docs.
2205
2206 2005-11-09  Wim Taymans  <wim@fluendo.com>
2207
2208         * gst/gstbin.h:
2209         Document another field.
2210
2211         * gst/gststructure.c:
2212         * gst/gststructure.h:
2213         Document.
2214
2215 2005-11-09  Wim Taymans  <wim@fluendo.com>
2216
2217         * gst/gstbin.h:
2218         Documented structs.
2219
2220 2005-11-09  Wim Taymans  <wim@fluendo.com>
2221
2222         * docs/gst/gstreamer-sections.txt:
2223         Added some new macros.
2224
2225         * gst/gstclock.c:
2226         * gst/gstclock.h:
2227         * gst/gstobject.h:
2228         Docs updates.
2229
2230 2005-11-09  Wim Taymans  <wim@fluendo.com>
2231
2232         * docs/design/part-TODO.txt:
2233         Some more items for the TODO
2234
2235         * gst/gstcaps.c:
2236         * gst/gstcaps.h:
2237         Document GstCaps.
2238
2239 2005-11-09  Andy Wingo  <wingo@pobox.com>
2240
2241         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2242         to work on something else now tho...
2243
2244         * gst/base/gstadapter.c: More adapter docs.
2245
2246         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2247         (gst_file_sink_stop): New functions, replace the state change
2248         handler.
2249         (gst_file_sink_class_init): Hook up the start and stop functions.
2250         (gst_file_sink_base_init): Don't set the state change handler any
2251         more. It was a bit ugly too, being set from here...
2252         (gst_file_sink_get_property, gst_file_sink_set_property):
2253         Cleanups...
2254         (gst_file_sink_set_location): More robust check that doesn't call
2255         GST_STATE. Ugggggg.
2256
2257 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2258
2259         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2260           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2261
2262 2005-11-08  Wim Taymans  <wim@fluendo.com>
2263
2264         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2265         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2266         (gst_base_sink_chain), (gst_base_sink_change_state):
2267         * gst/base/gstbasesink.h:
2268         * gst/base/gstbasesrc.h:
2269         * gst/gstelement.h:
2270         * gst/gstevent.h:
2271         Avoid excessive typechecking in macros.
2272
2273         * gst/gstminiobject.c: (gst_mini_object_get_type),
2274         (gst_mini_object_init), (gst_mini_object_new),
2275         (gst_mini_object_free):
2276         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2277         (gst_object_finalize):
2278         Remove cruft code, optimize alloc_trace.
2279
2280 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2281
2282         * docs/faq/gst-uninstalled:
2283           fix up PS1 for systems that try to reset it
2284
2285 2005-11-07  Wim Taymans  <wim@fluendo.com>
2286
2287         * gst/base/gstbasesrc.c: (gst_base_src_init),
2288         (gst_base_src_get_range):
2289         Set the segment_end to -1 initially. Fixed typefind.
2290
2291 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2292
2293         * gst/base/gstadapter.c:
2294           Debug category should be 'adapter', not 'GstAdapter'.
2295           
2296         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2297         (gst_collectpads_class_init), (gst_collectpads_init),
2298         (gst_collectpads_peek), (gst_collectpads_pop),
2299         (gst_collectpads_event), (gst_collectpads_chain):
2300           Add debug category and some debugging output. Use boilerplate
2301           macros. Remove some extraneous words from docs.
2302
2303 2005-11-05  Andy Wingo  <wingo@pobox.com>
2304
2305         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2306         macro.
2307
2308 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2309
2310         * docs/gst/gstreamer-sections.txt:
2311         * gst/gstcaps.h:
2312         * gst/gstinfo.c:
2313         * gst/gstminiobject.h:
2314         * gst/gstobject.h:
2315         * gst/gstutils.h:
2316           more docs added
2317
2318 2005-11-04  Wim Taymans  <wim@fluendo.com>
2319
2320         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2321         Small update to stop at the configured segment_end
2322         position.
2323
2324 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2325
2326         * gst/gstregistry.c:
2327         * gst/gstregistry.h:
2328           added missing docs
2329
2330 2005-11-04  Edward Hervey  <edward@fluendo.com>
2331
2332         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2333         Check if we are doing a segment seek and have arrived at the
2334         end of that segment.
2335
2336 2005-11-04  Wim Taymans  <wim@fluendo.com>
2337
2338         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2339         Don't leak a mutex unlock in case of an error.
2340
2341         * gst/gstbus.h:
2342         Doc fixes.
2343
2344 2005-11-04  Wim Taymans  <wim@fluendo.com>
2345
2346         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2347         (gst_bus_post):
2348         Get the context to wake up only once.
2349
2350 2005-11-03  Wim Taymans  <wim@fluendo.com>
2351
2352         * check/states/sinks.c: (GST_START_TEST):
2353         Uncomment fixed check.
2354
2355         * docs/design/part-TODO.txt:
2356         Updated TODO.
2357
2358         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2359         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2360         (gst_base_sink_get_position):
2361         If we are going to PLAYING, post the right pending state
2362         when we post the intermediate paused message.
2363
2364         * gst/gstelement.c: (gst_element_continue_state),
2365         (gst_element_set_state_func), (gst_element_change_state):
2366         Don't post state changes that were between the same state
2367         and were not ASYNC.
2368
2369 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2370
2371         * docs/gst/gstreamer-sections.txt:
2372         * gst/gstcaps.h:
2373         * gst/gstinfo.c:
2374         * gst/gstminiobject.h:
2375         * gst/gstobject.h:
2376         * gst/gstutils.h:
2377           more docs and doc style fixes
2378
2379 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2380
2381         * docs/gst/gstreamer-sections.txt:
2382         * gst/gstelement.c:
2383         * gst/gstminiobject.c:
2384         doc fixes
2385
2386 2005-11-03  Andy Wingo  <wingo@pobox.com>
2387
2388         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2389         state-changed messages actually have the right order and the right
2390         values.
2391
2392 2005-11-03  Wim Taymans  <wim@fluendo.com>
2393
2394         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2395         Added some more checks. Specifically the case where NO_PREROLL
2396         elements are in the pipeline.
2397
2398         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2399         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2400         (gst_base_sink_get_position):
2401         Post READY->PAUSED state change messages too.
2402         Fix bug where VOID was posted as pending state...
2403
2404         * gst/gstbin.c: (gst_bin_recalc_state):
2405         use _element_continue_state() to continue the state change.
2406
2407         * gst/gstelement.c: (gst_element_continue_state),
2408         (gst_element_commit_state), (gst_element_set_state_func),
2409         (gst_element_change_state), (gst_element_change_state_func):
2410         Lots of state change cleanups, assign the STATE_RETURN in
2411         a new continue_state() function that also propagates the
2412         last return value from a state change to the app.
2413         Update some debug statements with proper category.
2414
2415 2005-11-03  Wim Taymans  <wim@fluendo.com>
2416
2417         * docs/design/part-events.txt:
2418         * docs/design/part-gstpipeline.txt:
2419         * docs/design/part-messages.txt:
2420         * docs/design/part-overview.txt:
2421         * docs/design/part-seeking.txt:
2422         * docs/design/part-states.txt:
2423         * docs/design/part-trickmodes.txt:
2424         * docs/manual/advanced-position.xml:
2425         Small docs updates.
2426
2427         * gst/gstobject.h:
2428         People think !! is ugly, this looks better.
2429
2430         * gst/gstpad.c: (gst_pad_set_blocked_async):
2431         Remove !! since it's fixed elsewhere now.
2432
2433 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2434
2435         * gst/gstminiobject.h:
2436         * gst/gstobject.h:
2437           Add !! to _FLAG_IS_SET macros to make the result boolean.
2438
2439 2005-11-03  Edward Hervey  <edward@fluendo.com>
2440
2441         * gst/gstpad.c: (gst_pad_set_blocked_async):
2442         comparing a flag and a gboolean rarely returns coherent results...
2443         Added two characters (!!) to make that work correctly.
2444         
2445 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2446
2447         * gst/gstbus.c: (gst_bus_class_init):
2448           Fix some typos.
2449           
2450         * gst/gstqueue.c: (gst_queue_loop):
2451           Don't assume a miniobject that isn't a buffer is an
2452           event (it could be that there is a refcounting
2453           problem somewhere and the pointer is stale and
2454           refers to an already destroyed miniobject).
2455
2456 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2457
2458         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2459
2460 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2461
2462         * docs/manual/advanced-position.xml:
2463           Update seek example and explanations to current 0.9 API.
2464
2465         * gst/elements/gsttypefindelement.c:
2466         (gst_type_find_element_activate):
2467           Remove FIXME comment now that the found caps
2468           are unreffed.
2469
2470 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2471
2472         * gst/gstregistryxml.c: (load_feature):
2473           Add another GST_STR_NULL instance
2474
2475 2005-11-02  Edward Hervey  <edward@fluendo.com>
2476
2477         * gst/gstpad.c: (handle_pad_block):
2478         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2479         
2480 2005-11-02  Wim Taymans  <wim@fluendo.com>
2481
2482         * gst/gstbin.c:
2483         Fix typo in docs.
2484
2485         * gst/gstelement.c: (gst_element_commit_state):
2486         Remove unused value.
2487
2488         * gst/gstiterator.c:
2489         Mention that the returned element is reffed in the docs.
2490
2491 2005-11-02  Wim Taymans  <wim@fluendo.com>
2492
2493         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2494         (gst_pad_push), (gst_pad_push_event):
2495         Unlock blocked pads when they are flushed.
2496
2497 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2498
2499         * docs/README:
2500         * docs/gst/gstreamer-sections.txt:
2501         * gst/gstbin.c:
2502           doc updates
2503         * gst/gstregistry.c: (gst_registry_scan_path_level):
2504           fix for a nasty little missed situation where an installed plug-in
2505           which was in the cache did not get overridden by an uninstalled one
2506           which was earlier in the plugin path because the newly created plugin
2507           for the uninstalled one (not in the registry) didn't get its
2508           ->registered set to TRUE
2509
2510 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2511
2512         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2513         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2514         (gst_collectpads_is_active), (gst_collectpads_collect),
2515         (gst_collectpads_collect_range), (gst_collectpads_start),
2516         (gst_collectpads_stop), (gst_collectpads_peek),
2517         (gst_collectpads_pop), (gst_collectpads_available),
2518         (gst_collectpads_read), (gst_collectpads_flush):
2519           Guard public API with assertions.
2520         
2521         * gst/gstpad.c:
2522           Fix docs for gst_pad_set_link_function().
2523
2524 2005-11-02  Johan Dahlin  <johan@gnome.org>
2525
2526         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2527         Unref found_caps after we used it.
2528
2529 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2530
2531         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2532           Don't try to ref NULL.
2533
2534 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2535
2536         * win32/common/config.h.in:
2537           provide a GST_FUNCTION that just gives a string for now
2538
2539 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2540
2541         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2542         (gst_object_flags_get_type), (register_gst_bin_flags),
2543         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2544         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2545         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2546         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2547         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2548         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2549         (gst_clock_flags_get_type), (register_gst_state),
2550         (gst_state_get_type), (register_gst_state_change_return),
2551         (gst_state_change_return_get_type), (register_gst_state_change),
2552         (gst_state_change_get_type), (register_gst_element_flags),
2553         (gst_element_flags_get_type), (register_gst_core_error),
2554         (gst_core_error_get_type), (register_gst_library_error),
2555         (gst_library_error_get_type), (register_gst_resource_error),
2556         (gst_resource_error_get_type), (register_gst_stream_error),
2557         (gst_stream_error_get_type), (register_gst_event_type),
2558         (gst_event_type_get_type), (register_gst_seek_type),
2559         (gst_seek_type_get_type), (register_gst_seek_flags),
2560         (gst_seek_flags_get_type), (register_gst_format),
2561         (gst_format_get_type), (register_gst_index_certainty),
2562         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2563         (gst_index_entry_type_get_type),
2564         (register_gst_index_lookup_method),
2565         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2566         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2567         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2568         (gst_index_flags_get_type), (register_gst_debug_level),
2569         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2570         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2571         (gst_iterator_result_get_type), (register_gst_iterator_item),
2572         (gst_iterator_item_get_type), (register_gst_message_type),
2573         (gst_message_type_get_type), (register_gst_mini_object_flags),
2574         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2575         (gst_pad_link_return_get_type), (register_gst_flow_return),
2576         (gst_flow_return_get_type), (register_gst_activate_mode),
2577         (gst_activate_mode_get_type), (register_gst_pad_direction),
2578         (gst_pad_direction_get_type), (register_gst_pad_flags),
2579         (gst_pad_flags_get_type), (register_gst_pad_presence),
2580         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2581         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2582         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2583         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2584         (gst_plugin_flags_get_type), (register_gst_rank),
2585         (gst_rank_get_type), (register_gst_query_type),
2586         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2587         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2588         (gst_tag_flag_get_type), (register_gst_task_state),
2589         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2590         (gst_alloc_trace_flags_get_type),
2591         (register_gst_type_find_probability),
2592         (gst_type_find_probability_get_type), (register_gst_uri_type),
2593         (gst_uri_type_get_type), (register_gst_parse_error),
2594         (gst_parse_error_get_type):
2595         * win32/common/gstversion.h:
2596           update win32 copies
2597
2598 2005-11-01  Luca Ognibene  <luogni@tin.it>
2599
2600         * gst/gst.c:
2601           fix docs. popt is dead, long live GOption.
2602
2603 2005-10-31  Wim Taymans  <wim@fluendo.com>
2604
2605         * gst/gstbuffer.h:
2606         Small doc fix.
2607
2608 2005-10-31  Andy Wingo  <wingo@pobox.com>
2609
2610         * Boo!
2611
2612         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2613
2614         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2615         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2616         the possibility of deadlocks here if code calling notify() or
2617         set() has a lock that can be taken in another notify handler (ABBA
2618         with class lock and e.g. python GIL state lock).
2619
2620 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2621
2622         * gst/gstbus.c: Doc updates.
2623
2624 2005-10-28  Wim Taymans  <wim@fluendo.com>
2625
2626         * docs/design/part-TODO.txt:
2627         * gst/gstiterator.c:
2628         * gst/gstsystemclock.c:
2629         * gst/gstsystemclock.h:
2630         Doc updates.
2631
2632 2005-10-28  Edward Hervey  <edward@fluendo.com>
2633
2634         * docs/gst/gstreamer-docs.sgml:
2635         * docs/gst/gstreamer-sections.txt:
2636         the GstURIType documentation page is private, it only defines GstURIType
2637         which should be defined in the GstURIHandler page
2638         
2639 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2640
2641         * gst/gstbin.c: (gst_bin_class_init):
2642         * gst/gstbin.h:
2643         * gst/gstutils.c:
2644         Documentation updates.
2645
2646 2005-10-28  Wim Taymans  <wim@fluendo.com>
2647
2648         * docs/gst/gstreamer-sections.txt:
2649         * gst/gstclock.c:
2650         * gst/gstclock.h:
2651         Documented the clocks.
2652
2653 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2654
2655         * docs/gst/gstreamer-sections.txt:
2656           move some macros to private sections
2657         * gst/gstminiobject.c:
2658         * gst/gstminiobject.h:
2659           add descriptions provided by ds and some more
2660         * gst/gstpad.h:
2661           mark macro as to be removed
2662
2663 2005-10-28  Wim Taymans  <wim@fluendo.com>
2664
2665         * docs/design/part-TODO.txt:
2666         Add an item to TODO.
2667
2668         * gst/gstiterator.c: (gst_iterator_fold),
2669         (gst_iterator_find_custom):
2670         * gst/gstiterator.h:
2671         Add iterator docs.
2672
2673 2005-10-28  Wim Taymans  <wim@fluendo.com>
2674
2675         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2676         (gst_base_transform_init):
2677         Don't leak class.
2678
2679         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2680         An EOS event marks the queue as completely filled.
2681
2682 2005-10-27  Wim Taymans  <wim@fluendo.com>
2683
2684         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2685         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2686         Some more debugging.
2687
2688         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2689         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2690         (gst_base_transform_event), (gst_base_transform_getrange),
2691         (gst_base_transform_chain):
2692         * gst/base/gstbasetransform.h:
2693         Fix debugging,
2694         Protect transform and concurrent buffer alloc with a new lock.
2695         Try not to break ABI/API.
2696
2697 2005-10-27  Wim Taymans  <wim@fluendo.com>
2698
2699         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2700         (gst_base_src_init), (gst_base_src_query),
2701         (gst_base_src_default_newsegment),
2702         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2703         (gst_base_src_send_event), (gst_base_src_event_handler),
2704         (gst_base_src_pad_get_range), (gst_base_src_loop),
2705         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2706         (gst_base_src_start), (gst_base_src_deactivate),
2707         (gst_base_src_activate_push), (gst_base_src_change_state):
2708         Move some stuff around and cleanup things.
2709
2710 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2711
2712         * gst/base/gstbasesrc.c: (gst_base_src_query):
2713           Add missing break statements.
2714
2715 2005-10-27  Wim Taymans  <wim@fluendo.com>
2716
2717         * check/gst/gstbin.c: (GST_START_TEST):
2718         An extra refcount is taken in basesrc.
2719
2720         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2721         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2722         (gst_base_src_loop):
2723         Small cleanups, check for flushing after being unlocked from the 
2724         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2725         Don't send out EOS when going to READY.
2726
2727 2005-10-27  Wim Taymans  <wim@fluendo.com>
2728
2729         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2730         (gst_base_sink_get_position):
2731         Some more debug.
2732
2733         * gst/gstbin.c: (message_check), (bin_replace_message),
2734         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2735         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2736         (bin_query_duration_init), (bin_query_duration_fold),
2737         (bin_query_duration_done), (bin_query_generic_fold),
2738         (gst_bin_query):
2739         * tools/gst-launch.c: (main):
2740         Remove old option.
2741
2742 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2743
2744         * examples/controller/audio-example.c: (main):
2745         * examples/queue/queue.c: (event_loop):
2746         * gst/base/gstbasetransform.h:
2747         * gst/gstelement.c: (gst_element_send_event):
2748         * gst/gstevent.h:
2749         * gst/gstpad.c: (gst_pad_send_event):
2750           fixing examples
2751           fixing docs typos
2752           changing log priority in error situations
2753
2754 2005-10-25  Wim Taymans  <wim@fluendo.com>
2755
2756         * gst/gstbin.c: (message_check), (bin_replace_message),
2757         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2758         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2759         (bin_query_duration_init), (bin_query_duration_fold),
2760         (bin_query_duration_done), (bin_query_generic_fold),
2761         (gst_bin_query):
2762         Some doc and debug updates.
2763         Cache previously requested query DURATION for speed. invalidate
2764         cached duration if element posts a DURATION message.
2765
2766 2005-10-25  Wim Taymans  <wim@fluendo.com>
2767
2768         * docs/design/part-TODO.txt:
2769         Update TODO.
2770
2771         * gst/gstbin.c: (message_check), (bin_replace_message),
2772         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2773         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2774         (bin_query_duration_init), (bin_query_duration_fold),
2775         (bin_query_duration_done), (bin_query_generic_fold),
2776         (gst_bin_query):
2777         Handle SEGMENT_START/DONE messages correctly.
2778         More evolved query algorithm that handles duration queries
2779         correctly.
2780
2781         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2782         (gst_element_get_state_func), (gst_element_abort_state),
2783         (gst_element_commit_state), (gst_element_lost_state):
2784         Some more debugging.
2785
2786         * gst/gstmessage.h:
2787         Added doc.
2788
2789 2005-10-25  Wim Taymans  <wim@fluendo.com>
2790
2791         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2792         Don't use invalid stream_time.
2793
2794         * gst/gstevent.c: (gst_event_new_newsegment):
2795         stream_time in newsegment cannot be undefined.
2796
2797 2005-10-24  Wim Taymans  <wim@fluendo.com>
2798
2799         * gst/gstbus.c:
2800         Doc fix.
2801
2802         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2803         (gst_queue_loop):
2804         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2805
2806 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2807
2808         * docs/libs/tmpl/gstdparam.sgml:
2809         * docs/libs/tmpl/gstdplinint.sgml:
2810         * docs/libs/tmpl/gstdpman.sgml:
2811         * docs/libs/tmpl/gstdpsmooth.sgml:
2812         * docs/libs/tmpl/gstunitconvert.sgml:
2813           these are obsolete
2814
2815 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2816
2817         * configure.ac:
2818           back to HEAD
2819
2820 === release 0.9.4 ===
2821
2822 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2823
2824         * configure.ac:
2825           releasing 0.9.4, "Tyrannosaurus Rex"
2826
2827 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2828
2829         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2830         (gst_file_sink_get_current_offset):
2831           Use fseeko() and ftello() if available. When falling back on
2832           lseek() to get the current offset, fflush() first to make sure
2833           everything is up-to-date and we get the right offset.
2834
2835 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2836
2837         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2838         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2839         * gst/gsterror.c: (_gst_stream_errors_init):
2840         * gst/gsterror.h:
2841         * gst/gstqueue.c: (gst_queue_loop):
2842         * po/POTFILES.in:
2843           remove prematurely added error category and clean up the instances
2844
2845 2005-10-21  Wim Taymans  <wim@fluendo.com>
2846
2847         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2848         (gst_base_sink_get_position), (gst_base_sink_query),
2849         (gst_base_sink_change_state):
2850         Simply set the right flag when going to playing, that's all
2851         we need to do instead of calling a function inside the object
2852         lock (that could take the lock as well and deadlock)
2853
2854 2005-10-21  Wim Taymans  <wim@fluendo.com>
2855
2856         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2857         (gst_base_src_loop):
2858         Don't warn, the peer element knows what to do best when
2859         the seek failed, it might try something else.
2860
2861 2005-10-21  Wim Taymans  <wim@fluendo.com>
2862
2863         * gst/base/gstbasesrc.c: (gst_base_src_init),
2864         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2865         Fix seeking.
2866
2867 2005-10-21  Wim Taymans  <wim@fluendo.com>
2868
2869         * docs/design/part-segments.txt:
2870         More docs.
2871
2872         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2873         Correctly set caps, even on the subbufer.
2874
2875 2005-10-21  Wim Taymans  <wim@fluendo.com>
2876
2877         * docs/gst/gstreamer-docs.sgml:
2878         * docs/gst/gstreamer-sections.txt:
2879         * gst/gstelement.h:
2880         * gst/gstevent.c:
2881         * gst/gstevent.h:
2882         * gst/gstmessage.h:
2883         * gst/gstpad.h:
2884         * gst/gstparse.h:
2885         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2886         * gst/gsttask.h:
2887         * gst/gstutils.c:
2888         * gst/gstutils.h:
2889         And 2% more doc coverage.
2890
2891 2005-10-21  Andy Wingo  <wingo@pobox.com>
2892
2893         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2894         position reporting.
2895
2896 2005-10-20  Wim Taymans  <wim@fluendo.com>
2897
2898         * gst/gsterror.c: (gst_error_get_message):
2899         * gst/gstparse.h:
2900         * gst/gstquery.h:
2901         * gst/gststructure.c:
2902         * gst/gsttrace.c:
2903         * gst/gstutils.c:
2904         More docs.
2905
2906 2005-10-20  Wim Taymans  <wim@fluendo.com>
2907
2908         * gst/gstbuffer.h:
2909         * gst/gstpad.c:
2910         * gst/gstparse.c:
2911         Another 1% more coverage.
2912
2913 2005-10-20  Wim Taymans  <wim@fluendo.com>
2914
2915         * docs/gst/gstreamer-sections.txt:
2916         * gst/gstelement.c: (gst_element_get_state_func),
2917         (gst_element_abort_state), (gst_element_commit_state),
2918         (gst_element_lost_state):
2919         * gst/gstevent.h:
2920         * gst/gstquery.c: (gst_query_set_position),
2921         (gst_query_parse_position), (gst_query_set_duration),
2922         (gst_query_parse_duration), (gst_query_new_convert):
2923         * gst/gstutils.c:
2924         Yay! 1% more docs coverage.
2925
2926 2005-10-20  Wim Taymans  <wim@fluendo.com>
2927
2928         * gst/gstpad.h:
2929         * gst/gstquery.c: (gst_query_set_position),
2930         (gst_query_parse_position), (gst_query_set_duration),
2931         (gst_query_parse_duration), (gst_query_new_convert):
2932         * gst/gstquery.h:
2933         * gst/gstutils.c: (gst_element_query_convert):
2934         * gst/gstutils.h:
2935         Docs and consistency fixes.
2936
2937 2005-10-20  Wim Taymans  <wim@fluendo.com>
2938
2939         * gst/gsttask.c:
2940         * gst/gsttask.h:
2941         More docs.
2942
2943 2005-10-20  Wim Taymans  <wim@fluendo.com>
2944
2945         * gst/gstbin.c: (message_check), (bin_replace_message),
2946         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2947         (update_degree), (gst_bin_sort_iterator_next),
2948         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2949         Reworked the message handling a bit, cache the messages instead of
2950         only the senders. alows us to do more in the future.
2951
2952 2005-10-20  Wim Taymans  <wim@fluendo.com>
2953
2954         * docs/design/part-TODO.txt:
2955         Update TODO
2956
2957         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2958         (gst_base_sink_query):
2959         Don't use clock time to report position when in EOS.
2960
2961 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2962
2963         * tools/gst-inspect.c: (print_interfaces),
2964         (print_element_properties_info), (print_element_info):
2965           Fix interface output with gst-inspect -a; don't print
2966           newlines after double/float properties.
2967
2968 2005-10-20  Wim Taymans  <wim@fluendo.com>
2969
2970         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2971         (gst_base_sink_query):
2972         Speed up current position calculation.
2973
2974         * gst/base/gstbasesrc.c: (gst_base_src_query),
2975         (gst_base_src_default_newsegment):
2976         Correctly set stream position in newsegment.
2977
2978         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2979         (update_degree), (gst_bin_sort_iterator_next),
2980         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2981         * gst/gstmessage.c: (gst_message_new_custom):
2982         Clean up debugging info
2983
2984         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2985         (gst_queue_loop), (gst_queue_handle_src_query):
2986         Pause task faster.
2987
2988 2005-10-19  Wim Taymans  <wim@fluendo.com>
2989
2990         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2991         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2992         Fix query handling again.
2993
2994 2005-10-19  Wim Taymans  <wim@fluendo.com>
2995
2996         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2997         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2998         * gst/base/gstbasesrc.c: (gst_base_src_query):
2999         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3000         * gst/elements/gsttypefindelement.c:
3001         (gst_type_find_handle_src_query), (find_element_get_length),
3002         (gst_type_find_element_activate):
3003         API change fix.
3004
3005         * gst/gstquery.c: (gst_query_new_position),
3006         (gst_query_set_position), (gst_query_parse_position),
3007         (gst_query_new_duration), (gst_query_set_duration),
3008         (gst_query_parse_duration), (gst_query_set_segment),
3009         (gst_query_parse_segment):
3010         * gst/gstquery.h:
3011         Bundling query position/duration is not a good idea since duration
3012         does not change much and we don't want to recalculate it for every
3013         position query, so they are separated again..
3014         Base value in segment query is not needed.
3015
3016         * gst/gstqueue.c: (gst_queue_handle_src_query):
3017         * gst/gstutils.c: (gst_element_query_position),
3018         (gst_element_query_duration), (gst_pad_query_position),
3019         (gst_pad_query_duration):
3020         * gst/gstutils.h:
3021         Updates for query API change.
3022         Added some docs here and there.
3023
3024 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3025
3026         * check/gst/gstbin.c: (GST_START_TEST):
3027         * check/gst/gstghostpad.c: (GST_START_TEST):
3028         * check/pipelines/cleanup.c: (GST_START_TEST):
3029           wait on thread to die so we can check refcount correctly
3030
3031 2005-10-18  Wim Taymans  <wim@fluendo.com>
3032
3033         * check/pipelines/stress.c: (GST_START_TEST):
3034         Make check a little more time consuming.
3035
3036 2005-10-18  Wim Taymans  <wim@fluendo.com>
3037
3038         * check/Makefile.am:
3039         * check/pipelines/stress.c: (GST_START_TEST),
3040         (simple_launch_lines_suite), (main):
3041         Small state change torture test.
3042
3043         * docs/design/part-states.txt:
3044         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3045         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3046         (gst_base_sink_change_state):
3047         Never take state lock from streaming thread, clean up ugly
3048         hacks. Unfortunatly core does not yet support nice ways to
3049         async commit state.
3050         
3051         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3052         (bin_bus_handler):
3053         Start state recalc if a STATE_DIRTY message is posted, but only
3054         on the toplevel bin.
3055
3056         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3057         (gst_element_get_state_func), (gst_element_abort_state),
3058         (gst_element_commit_state), (gst_element_lost_state),
3059         (gst_element_set_state_func), (gst_element_change_state):
3060         * gst/gstelement.h:
3061         State variables are now protected with the LOCK, the state
3062         lock is only used to serialize _set_state().
3063
3064 2005-10-18  Wim Taymans  <wim@fluendo.com>
3065
3066         * check/gst/gstbin.c: (GST_START_TEST):
3067         * check/gst/gstmessage.c: (GST_START_TEST):
3068         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3069         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3070         (bin_bus_handler):
3071         * gst/gstelement.c: (gst_element_abort_state),
3072         (gst_element_commit_state), (gst_element_lost_state):
3073         * gst/gstmessage.c: (gst_message_new_state_changed),
3074         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3075         (gst_message_new_segment_done), (gst_message_new_duration),
3076         (gst_message_parse_state_changed),
3077         (gst_message_parse_segment_start),
3078         (gst_message_parse_segment_done), (gst_message_parse_duration):
3079         * gst/gstmessage.h:
3080         * tools/gst-launch.c: (event_loop):
3081         Seriously, this is better than a previous commit as we only need
3082         to notify the fact that an element changed state in a streaming
3083         thread, marking the state of the parents dirty, hence the 
3084         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3085         message.
3086
3087 2005-10-18  Wim Taymans  <wim@fluendo.com>
3088
3089         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3090         (gst_bin_recalc_func):
3091         * gst/gstelement.c: (gst_element_set_clock),
3092         (gst_element_abort_state), (gst_element_lost_state):
3093         Cleanups, prepare for state change fixes.
3094
3095 2005-10-18  Wim Taymans  <wim@fluendo.com>
3096
3097         * gst/gstbin.h:
3098         * gst/gstelement.c: (gst_element_class_init),
3099         (gst_element_set_state), (gst_element_set_state_func):
3100         * gst/gstelement.h:
3101         Pending ABI changes.
3102         GThreadPool in GstBinClass to monitor async state changes.
3103         state_cookie in GstElement to detect concurrent gst/set state.
3104         set_state is now virtual too in case a very complicated element
3105         has to be constructed.
3106
3107 2005-10-18  Wim Taymans  <wim@fluendo.com>
3108
3109         * check/gst/gstbin.c: (GST_START_TEST):
3110         * check/gst/gstmessage.c: (GST_START_TEST):
3111         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3112         * gst/gstbin.c: (bin_bus_handler):
3113         * gst/gstelement.c: (gst_element_commit_state),
3114         (gst_element_lost_state):
3115         * gst/gstmessage.c: (gst_message_new_state_changed),
3116         (gst_message_new_segment_start), (gst_message_new_segment_done),
3117         (gst_message_new_duration), (gst_message_parse_state_changed),
3118         (gst_message_parse_segment_start),
3119         (gst_message_parse_segment_done), (gst_message_parse_duration):
3120         * gst/gstmessage.h:
3121         * tools/gst-launch.c: (event_loop):
3122         Make messages future proof.
3123         state-change gets a flag if it was a message comming from the
3124         streaming thread.
3125         segment-start/stop can also be specified in other formats.
3126         A message to notify an app that a pipeline changed playback 
3127         duration.
3128         Also fix a GstMessage leak in -launch
3129
3130 2005-10-18  Andy Wingo  <wingo@pobox.com>
3131
3132         * gst/gstelement.c (gst_element_dispose): More helpful message.
3133
3134 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3135
3136         reviewed by: <delete if not using a buddy>
3137
3138         * common/gtk-doc.mak:
3139
3140 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3141
3142         * gst/gstregistry.c: (gst_registry_scan_path_level):
3143           unref a plug-in we get that was already initialized
3144
3145 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3146
3147         * docs/gst/gstreamer-sections.txt:
3148         * docs/libs/gstreamer-libs-sections.txt:
3149         * gst/gstelement.h:
3150           add new api entries
3151           hide internal macro
3152
3153 2005-10-17  Andy Wingo  <wingo@pobox.com>
3154
3155         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3156         cleanup.
3157
3158         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3159
3160         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3161
3162         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3163         (gst_element_get_state_func): Better debug message.
3164         (gst_element_commit_state): s/INFO/DEBUG/.
3165         (gst_element_lost_state, gst_element_change_state): 
3166
3167         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3168         (gst_message_new_custom): s/INFO/LOG/.
3169
3170 2005-10-17  Michael Smith <msmith@fluendo.com>
3171
3172         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3173           Check if end time is valid using end time, not start time.
3174
3175 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3176
3177         * check/gst-libs/controller.c: (GST_START_TEST),
3178         (gst_controller_suite):
3179         * libs/gst/controller/gstcontroller.c:
3180         (gst_controlled_property_set_interpolation_mode):
3181         * libs/gst/controller/gstcontroller.h:
3182         * libs/gst/controller/gstinterpolation.c:
3183         * testsuite/controller/.cvsignore:
3184         * testsuite/controller/Makefile.am:
3185         * testsuite/controller/interpolator.c:
3186           merge controller testsuites
3187           fix broken tests
3188           remove mem-chunk from docs
3189
3190 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3191
3192         * gst/gstmemchunk.c:
3193         * gst/gstmemchunk.h:
3194         * gst/gsttrashstack.c:
3195         * gst/gsttrashstack.h:
3196           out.  get out.  you're fired.  to the Attic !
3197
3198 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3199
3200         * gst/gstcaps.c: (gst_caps_intersect):
3201           fix signedness issues in a (hopefully) correct way
3202         * gst/gstelement.c: (gst_element_pads_activate):
3203           some debugging
3204         * gst/gstobject.c: (gst_object_set_parent):
3205           some debugging
3206
3207 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3208
3209         * gst/gstvalue.h: Fix prototypes.
3210
3211 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3212
3213         * docs/gst/gstreamer-sections.txt:
3214         * gst/gst.c: (gst_version_string):
3215         * gst/gst.h:
3216         * gst/gstversion.h.in:
3217         * win32/common/libgstreamer.def:
3218           add gst_version_string ()
3219
3220 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3221
3222         * configure.ac:
3223           clean up further
3224         * gst/gst.c: (init_post):
3225         * win32/common/config.h.in:
3226           it's PLUGINDIR now
3227         * gst/gstcaps.c: (gst_caps_intersect):
3228           use gint64, the range could be bigger than a guint
3229
3230 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3231
3232         * gst/gstclock.h:
3233           document potential problem in 2038
3234
3235 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3236
3237         * gst/gstcaps.c: (gst_caps_intersect):
3238           Fix guint j diving under 0
3239
3240 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3241
3242         * configure.ac:
3243         * win32/common/config.h:
3244         * win32/common/config.h.in:
3245           check for process.h, declares getpid() on Windows
3246         * gst/gstinfo.c:
3247           include process.h if we have it
3248         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3249         * gst/gstmemchunk.h:
3250           fix signedness issues
3251         * win32/common/libgstreamer.def:
3252           fix get_type's
3253
3254 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3255
3256         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3257         fix. Because of unsigned ints, caps intersection was going nuts and
3258         trying to access structures with G_MAXUINT index. That fixes
3259         videotestsrc ! ffmpegcolorspace ! fakesink
3260         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3261         consistency.
3262
3263 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3264
3265         * configure.ac:
3266           use the gettext macro
3267         * gst/elements/gstelements.c:
3268         * gst/gst.c:
3269         * gst/indexers/gstindexers.c:
3270           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3271         * win32/common/config.h:
3272           updated config.h
3273         * win32/common/config.h.in:
3274           add the template to generate config.h
3275         * win32/common/gstenumtypes.c:
3276         * win32/common/gstversion.h:
3277           updated copies
3278
3279 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3280
3281         * gst/gst.c: (gst_version):
3282         * gst/gstversion.h.in:
3283           add the nano
3284
3285 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3286
3287         * gst/gstevent.h:
3288           Oops, add missing closing bracket.
3289
3290 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3291
3292         * configure.ac:
3293           use common m4's for argument checking
3294
3295 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3296
3297         * docs/gst/gstreamer-sections.txt:
3298         * gst/gstevent.h:
3299           Add GST_EVENT_TYPE_NAME() macro.
3300
3301 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3302
3303         * gst/gstinfo.c:
3304         * gst/gstpluginfeature.c:
3305         * gst/gsttask.c:
3306           privatize more symbols
3307
3308 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3309
3310         * configure.ac:
3311           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3312           everything that uses GStreamer API should have the includes
3313
3314 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3315
3316         * docs/gst/gstreamer-sections.txt:
3317         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3318         * gst/gstvalue.h:
3319           give each value a _get_type, removes the DATA exports
3320
3321 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3322
3323         * gst/gst.c:
3324         * gst/gst.h:
3325           remove _gst_registry_auto_load, not used anymore
3326         * gst/gstbin.c: (gst_bin_get_type):
3327         * gst/gstbin.h:
3328         * gst/gstelement.c: (gst_element_get_type):
3329         * gst/gstelement.h:
3330         * gst/gstobject.c: (gst_object_get_type):
3331         * gst/gstobject.h:
3332         * gst/gstpad.c: (gst_pad_get_type):
3333         * gst/gstpad.h:
3334           make _get_type functions similar, fixes data export from library
3335
3336 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3337
3338         * configure.ac:
3339           correctly make conditionals
3340         * gst/elements/Makefile.am:
3341         * gst/elements/gstelements.c:
3342           fix typo causing fdsrc not to build
3343
3344 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3345
3346         * testsuite/Makefile.am:
3347         * testsuite/bytestream/.cvsignore:
3348         * testsuite/bytestream/Makefile.am:
3349         * testsuite/bytestream/filepadsink.c:
3350         * testsuite/bytestream/gstbstest.c:
3351         * testsuite/bytestream/test1.c:
3352         * testsuite/bytestream/testfile1:
3353         * testsuite/caps/normalisation.c:
3354         * testsuite/caps/random.c: (main):
3355         * testsuite/cleanup/.cvsignore:
3356         * testsuite/cleanup/Makefile.am:
3357         * testsuite/cleanup/cleanup1.c:
3358         * testsuite/cleanup/cleanup2.c:
3359         * testsuite/cleanup/cleanup3.c:
3360         * testsuite/cleanup/cleanup4.c:
3361         * testsuite/cleanup/cleanup5.c:
3362         * testsuite/controller/interpolator.c:
3363         * testsuite/debug/printf_extension.c: (main):
3364         * testsuite/elements/tee.c:
3365         * testsuite/negotiation/.cvsignore:
3366         * testsuite/negotiation/Makefile.am:
3367         * testsuite/negotiation/pad_link.c:
3368         * testsuite/pad/Makefile.am:
3369         * testsuite/pad/chainnopull.c:
3370         * testsuite/pad/getnopush.c:
3371         * testsuite/pad/link.c:
3372         * testsuite/refcounting/sched.c: (create_pipeline):
3373         * testsuite/registry/Makefile.am:
3374         * testsuite/registry/gst-print-formats.c:
3375         * testsuite/schedulers/.cvsignore:
3376         * testsuite/schedulers/142183-2.c:
3377         * testsuite/schedulers/142183.c:
3378         * testsuite/schedulers/143777-2.c:
3379         * testsuite/schedulers/143777.c:
3380         * testsuite/schedulers/147713.c:
3381         * testsuite/schedulers/147819.c:
3382         * testsuite/schedulers/147894-2.c:
3383         * testsuite/schedulers/147894.c:
3384         * testsuite/schedulers/Makefile.am:
3385         * testsuite/schedulers/group_link.c:
3386         * testsuite/schedulers/queue_link.c:
3387         * testsuite/schedulers/relink.c:
3388         * testsuite/schedulers/unlink.c:
3389         * testsuite/schedulers/unref.c:
3390         * testsuite/schedulers/useless_iteration.c:
3391         * testsuite/states/bin.c:
3392           clean out/remove some stuff from the testsuite directories
3393
3394 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3395
3396         * configure.ac:
3397           check for some headers
3398         * gst/elements/Makefile.am:
3399         * gst/elements/gstelements.c:
3400           don't compile fdsrc without sys/socket.h
3401         * gst/indexers/Makefile.am:
3402         * gst/indexers/gstindexers.c: (plugin_init):
3403           don't compile fileindex without mmap
3404
3405 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3406
3407         * configure.ac:
3408           reorganize
3409           clean up
3410           document more
3411           remove cruft
3412         * check/Makefile.am:
3413         * docs/gst/Makefile.am:
3414         * examples/helloworld/Makefile.am:
3415         * gst/Makefile.am:
3416         * gst/base/Makefile.am:
3417         * gst/check/Makefile.am:
3418         * gst/elements/Makefile.am:
3419         * gst/indexers/Makefile.am:
3420         * gst/parse/Makefile.am:
3421         * libs/gst/controller/Makefile.am:
3422         * libs/gst/dataprotocol/Makefile.am:
3423         * examples/helloworld/helloworld.c: (event_loop):
3424           compile fixes, though it's not being compiled currently
3425
3426 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3427
3428         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3429           Add some simple tests for the new taglist date API.
3430
3431 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3432
3433         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3434         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3435           Beautify 'last-message' output: print 'none' for buffer timestamps
3436           and durations if none is set; improve alignment with next messages.
3437
3438 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3439
3440         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3441         * gst/gstpluginfeature.h:
3442         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3443         * gst/gstregistry.h:
3444         * docs/gst/gstreamer-sections.txt:
3445           Add new API to check plugin feature version requirements.
3446
3447         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3448           Some basic tests for the above.         
3449
3450 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3451
3452         * gst/gststructure.c: (gst_structure_to_string):
3453           guard against NULL printf - happens when for example
3454           a message structure with GstClock gets serialized
3455
3456 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3457
3458         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3459           Fix presumable copy'n'pasto.
3460
3461 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3462
3463         * gst/elements/gstfakesrc.h:
3464         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3465         * gst/elements/gsttypefindelement.c:
3466           fix some signedness
3467         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3468           I wonder if this could actually write +2GB files before
3469
3470 2005-10-13  Andy Wingo  <wingo@pobox.com>
3471
3472         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3473         Fix Timmeke Waymans bug.
3474         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3475         string of the proper length to gst_caps_from_string. There's a
3476         potential for, before this fix, that this could cause someone
3477         connecting over the network to cause a segfault if the payload is
3478         not NUL-terminated.
3479
3480 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3481
3482         * docs/design/draft-push-pull.txt:
3483         * docs/design/part-overview.txt:
3484         * docs/random/TODO-pre-0.9:
3485         * docs/random/old/ChangeLog.gstreamer:
3486         * gst/base/gstpushsrc.c:
3487         * gst/gstclock.c:
3488           fixed typos
3489
3490 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3491
3492         * gst/glib-compat.c: (gst_flags_get_first_value):
3493         * gst/glib-compat.h:
3494         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3495         (gst_value_compare_double), (gst_value_serialize_flags):
3496           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3497           infinite loop
3498
3499 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3500
3501         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3502         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3503           fix up debugging
3504         * tools/gst-launch.c: (event_loop):
3505           print out clock nicely
3506
3507 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3508
3509         * docs/gst/gstreamer-sections.txt:
3510         * gst/gsttaglist.h:
3511         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3512         (gst_tag_list_get_date_index):
3513           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3514           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3515
3516 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3517
3518         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3519         (gst_collectpads_chain):
3520         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3521         in CollectData.
3522
3523 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3524
3525         * docs/gst/gstreamer-sections.txt:
3526         * gst/gst.c:
3527         * gst/gsterror.h:
3528         * tools/gst-inspect.c: (main):
3529         * tools/gst-launch.c: (main):
3530         * tools/gst-run.c: (main):
3531         * tools/gst-xmlinspect.c: (main):
3532           fix GOption context leaks
3533           doc fixes
3534
3535 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3536
3537         * gst/gstbus.c:
3538           use HAVE_UNISTD_H
3539         * win32/common/config.h:
3540           update config
3541         * win32/vs6/grammar.dsp:
3542         * win32/vs6/libgstelements.dsp:
3543         * win32/vs6/libgstreamer.dsp:
3544           update vs6 files
3545
3546 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3547
3548         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3549         * gst/base/gstbasesrc.c: (gst_base_src_query):
3550           fix more guint64<->gdouble conversions
3551
3552 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3553
3554         * Makefile.am:
3555           add win32-update target
3556         * win32/common/gstconfig.h:
3557         * win32/common/gstenumtypes.c:
3558         * win32/common/gstenumtypes.h:
3559         * win32/common/gstversion.h:
3560           add files that visual studio can't generate
3561
3562 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3563
3564         * Makefile.am:
3565           add a win32-update target
3566         * configure.ac:
3567
3568 2005-10-12  Wim Taymans  <wim@fluendo.com>
3569
3570         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3571         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3572         * gst/gstelement.c: (gst_element_commit_state),
3573         (gst_element_set_state):
3574         Protect flags with proper lock.
3575         unref provided cached clock in dispose.
3576
3577 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3578
3579         * gst/gst.c:
3580         * gst/gstminiobject.h:
3581         * gst/gstpad.h:
3582         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3583           removed unused flags from miniobject
3584           doc fixes
3585
3586 2005-10-12  Wim Taymans  <wim@fluendo.com>
3587
3588         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3589         (gst_file_sink_event), (gst_file_sink_render):
3590         Flush before seeking.
3591
3592 2005-10-12  Andy Wingo  <wingo@pobox.com>
3593
3594         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3595         always been the case.
3596
3597 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3598
3599         * check/gst/gstbin.c: (GST_START_TEST):
3600         * docs/gst/gstreamer-sections.txt:
3601         * gst/base/gstbasesink.c: (gst_base_sink_init):
3602         * gst/base/gstbasesrc.c: (gst_base_src_init),
3603         (gst_base_src_get_range), (gst_base_src_check_get_range),
3604         (gst_base_src_start), (gst_base_src_stop):
3605         * gst/base/gstbasesrc.h:
3606         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3607         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3608         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3609         (bin_bus_handler):
3610         * gst/gstbin.h:
3611         * gst/gstbuffer.h:
3612         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3613         * gst/gstbus.h:
3614         * gst/gstelement.c: (gst_element_is_locked_state),
3615         (gst_element_set_locked_state), (gst_element_commit_state),
3616         (gst_element_set_state):
3617         * gst/gstelement.h:
3618         * gst/gstindex.c: (gst_index_init):
3619         * gst/gstindex.h:
3620         * gst/gstminiobject.h:
3621         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3622         (gst_object_set_parent):
3623         * gst/gstobject.h:
3624         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3625         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3626         * gst/gstpad.h:
3627         * gst/gstpadtemplate.h:
3628         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3629         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3630         * gst/gstpipeline.h:
3631         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3632         (gst_file_index_commit):
3633         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3634         * testsuite/pad/link.c: (gst_test_src_init),
3635         (gst_test_filter_init), (gst_test_sink_init):
3636         * testsuite/states/locked.c: (main):
3637           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3638           moved bitshift from macro to enum definition
3639
3640 2005-10-12  Wim Taymans  <wim@fluendo.com>
3641
3642         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3643         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3644         (gst_file_sink_render):
3645         Some more debugging info.
3646
3647 2005-10-12  Wim Taymans  <wim@fluendo.com>
3648
3649         * docs/design/part-states.txt:
3650         * tools/gst-launch.c: (main):
3651         Some doc updates.
3652         Revert non-intentional change.
3653
3654 2005-10-12  Wim Taymans  <wim@fluendo.com>
3655
3656         * check/gst/gstbin.c: (GST_START_TEST):
3657         * check/gst/gstelement.c: (GST_START_TEST):
3658         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3659         * check/gst/gstghostpad.c: (GST_START_TEST):
3660         * check/gst/gstpipeline.c: (GST_START_TEST):
3661         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3662         * check/states/sinks.c: (GST_START_TEST):
3663         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3664         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3665         (gst_bin_remove_func), (gst_bin_get_state_func),
3666         (gst_bin_recalc_state), (gst_bin_change_state_func),
3667         (bin_bus_handler):
3668         * gst/gstelement.c: (gst_element_get_state_func),
3669         (gst_element_get_state), (gst_element_abort_state),
3670         (gst_element_commit_state), (gst_element_set_state),
3671         (gst_element_change_state), (gst_element_change_state_func):
3672         * gst/gstelement.h:
3673         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3674         (gst_pipeline_provide_clock_func):
3675         * gst/gstutils.c: (gst_element_link_pads_filtered):
3676         * tools/gst-launch.c: (main):
3677         * tools/gst-typefind.c: (main):
3678         Use GstClockTime in _get_state() instead of GTimeVal.
3679         Remove old code in gstutils.c
3680
3681 2005-10-12  Andy Wingo  <wingo@pobox.com>
3682
3683         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3684         removed.
3685
3686         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3687         there is no task. Shouldn't affect any code, as nothing in our
3688         plugins checks this return value.
3689         (gst_pad_stop_task): Also take the stream lock if the pad has no
3690         task. Docs updated.
3691
3692 2005-10-12  Wim Taymans  <wim@fluendo.com>
3693
3694         * gst/gstpad.c: (pre_activate), (post_activate),
3695         (gst_pad_activate_pull), (gst_pad_activate_push):
3696         Cleanup activation code. Reset old state if
3697         activation failed.
3698
3699 2005-10-12  Wim Taymans  <wim@fluendo.com>
3700
3701         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3702         (gst_base_sink_change_state):
3703         No need to prerol after receiving EOS.
3704
3705         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3706         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3707         * gst/elements/gstidentity.c: (gst_identity_event):
3708         Print events more verbosely.
3709
3710 2005-10-12  Wim Taymans  <wim@fluendo.com>
3711
3712         * check/Makefile.am:
3713         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3714         * check/states/sinks2.c:
3715         Moved sinks2 testcode in sinks check.
3716
3717         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3718         (gst_bin_remove_func), (gst_bin_recalc_state),
3719         (gst_bin_change_state_func), (bin_bus_handler):
3720         Fix potential race condition when _get_state() iterated over an
3721         ASYNC element right before it posted a state completion.
3722
3723         * gst/gstclock.h:
3724         Do proper cast here.
3725
3726         * gst/gstevent.c: (gst_event_new_newsegment),
3727         (gst_event_parse_newsegment):
3728         A playback rate of 0.0 is not allowed.
3729
3730 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3731
3732         * win32/common/config.h:
3733         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3734         (_trewinddir), (_ttelldir), (_tseekdir):
3735         * win32/common/dirent.h:
3736         * win32/common/gtchar.h:
3737         * win32/common/libgstbase.def:
3738         * win32/common/libgstreamer.def:
3739         * win32/vs6/grammar.dsp:
3740         * win32/vs6/gst_inspect.dsp:
3741         * win32/vs6/gst_launch.dsp:
3742         * win32/vs6/gstreamer.dsw:
3743         * win32/vs6/libgstbase.dsp:
3744         * win32/vs6/libgstelements.dsp:
3745         * win32/vs6/libgstreamer.dsp:
3746           Visual Studio 6 project files, and a new common directory.
3747           Phear.
3748
3749 2005-10-11  Wim Taymans  <wim@fluendo.com>
3750
3751         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3752         (gst_base_sink_do_sync), (gst_base_sink_query),
3753         (gst_base_sink_change_state):
3754         * gst/base/gstbasesink.h:
3755         Correctly parse newsegment info.
3756
3757 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3758
3759         * gst/gst.c: (init_post):
3760           split plugin paths correctly
3761
3762 2005-10-11  Wim Taymans  <wim@fluendo.com>
3763
3764         * check/gst/gstevent.c: (GST_START_TEST):
3765         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3766         (gst_base_sink_change_state):
3767         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3768         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3769         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3770         * gst/gstevent.c: (gst_event_new_newsegment),
3771         (gst_event_parse_newsegment):
3772         * gst/gstevent.h:
3773         Added extra flag to newsegment for future API freeze.
3774         Updated check and base elements.
3775
3776 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3777
3778         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3779         (gst_collectpads_add_pad), (gst_collectpads_pop),
3780         (gst_collectpads_event), (gst_collectpads_chain):
3781         * gst/base/gstcollectpads.h: Handle EOS correctly.
3782
3783 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3784
3785         * tools/gst-launch.c: (main):
3786           more null protecting
3787
3788 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3789
3790         * gst/gst-i18n-lib.h:
3791           check for ENABLE_NLS, not GETTEXT_PACKAGE
3792         * gst/gstregistry.c: (gst_registry_add_plugin),
3793         (gst_registry_scan_path_level),
3794         (_gst_registry_remove_cache_plugins):
3795           protect possibly NULL strings
3796         * gst/parse/types.h:
3797           config.h already included before
3798         * tools/gst-inspect.c: (main):
3799           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3800           check for ENABLE_NLS, not GETTEXT_PACKAGE
3801         * tools/gst-launch.c: (main):
3802           check for ENABLE_NLS, not GETTEXT_PACKAGE
3803
3804 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3805
3806         * configure.ac:
3807           if we don't have glib, fail before testing 2.8
3808         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3809           fix a leak, should fix plugins-base testsuite
3810
3811 2005-10-11  Andy Wingo  <wingo@pobox.com>
3812
3813         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3814         take the mode we're going to as an arg. Go head and set the mode
3815         and flushing flags now, so that if the activate function starts a
3816         thread all the flags will be in the right state.
3817         (post_activate): Renamed also. Just handle making sure streaming
3818         finishes for the deactivation case, and setting the deactivated
3819         mode.
3820         (gst_pad_set_active): Complain loudly if deactivation fails.
3821         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3822         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3823         remove the terrible hack.
3824
3825 2005-10-11  Wim Taymans  <wim@fluendo.com>
3826
3827         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3828         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3829         (gst_bin_recalc_state), (gst_bin_change_state_func),
3830         (gst_bin_dispose), (bin_bus_handler):
3831         * gst/gstbin.h:
3832         Prepare to make current EOS message queue more generic.
3833         Fix some typos.
3834
3835         * gst/gstevent.c: (gst_event_new_newsegment),
3836         (gst_event_parse_newsegment):
3837         * gst/gstevent.h:
3838         Rename base to stream_time.
3839
3840         * gst/gstmessage.h:
3841         Fix typo in docs.
3842
3843 2005-10-11  Wim Taymans  <wim@fluendo.com>
3844
3845         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3846         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3847         (gst_bin_change_state_func), (bin_bus_handler):
3848         * gst/gstbin.h:
3849         Work on proper clock selection.
3850
3851 2005-10-11  Edward Hervey  <edward@fluendo.com>
3852
3853         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3854         * libs/gst/controller/gstcontroller.h:
3855         Added GList* version of _remove_properties() in order to be able to wrap
3856         it in bindings.
3857
3858 2005-10-11  Wim Taymans  <wim@fluendo.com>
3859
3860         * docs/design/part-states.txt:
3861         Some more docs.
3862
3863         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3864         (gst_bin_change_state_func), (bin_bus_handler):
3865         Doc updates. Don't distribute the same clock over and over again.
3866
3867         * gst/gstclock.c:
3868         * gst/gstclock.h:
3869         Doc updates.
3870
3871         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3872         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3873         (gst_pad_send_event):
3874         * gst/gstpad.h:
3875         Make probe emission threadsafe again.
3876         Register quarks and move _get_name() from utils.
3877         Doc updates.
3878
3879         * gst/gstpipeline.c: (gst_pipeline_class_init),
3880         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3881         Only redistribute the clock of it changed.
3882
3883         * gst/gstsystemclock.h:
3884         Doc updates. 
3885
3886         * gst/gstutils.c:
3887         * gst/gstutils.h:
3888         Moved the _flow_get_name() to GstPad.
3889
3890 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3891
3892         * check/gst-libs/gdp.c: (GST_START_TEST):
3893         * check/gst/gstcaps.c: (GST_START_TEST):
3894         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3895         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3896         (gst_dp_packet_from_caps):
3897           fix more valgrind warnings before turning up the heat
3898
3899 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3900
3901         * gst/parse/grammar.y:
3902           some cleanup before the hacking
3903
3904 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3905
3906         * gst/base/gstbasesrc.c: (gst_base_src_query):
3907           use conversions
3908         * gst/gstutils.c: (gst_guint64_to_gdouble),
3909         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3910         * gst/gstutils.h:
3911           externalize, basesrc uses it
3912           obviously the implementation needs testing
3913
3914 2005-10-10  Wim Taymans  <wim@fluendo.com>
3915
3916         * tests/sched/Makefile.am:
3917         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3918         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3919
3920 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3921
3922         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3923           apparently converting from guint64 to double is not implemented
3924           on MSVC
3925
3926 2005-10-10  Wim Taymans  <wim@fluendo.com>
3927
3928         * check/Makefile.am:
3929         * check/generic/states.c: (GST_START_TEST):
3930         * check/gst/gstbin.c: (GST_START_TEST):
3931         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3932         * check/states/sinks.c: (GST_START_TEST):
3933         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3934         (main):
3935         Check fixes, use API as stated in design docs, remove hacks.
3936
3937         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3938         (gst_base_sink_change_state):
3939         Catch stopping our task while we're shutting down.
3940
3941         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3942         (gst_bin_remove_func), (gst_bin_get_state_func),
3943         (gst_bin_recalc_state), (gst_bin_change_state_func),
3944         (bin_bus_handler):
3945         * gst/gstbin.h:
3946         * gst/gstelement.c: (gst_element_init),
3947         (gst_element_get_state_func), (gst_element_abort_state),
3948         (gst_element_commit_state), (gst_element_lost_state),
3949         (gst_element_set_state), (gst_element_change_state),
3950         (gst_element_change_state_func):
3951         * gst/gstelement.h:
3952         New state change algorithm (see #318116)
3953
3954         * gst/gstpipeline.c: (gst_pipeline_class_init),
3955         (gst_pipeline_init), (gst_pipeline_set_property),
3956         (gst_pipeline_get_property), (do_pipeline_seek),
3957         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3958         * gst/gstpipeline.h:
3959         Remove crude state change hacks.
3960
3961         * gst/gstutils.h:
3962         Remove crude hacks.
3963
3964         * tools/gst-launch.c: (main):
3965         Fixes for state change. Needs some more work to fully use the
3966         new stuff.
3967
3968 2005-10-10  Andy Wingo  <wingo@pobox.com>
3969
3970         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3971
3972         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3973         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3974         issue.
3975
3976 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3977
3978         * gst/gstiterator.c: (gst_iterator_new):
3979           Fix my previous commit: GTypes passed to gst_iterator_new()
3980           can be fundamental types.
3981
3982 2005-10-10  Wim Taymans  <wim@fluendo.com>
3983
3984         * gst/gstelement.c: (gst_element_iterate_pad_list),
3985         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3986         (gst_element_iterate_sink_pads):
3987         Use src/sink pads lists for the respective iterators instead
3988         of filtering.
3989
3990 2005-10-10  Andy Wingo  <wingo@pobox.com>
3991
3992         Merged in popt removal + GOption addition patch from Ronald, bug
3993         #169772.
3994
3995         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3996         GstElement macros around, remove popt-related symbols, add goption
3997         stuff.
3998
3999         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4000         
4001         * docs/gst/Makefile.am:
4002         * docs/libs/Makefile.am: No POPT_CFLAGS.
4003         
4004         * examples/manual/Makefile.am:
4005         * docs/manual/basics-init.xml: Doc updates with an example.
4006         
4007         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4008         (gst_init), (parse_one_option), (parse_goption_arg):
4009         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4010         bit of hand merging and debugging to get the GOption stuff working
4011         tho.
4012         
4013         * tests/Makefile.am:
4014         * tools/Makefile.am:
4015         * tools/gst-inspect.c: (main):
4016         * tools/gst-launch.c: (main):
4017         * tools/gst-run.c: (main):
4018         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4019
4020 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4021
4022         * gst/gstiterator.c: (gst_iterator_new):
4023           Add assertions to make sure passed GType is likely to really
4024           be a GType (as the compiler won't catch it if the size and
4025           GType arguments get mixed up, see #318447).
4026
4027 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4028
4029         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4030
4031         * gst/gstbin.c: (gst_bin_iterate_sorted):
4032           Pass GType and size arguments to gst_iterator_new() in the right
4033           order (maybe we should make _new() take the GType as first argument
4034           just like _new_list()?) (#318447).
4035           
4036
4037 2005-10-10  Wim Taymans  <wim@fluendo.com>
4038
4039         * gst/gstelement.c: (gst_element_finalize):
4040         And free the GStaticRecMutex too
4041
4042 2005-10-10  Andy Wingo  <wingo@pobox.com>
4043
4044         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4045         Allocate and free the mutex properly.
4046
4047         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4048         New macros.
4049         (GstElement): The state_lock is now recursive. Rebuild your
4050         plugins, suckers. Old macros adapted.
4051
4052         * docs/gst/gstreamer-sections.txt: Doc updates.
4053
4054         * gst/gstutils.h:
4055         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4056         (g_static_rec_cond_wait): Ported from state changes patch, while
4057         we wait on bug #317802 to be solved in a well-distributed GLib.
4058
4059         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4060         gst_element_change_state, variable name changes.
4061         (gst_element_change_state): Split out of gst_element_set_state in
4062         preparation for the state change merge. Doesn't pay attention to
4063         the 'transition' argument.
4064         (gst_element_set_state): Updates, hopefully purely cosmetic.
4065         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4066         state change patch.
4067         (gst_element_get_state_func): Renamed from get_state, cosmetic
4068         changes.
4069
4070 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4071
4072         * gst/elements/gstelements.c:
4073         * win32/GStreamer.vcproj:
4074         * win32/config.h:
4075         * win32/dirent.c: (_tseekdir):
4076         * win32/gst-inspect.vcproj:
4077         * win32/gst-launch.vcproj:
4078         * win32/gstconfig.h:
4079         * win32/gstelements.vcproj:
4080         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4081         * win32/gstreamer.def:
4082         * win32/msvc71.sln:
4083           updates for the win32 build (patch from Sebastien Moutte)
4084
4085 2005-10-10  Andy Wingo  <wingo@pobox.com>
4086
4087         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4088         gst_bin_get_state, cleaned up (but no logic changes).
4089         (bin_element_is_sink): Comment updates.
4090         (sink_iterator_filter): Remove needless cast.
4091         (gst_bin_iterate_sinks): Doc update.
4092         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4093         cleaned up (but no logic changes).
4094
4095         * check/states/sinks.c (test_src_sink): Cleanups from the state
4096         change patch.
4097         (test_livesrc_sink): Sync on the state.
4098
4099         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4100         the state change patch.
4101
4102         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4103         change patch.
4104
4105         * check/gst/gstbin.c: Merge in some style fixes and additional
4106         checks from Wim's state change patch.
4107
4108 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4109
4110         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4111         (gst_type_find_helper):
4112           Check whether we have the requested data already in our list of
4113           cached buffers before pulling a new buffer; also make the buffer
4114           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4115
4116 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4117
4118         * gst/gstcaps.c:
4119         * gst/gstevent.c:
4120           doc updates
4121         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4122           don't use long long, it's not portable.  Replacing with
4123           gint64 seems to work; let's hope no skeletons fall out of the closet.
4124
4125 2005-10-10  Andy Wingo  <wingo@pobox.com>
4126
4127         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4128
4129 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4130
4131         * docs/gst/gstreamer-sections.txt:
4132         * gst/gstevent.c:
4133         * gst/gstevent.h:
4134         * gst/gstinfo.c:
4135         * gst/gstinfo.h:
4136         * gst/gstmessage.c: (gst_message_parse_state_changed):
4137         * gst/gstpad.c:
4138         * gst/gstpad.h:
4139           more docs, fix compilation
4140
4141 2005-10-09  Philippe Khalaf <burger@speedy.org>
4142         * gst/gstmessage.c:
4143           Fixed a few forgotten variables on previous commit
4144
4145 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4146
4147         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4148           Fix evil typefind crasher: getrange() might return a short
4149           buffer at the end of a file, but gst_type_find_peek() must
4150           either return the full data as requested or NULL, but
4151           never a short buffer.
4152
4153 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4154
4155         * gst/gstmessage.c: (gst_message_new_state_changed),
4156         (gst_message_parse_state_changed):
4157         * gst/gstmessage.h:
4158           don't use "new", it's a C++ keyword
4159
4160 2005-10-08  Wim Taymans  <wim@fluendo.com>
4161
4162         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4163         * gst/gstelement.c: (gst_element_post_message):
4164         * gst/gstpipeline.c: (gst_pipeline_change_state):
4165         Small docs and debug updates.
4166
4167 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4168
4169         * docs/gst/gstreamer-sections.txt:
4170         * gst/gstelementfactory.c:
4171         * gst/gstevent.c:
4172         * gst/gsttaglist.c:
4173           more docs
4174
4175 2005-10-08  Wim Taymans  <wim@fluendo.com>
4176
4177         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4178         (gst_bin_dispose), (bin_bus_handler):
4179         Fix typos, add comments.
4180         Clear EOS list when going to PAUSED from any direction and do it
4181         in a threadsafe way.
4182         Get base time in a threadsafe way too.
4183         Fix confusing debug in the change_state function.
4184         Various other small cleanups.
4185         
4186         * gst/gstelement.c: (gst_element_post_message):
4187         Fix very verbose bus posting code.
4188
4189         * gst/gstpipeline.c: (gst_pipeline_class_init),
4190         (gst_pipeline_set_property), (gst_pipeline_get_property),
4191         (gst_pipeline_change_state):
4192         Small ARG_ -> PROP_ cleanup
4193
4194 2005-10-08  Wim Taymans  <wim@fluendo.com>
4195
4196         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4197         Do a less CPU demanding EOS check because we can.
4198
4199 2005-10-08  Wim Taymans  <wim@fluendo.com>
4200
4201         * libs/gst/dataprotocol/dataprotocol.c:
4202         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4203         (gst_dp_packet_from_event):
4204         * libs/gst/dataprotocol/dataprotocol.h:
4205         * libs/gst/dataprotocol/dp-private.h:
4206         It's about time we bump the version number.
4207         Since event types don't fit in the guint8 anymore describing
4208         the payload type, make payload type 16 bits wide.
4209
4210 2005-10-08  Wim Taymans  <wim@fluendo.com>
4211
4212         * docs/design/part-TODO.txt:
4213         * docs/design/part-clocks.txt:
4214         * docs/design/part-events.txt:
4215         * docs/design/part-gstbin.txt:
4216         * docs/design/part-gstelement.txt:
4217         * docs/design/part-gstpipeline.txt:
4218         * docs/design/part-live-source.txt:
4219         * docs/design/part-messages.txt:
4220         * docs/design/part-overview.txt:
4221         * docs/design/part-states.txt:
4222         Many doc updates.
4223
4224 2005-10-08  Wim Taymans  <wim@fluendo.com>
4225
4226         * gst/gstevent.c:
4227         * gst/gstevent.h:
4228         Fix event quark registration.
4229         Add some space between events so we can insert them in the
4230         right groups.
4231
4232 2005-10-08  Wim Taymans  <wim@fluendo.com>
4233
4234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4235         (gst_base_sink_handle_buffer):
4236         Better log message.
4237
4238         * gst/gstbus.h:
4239         * gst/gstelement.h:
4240         More docs.
4241
4242         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4243         (gst_queue_set_property), (gst_queue_get_property):
4244         * gst/gstqueue.h:
4245         Remove old unused properties.
4246
4247 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4248         * docs/gst/gstreamer-sections.txt:
4249         * gst/gstmessage.c:
4250         * gst/gstmessage.h:
4251         * gst/gstminiobject.c:
4252         * gst/gstminiobject.h:
4253         * gst/gstobject.h:
4254         * gst/gstpad.h:
4255         * gst/gstutils.h:
4256           lots of new docs and doc fixes
4257
4258 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4259
4260         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4261         * gst/gstplugin.h:
4262         * gst/gstregistry.c: (gst_registry_lookup_locked),
4263         (gst_registry_scan_path_level):
4264         * gst/gstregistryxml.c: (load_plugin):
4265           Only ever load one plugin for a given plugin basename.
4266           This ensures correct overriding of GST_PLUGIN_PATH over
4267           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4268           system installed plugins.
4269
4270 2005-10-08  Wim Taymans  <wim@fluendo.com>
4271
4272         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4273         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4274         Prepare for doing QOS.
4275
4276 2005-10-08  Wim Taymans  <wim@fluendo.com>
4277
4278         * check/gst/gstbin.c: (GST_START_TEST):
4279         * check/pipelines/cleanup.c: (GST_START_TEST):
4280         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4281         Allow new clock message too.
4282
4283 2005-10-08  Wim Taymans  <wim@fluendo.com>
4284
4285         * gst/gstmessage.c: (gst_message_new_error),
4286         (gst_message_new_warning), (gst_message_new_tag),
4287         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4288         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4289         (gst_message_new_segment_start), (gst_message_new_segment_done),
4290         (gst_message_parse_state_changed),
4291         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4292         (gst_message_parse_new_clock):
4293         * gst/gstmessage.h:
4294         Also carry the clock in question.
4295
4296 2005-10-08  Wim Taymans  <wim@fluendo.com>
4297
4298         * gst/gstmessage.c: (gst_message_new_custom),
4299         (gst_message_new_eos), (gst_message_new_error),
4300         (gst_message_new_warning), (gst_message_new_tag),
4301         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4302         (gst_message_new_new_clock), (gst_message_new_segment_start),
4303         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4304         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4305         * gst/gstmessage.h:
4306         Clean up.
4307         Added clock related messages.
4308
4309         * gst/gstpipeline.c: (gst_pipeline_change_state):
4310         Post message when the clock changed.
4311
4312         * tools/gst-launch.c: (event_loop):
4313         Print new clock.
4314
4315 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4316
4317         * tools/gst-inspect.c: (print_element_properties_info):
4318           Can't pass NULL strings to g_print() on windows.
4319
4320 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4321
4322         * docs/Makefile.am:
4323         * docs/gst/Makefile.am:
4324         * docs/gst/gstreamer-docs.sgml:
4325         * docs/gst/running.xml:
4326         * docs/version.entities.in:
4327           add a chapter on running GStreamer.
4328           document GST_DEBUG and GST_PLUGIN* env vars
4329
4330 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4331
4332         * Makefile.am:
4333           remove include dir
4334         * configure.ac:
4335           remove PLUGINS_BUILDDIR stuff
4336         * gst/gst.c: (init_post):
4337           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4338         * idiottest.mak:
4339           remove, it was condescending and not needed
4340
4341 2005-10-08  Wim Taymans  <wim@fluendo.com>
4342
4343         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4344         (gst_base_sink_handle_object), (gst_base_sink_event),
4345         (gst_base_sink_wait), (gst_base_sink_handle_event),
4346         (gst_base_sink_change_state):
4347         * gst/base/gstbasesink.h:
4348         Repost EOS message while going to PLAYING if still EOS.
4349         Make sure that when receiving a FLUSH_START we don't attempt
4350         to sync on the clock anymore.
4351
4352 2005-10-08  Wim Taymans  <wim@fluendo.com>
4353
4354         * tools/gst-launch.c: (event_loop):
4355         Better message printout.
4356
4357 2005-10-08  Wim Taymans  <wim@fluendo.com>
4358
4359         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4360         (gst_bin_child_proxy_get_children_count):
4361         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4362         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4363         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4364         (gst_child_proxy_set_valist):
4365         * gst/parse/grammar.y:
4366         Make ChildProxy threadsafe and fix mem leaks.
4367
4368 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4369
4370         * gst/gst.c: (init_post):
4371           debug the GST_PLUGIN_ env vars
4372
4373 2005-10-08  Wim Taymans  <wim@fluendo.com>
4374
4375         * check/gst/gstbin.c: (GST_START_TEST):
4376         * check/gst/gstmessage.c: (GST_START_TEST):
4377         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4378         * gst/gstelement.c: (gst_element_commit_state),
4379         (gst_element_lost_state):
4380         * gst/gstmessage.c: (gst_message_new_state_changed),
4381         (gst_message_parse_state_changed):
4382         * gst/gstmessage.h:
4383         * tools/gst-launch.c: (event_loop):
4384         Added extra field to STATE_CHANGE message with the pending
4385         state, which will be different from the new state soon.
4386
4387 2005-10-08  Wim Taymans  <wim@fluendo.com>
4388
4389         * gst/gstbus.c: (gst_bus_pop):
4390         * gst/gstclock.c:
4391         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4392         Small cleanups and doc updates.
4393
4394 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4395
4396         * gst/gst.c: (init_pre):
4397         * gst/gstbin.c: (gst_bin_add_func):
4398           log distributing clocks and base time
4399         * gst/gstregistry.c: (gst_registry_add_plugin),
4400         (gst_registry_scan_path_level), (gst_registry_scan_path):
4401           clean up the debugging output a little
4402         * gst/gstutils.c: (gst_element_state_get_name):
4403           warn about a memleak (I've actually seen this be used, though
4404           it was probably a bug)
4405
4406 2005-10-07  Wim Taymans  <wim@fluendo.com>
4407
4408         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4409         (gst_base_src_init), (gst_base_src_default_newsegment),
4410         (gst_base_src_newsegment), (gst_base_src_do_seek),
4411         (gst_base_src_loop), (gst_base_src_start):
4412         * gst/base/gstbasesrc.h:
4413         Make the newsegment event customizable by subclasses.
4414
4415 2005-10-07  Wim Taymans  <wim@fluendo.com>
4416
4417         * gst/gstevent.c: (gst_event_new_buffersize),
4418         (gst_event_parse_buffersize):
4419         * gst/gstevent.h:
4420         New event for future idea.
4421
4422 2005-10-07  Andy Wingo  <wingo@pobox.com>
4423
4424         * gst/gstelement.c (gst_element_post_message): Doc update.
4425
4426         * docs/gst/gstreamer-sections.txt: Update.
4427
4428         * gst/gstmessage.c (gst_message_new_application): Made into a
4429         function like honest API calls.
4430         (gst_message_new_element): New message type.
4431
4432         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4433
4434         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4435         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4436         times.
4437
4438         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4439         NO_PREROLL from gst_element_change_state to fall through.
4440
4441 2005-10-07  Wim Taymans  <wim@fluendo.com>
4442
4443         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4444         (gst_ghost_pad_do_activate_push):
4445         Activating a ghostpad with no internal pad in push mode
4446         is ok.
4447
4448 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4449
4450         * gst/gstobject.h:
4451           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4452           Fixes compilation on Windows.
4453
4454 2005-10-07  Michael Smith <msmith@fluendo.com>
4455
4456         * tools/gst-inspect.c:
4457           Print out feature and plugin count at the end when printing out
4458           all features.
4459
4460 2005-10-04  Michael Smith <msmith@fluendo.com>
4461
4462         * gst/gsterror.c: (_gst_stream_errors_init):
4463           Add another error string used in a few existing plugins.
4464
4465         * gst/gstplugin.c:
4466         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4467         * tools/gst-inspect.c: (print_element_info):
4468           When a feature disappears from a plugin (and the feature exists in
4469           the cached registry file), things went horribly wrong. This isn't a
4470           complete fix, we should actually be removing the 'missing' features
4471           from the features list when we load the actual plugin. That's not
4472           yet implemented. 
4473
4474 2005-10-04  Johan Dahlin  <johan@gnome.org>
4475
4476         * check/gst/gstiterator.c: (GST_START_TEST):
4477         * gst/gstbin.c: (gst_bin_iterate_elements),
4478         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4479         * gst/gstelement.c: (gst_element_iterate_pads):
4480         * gst/gstformat.c: (gst_format_iterate_definitions):
4481         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4482         (gst_iterator_new_list), (gst_iterator_filter):
4483         * gst/gstiterator.h:
4484         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4485         Add a GType to GstIterator, update callsites and tests.
4486
4487 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4488
4489         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4490           give events a chance to be handled by event probes when the pad
4491           is not linked
4492
4493 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4494
4495         * gst/gstevent.c: (gst_event_type_get_name),
4496         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4497         * gst/gstevent.h:
4498           add string representations for event types
4499
4500 2005-10-06  Wim Taymans  <wim@fluendo.com>
4501
4502         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4503         Don't use NULL pointers.
4504
4505 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4506
4507         * gst/gst_private.h:
4508         * gst/gstbus.c:
4509         * gst/gstelement.c:
4510         * gst/gstinfo.c:
4511         * gst/gstpluginfeature.c:
4512           widen the debug category in output to fit the biggest one we have
4513           add a bus category and use it
4514           play with the colors
4515           fix up some categories
4516
4517 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4518
4519         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4520           add push activation of sink ghost pads.
4521           Andye, please verify
4522
4523 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4524
4525         * gst/gstutils.c: (gst_element_link_pads):
4526           fix a bug in the case where neither element has a pad
4527         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4528           add a test for that case
4529
4530 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4531
4532         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4533           emit have-data before checking for peers.  This allows
4534           for probe handlers to connect elements.  This helps autopluggers.
4535         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4536         (gst_pad_suite):
4537           add six checks, linked/unlinked with no/true/false probe
4538
4539 2005-10-04  Wim Taymans  <wim@fluendo.com>
4540
4541         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4542         (gst_fake_sink_event), (gst_fake_sink_preroll),
4543         (gst_fake_sink_render), (gst_fake_sink_change_state):
4544         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4545         (gst_fake_src_get_property), (gst_fake_src_create),
4546         (gst_fake_src_stop):
4547         * gst/elements/gstidentity.c: (gst_identity_stop):
4548         Protect last_message with lock.
4549
4550 2005-10-04  Edward Hervey  <edward@fluendo.com>
4551
4552         * gst/gstformat.h: 
4553         Added precision in the comments for GST_FORMAT_DEFAULT
4554
4555 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4556
4557         * tools/gst-launch.c: (main):
4558           Don't try to run erroneous pipelines.
4559
4560 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4561
4562         * gst/gstbus.c: We don't need this header.
4563
4564 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4565
4566         * configure.ac:
4567           back to development
4568
4569 === release 0.9.3 ===
4570
4571 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4572
4573         * README:
4574         * configure.ac:
4575           Releasing 0.9.3, "Unregistered"
4576
4577 2005-10-03  Andy Wingo  <wingo@pobox.com>
4578
4579         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4580         whereby calling a pad's activatepush() function can start a thread
4581         that starts to push or pull before the pad gets the FLUSHING flag
4582         unset. Hack around it by holding the stream lock until the flag is
4583         set. Need to replace this with a proper solution. Together with
4584         the ghost pad fixes, this fixes mp3 playing/tagreading.
4585
4586         * docs/design/part-gstghostpad.txt: Add a note about activation of
4587         proxy pads outside of ghost pads.
4588
4589         * gst/gstghostpad.c: Implement the ghost pad activation design.
4590
4591 2005-10-02  Andy Wingo  <wingo@pobox.com>
4592
4593         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4594         It is volatile, after all.
4595
4596         * docs/design/part-gstghostpad.txt: Flesh out activation with
4597         ghost pads.
4598
4599         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4600         GST_DEBUG_FUNCPTR.
4601
4602 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4603
4604         * configure.ac:
4605           Fix (unused) AM_CONDITIONAL tests.
4606
4607 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4608
4609         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4610
4611         * gst/gstutils.c: (gst_pad_query_convert):
4612           Add assertion that makes sure src_val is >=0, just like
4613           gst_query_new_convert() has. (#315895)
4614
4615 2005-09-30  Edward Hervey  <edward@fluendo.com>
4616
4617         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4618         Let's not iterate pads we're not interested in, it avoids getting 
4619         sky-high refcounts on sinkpad.
4620
4621 2005-09-30  Wim Taymans  <wim@fluendo.com>
4622
4623         * gst/gstelement.c: (gst_element_set_state),
4624         (gst_element_change_state):
4625         Small tweak, element in ASYNC remains ASYNC.
4626
4627 2005-09-30  Wim Taymans  <wim@fluendo.com>
4628
4629         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4630         Only error is an error.
4631
4632         * gst/gstbin.c: (gst_bin_change_state):
4633         Better debugging.
4634
4635         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4636         Also call pad_block in pad alloc.
4637
4638         * gst/gstutils.c: (gst_flow_get_name):
4639         Better debugging.
4640
4641 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4642
4643         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4644         (gst_base_src_get_range):
4645           Fix documentation typos. Add some more debug info.
4646
4647 2005-09-29  David Schleef  <ds@schleef.org>
4648
4649         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4650           more end-user friendly.
4651         * tools/gst-inspect.c: (main): Check if command-line argument is
4652           a file and attempt to load that file as a plugin.
4653
4654 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4655
4656         * check/gst/gstbin.c:
4657         * check/states/sinks.c:
4658           fix tests for the new warning
4659         * check/gst/gstpipeline.c:
4660           add a test for pipeline and bus interaction
4661         * gst/gstelement.c:
4662           elements should be NULL if they get disposed; add a warning if not
4663
4664 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4665
4666         * gst/gstobject.c:
4667           for 2.6 refcounting, make debug log more correct by printing
4668           the actual refcounts at the time of swap (Wim)
4669
4670 2005-09-29  Andy Wingo  <wingo@pobox.com>
4671
4672         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4673         removes signal watches previously added via
4674         gst_bus_add_signal_watch.
4675         (gst_bus_add_signal_watch): Don't return the source id, just store
4676         it on the bus if there wasn't an id already.
4677
4678         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4679         add_signal_watch and remove_signal_watch.
4680
4681 2005-09-29  Edward Hervey  <edward@fluendo.com>
4682
4683         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4684         Better if we actually iterate the list :)
4685
4686 2005-09-29  Wim Taymans  <wim@fluendo.com>
4687
4688         * check/gst/gstbin.c: (GST_START_TEST):
4689         Change for new bus API.
4690
4691         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4692         (send_messages), (GST_START_TEST), (gstbus_suite):
4693         Change for new bus signal API.
4694
4695         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4696         (gst_bus_source_prepare), (gst_bus_source_check),
4697         (gst_bus_create_watch), (gst_bus_add_watch_full),
4698         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4699         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4700         * gst/gstbus.h:
4701         Remove support for multiple GSources operating on different
4702         message types as it is too complex and unneeded when using
4703         signals.
4704         Added support for receiving signals from the bus.
4705
4706 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4707
4708         * docs/libs/tmpl/gstdataprotocol.sgml:
4709         * docs/manual/advanced-dataaccess.xml:
4710         * gst/elements/gstcapsfilter.c:
4711         * gst/gstutils.c:
4712           rename filter-caps to caps property
4713
4714 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4715
4716         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4717           More robust fraction string parsing.
4718
4719         * docs/pwg/appendix-porting.xml:
4720           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4721
4722 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4723
4724         * gst/gstcaps.c: (gst_caps_do_simplify):
4725           Thou shalt not free a structure and then continue using it
4726           in the next loop iteration.
4727
4728         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4729         (gst_caps_suite):
4730           Add test case for caps simplification.
4731
4732 2005-09-29  Wim Taymans  <wim@fluendo.com>
4733
4734         * check/gst/gstbin.c: (GST_START_TEST):
4735         Oops.
4736
4737 2005-09-29  Wim Taymans  <wim@fluendo.com>
4738
4739         * check/gst/gstbin.c: (GST_START_TEST):
4740         Add bus to bin.
4741
4742         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4743         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4744         (find_element), (gst_bin_sort_iterator_next),
4745         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4746         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4747         (gst_bin_change_state), (gst_bin_dispose):
4748         A bin does not have a bus, it gets the bus from the parent.
4749
4750         * gst/gstelement.c: (gst_element_requires_clock),
4751         (gst_element_provides_clock), (gst_element_is_indexable),
4752         (gst_element_is_locked_state), (gst_element_change_state),
4753         (gst_element_set_bus_func):
4754         Small cleanups.
4755
4756         * gst/gstpipeline.c: (gst_pipeline_class_init),
4757         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4758         The pipeline provides a bus.
4759
4760 2005-09-28  Johan Dahlin  <johan@gnome.org>
4761
4762         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4763         gst_structure_get_enum instead of gst_structure_get_int
4764
4765         * gst/gststructure.c (gst_structure_get_enum): Impl.
4766
4767         * gst/gststructure.h (gst_structure_get_enum): Add
4768
4769         * docs/gst/gstreamer-sections.txt: Ditto
4770
4771         * gst/gstmessage.c (gst_message_new_state_changed): Use
4772         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4773         which does introspection.
4774         Reviewed by Christian Schaller
4775
4776 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4777
4778         * gst/gstinfo.c: (gst_debug_log_default):
4779           don't do dummy g_strdup()s
4780         * libs/gst/controller/gstcontroller.c:
4781         (on_object_controlled_property_changed),
4782         (gst_controlled_property_new), (gst_controller_new_valist),
4783         (gst_controller_new_list),
4784         (gst_controller_remove_properties_valist), (gst_controller_set),
4785         (gst_controller_get), (gst_controller_sync_values),
4786         (gst_controller_get_value_array), (_gst_controller_class_init),
4787         (gst_controller_get_type):
4788         * libs/gst/controller/gstcontroller.h:
4789         * libs/gst/controller/gstinterpolation.c:
4790         (gst_controlled_property_find_timed_value_node):
4791           convert // to /**/ comments
4792
4793 2005-09-28  Wim Taymans  <wim@fluendo.com>
4794
4795         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4796         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4797         (gst_bus_sync_signal_handler):
4798         * gst/gstbus.h:
4799         Added async-message and sync-message signals to the bus.
4800         Added helper BusFunc to emit signals for all posted messages.
4801
4802         * gst/gstmessage.c: (gst_message_type_get_name),
4803         (gst_message_type_to_quark), (gst_message_get_type):
4804         * gst/gstmessage.h:
4805         Register quarks for message names.
4806
4807 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4808
4809         * docs/libs/gstreamer-libs-sections.txt:
4810         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4811         (gst_controller_new_list):
4812         * libs/gst/controller/gstcontroller.h:
4813           added another constructor for language bindings
4814
4815 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4816
4817         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4818           add another check
4819         * gst/gstbus.c:
4820           add some doc
4821         * gst/gstinfo.c: (_gst_debug_init):
4822           slightly more readable color for refcount debugging
4823
4824 2005-09-28  Wim Taymans  <wim@fluendo.com>
4825
4826         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4827         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4828         (find_element), (gst_bin_sort_iterator_next),
4829         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4830         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4831         (gst_bin_change_state), (gst_bin_dispose):
4832         Small doc fixes. get_clock -> provide_clock.
4833
4834         * gst/gstelement.c: (gst_element_class_init),
4835         (gst_element_provides_clock), (gst_element_provide_clock),
4836         (gst_element_get_clock), (gst_element_commit_state),
4837         (gst_element_lost_state):
4838         * gst/gstelement.h:
4839         Make get/set_clock() symetric. Add provide_clock vmethod since
4840         that is actually what this function does.
4841
4842         * gst/gstpipeline.c: (gst_pipeline_class_init),
4843         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4844         (gst_pipeline_get_clock):
4845         get_clock -> provide_clock.
4846
4847 2005-09-28  Andy Wingo  <wingo@pobox.com>
4848
4849         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4850         lieu of real docs...
4851
4852         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4853
4854 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4855
4856         * gst/elements/gstcapsfilter.c:
4857         * gst/elements/gstfakesink.c:
4858         * gst/elements/gstfakesrc.c:
4859         * gst/elements/gstfdsink.c:
4860         * gst/elements/gstfdsrc.c:
4861         * gst/elements/gstfilesink.c:
4862         * gst/elements/gstfilesrc.c:
4863         * gst/elements/gstidentity.c:
4864         * gst/elements/gsttee.c:
4865         * gst/elements/gsttypefindelement.c:
4866           Make element details static.
4867
4868 2005-09-28  Wim Taymans  <wim@fluendo.com>
4869
4870         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4871         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4872         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4873         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4874         (gst_bin_change_state), (gst_bin_dispose):
4875         Some documentation updates.
4876         Clean up dispose handlers.
4877
4878         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4879         * gst/gstpad.c: (gst_pad_dispose):
4880         Clean up dispose handler.
4881
4882         * gst/gstpipeline.c: (gst_pipeline_change_state):
4883         Removed spurious UNLOCK.
4884
4885 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4886
4887         * docs/gst/gstreamer-sections.txt:
4888         * gst/base/gstbasesrc.h:
4889         * gst/gstelement.h:
4890         * gst/gstevent.h:
4891         * gst/gstobject.h:
4892         * gst/gstpad.h:
4893         * gst/gstpipeline.c:
4894         * gst/gstpipeline.h:
4895         * gst/gstutils.h:
4896         * gst/gstxml.h:
4897           added two new functions to the docs
4898                 documents all undocumented GstXXXFlags
4899                 completed some incomplete docs 
4900
4901 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4902
4903         * gst/gstbin.c: (gst_bin_dispose):
4904         * gst/gstelement.c: (gst_element_dispose):
4905           remove now useless and leaky resurrection code in dispose
4906         * gst/base/gstbasesrc.c: (gst_base_src_init):
4907         * gst/gstelementfactory.c: (gst_element_factory_create):
4908         * gst/gstobject.c: (gst_object_set_parent):
4909           add some debugging
4910
4911 2005-09-27  Wim Taymans  <wim@fluendo.com>
4912
4913         * docs/design/part-TODO.txt:
4914         Update TODO.
4915
4916         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4917         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4918         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4919         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4920         (gst_bin_change_state):
4921         * gst/gstelement.h:
4922         Remove element variable, we keep element info in the iterator now.
4923
4924 2005-09-27  Andy Wingo  <wingo@pobox.com>
4925
4926         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4927         values.
4928
4929 2005-09-27  Wim Taymans  <wim@fluendo.com>
4930
4931         * check/gst/gstbin.c: (GST_START_TEST):
4932         Enable check that works now.
4933
4934         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4935         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4936         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4937         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4938         (gst_bin_change_state):
4939         * gst/gstbin.h:
4940         Redid the state change algorithm using a topological sort algo.
4941         Handles all cases correctly.
4942         Exposed iterator for state change order.
4943
4944         * gst/gstelement.h:
4945         Temp storage for state changes. Need to get rid of this soon.
4946
4947 2005-09-27  Wim Taymans  <wim@fluendo.com>
4948
4949         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4950         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4951         (link_fold_func), (gst_pad_proxy_setcaps):
4952         Leak fixes, the fold functions need to unref the passed object and
4953         _get_parent_*() returns ref to parent.
4954
4955 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4956
4957         * check/gst/gstbuffer.c: (test_make_writable):
4958           Plug leak in test case and fix 'make check-valgrind'
4959
4960 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4961
4962         * gst/gstbuffer.c: (gst_subbuffer_init):
4963           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4964           works correctly in all circumstances (we could have just copied
4965           the parent buffer's readonly flag, but conceptually it seems
4966           cleaner to mark all subbuffers as read-only). (based on patch
4967           by Alessandro Decina, #314710).
4968         
4969         * check/gst/gstbuffer.c: (create_read_only_buffer),
4970         (test_make_writable), (test_subbuffer_make_writable),
4971         (gst_test_suite):
4972           Add some tests for gst_buffer_make_writable().
4973
4974 2005-09-27  Wim Taymans  <wim@fluendo.com>
4975
4976         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4977         use gst_object_has_ancestor().
4978
4979         * gst/gstobject.c: (gst_object_has_ancestor):
4980         * gst/gstobject.h:
4981         gst_object_has_ancestor() copied from gstbin.c as it is a
4982         usefull function.
4983
4984         * tests/instantiate/create.c: (create_all_elements):
4985         * tests/lat.c: (handoff_src), (handoff_sink):
4986         * tests/sched/runxml.c: (main):
4987         * tests/seeking/seeking1.c: (main):
4988         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4989         (main):
4990         Fix compilation of some tests.
4991
4992 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4993
4994         * gst/gsterror.h:
4995           Remove comment. GST_TYPE_G_ERROR is here to stay,
4996           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4997           (#316961, #300610).
4998
4999 2005-09-26  Wim Taymans  <wim@fluendo.com>
5000
5001         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5002         Added check that shows error in state change order.
5003
5004 2005-09-26  Wim Taymans  <wim@fluendo.com>
5005
5006         * gst/gstbin.c: (gst_bin_change_state):
5007         Make state change function use 3 queues again, we were
5008         adding elements in the wrong order.
5009
5010         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5011         Some debug info,
5012
5013         * gst/gstpad.c: (gst_pad_dispose):
5014         Added some debug info first.
5015
5016 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5017
5018         * docs/design/draft-push-pull.txt:
5019         * docs/design/part-events.txt:
5020         * docs/design/part-overview.txt:
5021         * docs/design/part-scheduling.txt:
5022           Replace all _pull_region() with _pull_range()
5023           
5024 2005-09-26  Andy Wingo  <wingo@pobox.com>
5025
5026         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5027
5028         * check/gst-libs/controller.c: Update for controller api change.
5029
5030         * configure.ac: 
5031         * tests/Makefile.am:
5032         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5033         over by GLib bug 118439.
5034         
5035         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5036         routines to a function.
5037
5038         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5039
5040         * libs/gst/controller/gsthelper.c:
5041         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5042         (gst_object_sync_values): Renamed from sink_values. Ugh.
5043
5044         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5045
5046         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5047         Renamed from controller_key, as it is exported.
5048
5049         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5050
5051 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5052
5053         * gst/Makefile.am:
5054         * gst/gst.h:
5055         * gst/gstpad.h:
5056         * gst/gstpadtemplate.h:
5057         * gst/gstquery.c:
5058         * gst/gstquery.h:
5059         * gst/gstqueryutils.c:
5060         * gst/gstqueryutils.h:
5061           remove queryutils headers after moving the two used functions
5062           to gstquery.  also fixes build problem for gstsiddec
5063
5064 2005-09-26  Michael Smith <msmith@fluendo.com>
5065
5066         * tools/gst-launch.1.in:
5067         Correct documentation in manpage of debug syntax
5068
5069 2005-09-26  Wim Taymans  <wim@fluendo.com>
5070
5071         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5072         (gst_base_src_is_seekable), (gst_base_src_change_state):
5073         Some more debugging info.
5074
5075 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5076
5077         * docs/gst/gstreamer-sections.txt:
5078         * gst/base/gstbasetransform.h:
5079         * gst/gstindex.h:
5080           added more docs
5081
5082 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5083
5084         * docs/gst/.cvsignore:
5085         * docs/gst/tmpl/.cvsignore:
5086         * docs/gst/tmpl/gstpipeline.sgml:
5087         * docs/gst/tmpl/gstplugin.sgml:
5088         * gst/gstpipeline.c:
5089         * gst/gstplugin.c:
5090         * gst/gstplugin.h:
5091           inlined the last two docs files
5092           removed the tmpl directory from cvs (no more conflicts here!)
5093
5094 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5095
5096         * docs/gst/gstreamer-sections.txt:
5097         * docs/gst/tmpl/.cvsignore:
5098         * docs/gst/tmpl/gstpad.sgml:
5099         * docs/gst/tmpl/gstpadtemplate.sgml:
5100         * gst/Makefile.am:
5101         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5102         (gst_pad_finalize), (gst_pad_set_pad_template):
5103         * gst/gstpad.h:
5104         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5105         (gst_pad_template_class_init), (gst_pad_template_init),
5106         (gst_pad_template_dispose), (name_is_valid),
5107         (gst_static_pad_template_get), (gst_pad_template_new),
5108         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5109         (gst_pad_template_pad_created):
5110         * gst/gstpadtemplate.h:
5111           inlined two more docs
5112           factored gstpadtemplate out of gstpad
5113
5114 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5115
5116         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5117         (test_children_state_change_order_semi_sink):
5118           Fix test case: we can't rely on a fixed state change order when
5119           going from READY => PAUSED because the sink might commit its 
5120           new state first when the first buffer created by the source 
5121           reaches the sink before the source has finished its change state.
5122           (Test case still fails at times, see #316856, comment 5 onwards)
5123
5124 2005-09-24  Wim Taymans  <wim@fluendo.com>
5125
5126         * docs/design/part-events.txt:
5127         * docs/design/part-gstbus.txt:
5128         * docs/design/part-gstpipeline.txt:
5129         * docs/design/part-messages.txt:
5130         * docs/design/part-overview.txt:
5131         * docs/design/part-segments.txt:
5132         * gst/gstbin.c:
5133         * gst/gstbuffer.c:
5134         * gst/gstclock.c:
5135         * gst/gstelement.c:
5136         * gst/gstevent.c:
5137         * gst/gstfilter.c:
5138         * gst/gstiterator.c:
5139         Various documentation updates.
5140
5141 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5142
5143         * gst/gstclock.h:
5144           Well, that's embarassing.  Luckily we weren't using
5145           GST_CLOCK_DIFF anywhere.
5146
5147 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5148
5149         * common/gtk-doc.mak:
5150           don't fail on building XML, FC4 slave shows a bunch of doc
5151           missing bits that I don't get
5152         * gst/gstpad.c:
5153         * gst/gstpipeline.c:
5154         * gst/gststructure.c:
5155           some doc updates
5156
5157 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5158
5159         * docs/design/part-gstbin.txt:
5160         * docs/design/part-gstbus.txt:
5161         * gst/gstbus.c:
5162           Add blurb about how the bus goes into flushing mode and
5163           drops all messages when its bin goes from READY into NULL 
5164           state.
5165
5166 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5167
5168         * docs/gst/gstreamer-sections.txt:
5169         * gst/gststructure.c: (gst_structure_get_clock_time):
5170         * gst/gststructure.h:
5171           add a method to get a GstClockTime out of a structure
5172
5173 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5174
5175         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5176         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5177           Added test to check state change order in bins (can still be made
5178           to fail here under heavy disk load; bails out with 'Push on pad
5179           fakesink:sink0, but it was not activated in push mode').
5180
5181         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5182           Fix state change order when there is only a semi sink (#316856)
5183
5184         * gst/gstbus.c: (gst_bus_class_init):
5185           Use _class_peek_parent(), not _class_ref(); fix docs to say
5186           'default main context' instead of 'mainloop' where that is
5187           what's meant.
5188
5189         * gst/gstelement.c: (gst_element_commit_state),
5190         (gst_element_set_state):
5191           Fix typos in debug messages
5192
5193 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5194
5195         * docs/README:
5196         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5197         * gst/gstpluginfeature.c:
5198         * gst/gstutils.c:
5199           various doc updates
5200         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5201           change an assert into an error until it gets fixed properly
5202
5203 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5204
5205         * docs/gst/gstreamer-sections.txt:
5206         * docs/gst/tmpl/.cvsignore:
5207         * docs/gst/tmpl/gstelement.sgml:
5208         * docs/gst/tmpl/gstinfo.sgml:
5209         * docs/gst/tmpl/gstobject.sgml:
5210         * gst/gstelement.c:
5211         * gst/gstelement.h:
5212         * gst/gstinfo.c:
5213         * gst/gstinfo.h:
5214         * gst/gstobject.c: (gst_object_class_init):
5215         * gst/gstobject.h:
5216           inlined 3 more biiiig doc files and added some missing docs on the fly
5217
5218 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5219
5220         * check/gst/.cvsignore:
5221         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5222         * gst/gstregistryxml.c: (load_plugin),
5223         (gst_registry_xml_save_plugin):
5224           put back source in registry.  add checks for find_plugin.
5225         * testsuite/states/bin.c: (assert_state), (empty_bin),
5226         (test_adding_one_element), (main):
5227         * testsuite/states/locked.c: (main):
5228           some compile/run fixes
5229
5230 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5231
5232         * check/gst/gstvalue.c: (GST_START_TEST):
5233           fix leaks in the test itself
5234
5235 2005-09-22  Wim Taymans  <wim@fluendo.com>
5236
5237         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5238         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5239         (gst_base_sink_query):
5240         Prepare for more accurate position reporting and query
5241         handling.
5242
5243         * gst/gstelement.c: (gst_element_send_event),
5244         (gst_element_set_state):
5245         Add some comment.
5246
5247 2005-09-22  Wim Taymans  <wim@fluendo.com>
5248
5249         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5250         (gst_query_parse_segment):
5251         * gst/gstquery.h:
5252         More documentation.
5253         Add segment query for future use.
5254
5255 2005-09-22  Wim Taymans  <wim@fluendo.com>
5256
5257         * gst/gstbin.c: (gst_bin_add_func):
5258         Some more debug info.
5259
5260         * gst/gstelement.c: (gst_element_send_event):
5261         Simplify send_event
5262
5263         * gst/gstelement.h:
5264         Don't know how flags got broken.
5265
5266         * gst/gstquery.h:
5267         Added new query.
5268
5269 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5270
5271         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5272           Add simplistic test suite for GST_TYPE_DATE serialisation and
5273           deserialisation.
5274
5275 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5276
5277         * docs/gst/gstreamer-sections.txt:
5278         * gst/gststructure.c: (gst_structure_set_valist),
5279         (gst_structure_get_date):
5280         * gst/gststructure.h:
5281         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5282         (gst_date_copy), (gst_value_compare_date),
5283         (gst_value_serialize_date), (gst_value_deserialize_date),
5284         (gst_value_transform_date_string),
5285         (gst_value_transform_string_date), (_gst_value_initialize):
5286         * gst/gstvalue.h:
5287           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5288           bunch of utility functions along with a hack that checks that
5289           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5290           is required. Part of the grand scheme in #170777.
5291
5292 2005-09-22  Andy Wingo  <wingo@pobox.com>
5293
5294         * gst/gstconfig.h.in: Psych out gtk-doc.
5295
5296         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5297
5298         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5299
5300         * tools/gst-inspect.c (print_element_list): Plug some
5301         inconsequential leaks.
5302
5303         * gst/gstregistry.c (gst_registry_get_default): Doc.
5304
5305         * check/gst/gstplugin.c: 
5306         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5307         * gst/gstelementfactory.c (gst_element_factory_create): 
5308         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5309         refcount changes.
5310
5311         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5312         (gst_plugin_feature_load): Doc, don't eat refs.
5313
5314         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5315         (gst_plugin_list_free): Doc.
5316         (gst_plugin_load_file): Doc updates.
5317
5318         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5319         accessors returning refcounted objects, return a ref.
5320
5321         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5322         accessor for caps. IDEMPOTENCE. Oh yes.
5323
5324 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5325
5326         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5327
5328         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5329         (_gst_debug_register_funcptr):
5330           Add mutex to serialise access to the hash table with
5331           the function pointer => function name string mapping;
5332           make that hash table static scope (#316809).
5333
5334         * gst/registries/.cvsignore:
5335           Remove left-over file.
5336
5337 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5338
5339         * docs/pwg/appendix-porting.xml:
5340           And something about newsegment events and caps-on-buffers to
5341           the porting guide (feel free to improve).
5342
5343 2005-09-21  Andy Wingo  <wingo@pobox.com>
5344
5345         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5346         data and event probes on the same pad.
5347         (test_buffer_probe_once): Test that removing probes from within
5348         the probe functions works.
5349
5350 2005-09-21  Andy Wingo  <wingo@pobox.com>
5351
5352         * check/gst/gstutils.c: New file.
5353         (test_buffer_probe_n_times): A simple buffer probe test. More to
5354         come, foolios.
5355
5356         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5357         have-data::buffer, not have-data.
5358         (gst_pad_add_event_probe): Likewise for have-data::event.
5359         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5360         peer' isn't quite right yet though.
5361         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5362         (gst_pad_remove_data_probe): Change to take the guint handler_id
5363         as their arg, not the function+data, which is more glib-like.
5364
5365         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5366         the signal emission to indicate if the data is a buffer or an
5367         event.
5368         (gst_pad_get_type): Initialize buffer and event quarks.
5369         (gst_pad_class_init): have-data is now a detailed signal, yes it
5370         is.
5371
5372 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5373
5374         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5375         * gst/gstutils.c: (gst_util_set_value_from_string),
5376         (gst_util_set_object_arg):
5377           Don't put functional code in g_return_if_fail() or
5378           g_return_val_if_fail() statements, otherwise things will 
5379           break when G_DISABLE_CHECKS is defined during compilation.
5380
5381 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5382
5383         * docs/gst/tmpl/.cvsignore:
5384         * docs/gst/tmpl/gstvalue.sgml:
5385         * gst/gstvalue.c:
5386         * gst/gstvalue.h:
5387           inlied another one and added  some obvious docs
5388
5389 2005-09-21  Wim Taymans  <wim@fluendo.com>
5390
5391         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5392         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5393         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5394         (gst_fdsrc_get_property), (gst_fdsrc_create):
5395         * gst/elements/gstfdsrc.h:
5396         Properly implement fdsrc. Removed signal and timeout,
5397         better implemented somewhere else.
5398
5399 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5400
5401         * docs/gst/tmpl/.cvsignore:
5402         * docs/gst/tmpl/gstimplementsinterface.sgml:
5403         * gst/gstinterface.c:
5404           inlined more docs
5405
5406 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5407
5408         * docs/gst/gstreamer-sections.txt:
5409         * docs/gst/tmpl/.cvsignore:
5410         * docs/gst/tmpl/gstenumtypes.sgml:
5411           remove obsolete doc file
5412
5413 2005-09-21  David Schleef  <ds@schleef.org>
5414
5415         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5416         little beer, fix a little leak.
5417
5418 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5419
5420         * docs/gst/gstreamer-docs.sgml:
5421         * docs/gst/gstreamer-sections.txt:
5422         * docs/gst/tmpl/.cvsignore:
5423         * gst/Makefile.am:
5424         * gst/gst.h:
5425         * gst/gstbin.c:
5426         * gst/gstelement.h:
5427         * gst/gstindex.c: (gst_index_class_init):
5428         * gst/gstindex.h:
5429         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5430         (gst_index_factory_class_init), (gst_index_factory_init),
5431         (gst_index_factory_finalize), (gst_index_factory_new),
5432         (gst_index_factory_destroy), (gst_index_factory_find),
5433         (gst_index_factory_create), (gst_index_factory_make):
5434         * gst/gstindexfactory.h:
5435         * gst/gstpluginfeature.c:
5436         * gst/gstpluginfeature.h:
5437         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5438           more docs inlined, splitted gstindex.{c,h}
5439
5440 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5441
5442         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5443           fix a leak
5444
5445 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5446
5447         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5448           Set sync to FALSE by default.
5449
5450 2005-09-20  Wim Taymans  <wim@fluendo.com>
5451
5452         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5453         (gst_base_sink_init):
5454         Make sync property settable from subclass.
5455
5456         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5457         (gst_fake_sink_change_state):
5458         Set sync to FALSE by default.
5459
5460 2005-09-20  Wim Taymans  <wim@fluendo.com>
5461
5462         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5463         * tools/gst-launch.c: (main):
5464         The timeout handler should have lower priority than the source
5465         so we don't timeout before popping a message with 0 timeout.
5466         Dump error messages after failed state change.
5467
5468 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5469
5470         * tools/gst-inspect.c: (print_element_properties_info):
5471           Fix two typos.
5472
5473 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5474
5475         * check/gst/gstevent.c:
5476         * gst/elements/gstfakesink.c:
5477         * gst/elements/gstfakesink.h:
5478           remove the sync property from fakesink.
5479           has the side effect of setting sync TRUE
5480           for fakesink, which is a change.  Anyone who knows how
5481           to fix this nicely in a GObject-y way, feel free.
5482
5483 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5484
5485         * docs/gst/gstreamer-docs.sgml:
5486           remove probe refsection
5487
5488 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5489
5490         * check/Makefile.am:
5491           disable valgrinding the controller test again
5492         * docs/gst/gstreamer-sections.txt:
5493           update for api-changes
5494
5495 2005-09-20  Wim Taymans  <wim@fluendo.com>
5496
5497         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5498         (gst_base_sink_set_property), (gst_base_sink_get_property),
5499         (gst_base_sink_do_sync):
5500         * gst/base/gstbasesink.h:
5501         Added sync property to basesink to disable clock sync.
5502
5503 2005-09-20  Andy Wingo  <wingo@pobox.com>
5504
5505         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5506         eating the caller's refcount.
5507
5508         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5509         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5510         refcount.
5511
5512         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5513         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5514         of GLib 2.8 public, so we can know which refcount to check in
5515         tests.
5516
5517         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5518         (gst_object_init): Only set the gst refcount if we're going ahead
5519         with the refcount hack.
5520
5521 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5522
5523         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5524         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5525           more leaks plumbed, added more debug-logging
5526         * gst/gstmacros.h:
5527           whitespace fix
5528
5529 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5530
5531         * gst/gstmessage.c:
5532           remove include of gstmemchunk.h
5533
5534 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5535
5536         * gst/gstclock.c: (_gst_clock_id_free):
5537           Commit from the Political Party For More Atomic CVS Commits,
5538           so that people don't waste too much of their day fishing
5539           out obvious leaks out of massive commits.
5540           Oh, and fix a pretty damn obvious leak in the memchunk
5541           removal code.
5542
5543 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5544
5545         * check/Makefile.am:
5546         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5547           plug mem-leak, re-add to valgrindable tests
5548
5549 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5550
5551         * gst/gstplugin.h:
5552           unbreak the build for those who have chronic arthritis
5553           and typing "make check" is just too taxing on the hands
5554
5555 2005-09-20  Andy Wingo  <wingo@pobox.com>
5556
5557         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5558         really want it out, you should fix plugins at the same time.
5559
5560 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5561
5562         * configure.ac:
5563         * docs/gst/gstreamer-sections.txt:
5564         * gst/gstobject.c:
5565           added missing symbols to api docs
5566           disable ref-count hack if we have glib >= 2.8
5567
5568 2005-09-19  David Schleef  <ds@schleef.org>
5569
5570         * docs/gst/Makefile.am: Ignore a few more internal headers
5571         * docs/gst/gstreamer-docs.sgml: Remove old sections
5572         * docs/gst/gstreamer-sections.txt: Remove old sections
5573         * docs/gst/tmpl/gstobject.sgml: update
5574         * docs/gst/tmpl/gstplugin.sgml: update
5575         * docs/gst/tmpl/gstpluginfeature.sgml: update
5576         * docs/random/ds/0.9-suggested-changes: update.
5577         * gst/Makefile.am: remove memchunk and trashstack, since they're
5578           not used.
5579         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5580         * gst/gst.h: don't include some headers
5581         * gst/gstchildproxy.c: add gstmarshal.h
5582         * gst/gstclock.c: Don't use memchunks
5583         * gst/gstminiobject.c: Add some docs
5584         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5585         * gst/gstobject.h: same
5586         * gst/gstplugin.c: include gstmacros.h
5587         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5588         * gst/gstquery.c: don't use memchunks
5589         * gst/gstregistry.c: rename gst_registry_deinit()
5590         * gst/gstregistry.h: same
5591
5592 2005-09-19  David Schleef  <ds@schleef.org>
5593
5594         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5595         * docs/libs/gstreamer-libs-sections.txt:
5596         * docs/libs/tmpl/gstgetbits.sgml:
5597         * docs/libs/tmpl/gstputbits.sgml:
5598
5599 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5600
5601         * win32/gstenumtypes.c:
5602         * win32/gstenumtypes.h:
5603           Update.
5604
5605 2005-09-19  Wim Taymans  <wim@fluendo.com>
5606
5607         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5608         Automatically PAUSE and RESUME a pipeline when a flushing seek
5609         is performed.
5610
5611 2005-09-19  Andy Wingo  <wingo@pobox.com>
5612
5613         * gst/gstregistry.h: Spacing fixen.
5614
5615 2005-09-19  Wim Taymans  <wim@fluendo.com>
5616
5617         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5618         Handle state change failure more correctly.
5619
5620 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5621
5622         * check/Makefile.am:
5623         * check/pipelines/cleanup.c: (run_pipeline):
5624         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5625         (GST_START_TEST):
5626           enable cleanup again after fixing the leak
5627         * docs/README:
5628           some more info on docs
5629
5630 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5631
5632         * check/Makefile.am:
5633           re-enable tests now that leaks are plugged
5634         * check/gst/gst.c:
5635         * check/gst/gstbin.c:
5636         * check/gst/gstpipeline.c:
5637           add some more tests while fixing leaks
5638         * common/check.mak:
5639           make sure binaries are uptodate when valgrinding/gdbing
5640         * gst/gst.c:
5641         * gst/gstelementfactory.c:
5642           remove a ref too many, and add a FIXME for when we get
5643           round to disposing of classes
5644         * gst/gstplugin.c:
5645           fix the refcounting when loading a plugin from a file and
5646           the code pretends that the pointer is the same even though
5647           of course it can change
5648         * gst/gstpluginfeature.c:
5649           unref plugins marked cached (a bit confusing as a name)
5650           as the docs state should be done
5651           various doc additions to explain refcounting
5652         * gst/gstregistry.c:
5653         * gst/gstregistryxml.c:
5654           debugging
5655
5656 2005-09-19  Wim Taymans  <wim@fluendo.com>
5657
5658         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5659         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5660         (send_messages), (GST_START_TEST), (gstbus_suite):
5661         * check/gst/gstpipeline.c: (GST_START_TEST):
5662         * check/pipelines/cleanup.c: (run_pipeline):
5663         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5664         (GST_START_TEST):
5665         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5666         (gst_bus_source_check), (gst_bus_source_dispatch),
5667         (gst_bus_create_watch), (gst_bus_add_watch_full),
5668         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5669         * gst/gstbus.h:
5670         * tools/gst-launch.c: (event_loop):
5671         * tools/gst-md5sum.c: (event_loop):
5672         GstBusHandler -> GstBusFunc, return value has the same meaning as
5673         any other GSource (FALSE == remove source).
5674         _add_watch() and _add_watch_full() now take a MessageType mask to
5675         only handle specific types of messages.
5676         _poll() returns the GstMessage instead of the message type to avoid
5677         race conditions.
5678         _have_pending() takes a MessageType mask now too.
5679         Added testsuite for multiple bus watches.
5680         Fix testsuites and applications for new bus API.
5681
5682 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5683
5684         * check/Makefile.am:
5685           mark a bunch of the tests as to fix until we fix them
5686
5687 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5688
5689         * common/check.mak:
5690           use GST_PLUGIN settings for valgrind tests as well, so we're
5691           valgrinding the correct thing
5692         * gst/gst.c: (init_post):
5693           plug another leak
5694
5695 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5696
5697         * gst/gst.c: (init_post), (gst_deinit):
5698         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5699         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5700         * gst/gstindex.c: (gst_index_factory_class_init),
5701         (gst_index_factory_finalize):
5702         * gst/gstobject.c: (gst_object_dispose):
5703         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5704         (gst_plugin_load_file), (gst_plugin_desc_free):
5705         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5706         (gst_plugin_feature_finalize):
5707         * gst/gstregistry.c: (gst_registry_class_init),
5708         (gst_registry_init), (gst_registry_finalize),
5709         (gst_registry_get_default), (gst_registry_deinit):
5710         * gst/gstregistry.h:
5711         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5712           various cleanups and memleak plugging.  make valgrind is happy now.
5713
5714 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5715
5716         * common/check.mak:
5717           add a check-valgrind target
5718
5719 2005-09-18  David Schleef  <ds@schleef.org>
5720
5721         * tools/gst-inspect.c: Revert the GOption code.
5722
5723 2005-09-17  David Schleef  <ds@schleef.org>
5724
5725         * check/Makefile.am: Fix environment variables.
5726         * check/gst/gstplugin.c: Fix for API changes.
5727         * tools/gst-inspect.c: Fix for API changes.
5728         * tools/gst-xmlinspect.c: Fix for API changes.
5729         * gst/gstelementfactory.c:
5730         * gst/gstplugin.c:
5731         * gst/gstplugin.h:
5732         * gst/gstpluginfeature.c:
5733         * gst/gstpluginfeature.h:
5734         * gst/gstregistry.c:
5735         * gst/gstregistry.h:
5736         * gst/gstregistryxml.c:
5737         * gst/gsttypefind.c:
5738         * gst/gsttypefindfactory.c:
5739         * gst/indexers/gstfileindex.c:
5740         * gst/indexers/gstmemindex.c:
5741         * gst/schedulers/Makefile.am:
5742           Change registry to keep track of both plugins and features,
5743           removing the feature tracking from plugins themselves.
5744
5745 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5746
5747         * check/Makefile.am:
5748         * tools/gst-register.1.in:
5749           remove gst-register
5750
5751 2005-09-15  David Schleef  <ds@schleef.org>
5752
5753         * check/gst/gstplugin.c:
5754         * gst/gstelementfactory.c:
5755         * gst/gstplugin.c:
5756         * gst/gstpluginfeature.c:
5757         * gst/gstregistry.c:
5758           Getting tired of debugging.  Disabled all the unreffing of
5759           plugins and features, which fixes the segfaults, but of
5760           course leaks like crazy.  At least playbin works.
5761
5762 2005-09-15  David Schleef  <ds@schleef.org>
5763
5764         * check/gst/gstplugin.c: (register_check_elements),
5765         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5766         More testing
5767         * gst/elements/gsttypefindelement.c: Fix refcounting.
5768         * gst/gsttypefind.c:
5769         * gst/gsttypefindfactory.c:
5770         * gst/gsttypefindfactory.h:
5771
5772 2005-09-15  David Schleef  <ds@schleef.org>
5773
5774         * gst/gstindex.c: get refcounting correct.
5775         * gst/gstregistry.c: Handle the case where a feature/plugin is
5776           not found.
5777
5778 2005-09-15  David Schleef  <ds@schleef.org>
5779
5780         * check/Makefile.am:
5781         * check/gst/gstplugin.c: Add test
5782         * gst/gstplugin.c: Fix problems noticed by testsuite
5783         * gst/gstplugin.h:
5784         * gst/gstregistry.c: 
5785         * gst/gstregistry.h:
5786
5787 2005-09-15  David Schleef  <ds@schleef.org>
5788
5789         * gst/gstplugin.c: Implement semi-decent recounting and locking
5790           in plugins and plugin features.
5791         * gst/gstplugin.h:
5792         * gst/gstpluginfeature.c:
5793         * gst/gstpluginfeature.h:
5794         * gst/gstregistry.c:
5795
5796 2005-09-15  Michael Smith <msmith@fluendo.com>
5797
5798         * gst/gstregistry.c: (gst_registry_get_feature_list):
5799           Implement this. Makes oggdemux work; decodebin still broken.
5800
5801 2005-09-14  David Schleef  <ds@schleef.org>
5802
5803         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5804           #316076)
5805         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5806         * gst/check/Makefile.am:
5807         * libs/gst/controller/Makefile.am:
5808         * libs/gst/dataprotocol/Makefile.am:
5809
5810 2005-09-14  David Schleef  <ds@schleef.org>
5811
5812         * configure.ac: Remove getbits library.  Nothing uses it, and
5813           it should be in something like liboil if someone did want
5814           to use it.
5815         * libs/gst/Makefile.am:
5816         * libs/gst/getbits/Makefile.am:
5817         * libs/gst/getbits/gbtest.c:
5818         * libs/gst/getbits/getbits.c:
5819         * libs/gst/getbits/getbits.h:
5820         * libs/gst/getbits/gstgetbits_generic.c:
5821         * libs/gst/getbits/gstgetbits_i386.s:
5822         * libs/gst/getbits/gstgetbits_inl.h:
5823
5824 2005-09-14  David Schleef  <ds@schleef.org>
5825
5826         * gst/Makefile.am: Dist glib-compat.h
5827
5828 2005-09-14  David Schleef  <ds@schleef.org>
5829
5830         * configure.ac: Remove gst/registries, since it's no longer used.
5831         * gst/registries/Makefile.am:
5832         * gst/registries/gstlibxmlregistry.c:
5833         * gst/registries/gstlibxmlregistry.h:
5834         * gst/registries/gstxmlregistry.c:
5835         * gst/registries/gstxmlregistry.h:
5836         * gst/registries/registrytest.c:
5837
5838 2005-09-14  David Schleef  <ds@schleef.org>
5839
5840         * gst/glib-compat.h:
5841         * gst/gstregistryxml.c:
5842           Convergence is near.  Seriously.
5843
5844 2005-09-14  David Schleef  <ds@schleef.org>
5845
5846         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5847         * gst/glib-compat.h:
5848           Attempt #4 to appease the buildbots.
5849
5850 2005-09-14  David Schleef  <ds@schleef.org>
5851
5852         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5853           Attempt #3.
5854
5855 2005-09-14  David Schleef  <ds@schleef.org>
5856
5857         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5858         Attempt #2.
5859
5860 2005-09-14  David Schleef  <ds@schleef.org>
5861
5862         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5863           the new functions.
5864
5865 2005-09-14  David Schleef  <ds@schleef.org>
5866
5867         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5868         * gst/glib-compat.h: Add some functions that are in newer versions
5869           of glib than we care to require.
5870         * gst/gstregistryxml.c: Use them.
5871
5872 2005-09-14  David Schleef  <ds@schleef.org>
5873
5874         * po/POTFILES.in: remove gst-register.c
5875
5876 2005-09-14  David Schleef  <ds@schleef.org>
5877
5878         * docs/gst/gstreamer-docs.sgml:
5879         * docs/gst/gstreamer-sections.txt:
5880         * docs/gst/gstreamer.types:
5881         * docs/gst/tmpl/gstelement.sgml:
5882         * docs/gst/tmpl/gstplugin.sgml:
5883         * docs/gst/tmpl/gstpluginfeature.sgml:
5884           Documentation updates for registry changes.
5885
5886 2005-09-14  David Schleef  <ds@schleef.org>
5887
5888         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5889           because we don't require glib-2.8.
5890
5891 2005-09-14  David Schleef  <ds@schleef.org>
5892
5893         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5894           registries directory.
5895
5896 2005-09-14  David Schleef  <ds@schleef.org>
5897
5898         * check/Makefile.am:
5899         * check/generic/states.c:
5900         * gst/Makefile.am:
5901         * gst/gst.c:
5902         * gst/gst.h:
5903         * gst/gst_private.h:
5904         * gst/gstelementfactory.c:
5905         * gst/gstindex.c:
5906         * gst/gstinfo.c:
5907         * gst/gstplugin.c:
5908         * gst/gstplugin.h:
5909         * gst/gstpluginfeature.c:
5910         * gst/gstpluginfeature.h:
5911         * gst/gstregistry.c:
5912         * gst/gstregistry.h:
5913         * gst/gstregistrypool.c: remove
5914         * gst/gstregistrypool.h: remove
5915         * gst/gsttypefind.c:
5916         * gst/gsttypefindfactory.c:
5917         * gst/gsturi.c:
5918         * tools/Makefile.am:
5919         * tools/gst-compprep.c:
5920         * tools/gst-inspect.c:
5921         * tools/gst-register.c: remove
5922         * tools/gst-xmlinspect.c:
5923           Registry rewrite.  Changes registry from being a file created
5924           by a tool into a simple cache file created automatically by 
5925           libgstreamer.  Removed gst-register (because it's no longer
5926           needed).  Remove registry pools, because we only have one
5927           registry implementation (XML).  Fix up other subsystems as
5928           necessary.
5929
5930 2005-09-13  Michael Smith <msmith@fluendo.com>
5931
5932         * gst/gstconfig.h.in:
5933           Don't Use windows linking attributes for MinGW. Fixes #316157
5934
5935 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5936
5937         * gst/gstutils.c: (set_state_async_thread_func),
5938         (gst_element_set_state_async):
5939           Apparently people think it's better if this function doesn't
5940           try to set the state to whatever state was asked for on the first
5941           call to this function for any object.  Seriously.
5942
5943 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5944
5945         * check/gst/gstpipeline.c: (GST_START_TEST):
5946         * docs/gst/gstreamer-sections.txt:
5947         * gst/gstutils.c: (set_state_async_thread_func),
5948         (gst_element_set_state_async):
5949         * gst/gstutils.h:
5950           add a "gst_element_set_state_async" method that
5951           sets the state and starts a thread to make sure the state
5952           change completes as best as it can
5953
5954 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5955
5956         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5957           codify design+behaviour in testsuite after discussion
5958
5959 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5960
5961         * docs/gst/tmpl/gstelement.sgml:
5962         * docs/manual/appendix-quotes.xml:
5963           add a quote
5964         * gst/gstelement.c: (gst_element_set_state):
5965           add some debug
5966
5967 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5968
5969         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5970         (gst_base_transform_prepare_output_buf),
5971         (gst_base_transform_handle_buffer):
5972         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5973         (gst_capsfilter_prepare_buf):
5974           Remove the requirement for sub-classes to call the parent
5975           implementation of prepare_output_buffer with a wrapper function.
5976           
5977         * gst/gsttaglist.h:
5978         * gst/gsttagsetter.h:
5979           Fix #define wrapper
5980
5981 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5982
5983         * docs/gst/gstreamer-sections.txt:
5984           more doc cleanups
5985
5986 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5987
5988         * docs/gst/gstreamer-sections.txt:
5989         * docs/gst/tmpl/gstelement.sgml:
5990         * docs/gst/tmpl/gstplugin.sgml:
5991         * gst/gstminiobject.c:
5992         * gst/gstvalue.h:
5993           docs now stop throwing warnings
5994
5995 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5996
5997         * docs/gst/gstreamer-sections.txt:
5998         * docs/gst/gstreamer.types:
5999         * docs/gst/tmpl/gstpad.sgml:
6000         * docs/gst/tmpl/gsttypes.sgml:
6001         * gst/base/gstadapter.h:
6002         * gst/base/gstbasesink.h:
6003         * gst/base/gstbasesrc.h:
6004         * gst/gstbin.h:
6005         * gst/gstbuffer.h:
6006         * gst/gstbus.h:
6007         * gst/gstcaps.h:
6008         * gst/gstclock.h:
6009         * gst/gstelement.h:
6010         * gst/gstevent.h:
6011         * gst/gstmessage.h:
6012         * gst/gstpad.h:
6013         * gst/gststructure.c:
6014         * gst/registries/gstlibxmlregistry.h:
6015           various documentation fixes
6016
6017 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6018
6019         * docs/gst/gstreamer-sections.txt:
6020         * docs/gst/tmpl/gstvalue.sgml:
6021           rearrange gstvalue section
6022         * gst/gstutils.c: (gst_element_state_get_name):
6023           NONE -> VOID
6024         * gst/gstvalue.c: (_gst_value_initialize):
6025         * gst/gstvalue.h:
6026           doc updates
6027
6028 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6029
6030         * check/gst-libs/controller.c:
6031           Header include fix.
6032         * gst/base/gstbasetransform.c:
6033         (gst_base_transform_default_prepare_buf),
6034         (gst_base_transform_handle_buffer):
6035         * gst/base/gstbasetransform.h:
6036           Some more basetransform changes and fixes to enable sub-classes
6037           that modify buffer metadata only.
6038         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6039         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6040         (gst_capsfilter_prepare_buf):
6041           If the output pad has fixed allowed caps and input buffers 
6042           don't have any, set the fixed caps on outgoing buffers.
6043
6044 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6045         * check/elements/identity.c: (GST_START_TEST):
6046           Make the error a little clearer when the test fails because
6047           identity made a copy of the buffer.
6048         * docs/gst/gstreamer-sections.txt:
6049           New symbols in gstbasetransform.h
6050         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6051         (gst_base_transform_init), (gst_base_transform_transform_size),
6052         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6053         (gst_base_transform_default_prepare_buf),
6054         (gst_base_transform_get_unit_size),
6055         (gst_base_transform_buffer_alloc),
6056         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6057         (gst_base_transform_change_state),
6058         (gst_base_transform_set_passthrough),
6059         (gst_base_transform_set_in_place),
6060         (gst_base_transform_is_in_place):
6061         * gst/base/gstbasetransform.h:
6062           Change BaseTransform to separate in_place operate from same_caps
6063           output. in_place implies that the element can perform the transform
6064           on incoming buffers in-place, even if the caps on the output are
6065           different.
6066           Sub-class elements can now implement special buffer allocation
6067           methods for outgoing buffers if they wish to.
6068           Big documentation addition.
6069         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6070         * gst/elements/gstelements.c:
6071           Changes for basetransform modifications.
6072         * gst/elements/Makefile.am:
6073         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6074           Compile fix. Extra debug output.
6075
6076 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6077
6078         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6079         (gst_pad_suite):
6080           add tests for valid pad naming
6081         * gst/check/gstcheck.c: (gst_check_log_message_func),
6082         (gst_check_log_critical_func):
6083           add ASSERT_WARNING
6084           remove printing of code, it is fragile when the code contains
6085           % and the line number is enough info
6086         * gst/check/gstcheck.h:
6087         * gst/gstpad.c: (gst_pad_template_new):
6088           fix memleaks
6089
6090 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6091
6092         * configure.ac:
6093           say what CHECK flags we use
6094         * docs/libs/gstreamer-libs.types:
6095         * libs/gst/controller/Makefile.am:
6096         * libs/gst/controller/gst-controller.c:
6097         * libs/gst/controller/gst-controller.h:
6098         * libs/gst/controller/gst-helper.c:
6099         * libs/gst/controller/gst-interpolation.c:
6100         * libs/gst/controller/gstcontroller.c:
6101         * libs/gst/controller/gsthelper.c:
6102         * libs/gst/controller/gstinterpolation.c:
6103         * tools/gst-inspect.c: (print_plugin_info):
6104           we don't use dashes in header names
6105
6106 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6107
6108         * check/Makefile.am:
6109         * check/gst/.cvsignore:
6110         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6111         (gst_pipeline_suite), (main):
6112           adding a test for pipelines and state changes
6113         * gst/gstutils.c: (get_state_func):
6114           add some debugging
6115         * gstreamer.spec.in:
6116           fix up spec file
6117
6118 2005-09-08  Michael Smith <msmith@fluendo.com>
6119
6120         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6121         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6122         (gst_file_src_is_seekable), (gst_file_src_get_size),
6123         (gst_file_src_start):
6124         * gst/elements/gstfilesrc.h:
6125           Various fixes for unseekable, unmmapable, and non-normal files, so
6126           that fallback to read() rather than mmap() works.
6127         * gst/gstevent.c: (gst_event_new_newsegment):
6128           Allow newsegment events with segment_start == segment_end, as will
6129           correctly happen if you use filesrc on a zero-size file, for
6130           example.
6131
6132 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6133
6134         * gst/gstplugin.c: (gst_plugin_load_file):
6135           Call g_module_close when we don't load the module
6136
6137         * gst/registries/gstlibxmlregistry.c:
6138         (gst_xml_registry_get_property):
6139           Port leak fix from 0.8
6140
6141 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6142
6143         * docs/gst/gstreamer-docs.sgml:
6144         * docs/gst/tmpl/.cvsignore:
6145         * docs/gst/tmpl/gsttrace.sgml:
6146         * docs/gst/tmpl/gsttrashstack.sgml:
6147         * gst/Makefile.am:
6148         * gst/gst.h:
6149         * gst/gstelement.h:
6150         * gst/gstevent.h:
6151         * gst/gstmessage.c:
6152         * gst/gstmessage.h:
6153         * gst/gsttag.c:
6154         * gst/gsttag.h:
6155         * gst/gsttaginterface.c:
6156         * gst/gsttaginterface.h:
6157         * gst/gsttaglist.c:
6158         * gst/gsttaglist.h:
6159         * gst/gsttagsetter.c:
6160         * gst/gsttagsetter.h:
6161         * gst/gsttrace.c:
6162         * gst/gsttrace.h:
6163         * gst/gsttrashstack.c:
6164           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6165           inlined docs for gsttrace, gsttrashstack
6166
6167 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6168
6169         * gst/Makefile.am:
6170         * gst/elements/gstbufferstore.h:
6171         * gst/elements/gsttypefindelement.c:
6172         * gst/elements/gsttypefindelement.h:
6173         * gst/gst.h:
6174         * gst/gsttypefind.c:
6175         * gst/gsttypefind.h:
6176         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6177         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6178         (gst_type_find_factory_dispose),
6179         (gst_type_find_factory_unload_thyself),
6180         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6181         (gst_type_find_factory_get_caps),
6182         (gst_type_find_factory_get_extensions),
6183         (gst_type_find_factory_call_function):
6184         * gst/gsttypefindfactory.h:
6185         * gst/registries/gstlibxmlregistry.c:
6186         * gst/registries/gstxmlregistry.c:
6187           splitted gsttypefind into gsttypefind, gsttypefindfactory
6188
6189 2005-09-07  Andy Wingo  <wingo@pobox.com>
6190
6191         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6192         condition whereby the pad's task function is entered before the
6193         pad_mode variable was set.
6194
6195 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6196
6197         * gst/gstpad.c: (gst_pad_alloc_buffer):
6198           Catch misbehaving pad_alloc functions that don't
6199           set up caps and do it for them.
6200
6201 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6202
6203         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6204           test for pipe!=NULL
6205         * docs/gst/tmpl/.cvsignore:
6206         * docs/gst/tmpl/gstmemchunk.sgml:
6207         * docs/gst/tmpl/gstparse.sgml:
6208         * docs/gst/tmpl/gsttaglist.sgml:
6209         * docs/gst/tmpl/gsttagsetter.sgml:
6210         * docs/gst/tmpl/gsttypefind.sgml:
6211         * docs/gst/tmpl/gsttypefindfactory.sgml:
6212         * gst/gstmemchunk.c:
6213         * gst/gstparse.c:
6214         * gst/gsttag.c:
6215         * gst/gsttaginterface.c:
6216         * gst/gsttypefind.c:
6217         * gst/gsttypefind.h:
6218           inlined more docs
6219
6220 === release 0.9.2 ===
6221
6222 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6223
6224         * NEWS:
6225         * RELEASE:
6226         * configure.ac:
6227           releasing 0.9.2, "South"
6228
6229 2005-09-05  Andy Wingo  <wingo@pobox.com>
6230
6231         * gst/registries/gstxmlregistry.h:
6232         * gst/registries/gstxmlregistry.c: Um... resurrect...
6233         
6234         * gst/registries/gstxmlregistry.h:
6235         * gst/registries/gstxmlregistry.c: and update to newer API.
6236         Incidentally they should be a bit faster now that they don't have
6237         to parse the caps.
6238         
6239 2005-09-05  Andy Wingo  <wingo@pobox.com>
6240
6241         * gst/registries/gstxmlregistry.h:
6242         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6243         replaced by the libxml registry a while back
6244
6245 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6246
6247         * docs/gst/tmpl/gstplugin.sgml:
6248         * gst/elements/gstelements.c:
6249         * gst/gst.c:
6250         * gst/gstplugin.c: (gst_plugin_register_func),
6251         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6252         (gst_plugin_get_source):
6253         * gst/gstplugin.h:
6254         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6255         (gst_xml_registry_save_plugin):
6256         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6257         (gst_xml_registry_save_plugin):
6258         * tools/gst-inspect.c: (print_plugin_info):
6259           add a "source" plugin description field, to represent the source
6260           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6261           will set it to PACKAGE, which is automake's idea of the name of
6262           the source project.
6263
6264 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6265
6266         * Makefile.am:
6267         * autogen.sh:
6268         * configure.ac:
6269         * docs/Makefile.am:
6270         * docs/faq/Makefile.am:
6271         * docs/gst/tmpl/gstelement.sgml:
6272         * docs/gst/tmpl/gsttypes.sgml:
6273         * docs/htmlinstall.mak:
6274         * docs/manual/Makefile.am:
6275         * docs/pwg/Makefile.am:
6276           reorganize doc build a little
6277           split out docbook and gtk-doc stuff
6278           have two separate --enable's and enable them through autogen
6279           but disable by default in configure (to be similar to other
6280           projects)
6281         * gstreamer.spec.in:
6282           clean up docs install
6283         * po/af.po:
6284         * po/az.po:
6285         * po/ca.po:
6286         * po/cs.po:
6287         * po/de.po:
6288         * po/en_GB.po:
6289         * po/fr.po:
6290         * po/it.po:
6291         * po/nb.po:
6292         * po/nl.po:
6293         * po/ru.po:
6294         * po/sq.po:
6295         * po/sr.po:
6296         * po/sv.po:
6297         * po/tr.po:
6298         * po/uk.po:
6299         * po/vi.po:
6300           translation updates
6301
6302 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6303
6304         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6305           Add comment.
6306           
6307         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6308         (gst_fake_sink_change_state):
6309           Make state change function thread-safe.
6310           
6311         * gst/gstpad.c: (gst_pad_alloc_buffer):
6312           Set offset on generic buffer allocated by fallback.
6313
6314 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6315
6316         * docs/gst/gstreamer-sections.txt:
6317         * docs/gst/tmpl/gstelement.sgml:
6318         * gst/gstpad.c:
6319         * libs/gst/controller/gst-controller.c:
6320         (gst_controlled_property_set_interpolation_mode),
6321         (gst_controlled_property_new),
6322         (gst_controller_find_controlled_property):
6323          run the wingo-magic script against the docs
6324
6325 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6326
6327         * docs/gst/gstreamer-docs.sgml:
6328         * docs/gst/gstreamer-sections.txt:
6329         * docs/gst/tmpl/.cvsignore:
6330         * docs/gst/tmpl/gstelementdetails.sgml:
6331         * docs/gst/tmpl/gstelementfactory.sgml:
6332         * gst/gst.c:
6333         * gst/gstbus.c:
6334         * gst/gstelementfactory.c:
6335         * gst/gstelementfactory.h:
6336           merged elementdetails docs into elementfactory docs
6337           inlined both
6338
6339 2005-09-02  Andy Wingo  <wingo@pobox.com>
6340
6341         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6342         consider this enum an enum and not a flags.
6343
6344 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6345
6346         * docs/gst/gstreamer-docs.sgml:
6347         * docs/gst/tmpl/.cvsignore:
6348         * docs/gst/tmpl/gstghostpad.sgml:
6349         * docs/gst/tmpl/gstiterator.sgml:
6350         * docs/gst/tmpl/gstmacros.sgml:
6351         * docs/gst/tmpl/gstrealpad.sgml:
6352         * docs/gst/tmpl/gstregistry.sgml:
6353         * docs/gst/tmpl/gstregistrypool.sgml:
6354         * docs/gst/tmpl/gststructure.sgml:
6355         * docs/gst/tmpl/gstsystemclock.sgml:
6356         * docs/gst/tmpl/gsttrace.sgml:
6357         * gst/gstghostpad.c:
6358         * gst/gstmacros.h:
6359         * gst/gstmemchunk.c:
6360         * gst/gstmemchunk.h:
6361         * gst/gstqueue.c:
6362         * gst/gstregistry.c:
6363         * gst/gstregistrypool.c:
6364         * gst/gststructure.c:
6365         * gst/gstsystemclock.c:
6366           more docs inlined
6367
6368 2005-09-02  Andy Wingo  <wingo@pobox.com>
6369
6370         * gst/gstelement.h (GstState): Renamed from GstElementState,
6371         changed to be a normal enum instead of flags.
6372         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6373         munged to be GST_STATE_CHANGE_*.
6374         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6375         work with the new state representation.
6376         (GstStateChange): New enumeration of possible state transitions.
6377         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6378         (GstElementClass::change_state): Pass the GstStateChange along as
6379         an argument. Helps language bindings, so they don't have to use
6380         tricky lock-needing macros like GST_STATE_CHANGE ().
6381
6382         * scripts/update-states (file): New script. Run it on a file to
6383         update it for state naming and API changes. Updates files in
6384         place.
6385
6386         * All files updated for the new API.
6387
6388 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6389
6390         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6391         * gst/gstutils.c: (gst_util_set_value_from_string),
6392         (gst_util_set_object_arg):
6393           fix a bunch of unchecked return values
6394         * tools/gst-complete.c: (main):
6395         * gstreamer.spec.in:
6396           clean up a little
6397
6398 2005-09-01  Wim Taymans  <wim@fluendo.com>
6399
6400         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6401         (gst_base_sink_event), (gst_base_sink_do_sync),
6402         (gst_base_sink_handle_event):
6403         * gst/base/gstbasesink.h:
6404         Handle newsegments more correctly.
6405
6406         * gst/gstbus.c:
6407         Fix docs.
6408
6409         * gst/gstevent.c: (gst_event_new_newsegment):
6410         A newsegment cannot have a start_time of -1
6411
6412 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6413
6414         * win32/gstenumtypes.c:
6415         * win32/gstenumtypes.h:
6416           Update
6417
6418 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6419
6420         * libs/gst/controller/gst-controller.c:
6421         (gst_controlled_property_set_interpolation_mode),
6422         (gst_controlled_property_new):
6423          fixed boolean again
6424
6425 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6426
6427         * docs/faq/gst-uninstalled:
6428           add -good
6429         * gst/gstevent.c:
6430         * gst/gstevent.h:
6431           remove wrong docs
6432         * gst/gstutils.c: (gst_element_link_filtered):
6433         * gst/gstutils.h:
6434           add gst_element_link_filtered
6435
6436 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6437
6438         * docs/gst/gstreamer-docs.sgml:
6439         * docs/gst/gstreamer-sections.txt:
6440         * docs/gst/tmpl/.cvsignore:
6441         * docs/gst/tmpl/gsterror.sgml:
6442         * docs/gst/tmpl/gstfilter.sgml:
6443         * docs/gst/tmpl/gsturihandler.sgml:
6444         * docs/gst/tmpl/gsturitype.sgml:
6445         * docs/gst/tmpl/gstutils.sgml:
6446         * docs/gst/tmpl/gstxml.sgml:
6447         * gst/gsterror.c:
6448         * gst/gsterror.h:
6449         * gst/gstfilter.c:
6450         * gst/gsturi.c:
6451         * gst/gsturitype.c:
6452         * gst/gstutils.c:
6453         * gst/gstxml.c:
6454           inlined more docs, fixed double id-ref
6455
6456 2005-08-31  Wim Taymans  <wim@fluendo.com>
6457
6458         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6459         (gst_base_transform_handle_buffer):
6460         Passthrough elements don't need the caps as they don't care.
6461
6462 2005-08-31  Wim Taymans  <wim@fluendo.com>
6463
6464         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6465         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6466         Don't leak refcounts on buffers.
6467
6468 2005-08-31  Wim Taymans  <wim@fluendo.com>
6469
6470         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6471         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6472         (gst_base_transform_chain), (gst_base_transform_change_state):
6473         * gst/base/gstbasetransform.h:
6474         Handle the case where we are not negotiated more gracefully.
6475
6476 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6477
6478         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6479         (gst_file_src_map_region):
6480           Set READONLY flag on mmap'ed buffers, otherwise
6481           gst_buffer_make_writable() won't work properly (#314708).
6482
6483 2005-08-31  Wim Taymans  <wim@fluendo.com>
6484
6485         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6486         passthrough elements can even do inplace on non writable
6487         buffers (as they don't touch them).
6488
6489 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6490
6491         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6492         (gst_test_mono_source_set_property),
6493         (gst_test_mono_source_class_init), (GST_START_TEST),
6494         (gst_controller_suite):
6495           more tests (hehe I have the most)
6496         * gst/gstbus.c:
6497           describe popping messages whenusing mulltiple sources
6498         * libs/gst/controller/gst-controller.c:
6499         (gst_controlled_property_set_interpolation_mode),
6500         (gst_controlled_property_new):
6501         * libs/gst/controller/gst-controller.h:
6502         * libs/gst/controller/gst-interpolation.c:
6503           implement boolean properties
6504
6505 2005-08-31  Wim Taymans  <wim@fluendo.com>
6506
6507         * gst/gstminiobject.c: (gst_mini_object_ref):
6508         Cannot assert that the refcount has to be positive
6509         since a disposed object can be resurrected.
6510
6511 2005-08-31  Wim Taymans  <wim@fluendo.com>
6512
6513         * gst/gstpad.c: (gst_pad_init):
6514         Revert change, need to first fix badly behaving 
6515         apps.
6516
6517 2005-08-30  Wim Taymans  <wim@fluendo.com>
6518
6519         * check/elements/fakesrc.c: (setup_fakesrc):
6520         * check/elements/identity.c: (setup_identity):
6521         Activate pads before using them.
6522
6523 2005-08-30  Wim Taymans  <wim@fluendo.com>
6524
6525         * gst/base/gstadapter.c: (gst_adapter_flush):
6526         Flushing out 0 bytes is ok for this function.
6527
6528         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6529         no newsegment gives a warning and sets the start/stop to 
6530         invalid.
6531
6532         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6533         (gst_base_transform_set_passthrough):
6534         Some debug info.
6535
6536         * gst/gstminiobject.c: (gst_mini_object_ref):
6537         Check refcount here too.
6538
6539         * gst/gstpad.c: (gst_pad_init):
6540         Pads are initially flushing and refusing data.
6541
6542         * gst/gstutils.c: (gst_element_link_pads_filtered):
6543         When adding a capsfilter element make sure it has the
6544         same state as the parent bin.
6545
6546 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6547
6548         * docs/gst/tmpl/.cvsignore:
6549         * docs/gst/tmpl/gstformat.sgml:
6550         * docs/gst/tmpl/gstversion.sgml:
6551         * gst/gstbus.h:
6552         * gst/gstformat.c:
6553         * gst/gstformat.h:
6554         * gst/gstversion.h.in:
6555           more docs and two more inlined
6556
6557 2005-08-30  Wim Taymans  <wim@fluendo.com>
6558
6559         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6560         Don't sync to clock.
6561
6562 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6563
6564         * docs/gst/gstreamer-sections.txt:
6565           ultral33t func10ns deserve to appear in the docs actually
6566         * docs/gst/tmpl/.cvsignore:
6567         * docs/gst/tmpl/gstcompat.sgml:
6568         * docs/gst/tmpl/gstconfig.sgml:
6569         * gst/check/gstcheck.c:
6570         * gst/gstcompat.h:
6571         * gst/gstconfig.h.in:
6572           inlined more docs
6573
6574 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6575
6576         * docs/gst/tmpl/.cvsignore:
6577         * docs/gst/tmpl/gstquery.sgml:
6578         * docs/gst/tmpl/gstutils.sgml:
6579         * gst/gstquery.c:
6580         * gst/gstquery.h:
6581           inlined and extended docs
6582
6583 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6584
6585         * check/gst-libs/controller.c: (GST_START_TEST),
6586         (gst_controller_suite):
6587           more tests
6588         * docs/gst/tmpl/gstutils.sgml:
6589         * docs/libs/gstreamer-libs-sections.txt:
6590         * docs/libs/tmpl/gstdataprotocol.sgml:
6591           include path fixes
6592         * examples/controller/audio-example.c: (main):
6593           controller example works now
6594         * gst/gstclock.h:
6595           doc fixes
6596         * tools/gst-inspect.c: (print_element_properties_info):
6597           show param spec flags
6598
6599 2005-08-29  Andy Wingo  <wingo@pobox.com>
6600
6601         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6602
6603 2005-08-28  Andy Wingo  <wingo@pobox.com>
6604
6605         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6606         as having two arguments instead of just one. Allows superclasses
6607         to access information on subclasses -- see the terrible for() loop
6608         in gtype.c:g_type_create_instance for the reason why. All callers
6609         changed.
6610
6611 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6612
6613         * docs/design/part-messages.txt:
6614           update info
6615         * docs/gst/tmpl/.cvsignore:
6616         * docs/gst/tmpl/gstcaps.sgml:
6617         * docs/gst/tmpl/gstclock.sgml:
6618         * gst/gstbus.c:
6619         * gst/gstcaps.c:
6620         * gst/gstcaps.h:
6621         * gst/gstclock.c:
6622         * gst/gstclock.h:
6623         * gst/gstmessage.c:
6624           added descriptions for bus and message
6625           inline caps and clock docs
6626
6627 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6628
6629         * gst/gstmessage.c:
6630         * gst/gstmessage.h:
6631           doc fixes
6632
6633 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6634
6635         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6636           fix div-by-zero
6637
6638 2005-08-26  Andy Wingo  <wingo@pobox.com>
6639
6640         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6641         element_set_state's return val.
6642         (test_2_elements): Add test that's been disabled for months.
6643
6644         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6645         can-activate-pull properties.
6646
6647         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6648         can-activate-pull properties. Implement is_seekable so fakesrc can
6649         operate in pull mode.
6650
6651         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6652         properties.
6653         (gst_base_sink_activate, gst_base_sink_activate_pull)
6654         (gst_base_sink_activate_push): Make activation mode choosing work.
6655         Cleanups.
6656         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6657         is right. Make pull mode work. Post an eos before pausing in pull
6658         mode.
6659         (gst_base_sink_change_state): Pay attention to the core's
6660         change_state() return val.
6661         
6662         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6663         has-getrange properties. Cleanups.
6664         
6665         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6666         has_getrange and replace with can_activate_pull and
6667         can_activate_push.
6668
6669         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6670         locking comments. Remove has_loop, has_chain and replace with
6671         can_activate_pull and can_activate_push.
6672
6673 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6674
6675         * configure.ac:
6676         * examples/Makefile.am:
6677         * examples/metadata/Makefile.am:
6678         * examples/metadata/read-metadata.c: (message_loop),
6679         (have_pad_handler), (make_pipeline), (print_tag), (main):
6680           Add metadata reading example that loops over a list of filenames,
6681           dumping any tags found.
6682
6683         * gst/gstbus.c: (gst_bus_dispose):
6684         * gst/gstelement.c: (gst_element_dispose):
6685           Release a few potentially-held references in dispose.
6686
6687 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6688
6689         * docs/gst/tmpl/gstminiobject.sgml:
6690           do *not* add tmpl/*.sgml files to CVS!
6691
6692 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6693
6694         * libs/gst/bytestream/.cvsignore:
6695         * libs/gst/bytestream/Makefile.am:
6696         * libs/gst/bytestream/adapter.c:
6697         * libs/gst/bytestream/adapter.h:
6698         * libs/gst/bytestream/bytestream.c:
6699         * libs/gst/bytestream/bytestream.h:
6700         * libs/gst/bytestream/filepad.c:
6701         * libs/gst/bytestream/filepad.h:
6702           removing obsolete files
6703
6704 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6705
6706         * docs/gst/gstreamer-docs.sgml:
6707         * docs/libs/gstreamer-libs-docs.sgml:
6708           disabed additional index entries again, as this makes docs-gen just
6709           slow and they aren't useful yet
6710         * docs/libs/gstreamer-libs-sections.txt:
6711           little -section.txt cleanup for libs
6712
6713 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6714
6715         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6716         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6717           fix up some debugging
6718         (gst_base_transform_get_unit_size),
6719         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6720         (gst_base_transform_handle_buffer):
6721         * gst/base/gstbasetransform.h:
6722           handle and store timed NEWSEGMENT events so that subclasses that
6723           calculate time by counting samples have a segment_start time they
6724           need to add to their timestamps - see audioresample
6725
6726 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6727
6728         * gst/gstbin.h:
6729           removed ';' from the end of macro defs
6730         * docs/gst/gstreamer-docs.sgml:
6731         * docs/gst/gstreamer-sections.txt:
6732         * docs/gst/tmpl/.cvsignore:
6733         * gst/gstbus.h:
6734         * gst/gstelement.c: (gst_element_class_init),
6735         (gst_element_set_state), (activate_pads),
6736         (gst_element_save_thyself):
6737         * gst/gstevent.c: (gst_event_new_newsegment):
6738         * gst/gstevent.h:
6739         * gst/gstiterator.c:
6740         * gst/gstiterator.h:
6741         * gst/gstpad.c:
6742         * gst/gstprobe.h:
6743         * gst/gstutils.c: (gst_pad_query_convert):
6744         * gst/gstutils.h:
6745           fixed parameter name mismatches between source, header and docs
6746           added some more docs, resolved the last batch of unused elements in
6747           docs (now someone needs to doc them)
6748
6749 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6750
6751         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6752         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6753           don't walk through the plugins backwards.  Where is all this
6754           reversed logic coming from ?
6755
6756 2005-08-25  Wim Taymans  <wim@fluendo.com>
6757
6758         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6759         (gst_base_transform_transform_size),
6760         (gst_base_transform_configure_caps),
6761         (gst_base_transform_get_unit_size),
6762         (gst_base_transform_buffer_alloc),
6763         (gst_base_transform_change_state):
6764         * gst/base/gstbasetransform.h:
6765         Cache caps unit_size.
6766         Make sure we cannot negotiate up and downstream at the
6767         same time.
6768
6769 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6770
6771         * gst/gst.c: (init_pre), (init_post):
6772           register the installed plugin path after the env var
6773         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6774         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6775           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6776           directories, so the tests can prefer uninstalled over installed
6777
6778 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6779
6780         * gst/base/gstbasetransform.h:
6781           comment
6782         * gst/gstpad.c:
6783           add to docs
6784
6785 2005-08-25  Wim Taymans  <wim@fluendo.com>
6786
6787         * gst/gstbin.c: (bin_bus_handler):
6788         Be a bit more conservative about the posted message.
6789         
6790         * gst/gstbus.c: (gst_bus_post):
6791         Some cleanups, warn wrong return values.
6792
6793 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6794
6795         * check/gst/gstbin.c: (GST_START_TEST):
6796         * gst/gstbin.c: (bin_bus_handler):
6797         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6798         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6799         (gst_message_new_warning), (gst_message_new_tag),
6800         (gst_message_new_state_changed), (gst_message_new_segment_start),
6801         (gst_message_new_segment_done), (gst_message_new_custom):
6802         * gst/gstmessage.h:
6803         * tools/gst-launch.c: (event_loop):
6804         * tools/gst-md5sum.c: (event_loop):
6805           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6806
6807 2005-08-25  Wim Taymans  <wim@fluendo.com>
6808
6809         * check/generic/states.c: (GST_START_TEST):
6810         Cleanup can be done at the end.
6811
6812         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6813         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6814         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6815         Oh boy.. Thanks for finding this, Thomas. 
6816
6817 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6818
6819         * docs/gst/gstreamer.types:
6820           added missing types
6821
6822 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6823
6824         * docs/gst/gstreamer-docs.sgml:
6825         * docs/gst/gstreamer-sections.txt:
6826         * docs/gst/tmpl/.cvsignore:
6827         * gst/gstbin.c:
6828         * gst/gstiterator.c:
6829         * gst/gstutils.c:
6830         * gst/registries/gstxmlregistry.h:
6831           added missing classes and symbols (123 more to go)
6832           removed removed symbols from section file
6833           fixed many doc-comments
6834
6835 2005-08-24  Wim Taymans  <wim@fluendo.com>
6836
6837         * check/generic/states.c: (GST_START_TEST):
6838         Make sure all tasks are stopped.
6839
6840         * check/gst/gstbin.c: (GST_START_TEST):
6841         Unref after usage for proper valgrinding.
6842
6843         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6844         Really wait for the task to stop before destroying the
6845         mutex.
6846
6847         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6848         (gst_queue_src_activate_push):
6849         Small cleanups. Don't stop the task when we did not start
6850         it.
6851
6852         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6853         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6854         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6855         (gst_task_join):
6856         * gst/gsttask.h:
6857         Protect the stream lock with the object lock.
6858         Disallow setting the stream lock when running.
6859         Add cleanup_all to wait for the threadpool to finish.
6860         Remove code to autoallocate a mutex if none was provided.
6861         Add _join() to wait for a task to stop.
6862         Protect the thread pool with a global lock.
6863
6864 2005-08-24  Wim Taymans  <wim@fluendo.com>
6865
6866         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6867         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6868         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6869         * gst/base/gstbasesink.h:
6870         Handle newsegment events correctly.
6871         Drop buffers out of the segment range.
6872
6873 2005-08-22  Andy Wingo  <wingo@pobox.com>
6874
6875         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6876         macro, implements an interface and gstimplementsinterface for a
6877         new type.
6878
6879 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6880
6881         * check/Makefile.am:
6882         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6883           add a test that does a bunch of state changes on elements
6884           needs some fixing for valgrind
6885         * check/states/sinks.c: (gst_object_suite):
6886           whitespace
6887         * gst/gstcaps.h:
6888           add prototype for gst_caps_is_equal_fixed
6889         * gst/gstplugin.c:
6890         * gst/gstregistrypool.c:
6891           doc fixes
6892
6893 2005-08-24  Andy Wingo  <wingo@pobox.com>
6894
6895         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6896         convert a negative value. Doesn't make much sense. Mostly this is
6897         here to force callers to ensure -1 maps to -1.
6898
6899 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6900
6901         * docs/pwg/advanced-types.xml:
6902           Well done to Michael for catching my deliberate introduction
6903           of this spelling mistake. 
6904         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6905         * gst/gstelement.h:
6906           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6907           unlink pads before removing the element from the bin.
6908
6909 2005-08-24  Andy Wingo  <wingo@pobox.com>
6910
6911         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6912         the same thing as GST_DEBUG=*:4.
6913         (parse_debug_level, parse_debug_category): New helper parsers.
6914
6915 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6916
6917         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6918         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6919         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6920         (gst_base_transform_buffer_alloc),
6921         (gst_base_transform_handle_buffer):
6922           use gboolean return values and pointers to size so we can use the
6923           full GST_BUFFER_SIZE range (guint) for buffer sizes
6924           use GstPadDirection for transform_caps
6925         * gst/base/gstbasetransform.h:
6926           rename get_size to get_unit_size since that's what it is
6927         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6928           use GstPadDirection for transform_caps
6929         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6930         * gst/gstutils.h:
6931           cleanup and debugging
6932
6933 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6934
6935         * gst/gstelement.c: (gst_element_class_init),
6936         (gst_element_set_state), (activate_pads),
6937         (gst_element_save_thyself):
6938         * tools/gst-compprep.c: (main):
6939         * tools/gst-inspect.c: (print_element_properties_info):
6940         * tools/gst-xmlinspect.c: (print_element_properties):
6941           Fixed long standing mem-leak
6942
6943 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6944
6945         * check/gst/gstbin.c: (GST_START_TEST):
6946         * gst/gstbin.c: (bin_bus_handler):
6947         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6948         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6949         (gst_message_new_warning), (gst_message_new_tag),
6950         (gst_message_new_state_changed), (gst_message_new_segment_start),
6951         (gst_message_new_segment_done), (gst_message_new_custom):
6952         * gst/gstmessage.h:
6953         * tools/gst-launch.c: (event_loop):
6954         * tools/gst-md5sum.c: (event_loop):
6955           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6956           that applications can sensibly post custom messages with references
6957           to their own objects.
6958
6959 2005-08-24  Andy Wingo  <wingo@pobox.com>
6960
6961         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6962         already.
6963
6964 2005-08-24  Wim Taymans  <wim@fluendo.com>
6965
6966         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6967         (gst_base_transform_transform_caps),
6968         (gst_base_transform_transform_size),
6969         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6970         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6971         (gst_base_transform_handle_buffer):
6972         * gst/base/gstbasetransform.h:
6973         Many fixes and new features added by Thomas. Can now also do
6974         transforms with variable sizes and a custom fixate_caps function.
6975
6976 2005-08-24  Wim Taymans  <wim@fluendo.com>
6977
6978         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6979         Some debugging.
6980
6981         * gst/gstclock.h:
6982         Cast to ClockTime before formatting to time.
6983
6984         * gst/gstutils.h:
6985         Cleanups.
6986
6987 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6988
6989         * check/gst-libs/controller.c: (GST_START_TEST),
6990         (gst_controller_suite):
6991         * docs/gst/tmpl/gstcaps.sgml:
6992         * docs/gst/tmpl/gstghostpad.sgml:
6993         * docs/gst/tmpl/gstquery.sgml:
6994         * docs/gst/tmpl/gstutils.sgml:
6995         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6996         (gst_object_sink_values), (gst_object_get_value_arrays),
6997         (gst_object_get_value_array):
6998           gracefully handle helper method calls to objects that are not beeing
6999           controlled, added test case for that          
7000
7001 2005-08-23  Wim Taymans  <wim@fluendo.com>
7002
7003         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7004         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7005         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7006         (gst_event_parse_qos), (gst_event_new_seek),
7007         (gst_event_parse_seek):
7008         * gst/gstevent.h:
7009         Some more debugging output and doc cleanups.
7010
7011         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7012         Fix possible deadlock.
7013
7014 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7015
7016         * docs/gst/gstreamer-docs.sgml:
7017         * docs/gst/gstreamer-sections.txt:
7018         * docs/gst/gstreamer.types:
7019         * docs/gst/tmpl/.cvsignore:
7020         * gst/gstbin.h:
7021         * gst/gstbus.c:
7022         * gst/gstelement.c:
7023         * gst/gstevent.h:
7024           added 100 symbols from gstreamer-unused.txt to the right sections
7025           fixed more broken comments
7026           added GstBus to docs
7027
7028 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7029
7030         * docs/gst/gstreamer-sections.txt:
7031         * docs/gst/tmpl/.cvsignore:
7032         * docs/gst/tmpl/gstbin.sgml:
7033         * docs/gst/tmpl/gstbuffer.sgml:
7034         * gst/base/gstbasesrc.c:
7035         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7036         * gst/gstbuffer.c:
7037         * gst/gstbuffer.h:
7038         * tools/gst-launch.1.in:
7039           inlined more doc comments, added missing comments and fixed comments
7040           fixed typos
7041
7042 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7043
7044         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7045           some debugging
7046         * gst/gstcaps.h:
7047           whitespace fixes
7048         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7049           more debugging
7050         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7051         * gst/gststructure.h:
7052           add a fixate function for booleans; add a FIXME that these func
7053           names should probably be gst_structure_fixate_*
7054
7055 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7056
7057         * docs/gst/gstreamer-docs.sgml:
7058         * docs/gst/gstreamer-sections.txt:
7059         * gst/Makefile.am:
7060         * gst/gstbin.c: (gst_bin_get_type),
7061         (gst_bin_child_proxy_get_child_by_index),
7062         (gst_bin_child_proxy_get_children_count),
7063         (gst_bin_child_proxy_init):
7064         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7065         (gst_child_proxy_get_child_by_index),
7066         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7067         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7068         (gst_child_proxy_get), (gst_child_proxy_set_property),
7069         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7070         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7071         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7072         * gst/gstchildproxy.h:
7073         * gst/parse/grammar.y:
7074         * tools/gst-inspect.c: (print_interfaces),
7075         (print_element_properties_info), (print_element_info):
7076           ported gstchildproxy over from 0.8
7077           ported gst-inspect fixes and enhancements over from 0.8
7078
7079 2005-08-22  Wim Taymans  <wim@fluendo.com>
7080
7081         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7082         (gst_base_transform_handle_buffer):
7083         Also call the transform function if we have ANY caps.
7084
7085         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7086         Fix debug info.
7087
7088 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7089
7090         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7091           Don't pretend to handle seek events if the source is not seekable
7092
7093 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7094
7095         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7096           Remove extra parameter to debug output
7097
7098         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7099         (gst_base_src_do_seek), (gst_base_src_activate_push):
7100           Fix seek event handling.
7101
7102         * gst/gstpipeline.c: (gst_pipeline_change_state):
7103         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7104         (gst_queue_src_activate_push):
7105           Don't start the src pad task on FLUSH_STOP if the pad
7106           isn't linked.
7107           Debug changes.
7108
7109 2005-08-22  Wim Taymans  <wim@fluendo.com>
7110
7111         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7112         Added check for gst_static_caps_get() refcounting.
7113
7114 2005-08-22  Wim Taymans  <wim@fluendo.com>
7115
7116         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7117         Make _static_caps_get() refcounting sane.
7118         
7119         * gst/gstelement.c: (gst_element_set_state):
7120         Add g_return_val_if_fail() to protect against segfaults.
7121
7122 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7123
7124         * docs/gst/tmpl/gstevent.sgml:
7125         * gst/gstevent.c:
7126         * gst/gstevent.h:
7127           inlined remaining docs, added missing doc comments
7128
7129 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7130
7131         * check/gst/gstbin.c: (GST_START_TEST):
7132           since we don't know when preroll is done, use refcount range
7133           check for the sink
7134         * gst/check/gstcheck.h:
7135           add macro for checking refcount range
7136
7137 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7138
7139         * check/Makefile.am:
7140           clean up environment for when registry gets built versus
7141           when actual tests are run; valgrind seems to not report
7142           leaks if GST_PLUGIN_PATH is set to some specific values
7143         * check/gst/gstbin.c: (GST_START_TEST):
7144           add more refcounting checks; maybe this exposes a
7145           preroll lock bug ?
7146         * common/check.mak:
7147         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7148         * gst/check/gstcheck.h:
7149         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7150         (gst_bin_change_state):
7151         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7152           add/fix debugging/whitespace
7153
7154 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7155
7156         * check/gst/gstevent.c: (event_probe), (test_event),
7157         (GST_START_TEST):
7158          Er, don't call gst_bin_watch_for_state_change you idiot.
7159
7160 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7161
7162         * check/Makefile.am:
7163           Use CHECK_CFLAGS and CHECK_LIBS
7164         * check/gst/gstevent.c: (event_probe), (test_event),
7165         (GST_START_TEST):
7166           Don't leak events.
7167         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7168         (gst_base_src_start), (gst_base_src_stop),
7169         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7170         (gst_base_src_change_state):
7171           Sprinkle gst_base_src_stop liberally around error paths to fix
7172           problems reusing a source after failed state changes.
7173         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7174         (helper_find_suggest), (gst_type_find_helper):
7175           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7176         * gst/gstevent.h:
7177         * docs/gst/tmpl/gstevent.sgml:
7178           Migrate part of the docs from the SGML file. Wait for ensonic to
7179           tell me how I did it wrong ;)
7180         * tools/gst-typefind.c: (main):
7181           Extra robustness to state changes between files.
7182
7183 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7184
7185         * check/Makefile.am:
7186           don't valgrind the controller test - it's leaking - Stefan, HELP
7187         * gst/check/gstcheck.c: (gst_check_message_error),
7188         (gst_check_chain_func), (gst_check_setup_element),
7189         (gst_check_teardown_element), (gst_check_setup_src_pad),
7190         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7191         (gst_check_teardown_sink_pad):
7192         * gst/check/gstcheck.h:
7193           add a bunch of methods to set up elements, and src and sink pads
7194         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7195         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7196         (GST_START_TEST):
7197           use them
7198         * gst/gstmessage.c:
7199         * gst/gsttag.h:
7200           whitespace/doc fixes
7201
7202 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7203
7204         * gst/gstelement.h:
7205           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7206           be handled by the application and not always printed as well
7207
7208 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7209
7210         * check/Makefile.am:
7211           set GST_TOOLS_DIR
7212         * gst/check/gstcheck.c: (gst_check_message_error):
7213         * gst/check/gstcheck.h:
7214           add a fail_unless_equals_int
7215           add fail_unless for error messages
7216
7217 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7218
7219         * check/Makefile.am:
7220         * check/gst.supp:
7221         * common/Makefile.am:
7222         * common/check.mak:
7223         * common/gst.supp:
7224           factor out some of the common stuff so we can use it
7225
7226 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7227
7228         * check/Makefile.am:
7229         * check/gst/gstiterator.c: (GST_START_TEST):
7230         * check/gst/gstsystemclock.c: (GST_START_TEST),
7231         (gst_systemclock_suite):
7232         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7233         * gst/gstclock.c:
7234           valgrind more tests
7235
7236 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7237
7238         * check/elements/.cvsignore:
7239         * check/elements/gstfakesrc.c:
7240           rename to name of element
7241         * check/elements/identity.c: (chain_func), (event_func),
7242         (setup_identity), (cleanup_identity), (GST_START_TEST),
7243         (identity_suite), (main):
7244           add a test for identity
7245         * check/Makefile.am:
7246         * pkgconfig/Makefile.am:
7247         * pkgconfig/gstreamer-check.pc.in:
7248         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7249         * gst/check:
7250         * gst/Makefile.am:
7251         * configure.ac:
7252           move the check stuff to a library that gets installed
7253         * check/gst-libs/controller.c: (GST_START_TEST):
7254         * check/gst-libs/gdp.c:
7255         * check/gst/gst.c: (GST_START_TEST):
7256         * check/gst/gstbin.c:
7257         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7258         * check/gst/gstbus.c:
7259         * check/gst/gstcaps.c: (GST_START_TEST):
7260         * check/gst/gstelement.c:
7261         * check/gst/gstghostpad.c:
7262         * check/gst/gstiterator.c:
7263         * check/gst/gstmessage.c:
7264         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7265         * check/gst/gstobject.c:
7266         * check/gst/gstpad.c: (GST_START_TEST):
7267         * check/gst/gststructure.c: (GST_START_TEST):
7268         * check/gst/gstsystemclock.c: (GST_START_TEST),
7269         (gst_systemclock_suite):
7270         * check/gst/gsttag.c: (gst_tag_suite):
7271         * check/gst/gstvalue.c:
7272         * check/pipelines/cleanup.c:
7273         * check/pipelines/simple_launch_lines.c:
7274         * check/states/sinks.c:
7275           change include statement
7276
7277         * docs/gst/gstreamer-sections.txt:
7278         * docs/gst/tmpl/gstpad.sgml:
7279           document more pad stuff
7280         * gst/gstminiobject.c: (gst_mini_object_ref),
7281         (gst_mini_object_unref):
7282           debug refcounting
7283
7284 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7285
7286         * docs/gst/tmpl/gst.sgml:
7287         * gst/gst.c:
7288           eliminate another tmpl file, fix spelling in the long-description
7289
7290 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7291
7292         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7293         (test_event), (timediff), (gstevents_suite):
7294           Should fix build on 64-bit arch's
7295
7296 2005-08-18  Andy Wingo  <wingo@pobox.com>
7297
7298         Make sure that when a pipeline goes to PLAYING, that data has
7299         actually hit the sink.
7300
7301         * check/states/sinks.c (test_sink): A sink that doesn't get any
7302         data shouldn't return SUCCESS for going to either PLAYING or
7303         PAUSED. Test also the return values on the way back down.
7304
7305         * gst/gstelement.c (gst_element_set_state): When changing the
7306         state of an element currently changing state asynchronously, go to
7307         lost-state after commiting the pending state. Makes future calls
7308         to get_state continue to return ASYNC.
7309
7310         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7311         ASYNC when going to PLAYING if we still don't have preroll, as can
7312         happen with live sources.
7313
7314 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7315
7316         * docs/pwg/advanced-types.xml:
7317           Hack long paragraph into 2 chunks as a workaround for buggy
7318           jadetex version in sid and breezy that loops infinitely and
7319           eats all RAM.
7320
7321 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7322
7323         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7324         (test_event), (timediff), (gstevents_suite):
7325           Provide more error margin in clock measurements to allow for 
7326           g_get_current_time inaccuracies.
7327
7328 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7329
7330         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7331         (test_event), (timediff), (gstevents_suite):
7332            Fix error message output so I might be able to tell why the
7333            test works here but fails on the build farm.
7334
7335 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7336
7337         * check/Makefile.am:
7338         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7339         (test_event), (timediff), (gstevents_suite), (main):
7340           I wrote a test!
7341
7342         * docs/design/part-seeking.txt:
7343           Spelling correction
7344
7345         * docs/gst/tmpl/gstevent.sgml:
7346         * docs/gst/tmpl/gstfakesrc.sgml:
7347           Docs updates.
7348
7349         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7350           Treat a buffer-without-newsegment the same as a receiving 
7351           a newsegment not in time format, and disable syncing to the clock
7352           with a warning.
7353
7354         * gst/gstbus.c: (gst_bus_set_sync_handler):
7355           Assert if anyone tries to replace the existing sync_handler for bus, 
7356           as only the owner should be setting it.
7357
7358         * gst/gstevent.h:
7359           Have a fixed set of custom event enums with events identified by
7360           their structure name (as in 0.8), rather than a free-for-all
7361           allowing collisions between enum values from different plugins.
7362
7363         * gst/gstpad.c: (gst_pad_class_init):
7364           Docs change.
7365           
7366         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7367           Handle out-of-band downstream events from the sending thread.
7368
7369 2005-08-17  Andy Wingo  <wingo@pobox.com>
7370
7371         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7372         play-timeout==0 to mean no timeout at all. In that case, don't
7373         bother with a get_state or a warning, just return directly, even
7374         if it's ASYNC.
7375
7376         * gst/base/gstbasetransform.c: Debug changes.
7377
7378         * gst/gstutils.h:
7379         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7380         ensure bins post state change messages. A bit of a hack but I can't
7381         think of a way to avoid it.
7382
7383         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7384
7385 2005-08-16  Andy Wingo  <wingo@pobox.com>
7386
7387         * gst/base/gstadapter.h:
7388         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7389         peek() but you own the data. Not terribly efficient atm.
7390
7391 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7392
7393         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7394         (gst_element_found_tags):
7395         * gst/gstutils.h:
7396           Add two utility functions for tag handling.
7397
7398 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7399
7400         * docs/manual/advanced-dataaccess.xml:
7401         * docs/manual/basics-helloworld.xml:
7402           Fix docs to use _bin_add() before _link(), which fixes the examples
7403           with recent core versions (reported by Madhan Raj M
7404           <raj_madan@rediffmail.com>, #313199).
7405
7406 2005-08-16  Wim Taymans  <wim@fluendo.com>
7407
7408         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7409         Added subtract checks.
7410
7411         * docs/design/part-events.txt:
7412         Some more docs about newsegment
7413
7414         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7415         Fix FIXME
7416
7417         * gst/gstcaps.c: (gst_caps_to_string):
7418         Add comments, cleanups.
7419         
7420         * gst/gstelement.c: (gst_element_save_thyself):
7421         cleanups
7422         
7423         * gst/gstvalue.c: (gst_value_collect_int_range),
7424         (gst_string_unwrap), (gst_value_union_int_int_range),
7425         (gst_value_union_int_range_int_range),
7426         (gst_value_intersect_int_int_range),
7427         (gst_value_intersect_int_range_int_range),
7428         (gst_value_intersect_double_double_range),
7429         (gst_value_intersect_double_range_double_range),
7430         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7431         (gst_value_subtract_int_range_int),
7432         (gst_value_subtract_double_range_double),
7433         (gst_value_subtract_double_range_double_range),
7434         (gst_value_subtract_from_list), (gst_value_subtract_list),
7435         (gst_value_can_compare), (gst_value_compare_fraction):
7436         Cleanups, add comments, remove unneeded asserts.
7437
7438 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7439
7440         * tools/gst-launch.c: (event_loop):
7441           don't convert NULL structures to strings
7442
7443 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7444
7445         * docs/gst/gstreamer-sections.txt:
7446           made some defines private
7447         * docs/gst/tmpl/gstconfig.sgml:
7448         * docs/gst/tmpl/gstqueue.sgml:
7449         * docs/gst/tmpl/gsttaglist.sgml:
7450         * docs/gst/tmpl/gsttypes.sgml:
7451         * docs/gst/tmpl/gstutils.sgml:
7452         * docs/pwg/appendix-porting.xml:
7453         * gst/base/gstbasesink.h:
7454         * gst/base/gstbasesrc.c:
7455         * gst/base/gstbasesrc.h:
7456         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7457         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7458         * gst/gstelement.c: (gst_element_class_init):
7459         * gst/gstpad.c: (gst_pad_class_init):
7460         * gst/gstqueue.c: (gst_queue_class_init):
7461         * gst/gstxml.c: (gst_xml_class_init):
7462           documented all undocumented signal inline
7463         * libs/gst/controller/gst-controller.h:
7464           added padding
7465
7466 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7467
7468         * docs/pwg/appendix-porting.xml:
7469           Document _set_link_function -> _set_setcaps_function.
7470
7471 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7472
7473         * check/Makefile.am:
7474           add a .check target for running the check
7475         * check/gst-libs/controller.c: (GST_START_TEST):
7476           cosmetic fixups
7477         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7478           complete checks for gstbuffer; would be nice if I could get the
7479           gcov stuff to work so I can see if I actually completed gstbuffer.c
7480         * check/gstcheck.h:
7481           add ASSERT_BUFFER_REFCOUNT
7482
7483 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7484
7485         * docs/gst/gstreamer-sections.txt:
7486         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7487         * gst/gsttag.h:
7488           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7489           spew out a warning if a tag that is already registered
7490           is re-registered, unless it is re-registered with a 
7491           different type (#308438).
7492
7493 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7494
7495         * docs/pwg/appendix-porting.xml:
7496         * docs/pwg/building-state.xml:
7497           Add some paragraphs about state changes in 0.9 to the PWG
7498           and the porting guide, in particular about the new meaning
7499           of GST_STATE_PAUSED and how to write state change functions
7500           with concurrent access by multiple threads in mind.
7501
7502 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7503
7504         * docs/gst/gstreamer-docs.sgml:
7505         * docs/libs/gstreamer-libs-docs.sgml:
7506           added deprecation and since indexes
7507         * libs/gst/controller/gst-controller.c:
7508         * libs/gst/controller/gst-helper.c:
7509           added since tags
7510
7511
7512 2005-08-11  Wim Taymans  <wim@fluendo.com>
7513
7514         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7515         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7516         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7517         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7518         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7519         (gst_ghost_pad_set_target):
7520         Actually implement (re)setting the target on a ghostpad
7521         as described in the docs.
7522
7523 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7524
7525         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7526           Check whether GST_DEBUG_NO_COLOR environment variable is
7527           set and disable coloured debug output if that is the case.
7528
7529 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7530
7531         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7532         (gst_type_find_helper):
7533           The memory returned by gst_type_find_peek() needs to
7534           stay valid until the end of a typefind function, and
7535           typefind functions may keep results from different 
7536           offsets around, so we can't just unref the buffer from
7537           the previous _peek(), but have to save all buffers 
7538           returned by _peek() until typefinding is done and only
7539           free them then.
7540
7541 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7542
7543         * docs/gst/gstreamer-sections.txt:
7544         * gst/gstutils.h:
7545           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7546
7547 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7548
7549         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7550           Fix a pretty good memleak.
7551
7552 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7553
7554         * gst/gstiterator.h:
7555           Fix wrong include and 'make distcheck'.
7556
7557 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7558
7559         * gst/gstbin.c: (bin_bus_handler):
7560           Use gst_element_post_message() instead.
7561
7562 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7563
7564         * gst/base/gstadapter.h:
7565         * gst/base/gstbasesink.h:
7566         * gst/base/gstbasesrc.h:
7567         * gst/base/gstbasetransform.h:
7568         * gst/base/gstcollectpads.h:
7569         * gst/base/gstpushsrc.h:
7570         * gst/gstiterator.h:
7571           Add padding to our base elements' class and instance structs and
7572           to GstIterator (you will need to rebuild all plugins and apps!)
7573
7574 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7575
7576         * gst/gstbin.c: (bin_bus_handler):
7577           Make default message forwarding from child->bus to bin->bus
7578           threadsafe and make it not emit warnings if the parent has no bus.
7579
7580 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7581
7582         * gst/gstelement.c: (activate_pads):
7583           On paused->ready, set pad->caps to NULL, as is the documented
7584           behaviour in this state change. Fixes playback of series of
7585           media files when visualization is enabled in Totem.
7586
7587 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7588
7589         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7590           Allow NULL as filter-caps (which means "any").
7591
7592 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7593
7594         * docs/libs/gstreamer-libs-sections.txt:
7595         * libs/gst/controller/gst-controller.c:
7596         * libs/gst/controller/gst-controller.h:
7597         * libs/gst/controller/gst-helper.c:
7598           adding more entries to the docs and fix small doc-bugs
7599
7600 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7601
7602         * docs/gst/gstreamer-docs.sgml:
7603         * docs/gst/gstreamer-sections.txt:
7604         * docs/gst/gstreamer.types:
7605         * docs/gst/tmpl/gstbasesink.sgml:
7606         * docs/gst/tmpl/gstbasesrc.sgml:
7607         * docs/gst/tmpl/gstbasetransform.sgml:
7608         * docs/gst/tmpl/gstfakesrc.sgml:
7609         * gst/base/gstcollectpads.c:
7610         * gst/base/gstcollectpads.h:
7611         * libs/gst/controller/gst-controller.c:
7612         * libs/gst/controller/gst-controller.h:
7613         * libs/gst/controller/gst-helper.c:
7614         * libs/gst/controller/gst-interpolation.c:
7615         * libs/gst/controller/lib.c:
7616           added long/short desc for controller docs
7617           added collectpads base class docs
7618           added correct includes to base-class docs
7619
7620 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7621
7622         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7623         (gst_test_mono_source_set_property),
7624         (gst_test_mono_source_class_init), (GST_START_TEST),
7625         (gst_controller_suite):
7626         * docs/gst/gstreamer-docs.sgml:
7627         * docs/gst/gstreamer-sections.txt:
7628         * docs/gst/gstreamer.types:
7629         * docs/libs/gstreamer-libs-docs.sgml:
7630         * docs/libs/gstreamer-libs-sections.txt:
7631         * gst/base/gstadapter.c:
7632         * libs/gst/controller/gst-controller.c:
7633         (gst_controlled_property_new), (gst_controlled_property_free),
7634         (gst_controller_new_valist),
7635         (gst_controller_remove_properties_valist),
7636         (gst_controller_sink_values), (_gst_controller_finalize):
7637         * libs/gst/controller/gst-controller.h:
7638         * libs/gst/controller/gst-helper.c:
7639         (gst_object_control_properties), (gst_object_uncontrol_properties),
7640         (gst_object_get_controller), (gst_object_set_controller),
7641         (gst_object_sink_values), (gst_object_get_value_arrays),
7642         (gst_object_get_value_array):
7643           more tests (and fixes) for the controller
7644           more docs for the controller
7645           integrated companies docs for the adapter 
7646
7647 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7648
7649         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7650         (GST_START_TEST), (fakesrc_suite):
7651           add tests for sizetype
7652
7653 2005-08-04  Andy Wingo  <wingo@pobox.com>
7654
7655         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7656         fixes buffer_alloc proxying among other things.
7657
7658         * gst/base/gstbasetransform.c:
7659         * gst/base/gstbasetransform.h:
7660         Revert patch to gstbasetransform from 7-28 removing
7661         delay_configure.
7662
7663         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7664         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7665         Semantics changed, should return not the size of the output buffer
7666         but the byte size of a buffer with a given caps.
7667
7668         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7669         debug object.
7670         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7671         out) are not the pad caps until setcaps finishes.
7672         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7673         not-in-place case as well. Deal with changing from in-place to
7674         not-in-place within calling pad_alloc_buffer. Still a bit
7675         concerned about the overhead here...
7676
7677 2005-08-03  Andy Wingo  <wingo@pobox.com>
7678
7679         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7680         fixating is an error.
7681
7682 2005-08-04  Edward Hervey  <edward@fluendo.com>
7683
7684         * gst/base/gstadapter.h: 
7685         Added gst_adapter_get_type() to the header
7686
7687 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7688
7689         * check/Makefile.am:
7690         * check/gst-libs/controller.c:
7691         * libs/gst/controller/gst-controller.c:
7692         (gst_controller_new_valist):
7693           added check test suite for the controller
7694         * gst/base/gstpushsrc.c:
7695           fixed a doc typo
7696
7697 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7698
7699         * docs/gst/Makefile.am:
7700         * docs/gst/gstreamer-docs.sgml:
7701         * docs/gst/gstreamer-sections.txt:
7702         * docs/gst/gstreamer.types:
7703         * docs/gst/tmpl/gstfakesrc.sgml:
7704         * gst/base/README:
7705         * gst/base/gstbasesink.c:
7706         * gst/base/gstbasesink.h:
7707         * gst/base/gstbasesrc.c:
7708         * gst/base/gstbasesrc.h:
7709         * gst/base/gstbasetransform.c:
7710         * gst/base/gstpushsrc.c:
7711         * gst/base/gstpushsrc.h:
7712           add short/long description docs to base classes
7713           add pushsrc to the docs
7714           remove consolidated doc fragments
7715
7716 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7717
7718         * configure.ac:
7719         * docs/libs/Makefile.am:
7720         * docs/libs/gstreamer-libs-docs.sgml:
7721         * docs/libs/gstreamer-libs-sections.txt:
7722         * docs/libs/gstreamer-libs.types:
7723         * examples/Makefile.am:
7724         * examples/controller/.cvsignore:
7725         * examples/controller/Makefile.am:
7726         * examples/controller/audio-example.c: (main):
7727         * libs/gst/Makefile.am:
7728         * libs/gst/controller/.cvsignore:
7729         * libs/gst/controller/Makefile.am:
7730         * libs/gst/controller/gst-controller.c:
7731         (on_object_controlled_property_changed), (gst_timed_value_compare),
7732         (gst_timed_value_find),
7733         (gst_controlled_property_set_interpolation_mode),
7734         (gst_controlled_property_new), (gst_controlled_property_free),
7735         (gst_controller_find_controlled_property),
7736         (gst_controller_new_valist), (gst_controller_new),
7737         (gst_controller_remove_properties_valist),
7738         (gst_controller_remove_properties), (gst_controller_set),
7739         (gst_controller_set_from_list), (gst_controller_unset),
7740         (gst_controller_get), (gst_controller_get_all),
7741         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7742         (gst_controller_get_value_array),
7743         (gst_controller_set_interpolation_mode),
7744         (_gst_controller_finalize), (_gst_controller_init),
7745         (_gst_controller_class_init), (gst_controller_get_type):
7746         * libs/gst/controller/gst-controller.h:
7747         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7748         (g_object_uncontrol_properties), (g_object_get_controller),
7749         (g_object_set_controller), (g_object_sink_values),
7750         (g_object_get_value_arrays), (g_object_get_value_array):
7751         * libs/gst/controller/gst-interpolation.c:
7752         (gst_controlled_property_find_timed_value_node),
7753         (interpolate_none_get), (interpolate_trigger_get),
7754         (interpolate_trigger_get_value_array):
7755         * libs/gst/controller/lib.c: (gst_controller_init):
7756         * pkgconfig/Makefile.am:
7757         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7758         * pkgconfig/gstreamer-control.pc.in:
7759         * testsuite/Makefile.am:
7760         * testsuite/controller/.cvsignore:
7761         * testsuite/controller/Makefile.am:
7762         * testsuite/controller/interpolator.c: (main):
7763           added controller code
7764           removed dparam pc files
7765
7766 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7767         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7768         (gst_collectpads_stop):
7769           Broadcast the condition when shutting down, to make sure we wake all
7770           threads up. Shut down pads on finalize, for safety.
7771
7772 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7773         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7774         (gst_base_transform_handle_buffer),
7775         (gst_base_transform_change_state):
7776           Handle PAUSED->READY->PAUSED transition after negotiation
7777           occurred already.
7778         * gst/gstmessage.c: (gst_message_init):
7779           Extra piece of debug for new messages.
7780
7781 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7782
7783         * configure.ac:
7784         * docs/gst/tmpl/gstbasesrc.sgml:
7785         * docs/gst/tmpl/gstelement.sgml:
7786         * docs/gst/tmpl/gstevent.sgml:
7787         * docs/gst/tmpl/gstfakesrc.sgml:
7788         * docs/gst/tmpl/gstformat.sgml:
7789         * docs/gst/tmpl/gstghostpad.sgml:
7790         * docs/gst/tmpl/gstpad.sgml:
7791         * docs/gst/tmpl/gstquery.sgml:
7792         * docs/gst/tmpl/gststructure.sgml:
7793         * docs/gst/tmpl/gsttaglist.sgml:
7794         * docs/gst/tmpl/gstvalue.sgml:
7795         * docs/libs/gstreamer-libs-docs.sgml:
7796         * docs/libs/gstreamer-libs-sections.txt:
7797         * docs/libs/gstreamer-libs.types:
7798         * libs/gst/Makefile.am:
7799         * libs/gst/control/.cvsignore:
7800         * libs/gst/control/Makefile.am:
7801         * libs/gst/control/control.c:
7802         * libs/gst/control/control.h:
7803         * libs/gst/control/dparam.c:
7804         * libs/gst/control/dparam.h:
7805         * libs/gst/control/dparam_smooth.c:
7806         * libs/gst/control/dparam_smooth.h:
7807         * libs/gst/control/dparamcommon.h:
7808         * libs/gst/control/dparammanager.c:
7809         * libs/gst/control/dparammanager.h:
7810         * libs/gst/control/dplinearinterp.c:
7811         * libs/gst/control/dplinearinterp.h:
7812         * libs/gst/control/unitconvert.c:
7813         * libs/gst/control/unitconvert.h:
7814         * testsuite/Makefile.am:
7815         * testsuite/dynparams/.cvsignore:
7816         * testsuite/dynparams/Makefile.am:
7817         * testsuite/dynparams/dparamstest.c:
7818         * tools/Makefile.am:
7819         * tools/gst-inspect.c: (print_element_info), (main):
7820         * tools/gst-xmlinspect.c: (print_element_info), (main):
7821           deactivate and remove dparams (libgstcontrol)
7822
7823 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7824
7825         * gst/elements/gsttypefindelement.c:
7826         (gst_type_find_element_have_type), (gst_type_find_element_init),
7827         (stop_typefinding), (gst_type_find_element_handle_event),
7828         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7829         * gst/elements/gsttypefindelement.h:
7830           Set caps on all outgoing buffers, not just the first one.
7831
7832 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7833
7834         * gst/elements/gsttypefindelement.c:
7835         (gst_type_find_element_have_type),
7836         (gst_type_find_element_check_set_buffer_caps),
7837         (gst_type_find_element_init), (stop_typefinding),
7838         (gst_type_find_element_handle_event),
7839         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7840         * gst/elements/gsttypefindelement.h:
7841           Set caps on first outgoing buffer when we've found the type.
7842
7843 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7844
7845         * docs/gst/gstreamer-docs.sgml:
7846         * docs/gst/gstreamer-sections.txt:
7847         * docs/gst/tmpl/gstscheduler.sgml:
7848         * docs/gst/tmpl/gstschedulerfactory.sgml:
7849           Remove some old cruft from docs.
7850
7851 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7852
7853         * gst/gstpad.h:
7854           Fix inline docs for GstPadLinkReturn.
7855           
7856         * gst/gststructure.c: (gst_structure_has_name):
7857         * gst/gststructure.h:
7858         * docs/gst/gstreamer-sections.txt:
7859           New API: gst_structure_has_name().
7860
7861 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7862
7863         * configure.ac:
7864           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7865           and _LARGEFILE_SOURCE in config.h as required. Do not 
7866           export those flags in our .pc files any longer (#142209).
7867
7868           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7869
7870         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7871         (gst_file_sink_do_seek), (gst_file_sink_event),
7872         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7873           Redo seek/tell calls with large file support in mind; add some
7874           debugging messages; add log message that tells us when large
7875           file support is unavailable or not enabled for some reason.
7876
7877         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7878           Add log message that tells us when large file support 
7879           is unavailable or not enabled for some reason.
7880
7881 2005-07-29  Wim Taymans  <wim@fluendo.com>
7882
7883         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7884         Added test for removing an element with ghostpad from a bin.
7885         Fixed test as current implementation does the right thing.
7886
7887         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7888         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7889         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7890         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7891         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7892         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7893         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7894         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7895         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7896         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7897         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7898         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7899         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7900         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7901         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7902         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7903         * gst/gstghostpad.h:
7904         Clean up ghostpads, remove properties for internal stuff.
7905         Make threadsafe.
7906         Fix refcounting.
7907         Prepare for switching targets, not all use cases work yet.
7908
7909 2005-07-29  Wim Taymans  <wim@fluendo.com>
7910
7911         * docs/design/part-gstghostpad.txt:
7912         Small update.
7913
7914         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7915         (gst_bin_remove_func):
7916         Unlinking pads while holding the bin LOCK is not a good
7917         idea.
7918
7919         * gst/gstpad.c: (gst_pad_class_init),
7920         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7921         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7922         No prob setting template after creating the pad.
7923
7924 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7925
7926         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7927         (gst_bus_peek), (gst_bus_source_dispatch),
7928         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7929         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7930           gst_bus_poll may be called from other threads. Handle
7931           this nicely by not making poll_data disappear off the
7932           stack once gst_bus_poll returns.
7933           gst_bus_peek now increments the refcount on the returned
7934           message.
7935
7936 2005-07-29  Wim Taymans  <wim@fluendo.com>
7937
7938         * docs/design/part-gstghostpad.txt:
7939         Overview of current GhostPad datastructures and use
7940         cases for changing the target.
7941
7942 2005-07-28  Wim Taymans  <wim@fluendo.com>
7943
7944         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7945         Added checks for hierarchy consistency whan adding linked
7946         elements to bins.
7947
7948         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7949         Added check to test element scheduling without bin/pipeline.
7950
7951         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7952         First add elements to bin, then link.
7953         
7954         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7955         (gst_bin_remove_func):
7956         Unlink pads from elements added/removed from bin to maintain
7957         hierarchy consistency.
7958
7959 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7960
7961         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7962         (gst_base_transform_handle_buffer):
7963         * gst/base/gstbasetransform.h:
7964           Remove broken delay_configure (fixes renegotiation of software
7965           scaling pipelines); remove some leftover printf()s.
7966
7967 2005-07-28  Wim Taymans  <wim@fluendo.com>
7968
7969         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7970         Added some more tests for wrong hierarchy
7971
7972         * docs/design/part-overview.txt:
7973         Some updates.
7974
7975         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7976         Cleanups.
7977
7978         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7979         (gst_element_dispose):
7980         Some more cleanups.
7981
7982         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7983         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7984         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7985         (gst_pad_set_caps), (gst_pad_send_event):
7986         Check for correct hierarchy when linking pads. Moving to
7987         strict requirement for ghostpads when linking elements in
7988         different bins.
7989
7990         * gst/gstpad.h:
7991         Clean ups. Added WRONG_HIERARCHY return value.
7992
7993 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7994
7995         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7996           Better debug if no transform is possible.
7997
7998 2005-07-27  Wim Taymans  <wim@fluendo.com>
7999
8000         * docs/random/wtay/network-transp:
8001         Some old doc I had.
8002
8003 2005-07-27  Wim Taymans  <wim@fluendo.com>
8004
8005         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8006         (gst_dp_event_from_packet):
8007         Fix serialization of seek events.
8008
8009 2005-07-27  Wim Taymans  <wim@fluendo.com>
8010
8011         * check/gst-libs/gdp.c: (GST_START_TEST):
8012         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8013         Fix compilation and fix event serialization.
8014
8015 2005-07-27  Wim Taymans  <wim@fluendo.com>
8016
8017         * CHANGES-0.9:
8018         * docs/design/part-TODO.txt:
8019         * docs/design/part-events.txt:
8020         Some docs updates
8021
8022         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8023         (gst_base_sink_event), (gst_base_sink_do_sync),
8024         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8025         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8026         (gst_base_src_do_seek), (gst_base_src_event_handler),
8027         (gst_base_src_loop):
8028         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8029         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8030         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8031         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8032         (gst_base_transform_set_passthrough),
8033         (gst_base_transform_is_passthrough):
8034         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8035         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8036         Event updates.
8037
8038         * gst/gstbuffer.h:
8039         Use faster casts.
8040
8041         * gst/gstelement.c: (gst_element_seek):
8042         * gst/gstelement.h:
8043         Update gst_element_seek.
8044
8045         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8046         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8047         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8048         (gst_event_new_eos), (gst_event_new_newsegment),
8049         (gst_event_parse_newsegment), (gst_event_new_tag),
8050         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8051         (gst_event_parse_qos), (gst_event_new_seek),
8052         (gst_event_parse_seek), (gst_event_new_navigation):
8053         * gst/gstevent.h:
8054         Make GstEvent use GstStructure. Add parsing code, make sure the
8055         API is sufficiently generic.
8056         Mark possible directions of events and serialization.
8057
8058         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8059         (_gst_message_copy), (gst_message_new_segment_start),
8060         (gst_message_new_segment_done), (gst_message_new_custom),
8061         (gst_message_parse_segment_start),
8062         (gst_message_parse_segment_done):
8063         Small cleanups.
8064
8065         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8066         (gst_pad_set_caps), (gst_pad_send_event):
8067         Update for new events. 
8068         Catch events sent in wrong directions.
8069
8070         * gst/gstqueue.c: (gst_queue_link_src),
8071         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8072         (gst_queue_handle_src_query):
8073         Event updates.
8074
8075         * gst/gsttag.c:
8076         * gst/gsttag.h:
8077         Remove event code from this file.
8078
8079         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8080         (gst_dp_event_from_packet):
8081         Event updates.
8082
8083 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8084
8085         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8086         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8087         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8088           Make debugging actually useful.
8089
8090 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8091
8092         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8093         (gst_pad_fixate_caps):
8094           Implement default fixation once again, so that gst_pad_fixate()
8095           actually does anything at all. This probably needs to be some
8096           sort of a last resort, and use profile-based fixation first, but
8097           since that doesn't exist yet, this is the best we have. Fixes
8098           visualization in Totem.
8099
8100 2005-07-22  Wim Taymans  <wim@fluendo.com>
8101
8102         * docs/design/part-events.txt:
8103         Small update.
8104
8105         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8106         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8107         (gst_base_sink_activate_pull):
8108         Some more comments.
8109
8110         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8111         (gst_fake_src_create):
8112         Fix handoff marshall.
8113
8114         * gst/elements/gstidentity.c: (gst_identity_class_init),
8115         (gst_identity_transform_ip):
8116         We're a real inplace element.
8117
8118         * gst/gstbus.c: (gst_bus_post):
8119         Added some comments.
8120
8121         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8122         * tests/muxing/case1.c: (main):
8123         * tests/sched/dynamic-pipeline.c: (main):
8124         * tests/sched/interrupt1.c: (main):
8125         * tests/sched/interrupt2.c: (main):
8126         * tests/sched/interrupt3.c: (main):
8127         * tests/sched/runxml.c: (main):
8128         * tests/sched/sched-stress.c: (main):
8129         * tests/seeking/seeking1.c: (event_received), (main):
8130         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8131         (main):
8132         * tests/threadstate/threadstate3.c: (main):
8133         * tests/threadstate/threadstate4.c: (main):
8134         * tests/threadstate/threadstate5.c: (main):
8135         Fix the tests.
8136
8137 2005-07-21  Wim Taymans  <wim@fluendo.com>
8138
8139         * docs/design/part-seeking.txt:
8140         Some small additions.
8141
8142         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8143         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8144         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8145         * gst/base/gstbasesink.h:
8146         discont values are gint64, handle the math correctly.
8147
8148         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8149         Make the basesrc report error if the source pad is not linked.
8150
8151         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8152         (gst_queue_loop), (gst_queue_handle_src_query),
8153         (gst_queue_src_activate_push):
8154         Make queue collect data even if the srcpad is not linked.
8155         Start pushing out data as soon as it is linked.
8156
8157         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8158         * gst/gstutils.h:
8159         Added gst_flow_get_name() to ease error reporting.
8160
8161 2005-07-20  Wim Taymans  <wim@fluendo.com>
8162
8163         * gst/gstmessage.c: (gst_message_new_segment_start),
8164         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8165         (gst_message_parse_segment_done):
8166         * gst/gstmessage.h:
8167         Added a bunch of messages for advanced seeking.
8168
8169         * gst/parse/grammar.y:
8170         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8171         (gst_dpman_state_changed):
8172         Fix some new-pad -> pad-added signals
8173
8174 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8175
8176         * docs/manual/appendix-porting.xml:
8177         * docs/pwg/appendix-porting.xml:
8178           Document new-pad/state-change signal renames and the FixedList
8179           type rename.
8180
8181 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8182
8183         * docs/manual/advanced-autoplugging.xml:
8184         * docs/manual/basics-helloworld.xml:
8185         * docs/manual/basics-pads.xml:
8186         * docs/random/ds/0.9-suggested-changes:
8187         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8188         * gst/gstelement.h:
8189         * gst/gstevent.h:
8190         * gst/gstformat.h:
8191         * gst/gstquery.h:
8192         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8193         (gst_structure_parse_array), (gst_structure_parse_value):
8194         * gst/gstvalue.c: (gst_type_is_fixed),
8195         (gst_value_list_prepend_value), (gst_value_list_append_value),
8196         (gst_value_list_get_size), (gst_value_list_get_value),
8197         (gst_value_transform_array_string), (gst_value_serialize_array),
8198         (gst_value_deserialize_array), (gst_value_intersect_array),
8199         (gst_value_is_fixed), (_gst_value_initialize):
8200         * gst/gstvalue.h:
8201           GstElement::new-pad -> pad-added, GstElement::state-change ->
8202           state-changed, GstValueFixedList -> GstValueArray, add format and
8203           flags as their own arguments in gst_element_seek() (should improve
8204           "bindeability"), remove function generators since they don't work
8205           under a whole bunch of compilers (they were deprecated already
8206           anyway).
8207
8208 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8209
8210         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8211         (_gst_debug_register_funcptr):
8212         * gst/gstinfo.h:
8213           Fix illegal cast on some platforms (#309253).
8214
8215 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8216
8217         * gst/gstmessage.c: (gst_message_new_custom):
8218         * gst/gstmessage.h:
8219           Add _new_custom, make _new_application a macro to _new_custom.
8220
8221 2005-07-20  Wim Taymans  <wim@fluendo.com>
8222
8223         * gst/base/gstbasesrc.c: (gst_base_src_init),
8224         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8225         * gst/base/gstbasesrc.h:
8226         Add a gboolean to decide when to push out a discont.
8227
8228         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8229         (gst_queue_loop), (gst_queue_handle_src_query),
8230         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8231         (gst_queue_set_property), (gst_queue_get_property):
8232         Some cleanups.
8233
8234         * tests/threadstate/threadstate1.c: (main):
8235         Make a thread test compile and run... very silly..
8236
8237
8238 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8239
8240         * docs/manual/appendix-porting.xml:
8241           Mention removal of libgstgconf-0.9.la and existence of gconf
8242           elements.
8243
8244 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8245
8246         * docs/pwg/advanced-clock.xml:
8247         * docs/pwg/appendix-porting.xml:
8248         * docs/pwg/intro-preface.xml:
8249         * docs/pwg/other-base.xml:
8250         * docs/pwg/other-manager.xml:
8251         * docs/pwg/other-nton.xml:
8252         * docs/pwg/other-ntoone.xml:
8253         * docs/pwg/other-oneton.xml:
8254         * docs/pwg/pwg.xml:
8255           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8256           demuxer), remove n-to-n (was never written), fix some code examples
8257           and links and update the porting section to include all this.
8258
8259 2005-07-19  Wim Taymans  <wim@fluendo.com>
8260
8261         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8262         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8263         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8264         (gst_queue_src_activate_push), (gst_queue_change_state),
8265         (gst_queue_get_property):
8266         * gst/gstqueue.h:
8267         Propagate GstFlowReturn more intelligently upstream and output
8268         an ERROR/EOS when streaming stopped due to fatal error.
8269
8270 2005-07-19  Wim Taymans  <wim@fluendo.com>
8271
8272         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8273         Don't block forever for the state change to complete, the
8274         pipeline already did with a sensible timeout.
8275
8276 2005-07-19  Wim Taymans  <wim@fluendo.com>
8277
8278         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8279         Make sure we never call the create function is we
8280         got deactivated.
8281
8282 2005-07-19  Andy Wingo  <wingo@pobox.com>
8283
8284         * gst/parse/parse.l: Attempt to solve bug #172815.
8285
8286 2005-07-19  Wim Taymans  <wim@fluendo.com>
8287
8288         * docs/design/part-clocks.txt:
8289         * docs/design/part-events.txt:
8290         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8291         Small docs updates.
8292         Only update the seeking values when we are not
8293         busy streaming.
8294
8295 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8296
8297         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8298           Oops, ignore the result of gst_pad_push_event here.
8299
8300 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8301
8302         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8303         (gst_base_src_activate_push):
8304           Send discont event from the loop function, as pads
8305           aren't activated yet in the activate_push handler.
8306
8307         * gst/gstbin.c: (bin_bus_handler):
8308           Don't leak element name.
8309
8310 2005-07-18  Andy Wingo  <wingo@pobox.com>
8311
8312         * configure.ac: Use AS_LIBTOOL_TAGS.
8313
8314 2005-07-18  Wim Taymans  <wim@fluendo.com>
8315
8316         * docs/gst/gstreamer.types:
8317         Remove deleted types.
8318
8319 2005-07-18  Wim Taymans  <wim@fluendo.com>
8320
8321         * check/elements/gstfakesrc.c: (GST_START_TEST):
8322         * configure.ac:
8323         * gst/Makefile.am:
8324         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8325         (init_popt_callback):
8326         * gst/gst.h:
8327         * gst/gst_private.h:
8328         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8329         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8330         * gst/gstbin.h:
8331         * gst/gstbus.h:
8332         * gst/gstconfig.h.in:
8333         * gst/gstelement.c: (gst_element_class_init),
8334         (gst_element_set_base_time), (gst_element_get_base_time),
8335         (iterator_fold_with_resync), (gst_element_change_state),
8336         (gst_element_dispose), (gst_element_get_bus):
8337         * gst/gstelement.h:
8338         * gst/gstelementfactory.h:
8339         * gst/gsterror.c: (_gst_core_errors_init):
8340         * gst/gsterror.h:
8341         * gst/gstevent.h:
8342         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8343         * gst/gstindex.c:
8344         * gst/gstinfo.c: (_gst_debug_init):
8345         * gst/gstmessage.c: (_gst_message_copy):
8346         * gst/gstmessage.h:
8347         * gst/gstminiobject.h:
8348         * gst/gstobject.c:
8349         * gst/gstobject.h:
8350         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8351         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8352         * gst/gstpad.h:
8353         * gst/gstparse.h:
8354         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8355         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8356         (gst_pipeline_get_last_stream_time):
8357         * gst/gstpipeline.h:
8358         * gst/gstpluginfeature.h:
8359         * gst/gstquery.h:
8360         * gst/gstscheduler.c:
8361         * gst/gstscheduler.h:
8362         * gst/gststructure.h:
8363         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8364         (gst_task_finalize), (gst_task_func), (gst_task_create),
8365         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8366         (gst_task_stop), (gst_task_pause):
8367         * gst/gsttask.h:
8368         * gst/gsttypefind.h:
8369         * gst/gsttypes.h:
8370         * gst/registries/gstlibxmlregistry.c: (load_feature),
8371         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8372         * gst/registries/gstxmlregistry.c:
8373         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8374         * gst/schedulers/threadscheduler.c:
8375         * libs/gst/control/dparammanager.h:
8376         * tools/gst-inspect.c: (print_element_list),
8377         (print_plugin_features), (print_element_features):
8378         * tools/gst-xmlinspect.c: (print_element_list),
8379         (print_plugin_info), (main):
8380         Removed plugable schedulers.
8381         Removed Scheduler/Manager from elements.
8382         Removed gsttypes.h, rearranged includes.
8383         Removed dependency pad<->element, element<>pipeline, and
8384         various others,  fix includes.
8385         implement gst_pad_get_parent() with gst_object_get_parent()
8386         Make GstTask sefcontained.
8387         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8388         timeout.
8389         Fix endless loop in iterator_fold_with_resync.
8390
8391
8392 2005-07-18  Wim Taymans  <wim@fluendo.com>
8393
8394         * gst/Makefile.am:
8395         * gst/gstarch.h:
8396         Remove old file.
8397
8398 2005-07-18  Wim Taymans  <wim@fluendo.com>
8399
8400         * gst/Makefile.am:
8401         No more cothreads.h
8402
8403 2005-07-18  Wim Taymans  <wim@fluendo.com>
8404
8405         * gst/cothreads.c:
8406         * gst/cothreads.h:
8407         Let's remove these.
8408
8409 2005-07-18  Wim Taymans  <wim@fluendo.com>
8410
8411         * docs/design/part-dynamic.txt:
8412         * docs/design/part-events.txt:
8413         * docs/design/part-seeking.txt:
8414         Some more docs in the works.
8415
8416         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8417         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8418         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8419         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8420         (gst_base_transform_handle_buffer),
8421         (gst_base_transform_sink_activate_push),
8422         (gst_base_transform_src_activate_pull),
8423         (gst_base_transform_set_passthrough),
8424         (gst_base_transform_is_passthrough):
8425         Refcounting fixes.
8426
8427         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8428         Cleanups.
8429
8430         * gst/gstevent.c: (gst_event_finalize):
8431         Set SRC to NULL.
8432
8433         * gst/gstutils.c: (gst_element_unlink),
8434         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8435         (gst_pad_proxy_setcaps):
8436         * gst/gstutils.h:
8437         Add _get_parent_element() to get a pads parent as an element.
8438
8439 2005-07-18  Wim Taymans  <wim@fluendo.com>
8440
8441         * check/gst/gstbin.c: (GST_START_TEST):
8442         Remove bogus test.
8443
8444 2005-07-18  Wim Taymans  <wim@fluendo.com>
8445
8446         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8447         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8448         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8449         (gst_base_sink_event), (gst_base_sink_do_sync),
8450         (gst_base_sink_chain), (gst_base_sink_loop),
8451         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8452         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8453         Refcounting fixes.
8454         Fix logic for returning ASYNC when not prerolled.
8455
8456 2005-07-18  Wim Taymans  <wim@fluendo.com>
8457
8458         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8459         Fix nasty refcount bug.
8460
8461 2005-07-16 Philippe Khalaf <burger@speedy.org>
8462
8463         * gst/elements/gstfdsrc.c:
8464         * gst/elements/gstfdsrc.h:
8465         * gst/elements/gstelements.c:
8466         * gst/elements/Makefile.am:
8467         Ported fdsrc to 0.9.
8468
8469 2005-07-16  Wim Taymans  <wim@fluendo.com>
8470
8471         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8472         (gst_base_sink_do_sync):
8473         Fix compile error.
8474
8475 2005-07-16  Wim Taymans  <wim@fluendo.com>
8476
8477         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8478         (gst_base_sink_event), (gst_base_sink_get_times),
8479         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8480         * gst/base/gstbasesink.h:
8481         Store and use discont values when syncing buffers as described
8482         in design docs.
8483         
8484         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8485         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8486         (gst_base_src_activate_push):
8487         Push discont event when starting.
8488
8489         * gst/elements/gstidentity.c: (gst_identity_transform):
8490         Small cleanups.
8491
8492         * gst/gstbin.c: (gst_bin_change_state):
8493         Small cleanups in base_time  distribution.
8494
8495         * gst/gstelement.c: (gst_element_set_base_time),
8496         (gst_element_get_base_time), (gst_element_change_state):
8497         * gst/gstelement.h:
8498         Added methods for the base_time of the element.
8499         Some MT fixes.
8500
8501         * gst/gstpipeline.c: (gst_pipeline_send_event),
8502         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8503         (gst_pipeline_get_last_stream_time):
8504         * gst/gstpipeline.h:
8505         MT fixes.
8506         Handle seeking as described in design doc, remove stream_time
8507         hack.
8508         Cleanups clock and stream_time selection code. Added accessors
8509         for the stream_time.
8510         
8511
8512 2005-07-16  Andy Wingo  <wingo@pobox.com>
8513
8514         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8515         (#305291).
8516
8517 2005-07-16  Wim Taymans  <wim@fluendo.com>
8518
8519         * check/gst/gstbin.c: (GST_START_TEST):
8520         Make elements silent as the deep_notify refs the
8521         parent, which might make the test fail.
8522
8523         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8524         Don't hold the lock for too long.
8525
8526 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8527
8528         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8529           Don't unref the caps we passed to gst_caps_make_writable() after
8530           passing them. gst_caps_make_writable() will do that for us.
8531
8532 2005-07-15  Andy Wingo  <wingo@pobox.com>
8533
8534         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8535         (#157311).
8536
8537         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8538         own marshalling function for the handoff signal. Properly type the
8539         buffer as a buffer. Fixes some warnings. Should do a more general
8540         solution.
8541         (gst_identity_class_init): Plug into the right marshaller.
8542
8543 2005-07-15  Wim Taymans  <wim@fluendo.com>
8544
8545         * docs/design/part-TODO.txt:
8546         * docs/design/part-clocks.txt:
8547         * docs/design/part-element-sink.txt:
8548         * docs/design/part-events.txt:
8549         * docs/design/part-gstpipeline.txt:
8550         Updated docs, mostly DISCONT related.
8551
8552 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8553
8554         * docs/pwg/building-pads.xml:
8555           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8556
8557 2005-07-15  Andy Wingo  <wingo@pobox.com>
8558
8559         * tools/gst-typefind.c: Update, add copyright block.
8560
8561         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8562         Normalize and truncate caps before fixation.
8563
8564         * gst/gstcaps.h:
8565         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8566         discards all but the first structure from its argument.
8567
8568 2005-07-15  Wim Taymans  <wim@fluendo.com>
8569
8570         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8571         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8572         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8573         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8574         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8575         (gst_base_transform_chain), (gst_base_transform_change_state),
8576         (gst_base_transform_set_passthrough),
8577         (gst_base_transform_is_passthrough):
8578         * gst/base/gstbasetransform.h:
8579         Make passthrough work using the bufferpools.
8580         Changed API a bit, subclasses have to write into a buffer
8581         provided by the base class.
8582         More debug info in nego functions.
8583         
8584         * gst/elements/gstidentity.c: (gst_identity_init),
8585         (gst_identity_transform):
8586         Port to new base class.
8587
8588 2005-07-15  Wim Taymans  <wim@fluendo.com>
8589
8590         * gst/gstmessage.c: (gst_message_new_state_changed):
8591         * tools/gst-launch.c: (event_loop), (main):
8592         Totally dump messages in -launch with the -m option.
8593         Fix message name for State messages,
8594
8595 2005-07-14  Wim Taymans  <wim@fluendo.com>
8596
8597         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8598         Post error messages on errors.
8599
8600 2005-07-14  Wim Taymans  <wim@fluendo.com>
8601
8602         * gst/gstcaps.c: (gst_caps_do_simplify):
8603         Remove debug info.
8604
8605         * gst/gsterror.h:
8606         Define error for stream stopped.
8607
8608         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8609         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8610         Do proper return values.
8611
8612         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8613         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8614         (gst_pad_get_range):
8615         Better return values.
8616
8617         * gst/gstpad.h:
8618         Reorganise return values, add macro to check for fatal errors.
8619
8620         * gst/gstqueue.c: (gst_queue_chain):
8621         Return proper GstFlowReturn values,
8622
8623 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8624
8625         * docs/gst/gstreamer-sections.txt:
8626         * docs/gst/gstreamer.types:
8627         * docs/gst/tmpl/gst.sgml:
8628         * docs/gst/tmpl/gstbasesink.sgml:
8629         * docs/gst/tmpl/gstbasesrc.sgml:
8630         * docs/gst/tmpl/gstbasetransform.sgml:
8631         * docs/gst/tmpl/gstbin.sgml:
8632         * docs/gst/tmpl/gstbuffer.sgml:
8633         * docs/gst/tmpl/gstcaps.sgml:
8634         * docs/gst/tmpl/gstclock.sgml:
8635         * docs/gst/tmpl/gstcompat.sgml:
8636         * docs/gst/tmpl/gstconfig.sgml:
8637         * docs/gst/tmpl/gstelement.sgml:
8638         * docs/gst/tmpl/gstelementdetails.sgml:
8639         * docs/gst/tmpl/gstelementfactory.sgml:
8640         * docs/gst/tmpl/gstenumtypes.sgml:
8641         * docs/gst/tmpl/gsterror.sgml:
8642         * docs/gst/tmpl/gstevent.sgml:
8643         * docs/gst/tmpl/gstfakesink.sgml:
8644         * docs/gst/tmpl/gstfakesrc.sgml:
8645         * docs/gst/tmpl/gstfilesink.sgml:
8646         * docs/gst/tmpl/gstfilesrc.sgml:
8647         * docs/gst/tmpl/gstfilter.sgml:
8648         * docs/gst/tmpl/gstformat.sgml:
8649         * docs/gst/tmpl/gstghostpad.sgml:
8650         * docs/gst/tmpl/gstimplementsinterface.sgml:
8651         * docs/gst/tmpl/gstindex.sgml:
8652         * docs/gst/tmpl/gstindexfactory.sgml:
8653         * docs/gst/tmpl/gstinfo.sgml:
8654         * docs/gst/tmpl/gstiterator.sgml:
8655         * docs/gst/tmpl/gstmacros.sgml:
8656         * docs/gst/tmpl/gstmemchunk.sgml:
8657         * docs/gst/tmpl/gstminiobject.sgml:
8658         * docs/gst/tmpl/gstobject.sgml:
8659         * docs/gst/tmpl/gstpad.sgml:
8660         * docs/gst/tmpl/gstpadtemplate.sgml:
8661         * docs/gst/tmpl/gstparse.sgml:
8662         * docs/gst/tmpl/gstpipeline.sgml:
8663         * docs/gst/tmpl/gstplugin.sgml:
8664         * docs/gst/tmpl/gstpluginfeature.sgml:
8665         * docs/gst/tmpl/gstquery.sgml:
8666         * docs/gst/tmpl/gstqueue.sgml:
8667         * docs/gst/tmpl/gstregistry.sgml:
8668         * docs/gst/tmpl/gstregistrypool.sgml:
8669         * docs/gst/tmpl/gstscheduler.sgml:
8670         * docs/gst/tmpl/gstschedulerfactory.sgml:
8671         * docs/gst/tmpl/gststructure.sgml:
8672         * docs/gst/tmpl/gstsystemclock.sgml:
8673         * docs/gst/tmpl/gsttaglist.sgml:
8674         * docs/gst/tmpl/gsttagsetter.sgml:
8675         * docs/gst/tmpl/gsttrace.sgml:
8676         * docs/gst/tmpl/gsttrashstack.sgml:
8677         * docs/gst/tmpl/gsttypefind.sgml:
8678         * docs/gst/tmpl/gsttypefindfactory.sgml:
8679         * docs/gst/tmpl/gsttypes.sgml:
8680         * docs/gst/tmpl/gsturihandler.sgml:
8681         * docs/gst/tmpl/gsturitype.sgml:
8682         * docs/gst/tmpl/gstutils.sgml:
8683         * docs/gst/tmpl/gstvalue.sgml:
8684         * docs/gst/tmpl/gstversion.sgml:
8685         * docs/gst/tmpl/gstxml.sgml:
8686         * docs/libs/tmpl/gstcontrol.sgml:
8687         * docs/libs/tmpl/gstdataprotocol.sgml:
8688         * docs/libs/tmpl/gstdparam.sgml:
8689         * docs/libs/tmpl/gstdplinint.sgml:
8690         * docs/libs/tmpl/gstdpman.sgml:
8691         * docs/libs/tmpl/gstdpsmooth.sgml:
8692         * docs/libs/tmpl/gstgetbits.sgml:
8693         * docs/libs/tmpl/gstunitconvert.sgml:
8694         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8695         (gst_push_src_base_init), (gst_push_src_class_init),
8696         (gst_push_src_init), (gst_push_src_create):
8697         * gst/base/gstpushsrc.h:
8698         * gst/elements/gstelements.c:
8699         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8700         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8701         (gst_fake_sink_init), (gst_fake_sink_set_property),
8702         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8703         (gst_fake_sink_event), (gst_fake_sink_preroll),
8704         (gst_fake_sink_render), (gst_fake_sink_change_state):
8705         * gst/elements/gstfakesink.h:
8706         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8707         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8708         (gst_fake_src_base_init), (gst_fake_src_class_init),
8709         (gst_fake_src_init), (gst_fake_src_event_handler),
8710         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8711         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8712         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8713         (gst_fake_src_create_buffer), (gst_fake_src_create),
8714         (gst_fake_src_start), (gst_fake_src_stop):
8715         * gst/elements/gstfakesrc.h:
8716         * gst/elements/gstfilesink.c: (_do_init),
8717         (gst_file_sink_base_init), (gst_file_sink_class_init),
8718         (gst_file_sink_init), (gst_file_sink_dispose),
8719         (gst_file_sink_set_location), (gst_file_sink_set_property),
8720         (gst_file_sink_get_property), (gst_file_sink_open_file),
8721         (gst_file_sink_close_file), (gst_file_sink_query),
8722         (gst_file_sink_event), (gst_file_sink_render),
8723         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8724         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8725         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8726         * gst/elements/gstfilesink.h:
8727         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8728         (gst_file_src_class_init), (gst_file_src_init),
8729         (gst_file_src_finalize), (gst_file_src_set_location),
8730         (gst_file_src_set_property), (gst_file_src_get_property),
8731         (gst_file_src_map_region), (gst_file_src_map_small_region),
8732         (gst_file_src_create_mmap), (gst_file_src_create_read),
8733         (gst_file_src_create), (gst_file_src_is_seekable),
8734         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8735         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8736         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8737         (gst_file_src_uri_handler_init):
8738         * gst/elements/gstfilesrc.h:
8739           more autistic cleanliness in functions/names/defines
8740
8741 2005-07-13  Andy Wingo  <wingo@pobox.com>
8742
8743         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8744         source couldn't negotiate.
8745
8746         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8747         connections again.
8748
8749         * gst/gstutils.h:
8750         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8751         function. I am channeling Hades. Put your boots on suckers!!!
8752
8753 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8754
8755         * testsuite/caps/Makefile.am:
8756         * testsuite/caps/value_compare.c:
8757         * testsuite/caps/value_intersect.c:
8758         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8759           move two testsuite apps over to the check dir
8760
8761 2005-07-12  Wim Taymans  <wim@fluendo.com>
8762
8763         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8764         Added more debug info in the negotiate process.
8765
8766         * gst/gstmessage.h:
8767         Prepare for segment playback.
8768
8769         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8770         Better debugging.
8771
8772         * gst/gstutils.c:
8773         Some more docs.
8774
8775         * tools/gst-launch.c: (main):
8776         NULL pipeline on errors.
8777
8778 2005-07-12  Andy Wingo  <wingo@pobox.com>
8779
8780         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8781         not it comes from a malloc region. Make sure our copy gets freed.
8782
8783 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8784
8785         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8786         * check/gst/gstmessage.c: (GST_START_TEST):
8787         * check/gst/gststructure.c: (GST_START_TEST),
8788         (gst_structure_suite), (main):
8789           more testing
8790         * gst/gstelement.c: (gst_element_message_full):
8791           clean up GError and debug string now that they get copied
8792         * gst/gstmessage.c: (gst_message_new_error),
8793         (gst_message_new_warning), (gst_message_parse_error),
8794         (gst_message_parse_warning):
8795           use GST_TYPE_G_ERROR for structure_new, and take copies of
8796           arguments, so that we don't mess up refcounting
8797
8798 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8799
8800         * check/Makefile.am:
8801           add per-test valgrind targets
8802         * check/gst-libs/gdp.c: (GST_START_TEST),
8803         (gst_data_protocol_suite), (main):
8804           clean up
8805
8806 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8807
8808         * check/Makefile.am:
8809           instate more valgrindable tests
8810         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8811         (GST_START_TEST), (fakesrc_suite):
8812         * check/gst/gstpad.c: (GST_START_TEST):
8813         * check/gst/gststructure.c: (GST_START_TEST):
8814           fix test leaks
8815         * docs/gst/tmpl/gstminiobject.sgml:
8816         * gst/gstpad.c: (gst_pad_finalize):
8817           fix the static mutex leak
8818
8819 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8820
8821         * check/Makefile.am:
8822           add two more tests for valgrinding
8823         * check/gst/gstvalue.c: (GST_START_TEST):
8824           test refcount of deserialized buffer, found a leak
8825         * docs/gst/gstreamer-docs.sgml:
8826         * docs/gst/gstreamer-sections.txt:
8827         * docs/gst/gstreamer.types:
8828         * docs/gst/tmpl/gstminiobject.sgml:
8829           add miniobject to docs
8830         * gst/gstminiobject.c:
8831           add some docs
8832         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8833         (gst_string_unwrap):
8834           fix a hard-to-find invalid write for one of the tests
8835           fix a leak for deserialized buffers
8836
8837 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8838
8839         * docs/pwg/advanced-events.xml:
8840         * docs/pwg/advanced-request.xml:
8841         * docs/pwg/advanced-scheduling.xml:
8842         * docs/pwg/appendix-porting.xml:
8843         * docs/pwg/building-boiler.xml:
8844         * docs/pwg/intro-preface.xml:
8845         * docs/pwg/other-ntoone.xml:
8846           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8847           of example code and explanation for pad activation, loop() and
8848           getrange() functions and a bit more. Remove old comments pointing
8849           to loop-functions.
8850         * examples/pwg/Makefile.am:
8851           Add loop/getrange examples.
8852
8853 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8854
8855         * configure.ac:
8856           check for valgrind binary + some fixes
8857         * check/gst.supp:
8858           valgrind suppressions for the tests
8859         * check/Makefile.am:
8860           add a valgrind: target that valgrinds the unit tests
8861         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8862         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8863         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8864         * check/gst/gstghostpad.c:
8865           added some cleanup
8866         * check/gst/gstdata.c:
8867           removed
8868         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8869         (thread_unref), (gst_mini_object_suite), (main):
8870           added
8871         * gst/gst.c: (gst_deinit):
8872         * gst/gst.h:
8873           add a method to clean up.
8874         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8875         (gst_system_clock_obtain):
8876           allow for disposing the system clock.
8877         * tools/gst-launch.c: (main):
8878           deinit
8879
8880 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8881
8882         * docs/gst/tmpl/gstbasesrc.sgml:
8883         * docs/gst/tmpl/gstfakesrc.sgml:
8884         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8885         (gst_base_src_init), (gst_base_src_set_property),
8886         (gst_base_src_get_property), (gst_base_src_get_range),
8887         (gst_base_src_start):
8888         * gst/base/gstbasesrc.h:
8889           add num-buffers property
8890         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8891         (gst_fakesrc_init), (gst_fakesrc_set_property),
8892         (gst_fakesrc_get_property), (gst_fakesrc_create),
8893         (gst_fakesrc_start):
8894           remove num-buffers property
8895
8896 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8897
8898         * docs/gst/gstreamer-sections.txt:
8899         * docs/gst/tmpl/gstbasesink.sgml:
8900         * docs/gst/tmpl/gstbasesrc.sgml:
8901         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8902         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8903         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8904         (gst_base_sink_set_property), (gst_base_sink_get_property),
8905         (gst_base_sink_handle_object), (gst_base_sink_event),
8906         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8907         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8908         (gst_base_sink_loop), (gst_base_sink_deactivate),
8909         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8910         (gst_base_sink_change_state):
8911         * gst/base/gstbasesink.h:
8912         * gst/base/gstbasesrc.h:
8913         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8914         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8915         (gst_filesink_init):
8916           more macro splitting
8917
8918 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8919
8920         * gst/gstelement.c: (gst_element_get_bus):
8921           add debug
8922         * tools/gst-launch.c: (check_intr), (event_loop):
8923           fix bus leaks
8924
8925 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8926
8927         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8928           fix a caps leak
8929
8930 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8931
8932         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8933         (gst_base_src_finalize):
8934           add finalize method and clean up properly
8935         * gst/gstpipeline.c: (gst_pipeline_dispose):
8936           add debug
8937
8938 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8939
8940         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8941         (gst_bin_suite):
8942           add more things to check
8943         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8944         * gst/gstelement.c:
8945           more debug
8946
8947 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8948
8949         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8950         (GST_START_TEST), (fakesrc_suite):
8951         * check/gst-libs/gdp.c: (GST_START_TEST):
8952         * check/gst/gst.c: (GST_START_TEST):
8953         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8954         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8955         * check/gst/gstbus.c: (GST_START_TEST):
8956         * check/gst/gstcaps.c: (GST_START_TEST):
8957         * check/gst/gstdata.c: (GST_START_TEST):
8958         * check/gst/gstelement.c: (GST_START_TEST):
8959         * check/gst/gstghostpad.c: (GST_START_TEST):
8960         * check/gst/gstiterator.c: (GST_START_TEST):
8961         * check/gst/gstmessage.c: (GST_START_TEST):
8962         * check/gst/gstobject.c: (GST_START_TEST):
8963         * check/gst/gstpad.c: (GST_START_TEST):
8964         * check/gst/gststructure.c: (GST_START_TEST):
8965         * check/gst/gstsystemclock.c: (GST_START_TEST),
8966         (gst_systemclock_suite):
8967         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8968         * check/gst/gstvalue.c: (GST_START_TEST):
8969         * check/pipelines/cleanup.c: (GST_START_TEST):
8970         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8971         * check/states/sinks.c: (GST_START_TEST):
8972         * check/gstcheck.c: (gst_check_init):
8973         * check/gstcheck.h:
8974           add debugging category
8975           use GST_START_TEST now, so we add a debug line
8976
8977 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8978
8979         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8980           add test for state change message on a bin
8981         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8982           add another test
8983         * gst/gstbin.c: (gst_bin_init):
8984         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8985         * gst/gstelement.c: (gst_element_post_message),
8986         (gst_element_set_state):
8987         * gst/gstelementfactory.c: (gst_element_factory_create):
8988         * gst/gstmessage.c: (gst_message_new):
8989         * gst/gstscheduler.c:
8990           various debugging additions and cleanups
8991
8992 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8993
8994         * check/Makefile.am:
8995         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8996         (main):
8997           adding tests for elements
8998         * gst/gstelement.c: (gst_element_dispose):
8999
9000 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9001
9002         * gst/registries/gstlibxmlregistry.c: (load_feature):
9003           plug more leaks.  A simple gst_init() now is leakfree, yay.
9004
9005 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9006
9007         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9008         (gst_xml_registry_load):
9009           plug another memleak
9010
9011 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9012
9013         * configure.ac:
9014           use GST_SET_ERROR_CFLAGS
9015         * docs/faq/cvs.xml:
9016           change to ERROR_CFLAGS
9017
9018 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9019
9020         * configure.ac:
9021           make GST_ERROR_CFLAGS overridable and re-enable Werror
9022         * docs/faq/cvs.xml:
9023           add a note about error CFLAGS
9024         * docs/gst/tmpl/gstfakesrc.sgml:
9025         * gst/elements/gstfakesrc.c:
9026           comment out some unused code
9027         * gst/gst.c: (split_and_iterate):
9028         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9029         (load_feature):
9030           plug some memleaks
9031
9032 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9033
9034         * common/Makefile.am:
9035         * common/gtk-doc.mak:
9036         * docs/gst/Makefile.am:
9037           factor out gtk-doc.mak
9038
9039 2005-07-07  Wim Taymans  <wim@fluendo.com>
9040
9041         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9042         (gst_thread_scheduler_dispose):
9043         Unlock the STREAM_LOCK completely.
9044
9045 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9046
9047         * check/Makefile.am:
9048         * check/elements/.cvsignore:
9049         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9050         (START_TEST), (fakesrc_suite), (main):
9051         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9052         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9053         (gst_fakesrc_create), (gst_fakesrc_start):
9054         * gst/elements/gstfakesrc.h:
9055           adding a first element test
9056
9057 2005-07-07  Andy Wingo  <wingo@pobox.com>
9058
9059         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9060         debug message.
9061
9062 2005-07-07  Wim Taymans  <wim@fluendo.com>
9063
9064         * gst/gstquery.c:
9065         * gst/gstquery.h:
9066         Remove old types
9067
9068 2005-07-07  Wim Taymans  <wim@fluendo.com>
9069
9070         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9071         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9072         Allow subclasses to implement their own negotiation.
9073
9074 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9075
9076         * docs/design/part-gstbin.txt:
9077         * docs/design/part-gstpipeline.txt:
9078           Update design notes to reflect the movement of
9079           responsibility for bus handling from GstPipeline to
9080           GstBin
9081
9082 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9083
9084         * configure.ac:
9085           Remove unnecessary queue2/3/4 examples.
9086
9087 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9088
9089         * examples/Makefile.am:
9090         * examples/helloworld/helloworld.c: (event_loop), (main):
9091         * examples/queue/queue.c: (event_loop), (main):
9092         * examples/queue2/queue2.c: (main):
9093           Update a couple of the examples to work again.
9094
9095         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9096         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9097          Spelling corrections and extra debug.
9098         
9099         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9100         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9101         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9102         * gst/gstbin.h:
9103         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9104         (gst_pipeline_change_state):
9105         * gst/gstpipeline.h:
9106           Move the bus handler for children to the GstBin, and create a
9107           separate bus for receiving messages from children to the one the
9108           bus sends 'upwards' on.
9109
9110 2005-07-06  Wim Taymans  <wim@fluendo.com>
9111
9112         * gst/base/README:
9113         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9114         (gst_base_sink_handle_object), (gst_base_sink_loop),
9115         (gst_base_sink_change_state):
9116         * gst/base/gstbasesink.h:
9117         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9118         (gst_base_src_init), (gst_base_src_setcaps),
9119         (gst_base_src_getcaps), (gst_base_src_loop),
9120         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9121         (gst_base_src_start), (gst_base_src_change_state):
9122         * gst/base/gstbasesrc.h:
9123         Make basesrc negotiate.
9124         Handle the case where preroll fails in basesink.
9125         Update README.
9126
9127 2005-07-06  Wim Taymans  <wim@fluendo.com>
9128
9129         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9130         Implement the fixate function.
9131         Clean up acceptcaps.
9132
9133 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9134
9135         * docs/pwg/building-filterfactory.xml:
9136         * docs/pwg/pwg.xml:
9137           Remove never-written filter-factory chapter; I'll add the various
9138           base classes to part 4 ("other element types") later on.
9139
9140 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9141
9142         * docs/pwg/advanced-negotiation.xml:
9143         * docs/pwg/building-boiler.xml:
9144         * docs/pwg/building-pads.xml:
9145         * docs/pwg/pwg.xml:
9146         * examples/pwg/Makefile.am:
9147           Add a chapter on caps negotiation, simplify the original code
9148           samples a bit w.r.t. caps negotiation, add link to the advanced
9149           section. Add a bunch of examples showing different use cases of
9150           different types of caps negotiation. Upstream renegotiation isn't
9151           fully documented yet since nobody knows how that works.
9152
9153 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9154
9155         * check/gst/gstpad.c:
9156         * check/gstcheck.c:
9157         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9158           if pad has no parent, return NULL as list of internal links
9159
9160 2005-07-05  Andy Wingo  <wingo@pobox.com>
9161
9162         * gst/elements/gstfilesrc.c:
9163         * gst/elements/gstfakesrc.c: 
9164         * gst/base/gstpushsrc.c:
9165         * gst/base/gstbasesrc.h: 
9166         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9167         
9168 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9169
9170         * Makefile.am:
9171           better report generation target (lcov needs a patch)
9172
9173 2005-07-05  Andy Wingo  <wingo@pobox.com>
9174
9175         * gst/elements, testsuite: Null if we got it...
9176
9177 2005-07-05  Wim Taymans  <wim@fluendo.com>
9178
9179         * configure.ac:
9180         * libs/gst/dataprotocol/Makefile.am:
9181         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9182         * libs/gst/dataprotocol/dataprotocol.h:
9183         * pkgconfig/Makefile.am:
9184         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9185         * pkgconfig/gstreamer-dataprotocol.pc.in:
9186         Ported dataprotol to 0.9. 
9187         Added pkgconfig files.
9188
9189 2005-07-05  Andy Wingo  <wingo@pobox.com>
9190
9191         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9192         Default to returning TRUE for the case when tranform_caps returns
9193         a fixed caps, like for identity or volume.
9194
9195         * check/gst/gstbus.c (pound_bus_with_messages): 
9196         * check/gst/gstmessage.c (START_TEST): 
9197         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9198         message API change.
9199
9200         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9201         logic weaks here: always run transform_caps, trying passthrough
9202         operation only if the original caps intersects with the transform.
9203
9204         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9205         source and sink caps.
9206
9207         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9208         Intersect the peer caps with the pad template before going into
9209         transform_caps.
9210         (gst_base_transform_transform_caps): More debugging.
9211
9212         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9213         src argument.
9214
9215 2005-07-04  Edward Hervey  <edward@fluendo.com>
9216
9217         * gst/gstutils.c:
9218         * gst/gstutils.h:
9219         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9220         in bindings.
9221
9222 2005-07-04  Andy Wingo  <wingo@pobox.com>
9223
9224         * check/gst/gstpad.c: Only set explicit caps on pads.
9225
9226 2005-07-01  Andy Wingo  <wingo@pobox.com>
9227
9228         * tests/network-clock.scm: Commentary update.
9229
9230         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9231         Didn't really make sense, not implementable with basetransform,
9232         etc.
9233         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9234         attempt at implementing the sync property, needs an unlock method.
9235
9236         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9237         New func, by default returns the same caps (the identity
9238         transformation).
9239         (gst_base_transform_getcaps): Uses transform_caps to return
9240         something sensible.
9241         (gst_base_transform_setcaps): Complicated logic to get caps on
9242         both pads, even if they are different, and to call set_caps once
9243         for every time both pads get their caps set.
9244         (gst_base_transform_handle_buffer): Give the ref to the transform
9245         function. Allows in-place modification of the buffer.
9246
9247         * gst/base/gstbasetransform.h (transform_caps): New class method.
9248         Given caps on one side, what can I do on the other.
9249         (set_caps): Take two caps, one for each side of the element.
9250
9251         * gst/gstpad.h:
9252         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9253         caps in place. This is safe because we can check the mutability of
9254         the caps, and a good idea because fixate functions are just called
9255         as a matter of last resort. (Not actually implemented.)
9256         (gst_pad_set_caps): If the caps we're setting is actually the same
9257         as the existing pad caps, just update the pointer without calling
9258         setcaps. Assert that caps is either NULL or fixed, as per the
9259         docs.
9260
9261         * gst/gstghostpad.c: Update for fixate changes.
9262
9263 2005-07-02  Andy Wingo  <wingo@pobox.com>
9264
9265         * gst/gstcaps.c:
9266         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9267         two refcounts makes it immutable, which is enough. Doc more.
9268
9269 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9270
9271         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9272           Put the mini_object into GValue as a mini_object,
9273           not a gpointer, since that's how we declared
9274           the signal.
9275
9276 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9277
9278         * examples/pwg/Makefile.am:
9279           Fix buildbot again.
9280
9281 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9282
9283         * docs/pwg/building-testapp.xml:
9284           Add extra check.
9285         * examples/pwg/Makefile.am:
9286           Fix buildbot.
9287
9288 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9289
9290         * configure.ac:
9291         * examples/Makefile.am:
9292         * examples/pwg/Makefile.am:
9293         * examples/pwg/extract.pl:
9294           Enable building the PWG examples.
9295         * docs/pwg/advanced-interfaces.xml:
9296           Add URI interface stub.
9297         * docs/pwg/advanced-types.xml:
9298         * docs/pwg/other-autoplugger.xml:
9299         * docs/pwg/appendix-porting.xml:
9300         * docs/pwg/pwg.xml:
9301           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9302         * docs/pwg/building-boiler.xml:
9303         * docs/pwg/building-chainfn.xml:
9304         * docs/pwg/building-pads.xml:
9305         * docs/pwg/building-props.xml:
9306         * docs/pwg/building-state.xml:
9307         * docs/pwg/building-testapp.xml:
9308           Update the building-*.xml parts for 0.9 changes. All examples
9309           code blocks compile in examples/pwg/*.
9310
9311 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9312
9313         * docs/manual/advanced-autoplugging.xml:
9314         * docs/manual/appendix-checklist.xml:
9315         * docs/manual/appendix-integration.xml:
9316         * docs/manual/highlevel-components.xml:
9317           Fix playbin/decodebin examples, update docs a bit, mention bus
9318           instead of signals in various places, mention kmplayer and
9319           kaffeine since they have a working GStreamer backend in the KDE
9320           section.
9321
9322 2005-06-30  Wim Taymans  <wim@fluendo.com>
9323
9324         * CHANGES-0.9:
9325         * docs/design/draft-ghostpads.txt:
9326         * docs/design/draft-push-pull.txt:
9327         * docs/design/draft-query.txt:
9328         * docs/design/part-TODO.txt:
9329         * docs/design/part-query.txt:
9330         Added CHANGES-0.9 doc, updated status of other docs.
9331         
9332         * gst/gstquery.h:
9333         Remove "hmm" macro
9334
9335 2005-06-30  Wim Taymans  <wim@fluendo.com>
9336
9337         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9338         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9339         (gst_base_sink_change_state):
9340         * gst/base/gstbasesink.h:
9341         Some tweaks, only EOS and a buffer complete a preroll.
9342
9343 2005-06-30  Andy Wingo  <wingo@pobox.com>
9344
9345         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9346         activate_push down to the internal pad as well.
9347
9348 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9349
9350         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9351
9352         * gst/gsttaginterface.c:
9353           Some documentation fixes (#307394 and #307397).
9354
9355 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9356
9357         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9358
9359         * gst/gstvalue.c: (gst_value_intersect_list):
9360           Fix memleak (#309125).
9361
9362 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9363
9364         * docs/manual/advanced-dataaccess.xml:
9365           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9366         * docs/manual/basics-pads.xml:
9367           Add reference for filtered caps to above chapter.
9368
9369 2005-06-30  Wim Taymans  <wim@fluendo.com>
9370
9371         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9372         (gst_bin_change_state):
9373         Probes are gone.
9374         Lame attempt at making the state change function a bit
9375         more readable.
9376
9377 2005-06-30  Wim Taymans  <wim@fluendo.com>
9378
9379         * docs/design/part-clocks.txt:
9380         * docs/design/part-element-sink.txt:
9381         * docs/design/part-events.txt:
9382         * docs/design/part-preroll.txt:
9383         * docs/design/part-states.txt:
9384         Some more tweeks and additions to the docs.
9385
9386 2005-06-30  Wim Taymans  <wim@fluendo.com>
9387
9388         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9389         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9390         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9391         (gst_pad_check_pull_range), (gst_pad_get_range),
9392         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9393         * gst/gstpad.h:
9394         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9395         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9396         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9397         (gst_pad_remove_buffer_probe):
9398         Removed atomic operations, use existing LOCK.
9399         Move exception handling out of main code path.
9400
9401 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9402
9403         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9404         (silly_return_true_function), (gst_pad_class_init),
9405         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9406         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9407         (gst_pad_send_event):
9408           Fix accumulator, add default value by using _emitv() instead
9409           of _emit() for signal emission.
9410
9411 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9412
9413         * docs/manual/advanced-dataaccess.xml:
9414         * examples/manual/Makefile.am:
9415           Add probe example.
9416         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9417           Make work (??).
9418
9419 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9420
9421         * gst/elements/gstfilesink.c: (gst_filesink_render):
9422           Simplify code so that we don't have to handle short
9423           writes and return GST_FLOW_ERROR if an error occured.
9424
9425 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9426
9427         * docs/gst/gstreamer-docs.sgml:
9428           Remove probes more.
9429
9430 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9431
9432         * docs/gst/gstreamer-sections.txt:
9433         * docs/gst/tmpl/gstpad.sgml:
9434         * docs/gst/tmpl/gstprobe.sgml:
9435         * gst/Makefile.am:
9436         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9437         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9438         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9439         (gst_pad_push_event), (gst_pad_send_event):
9440         * gst/gstpad.h:
9441         * gst/gstutils.c: (gst_pad_add_data_probe),
9442         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9443         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9444         (gst_pad_remove_buffer_probe):
9445         * gst/gstutils.h:
9446           Remove old probes, add new g-signal-based probes and some utility
9447           functions.
9448
9449 2005-06-29  Edward Hervey  <edward@fluendo.com>
9450
9451         * gst/gstelementfactory.c:
9452         * gst/gstutils.h:
9453         * gst/gstutils.c:
9454         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9455         the definition to the header file.
9456
9457 2005-06-29  Andy Wingo  <wingo@pobox.com>
9458
9459         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9460         plugins from the source directory.
9461
9462 2005-06-29  Wim Taymans  <wim@fluendo.com>
9463
9464         * docs/gst/tmpl/gstbuffer.sgml:
9465         * docs/gst/tmpl/gstclock.sgml:
9466         Some fixings for blantently wrong text.
9467
9468 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9469
9470         * check/Makefile.am:
9471         * gst/gst.c: (add_path_func), (init_pre):
9472         * gst/gstregistry.c: (gst_registry_add_path):
9473           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9474           only scan the GST_PLUGIN_PATH locations, and not add
9475           system locations
9476
9477 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9478
9479         * docs/gst/gstreamer-sections.txt:
9480         * docs/gst/tmpl/gstbasesrc.sgml:
9481         * gst/gstelement.c:
9482         * gst/gstelement.h:
9483         * gst/gstevent.c:
9484         * gst/gstutils.c:
9485           doc fixes
9486
9487 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9488
9489         * docs/manual/advanced-autoplugging.xml:
9490           Fix autoplugging example.
9491
9492 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9493
9494         * docs/manual/advanced-autoplugging.xml:
9495         * docs/manual/mime-world.fig:
9496           Try to get autoplugging working, fix type detection. Fix text
9497           in hello-world image.
9498
9499 2005-06-29  Wim Taymans  <wim@fluendo.com>
9500
9501         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9502         (gst_base_sink_change_state):
9503         Small debug line.
9504
9505         * gst/gstclock.h:
9506         map SIGNAL and BROADCAST to the right function.
9507
9508         * gst/gstobject.h:
9509         Remove redundant braces.
9510
9511         * gst/gstpad.c: (gst_pad_set_caps):
9512         Don't call setcaps function when reseting caps to NULL.
9513
9514         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9515         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9516         (gst_system_clock_id_unschedule):
9517         Use BROADCAST as this is what we do.
9518
9519 2005-06-29  Wim Taymans  <wim@fluendo.com>
9520
9521         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9522         We are actually prerolling before commiting the state
9523         change. 
9524
9525 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9526
9527         * docs/manual/advanced-clocks.xml:
9528         * docs/manual/advanced-interfaces.xml:
9529         * docs/manual/advanced-metadata.xml:
9530         * docs/manual/advanced-position.xml:
9531         * docs/manual/advanced-schedulers.xml:
9532         * docs/manual/advanced-threads.xml:
9533         * docs/manual/appendix-porting.xml:
9534         * docs/manual/basics-bins.xml:
9535         * docs/manual/basics-bus.xml:
9536         * docs/manual/basics-elements.xml:
9537         * docs/manual/basics-helloworld.xml:
9538         * docs/manual/basics-pads.xml:
9539         * docs/manual/highlevel-components.xml:
9540         * docs/manual/manual.xml:
9541         * docs/manual/thread.fig:
9542           Update (until threads/scheduling) Application Development Manual;
9543           remove GstThread, add GstBus, add simple porting checklist, add
9544           documentation for tag writing, clocks, make all examples until this
9545           part compile and run.
9546         * examples/manual/Makefile.am:
9547           Update from changes to Application Development Manual; add bus
9548           example, remove thread example.
9549
9550 2005-06-28  Wim Taymans  <wim@fluendo.com>
9551
9552         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9553         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9554         (gst_bus_source_dispatch):
9555         Add debugging messages.
9556         Make internal methods static.
9557         Handle the case where the bus is flushed in the handler.
9558         
9559         * gst/gstelement.c: (gst_element_get_bus):
9560         Fix refcount in _get_bus();
9561
9562         * gst/gstpipeline.c: (gst_pipeline_change_state),
9563         (gst_pipeline_get_clock_func):
9564         Clock refcounting fixes.
9565         Handle the case where preroll timed out more gracefully.
9566         
9567         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9568         Clean up the internal thread in dispose. This is needed
9569         for subclasses that actually get disposed.
9570         
9571         * gst/schedulers/threadscheduler.c:
9572         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9573         (gst_thread_scheduler_dispose):
9574         Free thread pool in dispose.
9575
9576 2005-06-28  Andy Wingo  <wingo@pobox.com>
9577
9578         * tests/network-clock-utils.scm (debug, print-event): New utils.
9579
9580         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9581         (*packet-loss*): Unified loss probability.
9582         (network-time): Report out-of-band events.
9583
9584         * tests/plot-data: Add support for out-of-band events. Hack it
9585         into this script instead of passing it down the pipe; should fix
9586         this later.
9587
9588 2005-06-28  Wim Taymans  <wim@fluendo.com>
9589
9590         * docs/gst/gstreamer.types:
9591         * docs/gst/tmpl/gstbasesrc.sgml:
9592         * docs/gst/tmpl/gstpad.sgml:
9593         Docs fixes.
9594
9595 2005-06-28  Wim Taymans  <wim@fluendo.com>
9596
9597         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9598         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9599         (gst_proxy_pad_do_fixatecaps):
9600         Correctly proxy the check_pull_range function.
9601
9602 2005-06-28  Andy Wingo  <wingo@pobox.com>
9603
9604         * tests/network-clock.scm: Removed need for slib.
9605         
9606 2005-06-28  Wim Taymans  <wim@fluendo.com>
9607
9608         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9609         (gst_basesink_preroll_queue_flush):
9610         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9611         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9612         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9613         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9614         (gst_proxy_pad_set_property):
9615         * gst/gstpad.c:
9616         * gst/gstpad.h:
9617         * gst/gstqueue.c: (gst_queue_init):
9618         The deprecated pad loop function is removed now.
9619
9620 2005-06-28  Andy Wingo  <wingo@pobox.com>
9621
9622         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9623         New parameters, simulate network packet loss.
9624
9625         * tests/network-clock-utils.scm: Initialize the RNG.
9626
9627 2005-06-28  Wim Taymans  <wim@fluendo.com>
9628
9629         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9630         (gst_basesink_event), (gst_basesink_deactivate):
9631         Flushing the preroll queue always needs to unlock the waiters.
9632
9633 2005-06-28  Edward Hervey  <edward@fluendo.com>
9634
9635         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9636         Wheen a seek was successful on a pipeline, set the stream_time to the
9637         seek offset in order to have a synchronized stream_time.
9638
9639 2005-06-28  Wim Taymans  <wim@fluendo.com>
9640
9641         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9642         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9643         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9644         (gst_proxy_pad_do_fixatecaps):
9645         Call wrapper function instead of just calling the function
9646         pointers. This takes care of any locking and whatmore.
9647
9648 2005-06-28  Wim Taymans  <wim@fluendo.com>
9649
9650         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9651         (gst_pad_pull_range):
9652         * gst/gstpad.h:
9653         CONNECTED -> LINKED.
9654
9655 2005-06-28  Andy Wingo  <wingo@pobox.com>
9656
9657         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9658         source-munging commit!!!
9659
9660         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9661         (gst_object_sink): Take gpointer arguments, not GstObject --
9662         avoids casts. Like GLib.
9663
9664         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9665         activate.
9666
9667 2005-06-27  Andy Wingo  <wingo@pobox.com>
9668
9669         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9670         remaining buffer.
9671
9672         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9673         returns a sorted copy of the trace list.
9674         (gst_alloc_trace_print_live): New API, only prints traces with
9675         live objects. Sort the list.
9676         (gst_alloc_trace_print_all): Sort the list.
9677         (gst_alloc_trace_print): Align columns.
9678
9679         * gst/elements/gstttypefindelement.c:
9680         * gst/elements/gsttee.c:
9681         * gst/base/gstbasesrc.c:
9682         * gst/base/gstbasesink.c:
9683         * gst/base/gstbasetransform.c:
9684         * gst/gstqueue.c: Adapt for pad activation changes.
9685
9686         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9687         sched.
9688         (gst_pipeline_dispose): Drop ref on sched.
9689
9690         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9691         (gst_pad_activate_default): Push mode by default.
9692         (pre_activate_switch, post_activate_switch): New stubs, things to
9693         do before and after switching activation modes on pads.
9694         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9695         the pad's activate function to choose which mode to activate.
9696         Shortcut on deactivation and call the right function directly.
9697         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9698         mode.
9699         (gst_pad_activate_push): New API, same for push mode.
9700         (gst_pad_set_activate_function) 
9701         (gst_pad_set_activatepull_function) 
9702         (gst_pad_set_activatepush_function): Setters for new API.
9703
9704         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9705         Trace all miniobjects.
9706         (gst_mini_object_make_writable): Unref the arg if we copy, like
9707         gst_caps_make_writable.
9708
9709         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9710
9711         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9712         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9713         Adapt for new pad API.
9714
9715         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9716
9717         * gst/gstelement.h:
9718         * gst/gstelement.c (gst_element_iterate_src_pads) 
9719         (gst_element_iterate_sink_pads): New API functions.
9720         
9721         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9722         should fold into gstiterator.c in some form.
9723         (gst_element_pads_activate): Simplified via use of fold and
9724         delegation of decisions to gstpad->activate.
9725
9726         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9727         help in debugging.
9728
9729         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9730         class once in init, like gstmessage. Didn't run into this issue
9731         but it seems correct. Don't initialize a trace, gstminiobject does
9732         that.
9733
9734         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9735         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9736         to the bus.
9737         (assert_live_count): New util function, uses alloc traces to check
9738         cleanup.
9739
9740         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9741         To be modified when unlink drops the internal pad.
9742
9743 2005-06-27  Wim Taymans  <wim@fluendo.com>
9744
9745         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9746         (gst_bin_change_state):
9747         Cleanup the get_state() function a little, make sure it
9748         iterates the same set of elements.
9749         Added stub iterate_state_order().
9750
9751 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9752
9753         * docs/gst/gstreamer-docs.sgml:
9754         * docs/gst/gstreamer-sections.txt:
9755         * docs/gst/gstreamer.types:
9756         * docs/gst/tmpl/gstbasesink.sgml:
9757         * docs/gst/tmpl/gstbasesrc.sgml:
9758         * docs/gst/tmpl/gstbasetransform.sgml:
9759         * docs/gst/tmpl/gstelement.sgml:
9760         * docs/gst/tmpl/gstiterator.sgml:
9761         * gst/base/gstbasesrc.c:
9762         * gst/base/gstbasesrc.h:
9763         * gst/base/gstbasetransform.h:
9764         * gst/gstelement.c:
9765         * gst/gstiterator.h:
9766           adding basetransform and iterator docs
9767
9768 2005-06-27  Andy Wingo  <wingo@pobox.com>
9769
9770         * docs/design/part-activation.txt: Notes on how activation should
9771         work -- not quite implemented yet.
9772
9773 2005-06-25  Wim Taymans  <wim@fluendo.com>
9774
9775         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9776         At least get the chain function correct, needs more
9777         fixing.
9778
9779 2005-06-25  Wim Taymans  <wim@fluendo.com>
9780
9781         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9782         (gst_basesink_handle_object), (gst_basesink_event),
9783         (gst_basesink_do_sync), (gst_basesink_handle_event),
9784         (gst_basesink_change_state):
9785         * gst/gsttask.h:
9786         Right, two problems here: ghostpads don't take locks and
9787         glib _rec_mutex_lock_full() with depth==0 still locks.
9788         Catch illegal locking and g_warn them.
9789
9790 2005-06-25  Wim Taymans  <wim@fluendo.com>
9791
9792         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9793         Have to check for completion now...
9794
9795 2005-06-25  Wim Taymans  <wim@fluendo.com>
9796
9797         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9798         (gst_basesink_handle_object), (gst_basesink_event),
9799         (gst_basesink_do_sync), (gst_basesink_handle_event),
9800         (gst_basesink_change_state):
9801         * gst/gstpad.h:
9802         Unlock STREAM_LOCK whatever the recursion was.
9803
9804 2005-06-25  Wim Taymans  <wim@fluendo.com>
9805
9806         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9807         (gst_basesink_preroll_queue_empty),
9808         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9809         (gst_basesink_event), (gst_basesink_do_sync),
9810         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9811         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9812         (gst_basesink_change_state):
9813         Reworked the base sink, handle event and buffer serialisation
9814         correctly and removed possible deadlock.
9815         Handle EOS correctly.
9816
9817 2005-06-25  Wim Taymans  <wim@fluendo.com>
9818
9819         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9820         (gst_pipeline_change_state):
9821         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9822         Allow elements to post EOS in the state change function.
9823         Fix up -launch, make it exit the poll loop when the
9824         pipeline actually changed state.
9825         Fix up warning parsing in -launch.
9826
9827 2005-06-25  Wim Taymans  <wim@fluendo.com>
9828
9829         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9830         (gst_tee_sink_activate):
9831         Core takes STREAM_LOCK for us now.
9832
9833 2005-06-25  Wim Taymans  <wim@fluendo.com>
9834
9835         * gst/gstelement.c: (gst_element_get_state_func),
9836         (gst_element_set_state):
9837         * gst/gstelement.h:
9838         * gst/gstmessage.c: (gst_message_parse_error),
9839         (gst_message_parse_warning):
9840         Keep track of current target state while performing a state
9841         change so that subclasses can do something interesting.
9842         Fix parsing of warning/error messages when GError is NULL.
9843
9844 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9845
9846         * docs/gst/Makefile.am:
9847         * docs/gst/gstreamer-docs.sgml:
9848         * docs/gst/gstreamer-sections.txt:
9849         * docs/gst/gstreamer.types:
9850         * docs/gst/tmpl/gstbasesink.sgml:
9851         * docs/gst/tmpl/gstbasesrc.sgml:
9852         * docs/gst/tmpl/gstbin.sgml:
9853         * docs/gst/tmpl/gstcompat.sgml:
9854         * docs/gst/tmpl/gstfakesink.sgml:
9855         * docs/gst/tmpl/gstfakesrc.sgml:
9856         * docs/gst/tmpl/gstfilesink.sgml:
9857         * docs/gst/tmpl/gstfilesrc.sgml:
9858         * docs/gst/tmpl/gstindex.sgml:
9859         * docs/manual/appendix-quotes.xml:
9860         * gst/base/gstbasesrc.h:
9861         * gst/elements/gstfakesrc.h:
9862         * gst/gstmessage.h:
9863           start pulling in base classes and elements in our docs
9864
9865 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9866
9867         * docs/gst/Makefile.am:
9868         * docs/libs/Makefile.am:
9869           fixed make distcheck with gtk-doc 1.3
9870
9871 2005-06-23  Wim Taymans  <wim@fluendo.com>
9872
9873         * gst/gstelement.c: (gst_element_get_state_func),
9874         (gst_element_set_state), (gst_element_change_state):
9875         When the state did not change, also report NO_PREROLL
9876         when it matters.
9877
9878 2005-06-23  Wim Taymans  <wim@fluendo.com>
9879
9880         * gst/gstpad.c: (gst_pad_event_default):
9881         * gst/gstqueue.c: (gst_queue_loop):
9882         No unsafe task pausing please.
9883
9884 2005-06-23  Wim Taymans  <wim@fluendo.com>
9885
9886         * gst/schedulers/threadscheduler.c:
9887         (gst_thread_scheduler_task_start),
9888         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9889         Ref the task before pushing it on the threadpool. This
9890         makes sure that we have a ref when the threadfunction is
9891         actually called.
9892
9893 2005-06-23  Andy Wingo  <wingo@pobox.com>
9894
9895         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9896         offset is greater than the file's size.
9897
9898         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9899         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9900         * gst/gstobject.c (gst_object_class_init): Make the class lock
9901         recursive. Wim won't let me drop deep_notify. Decodebin works
9902         again, whoopdy doo.
9903
9904         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9905         internal pad, and hacks accordingly. Doesn't do it on the target
9906         pad because we change its caps. Probably catches all cases of
9907         interest tho.
9908         (gst_ghost_pad_set_property): Connect to notify::caps as
9909         appropritate.
9910
9911         * tests/network-clock.scm (plot-simulation): Pipe data to the
9912         elite python skript.
9913
9914         * tests/network-clock-utils.scm (define-parameter): New macro,
9915         defines a parameter that can be set via the command line.
9916         (set-parameter!, parse-parameter-arguments): Command line args
9917         parser.
9918
9919         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9920         stdin.
9921
9922 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9923
9924         * gst/elements/gsttypefindelement.c:
9925         (gst_type_find_element_handle_event):
9926           Don't restart typefinding on a discont.
9927         * gst/gstelement.c: (gst_element_set_state):
9928           Debug spelling fix.
9929         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9930           Allow changing mode of an active pad.
9931           Debug output fixes.
9932         * gst/registries/gstlibxmlregistry.c: (load_feature):
9933           Don't cast a static pad template to a normal pad template.
9934
9935 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9936
9937         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9938         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9939           remove gst_strtoll completely, since it didn't actually do
9940           anything more than what g_ascii_strtoull already does.
9941           check for range errors when deserializing
9942           do a cast for the unsigned cases; but further fixing needs
9943           a decision on what the interpretation of "(int)" and
9944           deserialization should be for values that fall outside the
9945           type's boundaries (ie, refuse, or interpret as casting)
9946
9947 2005-06-23  Wim Taymans  <wim@fluendo.com>
9948
9949         * check/Makefile.am:
9950         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9951         * docs/design/part-live-source.txt:
9952         * docs/design/part-states.txt:
9953         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9954         (gst_basesrc_set_live), (gst_basesrc_is_live),
9955         (gst_basesrc_get_range), (gst_basesrc_activate),
9956         (gst_basesrc_change_state):
9957         * gst/base/gstbasesrc.h:
9958         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9959         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9960         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9961         * gst/gstelement.c: (gst_element_get_state_func),
9962         (gst_element_set_state):
9963         * gst/gstelement.h:
9964         * gst/gsttypes.h:
9965         * tools/gst-launch.c: (event_loop), (main):
9966         Added support for live sources and other elements that
9967         cannot do preroll.
9968         Updated design docs, added live-source design doc.
9969         Implemented live source functionality in basesrc
9970         Fix error condition in _bin_get_state()
9971         Implement live source handling in -launch.
9972         Added check for live sources.
9973         Fixed case in GstBin where elements were changed state
9974         multiple times.
9975
9976
9977 2005-06-23  Andy Wingo  <wingo@pobox.com>
9978
9979         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9980         borken refcounting.
9981
9982         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9983         gst_caps_replace takes care of this for us.
9984
9985         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9986         gst_pad_set_caps on the target, not just its setcaps() function.
9987
9988         * tests/network-clock.scm: 
9989         * tests/network-clock-utils.scm: A network clock simulator.
9990         Something of an algorithmic testbed before doing something in C.
9991
9992 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9993
9994         * check/Makefile.am:
9995         * check/gst/capslist.h:
9996           copy over from 0.8, and add two with bitmasks specified with
9997           (int) 0xFF...
9998         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9999           add test to parse everything from capslist.h
10000         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10001         (main):
10002           add test for structure deserialization
10003         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10004           add tests for deserialization of strings to int types
10005         * gst/gststructure.c: (gst_structure_nth_field_name):
10006         * gst/gststructure.h:
10007           add a way to get the name of a field referenced by index
10008         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10009           instead of checking if the resulting long long lies between
10010           min and max, we check if the long long would fit into
10011           a number of bytes for the final type.
10012           This fixes cases where a string represents 2^32 - 1, which
10013           when cast to int would be the (valid) -1, but is bigger than
10014           G_MAXINT
10015
10016 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10017
10018         * gst/parse/grammar.y:
10019           add a log line for type deserialization
10020
10021 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10022
10023         * check/gst/gstvalue.c: (START_TEST):
10024         * gst/gstvalue.c: (gst_value_deserialize):
10025           return long long, not int, so gint64 deserialization actually
10026           works.  Is there any flag that makes the compiler check this ?
10027           Fixes #308559
10028
10029 2005-06-22  Wim Taymans  <wim@fluendo.com>
10030
10031         * gst/gstbuffer.h:
10032         Added convenience macros for setting buffers in GValue.
10033
10034 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10035
10036         * check/gst/.cvsignore:
10037         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10038           add a test deserializing int64, and comment part out because
10039           it fails, yay !
10040
10041 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10042
10043         * check/Makefile.am:
10044         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10045         * testsuite/Makefile.am:
10046         * testsuite/caps/Makefile.am:
10047         * testsuite/caps/value_serialize.c:
10048         * testsuite/test_gst_init.c:
10049           move a value_serialize test over
10050
10051 2005-06-20  Wim Taymans  <wim@fluendo.com>
10052
10053         * gst/gstpad.c:
10054         Small doc updates.
10055         
10056         * gst/gstvalue.c: (gst_value_compare_buffer),
10057         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10058         (gst_value_compare_flags), (gst_value_serialize_flags),
10059         (gst_value_deserialize_flags), (_gst_value_initialize):
10060         Fix serialisation of buffers, they are not boxed types anymore
10061
10062 2005-06-20  Wim Taymans  <wim@fluendo.com>
10063
10064         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10065         Testcase to show error in buffer-on-caps serialisation.
10066
10067 2005-06-20  Andy Wingo  <wingo@pobox.com>
10068
10069         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10070         will be adding to later.
10071
10072         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10073         if its socks fill with rocks.
10074         (gst_system_clock_obtain): Set the name on object construction.
10075         Avoid double-checked locking.
10076
10077 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10078
10079         * gst/gsturi.c: (gst_element_make_from_uri):
10080           Fix potential endless loop.
10081
10082 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10083
10084         * check/Makefile.am:
10085           add gsttag
10086         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10087         (main):
10088           move over from testsuite dir and clean up
10089         * configure.ac:
10090         * gst/gsttag.c:
10091         * testsuite/Makefile.am:
10092         * testsuite/tags/.cvsignore:
10093         * testsuite/tags/Makefile.am:
10094         * testsuite/tags/merge.c:
10095           remove testsuite/tags
10096
10097 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10098
10099         * docs/gst/gstreamer-sections.txt:
10100         * docs/gst/tmpl/gstenumtypes.sgml:
10101         * win32/gstenumtypes.c:
10102           clean up documentation build a little
10103
10104 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10105
10106         * check/gstcheck.h:
10107           add macros for checking refcounts on objects and caps
10108         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10109           add some more unit tests
10110         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10111         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10112           fix leaked refcounts (I hope :)) so unittest works
10113         * gst/gstpad.h:
10114           whitespace removal
10115
10116 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10117
10118         * configure.ac: back to HEAD
10119
10120 === release 0.9.1 ===
10121
10122 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10123
10124         * NEWS:
10125         * RELEASE:
10126           updated
10127
10128 2005-06-17  Andy Wingo  <wingo@pobox.com>
10129
10130         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10131         assert; it's always possible that the pad gets deactivated in
10132         between the checks in gstpad.c and the implementation. Rely on
10133         finish_preroll() to return a FLUSHING or similar instead of on the
10134         assert.
10135         
10136         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10137         clock and post an EOS message if we come out of finish_preroll in
10138         the playing state.
10139
10140 2005-06-16  David Schleef  <ds@schleef.org>
10141
10142         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10143         (gst_capsfilter_set_property): Allow NULL as possible value
10144         for filter_caps property, indicating GST_CAPS_ANY.
10145
10146 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10147
10148         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10149           fix debug output
10150         * gst/schedulers/Makefile.am:
10151           use libgst prefix
10152         * gstreamer.spec.in:
10153           fix spec for it
10154
10155 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10156
10157         * gstreamer.spec.in:
10158           clean up
10159
10160 2005-06-08  Andy Wingo  <wingo@pobox.com>
10161
10162         * gst/gstutils.c: RPAD fixes all around.
10163         (gst_element_link_pads): Refcounting fixes.
10164
10165         * tools/gst-inspect.c:
10166         * tools/gst-xmlinspect.c:
10167         * parse/grammar.y:
10168         * gst/base/gsttypefindhelper.c:
10169         * gst/base/gstbasesink.c:
10170         * gst/gstqueue.c: RPAD fixes.
10171
10172         * gst/gstghostpad.h:
10173         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10174         pads. The tricky thing is they provide both source and sink
10175         interfaces, since they proxy the internal pad for the external
10176         pad, and vice versa. Implement with lower-level ProxyPad objects,
10177         with the interior proxy pad as a child of the exterior ghost pad.
10178         Should write a doc on this.
10179         
10180         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10181         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10182         gst_object API.
10183         
10184         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10185         pads are real pads. No ghost pads in this file. Not documenting
10186         the myriad s/RPAD/PAD/ and REALIZE fixes.
10187         (gst_pad_class_init): Add properties for "direction" and
10188         "template". Both are construct-only, so they can't change during
10189         the life of the pad. Fixes properly deriving from GstPad.
10190         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10191         derived objects, just set properties when creating the objects via
10192         g_object_new.
10193         (gst_pad_get_parent): Implement as a function, return NULL if the
10194         parent is not an element.
10195         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10196         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10197         
10198         * gst/gstobject.c (gst_object_class_init): Make name a construct
10199         property. Don't set it in the object init.
10200
10201         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10202         with UNKNOWN direction.
10203         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10204         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10205         (gst_element_remove_pad): Remove ghost-pad special cases.
10206         (gst_element_pads_activate): Remove rpad cruft.
10207
10208         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10209         catch the pad's-parent-not-an-element case.
10210
10211         * gst/gst.h: Include gstghostpad.h.
10212
10213         * gst/gst.c (init_post): No more real, ghost pads.
10214
10215         * gst/Makefile.am: Add gstghostpad.[ch].
10216
10217         * check/Makefile.am:
10218         * check/gst/gstbin.c:
10219         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10220         into a bin creates ghost pads, and that the refcounts are right.
10221         Partly moved from gstbin.c.
10222
10223 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10224
10225         * check/gst-libs/.cvsignore:
10226         * check/gst/.cvsignore:
10227         * check/pipelines/.cvsignore:
10228           ignore more
10229         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10230         (START_TEST), (cleanup_suite), (main):
10231           add some tests related to cleanup after running pipelines
10232
10233 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10234
10235         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10236           add a testsuite for GstBuffer
10237
10238 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10239
10240         * gst/gstminiobject.h:
10241           add defines for accessing the refcount
10242
10243 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10244
10245         * Makefile.am: added support for html unit test coverage reports
10246
10247 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10248
10249         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10250           Free existing caps if the capsfilter changes. Add a FIXME about
10251           setting those caps on the pads.
10252
10253         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10254           Before adding a ghost pad to a parent bin, check that there isn't
10255           already one for the element on the bin. Prevents infinite recursion
10256           when using decodebin in parse pipelines. Andy says he'll rewrite the
10257           way this works anyway, so ignore the hack.
10258
10259 2005-06-02  Andy Wingo  <wingo@pobox.com>
10260
10261         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10262         file size, pass it on to the type find helper.
10263
10264         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10265         segment_start and segment_end properly according to the seek
10266         method. Segment_end is still a bit flaky because offset can be
10267         negative for CUR and END cases, but it takes -1 as an "unset"
10268         value.
10269
10270 2005-06-02  Wim Taymans  <wim@fluendo.com>
10271
10272         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10273         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10274         (gst_basesink_activate):
10275         * gst/base/gstbasesink.h:
10276         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10277         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10278         (gst_pad_query), (gst_pad_start_task):
10279         * gst/gstpad.h:
10280         * gst/gstqueue.c: (gst_queue_bufferalloc),
10281         (gst_queue_handle_sink_event), (gst_queue_chain):
10282         Bufferalloc: return GstFlowReturn to more accuratly report
10283         why allocation failed.
10284
10285 2005-06-02  Wim Taymans  <wim@fluendo.com>
10286
10287         * gst/gstpipeline.c: (gst_pipeline_send_event):
10288         Take snapshot of state without blocking.
10289
10290 2005-06-02  Wim Taymans  <wim@fluendo.com>
10291
10292         * docs/design/part-TODO.txt:
10293         * docs/design/part-caps.txt:
10294         * docs/design/part-clocks.txt:
10295         * docs/design/part-negotiation.txt:
10296         * docs/design/part-preroll.txt:
10297         Small doc updates 
10298
10299 2005-05-30  Wim Taymans  <wim@fluendo.com>
10300
10301         * gst/elements/gstidentity.c: (gst_identity_event),
10302         (gst_identity_transform), (gst_identity_get_property):
10303         Protect last_message property as it is accessed from
10304         multiple threads.
10305
10306 2005-05-30  Wim Taymans  <wim@fluendo.com>
10307
10308         * gst/gstelement.c: (gst_element_init),
10309         (gst_element_pads_activate), (gst_element_change_state):
10310         Slicker pad activation code.
10311
10312 2005-05-30  Wim Taymans  <wim@fluendo.com>
10313
10314         * gst/Makefile.am:
10315         * gst/gstelement.h:
10316         * gst/gstelementfactory.h:
10317         * gst/gsttypes.h:
10318         Move elementfactory methods to separate .h file.
10319
10320 2005-05-30  Wim Taymans  <wim@fluendo.com>
10321
10322         * docs/design/part-overview.txt:
10323         * gst/gstsystemclock.h:
10324         Small typo fixes, doc updates.
10325
10326 2005-05-30  Wim Taymans  <wim@fluendo.com>
10327
10328         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10329         (init_popt_callback):
10330         Remove cpu-opt flag.
10331
10332 2005-05-30  Wim Taymans  <wim@fluendo.com>
10333
10334         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10335         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10336         * gst/gstbuffer.h:
10337         Avoid typechecking in places where not needed.
10338         Added accessor for malloc_data.
10339
10340 2005-05-30  Wim Taymans  <wim@fluendo.com>
10341
10342         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10343         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10344         (gst_pad_configure_sink), (gst_pad_configure_src),
10345         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10346         (gst_pad_start_task):
10347         Propagate errors from _set_caps() in configure_src/sink
10348         functions instead of returning TRUE.
10349         FLUSH events can travel up and downstream
10350
10351
10352 2005-05-30  Wim Taymans  <wim@fluendo.com>
10353
10354         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10355         (gst_basesink_activate):
10356         Handle EOS in preroll.
10357
10358 2005-05-30  Wim Taymans  <wim@fluendo.com>
10359
10360         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10361         (gst_queue_loop), (gst_queue_handle_src_event):
10362         Remove old pieces of code
10363         Flushing the queue in an upstream event is a very bad idea.
10364
10365 2005-05-26  Andy Wingo  <wingo@pobox.com>
10366
10367         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10368         gst_value_set_mini_object so as to add a ref on the object (which
10369         will be removed when the value is unset).
10370
10371         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10372         arg type in ::handoff.
10373
10374         * gst/gstelement.c (gst_element_change_state): Also deactivate
10375         pads in READY->NULL, just in case the element didn't make it to
10376         PAUSED. Wingo tested, Wim approved.
10377
10378 2005-05-26  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_alloc_buffer),
10382         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10383         A flushing pad cannot be used to alloc_buffer from.
10384
10385 2005-05-26  Wim Taymans  <wim@fluendo.com>
10386
10387         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10388         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10389         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10390         (gst_bus_create_watch), (gst_bus_add_watch_full):
10391         * gst/gstbus.h:
10392         Implement a real GSource and use g_main_context_wakeup() to
10393         signal new messages instead of the socketpair.
10394
10395 2005-05-25  Wim Taymans  <wim@fluendo.com>
10396
10397         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10398         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10399         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10400         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10401         (gst_pad_send_event), (gst_pad_start_task):
10402         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10403         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10404         (gst_queue_sink_activate), (gst_queue_src_activate),
10405         (gst_queue_change_state):
10406         * gst/gstqueue.h:
10407         Fix state changes for non sinks. We now change sinks, then elements
10408         with unconnected srcpads, then the rest.
10409         More efficient queue unlocking in flush and state changes.
10410         Set the pad activate mode even if it does not have an activate
10411         function.
10412
10413 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10414
10415         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10416           Don't go in pull mode for non-seekable sources.
10417         * gst/elements/gsttypefindelement.h:
10418         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10419         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10420         (free_entry), (stop_typefinding),
10421         (gst_type_find_element_handle_event), (find_peek),
10422         (gst_type_find_element_chain), (do_pull_typefind),
10423         (gst_type_find_element_change_state):
10424           Allow typefinding (w/o seeking) in push-mode, simplified version
10425           of what was in 0.8.
10426         * gst/gstutils.c: (gst_buffer_join):
10427         * gst/gstutils.h:
10428           gst_buffer_join() from 0.8.
10429
10430 2005-05-25  Wim Taymans  <wim@fluendo.com>
10431
10432         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10433         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10434         (gst_pad_send_event), (gst_pad_start_task):
10435         Disable attempt at mode switching until it is figured out.
10436
10437 2005-05-25  Wim Taymans  <wim@fluendo.com>
10438
10439         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10440         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10441         (gst_basesink_finish_preroll), (gst_basesink_chain),
10442         (gst_basesink_loop), (gst_basesink_activate),
10443         (gst_basesink_change_state):
10444         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10445         (gst_basesrc_get_range), (gst_basesrc_loop),
10446         (gst_basesrc_activate):
10447         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10448         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10449         (gst_real_pad_init), (gst_real_pad_set_property),
10450         (gst_real_pad_get_property), (gst_pad_set_active),
10451         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10452         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10453         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10454         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10455         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10456         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10457         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10458         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10459         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10460         (gst_pad_stop_task):
10461         * gst/gstpad.h:
10462         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10463         (gst_queue_loop), (gst_queue_src_activate):
10464         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10465         (gst_task_get_state):
10466         * gst/gsttask.h:
10467         * gst/schedulers/threadscheduler.c:
10468         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10469         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10470         in task function.
10471         Remove ACTIVE pad flag, use FLUSHING everywhere
10472         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10473         functions.
10474         Add locks around IS_FLUSHING when reading.
10475         Take STREAM lock in chain(), get_range() functions so plugins
10476         don't need to take it anymore.
10477         
10478
10479
10480 2005-05-25  Wim Taymans  <wim@fluendo.com>
10481
10482         * tools/gst-launch.c: (event_loop):
10483         Unref message after using its contents instead of
10484         before.
10485
10486 2005-05-24  Wim Taymans  <wim@fluendo.com>
10487
10488         * docs/design/draft-ghostpads.txt:
10489         * docs/design/draft-push-pull.txt:
10490         * docs/design/draft-query.txt:
10491         * docs/design/part-overview.txt:
10492         Docs updates, added general overview doc.
10493
10494 2005-05-21  David Schleef  <ds@schleef.org>
10495
10496         * docs/gst/tmpl/old/GstBin.sgml:
10497         * docs/gst/tmpl/old/GstBuffer.sgml:
10498         * docs/gst/tmpl/old/GstCaps.sgml:
10499         * docs/gst/tmpl/old/GstClock.sgml:
10500         * docs/gst/tmpl/old/GstCompat.sgml:
10501         * docs/gst/tmpl/old/GstData.sgml:
10502         * docs/gst/tmpl/old/GstElement.sgml:
10503         * docs/gst/tmpl/old/GstEvent.sgml:
10504         * docs/gst/tmpl/old/GstIndex.sgml:
10505         * docs/gst/tmpl/old/GstStructure.sgml:
10506         * docs/gst/tmpl/old/GstTag.sgml:
10507         * docs/gst/tmpl/old/cothreads.sgml:
10508         * docs/gst/tmpl/old/cothreads_compat.sgml:
10509         * docs/gst/tmpl/old/gettext.sgml:
10510         * docs/gst/tmpl/old/gobject2gtk.sgml:
10511         * docs/gst/tmpl/old/grammar.tab.sgml:
10512         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10513         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10514         * docs/gst/tmpl/old/gst_private.sgml:
10515         * docs/gst/tmpl/old/gstaggregator.sgml:
10516         * docs/gst/tmpl/old/gstarch.sgml:
10517         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10518         * docs/gst/tmpl/old/gstbufferstore.sgml:
10519         * docs/gst/tmpl/old/gstdata_private.sgml:
10520         * docs/gst/tmpl/old/gstdisksink.sgml:
10521         * docs/gst/tmpl/old/gstdisksrc.sgml:
10522         * docs/gst/tmpl/old/gstelementfactory.sgml:
10523         * docs/gst/tmpl/old/gstextratypes.sgml:
10524         * docs/gst/tmpl/old/gstfakesink.sgml:
10525         * docs/gst/tmpl/old/gstfakesrc.sgml:
10526         * docs/gst/tmpl/old/gstfdsink.sgml:
10527         * docs/gst/tmpl/old/gstfdsrc.sgml:
10528         * docs/gst/tmpl/old/gstfilesink.sgml:
10529         * docs/gst/tmpl/old/gstfilesrc.sgml:
10530         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10531         * docs/gst/tmpl/old/gstidentity.sgml:
10532         * docs/gst/tmpl/old/gstindexfactory.sgml:
10533         * docs/gst/tmpl/old/gstmarshal.sgml:
10534         * docs/gst/tmpl/old/gstmd5sink.sgml:
10535         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10536         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10537         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10538         * docs/gst/tmpl/old/gstpipefilter.sgml:
10539         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10540         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10541         * docs/gst/tmpl/old/gstshaper.sgml:
10542         * docs/gst/tmpl/old/gstspider.sgml:
10543         * docs/gst/tmpl/old/gstspideridentity.sgml:
10544         * docs/gst/tmpl/old/gststatistics.sgml:
10545         * docs/gst/tmpl/old/gsttee.sgml:
10546         * docs/gst/tmpl/old/gsttimecache.sgml:
10547         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10548         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10549         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10550         * docs/gst/tmpl/old/types.sgml:
10551           I didn't intend to add these or check them in.
10552
10553 2005-05-19  David Schleef  <ds@schleef.org>
10554
10555         * configure.ac: Use -no-common everywhere.  In a sane world, it
10556           would be the default in libtool, because without it, you can't
10557           build DLLs on Windows.
10558         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10559         * docs/gst/gstreamer-sections.txt:
10560         * docs/gst/tmpl/gstcpu.sgml:
10561         * docs/gst/tmpl/gstdata.sgml:
10562         * docs/gst/tmpl/gstthread.sgml:
10563
10564 2005-05-19  David Schleef  <ds@schleef.org>
10565
10566         * gst/gstminiobject.c: (gst_value_set_mini_object),
10567         (gst_value_take_mini_object), (gst_value_get_mini_object):
10568         * gst/gstminiobject.h: Add GValue set/get functions.
10569
10570 2005-05-19  Wim Taymans  <wim@fluendo.com>
10571
10572         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10573         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10574         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10575         * gst/gstbuffer.h:
10576         * gst/gstbus.c: (gst_bus_post):
10577         * gst/gstelement.c: (gst_element_get_random_pad):
10578         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10579         Make subbufer unref the parent in finalize.
10580         some more debugging info.
10581
10582
10583 2005-05-19  Wim Taymans  <wim@fluendo.com>
10584
10585         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10586         (gst_basesink_init), (gst_basesink_finalize),
10587         (gst_basesink_activate), (gst_basesink_change_state):
10588         Don't free preroll queue too early.
10589
10590 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10591
10592         * gst/Makefile.am:
10593         * gst/ROADMAP:
10594           Hi, I'm outdated. Please shoot me.
10595
10596 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10597
10598         * gst/gstpipeline.c: (gst_pipeline_send_event):
10599           Do not access variables after they have been deleted.
10600
10601 2005-05-19  Wim Taymans  <wim@fluendo.com>
10602
10603         * tools/gst-inspect.c: (print_plugin_features):
10604         A plugin feature does unfortunatly not use the
10605         object name yet...
10606
10607 2005-05-18  Wim Taymans  <wim@fluendo.com>
10608
10609         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10610         Port _span() functions to new subbuffers.
10611
10612 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10613
10614         * gst/gstbin.c: (gst_bin_add_func):
10615           Fix clock settery in bins when adding kids after the clock has
10616           been selected.
10617
10618 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10619
10620         * gst/elements/gstidentity.c: (gst_identity_class_init):
10621           Workaround until signals support GstMiniObject.
10622
10623 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10624
10625         * gst/gstbuffer.c:
10626         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10627
10628 2005-05-18  Wim Taymans  <wim@fluendo.com>
10629
10630         * gst/base/Makefile.am:
10631         * gst/base/gstadapter.c: (gst_adapter_base_init),
10632         (gst_adapter_class_init), (gst_adapter_init),
10633         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10634         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10635         (gst_adapter_flush), (gst_adapter_available),
10636         (gst_adapter_available_fast):
10637         * gst/base/gstadapter.h:
10638         Ported and added adapter to the base classes.
10639
10640 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10641
10642         * gst/gst.c:
10643         * gst/gstmessage.c:
10644           Make sure the class is reffed/unreffed once before threads can be
10645           used.  Fixes #304551.
10646
10647 2005-05-17  Wim Taymans  <wim@fluendo.com>
10648
10649         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10650         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10651         * gst/gstminiobject.c: (gst_mini_object_get_type),
10652         (gst_mini_object_free):
10653         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10654         (gst_pad_push), (gst_pad_push_event):
10655         * gst/gstqueue.c: (gst_queue_change_state):
10656         Don't queue buffers in basesink when we are flushing.
10657         Unref buffer when flushing in basesink.
10658         Flush queue when going to READY
10659         Unref buffer when _push() returns an error.
10660         Don't free MiniObject instance when refcount is incremented
10661         in _finalize() so that we can recover objects.
10662
10663 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10664
10665         * docs/manual/advanced-schedulers.xml:
10666         * docs/manual/appendix-checklist.xml:
10667         * docs/pwg/advanced-clock.xml:
10668         * docs/pwg/advanced-interfaces.xml:
10669         * docs/pwg/advanced-request.xml:
10670         * docs/pwg/advanced-types.xml:
10671         * docs/pwg/intro-preface.xml:
10672         * examples/plugins/example.c: (gst_example_get_type),
10673         (gst_example_class_init), (gst_example_chain),
10674         (gst_example_set_property), (gst_example_get_property),
10675         (gst_example_change_state), (plugin_init):
10676         * examples/plugins/example.h:
10677           small doc fixes
10678
10679 2005-05-17  Wim Taymans  <wim@fluendo.com>
10680
10681         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10682         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10683         * gst/gstqueue.c: (gst_queue_change_state):
10684         Clear queue when going to READY.
10685         Remove IN_SETCAPS flag too.
10686
10687 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10688
10689         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10690           Remove implicit cast from gboolean to GstElementStateReturn;
10691           make sure we still return failure in paused => ready case if
10692           the parent class fails to change state and our own stop 
10693           vfunc succeeds.
10694
10695 2005-05-17  Wim Taymans  <wim@fluendo.com>
10696
10697         * tools/gst-launch.c: (event_loop):
10698         Message was unreffed too soon.
10699
10700 2005-05-16  Andy Wingo  <wingo@pobox.com>
10701
10702         * gst/gstbin.c (sink_iterator_filter): Err... um...
10703
10704         * check/gst/gstbin.c (test_ghost_pads): New test for the
10705         ghosting-if-elements-not-in-same-bin behavior.
10706
10707 2005-05-16  David Schleef  <ds@schleef.org>
10708
10709         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10710         accessing refcount directly.
10711
10712 2005-05-15  David Schleef  <ds@schleef.org>
10713
10714         * check/Makefile.am: remove GstData checks
10715         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10716         * gst/Makefile.am: add miniobject, remove data
10717         * gst/gst.h: add miniobject, remove data
10718         * gst/gstdata.c: remove
10719         * gst/gstdata.h: remove
10720         * gst/gstdata_private.h: remove
10721         * gst/gsttypes.h: remove GstEvent and GstMessage
10722         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10723         * gst/gstmarshal.list: change BOXED -> OBJECT
10724
10725         Implement GstMiniObject.
10726         * gst/gstminiobject.c:
10727         * gst/gstminiobject.h:
10728
10729         Modify to be subclasses of GstMiniObject.
10730         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10731         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10732         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10733         (gst_subbuffer_get_type), (gst_subbuffer_init),
10734         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10735         (gst_buffer_span):
10736         * gst/gstbuffer.h:
10737         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10738         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10739         (_gst_event_copy), (gst_event_new):
10740         * gst/gstevent.h:
10741         * gst/gstmessage.c: (_gst_message_initialize),
10742         (gst_message_get_type), (gst_message_class_init),
10743         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10744         (gst_message_new), (gst_message_new_error),
10745         (gst_message_new_warning), (gst_message_new_tag),
10746         (gst_message_new_state_changed), (gst_message_new_application):
10747         * gst/gstmessage.h:
10748         * gst/gstprobe.c: (gst_probe_perform),
10749         (gst_probe_dispatcher_dispatch):
10750         * gst/gstprobe.h:
10751         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10752         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10753         (_gst_query_copy), (gst_query_new):
10754
10755         Update elements for GstData -> GstMiniObject changes
10756         * gst/gstquery.h:
10757         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10758         (gst_queue_chain), (gst_queue_loop):
10759         * gst/elements/gstbufferstore.c:
10760         (gst_buffer_store_add_buffer_func),
10761         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10762         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10763         (gst_fakesink_render):
10764         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10765         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10766         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10767         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10768         (gst_filesrc_create_read):
10769         * gst/elements/gstidentity.c: (gst_identity_class_init):
10770         * gst/elements/gsttypefindelement.c:
10771         (gst_type_find_element_src_event), (free_entry_buffers),
10772         (gst_type_find_element_handle_event):
10773         * libs/gst/dataprotocol/dataprotocol.c:
10774         (gst_dp_header_from_buffer):
10775         * libs/gst/dataprotocol/dataprotocol.h:
10776         * libs/gst/dataprotocol/dp-private.h:
10777
10778 2005-05-15  David Schleef  <ds@schleef.org>
10779
10780         * gst/elements/gstelements.c: Don't include headers that were
10781         just removed.
10782
10783 2005-05-15  David Schleef  <ds@schleef.org>
10784
10785         * gst/elements/Makefile.am: Remove some elements that don't
10786         need to be in the core (or even exist at all).
10787         * gst/elements/gstaggregator.c:
10788         * gst/elements/gstaggregator.h:
10789         * gst/elements/gstmd5sink.c:
10790         * gst/elements/gstmd5sink.h:
10791         * gst/elements/gstmultifilesrc.c:
10792         * gst/elements/gstmultifilesrc.h:
10793         * gst/elements/gstpipefilter.c:
10794         * gst/elements/gstpipefilter.h:
10795         * gst/elements/gstshaper.c:
10796         * gst/elements/gstshaper.h:
10797         * gst/elements/gststatistics.c:
10798         * gst/elements/gststatistics.h:
10799         * po/POTFILES.in: Remove above files.
10800
10801 2005-05-14  Andy Wingo  <wingo@pobox.com>
10802
10803         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10804         so as to get the refs right.
10805         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10806         unreffing objects that don't pass the filter.
10807
10808         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10809         gst_element_set_bus.
10810         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10811         normal cases, this will destroy the bus.
10812
10813         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10814         object.
10815
10816         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10817         has no sinks.
10818
10819 2005-05-13  Andy Wingo  <wingo@pobox.com>
10820
10821         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10822         gst_pad_link, call pad_link_maybe_ghosting,
10823         (pad_link_maybe_ghosting): Links pads, making sure that the
10824         elements being linked are in the same bin.
10825         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10826         Helpers for pad_link_maybe_ghosting.
10827
10828 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10829
10830         * configure.ac:
10831           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10832
10833 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10834
10835         * docs/design/part-element-source.txt:
10836           Mention GstPushSrc
10837
10838 2005-05-12  Wim Taymans  <wim@fluendo.com>
10839
10840         * gst/base/gstbasesink.c: (gst_basesink_init),
10841         (gst_basesink_activate):
10842         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10843         (gst_basesrc_is_seekable):
10844         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10845         (bin_element_is_sink), (gst_bin_change_state):
10846         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10847         * gst/gstelement.h:
10848         Identify sinks by their flag to avoid overly complicated
10849         checks (fow now).
10850         Do state changes even for elements not reachable from the
10851         sinks.
10852         BaseSink is a sink now :)
10853         Some more debugging info in the basesrc.
10854
10855
10856 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10857
10858         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10859           Implement _query on a bin, similar to _send_event.
10860
10861 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10862
10863         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10864           Discont event offset format should be GST_FORMAT_BYTES,
10865           not GST_FORMAT_TIME.
10866
10867 2005-05-12  Wim Taymans  <wim@fluendo.com>
10868
10869         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10870         Same fix as Ronald's but without the signal. 
10871
10872 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10873
10874         * gst/gstutils.c: (gst_element_query_position):
10875           No, an element is not a pad.
10876
10877 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10878
10879         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10880         (gst_bin_get_state):
10881           If a child is removed from a bin while we remove the child from
10882           the bin and while we're retrieving its state, signal this to the
10883           get_state function so we abort the wait (instead of waiting for
10884           a timeout) and can immediately re-iterate over all other elements.
10885
10886 2005-05-12  Wim Taymans  <wim@fluendo.com>
10887
10888         * gst/base/Makefile.am:
10889         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10890         (gst_basesrc_start):
10891         * gst/base/gstbasesrc.h:
10892         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10893         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10894         (gst_pushsrc_init), (gst_pushsrc_create):
10895         * gst/base/gstpushsrc.h:
10896         Added is_seekable to BaseSrc
10897         Added simple PushSrc.
10898
10899 2005-05-11  Wim Taymans  <wim@fluendo.com>
10900
10901         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10902         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10903         (gst_element_link_pads), (gst_element_query_position),
10904         (gst_element_query_convert), (intersect_caps_func),
10905         (gst_pad_query_position), (gst_pad_query_convert):
10906         Fix refcounting in utils function.
10907         No point in trying to activate a pad when it's added, it could
10908         be added from the state change function and then we deadlock, the
10909         element has to decide what to do.
10910
10911 2005-05-10  Andy Wingo  <wingo@pobox.com>
10912
10913         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10914         *all* the arguments.
10915
10916         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10917         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10918         lock (according to the docs -- if this is wrong change the docs).
10919
10920         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10921         flush messages in the NULL state.
10922
10923         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10924         message immediately and return.
10925         (gst_bus_set_flushing): New function. If a bus is flushing, it
10926         flushes out any queued messages and immediately unrefs new
10927         messages. This is so when an element goes to NULL, all of the
10928         unhandled messages coming from it can be freed, and their
10929         references to the element dropped. In other words: message source
10930         ref considered harmful :P
10931
10932         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10933         we're finished with it.
10934
10935         * gst/gstmessage.c (gst_message_new_state_changed): 
10936
10937 2005-05-10  Wim Taymans  <wim@fluendo.com>
10938
10939         * gst/gstvalue.c: (gst_value_compare_flags),
10940         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10941         (_gst_value_initialize):
10942         Added flags serialize/deserialize/compare code.
10943
10944 2005-05-09  Andy Wingo  <wingo@pobox.com>
10945
10946         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10947         Intersect the peer's caps with our caps.
10948
10949 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10950
10951         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10952         * gst/elements/gsttypefindelement.c: (find_peek):
10953           Handle negative offsets better. Fixes decodebin.
10954
10955 2005-05-09  Wim Taymans  <wim@fluendo.com>
10956
10957         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10958         (gst_base_transform_event):
10959         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10960         Implement accept_caps.
10961         Fix silly lock/unlock mismatch in base class.
10962
10963 2005-05-09  Wim Taymans  <wim@fluendo.com>
10964
10965         * docs/design/draft-push-pull.txt:
10966         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10967         * gst/elements/gstfilesink.c: (gst_filesink_init),
10968         (gst_filesink_query):
10969         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10970         (gst_type_find_handle_src_query), (find_element_get_length):
10971         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10972         * gst/gstelement.h:
10973         * gst/gstmessage.c:
10974         * gst/gstmessage.h:
10975         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10976         (gst_real_pad_get_caps_unlocked),
10977         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10978         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10979         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10980         (gst_real_pad_dispose), (gst_real_pad_finalize),
10981         (gst_pad_load_and_link), (gst_pad_save_thyself),
10982         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10983         (gst_pad_check_pull_range), (gst_pad_pull_range),
10984         (gst_pad_template_get_type), (gst_pad_template_class_init),
10985         (gst_pad_template_init), (gst_pad_template_dispose),
10986         (name_is_valid), (gst_static_pad_template_get),
10987         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10988         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10989         (gst_pad_get_element_private), (gst_pad_start_task),
10990         (gst_pad_pause_task), (gst_pad_stop_task),
10991         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10992         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10993         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10994         (gst_ghost_pad_new):
10995         * gst/gstpad.h:
10996         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10997         (gst_query_new_position), (gst_query_set_position),
10998         (gst_query_parse_position), (gst_query_new_convert),
10999         (gst_query_set_convert), (gst_query_parse_convert):
11000         * gst/gstquery.h:
11001         * gst/gstqueryutils.c:
11002         * gst/gstqueryutils.h:
11003         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11004         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11005         (gst_queue_handle_src_query):
11006         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11007         (gst_element_query_position), (gst_element_query_convert),
11008         (intersect_caps_func), (gst_pad_query_position),
11009         (gst_pad_query_convert):
11010         * gst/gstutils.h:
11011         * tools/gst-inspect.c: (print_pad_info):
11012         * tools/gst-xmlinspect.c: (print_element_info):
11013         Remove old query functions. Ported old code.
11014         Added position/convert helper functions to gstutils.
11015         Reordered gstpad.c code, grouping relevant things.
11016         Remove gst_message_new(), always need to speficy a specific
11017         message.
11018
11019
11020 2005-05-09  Andy Wingo  <wingo@pobox.com>
11021
11022         * gst/gstiterator.h: Add some includes.
11023
11024         * gst/gstqueryutils.h: Include more headers.
11025
11026         * gst/gstpad.h:
11027         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11028         some uses of gst_pad_query.
11029
11030         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11031         NULL out parameters.
11032         (gst_query_new_position): New proc, allocates a new position
11033         query.
11034
11035         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11036         gstqueryutils.c to the build.
11037
11038         * gst/gststructure.c (gst_structure_set_valist): Implement with
11039         the generic G_VALUE_COLLECT.
11040         
11041 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11042
11043         * gst/Makefile.am: (gst_headers):
11044         Added gstqueryutils.h to the list of headers to install, that was
11045         a 'nachty' move wingo :)
11046
11047 2005-05-06  Andy Wingo  <wingo@pobox.com>
11048
11049         * gst/gstquery.h
11050         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11051         GstData, init a memchunk.
11052         (standard_definitions): Add a few query types, deprecate a few.
11053         (gst_query_get_type): New proc.
11054         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11055         implementation.
11056         (gst_query_new_application, gst_query_get_structure): New public
11057         procs.
11058
11059         * docs/design/draft-query.txt: Removed LINKS from the query types,
11060         because all the rest can be dispatched to other pads -- seemed
11061         ugly to have a query that couldn't be dispatched. internal_links
11062         is fine as a pad method.
11063
11064         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11065         in gstpad.c, but maintain binary compatibility for the moment.
11066         Will fix before 0.9 is out.
11067
11068         * gst/gstqueryutils.c: 
11069         * gst/gstqueryutils.h: New files, implement 3 methods for each
11070         query type: parse_query, parse_response, and set. Probably need an
11071         allocator as well.
11072
11073         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11074
11075         * gst/elements/gstfilesink.c (gst_filesink_query2):
11076         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11077         query_types, and formats methods.
11078
11079         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11080         (gst_pad_set_query2_function): New functions.
11081         (gst_real_pad_init): Set query2_default as the default query2
11082         function. Basically just dispatches to internally linked pads.
11083
11084         Needs review!
11085         
11086         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11087         without using the atomic operations. Only one thread can possibly
11088         be accessing the data at this point. Changed so as to avoid
11089         gst_atomic operations.
11090
11091 2005-05-06  Wim Taymans  <wim@fluendo.com>
11092
11093         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11094         Also set caps if we use the fallback buffer alloc.
11095
11096 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11097
11098         * docs/gst/Makefile.am:
11099         * docs/gst/gstreamer-docs.sgml:
11100         * docs/gst/gstreamer-sections.txt:
11101         * docs/gst/tmpl/gstatomic.sgml:
11102         * docs/gst/tmpl/gstmemchunk.sgml:
11103         * testsuite/elements/struct_i386.h:
11104         * win32/GStreamer.vcproj:
11105         * win32/Makefile:
11106           Purge GstAtomic stuff from docs and win32 makefiles as well
11107
11108 2005-05-06  Wim Taymans  <wim@fluendo.com>
11109
11110         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11111         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11112         * gst/gstpad.c: (gst_pad_peer_get_caps):
11113         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11114         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11115         (gst_queue_src_activate), (gst_queue_change_state):
11116         * gst/gstqueue.h:
11117         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11118         (intersect_caps_func):
11119         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11120         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11121         Some fixes for the peer_get_caps() change.
11122
11123 2005-05-06  Wim Taymans  <wim@fluendo.com>
11124
11125         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11126         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11127         (gst_basesink_activate):
11128         Actually do something with error codes returned from the push
11129         functions.
11130
11131 2005-05-06  Wim Taymans  <wim@fluendo.com>
11132
11133         * docs/design/part-element-sink.txt:
11134         * docs/design/part-element-source.txt:
11135         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11136         (gst_basesink_event), (gst_basesink_activate):
11137         * gst/base/gstbasesink.h:
11138         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11139         (gst_basesrc_activate):
11140         * gst/base/gstbasesrc.h:
11141         * gst/gstelement.c: (gst_element_pads_activate):
11142         Some more documentation.
11143         Fixed scheduling decision in _pads_activate().
11144
11145 2005-05-05  Andy Wingo  <wingo@pobox.com>
11146
11147         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11148         the test suite.
11149
11150 2005-05-05  Wim Taymans  <wim@fluendo.com>
11151
11152         * gst/base/Makefile.am:
11153         * gst/base/gstbasesink.h:
11154         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11155         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11156         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11157         (gst_collectpads_class_init), (gst_collectpads_init),
11158         (gst_collectpads_finalize), (gst_collectpads_new),
11159         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11160         (find_pad), (gst_collectpads_remove_pad),
11161         (gst_collectpads_is_active), (gst_collectpads_collect),
11162         (gst_collectpads_collect_range), (gst_collectpads_start),
11163         (gst_collectpads_stop), (gst_collectpads_peek),
11164         (gst_collectpads_pop), (gst_collectpads_available),
11165         (gst_collectpads_read), (gst_collectpads_flush),
11166         (gst_collectpads_chain):
11167         * gst/base/gstcollectpads.h:
11168         * gst/elements/Makefile.am:
11169         * gst/elements/gstelements.c:
11170         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11171         (gst_fakesink_get_times), (gst_fakesink_event),
11172         (gst_fakesink_preroll), (gst_fakesink_render):
11173         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11174         (gst_filesink_init), (gst_filesink_set_location),
11175         (gst_filesink_open_file), (gst_filesink_close_file),
11176         (gst_filesink_pad_query), (gst_filesink_event),
11177         (gst_filesink_render), (gst_filesink_change_state):
11178         * gst/elements/gstfilesink.h:
11179         Added object to help in making collect pad based elements.
11180         Ported filesink.
11181         Make event function in sink baseclass return gboolean.
11182
11183 2005-05-05  Wim Taymans  <wim@fluendo.com>
11184
11185         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11186         (gst_bin_get_by_name):
11187         * gst/gstbuffer.h:
11188         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11189         (gst_clock_finalize):
11190         * gst/gstdata.c: (gst_data_replace):
11191         * gst/gstdata.h:
11192         * gst/gstelement.c: (gst_element_request_pad),
11193         (gst_element_pads_activate):
11194         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11195         (gst_object_unref):
11196         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11197         (gst_pad_set_checkgetrange_function),
11198         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11199         (gst_pad_check_pull_range), (gst_pad_pull_range),
11200         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11201         (gst_pad_pause_task), (gst_pad_stop_task):
11202         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11203         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11204         Fix name lookup in GstBin.
11205         Added _data_replace() function and _buffer_replace()
11206         Use finalize method to clean up clock.
11207         Fix refcounting on request pads.
11208         Fix pad schedule mode error.
11209         Some more object refcounting debug info,
11210
11211
11212 2005-05-04  Andy Wingo <wingo@pobox.com>
11213
11214         * check/Makefile.am:
11215         * docs/gst/tmpl/gstatomic.sgml:
11216         * docs/gst/tmpl/gstplugin.sgml:
11217         * gst/base/gstbasesink.c: (gst_basesink_activate):
11218         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11219         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11220         (gst_basesrc_query), (gst_basesrc_set_property),
11221         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11222         (gst_basesrc_activate):
11223         * gst/base/gstbasesrc.h:
11224         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11225         (gst_base_transform_src_activate):
11226         * gst/elements/gstelements.c:
11227         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11228         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11229         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11230         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11231         (gst_type_find_element_checkgetrange),
11232         (gst_type_find_element_activate):
11233         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11234         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11235         (gst_caps_load_thyself):
11236         * gst/gstelement.c: (gst_element_pads_activate),
11237         (gst_element_save_thyself), (gst_element_restore_thyself):
11238         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11239         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11240         * gst/gstpad.h:
11241         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11242         (gst_xml_parse_file), (gst_xml_parse_memory),
11243         (gst_xml_get_element), (gst_xml_make_element):
11244         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11245         (_file_index_id_save_xml), (gst_file_index_commit):
11246         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11247         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11248         (load_paths):
11249         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11250         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11251         * tools/gst-complete.c: (main):
11252         * tools/gst-compprep.c: (main):
11253         * tools/gst-inspect.c: (print_element_properties_info):
11254         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11255         * tools/gst-xmlinspect.c: (print_element_properties):
11256         GCC 4 fixen.
11257         
11258 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11259
11260         * gst/gstplugin.c: (gst_plugin_check_module),
11261         (gst_plugin_check_file), (gst_plugin_load_file):
11262             apply patch from #172526 to make register work on MacOSX
11263
11264 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11265
11266         * docs/gst/tmpl/gstconfig.sgml:
11267         * gst/gstconfig.h.in:
11268           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11269         * testsuite/debug/printf_extension.c: (main):
11270           Do not use GST_PTR_FORMAT on pointers to types with
11271           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11272         * testsuite/elements/property.h:
11273           use correct printf format
11274
11275 2005-05-02  Wim Taymans  <wim@fluendo.com>
11276
11277         * docs/design/draft-push-pull.txt:
11278         * docs/design/draft-query.txt:
11279         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11280         (gst_basesrc_start):
11281         Added draft for new query API.
11282         Added draft for better selecting scheduling methods.
11283         Make basesrc ignore length if the subclass does not support
11284         it.
11285
11286 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11287
11288         * gst/Makefile.am:
11289           possible fixes for automake-1.5 - _LIBADD is reserved
11290
11291 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11292
11293         * docs/faq/Makefile.am:
11294         * docs/manual/Makefile.am:
11295         * docs/manuals.mak:
11296         * docs/pwg/Makefile.am:
11297         * gst/Makefile.am:
11298           possible fixes for automake-1.5
11299
11300 2005-04-28  Wim Taymans  <wim@fluendo.com>
11301
11302         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11303         (gst_basesink_pad_getcaps), (gst_basesink_init),
11304         (gst_basesink_do_sync):
11305         * gst/gstclock.c: (gst_clock_entry_new):
11306         * gst/gstevent.c: (gst_event_discont_get_value):
11307         * gst/gstpipeline.c: (pipeline_bus_handler),
11308         (gst_pipeline_change_state):
11309         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11310         Better debugging of clocking info.
11311         Allow NULL values when getting discont values.
11312
11313 2005-04-27  Wim Taymans  <wim@fluendo.com>
11314
11315         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11316         * check/gst/gstpad.c: (gst_pad_suite):
11317         Increase timeout for checks.
11318
11319 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11320
11321         * check/Makefile.am:
11322           fix the broken rule for cleanup.  Apparently this rule is
11323           only needed on FC2, so maybe this warrants further autotool
11324           inspection.
11325
11326 2005-04-26  Wim Taymans  <wim@fluendo.com>
11327
11328         * gst/gsttrashstack.h:
11329         Ooohh. a nasty one! After having a failed pop() from the stack,
11330         it's possible that the stack is empty. In that case, don't
11331         follow the NULL pointer.
11332
11333 2005-04-25  Wim Taymans  <wim@fluendo.com>
11334
11335         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11336         (gst_pad_set_checkgetrange_function),
11337         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11338         (gst_pad_check_pull_range), (gst_pad_pull_range),
11339         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11340         (gst_pad_pause_task), (gst_pad_stop_task):
11341         * gst/gstplugin.c: (gst_plugin_load):
11342         * gst/gstplugin.h:
11343         Remove gst_library_load as it does more harm than good with
11344         the new g_module flags.
11345         Revert bogus caps template check in pad linking, pad caps
11346         are important when linking not the template, which is more
11347         general than the current caps.
11348
11349 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11350
11351         * gst/autoplug/.cvsignore:
11352         * gst/autoplug/Makefile.am:
11353         * gst/autoplug/gstsearchfuncs.c:
11354         * gst/autoplug/gstsearchfuncs.h:
11355         * gst/autoplug/gstspider.c:
11356         * gst/autoplug/gstspider.h:
11357         * gst/autoplug/gstspideridentity.c:
11358         * gst/autoplug/gstspideridentity.h:
11359         * gst/autoplug/spidertest.c:
11360           Die, spider, die.
11361
11362 2005-04-25  Wim Taymans  <wim@fluendo.com>
11363
11364         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11365         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11366         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11367         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11368         * gst/gstpad.h:
11369         Added stubs for unimplemented functions. 
11370
11371 2005-04-24  David Schleef  <ds@schleef.org>
11372
11373         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11374         please fix.
11375
11376 2005-04-24  David Schleef  <ds@schleef.org>
11377
11378         Convert everything from GstAtomicInt to g_atomic_int_*, and
11379         remove gstatomic.
11380         * gst/Makefile.am:
11381         * gst/gstatomic.c:
11382         * gst/gstatomic.h:
11383         * gst/gstatomic_impl.h:
11384         * gst/gstbuffer.c:
11385         * gst/gstcaps.c:
11386         * gst/gstcaps.h:
11387         * gst/gstclock.c:
11388         * gst/gstclock.h:
11389         * gst/gstdata.c:
11390         * gst/gstdata.h:
11391         * gst/gstdata_private.h:
11392         * gst/gstevent.c:
11393         * gst/gstinfo.c:
11394         * gst/gstinfo.h:
11395         * gst/gstmessage.c:
11396         * gst/gstobject.c:
11397         * gst/gstobject.h:
11398         * gst/gststructure.c:
11399         * gst/gststructure.h:
11400         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11401         * gst/gstutils.h:
11402
11403 2005-04-24  David Schleef  <ds@schleef.org>
11404
11405         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11406         make the regressions tests work.  Remove some code that is no
11407         longer true.
11408         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11409         Disable warning for pads without templates.
11410
11411 2005-04-24  David Schleef  <ds@schleef.org>
11412
11413         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11414         functions that handle filtered links.
11415         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11416         removed functions.
11417         * gst/gstutils.c: Fix/remove utility functions that handle
11418         filtered caps.
11419         * gst/gstutils.h:
11420         * gst/gstvalue.c: Add serialization/deserialization of caps
11421         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11422         requires fixing so that the filter caps notation creates
11423         a capsfilter element and sets the filter_caps property.  I
11424         think everyone probably wants to keep the shorthand notation.
11425         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11426         * docs/gst/tmpl/gstpad.sgml:
11427
11428         * gst/elements/gstelements.c: Register capsfilter element.
11429         * gst/Makefile.am: fix spacing
11430         * docs/random/ds/0.9-suggested-changes: random
11431
11432 2005-04-23  David Schleef  <ds@schleef.org>
11433
11434         * gst/elements/Makefile.am:
11435         * gst/elements/gstcapsfilter.c: New element that acts like an
11436         identity, but filters caps.  Will eventually replace filtered
11437         caps in pad linking.
11438         * gst/gstutils.c: (gst_element_create_all_pads): New function
11439         to create all the ALWAYS pads that are registered with an
11440         element class.  This functionality should eventually be
11441         merged in with GstElement initialization.
11442         * gst/gstutils.h:
11443         * testsuite/trigger/README: part of trigger test code that should
11444         have been checked in a long time ago.
11445
11446 2005-04-23  David Schleef  <ds@schleef.org>
11447
11448         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11449         needed with new versions of libtool (nobody will confirm this),
11450         and hard to carry around.
11451         * gst/autoplug/Makefile.am:
11452         * gst/base/Makefile.am:
11453         * gst/elements/Makefile.am:
11454         * gst/indexers/Makefile.am:
11455         * gst/schedulers/Makefile.am:
11456         * libs/gst/bytestream/Makefile.am:
11457         * libs/gst/control/Makefile.am:
11458         * libs/gst/dataprotocol/Makefile.am:
11459         * libs/gst/getbits/Makefile.am:
11460
11461 2005-04-21  Wim Taymans  <wim@fluendo.com>
11462
11463         * docs/design/draft-push-pull.txt:
11464         * docs/design/part-MT-refcounting.txt:
11465         * docs/design/part-TODO.txt:
11466         * docs/design/part-caps.txt:
11467         * docs/design/part-events.txt:
11468         * docs/design/part-gstbus.txt:
11469         * docs/design/part-gstpipeline.txt:
11470         * docs/design/part-messages.txt:
11471         * docs/design/part-push-pull.txt:
11472         * docs/design/part-query.txt:
11473         Some more docs.
11474
11475 2005-04-21  Wim Taymans  <wim@fluendo.com>
11476
11477         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11478         (gst_message_new), (gst_message_new_error),
11479         (gst_message_new_warning), (gst_message_new_tag),
11480         (gst_message_new_state_changed), (gst_message_new_application),
11481         (gst_message_get_structure):
11482         * gst/gstmessage.h:
11483         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11484         (gst_structure_copy_conditional):
11485         Use parent refcount in GstMessage to ensure GstStructure
11486         consistency.
11487         Cleaned up headers a bit.
11488         
11489
11490 2005-04-20  Wim Taymans  <wim@fluendo.com>
11491
11492         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11493         (gst_basesink_pad_getcaps), (gst_basesink_init),
11494         (gst_basesink_chain_unlocked):
11495         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11496         (gst_type_find_helper):
11497         * gst/elements/gsttypefindelement.c:
11498         (gst_type_find_element_have_type), (gst_type_find_element_init),
11499         (stop_typefinding), (gst_type_find_element_handle_event),
11500         (find_suggest), (gst_type_find_element_chain),
11501         (gst_type_find_element_checkgetrange),
11502         (gst_type_find_element_getrange), (do_typefind),
11503         (gst_type_find_element_activate):
11504         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11505         (gst_buffer_default_free), (gst_buffer_default_copy),
11506         (gst_buffer_set_caps):
11507         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11508         (gst_caps_replace):
11509         * gst/gstmessage.c: (gst_message_new),
11510         (gst_message_new_state_changed):
11511         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11512         (gst_pad_set_checkgetrange_function),
11513         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11514         (gst_pad_set_caps), (gst_pad_check_pull_range),
11515         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11516         * gst/gstpad.h:
11517         * gst/gsttypefind.c: (gst_type_find_register):
11518         Make gst_caps_replace() work like other _replace() functions.
11519         Use _caps_replace() where possible.
11520         Make sure _message_new() initialises its field.
11521         Add gst_static_pad_template_get_caps()
11522
11523
11524 2005-04-18  Andy Wingo  <wingo@pobox.com>
11525
11526         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11527         on the peer, not the pad. I think that was a typo. Pass an extra
11528         arg to see if random access is possible. Activate the pads as
11529         PULL_RANGE if possible.
11530
11531         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11532
11533         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11534         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11535         to PROP_....
11536
11537 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11538
11539         * docs/faq/using.xml:
11540           Add note on gstreamer-properties (#154996).
11541
11542 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11543
11544         * docs/random/bbb/optional-properties:
11545           Some analysis on optional properties.
11546
11547 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11548
11549         * docs/gst/tmpl/gstelementfactory.sgml:
11550         * gst/gstelement.h:
11551         * gst/gstelementfactory.c: (gst_element_factory_init),
11552         (gst_element_factory_cleanup), (gst_element_register),
11553         (__gst_element_factory_add_static_pad_template),
11554         (gst_element_factory_get_static_pad_templates),
11555         (gst_element_factory_can_src_caps),
11556         (gst_element_factory_can_sink_caps):
11557         * gst/registries/Makefile.am:
11558         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11559         (gst_xml_registry_class_init), (gst_xml_registry_init),
11560         (gst_xml_registry_new), (gst_xml_registry_set_property),
11561         (gst_xml_registry_get_property), (get_time), (make_dir),
11562         (gst_xml_registry_get_perms_func),
11563         (plugin_times_older_than_recurse), (plugin_times_older_than),
11564         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11565         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11566         (add_to_char_array), (read_string), (read_uint), (read_enum),
11567         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11568         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11569         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11570         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11571         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11572         (gst_xml_registry_rebuild):
11573         * gst/registries/gstlibxmlregistry.h:
11574         * tools/gst-compprep.c: (main):
11575         * tools/gst-inspect.c: (print_pad_templates_info):
11576         * tools/gst-xmlinspect.c: (print_element_info):
11577           Use libxml2 for registry parsing, use staticpadtemplates in
11578           elementfactories. Makes gst_init() +/- 10x faster.
11579
11580 2005-04-12  Wim Taymans  <wim@fluendo.com>
11581
11582         * gst/base/Makefile.am:
11583         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11584         (gst_basesink_pad_getcaps), (gst_basesink_init),
11585         (gst_basesink_event), (gst_basesink_change_state):
11586         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11587         (gst_basesrc_init), (gst_basesrc_query),
11588         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11589         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11590         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11591         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11592         (gst_basesrc_stop), (gst_basesrc_activate),
11593         (gst_basesrc_change_state):
11594         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11595         (helper_find_suggest), (gst_type_find_helper):
11596         * gst/base/gsttypefindhelper.h:
11597         * gst/elements/Makefile.am:
11598         * gst/elements/gstelements.c:
11599         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11600         (gst_fakesink_get_times), (gst_fakesink_event),
11601         (gst_fakesink_preroll), (gst_fakesink_render):
11602         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11603         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11604         (gst_fakesrc_get_property), (gst_fakesrc_create),
11605         (gst_fakesrc_start), (gst_fakesrc_stop):
11606         * gst/elements/gstfakesrc.h:
11607         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11608         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11609         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11610         (gst_filesrc_create_read), (gst_filesrc_create),
11611         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11612         (gst_filesrc_start):
11613         * gst/elements/gsttypefindelement.c:
11614         (gst_type_find_element_have_type), (gst_type_find_element_init),
11615         (start_typefinding), (stop_typefinding), (push_buffer_store),
11616         (gst_type_find_element_handle_event),
11617         (gst_type_find_element_chain),
11618         (gst_type_find_element_checkgetrange),
11619         (gst_type_find_element_getrange), (do_typefind),
11620         (gst_type_find_element_activate),
11621         (gst_type_find_element_change_state):
11622         * gst/elements/gsttypefindelement.h:
11623         * gst/gstpipeline.c: (pipeline_bus_handler):
11624         Added typefind helper.
11625         Small preroll fix in the base sink.
11626         Disable typefind code in basesrc.
11627         Crude port of typefindelement.
11628         Fakesrc cleanups.
11629
11630
11631 2005-04-11  Wim Taymans  <wim@fluendo.com>
11632
11633         * check/gst/gstbus.c: (gstbus_suite):
11634         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11635         * check/gstcheck.h:
11636           Fix up the timeout so that the test does not fail.
11637
11638 2005-04-06  Wim Taymans  <wim@fluendo.com>
11639
11640         * gst/base/README:
11641         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11642         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11643         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11644         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11645         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11646         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11647         (gst_basesrc_stop), (gst_basesrc_activate),
11648         (gst_basesrc_change_state), (basesrc_find_peek),
11649         (basesrc_find_suggest), (gst_basesrc_type_find):
11650         * gst/base/gstbasesrc.h:
11651         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11652         (gst_filesrc_class_init), (gst_filesrc_init),
11653         (gst_filesrc_finalize), (gst_filesrc_set_location),
11654         (gst_filesrc_set_property), (gst_filesrc_get_property),
11655         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11656         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11657         (gst_filesrc_create_read), (gst_filesrc_create),
11658         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11659         * gst/elements/gstfilesrc.h:
11660         * gst/gstelement.c: (gst_element_get_state_func),
11661         (gst_element_lost_state), (gst_element_pads_activate):
11662         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11663         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11664         (gst_pad_pull_range):
11665         * gst/gstpad.h:
11666         More work on the generic source base class, implement seeking,
11667         query.
11668         Make filesrc extend the base source class.
11669         Added gst_pad_set_checkgetrange_function to GstPad.
11670
11671 2005-04-06  Andy Wingo  <wingo@pobox.com>
11672
11673         * pkgconfig/gstreamer-base.pc.in:
11674         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11675
11676         * pkgconfig/Makefile.am:
11677         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11678
11679 2005-04-04  Wim Taymans  <wim@fluendo.com>
11680
11681         * gst/base/Makefile.am:
11682         * gst/base/README:
11683         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11684         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11685         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11686         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11687         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11688         (gst_basesrc_base_init), (gst_basesrc_class_init),
11689         (gst_basesrc_init), (gst_basesrc_get_formats),
11690         (gst_basesrc_get_query_types), (gst_basesrc_query),
11691         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11692         (gst_basesrc_set_property), (gst_basesrc_get_property),
11693         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11694         (gst_basesrc_loop), (gst_basesrc_activate),
11695         (gst_basesrc_change_state):
11696         * gst/base/gstbasesrc.h:
11697         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11698         (gst_fakesrc_class_init), (gst_fakesrc_init),
11699         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11700         (gst_fakesrc_get_property), (gst_fakesrc_create):
11701         * gst/elements/gstfakesrc.h:
11702         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11703         (gst_filesrc_open_file), (gst_filesrc_loop),
11704         (gst_filesrc_activate), (filesrc_find_peek),
11705         (gst_filesrc_type_find):
11706         Made base source class, make fakesrc extend it.
11707         Add comments to basesink class.
11708         Some filesrc cleanup.
11709
11710 2005-03-31  David Schleef  <ds@schleef.org>
11711
11712         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11713         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11714         expected to link against libgstreamer.
11715         * gst/base/Makefile.am: link against libgstreamer
11716         * gst/elements/Makefile.am: same
11717
11718 2005-03-31  Andy Wingo  <wingo@pobox.com>
11719
11720         * tests/instantiate/Makefile.am:
11721         * tests/instantiate/caps.c: Add test to test speed of caps copy
11722         and free.
11723
11724         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11725         GMemChunk to be fair.
11726
11727         * gst/gsttrashstack.h: Remove warning about using the fallback
11728         trash stack implementation, it's still faster than malloc.
11729
11730 2005-03-30  Andy Wingo  <wingo@pobox.com>
11731
11732         * tests/complexity.c: Add a copyright.
11733
11734 2005-03-31  Wim Taymans  <wim@fluendo.com>
11735
11736         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11737         (gst_base_transform_class_init), (gst_base_transform_init),
11738         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11739         (gst_base_transform_get_property),
11740         (gst_base_transform_sink_activate),
11741         (gst_base_transform_src_activate),
11742         (gst_base_transform_change_state):
11743         * gst/base/gstbasetransform.h:
11744         * gst/elements/gstidentity.c: (gst_identity_class_init),
11745         (gst_identity_event), (gst_identity_check_perfect),
11746         (gst_identity_transform), (gst_identity_start),
11747         (gst_identity_stop):
11748         Added start/stop methods to transform base class so subclasses 
11749         don't need to deal with state changes even.
11750
11751 2005-03-31  Wim Taymans  <wim@fluendo.com>
11752
11753         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11754         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11755         * gst/gstevent.h:
11756         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11757         (gst_pad_pull_range):
11758         Added rate to the discont event to prepare for variable speed
11759         and reverse playback.
11760
11761 2005-03-29  David Schleef  <ds@schleef.org>
11762
11763         * configure.ac:
11764         * testsuite/trigger/Makefile.am:
11765         * testsuite/trigger/trigger.c: A little example program to show
11766         how trigger-based elements can work.
11767
11768 2005-03-29  Wim Taymans  <wim@fluendo.com>
11769
11770         * gst/base/Makefile.am:
11771         * gst/base/README:
11772         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11773         (gst_basesink_base_init), (gst_basesink_class_init),
11774         (gst_basesink_pad_getcaps), (gst_basesink_init),
11775         (gst_basesink_activate), (gst_basesink_change_state):
11776         * gst/base/gstbasesink.h:
11777         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11778         (gst_base_transform_base_init), (gst_base_transform_finalize),
11779         (gst_base_transform_class_init), (gst_base_transform_init),
11780         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11781         (gst_base_transform_event), (gst_base_transform_getrange),
11782         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11783         (gst_base_transform_set_property),
11784         (gst_base_transform_get_property),
11785         (gst_base_transform_sink_activate),
11786         (gst_base_transform_src_activate),
11787         (gst_base_transform_change_state):
11788         * gst/base/gstbasetransform.h:
11789         * gst/elements/gstidentity.c: (gst_identity_finalize),
11790         (gst_identity_class_init), (gst_identity_init),
11791         (gst_identity_event), (gst_identity_check_perfect),
11792         (gst_identity_transform), (gst_identity_set_property),
11793         (gst_identity_get_property), (gst_identity_change_state):
11794         * gst/elements/gstidentity.h:
11795         * gst/gstelement.c: (gst_element_get_state_func),
11796         (gst_element_lost_state), (gst_element_pads_activate):
11797         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11798         (gst_pad_check_pull_range), (gst_pad_pull_range):
11799         * gst/gstpad.h:
11800         Simplify pad activation.
11801         Added function to check if pull_range can be performed.
11802         Error out when pulling inactive or flushing pads.
11803         Removed const from refcounted types as it does not make sense.
11804         Simplify pad templates in basesink
11805         Added base class for simple 1-to-1 transforms.
11806         Make identity subclass the base transform.
11807
11808 2005-03-29  Andy Wingo  <wingo@pobox.com>
11809
11810         * docs/libs/gstreamer-libs-overrides.txt: 
11811         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11812         really don't understand what's going on, but like whatever. I want
11813         green buildbot!
11814
11815         * docs/gst/Makefile.am:
11816         * docs/libs/Makefile.am: Dist the overrides files.
11817
11818         * check/Makefile.am (clean-local): Remove .libs directories.
11819
11820         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11821         elements to EXTRA_DIST, so po/ files are happy.
11822
11823         * po/POTFILES.in: Er, remove it here.
11824
11825         * po/POTFILES: Remove gstspider.c.
11826
11827         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11828
11829         * docs/libs/gstreamer-libs-docs.sgml: 
11830         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11831         bytestream.
11832
11833         * tests/complexity.c (main): Set the length of the preroll queue
11834         on the sinks to prevent a lockup.
11835
11836         * libs/gst/dataprotocol/Makefile.am: 
11837         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11838         the same as the one in check/gst-libs/gdp.c.
11839
11840         * po/, docs/gst/: Commit automatic changes to docs and po files.
11841
11842         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11843         the versioned libgstbase.
11844
11845         * check/Makefile.am: Depend on an unversioned gst-register, seems
11846         to make autoconf happier.
11847
11848         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11849
11850 2005-03-28  Wim Taymans  <wim@fluendo.com>
11851
11852         * configure.ac:
11853         * docs/design/part-gstelement.txt:
11854         * docs/design/part-negotiation.txt:
11855         * docs/design/part-preroll.txt:
11856         * docs/design/part-scheduling.txt:
11857         * docs/design/part-states.txt:
11858         * gst/Makefile.am:
11859         * gst/base/Makefile.am:
11860         * gst/base/README:
11861         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11862         (gst_basesink_base_init), (gst_basesink_class_init),
11863         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11864         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11865         (gst_basesink_set_pad_functions),
11866         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11867         (gst_basesink_set_property), (gst_basesink_get_property),
11868         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11869         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11870         (gst_basesink_preroll_queue_push),
11871         (gst_basesink_preroll_queue_empty),
11872         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11873         (gst_basesink_event), (gst_basesink_get_times),
11874         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11875         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11876         (gst_basesink_loop), (gst_basesink_activate),
11877         (gst_basesink_change_state):
11878         * gst/base/gstbasesink.h:
11879         * gst/elements/Makefile.am:
11880         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11881         (gst_fakesink_class_init), (gst_fakesink_init),
11882         (gst_fakesink_set_property), (gst_fakesink_get_property),
11883         (gst_fakesink_get_times), (gst_fakesink_event),
11884         (gst_fakesink_preroll), (gst_fakesink_render),
11885         (gst_fakesink_change_state):
11886         * gst/elements/gstfakesink.h:
11887         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11888         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11889         * gst/gstelement.c: (gst_element_add_pad),
11890         (gst_element_get_state_func), (gst_element_abort_state),
11891         (gst_element_commit_state), (gst_element_lost_state),
11892         (gst_element_set_state), (gst_element_pads_activate):
11893         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11894         * gst/gstpipeline.c: (gst_pipeline_send_event),
11895         (gst_pipeline_change_state):
11896         Added state change code.
11897         Added/updated docs.
11898         Added sink base class, make fakesink extend the base class.
11899         Small cleanups in GstPipeline.
11900
11901 2005-03-26  David Schleef  <ds@schleef.org>
11902
11903         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11904         is broken and should be implemented in a different library.
11905         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11906         * gst/gst.h: remove gstcpu.h
11907         * gst/gstcpu.c: remove
11908         * gst/gstcpu.h: remove
11909         * gst/Makefile.am.future: Remove this file.  It's ancient.
11910
11911 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11912
11913         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11914         (gst_bin_send_event):
11915           Add default event/set_manager handlers. The set_manager handler
11916           takes care that the manager is distributed over kids that were
11917           already in the bin before the manager was set. The event handler
11918           is a utility virtual function that sends the event over all sinks,
11919           so that gst_element_send_event (bin, event); has the expected
11920           behaviour.
11921         * gst/gstpad.c: (gst_pad_event_default):
11922           Re-install default event handling for discontinuities, so that
11923           seeking works without requiring hacks in applications or extra
11924           code in sinks.
11925         * gst/gstpipeline.c: (gst_pipeline_class_init),
11926         (gst_pipeline_send_event):
11927           Half hack, half utility: set a pipeline to PAUSED for seek events,
11928           since that is the only way we can guarantee a/v sync. Means that
11929           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11930           and it "just works".
11931
11932 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11933
11934         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11935           Lock/unlock mismatch.
11936
11937 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11938
11939         * docs/faq/gst-uninstalled:
11940           add gst-plugins-base
11941         * docs/gst/Makefile.am:
11942           don't error out until docs are fixed
11943         * docs/gst/gstreamer.types:
11944           remove thread
11945
11946 2005-03-22  Wim Taymans  <wim@fluendo.com>
11947
11948         * check/Makefile.am:
11949         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11950         * gst/gststructure.c: (gst_structure_set_valist),
11951         (gst_structure_copy_conditional):
11952         Activated more tests.
11953         Added message test.
11954         Added G_TYPE_POINTER to GstStructure.
11955         
11956
11957 2005-03-22  Wim Taymans  <wim@fluendo.com>
11958
11959         * docs/design/part-TODO.txt:
11960         * docs/design/part-events.txt:
11961         * docs/design/part-gstbin.txt:
11962         * docs/design/part-gstbus.txt:
11963         * docs/design/part-gstpipeline.txt:
11964         * docs/design/part-messages.txt:
11965         * gst/gstbus.c:
11966         * gst/gstmessage.c:
11967         Docs updates
11968
11969 2005-03-21  Wim Taymans  <wim@fluendo.com>
11970
11971         * gst/gstbus.c: (gst_bus_post):
11972         Fix copy-and-paste error.
11973
11974 2005-03-21  Wim Taymans  <wim@fluendo.com>
11975
11976         * check/Makefile.am:
11977         * gst/Makefile.am:
11978         * gst/elements/Makefile.am:
11979         * gst/elements/gstelements.c:
11980         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11981         (gst_fakesink_event), (gst_fakesink_chain):
11982         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11983         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11984         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11985         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11986         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11987         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11988         (gst_fakesrc_loop), (gst_fakesrc_activate),
11989         (gst_fakesrc_change_state):
11990         * gst/elements/gstfakesrc.h:
11991         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11992         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11993         (gst_filesrc_open_file), (gst_filesrc_loop),
11994         (gst_filesrc_activate), (gst_filesrc_change_state),
11995         (filesrc_find_peek), (filesrc_find_suggest),
11996         (gst_filesrc_type_find):
11997         * gst/elements/gstidentity.c: (gst_identity_finalize),
11998         (gst_identity_class_init), (gst_identity_init),
11999         (gst_identity_proxy_getcaps), (identity_queue_push),
12000         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12001         (gst_identity_getrange), (gst_identity_chain),
12002         (gst_identity_sink_loop), (gst_identity_src_loop),
12003         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12004         (gst_identity_set_property), (gst_identity_get_property),
12005         (gst_identity_change_state):
12006         * gst/elements/gstidentity.h:
12007         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12008         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12009         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12010         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12011         (gst_tee_sink_activate):
12012         * gst/elements/gsttee.h:
12013         * gst/gst.c: (gst_register_core_elements), (init_post):
12014         * gst/gst.h:
12015         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12016         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12017         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12018         (gst_bin_change_state):
12019         * gst/gstbin.h:
12020         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12021         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12022         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12023         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12024         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12025         (bus_watch_callback), (bus_watch_destroy),
12026         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12027         (poll_timeout), (gst_bus_poll):
12028         * gst/gstbus.h:
12029         * gst/gstcaps.h:
12030         * gst/gstdata.h:
12031         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12032         (gst_element_post_message), (gst_element_message_full),
12033         (gst_element_get_state_func), (gst_element_get_state),
12034         (gst_element_abort_state), (gst_element_commit_state),
12035         (gst_element_lost_state), (gst_element_set_state),
12036         (gst_element_pads_activate), (gst_element_change_state),
12037         (gst_element_dispose), (gst_element_set_manager_func),
12038         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12039         (gst_element_set_manager), (gst_element_get_manager),
12040         (gst_element_set_bus), (gst_element_get_bus),
12041         (gst_element_set_scheduler), (gst_element_get_scheduler):
12042         * gst/gstelement.h:
12043         * gst/gstevent.c: (gst_event_new_segment_seek),
12044         (gst_event_new_flush):
12045         * gst/gstevent.h:
12046         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12047         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12048         (gst_message_new_eos), (gst_message_new_error),
12049         (gst_message_new_warning), (gst_message_new_tag),
12050         (gst_message_new_state_changed), (gst_message_new_application),
12051         (gst_message_get_structure), (gst_message_parse_tag),
12052         (gst_message_parse_state_changed), (gst_message_parse_error),
12053         (gst_message_parse_warning):
12054         * gst/gstmessage.h:
12055         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12056         (gst_real_pad_set_property), (gst_pad_set_active),
12057         (gst_pad_is_active), (gst_pad_set_blocked_async),
12058         (gst_pad_set_blocked), (gst_pad_is_blocked),
12059         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12060         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12061         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12062         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12063         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12064         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12065         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12066         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12067         (gst_pad_set_caps), (gst_pad_configure_sink),
12068         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12069         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12070         (gst_real_pad_dispose), (gst_real_pad_finalize),
12071         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12072         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12073         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12074         * gst/gstpad.h:
12075         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12076         (pipeline_bus_handler), (gst_pipeline_change_state),
12077         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12078         * gst/gstpipeline.h:
12079         * gst/gstprobe.h:
12080         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12081         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12082         (gst_queue_link_src), (gst_queue_bufferalloc),
12083         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12084         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12085         (gst_queue_loop), (gst_queue_handle_src_event),
12086         (gst_queue_handle_src_query), (gst_queue_src_activate),
12087         (gst_queue_change_state):
12088         * gst/gstqueue.h:
12089         * gst/gstscheduler.c: (gst_scheduler_init),
12090         (gst_scheduler_dispose), (gst_scheduler_create_task),
12091         (gst_scheduler_factory_create):
12092         * gst/gstscheduler.h:
12093         * gst/gststructure.c: (gst_structure_get_type),
12094         (gst_structure_copy_conditional):
12095         * gst/gststructure.h:
12096         * gst/gsttaginterface.h:
12097         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12098         (gst_task_init), (gst_task_dispose), (gst_task_create),
12099         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12100         (gst_task_pause):
12101         * gst/gsttask.h:
12102         * gst/gstthread.c:
12103         * gst/gstthread.h:
12104         * gst/gsttypes.h:
12105         * gst/schedulers/Makefile.am:
12106         * gst/schedulers/cothreads_compat.h:
12107         * gst/schedulers/entryscheduler.c:
12108         * gst/schedulers/faircothreads.c:
12109         * gst/schedulers/faircothreads.h:
12110         * gst/schedulers/fairscheduler.c:
12111         * gst/schedulers/gstbasicscheduler.c:
12112         * gst/schedulers/gstoptimalscheduler.c:
12113         * gst/schedulers/gthread-cothreads.h:
12114         * gst/schedulers/threadscheduler.c:
12115         (gst_thread_scheduler_task_get_type),
12116         (gst_thread_scheduler_task_class_init),
12117         (gst_thread_scheduler_task_init),
12118         (gst_thread_scheduler_task_start),
12119         (gst_thread_scheduler_task_stop),
12120         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12121         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12122         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12123         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12124         (plugin_init):
12125         * libs/gst/Makefile.am:
12126         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12127         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12128         (gst_file_pad_parent_set):
12129         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12130         (gst_dp_event_from_packet):
12131         * tests/complexity.c: (main):
12132         * tests/mass_elements.c: (main):
12133         * testsuite/states/locked.c: (message_received), (main):
12134         * testsuite/states/parent.c: (main):
12135         * tools/gst-inspect.c: (print_element_flag_info),
12136         (print_implementation_info), (print_pad_info):
12137         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12138         (main):
12139         * tools/gst-md5sum.c: (event_loop), (main):
12140         * tools/gst-typefind.c: (main):
12141         * tools/gst-xmlinspect.c: (print_element_info):
12142         Next big merge.
12143         Added GstBus for mainloop integration.
12144         Added GstMessage for sending notifications on the bus.
12145         Added GstTask as an abstraction for pipeline entry points.
12146         Removed GstThread.
12147         Removed Schedulers.
12148         Simplified GstQueue for multithreaded core.
12149         Made _link threadsafe, removed old capsnego.
12150         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12151         Added pad blocking functions.
12152         Reworked scheduling functions in GstPad to prepare for
12153         scheduling updates soon.
12154         Moved events out of data stream.
12155         Simplified GstEvent types.
12156         Added return values to push/pull.
12157         Removed clocking from GstElement.
12158         Added prototypes for state change function for next merge.
12159         Removed iterate from bins and state change management.
12160         Fixed some elements, disabled others for now.
12161         Fixed -inspect and -launch.
12162         Added check for GstBus.
12163
12164 2005-03-10  Wim Taymans  <wim@fluendo.com>
12165
12166         * docs/design/part-MT-refcounting.txt:
12167         * docs/design/part-clocks.txt:
12168         * docs/design/part-gstelement.txt:
12169         * docs/design/part-gstobject.txt:
12170         * docs/design/part-standards.txt:
12171         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12172         (gst_bin_remove_func), (gst_bin_remove):
12173         * gst/gstbin.h:
12174         * gst/gstbuffer.c:
12175         * gst/gstcaps.h:
12176         * testsuite/clock/clock1.c: (main):
12177         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12178         (main):
12179         * testsuite/dlopen/loadgst.c: (do_test):
12180         * testsuite/refcounting/bin.c: (add_remove_test1),
12181         (add_remove_test2), (main):
12182         * testsuite/refcounting/element.c: (main):
12183         * testsuite/refcounting/element_pad.c: (main):
12184         * testsuite/refcounting/pad.c: (main):
12185         * tools/gst-launch.c: (sigint_handler_sighandler):
12186         * tools/gst-typefind.c: (main):
12187         Doc updates.
12188         Added doc about clock.
12189         removed gst_bin_iterate_recurse_up(), marked methods
12190         for removal.
12191         Fix more testsuites.
12192
12193 2005-03-09  Wim Taymans  <wim@fluendo.com>
12194
12195         * gst/gstpad.c: (gst_pad_get_direction),
12196         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12197         (gst_pad_collect_valist):
12198         * testsuite/bins/interface.c: (main):
12199         * testsuite/caps/audioscale.c: (test_caps):
12200         * testsuite/caps/caps.c: (test1), (test2), (test3):
12201         * testsuite/caps/deserialize.c: (main):
12202         * testsuite/caps/enumcaps.c: (main):
12203         * testsuite/caps/filtercaps.c: (main):
12204         * testsuite/caps/intersect2.c: (main):
12205         * testsuite/caps/random.c: (main):
12206         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12207         * testsuite/caps/sets.c: (check_caps):
12208         * testsuite/caps/simplify.c: (check_caps), (main):
12209         * testsuite/caps/subtract.c: (check_caps):
12210         Fix _pad_get_direction wrt ghostpads.
12211         Fix caps testsuite.
12212
12213 2005-03-09  Wim Taymans  <wim@fluendo.com>
12214
12215         * check/Makefile.am:
12216         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12217         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12218         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12219         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12220         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12221         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12222         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12223         (bin_element_is_sink), (gst_bin_iterate_sinks),
12224         (gst_bin_iterate_all_by_interface):
12225         * gst/gstbin.h:
12226         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12227         (gst_element_change_state), (gst_element_dispose),
12228         (gst_element_finalize), (gst_element_set_loop_function):
12229         * gst/gstelement.h:
12230         * gst/gstiterator.c: (find_custom_fold_func):
12231         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12232         (gst_pad_collectv), (gst_pad_collect_valist),
12233         (gst_pad_template_new):
12234         * gst/gstpipeline.c: (gst_pipeline_class_init),
12235         (gst_pipeline_dispose), (gst_pipeline_set_property),
12236         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12237         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12238         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12239         * gst/gstutils.h:
12240         * gst/schedulers/entryscheduler.c:
12241         * gst/schedulers/gstbasicscheduler.c:
12242         (gst_basic_scheduler_cothreaded_chain),
12243         (gst_basic_scheduler_chain_add_element):
12244         * testsuite/bins/interface.c: (main):
12245         Added GstBin test.
12246         Added GstSystemClock test.
12247         Implemented clock distribution code in GstBin.
12248         Implemented iterate sinks method for future use.
12249         Rearranged gstelement.h
12250         Fix GstIterator comparison bug.
12251         Moved some code to GstPipeline, mostly clocking related.
12252
12253 2005-03-09  Wim Taymans  <wim@fluendo.com>
12254
12255         * configure.ac:
12256         * gst/gst_private.h:
12257         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12258         (gst_bin_remove_func), (gst_bin_remove),
12259         (gst_bin_get_by_name_recurse_up):
12260         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12261         (gst_clock_id_compare_func), (gst_clock_id_wait),
12262         (gst_clock_id_wait_async), (gst_clock_init),
12263         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12264         * gst/gstelement.h:
12265         * gst/gstinfo.c: (_gst_debug_init):
12266         * gst/gstobject.h:
12267         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12268         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12269         * gst/gstpad.h:
12270         Bump version number, we're now 0.9.0
12271         Add future debugging category.
12272         Fix NULL _unref() in _get_by_name_recurse_up
12273         Rearrange gstpad.h.
12274         Update some docs.
12275
12276 2005-03-08  Wim Taymans  <wim@fluendo.com>
12277
12278         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12279         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12280         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12281         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12282         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12283         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12284         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12285         * gst/elements/gstidentity.c: (gst_identity_class_init):
12286         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12287         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12288         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12289         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12290         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12291         (gst_tee_link):
12292         * gst/gstelement.c: (gst_element_class_init),
12293         (gst_element_base_class_init), (gst_element_init),
12294         (gst_element_get_random_pad), (gst_element_wait_state_change),
12295         (gst_element_change_state), (gst_element_dispose),
12296         (gst_element_finalize), (gst_element_set_loop_function):
12297         * gst/gstelement.h:
12298         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12299         * gst/gstthread.c: (gst_thread_class_init),
12300         (gst_thread_release_children_locks), (gst_thread_change_state):
12301         * gst/schedulers/gstbasicscheduler.c:
12302         (gst_basic_scheduler_loopfunc_wrapper),
12303         (gst_basic_scheduler_chain_wrapper),
12304         (gst_basic_scheduler_src_wrapper),
12305         (gst_basic_scheduler_remove_element):
12306         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12307         Remove threadsafe properties. Fix elements because GObject
12308         complains when installing a property before declaring a
12309         set/get_property handler.
12310         Rearrange gstelement.h file, use STATE macros for state locks.
12311         Free mutexes in the finalize method instead of dispose.
12312
12313 2005-03-08  Wim Taymans  <wim@fluendo.com>
12314
12315         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12316         * gst/gstthread.c: (gst_thread_release_children_locks):
12317         Added parentage check.
12318         Fix build og GstThread again.
12319
12320 2005-03-08  Wim Taymans  <wim@fluendo.com>
12321
12322         * docs/design/part-MT-refcounting.txt:
12323         * docs/design/part-conventions.txt:
12324         * docs/design/part-gstobject.txt:
12325         * docs/design/part-relations.txt:
12326         * docs/design/part-standards.txt:
12327         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12328         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12329         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12330         (gst_bin_iterate_all_by_interface):
12331         * gst/gstbuffer.h:
12332         * gst/gstclock.h:
12333         * gst/gstelement.c: (gst_element_class_init),
12334         (gst_element_change_state), (gst_element_set_loop_function):
12335         * gst/gstelement.h:
12336         * gst/gstiterator.c:
12337         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12338         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12339         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12340         (gst_object_set_parent), (gst_object_unparent),
12341         (gst_object_check_uniqueness):
12342         * gst/gstobject.h:
12343         Docs updates, clean up some headers.
12344
12345 2005-03-07  Wim Taymans  <wim@fluendo.com>
12346
12347         * check/.cvsignore:
12348         * check/Makefile.am:
12349         * check/gst-libs/.cvsignore:
12350         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12351         * check/gst/.cvsignore:
12352         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12353         (START_TEST), (gstbus_suite), (main):
12354         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12355         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12356         (gst_data_suite), (main):
12357         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12358         (add_fold_func), (gstiterator_suite), (main):
12359         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12360         (thread_name_object), (thread_name_object_default),
12361         (gst_object_name_compare), (gst_object_suite), (main):
12362         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12363         (gst_pad_suite), (main):
12364         * check/gstcheck.c: (gst_check_log_message_func),
12365         (gst_check_log_critical_func), (gst_check_init):
12366         * check/gstcheck.h:
12367         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12368         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12369         Added checks.
12370
12371 2005-03-07  Wim Taymans  <wim@fluendo.com>
12372
12373         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12374         (gst_list_iterator_next), (gst_list_iterator_resync),
12375         (gst_list_iterator_free), (gst_iterator_new_list),
12376         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12377         (gst_iterator_free), (gst_iterator_push), (filter_next),
12378         (filter_resync), (filter_uninit), (filter_free),
12379         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12380         (gst_iterator_foreach), (find_custom_fold_func),
12381         (gst_iterator_find_custom):
12382         * gst/gstiterator.h:
12383         Added missing files.
12384
12385 2005-03-07  Wim Taymans  <wim@fluendo.com>
12386
12387         * Makefile.am:
12388         * configure.ac:
12389         * docs/design/part-MT-refcounting.txt:
12390         * docs/design/part-conventions.txt:
12391         * docs/design/part-gstobject.txt:
12392         * docs/design/part-relations.txt:
12393         * examples/mixer/mixer.c: (main):
12394         * examples/thread/thread.c: (eos), (main):
12395         * gst/Makefile.am:
12396         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12397         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12398         (gst_spider_plug_from_srcpad):
12399         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12400         (gst_spider_identity_change_state),
12401         (gst_spider_identity_sink_loop_type_finding):
12402         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12403         * gst/elements/gstidentity.c: (gst_identity_init):
12404         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12405         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12406         * gst/elements/gsttypefindelement.c: (free_entry):
12407         * gst/gst.c:
12408         * gst/gst.h:
12409         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12410         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12411         (gst_bin_set_index), (gst_bin_set_element_sched),
12412         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12413         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12414         (gst_bin_iterate_elements), (iterate_child_recurse),
12415         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12416         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12417         (compare_interface), (gst_bin_get_by_interface),
12418         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12419         * gst/gstbin.h:
12420         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12421         (gst_buffer_default_free), (gst_buffer_default_copy),
12422         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12423         (gst_buffer_create_sub):
12424         * gst/gstbuffer.h:
12425         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12426         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12427         (gst_caps_unref), (gst_static_caps_get),
12428         (gst_caps_remove_and_get_structure), (gst_caps_append),
12429         (gst_caps_append_structure), (gst_caps_remove_structure),
12430         (gst_caps_copy_nth), (gst_caps_set_simple),
12431         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12432         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12433         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12434         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12435         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12436         (gst_caps_structure_figure_out_union),
12437         (gst_caps_switch_structures), (gst_caps_do_simplify),
12438         (gst_caps_replace), (gst_caps_from_string),
12439         (gst_caps_copy_conditional):
12440         * gst/gstcaps.h:
12441         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12442         (_gst_clock_id_free), (gst_clock_id_unref),
12443         (gst_clock_id_compare_func), (gst_clock_id_wait),
12444         (gst_clock_id_wait_async), (gst_clock_class_init),
12445         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12446         (gst_clock_get_time), (gst_clock_set_time_adjust),
12447         (gst_clock_set_property), (gst_clock_get_property):
12448         * gst/gstclock.h:
12449         * gst/gstcompat.h:
12450         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12451         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12452         * gst/gstdata.h:
12453         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12454         (gst_element_requires_clock), (gst_element_provides_clock),
12455         (gst_element_set_clock), (gst_element_clock_wait),
12456         (gst_element_wait), (gst_element_set_time_delay),
12457         (gst_element_is_indexable), (gst_element_add_pad),
12458         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12459         (pad_compare_name), (gst_element_get_static_pad),
12460         (gst_element_request_pad), (gst_element_get_request_pad),
12461         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12462         (gst_element_class_get_pad_template_list),
12463         (gst_element_class_get_pad_template), (gst_element_error_func),
12464         (gst_element_get_random_pad), (gst_element_get_event_masks),
12465         (gst_element_send_event), (gst_element_seek),
12466         (gst_element_get_query_types), (gst_element_query),
12467         (gst_element_get_formats), (gst_element_convert),
12468         (gst_element_is_locked_state), (gst_element_set_locked_state),
12469         (gst_element_sync_state_with_parent), (gst_element_change_state),
12470         (gst_element_finalize), (gst_element_yield),
12471         (gst_element_interrupt), (gst_element_set_scheduler),
12472         (gst_element_get_scheduler), (gst_element_set_loop_function):
12473         * gst/gstelement.h:
12474         * gst/gstevent.h:
12475         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12476         (gst_format_get_by_nick), (gst_format_get_details),
12477         (gst_format_iterate_definitions):
12478         * gst/gstformat.h:
12479         * gst/gstindex.c: (gst_index_gtype_resolver):
12480         * gst/gstinfo.c:
12481         * gst/gstinfo.h:
12482         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12483         (gst_mem_chunk_free):
12484         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12485         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12486         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12487         (gst_object_dispatch_properties_changed),
12488         (gst_object_set_name_default), (gst_object_set_name),
12489         (gst_object_get_name), (gst_object_set_name_prefix),
12490         (gst_object_get_name_prefix), (gst_object_set_parent),
12491         (gst_object_get_parent), (gst_object_unparent),
12492         (gst_object_check_uniqueness), (gst_object_save_thyself),
12493         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12494         (gst_object_set_property), (gst_object_get_property),
12495         (gst_object_get_path_string):
12496         * gst/gstobject.h:
12497         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12498         (gst_real_pad_init), (gst_real_pad_get_property),
12499         (gst_pad_custom_new), (gst_pad_get_direction),
12500         (gst_pad_set_active), (gst_pad_is_active),
12501         (gst_pad_set_event_function), (gst_pad_is_linked),
12502         (gst_pad_link_free), (gst_pad_link_intersect),
12503         (gst_pad_link_fixate), (gst_pad_set_caps),
12504         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12505         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12506         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12507         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12508         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12509         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12510         (gst_pad_realize), (gst_pad_get_allowed_caps),
12511         (gst_real_pad_dispose), (gst_real_pad_finalize),
12512         (gst_pad_collectv), (gst_pad_collect_valist),
12513         (gst_pad_template_dispose), (gst_pad_template_new),
12514         (gst_pad_get_internal_links):
12515         * gst/gstpad.h:
12516         * gst/gstpipeline.c: (gst_pipeline_dispose),
12517         (gst_pipeline_change_state):
12518         * gst/gstpipeline.h:
12519         * gst/gstplugin.c:
12520         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12521         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12522         * gst/gstpluginfeature.h:
12523         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12524         * gst/gstquery.c: (_gst_query_type_initialize),
12525         (gst_query_type_register), (gst_query_type_get_by_nick),
12526         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12527         * gst/gstquery.h:
12528         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12529         * gst/gstscheduler.c: (gst_scheduler_add_element),
12530         (gst_scheduler_factory_create):
12531         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12532         (gst_structure_free), (gst_structure_set_name),
12533         (gst_structure_id_set_value), (gst_structure_set_value),
12534         (gst_structure_set_valist), (gst_structure_remove_field),
12535         (gst_structure_remove_fields),
12536         (gst_structure_remove_fields_valist),
12537         (gst_structure_remove_all_fields), (gst_structure_foreach),
12538         (gst_structure_map_in_place),
12539         (gst_caps_structure_fixate_field_nearest_int),
12540         (gst_caps_structure_fixate_field_nearest_double):
12541         * gst/gststructure.h:
12542         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12543         (gst_system_clock_init), (gst_system_clock_dispose),
12544         (gst_system_clock_async_thread),
12545         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12546         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12547         * gst/gstsystemclock.h:
12548         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12549         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12550         * gst/gsttaginterface.c:
12551         * gst/gstthread.c: (gst_thread_dispose),
12552         (gst_thread_release_children_locks), (gst_thread_change_state),
12553         (gst_thread_main_loop):
12554         * gst/gsttrashstack.h:
12555         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12556         * gst/gsttypes.h:
12557         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12558         (gst_element_request_pad), (gst_element_get_pad_from_template),
12559         (gst_element_request_compatible_pad),
12560         (gst_element_get_compatible_pad_filtered),
12561         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12562         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12563         (gst_element_link_many), (gst_element_link),
12564         (gst_element_link_pads), (gst_element_unlink_pads),
12565         (gst_element_unlink_many), (gst_element_unlink),
12566         (gst_pad_can_link_filtered), (gst_pad_can_link),
12567         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12568         (gst_object_default_error), (gst_bin_add_many),
12569         (gst_bin_remove_many), (gst_element_populate_std_props),
12570         (gst_element_class_install_std_props), (gst_buffer_merge),
12571         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12572         (link_fold_func), (gst_pad_proxy_setcaps):
12573         * gst/gstutils.h:
12574         * gst/gstvalue.c: (gst_value_deserialize_string):
12575         * gst/parse/grammar.y:
12576         * gst/schedulers/gstbasicscheduler.c:
12577         (gst_basic_scheduler_cothreaded_chain),
12578         (gst_basic_scheduler_chain_recursive_add),
12579         (gst_basic_scheduler_pad_link):
12580         * gst/schedulers/gstoptimalscheduler.c:
12581         (get_group_schedule_function),
12582         (gst_opt_scheduler_state_transition),
12583         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12584         * libs/gst/bytestream/bytestream.c:
12585         * libs/gst/dataprotocol/dataprotocol.c:
12586         (gst_dp_header_from_buffer):
12587         * po/nb.po:
12588         * po/ru.po:
12589         * tests/threadstate/threadstate2.c: (eos):
12590         * tools/gst-compprep.c: (main):
12591         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12592         (print_pad_info), (print_children_info):
12593         * tools/gst-launch.c: (idle_func), (main):
12594         * tools/gst-md5sum.c: (idle_func), (main):
12595         * tools/gst-xmlinspect.c: (print_element_info):
12596         First THREADED backport attempt, focusing on adding locks and
12597         making sure the API is threadsafe. Needs more work. More docs
12598         follow this week.
12599
12600 2005-02-24  Andy Wingo  <wingo@pobox.com>
12601
12602         * tests/bench-complexity.scm:
12603         * tests/complexity.gnuplot: New files, good for running complexity
12604         benchmarks.
12605
12606         * tests/Makefile.am:
12607         * tests/complexity.c: New test, sets up N elements, at each level
12608         teeing into M streams per element. Eeeenteresting.
12609
12610         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12611         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12612         running bench-mass_elements.scm.
12613
12614         * tests/bench-mass_elements.scm: New script, runs mass_elements
12615         for various numbers of identities, outputting the results to a
12616         file. Requires guile 1.6. Just for testing.
12617
12618 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12619
12620         * gst/schedulers/fairscheduler.c:
12621           compile with debug disabled
12622
12623 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12624
12625         * configure.ac:
12626           hunting season on 0.9 is now OPEN