tools/gst-launch.c: Clarify the output strings, makes it easier to translate.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-28  Edward Hervey  <edward@fluendo.com>
2
3         * tools/gst-launch.c: (main):
4         Clarify the output strings, makes it easier to translate.
5         Fixes #322626
6
7 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8
9         * gst/Makefile.am:
10           don't try and build net if we don't even have <sys/socket.h>
11
12 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
13
14         * check/Makefile.am:
15         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
16         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17           Add tests for fdsrc seekability
18
19         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
21         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
22         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
23         * gst/elements/gstfdsrc.h:
24           fdsrc should not be a 'live' source.
25           Implement seeking on seekable fd's.
26
27         * gst/gstquery.c: (gst_query_new_seeking),
28         (gst_query_parse_seeking):
29         * gst/gstquery.h:
30           Implement SEEKING query functions: 
31             *_new_seeking and *_parse_seeking
32
33 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
34
35         * gst/gstelement.c: (gst_element_dispose):
36           don't loop forever
37
38         * gst/gstiterator.c:
39         * gst/gststructure.c:
40           doc fixes
41
42         * libs/gst/controller/gstcontroller.c:
43         (gst_controlled_property_set_interpolation_mode):
44         * libs/gst/controller/gstcontroller.h:
45         * libs/gst/controller/gstinterpolation.c:
46         (interpolate_none_get_enum_value_array):
47           support controlling enums
48
49 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
50
51         * gst/gstvalue.c:
52           Improve documentation for gst_value_union().
53
54         * gst/gstvalue.h:
55           Change return value for union, intersect and subtract functions
56           from gint to gboolean.
57
58 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
59
60         * gst/gstvalue.c: (gst_value_serialize_any_list),
61         (gst_value_transform_any_list_string),
62         (gst_value_deserialize_list), (gst_value_deserialize_array),
63         (gst_value_set_int_range), (gst_value_deserialize_int_range),
64         (gst_value_set_double_range), (gst_value_deserialize_double_range),
65         (gst_value_set_fraction_range_full),
66         (gst_value_deserialize_fraction_range),
67         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
68         (gst_value_deserialize_boolean),
69         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
70         (gst_value_serialize_float), (gst_value_deserialize_float),
71         (gst_string_wrap), (gst_value_deserialize_string),
72         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
73         (gst_value_union_int_range_int_range),
74         (gst_value_intersect_int_range_int_range),
75         (gst_value_intersect_double_range_double_range),
76         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
77         (gst_value_subtract_int_range_int_range),
78         (gst_value_subtract_double_double_range),
79         (gst_value_subtract_double_range_double_range),
80         (gst_value_deserialize_fraction):
81         * gst/gstvalue.h:
82           Use gint, gdouble and gchar in our API instead of int, double and
83           char (and make usage in gstvalue.c more consistent).
84
85 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
86
87         * check/Makefile.am:
88         * libs/gst/controller/Makefile.am:
89         * libs/gst/dataprotocol/Makefile.am:
90           fix up Makefile.am and remove GST_ENABLE_NEW
91
92 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
93
94         * configure.ac:
95         * gst/Makefile.am:
96         * gst/base/Makefile.am:
97         * gst/check/Makefile.am:
98         * gst/elements/Makefile.am:
99         * gst/net/Makefile.am:
100           update LDFLAGS use some more
101
102 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
103
104         * common/m4/gst-doc.m4:
105           Fixes #312589
106
107 2005-11-26  Edward Hervey  <edward@fluendo.com>
108
109         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
110         This shouldn't issue a g_warning since it returns NULL if it
111         couldn't find the plugin, and all functions using this behave
112         properly on a NULL return. Switching to a GST_WARNING.
113
114 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
115
116         * gst/gstbin.c: (gst_bin_handle_message_func):
117         Don't leak clock messages.
118
119 2005-11-25  Wim Taymans  <wim@fluendo.com>
120
121         * gst/gstutils.c: (gst_util_uint64_scale_int64),
122         (gst_util_uint64_scale_int):
123         Optimisations, remove unneeded vars.
124
125 2005-11-25  Wim Taymans  <wim@fluendo.com>
126
127         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
128         Added more checks for the high precision uint64 cases.
129
130         * gst/gstutils.c: (gst_util_uint64_scale_int64),
131         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
132         Implement high precission (guint64 * guint64) / guint64.
133
134 2005-11-24  Wim Taymans  <wim@fluendo.com>
135
136         * gst/base/gstbasesrc.c: (gst_base_src_query):
137         Fix wrong percentage query.
138
139         * gst/gstutils.c: (gst_util_uint64_scale),
140         (gst_util_uint64_scale_int):
141         Add some more common cases that can be handled 
142         efficiently to _scale.
143
144 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
145
146         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
147         (gst_mini_object_suite):
148           don't use check calls from threads; check probably isn't
149           threadsafe and using a lock to make it threadsafe would
150           defeat the purpose of this check
151         * gst/check/gstcheck.c:
152         * gst/check/gstcheck.h:
153           use GST_DEBUG some more
154
155 2005-11-24  Wim Taymans  <wim@fluendo.com>
156
157         * gst/gstutils.c: (gst_util_uint64_scale),
158         (gst_util_uint64_scale_int):
159         Chain trivial case to _scale_int.
160
161 2005-11-24  Wim Taymans  <wim@fluendo.com>
162
163         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
164         Added test for scaling.
165
166         * gst/gstclock.h:
167         Small doc fix.
168
169         * gst/gstutils.c: (gst_util_uint64_scale_int):
170         Implemented high precision scaling code.
171
172 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
173
174         * gst/gstinfo.h:
175           do not crash on pad==NULL
176
177 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
178
179         Patch by: Stefan Kost
180
181         * common/gtk-doc.mak:
182         * docs/gst/Makefile.am:
183         * docs/libs/Makefile.am:
184           Fix distcheck issues for the libraries docs build
185           Closes #319599.
186
187 2005-11-24  Michael Smith <msmith@fluendo.com>
188
189         * docs/manual/basics-helloworld.xml:
190           Fix bug #315027: memory leak in example code in docs.
191
192 2005-11-24  Michael Smith <msmith@fluendo.com>
193
194         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
195           Unlock the PREROLL_LOCK in a failure case.
196
197 2005-11-24  Wim Taymans  <wim@fluendo.com>
198
199         * docs/gst/gstreamer-sections.txt:
200         * gst/base/gstadapter.h:
201         * gst/base/gstbasesink.h:
202         * gst/base/gstbasesrc.h:
203         * gst/base/gstbasetransform.h:
204         * gst/base/gstpushsrc.h:
205         * gst/elements/gstfakesink.h:
206         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
207         * gst/elements/gstfakesrc.h:
208         * gst/elements/gstfilesink.h:
209         * gst/elements/gstfilesrc.h:
210         * gst/gst.c:
211         * gst/gstbin.c:
212         * gst/gstbuffer.c: (_gst_buffer_copy):
213         * gst/gstbus.h:
214         * gst/gstcaps.c:
215         * gst/gstchildproxy.c:
216         * gst/gstclock.c:
217         * gst/gstelement.c:
218         * gst/gstelementfactory.c:
219         * gst/gstelementfactory.h:
220         * gst/gstevent.c:
221         * gst/gstghostpad.h:
222         * gst/gstindex.h:
223         * gst/gstinterface.h:
224         * gst/gstminiobject.c:
225         * gst/gstminiobject.h:
226         * gst/gstpad.c:
227         * gst/gstpad.h:
228         * gst/gstpadtemplate.h:
229         * gst/gstpipeline.h:
230         * gst/gstpluginfeature.h:
231         * gst/gstquery.h:
232         * gst/gstqueue.h:
233         * gst/gsttaglist.c:
234         * gst/gsttaglist.h:
235         * gst/gsttagsetter.c:
236         * gst/gsttagsetter.h:
237         * gst/gsttrace.c:
238         * gst/gsttrace.h:
239         * gst/gsttypefind.h:
240         * gst/gsturi.h:
241         * gst/gstvalue.c:
242         * gst/net/gstnetclientclock.c:
243         * gst/net/gstnetclientclock.h:
244         * gst/net/gstnettimepacket.c:
245         * gst/net/gstnettimeprovider.c:
246         * gst/net/gstnettimeprovider.h:
247         Doc fixes.
248
249 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
250
251         * configure.ac: back to HEAD
252
253 === release 0.9.6 ===
254
255 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
256
257         * configure.ac:
258           releasing 0.9.6, "Always On Time"
259
260 2005-11-23  Wim Taymans  <wim@fluendo.com>
261
262         * docs/gst/gstreamer-sections.txt:
263         * gst/glib-compat.c:
264         * gst/gsttagsetter.c:
265         * gst/gstvalue.c:
266         * gst/net/gstnetclientclock.c:
267         * gst/net/gstnettimepacket.h:
268         Doc updates.
269
270 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
271
272         * docs/faq/using.xml:
273         * docs/libs/tmpl/gstcontrol.sgml:
274         * docs/manual/advanced-dparams.xml:
275         * docs/manual/appendix-checklist.xml:
276         * docs/manual/basics-elements.xml:
277         * docs/pwg/other-source.xml:
278         * docs/random/moving-plugins:
279         * gst/gstpad.c:
280         * tools/gst-launch.1.in:
281           remove mentions of sinesrc
282
283 2005-11-23  Michael Smith <msmith@fluendo.com>
284
285         * docs/gst/gstreamer-sections.txt:
286           Update for new API and API changes.
287         * gst/gstobject.h:
288           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
289         * gst/gstvalue.c:
290           Documentation typo fix.
291         * gst/net/gstnettimepacket.c:
292           Documentation fixes for arguments.
293
294 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
295
296         * gst/gststructure.c: (gst_structure_get_fraction),
297         (gst_structure_parse_value),
298         (gst_structure_fixate_field_nearest_fraction):
299         * gst/gststructure.h:
300         * gst/gstutils.c: (gst_util_uint64_scale_int):
301         * gst/gstutils.h:
302         * scripts/update-funcnames:
303         API Changes. 
304         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
305         Make gst_structure_fixate_field_nearest_fraction take a numerator
306         and denominator argument instead of a GValue
307         add gst_structure_get_fraction helper function.
308
309 2005-11-23  Wim Taymans  <wim@fluendo.com>
310
311         * docs/design/part-TODO.txt:
312         Update TODO.
313
314         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
315         * gst/net/gstnetclientclock.h:
316         Use parent fields for timeout and window_size.
317
318 2005-11-23  Andy Wingo  <wingo@pobox.com>
319
320         * check/net/gstnetclientclock.c (test_functioning): Adjust to
321         rate_num/rate_denom change.
322
323         * gst/net/gstnetclientclock.c
324         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
325         OBJECT_LOCK. Don't call add_observation with the lock.
326
327         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
328         fraction.
329         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
330         rate fraction.
331         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
332         deal with rate as a fraction whose numerator and denominator are
333         GstClockTime values.
334         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
335         master; the other fields are protected by the SLAVE_LOCK.
336         (do_linear_regression): Note that this must be called with the
337         SLAVE_LOCK.
338         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
339         OBJECT_LOCK. Call set_calibration instead of touching the
340         variables directly.
341         (gst_clock_set_property, gst_clock_get_property): Protect
342         master/slave parameters with the SLAVE_LOCK.
343
344         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
345         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
346         note that all of the instance variables that add_observation and
347         the set_master functions use are protected by that lock and not
348         the OBJECT_LOCK.
349         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
350
351         * gst/gstclock.c (gst_clock_add_observation): No longer requires
352         the caller to take the object lock.
353
354 2005-11-23  Wim Taymans  <wim@fluendo.com>
355
356         * gst/gsterror.c: (_gst_core_errors_init):
357         * gst/gsterror.h:
358         Add error for clock stuff.
359
360         * gst/gstpipeline.c: (gst_pipeline_change_state),
361         (gst_pipeline_set_clock):
362         Post clock error when clock cannot be used in a pipeline.
363
364 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
365
366         * docs/gst/gstreamer-sections.txt:
367           make two symbols from gstinfo private for the docs
368         * gst/base/gstcollectpads.h:
369         * gst/gstutils.c:
370           fix doc typos, update docs
371
372 2005-11-22  Wim Taymans  <wim@fluendo.com>
373
374         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
375         (gst_base_sink_wait), (gst_base_sink_do_sync),
376         (gst_base_sink_handle_event):
377         * gst/base/gstbasesink.h:
378         No need to store the clock, the parent element class already
379         has it.
380
381         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
382         Updates for clock_set returning a gboolean
383
384         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
385         (gst_clock_id_wait_async), (gst_clock_class_init),
386         (gst_clock_init), (gst_clock_finalize),
387         (gst_clock_get_internal_time), (gst_clock_get_time),
388         (gst_clock_slave_callback), (gst_clock_set_master),
389         (gst_clock_get_master), (do_linear_regression),
390         (gst_clock_add_observation), (gst_clock_set_property),
391         (gst_clock_get_property):
392         * gst/gstclock.h:
393         Implement master/slave. When setting a clock as a slave, a
394         periodic timeout is scheduled to sample master and slave times.
395         Then the slave clock is recalibrated to match offset and rate
396         of the master clock.
397         Update logging a bit.
398         Add flag so that a clock can state that is cannot be slaved to
399         another clock.
400
401         * gst/gstelement.c: (gst_element_set_clock):
402         * gst/gstelement.h:
403         The set clock returns a gboolean for when an element cannot
404         deal with the selected clock in the pipeline. 
405
406         * gst/gstpipeline.c: (gst_pipeline_change_state),
407         (gst_pipeline_set_clock):
408         * gst/gstpipeline.h:
409         Handle the case where the selected clock cannot be set on
410         the pipeline.
411
412         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
413         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
414         (gst_net_client_clock_set_property),
415         (gst_net_client_clock_get_property),
416         (gst_net_client_clock_observe_times):
417         * gst/net/gstnetclientclock.h:
418         Use regression code in GstClock parent, remove duplicated
419         functionality.
420
421 2005-11-22  Michael Smith <msmith@fluendo.com>
422
423         * gst/gstutils.c: (gst_util_clock_time_scale):
424         * gst/gstutils.h:
425         * docs/gst/gstreamer-sections.txt:
426           Rename method to have extra underscore.
427
428 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
429
430         * gst/elements/Makefile.am:
431         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
432         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
433         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
434         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
435         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
436         * gst/elements/gstfakesrc.h:
437         * gst/gstqueue.c: (queue_leaky_get_type):
438           correctly fix GEnumValues so that nick is the short lowercase
439           dashed tag
440         * tools/gst-inspect.c: (print_element_properties_info):
441           also show the nick, since it's useful to use from parse_launch
442           syntax
443           Fixes #322139
444
445 2005-11-22  Michael Smith <msmith@fluendo.com>
446
447         * gst/gstutils.c: (gst_util_clocktime_scale):
448         * gst/gstutils.h:
449         * docs/gst/gstreamer-sections.txt:
450           Add util method for scaling a clocktime by a fraction. Useful 
451           implementation is left as an exercise for the reader.
452
453 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
454
455         * gst/gstvalue.c: (gst_value_collect_fraction_range):
456         If needed, allocate storage in the destination value during
457         collection.
458
459 2005-11-22  Edward Hervey  <edward@fluendo.com>
460
461         * docs/gst/gstreamer-sections.txt:
462         * gst/Makefile.am:
463         * gst/gst.h:
464         * gst/gsturitype.c:
465         * gst/gsturitype.h:
466         * gst/gstutils.c: (gst_util_set_object_arg):
467         * tools/gst-compprep.c: (main):
468         * tools/gst-inspect.c: (print_element_properties_info):
469         Removed GstURI, closes bug #321061
470
471 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
472
473         * check/gst/gststructure.c: (GST_START_TEST):
474         * gst/gststructure.c: (gst_structure_parse_value):
475           Oops, broke automatic string type parsing.
476           Add a test to catch it in future.
477
478 2005-11-22  Andy Wingo  <wingo@pobox.com>
479
480         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
481         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
482         Actually rename the function implementations. Grr.
483
484 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
485
486         * check/gst/capslist.h:
487           Comment test cases
488         * check/gst/gststructure.c: (GST_START_TEST),
489         (gst_structure_suite):
490           Test automatic value type detection in gst_structure_from_string.
491         * gst/gststructure.c: (gst_structure_parse_value):
492           Add fraction as a type we try and guess automatically in
493           caps/structure strings.
494
495 2005-11-22  Andy Wingo  <wingo@pobox.com>
496
497         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
498
499         * gst/gsttagsetter.h:
500         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
501         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
502         (gst_tag_setter_add_tag_valist)
503         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
504         _add_values, _add_valist, and _add_valist_values. Since this is an
505         interface the function suffixes should be more explicit so
506         language binding don't end up with element.add_valist ->
507         gst_tag_setter_add_valist, for example. Fixes #322069.
508
509 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
510
511         * check/gst/gstcaps.c: (GST_START_TEST):
512           Extend caps string tests to check that a caps to string
513           conversion is reversible and produces the same caps.
514
515         * gst/gststructure.c: (gst_structure_value_get_generic_type):
516           Output "fraction" as the generic type fraction range, so caps
517           serialisation and deserialisation works.
518         * check/gst/capslist.h:
519         * gst/gstvalue.c: (gst_value_deserialize_fraction):
520           Support 'MIN' and 'MAX' for deserialising fractions.
521
522 2005-11-22  Andy Wingo  <wingo@pobox.com>
523
524         * gst/gstevent.h (gst_event_new_new_segment)
525         (gst_event_parse_new_segment, gst_event_new_buffer_size)
526         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
527         Renamed from *_newsegment, *_buffersize, *_notarget.
528
529         * scripts/update-funcnames: New script, performs the changes
530         listed above.
531
532 2005-11-22  Wim Taymans  <wim@fluendo.com>
533
534         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
535         Make sure the GstFlowReturn is returned.
536
537         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
538         (gst_bus_add_signal_watch):
539         * gst/gstbus.h:
540         add gst_bus_add_signal_watch_full.
541
542         * gst/gstplugin.c: (gst_plugin_load_file):
543         Small style cleanup.
544
545 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
546
547         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
548           Block the fakesrc srcpad when we send an event, to avoid
549           contention on the stream_lock causing random test failures.
550
551 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
552
553         * check/gst/gstvalue.c: (GST_START_TEST):
554         * gst/gstvalue.c: (gst_value_fraction_subtract):
555           Fix subtraction.
556
557 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
558
559         * gst/gst.h:
560           include "gstchildproxy.h"
561         * gst/gstchildproxy.h:
562         * libs/gst/controller/gstcontroller.h:
563           use G_GNUC_NULL_TERMINATED
564
565 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
566
567         * check/gst/capslist.h:
568         * check/gst/gstcaps.c: (GST_START_TEST):
569         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
570         * gst/gststructure.c: (gst_structure_parse_range),
571         (gst_structure_fixate_field_nearest_fraction):
572         * gst/gststructure.h:
573         * gst/gstvalue.c: (gst_value_init_fraction_range),
574         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
575         (gst_value_collect_fraction_range),
576         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
577         (gst_value_set_fraction_range_full),
578         (gst_value_get_fraction_range_min),
579         (gst_value_get_fraction_range_max),
580         (gst_value_serialize_fraction_range),
581         (gst_value_transform_fraction_range_string),
582         (gst_value_compare_fraction_range),
583         (gst_value_deserialize_fraction_range),
584         (gst_value_intersect_fraction_fraction_range),
585         (gst_value_intersect_fraction_range_fraction_range),
586         (gst_value_subtract_fraction_fraction_range),
587         (gst_value_subtract_fraction_range_fraction),
588         (gst_value_subtract_fraction_range_fraction_range),
589         (gst_value_collect_fraction), (gst_value_fraction_multiply),
590         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
591         (gst_value_transform_string_fraction), (_gst_value_initialize):
592         * gst/gstvalue.h:
593           Implement fraction ranges and extend GstFraction to support
594           arithmetic subtraction, as well as deserialization from integer
595           strings such as "100"
596           Add a testsuite as for int and double range set operations
597
598 2005-11-21  Andy Wingo  <wingo@pobox.com>
599
600         * gst/gsttaglist.h: 
601         * gst/gstcaps.h: 
602         * gst/gststructure.h: Add glib-compat.h.
603
604 2005-11-21  Wim Taymans  <wim@fluendo.com>
605
606         * gst/gstbin.c: (gst_bin_change_state_func):
607         Fix for #321595
608
609 2005-11-21  Wim Taymans  <wim@fluendo.com>
610
611         * gst/gstsegment.h:
612         And add a nice define too.
613
614 2005-11-21  Wim Taymans  <wim@fluendo.com>
615
616         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
617         (gst_segment_new), (gst_segment_free), (gst_segment_init),
618         (gst_segment_set_duration), (gst_segment_set_last_stop),
619         (gst_segment_set_seek), (gst_segment_set_newsegment),
620         (gst_segment_to_stream_time), (gst_segment_to_running_time),
621         (gst_segment_clip):
622         * gst/gstsegment.h:
623         Make binding friendly.
624
625 2005-11-21  Andy Wingo  <wingo@pobox.com>
626
627         * gst/gsttagsetter.h: 
628         * gst/gsttaglist.h: 
629         * gst/gststructure.h: 
630         * gst/gstcaps.h: 
631         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
632         #319940.
633
634         * gst/gsterror.c (_gst_core_errors_init):
635         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
636         category.
637
638         * gst/Makefile.am (gst_headers): Add glib-compat.h.
639         (noinst_HEADERS): noinst the -private.
640
641 2005-11-21  Michael Smith <msmith@fluendo.com>
642
643         * gst/gstplugin.h:
644         * gst/gstregistry.h:
645           Remove unimplemented declarations for which we can see no sensible
646           use.
647
648 2005-11-21  Andy Wingo  <wingo@pobox.com>
649
650         * gst/gst.h: Include glib-compat.h.
651
652         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
653
654         * gst/glib-compat.c: Include the public and the private header.
655
656         * gst/glib-compat-private.h: Copied here from glib-compat.h.
657
658         * gst/gstvalue.c: 
659         * gst/gstpad.c: 
660         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
661
662         * check/gst/gstevent.c (create_custom_events): Check that
663         FLUSH_STOP is serialized.
664
665         * check/elements/identity.c (event_func): 
666         * check/elements/fakesrc.c (event_func): No stream lock, the core
667         takes it.
668
669         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
670         stream lock taking, yay.
671
672         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
673         ensure that core takes the stream lock.
674
675         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
676         lock name change.
677
678         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
679         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
680         it already. For the flush start we do take it though so we get the
681         right preroll state change messages.
682
683         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
684         the stream lock here, the core does it for us.
685
686         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
687         GST_STREAM_GET_LOCK.
688         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
689         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
690         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
691         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
692         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
693         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
694
695         * gst/gstpad.c: Update for stream lock name change.
696
697         * gst/base/gstbasesink.c: Update for preroll lock name change.
698
699 2005-11-21  Wim Taymans  <wim@fluendo.com>
700
701         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
702         (gst_clock_get_master):
703         * gst/gstclock.h:
704         * gst/gstsystemclock.c: (gst_system_clock_init):
705         Convert Clock flags to object flags.
706         Added methods to manage master/slave clocks.
707
708 2005-11-21  Wim Taymans  <wim@fluendo.com>
709
710         * check/gst/gstsegment.c: (GST_START_TEST):
711         * docs/design/part-TODO.txt:
712         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
713         (gst_base_sink_event), (gst_base_sink_do_sync),
714         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
715         (gst_base_sink_query), (gst_base_sink_change_state):
716         * gst/base/gstbasesink.h:
717         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
718         (gst_base_src_default_newsegment),
719         (gst_base_src_configure_segment), (gst_base_src_do_seek),
720         (gst_base_src_get_range), (gst_base_src_loop),
721         (gst_base_src_change_state):
722         * gst/base/gstbasesrc.h:
723         * gst/base/gstbasetransform.c:
724         (gst_base_transform_prepare_output_buf),
725         (gst_base_transform_event), (gst_base_transform_change_state):
726         * gst/base/gstbasetransform.h:
727         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
728         (gst_collect_pads_event):
729         * gst/base/gstcollectpads.h:
730         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
731         (gst_fake_src_create):
732         * gst/elements/gstfakesrc.h:
733         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
734         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
735         (gst_segment_set_last_stop), (gst_segment_set_seek),
736         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
737         (gst_segment_to_running_time), (gst_segment_clip):
738         * gst/gstsegment.h:
739         More segment updates, replace code in plugins with segment
740         helper functions.
741
742 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
743
744         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
745         Don't ignore sscanf results
746
747 2005-11-21  Andy Wingo  <wingo@pobox.com>
748
749         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
750
751         * *.h:
752         * *.c: Ran scripts/update-macros. Oh yes.
753
754         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
755         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
756         GST_GET_LOCK, etc.
757
758         * scripts/update-macros: New script. Run it on your files to
759         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
760         well.
761
762 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
763
764         * docs/gst/Makefile.am:
765         * docs/gst/gstreamer-docs.sgml:
766         * docs/gst/gstreamer-sections.txt:
767         * docs/gst/gstreamer.types:
768         * gst/gstinfo.h:
769           more docs fixes, add new api to the docs
770
771 2005-11-21  Andy Wingo  <wingo@pobox.com>
772
773         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
774         state_broadcast call.
775
776         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
777
778 2005-11-21  Julien MOUTTE  <julien@moutte.net>
779
780         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
781         function calls for arrays.
782
783 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
784
785         * docs/random/ensonic/media-device-daemon.txt:
786           wild idea, can this be done?
787         * docs/gst/gstreamer-sections.txt:
788         * gst/gsterror.h:
789         * gst/gstfilter.c:
790         * gst/gstfilter.h:
791         * gst/gstplugin.h:
792         * gst/gstpluginfeature.c:
793         * gst/gsttrace.c:
794         * gst/gstvalue.c:
795         * gst/gstvalue.h:
796           doc fixes and additions
797
798 2005-11-21  Andy Wingo  <wingo@pobox.com>
799
800         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
801         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
802         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
803         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
804         private to the basesrc implementation.
805
806         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
807         behalf of event function if necessary. It should no longer be
808         necessary to take the stream lock in pad's event functions. Fixes
809         #320299.
810
811 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
812         * docs/gst/gstreamer-sections.txt:
813         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
814         (gst_structure_fixate_field_nearest_double),
815         (gst_structure_fixate_field_boolean):
816         * gst/gststructure.h:
817         * win32/common/libgstreamer.def:
818         * win32/gstreamer.def:
819
820         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
821         (#322027)
822
823 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
824
825         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
826         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
827         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
828         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
829         (gst_fdsrc_uri_handler_init):
830         * gst/elements/gstfdsrc.h:
831           Port fd:// URI handler from 0.8 to fdsrc
832
833 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
834
835         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
836         (gst_value_serialize_fourcc):
837         * gst/gstvalue.h:
838           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
839           consistent with our other format defines (#320324).
840
841 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
842
843         * gst/gstvalue.c: (gst_value_is_fixed):
844           Revert previous commit. Value lists are by definition
845           not fixed, as they are a list of possible values.
846
847 2005-11-21  Andy Wingo  <wingo@pobox.com>
848
849         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
850         during the stable series if we need it. Fixes #319178.
851
852         * gst/gstevent.c (gst_event_new_filler): Removed.
853
854         * check/gst/gstevent.c: Update comment about filler events.
855
856 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
857
858         * gst/gstvalue.c: (gst_value_is_fixed):
859           Should handle both value arrays and value lists.
860
861 2005-11-21  Andy Wingo  <wingo@pobox.com>
862
863         patch by: Alessandro Dessina <alessandro nnva org>
864
865         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
866         functions to access arrays. Fixes #321962.
867
868 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
869
870         * docs/gst/gstreamer.types:
871           gst_collectpads_get_type => gst_collect_pads_get_type.
872           
873         * gst/base/gstbasetransform.c:
874           Remove unused SIGNAL_HANDOFF enum.
875
876 2005-11-21  Andy Wingo  <wingo@pobox.com>
877
878         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
879         the event type (upstream, downstream, serialized). Renamed
880         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
881         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
882         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
883
884         * gst/gstevent.c: Update for new CUSTOM event names.
885
886         * check/gst/gstevent.c: Update check for new CUSTOM event names.
887
888         * gst/gstevent.h:
889         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
890         bug #319392.
891
892 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
893
894         * docs/gst/gstreamer-sections.txt:
895         * win32/common/libgstbase.def:
896         * win32/libgstbase.def:
897         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
898         (gst_collect_pads_class_init), (gst_collect_pads_init),
899         (gst_collect_pads_finalize), (gst_collect_pads_new),
900         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
901         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
902         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
903         (gst_collect_pads_start), (gst_collect_pads_stop),
904         (gst_collect_pads_peek), (gst_collect_pads_pop),
905         (gst_collect_pads_available), (gst_collect_pads_read),
906         (gst_collect_pads_flush), (gst_collect_pads_event),
907         (gst_collect_pads_chain):
908         * gst/base/gstcollectpads.h:
909           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
910           unimplemented functions as unimplemented. Add padding to
911           GstCollectData. (#320766, #320423)
912
913 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
914
915         * gst/gstmessage.c:
916           Improve docs for DURATION message (usage of duration parameter)
917           (#320113)
918
919 2005-11-20  Wim Taymans  <wim@fluendo.com>
920
921         * check/Makefile.am:
922         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
923         (main):
924         * gst/Makefile.am:
925         * gst/gst.h:
926         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
927         (gst_segment_set_seek), (gst_segment_set_newsegment),
928         (gst_segment_to_stream_time), (gst_segment_to_running_time),
929         (gst_segment_clip):
930         * gst/gstsegment.h:
931         Added segment helper structure and methods. Not fully implemented
932         yet.
933         Added segment check.
934
935 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
936
937         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
938           Add a deserialisation test for fractions
939         * examples/metadata/read-metadata.c: (message_loop),
940         (make_pipeline), (main):
941           Fix up metadata reading sample.
942         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
943           Debug format fix
944         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
945           Don't try and fixate empty caps
946         * gst/gst_private.h:
947           Wrap in G_BEGIN_DECLS/G_END_DECLS
948         * gst/gstvalue.c: (gst_value_collect_fraction),
949         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
950         (gst_value_transform_string_fraction),
951         (gst_value_compare_fraction):
952           Add some extra guards to ensure that we don't end up 
953           with an invalid denominator of 0 in a gstfraction and
954           that fractions always get reduced.
955
956 2005-11-20  Wim Taymans  <wim@fluendo.com>
957
958         * docs/gst/gstreamer-sections.txt:
959         * gst/gstbuffer.h:
960         * gst/gstelement.c:
961         * gst/gstformat.c:
962         * gst/gstformat.h:
963         * gst/gstindex.h:
964         * gst/gstquery.c:
965         * gst/gstquery.h:
966         * gst/gstvalue.c:
967         Doc fixes.
968
969 2005-11-20  Wim Taymans  <wim@fluendo.com>
970
971         * docs/design/part-TODO.txt:
972         * gst/gstcaps.h:
973         Make a proper enum of the flag.
974
975 2005-11-19  Wim Taymans  <wim@fluendo.com>
976
977         * docs/design/part-TODO.txt:
978         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
979         (gst_format_to_quark), (gst_format_register):
980         * gst/gstformat.h:
981         * gst/gstquery.c: (_gst_query_initialize),
982         (gst_query_type_get_name), (gst_query_type_to_quark),
983         (gst_query_type_register):
984         * gst/gstquery.h:
985         Add type to quark and type to string conversions.
986
987 2005-11-19  Andy Wingo  <wingo@pobox.com>
988
989         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
990         #320097.
991
992 2005-11-19  Wim Taymans  <wim@fluendo.com>
993
994         * docs/design/part-TODO.txt:
995         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
996         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
997         (gst_bin_handle_message_func):
998         * gst/gstbin.h:
999         Make message handling overridable.
1000
1001 2005-11-19  Andy Wingo  <wingo@pobox.com>
1002
1003         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1004
1005         * gst/gstclock.h:
1006         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1007         be a GstClockTime.
1008         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1009         is a GstClockTime. Fixes #321710.
1010
1011         * gst/gstclock.h (GstClock): Remove offset property. Add
1012         internal_calibration and external_calibration. Fix padding. Pad
1013         also by GstClockTime so we don't run into problems.
1014
1015         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1016         (gst_clock_get_rate_offset): Remove.
1017         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1018
1019         * gst/gstutils.h:
1020         * gst/gstutils.c (g_static_rec_cond_wait)
1021         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1022
1023         * gst/gstbin.c: Remove terrible continue_state prototype.
1024
1025         * gst/gstelement.h (gst_element_continue_state): Make public.
1026
1027         * gst/gstelement.h:
1028         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1029         by continue_state. Fixes #319389.
1030
1031         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1032         Really fixes #168438. However I don't see anywhere where the
1033         filter function is called... stupid GStreamer...
1034         
1035         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1036         don't have a dispose function, so it won't get called when the
1037         object is unreffed, but oh well!
1038
1039         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1040         allows a destroy function to be set so user_data can be freed.
1041         Fixes #168438.
1042         (gst_index_set_filter): Call gst_index_set_filter_full.
1043
1044         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1045
1046         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1047         string should produce an error, given the lack of a way to
1048         represent NULL strings. Fixes #165650.
1049         
1050         * gst/gstvalue.h: 
1051         * gst/gstvalue.c (gst_value_array_append_value) 
1052         (gst_value_array_prepend_value, gst_value_array_get_size) 
1053         (gst_value_array_get_value): New API, copied from
1054         gst_value_list_*, only operates on arrays.
1055         (gst_value_list_append_value, gst_value_list_prepend_value) 
1056         (gst_value_list_concat, gst_value_list_get_size) 
1057         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1058
1059         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1060         init_list, because it works on both.
1061         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1062         (gst_value_copy_list_or_array): Renamed from copy_list.
1063         (gst_value_free_list_or_array): Renamed from free_list.
1064         (gst_value_collect_list_or_array): Renamed from collect_list.
1065         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1066         (gst_value_list_or_array_peek_pointer): Renamed from
1067         list_peek_pointer.
1068         (_gst_value_array_value_table, _gst_value_list_value_table):
1069         Update value table functions.
1070         (gst_value_compare_list_or_array): Renamed from compare_list.
1071
1072         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1073         some constness.
1074
1075         * gst/gsttaglist.c:
1076         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1077         GstTagList*. Fixes #143472.
1078
1079         * gst/gststructure.h: Clarify what the foreach/map functions can
1080         or can't do to their arguments.
1081
1082 2005-11-18  Wim Taymans  <wim@fluendo.com>
1083
1084         * gst/gstclock.c: (gst_clock_set_calibration),
1085         (gst_clock_get_calibration):
1086         Doc and API fixes.
1087         Calibration can be set with internal time equal to current
1088         internal time too.
1089
1090 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1091
1092         * gst/gsterror.c:
1093         * gst/gsterror.h:
1094           document
1095
1096 2005-11-18  Andy Wingo  <wingo@pobox.com>
1097
1098         * configure.ac: 
1099         * pkgconfig/gstreamer-net.pc.in:
1100         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1101         * pkgconfig/Makefile.am: Add net pkgconfig files.
1102
1103 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1104
1105         * gst/gstcaps.c:
1106         * gst/gstghostpad.c:
1107         * gst/gsttrace.c:
1108         * gst/gstvalue.c:
1109         * gst/gstvalue.h:
1110           docs fixes
1111
1112 2005-11-18  Andy Wingo  <wingo@pobox.com>
1113
1114         * gst/net/gstnetclientclock.c: Turn off debugging.
1115
1116         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1117         times connverge somewhat. Can't make a real test.
1118
1119         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1120         integer arithmetic. Return the minimum of the domain, which can be
1121         set as "internal" for gst_clock_set_calibration.
1122         (gst_net_client_clock_observe_times): Call _set_calibration.
1123         (gst_net_client_clock_new): Call _set_calibration instead of
1124         rate_offset.
1125
1126         * check/net/gstnetclientclock.c (test_functioning): Use the right
1127         adjustment api.
1128
1129         * gst/gstclock.h:
1130         * gst/gstclock.c (gst_clock_get_calibration) 
1131         (gst_clock_set_calibration): New functions, obsolete the ones I
1132         added yesterday. Doh. Precision issues mean we have to extrapolate
1133         from a point in the more recent past than 1970.
1134         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1135         obsolete.
1136         (gst_clock_adjust_unlocked): Use the right calibration data.
1137
1138 2005-11-18  Edward Hervey  <edward@fluendo.com>
1139
1140         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1141         Also reset the ->current_* values in READY->PAUSED
1142
1143 2005-11-18  Andy Wingo  <wingo@pobox.com>
1144
1145         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1146         Whoops, check the right fd. Also add some debugging.
1147         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1148         (do_linear_regression): Add a crapload of debugging. Subtract off
1149         the minimum values from the input series to discard unneeded bits.
1150         Use only int arithmetic. There is still double arithmetic when
1151         calculating the intercept that needs fixing. Return boolean to
1152         indicate success; FALSE would mean the domain or range is too
1153         great. Still needs fixes.
1154
1155 2005-11-18  Wim Taymans  <wim@fluendo.com>
1156
1157         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1158         For the current position in stream time, we need to subtract
1159         accumulated time.
1160         
1161         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1162         Release lock before calling the callback function of async
1163         entries.
1164
1165 2005-11-18  Andy Wingo  <wingo@pobox.com>
1166
1167         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1168         Port goes all the way to MAXUINT16.
1169
1170         * gst/net/gstnettimeprovider.c: Make the port range the same as
1171         for the kernel: 0 assigns, otherwise ports are less than
1172         MAXUINT16.
1173
1174         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1175         port change.
1176
1177         * check/net/gstnetclientclock.c (test_functioning): Add the start
1178         of another test. 
1179
1180 2005-11-18  Wim Taymans  <wim@fluendo.com>
1181
1182         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1183         (gst_bin_remove_func), (bin_bus_handler):
1184         * gst/gstbin.h:
1185         Removing a clock provider from a bin, triggers a clock lost message
1186         so that a new clock will be selected.
1187         Adding a clock to a bin triggers a clock provider message.
1188         Make sure we reselect a clock when we received a clock lost message.
1189         Keep a reference to the element that provided the clock.
1190
1191 2005-11-18  Andy Wingo  <wingo@pobox.com>
1192
1193         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1194         the clock initially so it produces values around the base time.
1195         (gst_net_client_clock_class_init): Typo fix.
1196         (gst_net_client_clock_thread): Add note on when the socket gets
1197         closed.
1198
1199 2005-11-17  Wim Taymans  <wim@fluendo.com>
1200
1201         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1202         Free remote and local time arrays.
1203
1204 2005-11-17  Wim Taymans  <wim@fluendo.com>
1205
1206         * gst/net/gstnetclientclock.c: (do_linear_regression),
1207         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1208         Fix compilation, uninitialized vars and a forgotten continue.
1209
1210 2005-11-17  Andy Wingo  <wingo@pobox.com>
1211
1212         * check/Makefile.am (check_PROGRAMS): 
1213         * check/net/gstnetclientclock.c: Add a most minimal test for the
1214         net client clock. More to come later.
1215
1216         * gst/net/gstnet.h: 
1217         * gst/net/Makefile.am: Add netclientclock.
1218
1219         * gst/net/gstnetclientclock.h:
1220         * gst/net/gstnetclientclock.c: New files, implement an untested
1221         GstClock that takes its time from a network time provider.
1222         Implements the algorithm in network-clock.scm.
1223
1224         * tests/network-clock.scm (*window-size*): Rename from
1225         *queue-length*.
1226         * tests/network-clock.scm (network-time): 
1227         * tests/network-clock-utils.scm (q-push): Update callers.
1228
1229 2005-11-17  Wim Taymans  <wim@fluendo.com>
1230
1231         * gst/gstbin.c: (gst_bin_provide_clock_func),
1232         (gst_bin_sort_iterator_new):
1233         And unref the child too..
1234
1235 2005-11-17  Wim Taymans  <wim@fluendo.com>
1236
1237         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1238         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1239         Refactor the sort iterator so it can be used while holding the
1240         LOCK too.
1241         Make clock selection select a clock closest to the source.
1242
1243 2005-11-17  Michael Smith <msmith@fluendo.com>
1244
1245         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1246         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1247         * gst/gstclock.h:
1248           Anonymous structs are a gcc (and some other compilers) extension, so
1249           don't use them. Since this is only for ABI-compatibility, and our
1250           API/ABI freeze is over in a few days, this whole thing will only
1251           last a few days, so don't bother trying to think up a meaningful
1252           name for the struct.
1253
1254 2005-11-17  Andy Wingo  <wingo@pobox.com>
1255
1256         * gst/gstclock.h (GstClock): Add rate and offset properties,
1257         preserving ABI stability. Add rate/offset accessors. Will file bug
1258         for the freeze break.
1259
1260         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1261         and offset, trying to keep precision and avoiding
1262         underflow/overflow.
1263         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1264         functions. Make gst_clock_set_time_adjust obsolete.
1265         (gst_clock_set_time_adjust): Note that this function is obsolete.
1266         Will file bug soon.
1267
1268         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1269         greppable by using GST_PADDING-1+1.
1270
1271 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1272
1273         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1274
1275         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1276           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1277
1278         * gst/gstpadtemplate.h:
1279         * gst/gstpluginfeature.h:
1280           Don't use c++ style comments in headers (#321638).
1281
1282 2005-11-16  Andy Wingo  <wingo@pobox.com>
1283
1284         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1285         buffer.
1286
1287         * check/net/gstnettimeprovider.c: Check to see that the time
1288         provider actually provides times. Works, yo!
1289
1290 2005-11-16  Wim Taymans  <wim@fluendo.com>
1291
1292         * check/Makefile.am:
1293         Enable more tests.
1294
1295         * check/elements/fakesrc.c: (GST_START_TEST):
1296         Set element to NULL before disposing it.
1297
1298 2005-11-16  Andy Wingo  <wingo@pobox.com>
1299
1300         * gst/net/Makefile.am:
1301         * gst/net/gstnet.h:
1302         * gst/net/gstnettimeprovider.c: 
1303         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1304         provider, include it from gstnet.h, and add it to the build.
1305
1306         * gst/net/gstnettimepacket.h: 
1307         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1308         sending and receiving.
1309
1310 2005-11-16  Wim Taymans  <wim@fluendo.com>
1311
1312         * check/Makefile.am:
1313         Enable valgrind check.
1314
1315         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1316         (gst_fake_src_alloc_buffer):
1317         Fix memleak.
1318
1319 2005-11-16  Wim Taymans  <wim@fluendo.com>
1320
1321         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1322         Call parent finalize too.
1323
1324 2005-11-16  Wim Taymans  <wim@fluendo.com>
1325
1326         * check/Makefile.am:
1327         Enable valgrind check that should work fine now.
1328
1329         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1330         * gst/gstqueue.c: (gst_queue_init):
1331         Fix memleaks in pad allocation.
1332
1333 2005-11-16  Andy Wingo  <wingo@pobox.com>
1334
1335         * gst/net/Makefile.am:
1336         * gst/net/gstnet.h: New part of core to hold network elements and
1337         objects. Put in core because it exposes API that applications want
1338         to use. The library is named libgstnet-tempname right now because
1339         of the existing libgstnet in gst-plugins-base. Solution is
1340         probably to rename the one in plugins-base; will file a bug for
1341         the freeze break.
1342
1343         * gst/net/gstnettimeprovider.c: 
1344         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1345         get_time call over the network.
1346
1347         * configure.ac: 
1348         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1349
1350         * check/Makefile.am:
1351         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1352         get additions shortly.
1353
1354 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1355
1356         * gst/gstpad.c: (gst_pad_new_from_static_template):
1357         * gst/gstpad.h:
1358           add gst_pad_new_from_static_template functions
1359         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1360         (gst_check_setup_sink_pad):
1361         * gst/elements/gsttee.c: (gst_tee_init):
1362           and use them
1363
1364 2005-11-16  Wim Taymans  <wim@fluendo.com>
1365
1366         * gst/gstpad.c: (gst_pad_pause_task):
1367         Removed warning, it's not really an error either.
1368
1369 2005-11-16  Wim Taymans  <wim@fluendo.com>
1370
1371         * gst/base/gstbasetransform.c:
1372         (gst_base_transform_prepare_output_buf),
1373         (gst_base_transform_event):
1374         Check if the caps are NULL, this can happen if the element
1375         is shutting down and the pad caps are set to NULL.
1376
1377 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1378
1379         * gst/elements/gsttee.c: (gst_tee_init):
1380           fix pad template leak in tee
1381
1382 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1383
1384         * gst/glib-compat.c: (g_value_dup_gst_object):
1385         * gst/glib-compat.h:
1386         * gst/gstpad.c: (gst_pad_set_property):
1387           use gst_object_ref when setting the pad template; this will
1388           trigger the pad template leaks on GLib 2.6 and the slaves
1389
1390 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1391
1392         * gst/glib-compat.c: (gst_flags_get_first_value):
1393         * gst/glib-compat.h:
1394         * gst/gstregistryxml.c:
1395           remove functions copied from GLib 2.6
1396
1397 2005-11-16  Michael Smith <msmith@fluendo.com>
1398
1399         * gst/Makefile.am:
1400           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1401           do, but only breaks with newer valgrind versions. We're not a
1402           valgrind tool, we have no link-time dependencies on libcoregrind.
1403
1404 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1405
1406         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1407           some debug changes
1408         * gst/gstmessage.h:
1409           typo fixes
1410
1411 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1412
1413         * gst/base/gstbasesrc.c: (gst_base_src_init):
1414         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1415         * gst/gstqueue.c: (gst_queue_init):
1416         * gst/gstregistryxml.c: (load_feature):
1417           Revert all these unrefs, they don't even pass make check !
1418
1419 2005-11-15  Johan Dahlin  <johan@gnome.org>
1420
1421         * gst/base/gstbasesrc.c: (gst_base_src_init):
1422         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1423         * gst/gstqueue.c: (gst_queue_init): 
1424         Free pad templates, fixes a couple of leaks.
1425
1426 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1427
1428         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1429
1430         * gst/gstpad.c: (gst_pad_get_property):
1431           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1432           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1433           (#321452)
1434
1435 2005-11-15  Wim Taymans  <wim@fluendo.com>
1436
1437         * gst/gstevent.c:
1438         Small doc update.
1439
1440 2005-11-15  Andy Wingo  <wingo@pobox.com>
1441
1442         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1443
1444         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1445         using GST_CLOCK_TIME_NONE to disable base time management.
1446         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1447         time if it was NONE before.
1448         (gst_pipeline_change_state): Only munge the base time if
1449         stream_time != GST_CLOCK_TIME_NONE.
1450
1451         * check/gst/gstpipeline.c (test_base_time): Punt around the
1452         problem of the probe not being called, because that's not the
1453         issue I'm looking at. Add a check that setting stream_time to NONE
1454         disables base time management.
1455         
1456 2005-11-15  Wim Taymans  <wim@fluendo.com>
1457
1458         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1459         segment_stop == -1 at startup.
1460
1461         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1462         (gst_base_transform_change_state):
1463         Init segment values at start.
1464
1465 2005-11-15  Wim Taymans  <wim@fluendo.com>
1466
1467         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1468         0 segment values are 0 in any format.
1469
1470         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1471         * gst/base/gstbasetransform.h:
1472         Parse newsegment correctly in basetransform
1473
1474         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1475         Sync to clock using updated segment values.
1476
1477 2005-11-15  Andy Wingo  <wingo@pobox.com>
1478
1479         * check/gst/gstpipeline.c (test_base_time): Add check that the
1480         base time and stream time are reset correctly.
1481
1482 2005-11-15  Wim Taymans  <wim@fluendo.com>
1483
1484         * docs/design/part-TODO.txt:
1485         Some more TODO items.
1486
1487 2005-11-15  Andy Wingo  <wingo@pobox.com>
1488
1489         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1490         error if the user selected "no clock" as the clocking method.
1491
1492         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1493         timestamps with live capture.
1494
1495         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1496         is 0 but we are a live source, timestamp the buffers using the
1497         element's clock.
1498
1499 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1500
1501         * docs/gst/gstreamer-sections.txt:
1502         * gst/gsterror.c:
1503         * gst/gstghostpad.c:
1504         * gst/gstobject.h:
1505         * gst/gstxml.c:
1506           more section docs
1507
1508 2005-11-14  Wim Taymans  <wim@fluendo.com>
1509
1510         * common/gst.supp:
1511           add suppressions from Wim's Debian machine
1512
1513 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1514
1515         * common/gst.supp:
1516           add suppressions from Andy's AMD64 Ubuntu machine
1517
1518 2005-11-14  Andy Wingo  <wingo@pobox.com>
1519
1520         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1521         STATE_LOCK not necessary. Fixes #311489.
1522
1523         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1524         #305291.
1525
1526         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1527         this function is not implemented.
1528
1529 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1530
1531         * gst/base/gstbasetransform.c:
1532         (gst_base_transform_prepare_output_buf):
1533         Ref the source pad caps while we need them.
1534         Fixes (#321386)
1535
1536 2005-11-11  Wim Taymans  <wim@fluendo.com>
1537
1538         * docs/gst/gstreamer-sections.txt:
1539         Added some docs for GstCollectData.
1540
1541         * gst/base/gstadapter.c:
1542         Some small code example fix.
1543
1544         * gst/base/gstcollectpads.c:
1545         * gst/base/gstcollectpads.h:
1546         Document some more.
1547
1548 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1549
1550         * configure.ac: back to HEAD
1551
1552 === release 0.9.5 ===
1553
1554 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
1555
1556         * configure.ac:
1557           releasing 0.9.5, "Bike Lunch Day"
1558
1559 2005-11-11  Wim Taymans  <wim@fluendo.com>
1560
1561         * gst/gstbuffer.c: (_gst_buffer_copy):
1562         Copy more flags.
1563
1564         * gst/gstcaps.c: (gst_caps_is_equal):
1565         Fix some docs.
1566         Make _is_equal fast in the trivial cases.
1567
1568         * gst/gstminiobject.c:
1569         * gst/gstminiobject.h:
1570         More docs. Spifify .h file.
1571
1572         * gst/gstutils.c:
1573         Small doc update.
1574
1575 2005-11-11  Wim Taymans  <wim@fluendo.com>
1576
1577         * gst/base/gstbasetransform.c:
1578         (gst_base_transform_prepare_output_buf),
1579         (gst_base_transform_handle_buffer):
1580         Small cleanups.
1581         If we're processing a buffer and need to allocate an output
1582         buffer, we cannot accept a format change. If we did get a 
1583         format change, we have to alloc a buffer ourselves of the 
1584         right size.
1585
1586 2005-11-11  Wim Taymans  <wim@fluendo.com>
1587
1588         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1589         While checking the flag for reentrancy in the gstcaps function
1590         is nice to detect recursive invocations, it also makes it 
1591         impossible to call getcaps from multiple threads, which must be
1592         possible. So, checking for recursive calls has to go.
1593
1594 2005-11-11  Michael Smith <msmith@fluendo.com>
1595
1596         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1597           Don't sync on buffers that fall partially outside our current
1598           segment. Prevents an assertion failure/abort playing some files.
1599
1600 2005-11-10  Andy Wingo  <wingo@pobox.com>
1601
1602         * check/gst/gstbin.c (test_message_state_changed_children): Style
1603         fix..
1604
1605         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1606         gst_bus_poll with the signal watch. Ensures that poll and a signal
1607         watch see the same messages.
1608
1609         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1610         a poll and a watch at the same time get the same messages.
1611
1612 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1613
1614         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1615         * gst/gstcaps.c: (gst_caps_intersect):
1616           Don't call gst_caps_do_simplify - it doesn't respect order of caps
1617           and it's not needed.
1618
1619 2005-11-10  Wim Taymans  <wim@fluendo.com>
1620
1621         * docs/design/part-TODO.txt:
1622         Updated todo.
1623
1624 2005-11-10  Wim Taymans  <wim@fluendo.com>
1625
1626         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1627         * gst/base/gstbasesrc.c: (gst_base_src_wait),
1628         (gst_base_src_do_sync), (gst_base_src_get_range):
1629         Implement clock sync in base class.
1630
1631 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1632
1633         patch by: Tim-Philipp Müller <tim at centricular dot net>
1634
1635         * gst/gststructure.c: (gst_structure_parse_field),
1636         (gst_structure_from_string):
1637           Forward-port a 0.8 patch to handle escaped spaces in structure string,
1638           so that gst_parse_launch() can deal with spaces in filtered link
1639           caps (fixes #164479)
1640         * check/gst/capslist.h:
1641         * check/gst/gststructure.c: (GST_START_TEST):
1642           add unit tests for this change
1643
1644 2005-11-10  Wim Taymans  <wim@fluendo.com>
1645
1646         * docs/gst/gstreamer-sections.txt:
1647         * gst/gstelement.c:
1648         * gst/gstelement.h:
1649         Fix docs, move some STATE macros to private.
1650
1651 2005-11-10  Wim Taymans  <wim@fluendo.com>
1652
1653         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1654         Added check for bug #317341
1655
1656         * gst/gstbuffer.c:
1657         * gst/gstbuffer.h:
1658         Some more spiffifying.
1659
1660         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1661         Call peer linkfunction if we are a source pad. Totally fixes
1662         #317341
1663
1664         * gst/gstpad.c:
1665         Update docs, source pads should call the peer linkfunction
1666         so they can atomically perform the pad link.
1667
1668 2005-11-09  Wim Taymans  <wim@fluendo.com>
1669
1670         * gst/gstbuffer.c:
1671         * gst/gstbuffer.h:
1672         Uber-spiffy-spiffify some more.
1673
1674 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
1675
1676         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1677         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1678         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1679         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1680         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1681         * gst/gstpad.c: (gst_pad_init):
1682           Use GST_DEBUG_FUNCPTR() more extensively.
1683
1684 2005-11-09  Wim Taymans  <wim@fluendo.com>
1685
1686         * gst/gstobject.c: (gst_object_class_init):
1687         * gst/gstobject.h:
1688         Documentation fixes.
1689
1690 2005-11-09  Edward Hervey  <edward@fluendo.com>
1691
1692         * gst/gsttypefindfactory.c:
1693         Fix docs.
1694         
1695 2005-11-09  Edward Hervey  <edward@fluendo.com>
1696
1697         * gst/base/gsttypefindhelper.c:
1698         * gst/gsttypefind.c:
1699         * gst/gsttypefind.h:
1700         Fix docs.
1701
1702 2005-11-09  Wim Taymans  <wim@fluendo.com>
1703
1704         * gst/gstiterator.c:
1705         Fix revision data.
1706
1707         * gst/gsttask.c:
1708         * gst/gsttask.h:
1709         Fix docs.
1710
1711 2005-11-09  Wim Taymans  <wim@fluendo.com>
1712
1713         * gst/gstevent.h:
1714         * gst/gsturi.h:
1715         Fix docs.
1716
1717 2005-11-09  Wim Taymans  <wim@fluendo.com>
1718
1719         * docs/gst/gstreamer-sections.txt:
1720         Moved the message async delivery private lock and cond
1721         to the private section.
1722
1723         * gst/gstmessage.c:
1724         * gst/gstmessage.h:
1725         Fixed docs.
1726
1727 2005-11-09  Edward Hervey  <edward@fluendo.com>
1728
1729         * docs/gst/gstreamer-sections.txt:
1730         * gst/gsturi.c:
1731         * gst/gsturi.h:
1732         Document GstURIHandler
1733
1734 2005-11-09  Wim Taymans  <wim@fluendo.com>
1735
1736         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1737         (gst_iterator_find_custom):
1738         * gst/gstiterator.h:
1739         Fix iterator docs.
1740
1741 2005-11-09  Wim Taymans  <wim@fluendo.com>
1742
1743         * gst/gstbin.h:
1744         Document another field.
1745
1746         * gst/gststructure.c:
1747         * gst/gststructure.h:
1748         Document.
1749
1750 2005-11-09  Wim Taymans  <wim@fluendo.com>
1751
1752         * gst/gstbin.h:
1753         Documented structs.
1754
1755 2005-11-09  Wim Taymans  <wim@fluendo.com>
1756
1757         * docs/gst/gstreamer-sections.txt:
1758         Added some new macros.
1759
1760         * gst/gstclock.c:
1761         * gst/gstclock.h:
1762         * gst/gstobject.h:
1763         Docs updates.
1764
1765 2005-11-09  Wim Taymans  <wim@fluendo.com>
1766
1767         * docs/design/part-TODO.txt:
1768         Some more items for the TODO
1769
1770         * gst/gstcaps.c:
1771         * gst/gstcaps.h:
1772         Document GstCaps.
1773
1774 2005-11-09  Andy Wingo  <wingo@pobox.com>
1775
1776         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1777         to work on something else now tho...
1778
1779         * gst/base/gstadapter.c: More adapter docs.
1780
1781         * gst/elements/gstfilesink.c (gst_file_sink_start) 
1782         (gst_file_sink_stop): New functions, replace the state change
1783         handler.
1784         (gst_file_sink_class_init): Hook up the start and stop functions.
1785         (gst_file_sink_base_init): Don't set the state change handler any
1786         more. It was a bit ugly too, being set from here...
1787         (gst_file_sink_get_property, gst_file_sink_set_property):
1788         Cleanups...
1789         (gst_file_sink_set_location): More robust check that doesn't call
1790         GST_STATE. Ugggggg.
1791
1792 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
1793
1794         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1795           Hold STREAM_LOCK while pushing newsegment or tag events as well.
1796
1797 2005-11-08  Wim Taymans  <wim@fluendo.com>
1798
1799         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1800         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1801         (gst_base_sink_chain), (gst_base_sink_change_state):
1802         * gst/base/gstbasesink.h:
1803         * gst/base/gstbasesrc.h:
1804         * gst/gstelement.h:
1805         * gst/gstevent.h:
1806         Avoid excessive typechecking in macros.
1807
1808         * gst/gstminiobject.c: (gst_mini_object_get_type),
1809         (gst_mini_object_init), (gst_mini_object_new),
1810         (gst_mini_object_free):
1811         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1812         (gst_object_finalize):
1813         Remove cruft code, optimize alloc_trace.
1814
1815 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1816
1817         * docs/faq/gst-uninstalled:
1818           fix up PS1 for systems that try to reset it
1819
1820 2005-11-07  Wim Taymans  <wim@fluendo.com>
1821
1822         * gst/base/gstbasesrc.c: (gst_base_src_init),
1823         (gst_base_src_get_range):
1824         Set the segment_end to -1 initially. Fixed typefind.
1825
1826 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1827
1828         * gst/base/gstadapter.c:
1829           Debug category should be 'adapter', not 'GstAdapter'.
1830           
1831         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1832         (gst_collectpads_class_init), (gst_collectpads_init),
1833         (gst_collectpads_peek), (gst_collectpads_pop),
1834         (gst_collectpads_event), (gst_collectpads_chain):
1835           Add debug category and some debugging output. Use boilerplate
1836           macros. Remove some extraneous words from docs.
1837
1838 2005-11-05  Andy Wingo  <wingo@pobox.com>
1839
1840         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1841         macro.
1842
1843 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1844
1845         * docs/gst/gstreamer-sections.txt:
1846         * gst/gstcaps.h:
1847         * gst/gstinfo.c:
1848         * gst/gstminiobject.h:
1849         * gst/gstobject.h:
1850         * gst/gstutils.h:
1851           more docs added
1852
1853 2005-11-04  Wim Taymans  <wim@fluendo.com>
1854
1855         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1856         Small update to stop at the configured segment_end
1857         position.
1858
1859 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1860
1861         * gst/gstregistry.c:
1862         * gst/gstregistry.h:
1863           added missing docs
1864
1865 2005-11-04  Edward Hervey  <edward@fluendo.com>
1866
1867         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1868         Check if we are doing a segment seek and have arrived at the
1869         end of that segment.
1870
1871 2005-11-04  Wim Taymans  <wim@fluendo.com>
1872
1873         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1874         Don't leak a mutex unlock in case of an error.
1875
1876         * gst/gstbus.h:
1877         Doc fixes.
1878
1879 2005-11-04  Wim Taymans  <wim@fluendo.com>
1880
1881         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1882         (gst_bus_post):
1883         Get the context to wake up only once.
1884
1885 2005-11-03  Wim Taymans  <wim@fluendo.com>
1886
1887         * check/states/sinks.c: (GST_START_TEST):
1888         Uncomment fixed check.
1889
1890         * docs/design/part-TODO.txt:
1891         Updated TODO.
1892
1893         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1894         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1895         (gst_base_sink_get_position):
1896         If we are going to PLAYING, post the right pending state
1897         when we post the intermediate paused message.
1898
1899         * gst/gstelement.c: (gst_element_continue_state),
1900         (gst_element_set_state_func), (gst_element_change_state):
1901         Don't post state changes that were between the same state
1902         and were not ASYNC.
1903
1904 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1905
1906         * docs/gst/gstreamer-sections.txt:
1907         * gst/gstcaps.h:
1908         * gst/gstinfo.c:
1909         * gst/gstminiobject.h:
1910         * gst/gstobject.h:
1911         * gst/gstutils.h:
1912           more docs and doc style fixes
1913
1914 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1915
1916         * docs/gst/gstreamer-sections.txt:
1917         * gst/gstelement.c:
1918         * gst/gstminiobject.c:
1919         doc fixes
1920
1921 2005-11-03  Andy Wingo  <wingo@pobox.com>
1922
1923         * check/states/sinks.c (test_livesrc_sink): Add checks that the
1924         state-changed messages actually have the right order and the right
1925         values.
1926
1927 2005-11-03  Wim Taymans  <wim@fluendo.com>
1928
1929         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1930         Added some more checks. Specifically the case where NO_PREROLL
1931         elements are in the pipeline.
1932
1933         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1934         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1935         (gst_base_sink_get_position):
1936         Post READY->PAUSED state change messages too.
1937         Fix bug where VOID was posted as pending state...
1938
1939         * gst/gstbin.c: (gst_bin_recalc_state):
1940         use _element_continue_state() to continue the state change.
1941
1942         * gst/gstelement.c: (gst_element_continue_state),
1943         (gst_element_commit_state), (gst_element_set_state_func),
1944         (gst_element_change_state), (gst_element_change_state_func):
1945         Lots of state change cleanups, assign the STATE_RETURN in
1946         a new continue_state() function that also propagates the
1947         last return value from a state change to the app.
1948         Update some debug statements with proper category.
1949
1950 2005-11-03  Wim Taymans  <wim@fluendo.com>
1951
1952         * docs/design/part-events.txt:
1953         * docs/design/part-gstpipeline.txt:
1954         * docs/design/part-messages.txt:
1955         * docs/design/part-overview.txt:
1956         * docs/design/part-seeking.txt:
1957         * docs/design/part-states.txt:
1958         * docs/design/part-trickmodes.txt:
1959         * docs/manual/advanced-position.xml:
1960         Small docs updates.
1961
1962         * gst/gstobject.h:
1963         People think !! is ugly, this looks better.
1964
1965         * gst/gstpad.c: (gst_pad_set_blocked_async):
1966         Remove !! since it's fixed elsewhere now.
1967
1968 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1969
1970         * gst/gstminiobject.h:
1971         * gst/gstobject.h:
1972           Add !! to _FLAG_IS_SET macros to make the result boolean.
1973
1974 2005-11-03  Edward Hervey  <edward@fluendo.com>
1975
1976         * gst/gstpad.c: (gst_pad_set_blocked_async):
1977         comparing a flag and a gboolean rarely returns coherent results...
1978         Added two characters (!!) to make that work correctly.
1979         
1980 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1981
1982         * gst/gstbus.c: (gst_bus_class_init):
1983           Fix some typos.
1984           
1985         * gst/gstqueue.c: (gst_queue_loop):
1986           Don't assume a miniobject that isn't a buffer is an
1987           event (it could be that there is a refcounting
1988           problem somewhere and the pointer is stale and
1989           refers to an already destroyed miniobject).
1990
1991 2005-11-03  Julien MOUTTE  <julien@moutte.net>
1992
1993         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1994
1995 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1996
1997         * docs/manual/advanced-position.xml:
1998           Update seek example and explanations to current 0.9 API.
1999
2000         * gst/elements/gsttypefindelement.c:
2001         (gst_type_find_element_activate):
2002           Remove FIXME comment now that the found caps
2003           are unreffed.
2004
2005 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2006
2007         * gst/gstregistryxml.c: (load_feature):
2008           Add another GST_STR_NULL instance
2009
2010 2005-11-02  Edward Hervey  <edward@fluendo.com>
2011
2012         * gst/gstpad.c: (handle_pad_block):
2013         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2014         
2015 2005-11-02  Wim Taymans  <wim@fluendo.com>
2016
2017         * gst/gstbin.c:
2018         Fix typo in docs.
2019
2020         * gst/gstelement.c: (gst_element_commit_state):
2021         Remove unused value.
2022
2023         * gst/gstiterator.c:
2024         Mention that the returned element is reffed in the docs.
2025
2026 2005-11-02  Wim Taymans  <wim@fluendo.com>
2027
2028         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2029         (gst_pad_push), (gst_pad_push_event):
2030         Unlock blocked pads when they are flushed.
2031
2032 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2033
2034         * docs/README:
2035         * docs/gst/gstreamer-sections.txt:
2036         * gst/gstbin.c:
2037           doc updates
2038         * gst/gstregistry.c: (gst_registry_scan_path_level):
2039           fix for a nasty little missed situation where an installed plug-in
2040           which was in the cache did not get overridden by an uninstalled one
2041           which was earlier in the plugin path because the newly created plugin
2042           for the uninstalled one (not in the registry) didn't get its
2043           ->registered set to TRUE
2044
2045 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2046
2047         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2048         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2049         (gst_collectpads_is_active), (gst_collectpads_collect),
2050         (gst_collectpads_collect_range), (gst_collectpads_start),
2051         (gst_collectpads_stop), (gst_collectpads_peek),
2052         (gst_collectpads_pop), (gst_collectpads_available),
2053         (gst_collectpads_read), (gst_collectpads_flush):
2054           Guard public API with assertions.
2055         
2056         * gst/gstpad.c:
2057           Fix docs for gst_pad_set_link_function().
2058
2059 2005-11-02  Johan Dahlin  <johan@gnome.org>
2060
2061         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2062         Unref found_caps after we used it.
2063
2064 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2065
2066         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2067           Don't try to ref NULL.
2068
2069 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2070
2071         * win32/common/config.h.in:
2072           provide a GST_FUNCTION that just gives a string for now
2073
2074 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2075
2076         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2077         (gst_object_flags_get_type), (register_gst_bin_flags),
2078         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2079         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2080         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2081         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2082         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2083         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2084         (gst_clock_flags_get_type), (register_gst_state),
2085         (gst_state_get_type), (register_gst_state_change_return),
2086         (gst_state_change_return_get_type), (register_gst_state_change),
2087         (gst_state_change_get_type), (register_gst_element_flags),
2088         (gst_element_flags_get_type), (register_gst_core_error),
2089         (gst_core_error_get_type), (register_gst_library_error),
2090         (gst_library_error_get_type), (register_gst_resource_error),
2091         (gst_resource_error_get_type), (register_gst_stream_error),
2092         (gst_stream_error_get_type), (register_gst_event_type),
2093         (gst_event_type_get_type), (register_gst_seek_type),
2094         (gst_seek_type_get_type), (register_gst_seek_flags),
2095         (gst_seek_flags_get_type), (register_gst_format),
2096         (gst_format_get_type), (register_gst_index_certainty),
2097         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2098         (gst_index_entry_type_get_type),
2099         (register_gst_index_lookup_method),
2100         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2101         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2102         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2103         (gst_index_flags_get_type), (register_gst_debug_level),
2104         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2105         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2106         (gst_iterator_result_get_type), (register_gst_iterator_item),
2107         (gst_iterator_item_get_type), (register_gst_message_type),
2108         (gst_message_type_get_type), (register_gst_mini_object_flags),
2109         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2110         (gst_pad_link_return_get_type), (register_gst_flow_return),
2111         (gst_flow_return_get_type), (register_gst_activate_mode),
2112         (gst_activate_mode_get_type), (register_gst_pad_direction),
2113         (gst_pad_direction_get_type), (register_gst_pad_flags),
2114         (gst_pad_flags_get_type), (register_gst_pad_presence),
2115         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2116         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2117         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2118         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2119         (gst_plugin_flags_get_type), (register_gst_rank),
2120         (gst_rank_get_type), (register_gst_query_type),
2121         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2122         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2123         (gst_tag_flag_get_type), (register_gst_task_state),
2124         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2125         (gst_alloc_trace_flags_get_type),
2126         (register_gst_type_find_probability),
2127         (gst_type_find_probability_get_type), (register_gst_uri_type),
2128         (gst_uri_type_get_type), (register_gst_parse_error),
2129         (gst_parse_error_get_type):
2130         * win32/common/gstversion.h:
2131           update win32 copies
2132
2133 2005-11-01  Luca Ognibene  <luogni@tin.it>
2134
2135         * gst/gst.c:
2136           fix docs. popt is dead, long live GOption.
2137
2138 2005-10-31  Wim Taymans  <wim@fluendo.com>
2139
2140         * gst/gstbuffer.h:
2141         Small doc fix.
2142
2143 2005-10-31  Andy Wingo  <wingo@pobox.com>
2144
2145         * Boo!
2146
2147         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2148
2149         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2150         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2151         the possibility of deadlocks here if code calling notify() or
2152         set() has a lock that can be taken in another notify handler (ABBA
2153         with class lock and e.g. python GIL state lock).
2154
2155 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2156
2157         * gst/gstbus.c: Doc updates.
2158
2159 2005-10-28  Wim Taymans  <wim@fluendo.com>
2160
2161         * docs/design/part-TODO.txt:
2162         * gst/gstiterator.c:
2163         * gst/gstsystemclock.c:
2164         * gst/gstsystemclock.h:
2165         Doc updates.
2166
2167 2005-10-28  Edward Hervey  <edward@fluendo.com>
2168
2169         * docs/gst/gstreamer-docs.sgml:
2170         * docs/gst/gstreamer-sections.txt:
2171         the GstURIType documentation page is private, it only defines GstURIType
2172         which should be defined in the GstURIHandler page
2173         
2174 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2175
2176         * gst/gstbin.c: (gst_bin_class_init):
2177         * gst/gstbin.h:
2178         * gst/gstutils.c:
2179         Documentation updates.
2180
2181 2005-10-28  Wim Taymans  <wim@fluendo.com>
2182
2183         * docs/gst/gstreamer-sections.txt:
2184         * gst/gstclock.c:
2185         * gst/gstclock.h:
2186         Documented the clocks.
2187
2188 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2189
2190         * docs/gst/gstreamer-sections.txt:
2191           move some macros to private sections
2192         * gst/gstminiobject.c:
2193         * gst/gstminiobject.h:
2194           add descriptions provided by ds and some more
2195         * gst/gstpad.h:
2196           mark macro as to be removed
2197
2198 2005-10-28  Wim Taymans  <wim@fluendo.com>
2199
2200         * docs/design/part-TODO.txt:
2201         Add an item to TODO.
2202
2203         * gst/gstiterator.c: (gst_iterator_fold),
2204         (gst_iterator_find_custom):
2205         * gst/gstiterator.h:
2206         Add iterator docs.
2207
2208 2005-10-28  Wim Taymans  <wim@fluendo.com>
2209
2210         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2211         (gst_base_transform_init):
2212         Don't leak class.
2213
2214         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2215         An EOS event marks the queue as completely filled.
2216
2217 2005-10-27  Wim Taymans  <wim@fluendo.com>
2218
2219         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2220         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2221         Some more debugging.
2222
2223         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2224         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2225         (gst_base_transform_event), (gst_base_transform_getrange),
2226         (gst_base_transform_chain):
2227         * gst/base/gstbasetransform.h:
2228         Fix debugging,
2229         Protect transform and concurrent buffer alloc with a new lock.
2230         Try not to break ABI/API.
2231
2232 2005-10-27  Wim Taymans  <wim@fluendo.com>
2233
2234         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2235         (gst_base_src_init), (gst_base_src_query),
2236         (gst_base_src_default_newsegment),
2237         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2238         (gst_base_src_send_event), (gst_base_src_event_handler),
2239         (gst_base_src_pad_get_range), (gst_base_src_loop),
2240         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2241         (gst_base_src_start), (gst_base_src_deactivate),
2242         (gst_base_src_activate_push), (gst_base_src_change_state):
2243         Move some stuff around and cleanup things.
2244
2245 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2246
2247         * gst/base/gstbasesrc.c: (gst_base_src_query):
2248           Add missing break statements.
2249
2250 2005-10-27  Wim Taymans  <wim@fluendo.com>
2251
2252         * check/gst/gstbin.c: (GST_START_TEST):
2253         An extra refcount is taken in basesrc.
2254
2255         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2256         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2257         (gst_base_src_loop):
2258         Small cleanups, check for flushing after being unlocked from the 
2259         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2260         Don't send out EOS when going to READY.
2261
2262 2005-10-27  Wim Taymans  <wim@fluendo.com>
2263
2264         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2265         (gst_base_sink_get_position):
2266         Some more debug.
2267
2268         * gst/gstbin.c: (message_check), (bin_replace_message),
2269         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2270         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2271         (bin_query_duration_init), (bin_query_duration_fold),
2272         (bin_query_duration_done), (bin_query_generic_fold),
2273         (gst_bin_query):
2274         * tools/gst-launch.c: (main):
2275         Remove old option.
2276
2277 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2278
2279         * examples/controller/audio-example.c: (main):
2280         * examples/queue/queue.c: (event_loop):
2281         * gst/base/gstbasetransform.h:
2282         * gst/gstelement.c: (gst_element_send_event):
2283         * gst/gstevent.h:
2284         * gst/gstpad.c: (gst_pad_send_event):
2285           fixing examples
2286           fixing docs typos
2287           changing log priority in error situations
2288
2289 2005-10-25  Wim Taymans  <wim@fluendo.com>
2290
2291         * gst/gstbin.c: (message_check), (bin_replace_message),
2292         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2293         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2294         (bin_query_duration_init), (bin_query_duration_fold),
2295         (bin_query_duration_done), (bin_query_generic_fold),
2296         (gst_bin_query):
2297         Some doc and debug updates.
2298         Cache previously requested query DURATION for speed. invalidate
2299         cached duration if element posts a DURATION message.
2300
2301 2005-10-25  Wim Taymans  <wim@fluendo.com>
2302
2303         * docs/design/part-TODO.txt:
2304         Update TODO.
2305
2306         * gst/gstbin.c: (message_check), (bin_replace_message),
2307         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2308         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2309         (bin_query_duration_init), (bin_query_duration_fold),
2310         (bin_query_duration_done), (bin_query_generic_fold),
2311         (gst_bin_query):
2312         Handle SEGMENT_START/DONE messages correctly.
2313         More evolved query algorithm that handles duration queries
2314         correctly.
2315
2316         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2317         (gst_element_get_state_func), (gst_element_abort_state),
2318         (gst_element_commit_state), (gst_element_lost_state):
2319         Some more debugging.
2320
2321         * gst/gstmessage.h:
2322         Added doc.
2323
2324 2005-10-25  Wim Taymans  <wim@fluendo.com>
2325
2326         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2327         Don't use invalid stream_time.
2328
2329         * gst/gstevent.c: (gst_event_new_newsegment):
2330         stream_time in newsegment cannot be undefined.
2331
2332 2005-10-24  Wim Taymans  <wim@fluendo.com>
2333
2334         * gst/gstbus.c:
2335         Doc fix.
2336
2337         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2338         (gst_queue_loop):
2339         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2340
2341 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2342
2343         * docs/libs/tmpl/gstdparam.sgml:
2344         * docs/libs/tmpl/gstdplinint.sgml:
2345         * docs/libs/tmpl/gstdpman.sgml:
2346         * docs/libs/tmpl/gstdpsmooth.sgml:
2347         * docs/libs/tmpl/gstunitconvert.sgml:
2348           these are obsolete
2349
2350 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2351
2352         * configure.ac:
2353           back to HEAD
2354
2355 === release 0.9.4 ===
2356
2357 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2358
2359         * configure.ac:
2360           releasing 0.9.4, "Tyrannosaurus Rex"
2361
2362 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2363
2364         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2365         (gst_file_sink_get_current_offset):
2366           Use fseeko() and ftello() if available. When falling back on
2367           lseek() to get the current offset, fflush() first to make sure
2368           everything is up-to-date and we get the right offset.
2369
2370 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2371
2372         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2373         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2374         * gst/gsterror.c: (_gst_stream_errors_init):
2375         * gst/gsterror.h:
2376         * gst/gstqueue.c: (gst_queue_loop):
2377         * po/POTFILES.in:
2378           remove prematurely added error category and clean up the instances
2379
2380 2005-10-21  Wim Taymans  <wim@fluendo.com>
2381
2382         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2383         (gst_base_sink_get_position), (gst_base_sink_query),
2384         (gst_base_sink_change_state):
2385         Simply set the right flag when going to playing, that's all
2386         we need to do instead of calling a function inside the object
2387         lock (that could take the lock as well and deadlock)
2388
2389 2005-10-21  Wim Taymans  <wim@fluendo.com>
2390
2391         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2392         (gst_base_src_loop):
2393         Don't warn, the peer element knows what to do best when
2394         the seek failed, it might try something else.
2395
2396 2005-10-21  Wim Taymans  <wim@fluendo.com>
2397
2398         * gst/base/gstbasesrc.c: (gst_base_src_init),
2399         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2400         Fix seeking.
2401
2402 2005-10-21  Wim Taymans  <wim@fluendo.com>
2403
2404         * docs/design/part-segments.txt:
2405         More docs.
2406
2407         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2408         Correctly set caps, even on the subbufer.
2409
2410 2005-10-21  Wim Taymans  <wim@fluendo.com>
2411
2412         * docs/gst/gstreamer-docs.sgml:
2413         * docs/gst/gstreamer-sections.txt:
2414         * gst/gstelement.h:
2415         * gst/gstevent.c:
2416         * gst/gstevent.h:
2417         * gst/gstmessage.h:
2418         * gst/gstpad.h:
2419         * gst/gstparse.h:
2420         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2421         * gst/gsttask.h:
2422         * gst/gstutils.c:
2423         * gst/gstutils.h:
2424         And 2% more doc coverage.
2425
2426 2005-10-21  Andy Wingo  <wingo@pobox.com>
2427
2428         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2429         position reporting.
2430
2431 2005-10-20  Wim Taymans  <wim@fluendo.com>
2432
2433         * gst/gsterror.c: (gst_error_get_message):
2434         * gst/gstparse.h:
2435         * gst/gstquery.h:
2436         * gst/gststructure.c:
2437         * gst/gsttrace.c:
2438         * gst/gstutils.c:
2439         More docs.
2440
2441 2005-10-20  Wim Taymans  <wim@fluendo.com>
2442
2443         * gst/gstbuffer.h:
2444         * gst/gstpad.c:
2445         * gst/gstparse.c:
2446         Another 1% more coverage.
2447
2448 2005-10-20  Wim Taymans  <wim@fluendo.com>
2449
2450         * docs/gst/gstreamer-sections.txt:
2451         * gst/gstelement.c: (gst_element_get_state_func),
2452         (gst_element_abort_state), (gst_element_commit_state),
2453         (gst_element_lost_state):
2454         * gst/gstevent.h:
2455         * gst/gstquery.c: (gst_query_set_position),
2456         (gst_query_parse_position), (gst_query_set_duration),
2457         (gst_query_parse_duration), (gst_query_new_convert):
2458         * gst/gstutils.c:
2459         Yay! 1% more docs coverage.
2460
2461 2005-10-20  Wim Taymans  <wim@fluendo.com>
2462
2463         * gst/gstpad.h:
2464         * gst/gstquery.c: (gst_query_set_position),
2465         (gst_query_parse_position), (gst_query_set_duration),
2466         (gst_query_parse_duration), (gst_query_new_convert):
2467         * gst/gstquery.h:
2468         * gst/gstutils.c: (gst_element_query_convert):
2469         * gst/gstutils.h:
2470         Docs and consistency fixes.
2471
2472 2005-10-20  Wim Taymans  <wim@fluendo.com>
2473
2474         * gst/gsttask.c:
2475         * gst/gsttask.h:
2476         More docs.
2477
2478 2005-10-20  Wim Taymans  <wim@fluendo.com>
2479
2480         * gst/gstbin.c: (message_check), (bin_replace_message),
2481         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2482         (update_degree), (gst_bin_sort_iterator_next),
2483         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2484         Reworked the message handling a bit, cache the messages instead of
2485         only the senders. alows us to do more in the future.
2486
2487 2005-10-20  Wim Taymans  <wim@fluendo.com>
2488
2489         * docs/design/part-TODO.txt:
2490         Update TODO
2491
2492         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2493         (gst_base_sink_query):
2494         Don't use clock time to report position when in EOS.
2495
2496 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2497
2498         * tools/gst-inspect.c: (print_interfaces),
2499         (print_element_properties_info), (print_element_info):
2500           Fix interface output with gst-inspect -a; don't print
2501           newlines after double/float properties.
2502
2503 2005-10-20  Wim Taymans  <wim@fluendo.com>
2504
2505         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2506         (gst_base_sink_query):
2507         Speed up current position calculation.
2508
2509         * gst/base/gstbasesrc.c: (gst_base_src_query),
2510         (gst_base_src_default_newsegment):
2511         Correctly set stream position in newsegment.
2512
2513         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2514         (update_degree), (gst_bin_sort_iterator_next),
2515         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2516         * gst/gstmessage.c: (gst_message_new_custom):
2517         Clean up debugging info
2518
2519         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2520         (gst_queue_loop), (gst_queue_handle_src_query):
2521         Pause task faster.
2522
2523 2005-10-19  Wim Taymans  <wim@fluendo.com>
2524
2525         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2526         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2527         Fix query handling again.
2528
2529 2005-10-19  Wim Taymans  <wim@fluendo.com>
2530
2531         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2532         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2533         * gst/base/gstbasesrc.c: (gst_base_src_query):
2534         * gst/elements/gstfilesink.c: (gst_file_sink_query):
2535         * gst/elements/gsttypefindelement.c:
2536         (gst_type_find_handle_src_query), (find_element_get_length),
2537         (gst_type_find_element_activate):
2538         API change fix.
2539
2540         * gst/gstquery.c: (gst_query_new_position),
2541         (gst_query_set_position), (gst_query_parse_position),
2542         (gst_query_new_duration), (gst_query_set_duration),
2543         (gst_query_parse_duration), (gst_query_set_segment),
2544         (gst_query_parse_segment):
2545         * gst/gstquery.h:
2546         Bundling query position/duration is not a good idea since duration
2547         does not change much and we don't want to recalculate it for every
2548         position query, so they are separated again..
2549         Base value in segment query is not needed.
2550
2551         * gst/gstqueue.c: (gst_queue_handle_src_query):
2552         * gst/gstutils.c: (gst_element_query_position),
2553         (gst_element_query_duration), (gst_pad_query_position),
2554         (gst_pad_query_duration):
2555         * gst/gstutils.h:
2556         Updates for query API change.
2557         Added some docs here and there.
2558
2559 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
2560
2561         * check/gst/gstbin.c: (GST_START_TEST):
2562         * check/gst/gstghostpad.c: (GST_START_TEST):
2563         * check/pipelines/cleanup.c: (GST_START_TEST):
2564           wait on thread to die so we can check refcount correctly
2565
2566 2005-10-18  Wim Taymans  <wim@fluendo.com>
2567
2568         * check/pipelines/stress.c: (GST_START_TEST):
2569         Make check a little more time consuming.
2570
2571 2005-10-18  Wim Taymans  <wim@fluendo.com>
2572
2573         * check/Makefile.am:
2574         * check/pipelines/stress.c: (GST_START_TEST),
2575         (simple_launch_lines_suite), (main):
2576         Small state change torture test.
2577
2578         * docs/design/part-states.txt:
2579         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2580         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2581         (gst_base_sink_change_state):
2582         Never take state lock from streaming thread, clean up ugly
2583         hacks. Unfortunatly core does not yet support nice ways to
2584         async commit state.
2585         
2586         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2587         (bin_bus_handler):
2588         Start state recalc if a STATE_DIRTY message is posted, but only
2589         on the toplevel bin.
2590
2591         * gst/gstelement.c: (gst_element_sync_state_with_parent),
2592         (gst_element_get_state_func), (gst_element_abort_state),
2593         (gst_element_commit_state), (gst_element_lost_state),
2594         (gst_element_set_state_func), (gst_element_change_state):
2595         * gst/gstelement.h:
2596         State variables are now protected with the LOCK, the state
2597         lock is only used to serialize _set_state().
2598
2599 2005-10-18  Wim Taymans  <wim@fluendo.com>
2600
2601         * check/gst/gstbin.c: (GST_START_TEST):
2602         * check/gst/gstmessage.c: (GST_START_TEST):
2603         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2604         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2605         (bin_bus_handler):
2606         * gst/gstelement.c: (gst_element_abort_state),
2607         (gst_element_commit_state), (gst_element_lost_state):
2608         * gst/gstmessage.c: (gst_message_new_state_changed),
2609         (gst_message_new_state_dirty), (gst_message_new_segment_start),
2610         (gst_message_new_segment_done), (gst_message_new_duration),
2611         (gst_message_parse_state_changed),
2612         (gst_message_parse_segment_start),
2613         (gst_message_parse_segment_done), (gst_message_parse_duration):
2614         * gst/gstmessage.h:
2615         * tools/gst-launch.c: (event_loop):
2616         Seriously, this is better than a previous commit as we only need
2617         to notify the fact that an element changed state in a streaming
2618         thread, marking the state of the parents dirty, hence the 
2619         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2620         message.
2621
2622 2005-10-18  Wim Taymans  <wim@fluendo.com>
2623
2624         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2625         (gst_bin_recalc_func):
2626         * gst/gstelement.c: (gst_element_set_clock),
2627         (gst_element_abort_state), (gst_element_lost_state):
2628         Cleanups, prepare for state change fixes.
2629
2630 2005-10-18  Wim Taymans  <wim@fluendo.com>
2631
2632         * gst/gstbin.h:
2633         * gst/gstelement.c: (gst_element_class_init),
2634         (gst_element_set_state), (gst_element_set_state_func):
2635         * gst/gstelement.h:
2636         Pending ABI changes.
2637         GThreadPool in GstBinClass to monitor async state changes.
2638         state_cookie in GstElement to detect concurrent gst/set state.
2639         set_state is now virtual too in case a very complicated element
2640         has to be constructed.
2641
2642 2005-10-18  Wim Taymans  <wim@fluendo.com>
2643
2644         * check/gst/gstbin.c: (GST_START_TEST):
2645         * check/gst/gstmessage.c: (GST_START_TEST):
2646         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2647         * gst/gstbin.c: (bin_bus_handler):
2648         * gst/gstelement.c: (gst_element_commit_state),
2649         (gst_element_lost_state):
2650         * gst/gstmessage.c: (gst_message_new_state_changed),
2651         (gst_message_new_segment_start), (gst_message_new_segment_done),
2652         (gst_message_new_duration), (gst_message_parse_state_changed),
2653         (gst_message_parse_segment_start),
2654         (gst_message_parse_segment_done), (gst_message_parse_duration):
2655         * gst/gstmessage.h:
2656         * tools/gst-launch.c: (event_loop):
2657         Make messages future proof.
2658         state-change gets a flag if it was a message comming from the
2659         streaming thread.
2660         segment-start/stop can also be specified in other formats.
2661         A message to notify an app that a pipeline changed playback 
2662         duration.
2663         Also fix a GstMessage leak in -launch
2664
2665 2005-10-18  Andy Wingo  <wingo@pobox.com>
2666
2667         * gst/gstelement.c (gst_element_dispose): More helpful message.
2668
2669 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2670
2671         reviewed by: <delete if not using a buddy>
2672
2673         * common/gtk-doc.mak:
2674
2675 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2676
2677         * gst/gstregistry.c: (gst_registry_scan_path_level):
2678           unref a plug-in we get that was already initialized
2679
2680 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
2681
2682         * docs/gst/gstreamer-sections.txt:
2683         * docs/libs/gstreamer-libs-sections.txt:
2684         * gst/gstelement.h:
2685           add new api entries
2686           hide internal macro
2687
2688 2005-10-17  Andy Wingo  <wingo@pobox.com>
2689
2690         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2691         cleanup.
2692
2693         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2694
2695         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2696
2697         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2698         (gst_element_get_state_func): Better debug message.
2699         (gst_element_commit_state): s/INFO/DEBUG/.
2700         (gst_element_lost_state, gst_element_change_state): 
2701
2702         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2703         (gst_message_new_custom): s/INFO/LOG/.
2704
2705 2005-10-17  Michael Smith <msmith@fluendo.com>
2706
2707         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2708           Check if end time is valid using end time, not start time.
2709
2710 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
2711
2712         * check/gst-libs/controller.c: (GST_START_TEST),
2713         (gst_controller_suite):
2714         * libs/gst/controller/gstcontroller.c:
2715         (gst_controlled_property_set_interpolation_mode):
2716         * libs/gst/controller/gstcontroller.h:
2717         * libs/gst/controller/gstinterpolation.c:
2718         * testsuite/controller/.cvsignore:
2719         * testsuite/controller/Makefile.am:
2720         * testsuite/controller/interpolator.c:
2721           merge controller testsuites
2722           fix broken tests
2723           remove mem-chunk from docs
2724
2725 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2726
2727         * gst/gstmemchunk.c:
2728         * gst/gstmemchunk.h:
2729         * gst/gsttrashstack.c:
2730         * gst/gsttrashstack.h:
2731           out.  get out.  you're fired.  to the Attic !
2732
2733 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2734
2735         * gst/gstcaps.c: (gst_caps_intersect):
2736           fix signedness issues in a (hopefully) correct way
2737         * gst/gstelement.c: (gst_element_pads_activate):
2738           some debugging
2739         * gst/gstobject.c: (gst_object_set_parent):
2740           some debugging
2741
2742 2005-10-17  Julien MOUTTE  <julien@moutte.net>
2743
2744         * gst/gstvalue.h: Fix prototypes.
2745
2746 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2747
2748         * docs/gst/gstreamer-sections.txt:
2749         * gst/gst.c: (gst_version_string):
2750         * gst/gst.h:
2751         * gst/gstversion.h.in:
2752         * win32/common/libgstreamer.def:
2753           add gst_version_string ()
2754
2755 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2756
2757         * configure.ac:
2758           clean up further
2759         * gst/gst.c: (init_post):
2760         * win32/common/config.h.in:
2761           it's PLUGINDIR now
2762         * gst/gstcaps.c: (gst_caps_intersect):
2763           use gint64, the range could be bigger than a guint
2764
2765 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2766
2767         * gst/gstclock.h:
2768           document potential problem in 2038
2769
2770 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2771
2772         * gst/gstcaps.c: (gst_caps_intersect):
2773           Fix guint j diving under 0
2774
2775 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2776
2777         * configure.ac:
2778         * win32/common/config.h:
2779         * win32/common/config.h.in:
2780           check for process.h, declares getpid() on Windows
2781         * gst/gstinfo.c:
2782           include process.h if we have it
2783         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2784         * gst/gstmemchunk.h:
2785           fix signedness issues
2786         * win32/common/libgstreamer.def:
2787           fix get_type's
2788
2789 2005-10-16  Julien MOUTTE  <julien@moutte.net>
2790
2791         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2792         fix. Because of unsigned ints, caps intersection was going nuts and
2793         trying to access structures with G_MAXUINT index. That fixes
2794         videotestsrc ! ffmpegcolorspace ! fakesink
2795         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2796         consistency.
2797
2798 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2799
2800         * configure.ac:
2801           use the gettext macro
2802         * gst/elements/gstelements.c:
2803         * gst/gst.c:
2804         * gst/indexers/gstindexers.c:
2805           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2806         * win32/common/config.h:
2807           updated config.h
2808         * win32/common/config.h.in:
2809           add the template to generate config.h
2810         * win32/common/gstenumtypes.c:
2811         * win32/common/gstversion.h:
2812           updated copies
2813
2814 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2815
2816         * gst/gst.c: (gst_version):
2817         * gst/gstversion.h.in:
2818           add the nano
2819
2820 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2821
2822         * gst/gstevent.h:
2823           Oops, add missing closing bracket.
2824
2825 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2826
2827         * configure.ac:
2828           use common m4's for argument checking
2829
2830 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2831
2832         * docs/gst/gstreamer-sections.txt:
2833         * gst/gstevent.h:
2834           Add GST_EVENT_TYPE_NAME() macro.
2835
2836 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2837
2838         * gst/gstinfo.c:
2839         * gst/gstpluginfeature.c:
2840         * gst/gsttask.c:
2841           privatize more symbols
2842
2843 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2844
2845         * configure.ac:
2846           add srcdir, builddir includes to GST_ALL_CFLAGS, since
2847           everything that uses GStreamer API should have the includes
2848
2849 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2850
2851         * docs/gst/gstreamer-sections.txt:
2852         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2853         * gst/gstvalue.h:
2854           give each value a _get_type, removes the DATA exports
2855
2856 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2857
2858         * gst/gst.c:
2859         * gst/gst.h:
2860           remove _gst_registry_auto_load, not used anymore
2861         * gst/gstbin.c: (gst_bin_get_type):
2862         * gst/gstbin.h:
2863         * gst/gstelement.c: (gst_element_get_type):
2864         * gst/gstelement.h:
2865         * gst/gstobject.c: (gst_object_get_type):
2866         * gst/gstobject.h:
2867         * gst/gstpad.c: (gst_pad_get_type):
2868         * gst/gstpad.h:
2869           make _get_type functions similar, fixes data export from library
2870
2871 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2872
2873         * configure.ac:
2874           correctly make conditionals
2875         * gst/elements/Makefile.am:
2876         * gst/elements/gstelements.c:
2877           fix typo causing fdsrc not to build
2878
2879 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2880
2881         * testsuite/Makefile.am:
2882         * testsuite/bytestream/.cvsignore:
2883         * testsuite/bytestream/Makefile.am:
2884         * testsuite/bytestream/filepadsink.c:
2885         * testsuite/bytestream/gstbstest.c:
2886         * testsuite/bytestream/test1.c:
2887         * testsuite/bytestream/testfile1:
2888         * testsuite/caps/normalisation.c:
2889         * testsuite/caps/random.c: (main):
2890         * testsuite/cleanup/.cvsignore:
2891         * testsuite/cleanup/Makefile.am:
2892         * testsuite/cleanup/cleanup1.c:
2893         * testsuite/cleanup/cleanup2.c:
2894         * testsuite/cleanup/cleanup3.c:
2895         * testsuite/cleanup/cleanup4.c:
2896         * testsuite/cleanup/cleanup5.c:
2897         * testsuite/controller/interpolator.c:
2898         * testsuite/debug/printf_extension.c: (main):
2899         * testsuite/elements/tee.c:
2900         * testsuite/negotiation/.cvsignore:
2901         * testsuite/negotiation/Makefile.am:
2902         * testsuite/negotiation/pad_link.c:
2903         * testsuite/pad/Makefile.am:
2904         * testsuite/pad/chainnopull.c:
2905         * testsuite/pad/getnopush.c:
2906         * testsuite/pad/link.c:
2907         * testsuite/refcounting/sched.c: (create_pipeline):
2908         * testsuite/registry/Makefile.am:
2909         * testsuite/registry/gst-print-formats.c:
2910         * testsuite/schedulers/.cvsignore:
2911         * testsuite/schedulers/142183-2.c:
2912         * testsuite/schedulers/142183.c:
2913         * testsuite/schedulers/143777-2.c:
2914         * testsuite/schedulers/143777.c:
2915         * testsuite/schedulers/147713.c:
2916         * testsuite/schedulers/147819.c:
2917         * testsuite/schedulers/147894-2.c:
2918         * testsuite/schedulers/147894.c:
2919         * testsuite/schedulers/Makefile.am:
2920         * testsuite/schedulers/group_link.c:
2921         * testsuite/schedulers/queue_link.c:
2922         * testsuite/schedulers/relink.c:
2923         * testsuite/schedulers/unlink.c:
2924         * testsuite/schedulers/unref.c:
2925         * testsuite/schedulers/useless_iteration.c:
2926         * testsuite/states/bin.c:
2927           clean out/remove some stuff from the testsuite directories
2928
2929 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2930
2931         * configure.ac:
2932           check for some headers
2933         * gst/elements/Makefile.am:
2934         * gst/elements/gstelements.c:
2935           don't compile fdsrc without sys/socket.h
2936         * gst/indexers/Makefile.am:
2937         * gst/indexers/gstindexers.c: (plugin_init):
2938           don't compile fileindex without mmap
2939
2940 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2941
2942         * configure.ac:
2943           reorganize
2944           clean up
2945           document more
2946           remove cruft
2947         * check/Makefile.am:
2948         * docs/gst/Makefile.am:
2949         * examples/helloworld/Makefile.am:
2950         * gst/Makefile.am:
2951         * gst/base/Makefile.am:
2952         * gst/check/Makefile.am:
2953         * gst/elements/Makefile.am:
2954         * gst/indexers/Makefile.am:
2955         * gst/parse/Makefile.am:
2956         * libs/gst/controller/Makefile.am:
2957         * libs/gst/dataprotocol/Makefile.am:
2958         * examples/helloworld/helloworld.c: (event_loop):
2959           compile fixes, though it's not being compiled currently
2960
2961 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2962
2963         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2964           Add some simple tests for the new taglist date API.
2965
2966 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2967
2968         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2969         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2970           Beautify 'last-message' output: print 'none' for buffer timestamps
2971           and durations if none is set; improve alignment with next messages.
2972
2973 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2974
2975         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2976         * gst/gstpluginfeature.h:
2977         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2978         * gst/gstregistry.h:
2979         * docs/gst/gstreamer-sections.txt:
2980           Add new API to check plugin feature version requirements.
2981
2982         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2983           Some basic tests for the above.         
2984
2985 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2986
2987         * gst/gststructure.c: (gst_structure_to_string):
2988           guard against NULL printf - happens when for example
2989           a message structure with GstClock gets serialized
2990
2991 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2992
2993         * gst/base/gstcollectpads.c: (gst_collectpads_event):
2994           Fix presumable copy'n'pasto.
2995
2996 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2997
2998         * gst/elements/gstfakesrc.h:
2999         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3000         * gst/elements/gsttypefindelement.c:
3001           fix some signedness
3002         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3003           I wonder if this could actually write +2GB files before
3004
3005 2005-10-13  Andy Wingo  <wingo@pobox.com>
3006
3007         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3008         Fix Timmeke Waymans bug.
3009         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3010         string of the proper length to gst_caps_from_string. There's a
3011         potential for, before this fix, that this could cause someone
3012         connecting over the network to cause a segfault if the payload is
3013         not NUL-terminated.
3014
3015 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3016
3017         * docs/design/draft-push-pull.txt:
3018         * docs/design/part-overview.txt:
3019         * docs/random/TODO-pre-0.9:
3020         * docs/random/old/ChangeLog.gstreamer:
3021         * gst/base/gstpushsrc.c:
3022         * gst/gstclock.c:
3023           fixed typos
3024
3025 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3026
3027         * gst/glib-compat.c: (gst_flags_get_first_value):
3028         * gst/glib-compat.h:
3029         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3030         (gst_value_compare_double), (gst_value_serialize_flags):
3031           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3032           infinite loop
3033
3034 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3035
3036         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3037         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3038           fix up debugging
3039         * tools/gst-launch.c: (event_loop):
3040           print out clock nicely
3041
3042 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3043
3044         * docs/gst/gstreamer-sections.txt:
3045         * gst/gsttaglist.h:
3046         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3047         (gst_tag_list_get_date_index):
3048           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3049           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3050
3051 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3052
3053         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3054         (gst_collectpads_chain):
3055         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3056         in CollectData.
3057
3058 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3059
3060         * docs/gst/gstreamer-sections.txt:
3061         * gst/gst.c:
3062         * gst/gsterror.h:
3063         * tools/gst-inspect.c: (main):
3064         * tools/gst-launch.c: (main):
3065         * tools/gst-run.c: (main):
3066         * tools/gst-xmlinspect.c: (main):
3067           fix GOption context leaks
3068           doc fixes
3069
3070 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3071
3072         * gst/gstbus.c:
3073           use HAVE_UNISTD_H
3074         * win32/common/config.h:
3075           update config
3076         * win32/vs6/grammar.dsp:
3077         * win32/vs6/libgstelements.dsp:
3078         * win32/vs6/libgstreamer.dsp:
3079           update vs6 files
3080
3081 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3082
3083         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3084         * gst/base/gstbasesrc.c: (gst_base_src_query):
3085           fix more guint64<->gdouble conversions
3086
3087 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3088
3089         * Makefile.am:
3090           add win32-update target
3091         * win32/common/gstconfig.h:
3092         * win32/common/gstenumtypes.c:
3093         * win32/common/gstenumtypes.h:
3094         * win32/common/gstversion.h:
3095           add files that visual studio can't generate
3096
3097 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3098
3099         * Makefile.am:
3100           add a win32-update target
3101         * configure.ac:
3102
3103 2005-10-12  Wim Taymans  <wim@fluendo.com>
3104
3105         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3106         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3107         * gst/gstelement.c: (gst_element_commit_state),
3108         (gst_element_set_state):
3109         Protect flags with proper lock.
3110         unref provided cached clock in dispose.
3111
3112 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3113
3114         * gst/gst.c:
3115         * gst/gstminiobject.h:
3116         * gst/gstpad.h:
3117         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3118           removed unused flags from miniobject
3119           doc fixes
3120
3121 2005-10-12  Wim Taymans  <wim@fluendo.com>
3122
3123         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3124         (gst_file_sink_event), (gst_file_sink_render):
3125         Flush before seeking.
3126
3127 2005-10-12  Andy Wingo  <wingo@pobox.com>
3128
3129         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3130         always been the case.
3131
3132 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3133
3134         * check/gst/gstbin.c: (GST_START_TEST):
3135         * docs/gst/gstreamer-sections.txt:
3136         * gst/base/gstbasesink.c: (gst_base_sink_init):
3137         * gst/base/gstbasesrc.c: (gst_base_src_init),
3138         (gst_base_src_get_range), (gst_base_src_check_get_range),
3139         (gst_base_src_start), (gst_base_src_stop):
3140         * gst/base/gstbasesrc.h:
3141         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3142         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3143         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3144         (bin_bus_handler):
3145         * gst/gstbin.h:
3146         * gst/gstbuffer.h:
3147         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3148         * gst/gstbus.h:
3149         * gst/gstelement.c: (gst_element_is_locked_state),
3150         (gst_element_set_locked_state), (gst_element_commit_state),
3151         (gst_element_set_state):
3152         * gst/gstelement.h:
3153         * gst/gstindex.c: (gst_index_init):
3154         * gst/gstindex.h:
3155         * gst/gstminiobject.h:
3156         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3157         (gst_object_set_parent):
3158         * gst/gstobject.h:
3159         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3160         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3161         * gst/gstpad.h:
3162         * gst/gstpadtemplate.h:
3163         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3164         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3165         * gst/gstpipeline.h:
3166         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3167         (gst_file_index_commit):
3168         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3169         * testsuite/pad/link.c: (gst_test_src_init),
3170         (gst_test_filter_init), (gst_test_sink_init):
3171         * testsuite/states/locked.c: (main):
3172           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3173           moved bitshift from macro to enum definition
3174
3175 2005-10-12  Wim Taymans  <wim@fluendo.com>
3176
3177         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3178         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3179         (gst_file_sink_render):
3180         Some more debugging info.
3181
3182 2005-10-12  Wim Taymans  <wim@fluendo.com>
3183
3184         * docs/design/part-states.txt:
3185         * tools/gst-launch.c: (main):
3186         Some doc updates.
3187         Revert non-intentional change.
3188
3189 2005-10-12  Wim Taymans  <wim@fluendo.com>
3190
3191         * check/gst/gstbin.c: (GST_START_TEST):
3192         * check/gst/gstelement.c: (GST_START_TEST):
3193         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3194         * check/gst/gstghostpad.c: (GST_START_TEST):
3195         * check/gst/gstpipeline.c: (GST_START_TEST):
3196         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3197         * check/states/sinks.c: (GST_START_TEST):
3198         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3199         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3200         (gst_bin_remove_func), (gst_bin_get_state_func),
3201         (gst_bin_recalc_state), (gst_bin_change_state_func),
3202         (bin_bus_handler):
3203         * gst/gstelement.c: (gst_element_get_state_func),
3204         (gst_element_get_state), (gst_element_abort_state),
3205         (gst_element_commit_state), (gst_element_set_state),
3206         (gst_element_change_state), (gst_element_change_state_func):
3207         * gst/gstelement.h:
3208         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3209         (gst_pipeline_provide_clock_func):
3210         * gst/gstutils.c: (gst_element_link_pads_filtered):
3211         * tools/gst-launch.c: (main):
3212         * tools/gst-typefind.c: (main):
3213         Use GstClockTime in _get_state() instead of GTimeVal.
3214         Remove old code in gstutils.c
3215
3216 2005-10-12  Andy Wingo  <wingo@pobox.com>
3217
3218         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3219         removed.
3220
3221         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3222         there is no task. Shouldn't affect any code, as nothing in our
3223         plugins checks this return value.
3224         (gst_pad_stop_task): Also take the stream lock if the pad has no
3225         task. Docs updated.
3226
3227 2005-10-12  Wim Taymans  <wim@fluendo.com>
3228
3229         * gst/gstpad.c: (pre_activate), (post_activate),
3230         (gst_pad_activate_pull), (gst_pad_activate_push):
3231         Cleanup activation code. Reset old state if
3232         activation failed.
3233
3234 2005-10-12  Wim Taymans  <wim@fluendo.com>
3235
3236         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3237         (gst_base_sink_change_state):
3238         No need to prerol after receiving EOS.
3239
3240         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3241         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3242         * gst/elements/gstidentity.c: (gst_identity_event):
3243         Print events more verbosely.
3244
3245 2005-10-12  Wim Taymans  <wim@fluendo.com>
3246
3247         * check/Makefile.am:
3248         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3249         * check/states/sinks2.c:
3250         Moved sinks2 testcode in sinks check.
3251
3252         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3253         (gst_bin_remove_func), (gst_bin_recalc_state),
3254         (gst_bin_change_state_func), (bin_bus_handler):
3255         Fix potential race condition when _get_state() iterated over an
3256         ASYNC element right before it posted a state completion.
3257
3258         * gst/gstclock.h:
3259         Do proper cast here.
3260
3261         * gst/gstevent.c: (gst_event_new_newsegment),
3262         (gst_event_parse_newsegment):
3263         A playback rate of 0.0 is not allowed.
3264
3265 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3266
3267         * win32/common/config.h:
3268         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3269         (_trewinddir), (_ttelldir), (_tseekdir):
3270         * win32/common/dirent.h:
3271         * win32/common/gtchar.h:
3272         * win32/common/libgstbase.def:
3273         * win32/common/libgstreamer.def:
3274         * win32/vs6/grammar.dsp:
3275         * win32/vs6/gst_inspect.dsp:
3276         * win32/vs6/gst_launch.dsp:
3277         * win32/vs6/gstreamer.dsw:
3278         * win32/vs6/libgstbase.dsp:
3279         * win32/vs6/libgstelements.dsp:
3280         * win32/vs6/libgstreamer.dsp:
3281           Visual Studio 6 project files, and a new common directory.
3282           Phear.
3283
3284 2005-10-11  Wim Taymans  <wim@fluendo.com>
3285
3286         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3287         (gst_base_sink_do_sync), (gst_base_sink_query),
3288         (gst_base_sink_change_state):
3289         * gst/base/gstbasesink.h:
3290         Correctly parse newsegment info.
3291
3292 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3293
3294         * gst/gst.c: (init_post):
3295           split plugin paths correctly
3296
3297 2005-10-11  Wim Taymans  <wim@fluendo.com>
3298
3299         * check/gst/gstevent.c: (GST_START_TEST):
3300         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3301         (gst_base_sink_change_state):
3302         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3303         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3304         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3305         * gst/gstevent.c: (gst_event_new_newsegment),
3306         (gst_event_parse_newsegment):
3307         * gst/gstevent.h:
3308         Added extra flag to newsegment for future API freeze.
3309         Updated check and base elements.
3310
3311 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3312
3313         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3314         (gst_collectpads_add_pad), (gst_collectpads_pop),
3315         (gst_collectpads_event), (gst_collectpads_chain):
3316         * gst/base/gstcollectpads.h: Handle EOS correctly.
3317
3318 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3319
3320         * tools/gst-launch.c: (main):
3321           more null protecting
3322
3323 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3324
3325         * gst/gst-i18n-lib.h:
3326           check for ENABLE_NLS, not GETTEXT_PACKAGE
3327         * gst/gstregistry.c: (gst_registry_add_plugin),
3328         (gst_registry_scan_path_level),
3329         (_gst_registry_remove_cache_plugins):
3330           protect possibly NULL strings
3331         * gst/parse/types.h:
3332           config.h already included before
3333         * tools/gst-inspect.c: (main):
3334           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3335           check for ENABLE_NLS, not GETTEXT_PACKAGE
3336         * tools/gst-launch.c: (main):
3337           check for ENABLE_NLS, not GETTEXT_PACKAGE
3338
3339 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3340
3341         * configure.ac:
3342           if we don't have glib, fail before testing 2.8
3343         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3344           fix a leak, should fix plugins-base testsuite
3345
3346 2005-10-11  Andy Wingo  <wingo@pobox.com>
3347
3348         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3349         take the mode we're going to as an arg. Go head and set the mode
3350         and flushing flags now, so that if the activate function starts a
3351         thread all the flags will be in the right state.
3352         (post_activate): Renamed also. Just handle making sure streaming
3353         finishes for the deactivation case, and setting the deactivated
3354         mode.
3355         (gst_pad_set_active): Complain loudly if deactivation fails.
3356         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3357         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3358         remove the terrible hack.
3359
3360 2005-10-11  Wim Taymans  <wim@fluendo.com>
3361
3362         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3363         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3364         (gst_bin_recalc_state), (gst_bin_change_state_func),
3365         (gst_bin_dispose), (bin_bus_handler):
3366         * gst/gstbin.h:
3367         Prepare to make current EOS message queue more generic.
3368         Fix some typos.
3369
3370         * gst/gstevent.c: (gst_event_new_newsegment),
3371         (gst_event_parse_newsegment):
3372         * gst/gstevent.h:
3373         Rename base to stream_time.
3374
3375         * gst/gstmessage.h:
3376         Fix typo in docs.
3377
3378 2005-10-11  Wim Taymans  <wim@fluendo.com>
3379
3380         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3381         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3382         (gst_bin_change_state_func), (bin_bus_handler):
3383         * gst/gstbin.h:
3384         Work on proper clock selection.
3385
3386 2005-10-11  Edward Hervey  <edward@fluendo.com>
3387
3388         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3389         * libs/gst/controller/gstcontroller.h:
3390         Added GList* version of _remove_properties() in order to be able to wrap
3391         it in bindings.
3392
3393 2005-10-11  Wim Taymans  <wim@fluendo.com>
3394
3395         * docs/design/part-states.txt:
3396         Some more docs.
3397
3398         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3399         (gst_bin_change_state_func), (bin_bus_handler):
3400         Doc updates. Don't distribute the same clock over and over again.
3401
3402         * gst/gstclock.c:
3403         * gst/gstclock.h:
3404         Doc updates.
3405
3406         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3407         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3408         (gst_pad_send_event):
3409         * gst/gstpad.h:
3410         Make probe emission threadsafe again.
3411         Register quarks and move _get_name() from utils.
3412         Doc updates.
3413
3414         * gst/gstpipeline.c: (gst_pipeline_class_init),
3415         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3416         Only redistribute the clock of it changed.
3417
3418         * gst/gstsystemclock.h:
3419         Doc updates. 
3420
3421         * gst/gstutils.c:
3422         * gst/gstutils.h:
3423         Moved the _flow_get_name() to GstPad.
3424
3425 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3426
3427         * check/gst-libs/gdp.c: (GST_START_TEST):
3428         * check/gst/gstcaps.c: (GST_START_TEST):
3429         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3430         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3431         (gst_dp_packet_from_caps):
3432           fix more valgrind warnings before turning up the heat
3433
3434 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3435
3436         * gst/parse/grammar.y:
3437           some cleanup before the hacking
3438
3439 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3440
3441         * gst/base/gstbasesrc.c: (gst_base_src_query):
3442           use conversions
3443         * gst/gstutils.c: (gst_guint64_to_gdouble),
3444         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3445         * gst/gstutils.h:
3446           externalize, basesrc uses it
3447           obviously the implementation needs testing
3448
3449 2005-10-10  Wim Taymans  <wim@fluendo.com>
3450
3451         * tests/sched/Makefile.am:
3452         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3453         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3454
3455 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3456
3457         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3458           apparently converting from guint64 to double is not implemented
3459           on MSVC
3460
3461 2005-10-10  Wim Taymans  <wim@fluendo.com>
3462
3463         * check/Makefile.am:
3464         * check/generic/states.c: (GST_START_TEST):
3465         * check/gst/gstbin.c: (GST_START_TEST):
3466         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3467         * check/states/sinks.c: (GST_START_TEST):
3468         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3469         (main):
3470         Check fixes, use API as stated in design docs, remove hacks.
3471
3472         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3473         (gst_base_sink_change_state):
3474         Catch stopping our task while we're shutting down.
3475
3476         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3477         (gst_bin_remove_func), (gst_bin_get_state_func),
3478         (gst_bin_recalc_state), (gst_bin_change_state_func),
3479         (bin_bus_handler):
3480         * gst/gstbin.h:
3481         * gst/gstelement.c: (gst_element_init),
3482         (gst_element_get_state_func), (gst_element_abort_state),
3483         (gst_element_commit_state), (gst_element_lost_state),
3484         (gst_element_set_state), (gst_element_change_state),
3485         (gst_element_change_state_func):
3486         * gst/gstelement.h:
3487         New state change algorithm (see #318116)
3488
3489         * gst/gstpipeline.c: (gst_pipeline_class_init),
3490         (gst_pipeline_init), (gst_pipeline_set_property),
3491         (gst_pipeline_get_property), (do_pipeline_seek),
3492         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3493         * gst/gstpipeline.h:
3494         Remove crude state change hacks.
3495
3496         * gst/gstutils.h:
3497         Remove crude hacks.
3498
3499         * tools/gst-launch.c: (main):
3500         Fixes for state change. Needs some more work to fully use the
3501         new stuff.
3502
3503 2005-10-10  Andy Wingo  <wingo@pobox.com>
3504
3505         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3506
3507         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3508         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3509         issue.
3510
3511 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3512
3513         * gst/gstiterator.c: (gst_iterator_new):
3514           Fix my previous commit: GTypes passed to gst_iterator_new()
3515           can be fundamental types.
3516
3517 2005-10-10  Wim Taymans  <wim@fluendo.com>
3518
3519         * gst/gstelement.c: (gst_element_iterate_pad_list),
3520         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3521         (gst_element_iterate_sink_pads):
3522         Use src/sink pads lists for the respective iterators instead
3523         of filtering.
3524
3525 2005-10-10  Andy Wingo  <wingo@pobox.com>
3526
3527         Merged in popt removal + GOption addition patch from Ronald, bug
3528         #169772.
3529
3530         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3531         GstElement macros around, remove popt-related symbols, add goption
3532         stuff.
3533
3534         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3535         
3536         * docs/gst/Makefile.am:
3537         * docs/libs/Makefile.am: No POPT_CFLAGS.
3538         
3539         * examples/manual/Makefile.am:
3540         * docs/manual/basics-init.xml: Doc updates with an example.
3541         
3542         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3543         (gst_init), (parse_one_option), (parse_goption_arg):
3544         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3545         bit of hand merging and debugging to get the GOption stuff working
3546         tho.
3547         
3548         * tests/Makefile.am:
3549         * tools/Makefile.am:
3550         * tools/gst-inspect.c: (main):
3551         * tools/gst-launch.c: (main):
3552         * tools/gst-run.c: (main):
3553         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3554
3555 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3556
3557         * gst/gstiterator.c: (gst_iterator_new):
3558           Add assertions to make sure passed GType is likely to really
3559           be a GType (as the compiler won't catch it if the size and
3560           GType arguments get mixed up, see #318447).
3561
3562 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
3563
3564         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3565
3566         * gst/gstbin.c: (gst_bin_iterate_sorted):
3567           Pass GType and size arguments to gst_iterator_new() in the right
3568           order (maybe we should make _new() take the GType as first argument
3569           just like _new_list()?) (#318447).
3570           
3571
3572 2005-10-10  Wim Taymans  <wim@fluendo.com>
3573
3574         * gst/gstelement.c: (gst_element_finalize):
3575         And free the GStaticRecMutex too
3576
3577 2005-10-10  Andy Wingo  <wingo@pobox.com>
3578
3579         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3580         Allocate and free the mutex properly.
3581
3582         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3583         New macros.
3584         (GstElement): The state_lock is now recursive. Rebuild your
3585         plugins, suckers. Old macros adapted.
3586
3587         * docs/gst/gstreamer-sections.txt: Doc updates.
3588
3589         * gst/gstutils.h:
3590         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
3591         (g_static_rec_cond_wait): Ported from state changes patch, while
3592         we wait on bug #317802 to be solved in a well-distributed GLib.
3593
3594         * gst/gstelement.c (gst_element_change_state_func): Renamed from
3595         gst_element_change_state, variable name changes.
3596         (gst_element_change_state): Split out of gst_element_set_state in
3597         preparation for the state change merge. Doesn't pay attention to
3598         the 'transition' argument.
3599         (gst_element_set_state): Updates, hopefully purely cosmetic.
3600         (gst_element_sync_state_with_parent): MT-safety. Ported from the
3601         state change patch.
3602         (gst_element_get_state_func): Renamed from get_state, cosmetic
3603         changes.
3604
3605 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3606
3607         * gst/elements/gstelements.c:
3608         * win32/GStreamer.vcproj:
3609         * win32/config.h:
3610         * win32/dirent.c: (_tseekdir):
3611         * win32/gst-inspect.vcproj:
3612         * win32/gst-launch.vcproj:
3613         * win32/gstconfig.h:
3614         * win32/gstelements.vcproj:
3615         * win32/gstenumtypes.c: (gst_object_flags_get_type):
3616         * win32/gstreamer.def:
3617         * win32/msvc71.sln:
3618           updates for the win32 build (patch from Sebastien Moutte)
3619
3620 2005-10-10  Andy Wingo  <wingo@pobox.com>
3621
3622         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3623         gst_bin_get_state, cleaned up (but no logic changes).
3624         (bin_element_is_sink): Comment updates.
3625         (sink_iterator_filter): Remove needless cast.
3626         (gst_bin_iterate_sinks): Doc update.
3627         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3628         cleaned up (but no logic changes).
3629
3630         * check/states/sinks.c (test_src_sink): Cleanups from the state
3631         change patch.
3632         (test_livesrc_sink): Sync on the state.
3633
3634         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3635         the state change patch.
3636
3637         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3638         change patch.
3639
3640         * check/gst/gstbin.c: Merge in some style fixes and additional
3641         checks from Wim's state change patch.
3642
3643 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3644
3645         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3646         (gst_type_find_helper):
3647           Check whether we have the requested data already in our list of
3648           cached buffers before pulling a new buffer; also make the buffer
3649           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3650
3651 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3652
3653         * gst/gstcaps.c:
3654         * gst/gstevent.c:
3655           doc updates
3656         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3657           don't use long long, it's not portable.  Replacing with
3658           gint64 seems to work; let's hope no skeletons fall out of the closet.
3659
3660 2005-10-10  Andy Wingo  <wingo@pobox.com>
3661
3662         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3663
3664 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
3665
3666         * docs/gst/gstreamer-sections.txt:
3667         * gst/gstevent.c:
3668         * gst/gstevent.h:
3669         * gst/gstinfo.c:
3670         * gst/gstinfo.h:
3671         * gst/gstmessage.c: (gst_message_parse_state_changed):
3672         * gst/gstpad.c:
3673         * gst/gstpad.h:
3674           more docs, fix compilation
3675
3676 2005-10-09  Philippe Khalaf <burger@speedy.org>
3677         * gst/gstmessage.c:
3678           Fixed a few forgotten variables on previous commit
3679
3680 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3681
3682         * gst/base/gsttypefindhelper.c: (helper_find_peek):
3683           Fix evil typefind crasher: getrange() might return a short
3684           buffer at the end of a file, but gst_type_find_peek() must
3685           either return the full data as requested or NULL, but
3686           never a short buffer.
3687
3688 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3689
3690         * gst/gstmessage.c: (gst_message_new_state_changed),
3691         (gst_message_parse_state_changed):
3692         * gst/gstmessage.h:
3693           don't use "new", it's a C++ keyword
3694
3695 2005-10-08  Wim Taymans  <wim@fluendo.com>
3696
3697         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3698         * gst/gstelement.c: (gst_element_post_message):
3699         * gst/gstpipeline.c: (gst_pipeline_change_state):
3700         Small docs and debug updates.
3701
3702 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3703
3704         * docs/gst/gstreamer-sections.txt:
3705         * gst/gstelementfactory.c:
3706         * gst/gstevent.c:
3707         * gst/gsttaglist.c:
3708           more docs
3709
3710 2005-10-08  Wim Taymans  <wim@fluendo.com>
3711
3712         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3713         (gst_bin_dispose), (bin_bus_handler):
3714         Fix typos, add comments.
3715         Clear EOS list when going to PAUSED from any direction and do it
3716         in a threadsafe way.
3717         Get base time in a threadsafe way too.
3718         Fix confusing debug in the change_state function.
3719         Various other small cleanups.
3720         
3721         * gst/gstelement.c: (gst_element_post_message):
3722         Fix very verbose bus posting code.
3723
3724         * gst/gstpipeline.c: (gst_pipeline_class_init),
3725         (gst_pipeline_set_property), (gst_pipeline_get_property),
3726         (gst_pipeline_change_state):
3727         Small ARG_ -> PROP_ cleanup
3728
3729 2005-10-08  Wim Taymans  <wim@fluendo.com>
3730
3731         * gst/gstbin.c: (is_eos), (bin_bus_handler):
3732         Do a less CPU demanding EOS check because we can.
3733
3734 2005-10-08  Wim Taymans  <wim@fluendo.com>
3735
3736         * libs/gst/dataprotocol/dataprotocol.c:
3737         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3738         (gst_dp_packet_from_event):
3739         * libs/gst/dataprotocol/dataprotocol.h:
3740         * libs/gst/dataprotocol/dp-private.h:
3741         It's about time we bump the version number.
3742         Since event types don't fit in the guint8 anymore describing
3743         the payload type, make payload type 16 bits wide.
3744
3745 2005-10-08  Wim Taymans  <wim@fluendo.com>
3746
3747         * docs/design/part-TODO.txt:
3748         * docs/design/part-clocks.txt:
3749         * docs/design/part-events.txt:
3750         * docs/design/part-gstbin.txt:
3751         * docs/design/part-gstelement.txt:
3752         * docs/design/part-gstpipeline.txt:
3753         * docs/design/part-live-source.txt:
3754         * docs/design/part-messages.txt:
3755         * docs/design/part-overview.txt:
3756         * docs/design/part-states.txt:
3757         Many doc updates.
3758
3759 2005-10-08  Wim Taymans  <wim@fluendo.com>
3760
3761         * gst/gstevent.c:
3762         * gst/gstevent.h:
3763         Fix event quark registration.
3764         Add some space between events so we can insert them in the
3765         right groups.
3766
3767 2005-10-08  Wim Taymans  <wim@fluendo.com>
3768
3769         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3770         (gst_base_sink_handle_buffer):
3771         Better log message.
3772
3773         * gst/gstbus.h:
3774         * gst/gstelement.h:
3775         More docs.
3776
3777         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3778         (gst_queue_set_property), (gst_queue_get_property):
3779         * gst/gstqueue.h:
3780         Remove old unused properties.
3781
3782 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3783         * docs/gst/gstreamer-sections.txt:
3784         * gst/gstmessage.c:
3785         * gst/gstmessage.h:
3786         * gst/gstminiobject.c:
3787         * gst/gstminiobject.h:
3788         * gst/gstobject.h:
3789         * gst/gstpad.h:
3790         * gst/gstutils.h:
3791           lots of new docs and doc fixes
3792
3793 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3794
3795         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3796         * gst/gstplugin.h:
3797         * gst/gstregistry.c: (gst_registry_lookup_locked),
3798         (gst_registry_scan_path_level):
3799         * gst/gstregistryxml.c: (load_plugin):
3800           Only ever load one plugin for a given plugin basename.
3801           This ensures correct overriding of GST_PLUGIN_PATH over
3802           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3803           system installed plugins.
3804
3805 2005-10-08  Wim Taymans  <wim@fluendo.com>
3806
3807         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3808         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3809         Prepare for doing QOS.
3810
3811 2005-10-08  Wim Taymans  <wim@fluendo.com>
3812
3813         * check/gst/gstbin.c: (GST_START_TEST):
3814         * check/pipelines/cleanup.c: (GST_START_TEST):
3815         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3816         Allow new clock message too.
3817
3818 2005-10-08  Wim Taymans  <wim@fluendo.com>
3819
3820         * gst/gstmessage.c: (gst_message_new_error),
3821         (gst_message_new_warning), (gst_message_new_tag),
3822         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3823         (gst_message_new_clock_lost), (gst_message_new_new_clock),
3824         (gst_message_new_segment_start), (gst_message_new_segment_done),
3825         (gst_message_parse_state_changed),
3826         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3827         (gst_message_parse_new_clock):
3828         * gst/gstmessage.h:
3829         Also carry the clock in question.
3830
3831 2005-10-08  Wim Taymans  <wim@fluendo.com>
3832
3833         * gst/gstmessage.c: (gst_message_new_custom),
3834         (gst_message_new_eos), (gst_message_new_error),
3835         (gst_message_new_warning), (gst_message_new_tag),
3836         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3837         (gst_message_new_new_clock), (gst_message_new_segment_start),
3838         (gst_message_new_segment_done), (gst_message_parse_state_changed),
3839         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3840         * gst/gstmessage.h:
3841         Clean up.
3842         Added clock related messages.
3843
3844         * gst/gstpipeline.c: (gst_pipeline_change_state):
3845         Post message when the clock changed.
3846
3847         * tools/gst-launch.c: (event_loop):
3848         Print new clock.
3849
3850 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3851
3852         * tools/gst-inspect.c: (print_element_properties_info):
3853           Can't pass NULL strings to g_print() on windows.
3854
3855 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3856
3857         * docs/Makefile.am:
3858         * docs/gst/Makefile.am:
3859         * docs/gst/gstreamer-docs.sgml:
3860         * docs/gst/running.xml:
3861         * docs/version.entities.in:
3862           add a chapter on running GStreamer.
3863           document GST_DEBUG and GST_PLUGIN* env vars
3864
3865 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3866
3867         * Makefile.am:
3868           remove include dir
3869         * configure.ac:
3870           remove PLUGINS_BUILDDIR stuff
3871         * gst/gst.c: (init_post):
3872           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3873         * idiottest.mak:
3874           remove, it was condescending and not needed
3875
3876 2005-10-08  Wim Taymans  <wim@fluendo.com>
3877
3878         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3879         (gst_base_sink_handle_object), (gst_base_sink_event),
3880         (gst_base_sink_wait), (gst_base_sink_handle_event),
3881         (gst_base_sink_change_state):
3882         * gst/base/gstbasesink.h:
3883         Repost EOS message while going to PLAYING if still EOS.
3884         Make sure that when receiving a FLUSH_START we don't attempt
3885         to sync on the clock anymore.
3886
3887 2005-10-08  Wim Taymans  <wim@fluendo.com>
3888
3889         * tools/gst-launch.c: (event_loop):
3890         Better message printout.
3891
3892 2005-10-08  Wim Taymans  <wim@fluendo.com>
3893
3894         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3895         (gst_bin_child_proxy_get_children_count):
3896         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3897         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3898         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3899         (gst_child_proxy_set_valist):
3900         * gst/parse/grammar.y:
3901         Make ChildProxy threadsafe and fix mem leaks.
3902
3903 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3904
3905         * gst/gst.c: (init_post):
3906           debug the GST_PLUGIN_ env vars
3907
3908 2005-10-08  Wim Taymans  <wim@fluendo.com>
3909
3910         * check/gst/gstbin.c: (GST_START_TEST):
3911         * check/gst/gstmessage.c: (GST_START_TEST):
3912         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3913         * gst/gstelement.c: (gst_element_commit_state),
3914         (gst_element_lost_state):
3915         * gst/gstmessage.c: (gst_message_new_state_changed),
3916         (gst_message_parse_state_changed):
3917         * gst/gstmessage.h:
3918         * tools/gst-launch.c: (event_loop):
3919         Added extra field to STATE_CHANGE message with the pending
3920         state, which will be different from the new state soon.
3921
3922 2005-10-08  Wim Taymans  <wim@fluendo.com>
3923
3924         * gst/gstbus.c: (gst_bus_pop):
3925         * gst/gstclock.c:
3926         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3927         Small cleanups and doc updates.
3928
3929 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3930
3931         * gst/gst.c: (init_pre):
3932         * gst/gstbin.c: (gst_bin_add_func):
3933           log distributing clocks and base time
3934         * gst/gstregistry.c: (gst_registry_add_plugin),
3935         (gst_registry_scan_path_level), (gst_registry_scan_path):
3936           clean up the debugging output a little
3937         * gst/gstutils.c: (gst_element_state_get_name):
3938           warn about a memleak (I've actually seen this be used, though
3939           it was probably a bug)
3940
3941 2005-10-07  Wim Taymans  <wim@fluendo.com>
3942
3943         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3944         (gst_base_src_init), (gst_base_src_default_newsegment),
3945         (gst_base_src_newsegment), (gst_base_src_do_seek),
3946         (gst_base_src_loop), (gst_base_src_start):
3947         * gst/base/gstbasesrc.h:
3948         Make the newsegment event customizable by subclasses.
3949
3950 2005-10-07  Wim Taymans  <wim@fluendo.com>
3951
3952         * gst/gstevent.c: (gst_event_new_buffersize),
3953         (gst_event_parse_buffersize):
3954         * gst/gstevent.h:
3955         New event for future idea.
3956
3957 2005-10-07  Andy Wingo  <wingo@pobox.com>
3958
3959         * gst/gstelement.c (gst_element_post_message): Doc update.
3960
3961         * docs/gst/gstreamer-sections.txt: Update.
3962
3963         * gst/gstmessage.c (gst_message_new_application): Made into a
3964         function like honest API calls.
3965         (gst_message_new_element): New message type.
3966
3967         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3968
3969         * check/elements/fakesrc.c (test_no_preroll): New check, checks
3970         that setting a live fakesrc to PAUSED returns NO_PREROLL both
3971         times.
3972
3973         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3974         NO_PREROLL from gst_element_change_state to fall through.
3975
3976 2005-10-07  Wim Taymans  <wim@fluendo.com>
3977
3978         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3979         (gst_ghost_pad_do_activate_push):
3980         Activating a ghostpad with no internal pad in push mode
3981         is ok.
3982
3983 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3984
3985         * gst/gstobject.h:
3986           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3987           Fixes compilation on Windows.
3988
3989 2005-10-07  Michael Smith <msmith@fluendo.com>
3990
3991         * tools/gst-inspect.c:
3992           Print out feature and plugin count at the end when printing out
3993           all features.
3994
3995 2005-10-04  Michael Smith <msmith@fluendo.com>
3996
3997         * gst/gsterror.c: (_gst_stream_errors_init):
3998           Add another error string used in a few existing plugins.
3999
4000         * gst/gstplugin.c:
4001         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4002         * tools/gst-inspect.c: (print_element_info):
4003           When a feature disappears from a plugin (and the feature exists in
4004           the cached registry file), things went horribly wrong. This isn't a
4005           complete fix, we should actually be removing the 'missing' features
4006           from the features list when we load the actual plugin. That's not
4007           yet implemented. 
4008
4009 2005-10-04  Johan Dahlin  <johan@gnome.org>
4010
4011         * check/gst/gstiterator.c: (GST_START_TEST):
4012         * gst/gstbin.c: (gst_bin_iterate_elements),
4013         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4014         * gst/gstelement.c: (gst_element_iterate_pads):
4015         * gst/gstformat.c: (gst_format_iterate_definitions):
4016         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4017         (gst_iterator_new_list), (gst_iterator_filter):
4018         * gst/gstiterator.h:
4019         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4020         Add a GType to GstIterator, update callsites and tests.
4021
4022 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4023
4024         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4025           give events a chance to be handled by event probes when the pad
4026           is not linked
4027
4028 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4029
4030         * gst/gstevent.c: (gst_event_type_get_name),
4031         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4032         * gst/gstevent.h:
4033           add string representations for event types
4034
4035 2005-10-06  Wim Taymans  <wim@fluendo.com>
4036
4037         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4038         Don't use NULL pointers.
4039
4040 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4041
4042         * gst/gst_private.h:
4043         * gst/gstbus.c:
4044         * gst/gstelement.c:
4045         * gst/gstinfo.c:
4046         * gst/gstpluginfeature.c:
4047           widen the debug category in output to fit the biggest one we have
4048           add a bus category and use it
4049           play with the colors
4050           fix up some categories
4051
4052 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4053
4054         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4055           add push activation of sink ghost pads.
4056           Andye, please verify
4057
4058 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4059
4060         * gst/gstutils.c: (gst_element_link_pads):
4061           fix a bug in the case where neither element has a pad
4062         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4063           add a test for that case
4064
4065 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4066
4067         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4068           emit have-data before checking for peers.  This allows
4069           for probe handlers to connect elements.  This helps autopluggers.
4070         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4071         (gst_pad_suite):
4072           add six checks, linked/unlinked with no/true/false probe
4073
4074 2005-10-04  Wim Taymans  <wim@fluendo.com>
4075
4076         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4077         (gst_fake_sink_event), (gst_fake_sink_preroll),
4078         (gst_fake_sink_render), (gst_fake_sink_change_state):
4079         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4080         (gst_fake_src_get_property), (gst_fake_src_create),
4081         (gst_fake_src_stop):
4082         * gst/elements/gstidentity.c: (gst_identity_stop):
4083         Protect last_message with lock.
4084
4085 2005-10-04  Edward Hervey  <edward@fluendo.com>
4086
4087         * gst/gstformat.h: 
4088         Added precision in the comments for GST_FORMAT_DEFAULT
4089
4090 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4091
4092         * tools/gst-launch.c: (main):
4093           Don't try to run erroneous pipelines.
4094
4095 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4096
4097         * gst/gstbus.c: We don't need this header.
4098
4099 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4100
4101         * configure.ac:
4102           back to development
4103
4104 === release 0.9.3 ===
4105
4106 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4107
4108         * README:
4109         * configure.ac:
4110           Releasing 0.9.3, "Unregistered"
4111
4112 2005-10-03  Andy Wingo  <wingo@pobox.com>
4113
4114         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4115         whereby calling a pad's activatepush() function can start a thread
4116         that starts to push or pull before the pad gets the FLUSHING flag
4117         unset. Hack around it by holding the stream lock until the flag is
4118         set. Need to replace this with a proper solution. Together with
4119         the ghost pad fixes, this fixes mp3 playing/tagreading.
4120
4121         * docs/design/part-gstghostpad.txt: Add a note about activation of
4122         proxy pads outside of ghost pads.
4123
4124         * gst/gstghostpad.c: Implement the ghost pad activation design.
4125
4126 2005-10-02  Andy Wingo  <wingo@pobox.com>
4127
4128         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4129         It is volatile, after all.
4130
4131         * docs/design/part-gstghostpad.txt: Flesh out activation with
4132         ghost pads.
4133
4134         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4135         GST_DEBUG_FUNCPTR.
4136
4137 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4138
4139         * configure.ac:
4140           Fix (unused) AM_CONDITIONAL tests.
4141
4142 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4143
4144         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4145
4146         * gst/gstutils.c: (gst_pad_query_convert):
4147           Add assertion that makes sure src_val is >=0, just like
4148           gst_query_new_convert() has. (#315895)
4149
4150 2005-09-30  Edward Hervey  <edward@fluendo.com>
4151
4152         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4153         Let's not iterate pads we're not interested in, it avoids getting 
4154         sky-high refcounts on sinkpad.
4155
4156 2005-09-30  Wim Taymans  <wim@fluendo.com>
4157
4158         * gst/gstelement.c: (gst_element_set_state),
4159         (gst_element_change_state):
4160         Small tweak, element in ASYNC remains ASYNC.
4161
4162 2005-09-30  Wim Taymans  <wim@fluendo.com>
4163
4164         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4165         Only error is an error.
4166
4167         * gst/gstbin.c: (gst_bin_change_state):
4168         Better debugging.
4169
4170         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4171         Also call pad_block in pad alloc.
4172
4173         * gst/gstutils.c: (gst_flow_get_name):
4174         Better debugging.
4175
4176 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4177
4178         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4179         (gst_base_src_get_range):
4180           Fix documentation typos. Add some more debug info.
4181
4182 2005-09-29  David Schleef  <ds@schleef.org>
4183
4184         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4185           more end-user friendly.
4186         * tools/gst-inspect.c: (main): Check if command-line argument is
4187           a file and attempt to load that file as a plugin.
4188
4189 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4190
4191         * check/gst/gstbin.c:
4192         * check/states/sinks.c:
4193           fix tests for the new warning
4194         * check/gst/gstpipeline.c:
4195           add a test for pipeline and bus interaction
4196         * gst/gstelement.c:
4197           elements should be NULL if they get disposed; add a warning if not
4198
4199 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4200
4201         * gst/gstobject.c:
4202           for 2.6 refcounting, make debug log more correct by printing
4203           the actual refcounts at the time of swap (Wim)
4204
4205 2005-09-29  Andy Wingo  <wingo@pobox.com>
4206
4207         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4208         removes signal watches previously added via
4209         gst_bus_add_signal_watch.
4210         (gst_bus_add_signal_watch): Don't return the source id, just store
4211         it on the bus if there wasn't an id already.
4212
4213         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4214         add_signal_watch and remove_signal_watch.
4215
4216 2005-09-29  Edward Hervey  <edward@fluendo.com>
4217
4218         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4219         Better if we actually iterate the list :)
4220
4221 2005-09-29  Wim Taymans  <wim@fluendo.com>
4222
4223         * check/gst/gstbin.c: (GST_START_TEST):
4224         Change for new bus API.
4225
4226         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4227         (send_messages), (GST_START_TEST), (gstbus_suite):
4228         Change for new bus signal API.
4229
4230         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4231         (gst_bus_source_prepare), (gst_bus_source_check),
4232         (gst_bus_create_watch), (gst_bus_add_watch_full),
4233         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4234         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4235         * gst/gstbus.h:
4236         Remove support for multiple GSources operating on different
4237         message types as it is too complex and unneeded when using
4238         signals.
4239         Added support for receiving signals from the bus.
4240
4241 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4242
4243         * docs/libs/tmpl/gstdataprotocol.sgml:
4244         * docs/manual/advanced-dataaccess.xml:
4245         * gst/elements/gstcapsfilter.c:
4246         * gst/gstutils.c:
4247           rename filter-caps to caps property
4248
4249 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4250
4251         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4252           More robust fraction string parsing.
4253
4254         * docs/pwg/appendix-porting.xml:
4255           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4256
4257 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4258
4259         * gst/gstcaps.c: (gst_caps_do_simplify):
4260           Thou shalt not free a structure and then continue using it
4261           in the next loop iteration.
4262
4263         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4264         (gst_caps_suite):
4265           Add test case for caps simplification.
4266
4267 2005-09-29  Wim Taymans  <wim@fluendo.com>
4268
4269         * check/gst/gstbin.c: (GST_START_TEST):
4270         Oops.
4271
4272 2005-09-29  Wim Taymans  <wim@fluendo.com>
4273
4274         * check/gst/gstbin.c: (GST_START_TEST):
4275         Add bus to bin.
4276
4277         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4278         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4279         (find_element), (gst_bin_sort_iterator_next),
4280         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4281         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4282         (gst_bin_change_state), (gst_bin_dispose):
4283         A bin does not have a bus, it gets the bus from the parent.
4284
4285         * gst/gstelement.c: (gst_element_requires_clock),
4286         (gst_element_provides_clock), (gst_element_is_indexable),
4287         (gst_element_is_locked_state), (gst_element_change_state),
4288         (gst_element_set_bus_func):
4289         Small cleanups.
4290
4291         * gst/gstpipeline.c: (gst_pipeline_class_init),
4292         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4293         The pipeline provides a bus.
4294
4295 2005-09-28  Johan Dahlin  <johan@gnome.org>
4296
4297         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4298         gst_structure_get_enum instead of gst_structure_get_int
4299
4300         * gst/gststructure.c (gst_structure_get_enum): Impl.
4301
4302         * gst/gststructure.h (gst_structure_get_enum): Add
4303
4304         * docs/gst/gstreamer-sections.txt: Ditto
4305
4306         * gst/gstmessage.c (gst_message_new_state_changed): Use
4307         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4308         which does introspection.
4309         Reviewed by Christian Schaller
4310
4311 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4312
4313         * gst/gstinfo.c: (gst_debug_log_default):
4314           don't do dummy g_strdup()s
4315         * libs/gst/controller/gstcontroller.c:
4316         (on_object_controlled_property_changed),
4317         (gst_controlled_property_new), (gst_controller_new_valist),
4318         (gst_controller_new_list),
4319         (gst_controller_remove_properties_valist), (gst_controller_set),
4320         (gst_controller_get), (gst_controller_sync_values),
4321         (gst_controller_get_value_array), (_gst_controller_class_init),
4322         (gst_controller_get_type):
4323         * libs/gst/controller/gstcontroller.h:
4324         * libs/gst/controller/gstinterpolation.c:
4325         (gst_controlled_property_find_timed_value_node):
4326           convert // to /**/ comments
4327
4328 2005-09-28  Wim Taymans  <wim@fluendo.com>
4329
4330         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4331         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4332         (gst_bus_sync_signal_handler):
4333         * gst/gstbus.h:
4334         Added async-message and sync-message signals to the bus.
4335         Added helper BusFunc to emit signals for all posted messages.
4336
4337         * gst/gstmessage.c: (gst_message_type_get_name),
4338         (gst_message_type_to_quark), (gst_message_get_type):
4339         * gst/gstmessage.h:
4340         Register quarks for message names.
4341
4342 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4343
4344         * docs/libs/gstreamer-libs-sections.txt:
4345         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4346         (gst_controller_new_list):
4347         * libs/gst/controller/gstcontroller.h:
4348           added another constructor for language bindings
4349
4350 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4351
4352         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4353           add another check
4354         * gst/gstbus.c:
4355           add some doc
4356         * gst/gstinfo.c: (_gst_debug_init):
4357           slightly more readable color for refcount debugging
4358
4359 2005-09-28  Wim Taymans  <wim@fluendo.com>
4360
4361         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4362         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4363         (find_element), (gst_bin_sort_iterator_next),
4364         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4365         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4366         (gst_bin_change_state), (gst_bin_dispose):
4367         Small doc fixes. get_clock -> provide_clock.
4368
4369         * gst/gstelement.c: (gst_element_class_init),
4370         (gst_element_provides_clock), (gst_element_provide_clock),
4371         (gst_element_get_clock), (gst_element_commit_state),
4372         (gst_element_lost_state):
4373         * gst/gstelement.h:
4374         Make get/set_clock() symetric. Add provide_clock vmethod since
4375         that is actually what this function does.
4376
4377         * gst/gstpipeline.c: (gst_pipeline_class_init),
4378         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4379         (gst_pipeline_get_clock):
4380         get_clock -> provide_clock.
4381
4382 2005-09-28  Andy Wingo  <wingo@pobox.com>
4383
4384         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4385         lieu of real docs...
4386
4387         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4388
4389 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4390
4391         * gst/elements/gstcapsfilter.c:
4392         * gst/elements/gstfakesink.c:
4393         * gst/elements/gstfakesrc.c:
4394         * gst/elements/gstfdsink.c:
4395         * gst/elements/gstfdsrc.c:
4396         * gst/elements/gstfilesink.c:
4397         * gst/elements/gstfilesrc.c:
4398         * gst/elements/gstidentity.c:
4399         * gst/elements/gsttee.c:
4400         * gst/elements/gsttypefindelement.c:
4401           Make element details static.
4402
4403 2005-09-28  Wim Taymans  <wim@fluendo.com>
4404
4405         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4406         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4407         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4408         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4409         (gst_bin_change_state), (gst_bin_dispose):
4410         Some documentation updates.
4411         Clean up dispose handlers.
4412
4413         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4414         * gst/gstpad.c: (gst_pad_dispose):
4415         Clean up dispose handler.
4416
4417         * gst/gstpipeline.c: (gst_pipeline_change_state):
4418         Removed spurious UNLOCK.
4419
4420 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4421
4422         * docs/gst/gstreamer-sections.txt:
4423         * gst/base/gstbasesrc.h:
4424         * gst/gstelement.h:
4425         * gst/gstevent.h:
4426         * gst/gstobject.h:
4427         * gst/gstpad.h:
4428         * gst/gstpipeline.c:
4429         * gst/gstpipeline.h:
4430         * gst/gstutils.h:
4431         * gst/gstxml.h:
4432           added two new functions to the docs
4433                 documents all undocumented GstXXXFlags
4434                 completed some incomplete docs 
4435
4436 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4437
4438         * gst/gstbin.c: (gst_bin_dispose):
4439         * gst/gstelement.c: (gst_element_dispose):
4440           remove now useless and leaky resurrection code in dispose
4441         * gst/base/gstbasesrc.c: (gst_base_src_init):
4442         * gst/gstelementfactory.c: (gst_element_factory_create):
4443         * gst/gstobject.c: (gst_object_set_parent):
4444           add some debugging
4445
4446 2005-09-27  Wim Taymans  <wim@fluendo.com>
4447
4448         * docs/design/part-TODO.txt:
4449         Update TODO.
4450
4451         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4452         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4453         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4454         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4455         (gst_bin_change_state):
4456         * gst/gstelement.h:
4457         Remove element variable, we keep element info in the iterator now.
4458
4459 2005-09-27  Andy Wingo  <wingo@pobox.com>
4460
4461         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4462         values.
4463
4464 2005-09-27  Wim Taymans  <wim@fluendo.com>
4465
4466         * check/gst/gstbin.c: (GST_START_TEST):
4467         Enable check that works now.
4468
4469         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4470         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4471         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4472         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4473         (gst_bin_change_state):
4474         * gst/gstbin.h:
4475         Redid the state change algorithm using a topological sort algo.
4476         Handles all cases correctly.
4477         Exposed iterator for state change order.
4478
4479         * gst/gstelement.h:
4480         Temp storage for state changes. Need to get rid of this soon.
4481
4482 2005-09-27  Wim Taymans  <wim@fluendo.com>
4483
4484         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4485         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4486         (link_fold_func), (gst_pad_proxy_setcaps):
4487         Leak fixes, the fold functions need to unref the passed object and
4488         _get_parent_*() returns ref to parent.
4489
4490 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4491
4492         * check/gst/gstbuffer.c: (test_make_writable):
4493           Plug leak in test case and fix 'make check-valgrind'
4494
4495 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4496
4497         * gst/gstbuffer.c: (gst_subbuffer_init):
4498           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4499           works correctly in all circumstances (we could have just copied
4500           the parent buffer's readonly flag, but conceptually it seems
4501           cleaner to mark all subbuffers as read-only). (based on patch
4502           by Alessandro Decina, #314710).
4503         
4504         * check/gst/gstbuffer.c: (create_read_only_buffer),
4505         (test_make_writable), (test_subbuffer_make_writable),
4506         (gst_test_suite):
4507           Add some tests for gst_buffer_make_writable().
4508
4509 2005-09-27  Wim Taymans  <wim@fluendo.com>
4510
4511         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4512         use gst_object_has_ancestor().
4513
4514         * gst/gstobject.c: (gst_object_has_ancestor):
4515         * gst/gstobject.h:
4516         gst_object_has_ancestor() copied from gstbin.c as it is a
4517         usefull function.
4518
4519         * tests/instantiate/create.c: (create_all_elements):
4520         * tests/lat.c: (handoff_src), (handoff_sink):
4521         * tests/sched/runxml.c: (main):
4522         * tests/seeking/seeking1.c: (main):
4523         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4524         (main):
4525         Fix compilation of some tests.
4526
4527 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4528
4529         * gst/gsterror.h:
4530           Remove comment. GST_TYPE_G_ERROR is here to stay,
4531           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4532           (#316961, #300610).
4533
4534 2005-09-26  Wim Taymans  <wim@fluendo.com>
4535
4536         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4537         Added check that shows error in state change order.
4538
4539 2005-09-26  Wim Taymans  <wim@fluendo.com>
4540
4541         * gst/gstbin.c: (gst_bin_change_state):
4542         Make state change function use 3 queues again, we were
4543         adding elements in the wrong order.
4544
4545         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4546         Some debug info,
4547
4548         * gst/gstpad.c: (gst_pad_dispose):
4549         Added some debug info first.
4550
4551 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4552
4553         * docs/design/draft-push-pull.txt:
4554         * docs/design/part-events.txt:
4555         * docs/design/part-overview.txt:
4556         * docs/design/part-scheduling.txt:
4557           Replace all _pull_region() with _pull_range()
4558           
4559 2005-09-26  Andy Wingo  <wingo@pobox.com>
4560
4561         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4562
4563         * check/gst-libs/controller.c: Update for controller api change.
4564
4565         * configure.ac: 
4566         * tests/Makefile.am:
4567         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4568         over by GLib bug 118439.
4569         
4570         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4571         routines to a function.
4572
4573         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4574
4575         * libs/gst/controller/gsthelper.c:
4576         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4577         (gst_object_sync_values): Renamed from sink_values. Ugh.
4578
4579         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4580
4581         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4582         Renamed from controller_key, as it is exported.
4583
4584         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4585
4586 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4587
4588         * gst/Makefile.am:
4589         * gst/gst.h:
4590         * gst/gstpad.h:
4591         * gst/gstpadtemplate.h:
4592         * gst/gstquery.c:
4593         * gst/gstquery.h:
4594         * gst/gstqueryutils.c:
4595         * gst/gstqueryutils.h:
4596           remove queryutils headers after moving the two used functions
4597           to gstquery.  also fixes build problem for gstsiddec
4598
4599 2005-09-26  Michael Smith <msmith@fluendo.com>
4600
4601         * tools/gst-launch.1.in:
4602         Correct documentation in manpage of debug syntax
4603
4604 2005-09-26  Wim Taymans  <wim@fluendo.com>
4605
4606         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4607         (gst_base_src_is_seekable), (gst_base_src_change_state):
4608         Some more debugging info.
4609
4610 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4611
4612         * docs/gst/gstreamer-sections.txt:
4613         * gst/base/gstbasetransform.h:
4614         * gst/gstindex.h:
4615           added more docs
4616
4617 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4618
4619         * docs/gst/.cvsignore:
4620         * docs/gst/tmpl/.cvsignore:
4621         * docs/gst/tmpl/gstpipeline.sgml:
4622         * docs/gst/tmpl/gstplugin.sgml:
4623         * gst/gstpipeline.c:
4624         * gst/gstplugin.c:
4625         * gst/gstplugin.h:
4626           inlined the last two docs files
4627           removed the tmpl directory from cvs (no more conflicts here!)
4628
4629 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4630
4631         * docs/gst/gstreamer-sections.txt:
4632         * docs/gst/tmpl/.cvsignore:
4633         * docs/gst/tmpl/gstpad.sgml:
4634         * docs/gst/tmpl/gstpadtemplate.sgml:
4635         * gst/Makefile.am:
4636         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4637         (gst_pad_finalize), (gst_pad_set_pad_template):
4638         * gst/gstpad.h:
4639         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4640         (gst_pad_template_class_init), (gst_pad_template_init),
4641         (gst_pad_template_dispose), (name_is_valid),
4642         (gst_static_pad_template_get), (gst_pad_template_new),
4643         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4644         (gst_pad_template_pad_created):
4645         * gst/gstpadtemplate.h:
4646           inlined two more docs
4647           factored gstpadtemplate out of gstpad
4648
4649 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4650
4651         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4652         (test_children_state_change_order_semi_sink):
4653           Fix test case: we can't rely on a fixed state change order when
4654           going from READY => PAUSED because the sink might commit its 
4655           new state first when the first buffer created by the source 
4656           reaches the sink before the source has finished its change state.
4657           (Test case still fails at times, see #316856, comment 5 onwards)
4658
4659 2005-09-24  Wim Taymans  <wim@fluendo.com>
4660
4661         * docs/design/part-events.txt:
4662         * docs/design/part-gstbus.txt:
4663         * docs/design/part-gstpipeline.txt:
4664         * docs/design/part-messages.txt:
4665         * docs/design/part-overview.txt:
4666         * docs/design/part-segments.txt:
4667         * gst/gstbin.c:
4668         * gst/gstbuffer.c:
4669         * gst/gstclock.c:
4670         * gst/gstelement.c:
4671         * gst/gstevent.c:
4672         * gst/gstfilter.c:
4673         * gst/gstiterator.c:
4674         Various documentation updates.
4675
4676 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4677
4678         * gst/gstclock.h:
4679           Well, that's embarassing.  Luckily we weren't using
4680           GST_CLOCK_DIFF anywhere.
4681
4682 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4683
4684         * common/gtk-doc.mak:
4685           don't fail on building XML, FC4 slave shows a bunch of doc
4686           missing bits that I don't get
4687         * gst/gstpad.c:
4688         * gst/gstpipeline.c:
4689         * gst/gststructure.c:
4690           some doc updates
4691
4692 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4693
4694         * docs/design/part-gstbin.txt:
4695         * docs/design/part-gstbus.txt:
4696         * gst/gstbus.c:
4697           Add blurb about how the bus goes into flushing mode and
4698           drops all messages when its bin goes from READY into NULL 
4699           state.
4700
4701 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4702
4703         * docs/gst/gstreamer-sections.txt:
4704         * gst/gststructure.c: (gst_structure_get_clock_time):
4705         * gst/gststructure.h:
4706           add a method to get a GstClockTime out of a structure
4707
4708 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4709
4710         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4711         (test_children_state_change_order_semi_sink), (gst_bin_suite):
4712           Added test to check state change order in bins (can still be made
4713           to fail here under heavy disk load; bails out with 'Push on pad
4714           fakesink:sink0, but it was not activated in push mode').
4715
4716         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4717           Fix state change order when there is only a semi sink (#316856)
4718
4719         * gst/gstbus.c: (gst_bus_class_init):
4720           Use _class_peek_parent(), not _class_ref(); fix docs to say
4721           'default main context' instead of 'mainloop' where that is
4722           what's meant.
4723
4724         * gst/gstelement.c: (gst_element_commit_state),
4725         (gst_element_set_state):
4726           Fix typos in debug messages
4727
4728 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4729
4730         * docs/README:
4731         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4732         * gst/gstpluginfeature.c:
4733         * gst/gstutils.c:
4734           various doc updates
4735         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4736           change an assert into an error until it gets fixed properly
4737
4738 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
4739
4740         * docs/gst/gstreamer-sections.txt:
4741         * docs/gst/tmpl/.cvsignore:
4742         * docs/gst/tmpl/gstelement.sgml:
4743         * docs/gst/tmpl/gstinfo.sgml:
4744         * docs/gst/tmpl/gstobject.sgml:
4745         * gst/gstelement.c:
4746         * gst/gstelement.h:
4747         * gst/gstinfo.c:
4748         * gst/gstinfo.h:
4749         * gst/gstobject.c: (gst_object_class_init):
4750         * gst/gstobject.h:
4751           inlined 3 more biiiig doc files and added some missing docs on the fly
4752
4753 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4754
4755         * check/gst/.cvsignore:
4756         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4757         * gst/gstregistryxml.c: (load_plugin),
4758         (gst_registry_xml_save_plugin):
4759           put back source in registry.  add checks for find_plugin.
4760         * testsuite/states/bin.c: (assert_state), (empty_bin),
4761         (test_adding_one_element), (main):
4762         * testsuite/states/locked.c: (main):
4763           some compile/run fixes
4764
4765 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4766
4767         * check/gst/gstvalue.c: (GST_START_TEST):
4768           fix leaks in the test itself
4769
4770 2005-09-22  Wim Taymans  <wim@fluendo.com>
4771
4772         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4773         (gst_base_sink_send_event), (gst_base_sink_peer_query),
4774         (gst_base_sink_query):
4775         Prepare for more accurate position reporting and query
4776         handling.
4777
4778         * gst/gstelement.c: (gst_element_send_event),
4779         (gst_element_set_state):
4780         Add some comment.
4781
4782 2005-09-22  Wim Taymans  <wim@fluendo.com>
4783
4784         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4785         (gst_query_parse_segment):
4786         * gst/gstquery.h:
4787         More documentation.
4788         Add segment query for future use.
4789
4790 2005-09-22  Wim Taymans  <wim@fluendo.com>
4791
4792         * gst/gstbin.c: (gst_bin_add_func):
4793         Some more debug info.
4794
4795         * gst/gstelement.c: (gst_element_send_event):
4796         Simplify send_event
4797
4798         * gst/gstelement.h:
4799         Don't know how flags got broken.
4800
4801         * gst/gstquery.h:
4802         Added new query.
4803
4804 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4805
4806         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4807           Add simplistic test suite for GST_TYPE_DATE serialisation and
4808           deserialisation.
4809
4810 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4811
4812         * docs/gst/gstreamer-sections.txt:
4813         * gst/gststructure.c: (gst_structure_set_valist),
4814         (gst_structure_get_date):
4815         * gst/gststructure.h:
4816         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4817         (gst_date_copy), (gst_value_compare_date),
4818         (gst_value_serialize_date), (gst_value_deserialize_date),
4819         (gst_value_transform_date_string),
4820         (gst_value_transform_string_date), (_gst_value_initialize):
4821         * gst/gstvalue.h:
4822           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4823           bunch of utility functions along with a hack that checks that
4824           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4825           is required. Part of the grand scheme in #170777.
4826
4827 2005-09-22  Andy Wingo  <wingo@pobox.com>
4828
4829         * gst/gstconfig.h.in: Psych out gtk-doc.
4830
4831         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4832
4833         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4834
4835         * tools/gst-inspect.c (print_element_list): Plug some
4836         inconsequential leaks.
4837
4838         * gst/gstregistry.c (gst_registry_get_default): Doc.
4839
4840         * check/gst/gstplugin.c: 
4841         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4842         * gst/gstelementfactory.c (gst_element_factory_create): 
4843         * gst/gstindexfactory.c (gst_index_factory_create): Update for
4844         refcount changes.
4845
4846         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4847         (gst_plugin_feature_load): Doc, don't eat refs.
4848
4849         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4850         (gst_plugin_list_free): Doc.
4851         (gst_plugin_load_file): Doc updates.
4852
4853         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4854         accessors returning refcounted objects, return a ref.
4855
4856         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4857         accessor for caps. IDEMPOTENCE. Oh yes.
4858
4859 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
4860
4861         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4862
4863         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4864         (_gst_debug_register_funcptr):
4865           Add mutex to serialise access to the hash table with
4866           the function pointer => function name string mapping;
4867           make that hash table static scope (#316809).
4868
4869         * gst/registries/.cvsignore:
4870           Remove left-over file.
4871
4872 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4873
4874         * docs/pwg/appendix-porting.xml:
4875           And something about newsegment events and caps-on-buffers to
4876           the porting guide (feel free to improve).
4877
4878 2005-09-21  Andy Wingo  <wingo@pobox.com>
4879
4880         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4881         data and event probes on the same pad.
4882         (test_buffer_probe_once): Test that removing probes from within
4883         the probe functions works.
4884
4885 2005-09-21  Andy Wingo  <wingo@pobox.com>
4886
4887         * check/gst/gstutils.c: New file.
4888         (test_buffer_probe_n_times): A simple buffer probe test. More to
4889         come, foolios.
4890
4891         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4892         have-data::buffer, not have-data.
4893         (gst_pad_add_event_probe): Likewise for have-data::event.
4894         (gst_pad_add_data_probe): More docs. The part about 'resolving the
4895         peer' isn't quite right yet though.
4896         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
4897         (gst_pad_remove_data_probe): Change to take the guint handler_id
4898         as their arg, not the function+data, which is more glib-like.
4899
4900         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4901         the signal emission to indicate if the data is a buffer or an
4902         event.
4903         (gst_pad_get_type): Initialize buffer and event quarks.
4904         (gst_pad_class_init): have-data is now a detailed signal, yes it
4905         is.
4906
4907 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4908
4909         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4910         * gst/gstutils.c: (gst_util_set_value_from_string),
4911         (gst_util_set_object_arg):
4912           Don't put functional code in g_return_if_fail() or
4913           g_return_val_if_fail() statements, otherwise things will 
4914           break when G_DISABLE_CHECKS is defined during compilation.
4915
4916 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4917
4918         * docs/gst/tmpl/.cvsignore:
4919         * docs/gst/tmpl/gstvalue.sgml:
4920         * gst/gstvalue.c:
4921         * gst/gstvalue.h:
4922           inlied another one and added  some obvious docs
4923
4924 2005-09-21  Wim Taymans  <wim@fluendo.com>
4925
4926         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4927         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4928         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4929         (gst_fdsrc_get_property), (gst_fdsrc_create):
4930         * gst/elements/gstfdsrc.h:
4931         Properly implement fdsrc. Removed signal and timeout,
4932         better implemented somewhere else.
4933
4934 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4935
4936         * docs/gst/tmpl/.cvsignore:
4937         * docs/gst/tmpl/gstimplementsinterface.sgml:
4938         * gst/gstinterface.c:
4939           inlined more docs
4940
4941 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4942
4943         * docs/gst/gstreamer-sections.txt:
4944         * docs/gst/tmpl/.cvsignore:
4945         * docs/gst/tmpl/gstenumtypes.sgml:
4946           remove obsolete doc file
4947
4948 2005-09-21  David Schleef  <ds@schleef.org>
4949
4950         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4951         little beer, fix a little leak.
4952
4953 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4954
4955         * docs/gst/gstreamer-docs.sgml:
4956         * docs/gst/gstreamer-sections.txt:
4957         * docs/gst/tmpl/.cvsignore:
4958         * gst/Makefile.am:
4959         * gst/gst.h:
4960         * gst/gstbin.c:
4961         * gst/gstelement.h:
4962         * gst/gstindex.c: (gst_index_class_init):
4963         * gst/gstindex.h:
4964         * gst/gstindexfactory.c: (gst_index_factory_get_type),
4965         (gst_index_factory_class_init), (gst_index_factory_init),
4966         (gst_index_factory_finalize), (gst_index_factory_new),
4967         (gst_index_factory_destroy), (gst_index_factory_find),
4968         (gst_index_factory_create), (gst_index_factory_make):
4969         * gst/gstindexfactory.h:
4970         * gst/gstpluginfeature.c:
4971         * gst/gstpluginfeature.h:
4972         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4973           more docs inlined, splitted gstindex.{c,h}
4974
4975 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4976
4977         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4978           fix a leak
4979
4980 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4981
4982         * gst/elements/gstfilesink.c: (gst_file_sink_init):
4983           Set sync to FALSE by default.
4984
4985 2005-09-20  Wim Taymans  <wim@fluendo.com>
4986
4987         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4988         (gst_base_sink_init):
4989         Make sync property settable from subclass.
4990
4991         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4992         (gst_fake_sink_change_state):
4993         Set sync to FALSE by default.
4994
4995 2005-09-20  Wim Taymans  <wim@fluendo.com>
4996
4997         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4998         * tools/gst-launch.c: (main):
4999         The timeout handler should have lower priority than the source
5000         so we don't timeout before popping a message with 0 timeout.
5001         Dump error messages after failed state change.
5002
5003 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5004
5005         * tools/gst-inspect.c: (print_element_properties_info):
5006           Fix two typos.
5007
5008 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5009
5010         * check/gst/gstevent.c:
5011         * gst/elements/gstfakesink.c:
5012         * gst/elements/gstfakesink.h:
5013           remove the sync property from fakesink.
5014           has the side effect of setting sync TRUE
5015           for fakesink, which is a change.  Anyone who knows how
5016           to fix this nicely in a GObject-y way, feel free.
5017
5018 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5019
5020         * docs/gst/gstreamer-docs.sgml:
5021           remove probe refsection
5022
5023 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5024
5025         * check/Makefile.am:
5026           disable valgrinding the controller test again
5027         * docs/gst/gstreamer-sections.txt:
5028           update for api-changes
5029
5030 2005-09-20  Wim Taymans  <wim@fluendo.com>
5031
5032         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5033         (gst_base_sink_set_property), (gst_base_sink_get_property),
5034         (gst_base_sink_do_sync):
5035         * gst/base/gstbasesink.h:
5036         Added sync property to basesink to disable clock sync.
5037
5038 2005-09-20  Andy Wingo  <wingo@pobox.com>
5039
5040         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5041         eating the caller's refcount.
5042
5043         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5044         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5045         refcount.
5046
5047         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5048         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5049         of GLib 2.8 public, so we can know which refcount to check in
5050         tests.
5051
5052         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5053         (gst_object_init): Only set the gst refcount if we're going ahead
5054         with the refcount hack.
5055
5056 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5057
5058         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5059         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5060           more leaks plumbed, added more debug-logging
5061         * gst/gstmacros.h:
5062           whitespace fix
5063
5064 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5065
5066         * gst/gstmessage.c:
5067           remove include of gstmemchunk.h
5068
5069 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5070
5071         * gst/gstclock.c: (_gst_clock_id_free):
5072           Commit from the Political Party For More Atomic CVS Commits,
5073           so that people don't waste too much of their day fishing
5074           out obvious leaks out of massive commits.
5075           Oh, and fix a pretty damn obvious leak in the memchunk
5076           removal code.
5077
5078 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5079
5080         * check/Makefile.am:
5081         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5082           plug mem-leak, re-add to valgrindable tests
5083
5084 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5085
5086         * gst/gstplugin.h:
5087           unbreak the build for those who have chronic arthritis
5088           and typing "make check" is just too taxing on the hands
5089
5090 2005-09-20  Andy Wingo  <wingo@pobox.com>
5091
5092         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5093         really want it out, you should fix plugins at the same time.
5094
5095 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5096
5097         * configure.ac:
5098         * docs/gst/gstreamer-sections.txt:
5099         * gst/gstobject.c:
5100           added missing symbols to api docs
5101           disable ref-count hack if we have glib >= 2.8
5102
5103 2005-09-19  David Schleef  <ds@schleef.org>
5104
5105         * docs/gst/Makefile.am: Ignore a few more internal headers
5106         * docs/gst/gstreamer-docs.sgml: Remove old sections
5107         * docs/gst/gstreamer-sections.txt: Remove old sections
5108         * docs/gst/tmpl/gstobject.sgml: update
5109         * docs/gst/tmpl/gstplugin.sgml: update
5110         * docs/gst/tmpl/gstpluginfeature.sgml: update
5111         * docs/random/ds/0.9-suggested-changes: update.
5112         * gst/Makefile.am: remove memchunk and trashstack, since they're
5113           not used.
5114         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5115         * gst/gst.h: don't include some headers
5116         * gst/gstchildproxy.c: add gstmarshal.h
5117         * gst/gstclock.c: Don't use memchunks
5118         * gst/gstminiobject.c: Add some docs
5119         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5120         * gst/gstobject.h: same
5121         * gst/gstplugin.c: include gstmacros.h
5122         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5123         * gst/gstquery.c: don't use memchunks
5124         * gst/gstregistry.c: rename gst_registry_deinit()
5125         * gst/gstregistry.h: same
5126
5127 2005-09-19  David Schleef  <ds@schleef.org>
5128
5129         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5130         * docs/libs/gstreamer-libs-sections.txt:
5131         * docs/libs/tmpl/gstgetbits.sgml:
5132         * docs/libs/tmpl/gstputbits.sgml:
5133
5134 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5135
5136         * win32/gstenumtypes.c:
5137         * win32/gstenumtypes.h:
5138           Update.
5139
5140 2005-09-19  Wim Taymans  <wim@fluendo.com>
5141
5142         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5143         Automatically PAUSE and RESUME a pipeline when a flushing seek
5144         is performed.
5145
5146 2005-09-19  Andy Wingo  <wingo@pobox.com>
5147
5148         * gst/gstregistry.h: Spacing fixen.
5149
5150 2005-09-19  Wim Taymans  <wim@fluendo.com>
5151
5152         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5153         Handle state change failure more correctly.
5154
5155 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5156
5157         * check/Makefile.am:
5158         * check/pipelines/cleanup.c: (run_pipeline):
5159         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5160         (GST_START_TEST):
5161           enable cleanup again after fixing the leak
5162         * docs/README:
5163           some more info on docs
5164
5165 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5166
5167         * check/Makefile.am:
5168           re-enable tests now that leaks are plugged
5169         * check/gst/gst.c:
5170         * check/gst/gstbin.c:
5171         * check/gst/gstpipeline.c:
5172           add some more tests while fixing leaks
5173         * common/check.mak:
5174           make sure binaries are uptodate when valgrinding/gdbing
5175         * gst/gst.c:
5176         * gst/gstelementfactory.c:
5177           remove a ref too many, and add a FIXME for when we get
5178           round to disposing of classes
5179         * gst/gstplugin.c:
5180           fix the refcounting when loading a plugin from a file and
5181           the code pretends that the pointer is the same even though
5182           of course it can change
5183         * gst/gstpluginfeature.c:
5184           unref plugins marked cached (a bit confusing as a name)
5185           as the docs state should be done
5186           various doc additions to explain refcounting
5187         * gst/gstregistry.c:
5188         * gst/gstregistryxml.c:
5189           debugging
5190
5191 2005-09-19  Wim Taymans  <wim@fluendo.com>
5192
5193         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5194         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5195         (send_messages), (GST_START_TEST), (gstbus_suite):
5196         * check/gst/gstpipeline.c: (GST_START_TEST):
5197         * check/pipelines/cleanup.c: (run_pipeline):
5198         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5199         (GST_START_TEST):
5200         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5201         (gst_bus_source_check), (gst_bus_source_dispatch),
5202         (gst_bus_create_watch), (gst_bus_add_watch_full),
5203         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5204         * gst/gstbus.h:
5205         * tools/gst-launch.c: (event_loop):
5206         * tools/gst-md5sum.c: (event_loop):
5207         GstBusHandler -> GstBusFunc, return value has the same meaning as
5208         any other GSource (FALSE == remove source).
5209         _add_watch() and _add_watch_full() now take a MessageType mask to
5210         only handle specific types of messages.
5211         _poll() returns the GstMessage instead of the message type to avoid
5212         race conditions.
5213         _have_pending() takes a MessageType mask now too.
5214         Added testsuite for multiple bus watches.
5215         Fix testsuites and applications for new bus API.
5216
5217 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5218
5219         * check/Makefile.am:
5220           mark a bunch of the tests as to fix until we fix them
5221
5222 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5223
5224         * common/check.mak:
5225           use GST_PLUGIN settings for valgrind tests as well, so we're
5226           valgrinding the correct thing
5227         * gst/gst.c: (init_post):
5228           plug another leak
5229
5230 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5231
5232         * gst/gst.c: (init_post), (gst_deinit):
5233         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5234         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5235         * gst/gstindex.c: (gst_index_factory_class_init),
5236         (gst_index_factory_finalize):
5237         * gst/gstobject.c: (gst_object_dispose):
5238         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5239         (gst_plugin_load_file), (gst_plugin_desc_free):
5240         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5241         (gst_plugin_feature_finalize):
5242         * gst/gstregistry.c: (gst_registry_class_init),
5243         (gst_registry_init), (gst_registry_finalize),
5244         (gst_registry_get_default), (gst_registry_deinit):
5245         * gst/gstregistry.h:
5246         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5247           various cleanups and memleak plugging.  make valgrind is happy now.
5248
5249 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5250
5251         * common/check.mak:
5252           add a check-valgrind target
5253
5254 2005-09-18  David Schleef  <ds@schleef.org>
5255
5256         * tools/gst-inspect.c: Revert the GOption code.
5257
5258 2005-09-17  David Schleef  <ds@schleef.org>
5259
5260         * check/Makefile.am: Fix environment variables.
5261         * check/gst/gstplugin.c: Fix for API changes.
5262         * tools/gst-inspect.c: Fix for API changes.
5263         * tools/gst-xmlinspect.c: Fix for API changes.
5264         * gst/gstelementfactory.c:
5265         * gst/gstplugin.c:
5266         * gst/gstplugin.h:
5267         * gst/gstpluginfeature.c:
5268         * gst/gstpluginfeature.h:
5269         * gst/gstregistry.c:
5270         * gst/gstregistry.h:
5271         * gst/gstregistryxml.c:
5272         * gst/gsttypefind.c:
5273         * gst/gsttypefindfactory.c:
5274         * gst/indexers/gstfileindex.c:
5275         * gst/indexers/gstmemindex.c:
5276         * gst/schedulers/Makefile.am:
5277           Change registry to keep track of both plugins and features,
5278           removing the feature tracking from plugins themselves.
5279
5280 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5281
5282         * check/Makefile.am:
5283         * tools/gst-register.1.in:
5284           remove gst-register
5285
5286 2005-09-15  David Schleef  <ds@schleef.org>
5287
5288         * check/gst/gstplugin.c:
5289         * gst/gstelementfactory.c:
5290         * gst/gstplugin.c:
5291         * gst/gstpluginfeature.c:
5292         * gst/gstregistry.c:
5293           Getting tired of debugging.  Disabled all the unreffing of
5294           plugins and features, which fixes the segfaults, but of
5295           course leaks like crazy.  At least playbin works.
5296
5297 2005-09-15  David Schleef  <ds@schleef.org>
5298
5299         * check/gst/gstplugin.c: (register_check_elements),
5300         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5301         More testing
5302         * gst/elements/gsttypefindelement.c: Fix refcounting.
5303         * gst/gsttypefind.c:
5304         * gst/gsttypefindfactory.c:
5305         * gst/gsttypefindfactory.h:
5306
5307 2005-09-15  David Schleef  <ds@schleef.org>
5308
5309         * gst/gstindex.c: get refcounting correct.
5310         * gst/gstregistry.c: Handle the case where a feature/plugin is
5311           not found.
5312
5313 2005-09-15  David Schleef  <ds@schleef.org>
5314
5315         * check/Makefile.am:
5316         * check/gst/gstplugin.c: Add test
5317         * gst/gstplugin.c: Fix problems noticed by testsuite
5318         * gst/gstplugin.h:
5319         * gst/gstregistry.c: 
5320         * gst/gstregistry.h:
5321
5322 2005-09-15  David Schleef  <ds@schleef.org>
5323
5324         * gst/gstplugin.c: Implement semi-decent recounting and locking
5325           in plugins and plugin features.
5326         * gst/gstplugin.h:
5327         * gst/gstpluginfeature.c:
5328         * gst/gstpluginfeature.h:
5329         * gst/gstregistry.c:
5330
5331 2005-09-15  Michael Smith <msmith@fluendo.com>
5332
5333         * gst/gstregistry.c: (gst_registry_get_feature_list):
5334           Implement this. Makes oggdemux work; decodebin still broken.
5335
5336 2005-09-14  David Schleef  <ds@schleef.org>
5337
5338         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5339           #316076)
5340         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5341         * gst/check/Makefile.am:
5342         * libs/gst/controller/Makefile.am:
5343         * libs/gst/dataprotocol/Makefile.am:
5344
5345 2005-09-14  David Schleef  <ds@schleef.org>
5346
5347         * configure.ac: Remove getbits library.  Nothing uses it, and
5348           it should be in something like liboil if someone did want
5349           to use it.
5350         * libs/gst/Makefile.am:
5351         * libs/gst/getbits/Makefile.am:
5352         * libs/gst/getbits/gbtest.c:
5353         * libs/gst/getbits/getbits.c:
5354         * libs/gst/getbits/getbits.h:
5355         * libs/gst/getbits/gstgetbits_generic.c:
5356         * libs/gst/getbits/gstgetbits_i386.s:
5357         * libs/gst/getbits/gstgetbits_inl.h:
5358
5359 2005-09-14  David Schleef  <ds@schleef.org>
5360
5361         * gst/Makefile.am: Dist glib-compat.h
5362
5363 2005-09-14  David Schleef  <ds@schleef.org>
5364
5365         * configure.ac: Remove gst/registries, since it's no longer used.
5366         * gst/registries/Makefile.am:
5367         * gst/registries/gstlibxmlregistry.c:
5368         * gst/registries/gstlibxmlregistry.h:
5369         * gst/registries/gstxmlregistry.c:
5370         * gst/registries/gstxmlregistry.h:
5371         * gst/registries/registrytest.c:
5372
5373 2005-09-14  David Schleef  <ds@schleef.org>
5374
5375         * gst/glib-compat.h:
5376         * gst/gstregistryxml.c:
5377           Convergence is near.  Seriously.
5378
5379 2005-09-14  David Schleef  <ds@schleef.org>
5380
5381         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5382         * gst/glib-compat.h:
5383           Attempt #4 to appease the buildbots.
5384
5385 2005-09-14  David Schleef  <ds@schleef.org>
5386
5387         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5388           Attempt #3.
5389
5390 2005-09-14  David Schleef  <ds@schleef.org>
5391
5392         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5393         Attempt #2.
5394
5395 2005-09-14  David Schleef  <ds@schleef.org>
5396
5397         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5398           the new functions.
5399
5400 2005-09-14  David Schleef  <ds@schleef.org>
5401
5402         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5403         * gst/glib-compat.h: Add some functions that are in newer versions
5404           of glib than we care to require.
5405         * gst/gstregistryxml.c: Use them.
5406
5407 2005-09-14  David Schleef  <ds@schleef.org>
5408
5409         * po/POTFILES.in: remove gst-register.c
5410
5411 2005-09-14  David Schleef  <ds@schleef.org>
5412
5413         * docs/gst/gstreamer-docs.sgml:
5414         * docs/gst/gstreamer-sections.txt:
5415         * docs/gst/gstreamer.types:
5416         * docs/gst/tmpl/gstelement.sgml:
5417         * docs/gst/tmpl/gstplugin.sgml:
5418         * docs/gst/tmpl/gstpluginfeature.sgml:
5419           Documentation updates for registry changes.
5420
5421 2005-09-14  David Schleef  <ds@schleef.org>
5422
5423         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5424           because we don't require glib-2.8.
5425
5426 2005-09-14  David Schleef  <ds@schleef.org>
5427
5428         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5429           registries directory.
5430
5431 2005-09-14  David Schleef  <ds@schleef.org>
5432
5433         * check/Makefile.am:
5434         * check/generic/states.c:
5435         * gst/Makefile.am:
5436         * gst/gst.c:
5437         * gst/gst.h:
5438         * gst/gst_private.h:
5439         * gst/gstelementfactory.c:
5440         * gst/gstindex.c:
5441         * gst/gstinfo.c:
5442         * gst/gstplugin.c:
5443         * gst/gstplugin.h:
5444         * gst/gstpluginfeature.c:
5445         * gst/gstpluginfeature.h:
5446         * gst/gstregistry.c:
5447         * gst/gstregistry.h:
5448         * gst/gstregistrypool.c: remove
5449         * gst/gstregistrypool.h: remove
5450         * gst/gsttypefind.c:
5451         * gst/gsttypefindfactory.c:
5452         * gst/gsturi.c:
5453         * tools/Makefile.am:
5454         * tools/gst-compprep.c:
5455         * tools/gst-inspect.c:
5456         * tools/gst-register.c: remove
5457         * tools/gst-xmlinspect.c:
5458           Registry rewrite.  Changes registry from being a file created
5459           by a tool into a simple cache file created automatically by 
5460           libgstreamer.  Removed gst-register (because it's no longer
5461           needed).  Remove registry pools, because we only have one
5462           registry implementation (XML).  Fix up other subsystems as
5463           necessary.
5464
5465 2005-09-13  Michael Smith <msmith@fluendo.com>
5466
5467         * gst/gstconfig.h.in:
5468           Don't Use windows linking attributes for MinGW. Fixes #316157
5469
5470 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5471
5472         * gst/gstutils.c: (set_state_async_thread_func),
5473         (gst_element_set_state_async):
5474           Apparently people think it's better if this function doesn't
5475           try to set the state to whatever state was asked for on the first
5476           call to this function for any object.  Seriously.
5477
5478 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5479
5480         * check/gst/gstpipeline.c: (GST_START_TEST):
5481         * docs/gst/gstreamer-sections.txt:
5482         * gst/gstutils.c: (set_state_async_thread_func),
5483         (gst_element_set_state_async):
5484         * gst/gstutils.h:
5485           add a "gst_element_set_state_async" method that
5486           sets the state and starts a thread to make sure the state
5487           change completes as best as it can
5488
5489 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5490
5491         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5492           codify design+behaviour in testsuite after discussion
5493
5494 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5495
5496         * docs/gst/tmpl/gstelement.sgml:
5497         * docs/manual/appendix-quotes.xml:
5498           add a quote
5499         * gst/gstelement.c: (gst_element_set_state):
5500           add some debug
5501
5502 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5503
5504         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5505         (gst_base_transform_prepare_output_buf),
5506         (gst_base_transform_handle_buffer):
5507         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5508         (gst_capsfilter_prepare_buf):
5509           Remove the requirement for sub-classes to call the parent
5510           implementation of prepare_output_buffer with a wrapper function.
5511           
5512         * gst/gsttaglist.h:
5513         * gst/gsttagsetter.h:
5514           Fix #define wrapper
5515
5516 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5517
5518         * docs/gst/gstreamer-sections.txt:
5519           more doc cleanups
5520
5521 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5522
5523         * docs/gst/gstreamer-sections.txt:
5524         * docs/gst/tmpl/gstelement.sgml:
5525         * docs/gst/tmpl/gstplugin.sgml:
5526         * gst/gstminiobject.c:
5527         * gst/gstvalue.h:
5528           docs now stop throwing warnings
5529
5530 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5531
5532         * docs/gst/gstreamer-sections.txt:
5533         * docs/gst/gstreamer.types:
5534         * docs/gst/tmpl/gstpad.sgml:
5535         * docs/gst/tmpl/gsttypes.sgml:
5536         * gst/base/gstadapter.h:
5537         * gst/base/gstbasesink.h:
5538         * gst/base/gstbasesrc.h:
5539         * gst/gstbin.h:
5540         * gst/gstbuffer.h:
5541         * gst/gstbus.h:
5542         * gst/gstcaps.h:
5543         * gst/gstclock.h:
5544         * gst/gstelement.h:
5545         * gst/gstevent.h:
5546         * gst/gstmessage.h:
5547         * gst/gstpad.h:
5548         * gst/gststructure.c:
5549         * gst/registries/gstlibxmlregistry.h:
5550           various documentation fixes
5551
5552 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5553
5554         * docs/gst/gstreamer-sections.txt:
5555         * docs/gst/tmpl/gstvalue.sgml:
5556           rearrange gstvalue section
5557         * gst/gstutils.c: (gst_element_state_get_name):
5558           NONE -> VOID
5559         * gst/gstvalue.c: (_gst_value_initialize):
5560         * gst/gstvalue.h:
5561           doc updates
5562
5563 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5564
5565         * check/gst-libs/controller.c:
5566           Header include fix.
5567         * gst/base/gstbasetransform.c:
5568         (gst_base_transform_default_prepare_buf),
5569         (gst_base_transform_handle_buffer):
5570         * gst/base/gstbasetransform.h:
5571           Some more basetransform changes and fixes to enable sub-classes
5572           that modify buffer metadata only.
5573         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5574         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5575         (gst_capsfilter_prepare_buf):
5576           If the output pad has fixed allowed caps and input buffers 
5577           don't have any, set the fixed caps on outgoing buffers.
5578
5579 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5580         * check/elements/identity.c: (GST_START_TEST):
5581           Make the error a little clearer when the test fails because
5582           identity made a copy of the buffer.
5583         * docs/gst/gstreamer-sections.txt:
5584           New symbols in gstbasetransform.h
5585         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5586         (gst_base_transform_init), (gst_base_transform_transform_size),
5587         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5588         (gst_base_transform_default_prepare_buf),
5589         (gst_base_transform_get_unit_size),
5590         (gst_base_transform_buffer_alloc),
5591         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5592         (gst_base_transform_change_state),
5593         (gst_base_transform_set_passthrough),
5594         (gst_base_transform_set_in_place),
5595         (gst_base_transform_is_in_place):
5596         * gst/base/gstbasetransform.h:
5597           Change BaseTransform to separate in_place operate from same_caps
5598           output. in_place implies that the element can perform the transform
5599           on incoming buffers in-place, even if the caps on the output are
5600           different.
5601           Sub-class elements can now implement special buffer allocation
5602           methods for outgoing buffers if they wish to.
5603           Big documentation addition.
5604         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5605         * gst/elements/gstelements.c:
5606           Changes for basetransform modifications.
5607         * gst/elements/Makefile.am:
5608         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5609           Compile fix. Extra debug output.
5610
5611 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5612
5613         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5614         (gst_pad_suite):
5615           add tests for valid pad naming
5616         * gst/check/gstcheck.c: (gst_check_log_message_func),
5617         (gst_check_log_critical_func):
5618           add ASSERT_WARNING
5619           remove printing of code, it is fragile when the code contains
5620           % and the line number is enough info
5621         * gst/check/gstcheck.h:
5622         * gst/gstpad.c: (gst_pad_template_new):
5623           fix memleaks
5624
5625 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5626
5627         * configure.ac:
5628           say what CHECK flags we use
5629         * docs/libs/gstreamer-libs.types:
5630         * libs/gst/controller/Makefile.am:
5631         * libs/gst/controller/gst-controller.c:
5632         * libs/gst/controller/gst-controller.h:
5633         * libs/gst/controller/gst-helper.c:
5634         * libs/gst/controller/gst-interpolation.c:
5635         * libs/gst/controller/gstcontroller.c:
5636         * libs/gst/controller/gsthelper.c:
5637         * libs/gst/controller/gstinterpolation.c:
5638         * tools/gst-inspect.c: (print_plugin_info):
5639           we don't use dashes in header names
5640
5641 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5642
5643         * check/Makefile.am:
5644         * check/gst/.cvsignore:
5645         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5646         (gst_pipeline_suite), (main):
5647           adding a test for pipelines and state changes
5648         * gst/gstutils.c: (get_state_func):
5649           add some debugging
5650         * gstreamer.spec.in:
5651           fix up spec file
5652
5653 2005-09-08  Michael Smith <msmith@fluendo.com>
5654
5655         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5656         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5657         (gst_file_src_is_seekable), (gst_file_src_get_size),
5658         (gst_file_src_start):
5659         * gst/elements/gstfilesrc.h:
5660           Various fixes for unseekable, unmmapable, and non-normal files, so
5661           that fallback to read() rather than mmap() works.
5662         * gst/gstevent.c: (gst_event_new_newsegment):
5663           Allow newsegment events with segment_start == segment_end, as will
5664           correctly happen if you use filesrc on a zero-size file, for
5665           example.
5666
5667 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5668
5669         * gst/gstplugin.c: (gst_plugin_load_file):
5670           Call g_module_close when we don't load the module
5671
5672         * gst/registries/gstlibxmlregistry.c:
5673         (gst_xml_registry_get_property):
5674           Port leak fix from 0.8
5675
5676 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5677
5678         * docs/gst/gstreamer-docs.sgml:
5679         * docs/gst/tmpl/.cvsignore:
5680         * docs/gst/tmpl/gsttrace.sgml:
5681         * docs/gst/tmpl/gsttrashstack.sgml:
5682         * gst/Makefile.am:
5683         * gst/gst.h:
5684         * gst/gstelement.h:
5685         * gst/gstevent.h:
5686         * gst/gstmessage.c:
5687         * gst/gstmessage.h:
5688         * gst/gsttag.c:
5689         * gst/gsttag.h:
5690         * gst/gsttaginterface.c:
5691         * gst/gsttaginterface.h:
5692         * gst/gsttaglist.c:
5693         * gst/gsttaglist.h:
5694         * gst/gsttagsetter.c:
5695         * gst/gsttagsetter.h:
5696         * gst/gsttrace.c:
5697         * gst/gsttrace.h:
5698         * gst/gsttrashstack.c:
5699           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5700           inlined docs for gsttrace, gsttrashstack
5701
5702 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5703
5704         * gst/Makefile.am:
5705         * gst/elements/gstbufferstore.h:
5706         * gst/elements/gsttypefindelement.c:
5707         * gst/elements/gsttypefindelement.h:
5708         * gst/gst.h:
5709         * gst/gsttypefind.c:
5710         * gst/gsttypefind.h:
5711         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5712         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5713         (gst_type_find_factory_dispose),
5714         (gst_type_find_factory_unload_thyself),
5715         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5716         (gst_type_find_factory_get_caps),
5717         (gst_type_find_factory_get_extensions),
5718         (gst_type_find_factory_call_function):
5719         * gst/gsttypefindfactory.h:
5720         * gst/registries/gstlibxmlregistry.c:
5721         * gst/registries/gstxmlregistry.c:
5722           splitted gsttypefind into gsttypefind, gsttypefindfactory
5723
5724 2005-09-07  Andy Wingo  <wingo@pobox.com>
5725
5726         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5727         condition whereby the pad's task function is entered before the
5728         pad_mode variable was set.
5729
5730 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5731
5732         * gst/gstpad.c: (gst_pad_alloc_buffer):
5733           Catch misbehaving pad_alloc functions that don't
5734           set up caps and do it for them.
5735
5736 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5737
5738         * check/pipelines/simple_launch_lines.c: (run_pipeline):
5739           test for pipe!=NULL
5740         * docs/gst/tmpl/.cvsignore:
5741         * docs/gst/tmpl/gstmemchunk.sgml:
5742         * docs/gst/tmpl/gstparse.sgml:
5743         * docs/gst/tmpl/gsttaglist.sgml:
5744         * docs/gst/tmpl/gsttagsetter.sgml:
5745         * docs/gst/tmpl/gsttypefind.sgml:
5746         * docs/gst/tmpl/gsttypefindfactory.sgml:
5747         * gst/gstmemchunk.c:
5748         * gst/gstparse.c:
5749         * gst/gsttag.c:
5750         * gst/gsttaginterface.c:
5751         * gst/gsttypefind.c:
5752         * gst/gsttypefind.h:
5753           inlined more docs
5754
5755 === release 0.9.2 ===
5756
5757 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5758
5759         * NEWS:
5760         * RELEASE:
5761         * configure.ac:
5762           releasing 0.9.2, "South"
5763
5764 2005-09-05  Andy Wingo  <wingo@pobox.com>
5765
5766         * gst/registries/gstxmlregistry.h:
5767         * gst/registries/gstxmlregistry.c: Um... resurrect...
5768         
5769         * gst/registries/gstxmlregistry.h:
5770         * gst/registries/gstxmlregistry.c: and update to newer API.
5771         Incidentally they should be a bit faster now that they don't have
5772         to parse the caps.
5773         
5774 2005-09-05  Andy Wingo  <wingo@pobox.com>
5775
5776         * gst/registries/gstxmlregistry.h:
5777         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5778         replaced by the libxml registry a while back
5779
5780 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5781
5782         * docs/gst/tmpl/gstplugin.sgml:
5783         * gst/elements/gstelements.c:
5784         * gst/gst.c:
5785         * gst/gstplugin.c: (gst_plugin_register_func),
5786         (gst_plugin_desc_copy), (gst_plugin_desc_free),
5787         (gst_plugin_get_source):
5788         * gst/gstplugin.h:
5789         * gst/registries/gstlibxmlregistry.c: (load_plugin),
5790         (gst_xml_registry_save_plugin):
5791         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5792         (gst_xml_registry_save_plugin):
5793         * tools/gst-inspect.c: (print_plugin_info):
5794           add a "source" plugin description field, to represent the source
5795           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
5796           will set it to PACKAGE, which is automake's idea of the name of
5797           the source project.
5798
5799 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5800
5801         * Makefile.am:
5802         * autogen.sh:
5803         * configure.ac:
5804         * docs/Makefile.am:
5805         * docs/faq/Makefile.am:
5806         * docs/gst/tmpl/gstelement.sgml:
5807         * docs/gst/tmpl/gsttypes.sgml:
5808         * docs/htmlinstall.mak:
5809         * docs/manual/Makefile.am:
5810         * docs/pwg/Makefile.am:
5811           reorganize doc build a little
5812           split out docbook and gtk-doc stuff
5813           have two separate --enable's and enable them through autogen
5814           but disable by default in configure (to be similar to other
5815           projects)
5816         * gstreamer.spec.in:
5817           clean up docs install
5818         * po/af.po:
5819         * po/az.po:
5820         * po/ca.po:
5821         * po/cs.po:
5822         * po/de.po:
5823         * po/en_GB.po:
5824         * po/fr.po:
5825         * po/it.po:
5826         * po/nb.po:
5827         * po/nl.po:
5828         * po/ru.po:
5829         * po/sq.po:
5830         * po/sr.po:
5831         * po/sv.po:
5832         * po/tr.po:
5833         * po/uk.po:
5834         * po/vi.po:
5835           translation updates
5836
5837 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5838
5839         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5840           Add comment.
5841           
5842         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5843         (gst_fake_sink_change_state):
5844           Make state change function thread-safe.
5845           
5846         * gst/gstpad.c: (gst_pad_alloc_buffer):
5847           Set offset on generic buffer allocated by fallback.
5848
5849 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
5850
5851         * docs/gst/gstreamer-sections.txt:
5852         * docs/gst/tmpl/gstelement.sgml:
5853         * gst/gstpad.c:
5854         * libs/gst/controller/gst-controller.c:
5855         (gst_controlled_property_set_interpolation_mode),
5856         (gst_controlled_property_new),
5857         (gst_controller_find_controlled_property):
5858          run the wingo-magic script against the docs
5859
5860 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5861
5862         * docs/gst/gstreamer-docs.sgml:
5863         * docs/gst/gstreamer-sections.txt:
5864         * docs/gst/tmpl/.cvsignore:
5865         * docs/gst/tmpl/gstelementdetails.sgml:
5866         * docs/gst/tmpl/gstelementfactory.sgml:
5867         * gst/gst.c:
5868         * gst/gstbus.c:
5869         * gst/gstelementfactory.c:
5870         * gst/gstelementfactory.h:
5871           merged elementdetails docs into elementfactory docs
5872           inlined both
5873
5874 2005-09-02  Andy Wingo  <wingo@pobox.com>
5875
5876         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5877         consider this enum an enum and not a flags.
5878
5879 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5880
5881         * docs/gst/gstreamer-docs.sgml:
5882         * docs/gst/tmpl/.cvsignore:
5883         * docs/gst/tmpl/gstghostpad.sgml:
5884         * docs/gst/tmpl/gstiterator.sgml:
5885         * docs/gst/tmpl/gstmacros.sgml:
5886         * docs/gst/tmpl/gstrealpad.sgml:
5887         * docs/gst/tmpl/gstregistry.sgml:
5888         * docs/gst/tmpl/gstregistrypool.sgml:
5889         * docs/gst/tmpl/gststructure.sgml:
5890         * docs/gst/tmpl/gstsystemclock.sgml:
5891         * docs/gst/tmpl/gsttrace.sgml:
5892         * gst/gstghostpad.c:
5893         * gst/gstmacros.h:
5894         * gst/gstmemchunk.c:
5895         * gst/gstmemchunk.h:
5896         * gst/gstqueue.c:
5897         * gst/gstregistry.c:
5898         * gst/gstregistrypool.c:
5899         * gst/gststructure.c:
5900         * gst/gstsystemclock.c:
5901           more docs inlined
5902
5903 2005-09-02  Andy Wingo  <wingo@pobox.com>
5904
5905         * gst/gstelement.h (GstState): Renamed from GstElementState,
5906         changed to be a normal enum instead of flags.
5907         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5908         munged to be GST_STATE_CHANGE_*.
5909         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5910         work with the new state representation.
5911         (GstStateChange): New enumeration of possible state transitions.
5912         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5913         (GstElementClass::change_state): Pass the GstStateChange along as
5914         an argument. Helps language bindings, so they don't have to use
5915         tricky lock-needing macros like GST_STATE_CHANGE ().
5916
5917         * scripts/update-states (file): New script. Run it on a file to
5918         update it for state naming and API changes. Updates files in
5919         place.
5920
5921         * All files updated for the new API.
5922
5923 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5924
5925         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5926         * gst/gstutils.c: (gst_util_set_value_from_string),
5927         (gst_util_set_object_arg):
5928           fix a bunch of unchecked return values
5929         * tools/gst-complete.c: (main):
5930         * gstreamer.spec.in:
5931           clean up a little
5932
5933 2005-09-01  Wim Taymans  <wim@fluendo.com>
5934
5935         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5936         (gst_base_sink_event), (gst_base_sink_do_sync),
5937         (gst_base_sink_handle_event):
5938         * gst/base/gstbasesink.h:
5939         Handle newsegments more correctly.
5940
5941         * gst/gstbus.c:
5942         Fix docs.
5943
5944         * gst/gstevent.c: (gst_event_new_newsegment):
5945         A newsegment cannot have a start_time of -1
5946
5947 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5948
5949         * win32/gstenumtypes.c:
5950         * win32/gstenumtypes.h:
5951           Update
5952
5953 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5954
5955         * libs/gst/controller/gst-controller.c:
5956         (gst_controlled_property_set_interpolation_mode),
5957         (gst_controlled_property_new):
5958          fixed boolean again
5959
5960 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5961
5962         * docs/faq/gst-uninstalled:
5963           add -good
5964         * gst/gstevent.c:
5965         * gst/gstevent.h:
5966           remove wrong docs
5967         * gst/gstutils.c: (gst_element_link_filtered):
5968         * gst/gstutils.h:
5969           add gst_element_link_filtered
5970
5971 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5972
5973         * docs/gst/gstreamer-docs.sgml:
5974         * docs/gst/gstreamer-sections.txt:
5975         * docs/gst/tmpl/.cvsignore:
5976         * docs/gst/tmpl/gsterror.sgml:
5977         * docs/gst/tmpl/gstfilter.sgml:
5978         * docs/gst/tmpl/gsturihandler.sgml:
5979         * docs/gst/tmpl/gsturitype.sgml:
5980         * docs/gst/tmpl/gstutils.sgml:
5981         * docs/gst/tmpl/gstxml.sgml:
5982         * gst/gsterror.c:
5983         * gst/gsterror.h:
5984         * gst/gstfilter.c:
5985         * gst/gsturi.c:
5986         * gst/gsturitype.c:
5987         * gst/gstutils.c:
5988         * gst/gstxml.c:
5989           inlined more docs, fixed double id-ref
5990
5991 2005-08-31  Wim Taymans  <wim@fluendo.com>
5992
5993         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5994         (gst_base_transform_handle_buffer):
5995         Passthrough elements don't need the caps as they don't care.
5996
5997 2005-08-31  Wim Taymans  <wim@fluendo.com>
5998
5999         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6000         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6001         Don't leak refcounts on buffers.
6002
6003 2005-08-31  Wim Taymans  <wim@fluendo.com>
6004
6005         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6006         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6007         (gst_base_transform_chain), (gst_base_transform_change_state):
6008         * gst/base/gstbasetransform.h:
6009         Handle the case where we are not negotiated more gracefully.
6010
6011 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6012
6013         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6014         (gst_file_src_map_region):
6015           Set READONLY flag on mmap'ed buffers, otherwise
6016           gst_buffer_make_writable() won't work properly (#314708).
6017
6018 2005-08-31  Wim Taymans  <wim@fluendo.com>
6019
6020         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6021         passthrough elements can even do inplace on non writable
6022         buffers (as they don't touch them).
6023
6024 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6025
6026         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6027         (gst_test_mono_source_set_property),
6028         (gst_test_mono_source_class_init), (GST_START_TEST),
6029         (gst_controller_suite):
6030           more tests (hehe I have the most)
6031         * gst/gstbus.c:
6032           describe popping messages whenusing mulltiple sources
6033         * libs/gst/controller/gst-controller.c:
6034         (gst_controlled_property_set_interpolation_mode),
6035         (gst_controlled_property_new):
6036         * libs/gst/controller/gst-controller.h:
6037         * libs/gst/controller/gst-interpolation.c:
6038           implement boolean properties
6039
6040 2005-08-31  Wim Taymans  <wim@fluendo.com>
6041
6042         * gst/gstminiobject.c: (gst_mini_object_ref):
6043         Cannot assert that the refcount has to be positive
6044         since a disposed object can be resurrected.
6045
6046 2005-08-31  Wim Taymans  <wim@fluendo.com>
6047
6048         * gst/gstpad.c: (gst_pad_init):
6049         Revert change, need to first fix badly behaving 
6050         apps.
6051
6052 2005-08-30  Wim Taymans  <wim@fluendo.com>
6053
6054         * check/elements/fakesrc.c: (setup_fakesrc):
6055         * check/elements/identity.c: (setup_identity):
6056         Activate pads before using them.
6057
6058 2005-08-30  Wim Taymans  <wim@fluendo.com>
6059
6060         * gst/base/gstadapter.c: (gst_adapter_flush):
6061         Flushing out 0 bytes is ok for this function.
6062
6063         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6064         no newsegment gives a warning and sets the start/stop to 
6065         invalid.
6066
6067         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6068         (gst_base_transform_set_passthrough):
6069         Some debug info.
6070
6071         * gst/gstminiobject.c: (gst_mini_object_ref):
6072         Check refcount here too.
6073
6074         * gst/gstpad.c: (gst_pad_init):
6075         Pads are initially flushing and refusing data.
6076
6077         * gst/gstutils.c: (gst_element_link_pads_filtered):
6078         When adding a capsfilter element make sure it has the
6079         same state as the parent bin.
6080
6081 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6082
6083         * docs/gst/tmpl/.cvsignore:
6084         * docs/gst/tmpl/gstformat.sgml:
6085         * docs/gst/tmpl/gstversion.sgml:
6086         * gst/gstbus.h:
6087         * gst/gstformat.c:
6088         * gst/gstformat.h:
6089         * gst/gstversion.h.in:
6090           more docs and two more inlined
6091
6092 2005-08-30  Wim Taymans  <wim@fluendo.com>
6093
6094         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6095         Don't sync to clock.
6096
6097 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6098
6099         * docs/gst/gstreamer-sections.txt:
6100           ultral33t func10ns deserve to appear in the docs actually
6101         * docs/gst/tmpl/.cvsignore:
6102         * docs/gst/tmpl/gstcompat.sgml:
6103         * docs/gst/tmpl/gstconfig.sgml:
6104         * gst/check/gstcheck.c:
6105         * gst/gstcompat.h:
6106         * gst/gstconfig.h.in:
6107           inlined more docs
6108
6109 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6110
6111         * docs/gst/tmpl/.cvsignore:
6112         * docs/gst/tmpl/gstquery.sgml:
6113         * docs/gst/tmpl/gstutils.sgml:
6114         * gst/gstquery.c:
6115         * gst/gstquery.h:
6116           inlined and extended docs
6117
6118 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6119
6120         * check/gst-libs/controller.c: (GST_START_TEST),
6121         (gst_controller_suite):
6122           more tests
6123         * docs/gst/tmpl/gstutils.sgml:
6124         * docs/libs/gstreamer-libs-sections.txt:
6125         * docs/libs/tmpl/gstdataprotocol.sgml:
6126           include path fixes
6127         * examples/controller/audio-example.c: (main):
6128           controller example works now
6129         * gst/gstclock.h:
6130           doc fixes
6131         * tools/gst-inspect.c: (print_element_properties_info):
6132           show param spec flags
6133
6134 2005-08-29  Andy Wingo  <wingo@pobox.com>
6135
6136         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6137
6138 2005-08-28  Andy Wingo  <wingo@pobox.com>
6139
6140         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6141         as having two arguments instead of just one. Allows superclasses
6142         to access information on subclasses -- see the terrible for() loop
6143         in gtype.c:g_type_create_instance for the reason why. All callers
6144         changed.
6145
6146 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6147
6148         * docs/design/part-messages.txt:
6149           update info
6150         * docs/gst/tmpl/.cvsignore:
6151         * docs/gst/tmpl/gstcaps.sgml:
6152         * docs/gst/tmpl/gstclock.sgml:
6153         * gst/gstbus.c:
6154         * gst/gstcaps.c:
6155         * gst/gstcaps.h:
6156         * gst/gstclock.c:
6157         * gst/gstclock.h:
6158         * gst/gstmessage.c:
6159           added descriptions for bus and message
6160           inline caps and clock docs
6161
6162 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6163
6164         * gst/gstmessage.c:
6165         * gst/gstmessage.h:
6166           doc fixes
6167
6168 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6169
6170         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6171           fix div-by-zero
6172
6173 2005-08-26  Andy Wingo  <wingo@pobox.com>
6174
6175         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6176         element_set_state's return val.
6177         (test_2_elements): Add test that's been disabled for months.
6178
6179         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6180         can-activate-pull properties.
6181
6182         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6183         can-activate-pull properties. Implement is_seekable so fakesrc can
6184         operate in pull mode.
6185
6186         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6187         properties.
6188         (gst_base_sink_activate, gst_base_sink_activate_pull)
6189         (gst_base_sink_activate_push): Make activation mode choosing work.
6190         Cleanups.
6191         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6192         is right. Make pull mode work. Post an eos before pausing in pull
6193         mode.
6194         (gst_base_sink_change_state): Pay attention to the core's
6195         change_state() return val.
6196         
6197         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6198         has-getrange properties. Cleanups.
6199         
6200         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6201         has_getrange and replace with can_activate_pull and
6202         can_activate_push.
6203
6204         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6205         locking comments. Remove has_loop, has_chain and replace with
6206         can_activate_pull and can_activate_push.
6207
6208 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6209
6210         * configure.ac:
6211         * examples/Makefile.am:
6212         * examples/metadata/Makefile.am:
6213         * examples/metadata/read-metadata.c: (message_loop),
6214         (have_pad_handler), (make_pipeline), (print_tag), (main):
6215           Add metadata reading example that loops over a list of filenames,
6216           dumping any tags found.
6217
6218         * gst/gstbus.c: (gst_bus_dispose):
6219         * gst/gstelement.c: (gst_element_dispose):
6220           Release a few potentially-held references in dispose.
6221
6222 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6223
6224         * docs/gst/tmpl/gstminiobject.sgml:
6225           do *not* add tmpl/*.sgml files to CVS!
6226
6227 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6228
6229         * libs/gst/bytestream/.cvsignore:
6230         * libs/gst/bytestream/Makefile.am:
6231         * libs/gst/bytestream/adapter.c:
6232         * libs/gst/bytestream/adapter.h:
6233         * libs/gst/bytestream/bytestream.c:
6234         * libs/gst/bytestream/bytestream.h:
6235         * libs/gst/bytestream/filepad.c:
6236         * libs/gst/bytestream/filepad.h:
6237           removing obsolete files
6238
6239 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6240
6241         * docs/gst/gstreamer-docs.sgml:
6242         * docs/libs/gstreamer-libs-docs.sgml:
6243           disabed additional index entries again, as this makes docs-gen just
6244           slow and they aren't useful yet
6245         * docs/libs/gstreamer-libs-sections.txt:
6246           little -section.txt cleanup for libs
6247
6248 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6249
6250         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6251         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6252           fix up some debugging
6253         (gst_base_transform_get_unit_size),
6254         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6255         (gst_base_transform_handle_buffer):
6256         * gst/base/gstbasetransform.h:
6257           handle and store timed NEWSEGMENT events so that subclasses that
6258           calculate time by counting samples have a segment_start time they
6259           need to add to their timestamps - see audioresample
6260
6261 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6262
6263         * gst/gstbin.h:
6264           removed ';' from the end of macro defs
6265         * docs/gst/gstreamer-docs.sgml:
6266         * docs/gst/gstreamer-sections.txt:
6267         * docs/gst/tmpl/.cvsignore:
6268         * gst/gstbus.h:
6269         * gst/gstelement.c: (gst_element_class_init),
6270         (gst_element_set_state), (activate_pads),
6271         (gst_element_save_thyself):
6272         * gst/gstevent.c: (gst_event_new_newsegment):
6273         * gst/gstevent.h:
6274         * gst/gstiterator.c:
6275         * gst/gstiterator.h:
6276         * gst/gstpad.c:
6277         * gst/gstprobe.h:
6278         * gst/gstutils.c: (gst_pad_query_convert):
6279         * gst/gstutils.h:
6280           fixed parameter name mismatches between source, header and docs
6281           added some more docs, resolved the last batch of unused elements in
6282           docs (now someone needs to doc them)
6283
6284 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6285
6286         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6287         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6288           don't walk through the plugins backwards.  Where is all this
6289           reversed logic coming from ?
6290
6291 2005-08-25  Wim Taymans  <wim@fluendo.com>
6292
6293         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6294         (gst_base_transform_transform_size),
6295         (gst_base_transform_configure_caps),
6296         (gst_base_transform_get_unit_size),
6297         (gst_base_transform_buffer_alloc),
6298         (gst_base_transform_change_state):
6299         * gst/base/gstbasetransform.h:
6300         Cache caps unit_size.
6301         Make sure we cannot negotiate up and downstream at the
6302         same time.
6303
6304 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6305
6306         * gst/gst.c: (init_pre), (init_post):
6307           register the installed plugin path after the env var
6308         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6309         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6310           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6311           directories, so the tests can prefer uninstalled over installed
6312
6313 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6314
6315         * gst/base/gstbasetransform.h:
6316           comment
6317         * gst/gstpad.c:
6318           add to docs
6319
6320 2005-08-25  Wim Taymans  <wim@fluendo.com>
6321
6322         * gst/gstbin.c: (bin_bus_handler):
6323         Be a bit more conservative about the posted message.
6324         
6325         * gst/gstbus.c: (gst_bus_post):
6326         Some cleanups, warn wrong return values.
6327
6328 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6329
6330         * check/gst/gstbin.c: (GST_START_TEST):
6331         * gst/gstbin.c: (bin_bus_handler):
6332         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6333         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6334         (gst_message_new_warning), (gst_message_new_tag),
6335         (gst_message_new_state_changed), (gst_message_new_segment_start),
6336         (gst_message_new_segment_done), (gst_message_new_custom):
6337         * gst/gstmessage.h:
6338         * tools/gst-launch.c: (event_loop):
6339         * tools/gst-md5sum.c: (event_loop):
6340           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6341
6342 2005-08-25  Wim Taymans  <wim@fluendo.com>
6343
6344         * check/generic/states.c: (GST_START_TEST):
6345         Cleanup can be done at the end.
6346
6347         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6348         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6349         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6350         Oh boy.. Thanks for finding this, Thomas. 
6351
6352 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6353
6354         * docs/gst/gstreamer.types:
6355           added missing types
6356
6357 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6358
6359         * docs/gst/gstreamer-docs.sgml:
6360         * docs/gst/gstreamer-sections.txt:
6361         * docs/gst/tmpl/.cvsignore:
6362         * gst/gstbin.c:
6363         * gst/gstiterator.c:
6364         * gst/gstutils.c:
6365         * gst/registries/gstxmlregistry.h:
6366           added missing classes and symbols (123 more to go)
6367           removed removed symbols from section file
6368           fixed many doc-comments
6369
6370 2005-08-24  Wim Taymans  <wim@fluendo.com>
6371
6372         * check/generic/states.c: (GST_START_TEST):
6373         Make sure all tasks are stopped.
6374
6375         * check/gst/gstbin.c: (GST_START_TEST):
6376         Unref after usage for proper valgrinding.
6377
6378         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6379         Really wait for the task to stop before destroying the
6380         mutex.
6381
6382         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6383         (gst_queue_src_activate_push):
6384         Small cleanups. Don't stop the task when we did not start
6385         it.
6386
6387         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6388         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6389         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6390         (gst_task_join):
6391         * gst/gsttask.h:
6392         Protect the stream lock with the object lock.
6393         Disallow setting the stream lock when running.
6394         Add cleanup_all to wait for the threadpool to finish.
6395         Remove code to autoallocate a mutex if none was provided.
6396         Add _join() to wait for a task to stop.
6397         Protect the thread pool with a global lock.
6398
6399 2005-08-24  Wim Taymans  <wim@fluendo.com>
6400
6401         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6402         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6403         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6404         * gst/base/gstbasesink.h:
6405         Handle newsegment events correctly.
6406         Drop buffers out of the segment range.
6407
6408 2005-08-22  Andy Wingo  <wingo@pobox.com>
6409
6410         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6411         macro, implements an interface and gstimplementsinterface for a
6412         new type.
6413
6414 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6415
6416         * check/Makefile.am:
6417         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6418           add a test that does a bunch of state changes on elements
6419           needs some fixing for valgrind
6420         * check/states/sinks.c: (gst_object_suite):
6421           whitespace
6422         * gst/gstcaps.h:
6423           add prototype for gst_caps_is_equal_fixed
6424         * gst/gstplugin.c:
6425         * gst/gstregistrypool.c:
6426           doc fixes
6427
6428 2005-08-24  Andy Wingo  <wingo@pobox.com>
6429
6430         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6431         convert a negative value. Doesn't make much sense. Mostly this is
6432         here to force callers to ensure -1 maps to -1.
6433
6434 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6435
6436         * docs/pwg/advanced-types.xml:
6437           Well done to Michael for catching my deliberate introduction
6438           of this spelling mistake. 
6439         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6440         * gst/gstelement.h:
6441           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6442           unlink pads before removing the element from the bin.
6443
6444 2005-08-24  Andy Wingo  <wingo@pobox.com>
6445
6446         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6447         the same thing as GST_DEBUG=*:4.
6448         (parse_debug_level, parse_debug_category): New helper parsers.
6449
6450 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6451
6452         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6453         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6454         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6455         (gst_base_transform_buffer_alloc),
6456         (gst_base_transform_handle_buffer):
6457           use gboolean return values and pointers to size so we can use the
6458           full GST_BUFFER_SIZE range (guint) for buffer sizes
6459           use GstPadDirection for transform_caps
6460         * gst/base/gstbasetransform.h:
6461           rename get_size to get_unit_size since that's what it is
6462         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6463           use GstPadDirection for transform_caps
6464         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6465         * gst/gstutils.h:
6466           cleanup and debugging
6467
6468 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6469
6470         * gst/gstelement.c: (gst_element_class_init),
6471         (gst_element_set_state), (activate_pads),
6472         (gst_element_save_thyself):
6473         * tools/gst-compprep.c: (main):
6474         * tools/gst-inspect.c: (print_element_properties_info):
6475         * tools/gst-xmlinspect.c: (print_element_properties):
6476           Fixed long standing mem-leak
6477
6478 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6479
6480         * check/gst/gstbin.c: (GST_START_TEST):
6481         * gst/gstbin.c: (bin_bus_handler):
6482         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6483         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6484         (gst_message_new_warning), (gst_message_new_tag),
6485         (gst_message_new_state_changed), (gst_message_new_segment_start),
6486         (gst_message_new_segment_done), (gst_message_new_custom):
6487         * gst/gstmessage.h:
6488         * tools/gst-launch.c: (event_loop):
6489         * tools/gst-md5sum.c: (event_loop):
6490           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6491           that applications can sensibly post custom messages with references
6492           to their own objects.
6493
6494 2005-08-24  Andy Wingo  <wingo@pobox.com>
6495
6496         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6497         already.
6498
6499 2005-08-24  Wim Taymans  <wim@fluendo.com>
6500
6501         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6502         (gst_base_transform_transform_caps),
6503         (gst_base_transform_transform_size),
6504         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6505         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6506         (gst_base_transform_handle_buffer):
6507         * gst/base/gstbasetransform.h:
6508         Many fixes and new features added by Thomas. Can now also do
6509         transforms with variable sizes and a custom fixate_caps function.
6510
6511 2005-08-24  Wim Taymans  <wim@fluendo.com>
6512
6513         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6514         Some debugging.
6515
6516         * gst/gstclock.h:
6517         Cast to ClockTime before formatting to time.
6518
6519         * gst/gstutils.h:
6520         Cleanups.
6521
6522 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6523
6524         * check/gst-libs/controller.c: (GST_START_TEST),
6525         (gst_controller_suite):
6526         * docs/gst/tmpl/gstcaps.sgml:
6527         * docs/gst/tmpl/gstghostpad.sgml:
6528         * docs/gst/tmpl/gstquery.sgml:
6529         * docs/gst/tmpl/gstutils.sgml:
6530         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6531         (gst_object_sink_values), (gst_object_get_value_arrays),
6532         (gst_object_get_value_array):
6533           gracefully handle helper method calls to objects that are not beeing
6534           controlled, added test case for that          
6535
6536 2005-08-23  Wim Taymans  <wim@fluendo.com>
6537
6538         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6539         (gst_event_new_newsegment), (gst_event_parse_newsegment),
6540         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6541         (gst_event_parse_qos), (gst_event_new_seek),
6542         (gst_event_parse_seek):
6543         * gst/gstevent.h:
6544         Some more debugging output and doc cleanups.
6545
6546         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6547         Fix possible deadlock.
6548
6549 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6550
6551         * docs/gst/gstreamer-docs.sgml:
6552         * docs/gst/gstreamer-sections.txt:
6553         * docs/gst/gstreamer.types:
6554         * docs/gst/tmpl/.cvsignore:
6555         * gst/gstbin.h:
6556         * gst/gstbus.c:
6557         * gst/gstelement.c:
6558         * gst/gstevent.h:
6559           added 100 symbols from gstreamer-unused.txt to the right sections
6560           fixed more broken comments
6561           added GstBus to docs
6562
6563 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6564
6565         * docs/gst/gstreamer-sections.txt:
6566         * docs/gst/tmpl/.cvsignore:
6567         * docs/gst/tmpl/gstbin.sgml:
6568         * docs/gst/tmpl/gstbuffer.sgml:
6569         * gst/base/gstbasesrc.c:
6570         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6571         * gst/gstbuffer.c:
6572         * gst/gstbuffer.h:
6573         * tools/gst-launch.1.in:
6574           inlined more doc comments, added missing comments and fixed comments
6575           fixed typos
6576
6577 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6578
6579         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6580           some debugging
6581         * gst/gstcaps.h:
6582           whitespace fixes
6583         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6584           more debugging
6585         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6586         * gst/gststructure.h:
6587           add a fixate function for booleans; add a FIXME that these func
6588           names should probably be gst_structure_fixate_*
6589
6590 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6591
6592         * docs/gst/gstreamer-docs.sgml:
6593         * docs/gst/gstreamer-sections.txt:
6594         * gst/Makefile.am:
6595         * gst/gstbin.c: (gst_bin_get_type),
6596         (gst_bin_child_proxy_get_child_by_index),
6597         (gst_bin_child_proxy_get_children_count),
6598         (gst_bin_child_proxy_init):
6599         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6600         (gst_child_proxy_get_child_by_index),
6601         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6602         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6603         (gst_child_proxy_get), (gst_child_proxy_set_property),
6604         (gst_child_proxy_set_valist), (gst_child_proxy_set),
6605         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6606         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6607         * gst/gstchildproxy.h:
6608         * gst/parse/grammar.y:
6609         * tools/gst-inspect.c: (print_interfaces),
6610         (print_element_properties_info), (print_element_info):
6611           ported gstchildproxy over from 0.8
6612           ported gst-inspect fixes and enhancements over from 0.8
6613
6614 2005-08-22  Wim Taymans  <wim@fluendo.com>
6615
6616         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6617         (gst_base_transform_handle_buffer):
6618         Also call the transform function if we have ANY caps.
6619
6620         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6621         Fix debug info.
6622
6623 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6624
6625         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6626           Don't pretend to handle seek events if the source is not seekable
6627
6628 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6629
6630         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6631           Remove extra parameter to debug output
6632
6633         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6634         (gst_base_src_do_seek), (gst_base_src_activate_push):
6635           Fix seek event handling.
6636
6637         * gst/gstpipeline.c: (gst_pipeline_change_state):
6638         * gst/gstqueue.c: (gst_queue_handle_sink_event),
6639         (gst_queue_src_activate_push):
6640           Don't start the src pad task on FLUSH_STOP if the pad
6641           isn't linked.
6642           Debug changes.
6643
6644 2005-08-22  Wim Taymans  <wim@fluendo.com>
6645
6646         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6647         Added check for gst_static_caps_get() refcounting.
6648
6649 2005-08-22  Wim Taymans  <wim@fluendo.com>
6650
6651         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6652         Make _static_caps_get() refcounting sane.
6653         
6654         * gst/gstelement.c: (gst_element_set_state):
6655         Add g_return_val_if_fail() to protect against segfaults.
6656
6657 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
6658
6659         * docs/gst/tmpl/gstevent.sgml:
6660         * gst/gstevent.c:
6661         * gst/gstevent.h:
6662           inlined remaining docs, added missing doc comments
6663
6664 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6665
6666         * check/gst/gstbin.c: (GST_START_TEST):
6667           since we don't know when preroll is done, use refcount range
6668           check for the sink
6669         * gst/check/gstcheck.h:
6670           add macro for checking refcount range
6671
6672 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6673
6674         * check/Makefile.am:
6675           clean up environment for when registry gets built versus
6676           when actual tests are run; valgrind seems to not report
6677           leaks if GST_PLUGIN_PATH is set to some specific values
6678         * check/gst/gstbin.c: (GST_START_TEST):
6679           add more refcounting checks; maybe this exposes a
6680           preroll lock bug ?
6681         * common/check.mak:
6682         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6683         * gst/check/gstcheck.h:
6684         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6685         (gst_bin_change_state):
6686         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6687           add/fix debugging/whitespace
6688
6689 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6690
6691         * check/gst/gstevent.c: (event_probe), (test_event),
6692         (GST_START_TEST):
6693          Er, don't call gst_bin_watch_for_state_change you idiot.
6694
6695 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6696
6697         * check/Makefile.am:
6698           Use CHECK_CFLAGS and CHECK_LIBS
6699         * check/gst/gstevent.c: (event_probe), (test_event),
6700         (GST_START_TEST):
6701           Don't leak events.
6702         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6703         (gst_base_src_start), (gst_base_src_stop),
6704         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6705         (gst_base_src_change_state):
6706           Sprinkle gst_base_src_stop liberally around error paths to fix
6707           problems reusing a source after failed state changes.
6708         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6709         (helper_find_suggest), (gst_type_find_helper):
6710           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6711         * gst/gstevent.h:
6712         * docs/gst/tmpl/gstevent.sgml:
6713           Migrate part of the docs from the SGML file. Wait for ensonic to
6714           tell me how I did it wrong ;)
6715         * tools/gst-typefind.c: (main):
6716           Extra robustness to state changes between files.
6717
6718 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6719
6720         * check/Makefile.am:
6721           don't valgrind the controller test - it's leaking - Stefan, HELP
6722         * gst/check/gstcheck.c: (gst_check_message_error),
6723         (gst_check_chain_func), (gst_check_setup_element),
6724         (gst_check_teardown_element), (gst_check_setup_src_pad),
6725         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6726         (gst_check_teardown_sink_pad):
6727         * gst/check/gstcheck.h:
6728           add a bunch of methods to set up elements, and src and sink pads
6729         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6730         * check/elements/identity.c: (setup_identity), (cleanup_identity),
6731         (GST_START_TEST):
6732           use them
6733         * gst/gstmessage.c:
6734         * gst/gsttag.h:
6735           whitespace/doc fixes
6736
6737 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6738
6739         * gst/gstelement.h:
6740           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6741           be handled by the application and not always printed as well
6742
6743 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6744
6745         * check/Makefile.am:
6746           set GST_TOOLS_DIR
6747         * gst/check/gstcheck.c: (gst_check_message_error):
6748         * gst/check/gstcheck.h:
6749           add a fail_unless_equals_int
6750           add fail_unless for error messages
6751
6752 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6753
6754         * check/Makefile.am:
6755         * check/gst.supp:
6756         * common/Makefile.am:
6757         * common/check.mak:
6758         * common/gst.supp:
6759           factor out some of the common stuff so we can use it
6760
6761 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6762
6763         * check/Makefile.am:
6764         * check/gst/gstiterator.c: (GST_START_TEST):
6765         * check/gst/gstsystemclock.c: (GST_START_TEST),
6766         (gst_systemclock_suite):
6767         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6768         * gst/gstclock.c:
6769           valgrind more tests
6770
6771 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6772
6773         * check/elements/.cvsignore:
6774         * check/elements/gstfakesrc.c:
6775           rename to name of element
6776         * check/elements/identity.c: (chain_func), (event_func),
6777         (setup_identity), (cleanup_identity), (GST_START_TEST),
6778         (identity_suite), (main):
6779           add a test for identity
6780         * check/Makefile.am:
6781         * pkgconfig/Makefile.am:
6782         * pkgconfig/gstreamer-check.pc.in:
6783         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6784         * gst/check:
6785         * gst/Makefile.am:
6786         * configure.ac:
6787           move the check stuff to a library that gets installed
6788         * check/gst-libs/controller.c: (GST_START_TEST):
6789         * check/gst-libs/gdp.c:
6790         * check/gst/gst.c: (GST_START_TEST):
6791         * check/gst/gstbin.c:
6792         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6793         * check/gst/gstbus.c:
6794         * check/gst/gstcaps.c: (GST_START_TEST):
6795         * check/gst/gstelement.c:
6796         * check/gst/gstghostpad.c:
6797         * check/gst/gstiterator.c:
6798         * check/gst/gstmessage.c:
6799         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6800         * check/gst/gstobject.c:
6801         * check/gst/gstpad.c: (GST_START_TEST):
6802         * check/gst/gststructure.c: (GST_START_TEST):
6803         * check/gst/gstsystemclock.c: (GST_START_TEST),
6804         (gst_systemclock_suite):
6805         * check/gst/gsttag.c: (gst_tag_suite):
6806         * check/gst/gstvalue.c:
6807         * check/pipelines/cleanup.c:
6808         * check/pipelines/simple_launch_lines.c:
6809         * check/states/sinks.c:
6810           change include statement
6811
6812         * docs/gst/gstreamer-sections.txt:
6813         * docs/gst/tmpl/gstpad.sgml:
6814           document more pad stuff
6815         * gst/gstminiobject.c: (gst_mini_object_ref),
6816         (gst_mini_object_unref):
6817           debug refcounting
6818
6819 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
6820
6821         * docs/gst/tmpl/gst.sgml:
6822         * gst/gst.c:
6823           eliminate another tmpl file, fix spelling in the long-description
6824
6825 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6826
6827         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6828         (test_event), (timediff), (gstevents_suite):
6829           Should fix build on 64-bit arch's
6830
6831 2005-08-18  Andy Wingo  <wingo@pobox.com>
6832
6833         Make sure that when a pipeline goes to PLAYING, that data has
6834         actually hit the sink.
6835
6836         * check/states/sinks.c (test_sink): A sink that doesn't get any
6837         data shouldn't return SUCCESS for going to either PLAYING or
6838         PAUSED. Test also the return values on the way back down.
6839
6840         * gst/gstelement.c (gst_element_set_state): When changing the
6841         state of an element currently changing state asynchronously, go to
6842         lost-state after commiting the pending state. Makes future calls
6843         to get_state continue to return ASYNC.
6844
6845         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6846         ASYNC when going to PLAYING if we still don't have preroll, as can
6847         happen with live sources.
6848
6849 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6850
6851         * docs/pwg/advanced-types.xml:
6852           Hack long paragraph into 2 chunks as a workaround for buggy
6853           jadetex version in sid and breezy that loops infinitely and
6854           eats all RAM.
6855
6856 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6857
6858         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6859         (test_event), (timediff), (gstevents_suite):
6860           Provide more error margin in clock measurements to allow for 
6861           g_get_current_time inaccuracies.
6862
6863 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6864
6865         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6866         (test_event), (timediff), (gstevents_suite):
6867            Fix error message output so I might be able to tell why the
6868            test works here but fails on the build farm.
6869
6870 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6871
6872         * check/Makefile.am:
6873         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6874         (test_event), (timediff), (gstevents_suite), (main):
6875           I wrote a test!
6876
6877         * docs/design/part-seeking.txt:
6878           Spelling correction
6879
6880         * docs/gst/tmpl/gstevent.sgml:
6881         * docs/gst/tmpl/gstfakesrc.sgml:
6882           Docs updates.
6883
6884         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6885           Treat a buffer-without-newsegment the same as a receiving 
6886           a newsegment not in time format, and disable syncing to the clock
6887           with a warning.
6888
6889         * gst/gstbus.c: (gst_bus_set_sync_handler):
6890           Assert if anyone tries to replace the existing sync_handler for bus, 
6891           as only the owner should be setting it.
6892
6893         * gst/gstevent.h:
6894           Have a fixed set of custom event enums with events identified by
6895           their structure name (as in 0.8), rather than a free-for-all
6896           allowing collisions between enum values from different plugins.
6897
6898         * gst/gstpad.c: (gst_pad_class_init):
6899           Docs change.
6900           
6901         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6902           Handle out-of-band downstream events from the sending thread.
6903
6904 2005-08-17  Andy Wingo  <wingo@pobox.com>
6905
6906         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6907         play-timeout==0 to mean no timeout at all. In that case, don't
6908         bother with a get_state or a warning, just return directly, even
6909         if it's ASYNC.
6910
6911         * gst/base/gstbasetransform.c: Debug changes.
6912
6913         * gst/gstutils.h:
6914         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6915         ensure bins post state change messages. A bit of a hack but I can't
6916         think of a way to avoid it.
6917
6918         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6919
6920 2005-08-16  Andy Wingo  <wingo@pobox.com>
6921
6922         * gst/base/gstadapter.h:
6923         * gst/base/gstadapter.c (gst_adapter_take): New function, like
6924         peek() but you own the data. Not terribly efficient atm.
6925
6926 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6927
6928         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6929         (gst_element_found_tags):
6930         * gst/gstutils.h:
6931           Add two utility functions for tag handling.
6932
6933 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6934
6935         * docs/manual/advanced-dataaccess.xml:
6936         * docs/manual/basics-helloworld.xml:
6937           Fix docs to use _bin_add() before _link(), which fixes the examples
6938           with recent core versions (reported by Madhan Raj M
6939           <raj_madan@rediffmail.com>, #313199).
6940
6941 2005-08-16  Wim Taymans  <wim@fluendo.com>
6942
6943         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6944         Added subtract checks.
6945
6946         * docs/design/part-events.txt:
6947         Some more docs about newsegment
6948
6949         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6950         Fix FIXME
6951
6952         * gst/gstcaps.c: (gst_caps_to_string):
6953         Add comments, cleanups.
6954         
6955         * gst/gstelement.c: (gst_element_save_thyself):
6956         cleanups
6957         
6958         * gst/gstvalue.c: (gst_value_collect_int_range),
6959         (gst_string_unwrap), (gst_value_union_int_int_range),
6960         (gst_value_union_int_range_int_range),
6961         (gst_value_intersect_int_int_range),
6962         (gst_value_intersect_int_range_int_range),
6963         (gst_value_intersect_double_double_range),
6964         (gst_value_intersect_double_range_double_range),
6965         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6966         (gst_value_subtract_int_range_int),
6967         (gst_value_subtract_double_range_double),
6968         (gst_value_subtract_double_range_double_range),
6969         (gst_value_subtract_from_list), (gst_value_subtract_list),
6970         (gst_value_can_compare), (gst_value_compare_fraction):
6971         Cleanups, add comments, remove unneeded asserts.
6972
6973 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6974
6975         * tools/gst-launch.c: (event_loop):
6976           don't convert NULL structures to strings
6977
6978 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
6979
6980         * docs/gst/gstreamer-sections.txt:
6981           made some defines private
6982         * docs/gst/tmpl/gstconfig.sgml:
6983         * docs/gst/tmpl/gstqueue.sgml:
6984         * docs/gst/tmpl/gsttaglist.sgml:
6985         * docs/gst/tmpl/gsttypes.sgml:
6986         * docs/gst/tmpl/gstutils.sgml:
6987         * docs/pwg/appendix-porting.xml:
6988         * gst/base/gstbasesink.h:
6989         * gst/base/gstbasesrc.c:
6990         * gst/base/gstbasesrc.h:
6991         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6992         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6993         * gst/gstelement.c: (gst_element_class_init):
6994         * gst/gstpad.c: (gst_pad_class_init):
6995         * gst/gstqueue.c: (gst_queue_class_init):
6996         * gst/gstxml.c: (gst_xml_class_init):
6997           documented all undocumented signal inline
6998         * libs/gst/controller/gst-controller.h:
6999           added padding
7000
7001 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7002
7003         * docs/pwg/appendix-porting.xml:
7004           Document _set_link_function -> _set_setcaps_function.
7005
7006 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7007
7008         * check/Makefile.am:
7009           add a .check target for running the check
7010         * check/gst-libs/controller.c: (GST_START_TEST):
7011           cosmetic fixups
7012         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7013           complete checks for gstbuffer; would be nice if I could get the
7014           gcov stuff to work so I can see if I actually completed gstbuffer.c
7015         * check/gstcheck.h:
7016           add ASSERT_BUFFER_REFCOUNT
7017
7018 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7019
7020         * docs/gst/gstreamer-sections.txt:
7021         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7022         * gst/gsttag.h:
7023           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7024           spew out a warning if a tag that is already registered
7025           is re-registered, unless it is re-registered with a 
7026           different type (#308438).
7027
7028 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7029
7030         * docs/pwg/appendix-porting.xml:
7031         * docs/pwg/building-state.xml:
7032           Add some paragraphs about state changes in 0.9 to the PWG
7033           and the porting guide, in particular about the new meaning
7034           of GST_STATE_PAUSED and how to write state change functions
7035           with concurrent access by multiple threads in mind.
7036
7037 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7038
7039         * docs/gst/gstreamer-docs.sgml:
7040         * docs/libs/gstreamer-libs-docs.sgml:
7041           added deprecation and since indexes
7042         * libs/gst/controller/gst-controller.c:
7043         * libs/gst/controller/gst-helper.c:
7044           added since tags
7045
7046
7047 2005-08-11  Wim Taymans  <wim@fluendo.com>
7048
7049         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7050         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7051         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7052         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7053         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7054         (gst_ghost_pad_set_target):
7055         Actually implement (re)setting the target on a ghostpad
7056         as described in the docs.
7057
7058 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7059
7060         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7061           Check whether GST_DEBUG_NO_COLOR environment variable is
7062           set and disable coloured debug output if that is the case.
7063
7064 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7065
7066         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7067         (gst_type_find_helper):
7068           The memory returned by gst_type_find_peek() needs to
7069           stay valid until the end of a typefind function, and
7070           typefind functions may keep results from different 
7071           offsets around, so we can't just unref the buffer from
7072           the previous _peek(), but have to save all buffers 
7073           returned by _peek() until typefinding is done and only
7074           free them then.
7075
7076 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7077
7078         * docs/gst/gstreamer-sections.txt:
7079         * gst/gstutils.h:
7080           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7081
7082 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7083
7084         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7085           Fix a pretty good memleak.
7086
7087 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7088
7089         * gst/gstiterator.h:
7090           Fix wrong include and 'make distcheck'.
7091
7092 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7093
7094         * gst/gstbin.c: (bin_bus_handler):
7095           Use gst_element_post_message() instead.
7096
7097 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7098
7099         * gst/base/gstadapter.h:
7100         * gst/base/gstbasesink.h:
7101         * gst/base/gstbasesrc.h:
7102         * gst/base/gstbasetransform.h:
7103         * gst/base/gstcollectpads.h:
7104         * gst/base/gstpushsrc.h:
7105         * gst/gstiterator.h:
7106           Add padding to our base elements' class and instance structs and
7107           to GstIterator (you will need to rebuild all plugins and apps!)
7108
7109 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7110
7111         * gst/gstbin.c: (bin_bus_handler):
7112           Make default message forwarding from child->bus to bin->bus
7113           threadsafe and make it not emit warnings if the parent has no bus.
7114
7115 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7116
7117         * gst/gstelement.c: (activate_pads):
7118           On paused->ready, set pad->caps to NULL, as is the documented
7119           behaviour in this state change. Fixes playback of series of
7120           media files when visualization is enabled in Totem.
7121
7122 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7123
7124         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7125           Allow NULL as filter-caps (which means "any").
7126
7127 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7128
7129         * docs/libs/gstreamer-libs-sections.txt:
7130         * libs/gst/controller/gst-controller.c:
7131         * libs/gst/controller/gst-controller.h:
7132         * libs/gst/controller/gst-helper.c:
7133           adding more entries to the docs and fix small doc-bugs
7134
7135 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7136
7137         * docs/gst/gstreamer-docs.sgml:
7138         * docs/gst/gstreamer-sections.txt:
7139         * docs/gst/gstreamer.types:
7140         * docs/gst/tmpl/gstbasesink.sgml:
7141         * docs/gst/tmpl/gstbasesrc.sgml:
7142         * docs/gst/tmpl/gstbasetransform.sgml:
7143         * docs/gst/tmpl/gstfakesrc.sgml:
7144         * gst/base/gstcollectpads.c:
7145         * gst/base/gstcollectpads.h:
7146         * libs/gst/controller/gst-controller.c:
7147         * libs/gst/controller/gst-controller.h:
7148         * libs/gst/controller/gst-helper.c:
7149         * libs/gst/controller/gst-interpolation.c:
7150         * libs/gst/controller/lib.c:
7151           added long/short desc for controller docs
7152           added collectpads base class docs
7153           added correct includes to base-class docs
7154
7155 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7156
7157         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7158         (gst_test_mono_source_set_property),
7159         (gst_test_mono_source_class_init), (GST_START_TEST),
7160         (gst_controller_suite):
7161         * docs/gst/gstreamer-docs.sgml:
7162         * docs/gst/gstreamer-sections.txt:
7163         * docs/gst/gstreamer.types:
7164         * docs/libs/gstreamer-libs-docs.sgml:
7165         * docs/libs/gstreamer-libs-sections.txt:
7166         * gst/base/gstadapter.c:
7167         * libs/gst/controller/gst-controller.c:
7168         (gst_controlled_property_new), (gst_controlled_property_free),
7169         (gst_controller_new_valist),
7170         (gst_controller_remove_properties_valist),
7171         (gst_controller_sink_values), (_gst_controller_finalize):
7172         * libs/gst/controller/gst-controller.h:
7173         * libs/gst/controller/gst-helper.c:
7174         (gst_object_control_properties), (gst_object_uncontrol_properties),
7175         (gst_object_get_controller), (gst_object_set_controller),
7176         (gst_object_sink_values), (gst_object_get_value_arrays),
7177         (gst_object_get_value_array):
7178           more tests (and fixes) for the controller
7179           more docs for the controller
7180           integrated companies docs for the adapter 
7181
7182 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7183
7184         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7185         (GST_START_TEST), (fakesrc_suite):
7186           add tests for sizetype
7187
7188 2005-08-04  Andy Wingo  <wingo@pobox.com>
7189
7190         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7191         fixes buffer_alloc proxying among other things.
7192
7193         * gst/base/gstbasetransform.c:
7194         * gst/base/gstbasetransform.h:
7195         Revert patch to gstbasetransform from 7-28 removing
7196         delay_configure.
7197
7198         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7199         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7200         Semantics changed, should return not the size of the output buffer
7201         but the byte size of a buffer with a given caps.
7202
7203         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7204         debug object.
7205         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7206         out) are not the pad caps until setcaps finishes.
7207         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7208         not-in-place case as well. Deal with changing from in-place to
7209         not-in-place within calling pad_alloc_buffer. Still a bit
7210         concerned about the overhead here...
7211
7212 2005-08-03  Andy Wingo  <wingo@pobox.com>
7213
7214         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7215         fixating is an error.
7216
7217 2005-08-04  Edward Hervey  <edward@fluendo.com>
7218
7219         * gst/base/gstadapter.h: 
7220         Added gst_adapter_get_type() to the header
7221
7222 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7223
7224         * check/Makefile.am:
7225         * check/gst-libs/controller.c:
7226         * libs/gst/controller/gst-controller.c:
7227         (gst_controller_new_valist):
7228           added check test suite for the controller
7229         * gst/base/gstpushsrc.c:
7230           fixed a doc typo
7231
7232 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7233
7234         * docs/gst/Makefile.am:
7235         * docs/gst/gstreamer-docs.sgml:
7236         * docs/gst/gstreamer-sections.txt:
7237         * docs/gst/gstreamer.types:
7238         * docs/gst/tmpl/gstfakesrc.sgml:
7239         * gst/base/README:
7240         * gst/base/gstbasesink.c:
7241         * gst/base/gstbasesink.h:
7242         * gst/base/gstbasesrc.c:
7243         * gst/base/gstbasesrc.h:
7244         * gst/base/gstbasetransform.c:
7245         * gst/base/gstpushsrc.c:
7246         * gst/base/gstpushsrc.h:
7247           add short/long description docs to base classes
7248           add pushsrc to the docs
7249           remove consolidated doc fragments
7250
7251 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7252
7253         * configure.ac:
7254         * docs/libs/Makefile.am:
7255         * docs/libs/gstreamer-libs-docs.sgml:
7256         * docs/libs/gstreamer-libs-sections.txt:
7257         * docs/libs/gstreamer-libs.types:
7258         * examples/Makefile.am:
7259         * examples/controller/.cvsignore:
7260         * examples/controller/Makefile.am:
7261         * examples/controller/audio-example.c: (main):
7262         * libs/gst/Makefile.am:
7263         * libs/gst/controller/.cvsignore:
7264         * libs/gst/controller/Makefile.am:
7265         * libs/gst/controller/gst-controller.c:
7266         (on_object_controlled_property_changed), (gst_timed_value_compare),
7267         (gst_timed_value_find),
7268         (gst_controlled_property_set_interpolation_mode),
7269         (gst_controlled_property_new), (gst_controlled_property_free),
7270         (gst_controller_find_controlled_property),
7271         (gst_controller_new_valist), (gst_controller_new),
7272         (gst_controller_remove_properties_valist),
7273         (gst_controller_remove_properties), (gst_controller_set),
7274         (gst_controller_set_from_list), (gst_controller_unset),
7275         (gst_controller_get), (gst_controller_get_all),
7276         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7277         (gst_controller_get_value_array),
7278         (gst_controller_set_interpolation_mode),
7279         (_gst_controller_finalize), (_gst_controller_init),
7280         (_gst_controller_class_init), (gst_controller_get_type):
7281         * libs/gst/controller/gst-controller.h:
7282         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7283         (g_object_uncontrol_properties), (g_object_get_controller),
7284         (g_object_set_controller), (g_object_sink_values),
7285         (g_object_get_value_arrays), (g_object_get_value_array):
7286         * libs/gst/controller/gst-interpolation.c:
7287         (gst_controlled_property_find_timed_value_node),
7288         (interpolate_none_get), (interpolate_trigger_get),
7289         (interpolate_trigger_get_value_array):
7290         * libs/gst/controller/lib.c: (gst_controller_init):
7291         * pkgconfig/Makefile.am:
7292         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7293         * pkgconfig/gstreamer-control.pc.in:
7294         * testsuite/Makefile.am:
7295         * testsuite/controller/.cvsignore:
7296         * testsuite/controller/Makefile.am:
7297         * testsuite/controller/interpolator.c: (main):
7298           added controller code
7299           removed dparam pc files
7300
7301 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7302         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7303         (gst_collectpads_stop):
7304           Broadcast the condition when shutting down, to make sure we wake all
7305           threads up. Shut down pads on finalize, for safety.
7306
7307 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7308         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7309         (gst_base_transform_handle_buffer),
7310         (gst_base_transform_change_state):
7311           Handle PAUSED->READY->PAUSED transition after negotiation
7312           occurred already.
7313         * gst/gstmessage.c: (gst_message_init):
7314           Extra piece of debug for new messages.
7315
7316 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7317
7318         * configure.ac:
7319         * docs/gst/tmpl/gstbasesrc.sgml:
7320         * docs/gst/tmpl/gstelement.sgml:
7321         * docs/gst/tmpl/gstevent.sgml:
7322         * docs/gst/tmpl/gstfakesrc.sgml:
7323         * docs/gst/tmpl/gstformat.sgml:
7324         * docs/gst/tmpl/gstghostpad.sgml:
7325         * docs/gst/tmpl/gstpad.sgml:
7326         * docs/gst/tmpl/gstquery.sgml:
7327         * docs/gst/tmpl/gststructure.sgml:
7328         * docs/gst/tmpl/gsttaglist.sgml:
7329         * docs/gst/tmpl/gstvalue.sgml:
7330         * docs/libs/gstreamer-libs-docs.sgml:
7331         * docs/libs/gstreamer-libs-sections.txt:
7332         * docs/libs/gstreamer-libs.types:
7333         * libs/gst/Makefile.am:
7334         * libs/gst/control/.cvsignore:
7335         * libs/gst/control/Makefile.am:
7336         * libs/gst/control/control.c:
7337         * libs/gst/control/control.h:
7338         * libs/gst/control/dparam.c:
7339         * libs/gst/control/dparam.h:
7340         * libs/gst/control/dparam_smooth.c:
7341         * libs/gst/control/dparam_smooth.h:
7342         * libs/gst/control/dparamcommon.h:
7343         * libs/gst/control/dparammanager.c:
7344         * libs/gst/control/dparammanager.h:
7345         * libs/gst/control/dplinearinterp.c:
7346         * libs/gst/control/dplinearinterp.h:
7347         * libs/gst/control/unitconvert.c:
7348         * libs/gst/control/unitconvert.h:
7349         * testsuite/Makefile.am:
7350         * testsuite/dynparams/.cvsignore:
7351         * testsuite/dynparams/Makefile.am:
7352         * testsuite/dynparams/dparamstest.c:
7353         * tools/Makefile.am:
7354         * tools/gst-inspect.c: (print_element_info), (main):
7355         * tools/gst-xmlinspect.c: (print_element_info), (main):
7356           deactivate and remove dparams (libgstcontrol)
7357
7358 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7359
7360         * gst/elements/gsttypefindelement.c:
7361         (gst_type_find_element_have_type), (gst_type_find_element_init),
7362         (stop_typefinding), (gst_type_find_element_handle_event),
7363         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7364         * gst/elements/gsttypefindelement.h:
7365           Set caps on all outgoing buffers, not just the first one.
7366
7367 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7368
7369         * gst/elements/gsttypefindelement.c:
7370         (gst_type_find_element_have_type),
7371         (gst_type_find_element_check_set_buffer_caps),
7372         (gst_type_find_element_init), (stop_typefinding),
7373         (gst_type_find_element_handle_event),
7374         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7375         * gst/elements/gsttypefindelement.h:
7376           Set caps on first outgoing buffer when we've found the type.
7377
7378 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7379
7380         * docs/gst/gstreamer-docs.sgml:
7381         * docs/gst/gstreamer-sections.txt:
7382         * docs/gst/tmpl/gstscheduler.sgml:
7383         * docs/gst/tmpl/gstschedulerfactory.sgml:
7384           Remove some old cruft from docs.
7385
7386 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7387
7388         * gst/gstpad.h:
7389           Fix inline docs for GstPadLinkReturn.
7390           
7391         * gst/gststructure.c: (gst_structure_has_name):
7392         * gst/gststructure.h:
7393         * docs/gst/gstreamer-sections.txt:
7394           New API: gst_structure_has_name().
7395
7396 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7397
7398         * configure.ac:
7399           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7400           and _LARGEFILE_SOURCE in config.h as required. Do not 
7401           export those flags in our .pc files any longer (#142209).
7402
7403           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7404
7405         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7406         (gst_file_sink_do_seek), (gst_file_sink_event),
7407         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7408           Redo seek/tell calls with large file support in mind; add some
7409           debugging messages; add log message that tells us when large
7410           file support is unavailable or not enabled for some reason.
7411
7412         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7413           Add log message that tells us when large file support 
7414           is unavailable or not enabled for some reason.
7415
7416 2005-07-29  Wim Taymans  <wim@fluendo.com>
7417
7418         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7419         Added test for removing an element with ghostpad from a bin.
7420         Fixed test as current implementation does the right thing.
7421
7422         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7423         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7424         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7425         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7426         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7427         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7428         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7429         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7430         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7431         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7432         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7433         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7434         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7435         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7436         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7437         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7438         * gst/gstghostpad.h:
7439         Clean up ghostpads, remove properties for internal stuff.
7440         Make threadsafe.
7441         Fix refcounting.
7442         Prepare for switching targets, not all use cases work yet.
7443
7444 2005-07-29  Wim Taymans  <wim@fluendo.com>
7445
7446         * docs/design/part-gstghostpad.txt:
7447         Small update.
7448
7449         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7450         (gst_bin_remove_func):
7451         Unlinking pads while holding the bin LOCK is not a good
7452         idea.
7453
7454         * gst/gstpad.c: (gst_pad_class_init),
7455         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7456         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7457         No prob setting template after creating the pad.
7458
7459 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7460
7461         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7462         (gst_bus_peek), (gst_bus_source_dispatch),
7463         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7464         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7465           gst_bus_poll may be called from other threads. Handle
7466           this nicely by not making poll_data disappear off the
7467           stack once gst_bus_poll returns.
7468           gst_bus_peek now increments the refcount on the returned
7469           message.
7470
7471 2005-07-29  Wim Taymans  <wim@fluendo.com>
7472
7473         * docs/design/part-gstghostpad.txt:
7474         Overview of current GhostPad datastructures and use
7475         cases for changing the target.
7476
7477 2005-07-28  Wim Taymans  <wim@fluendo.com>
7478
7479         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7480         Added checks for hierarchy consistency whan adding linked
7481         elements to bins.
7482
7483         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7484         Added check to test element scheduling without bin/pipeline.
7485
7486         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7487         First add elements to bin, then link.
7488         
7489         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7490         (gst_bin_remove_func):
7491         Unlink pads from elements added/removed from bin to maintain
7492         hierarchy consistency.
7493
7494 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7495
7496         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7497         (gst_base_transform_handle_buffer):
7498         * gst/base/gstbasetransform.h:
7499           Remove broken delay_configure (fixes renegotiation of software
7500           scaling pipelines); remove some leftover printf()s.
7501
7502 2005-07-28  Wim Taymans  <wim@fluendo.com>
7503
7504         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7505         Added some more tests for wrong hierarchy
7506
7507         * docs/design/part-overview.txt:
7508         Some updates.
7509
7510         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7511         Cleanups.
7512
7513         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7514         (gst_element_dispose):
7515         Some more cleanups.
7516
7517         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7518         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7519         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7520         (gst_pad_set_caps), (gst_pad_send_event):
7521         Check for correct hierarchy when linking pads. Moving to
7522         strict requirement for ghostpads when linking elements in
7523         different bins.
7524
7525         * gst/gstpad.h:
7526         Clean ups. Added WRONG_HIERARCHY return value.
7527
7528 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7529
7530         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7531           Better debug if no transform is possible.
7532
7533 2005-07-27  Wim Taymans  <wim@fluendo.com>
7534
7535         * docs/random/wtay/network-transp:
7536         Some old doc I had.
7537
7538 2005-07-27  Wim Taymans  <wim@fluendo.com>
7539
7540         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7541         (gst_dp_event_from_packet):
7542         Fix serialization of seek events.
7543
7544 2005-07-27  Wim Taymans  <wim@fluendo.com>
7545
7546         * check/gst-libs/gdp.c: (GST_START_TEST):
7547         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7548         Fix compilation and fix event serialization.
7549
7550 2005-07-27  Wim Taymans  <wim@fluendo.com>
7551
7552         * CHANGES-0.9:
7553         * docs/design/part-TODO.txt:
7554         * docs/design/part-events.txt:
7555         Some docs updates
7556
7557         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7558         (gst_base_sink_event), (gst_base_sink_do_sync),
7559         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7560         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7561         (gst_base_src_do_seek), (gst_base_src_event_handler),
7562         (gst_base_src_loop):
7563         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7564         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7565         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7566         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7567         (gst_base_transform_set_passthrough),
7568         (gst_base_transform_is_passthrough):
7569         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7570         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7571         Event updates.
7572
7573         * gst/gstbuffer.h:
7574         Use faster casts.
7575
7576         * gst/gstelement.c: (gst_element_seek):
7577         * gst/gstelement.h:
7578         Update gst_element_seek.
7579
7580         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7581         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7582         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7583         (gst_event_new_eos), (gst_event_new_newsegment),
7584         (gst_event_parse_newsegment), (gst_event_new_tag),
7585         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7586         (gst_event_parse_qos), (gst_event_new_seek),
7587         (gst_event_parse_seek), (gst_event_new_navigation):
7588         * gst/gstevent.h:
7589         Make GstEvent use GstStructure. Add parsing code, make sure the
7590         API is sufficiently generic.
7591         Mark possible directions of events and serialization.
7592
7593         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7594         (_gst_message_copy), (gst_message_new_segment_start),
7595         (gst_message_new_segment_done), (gst_message_new_custom),
7596         (gst_message_parse_segment_start),
7597         (gst_message_parse_segment_done):
7598         Small cleanups.
7599
7600         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7601         (gst_pad_set_caps), (gst_pad_send_event):
7602         Update for new events. 
7603         Catch events sent in wrong directions.
7604
7605         * gst/gstqueue.c: (gst_queue_link_src),
7606         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7607         (gst_queue_handle_src_query):
7608         Event updates.
7609
7610         * gst/gsttag.c:
7611         * gst/gsttag.h:
7612         Remove event code from this file.
7613
7614         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7615         (gst_dp_event_from_packet):
7616         Event updates.
7617
7618 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7619
7620         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7621         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7622         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7623           Make debugging actually useful.
7624
7625 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7626
7627         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7628         (gst_pad_fixate_caps):
7629           Implement default fixation once again, so that gst_pad_fixate()
7630           actually does anything at all. This probably needs to be some
7631           sort of a last resort, and use profile-based fixation first, but
7632           since that doesn't exist yet, this is the best we have. Fixes
7633           visualization in Totem.
7634
7635 2005-07-22  Wim Taymans  <wim@fluendo.com>
7636
7637         * docs/design/part-events.txt:
7638         Small update.
7639
7640         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7641         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7642         (gst_base_sink_activate_pull):
7643         Some more comments.
7644
7645         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7646         (gst_fake_src_create):
7647         Fix handoff marshall.
7648
7649         * gst/elements/gstidentity.c: (gst_identity_class_init),
7650         (gst_identity_transform_ip):
7651         We're a real inplace element.
7652
7653         * gst/gstbus.c: (gst_bus_post):
7654         Added some comments.
7655
7656         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7657         * tests/muxing/case1.c: (main):
7658         * tests/sched/dynamic-pipeline.c: (main):
7659         * tests/sched/interrupt1.c: (main):
7660         * tests/sched/interrupt2.c: (main):
7661         * tests/sched/interrupt3.c: (main):
7662         * tests/sched/runxml.c: (main):
7663         * tests/sched/sched-stress.c: (main):
7664         * tests/seeking/seeking1.c: (event_received), (main):
7665         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7666         (main):
7667         * tests/threadstate/threadstate3.c: (main):
7668         * tests/threadstate/threadstate4.c: (main):
7669         * tests/threadstate/threadstate5.c: (main):
7670         Fix the tests.
7671
7672 2005-07-21  Wim Taymans  <wim@fluendo.com>
7673
7674         * docs/design/part-seeking.txt:
7675         Some small additions.
7676
7677         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7678         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7679         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7680         * gst/base/gstbasesink.h:
7681         discont values are gint64, handle the math correctly.
7682
7683         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7684         Make the basesrc report error if the source pad is not linked.
7685
7686         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7687         (gst_queue_loop), (gst_queue_handle_src_query),
7688         (gst_queue_src_activate_push):
7689         Make queue collect data even if the srcpad is not linked.
7690         Start pushing out data as soon as it is linked.
7691
7692         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7693         * gst/gstutils.h:
7694         Added gst_flow_get_name() to ease error reporting.
7695
7696 2005-07-20  Wim Taymans  <wim@fluendo.com>
7697
7698         * gst/gstmessage.c: (gst_message_new_segment_start),
7699         (gst_message_new_segment_done), (gst_message_parse_segment_start),
7700         (gst_message_parse_segment_done):
7701         * gst/gstmessage.h:
7702         Added a bunch of messages for advanced seeking.
7703
7704         * gst/parse/grammar.y:
7705         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7706         (gst_dpman_state_changed):
7707         Fix some new-pad -> pad-added signals
7708
7709 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7710
7711         * docs/manual/appendix-porting.xml:
7712         * docs/pwg/appendix-porting.xml:
7713           Document new-pad/state-change signal renames and the FixedList
7714           type rename.
7715
7716 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7717
7718         * docs/manual/advanced-autoplugging.xml:
7719         * docs/manual/basics-helloworld.xml:
7720         * docs/manual/basics-pads.xml:
7721         * docs/random/ds/0.9-suggested-changes:
7722         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7723         * gst/gstelement.h:
7724         * gst/gstevent.h:
7725         * gst/gstformat.h:
7726         * gst/gstquery.h:
7727         * gst/gststructure.c: (gst_structure_value_get_generic_type),
7728         (gst_structure_parse_array), (gst_structure_parse_value):
7729         * gst/gstvalue.c: (gst_type_is_fixed),
7730         (gst_value_list_prepend_value), (gst_value_list_append_value),
7731         (gst_value_list_get_size), (gst_value_list_get_value),
7732         (gst_value_transform_array_string), (gst_value_serialize_array),
7733         (gst_value_deserialize_array), (gst_value_intersect_array),
7734         (gst_value_is_fixed), (_gst_value_initialize):
7735         * gst/gstvalue.h:
7736           GstElement::new-pad -> pad-added, GstElement::state-change ->
7737           state-changed, GstValueFixedList -> GstValueArray, add format and
7738           flags as their own arguments in gst_element_seek() (should improve
7739           "bindeability"), remove function generators since they don't work
7740           under a whole bunch of compilers (they were deprecated already
7741           anyway).
7742
7743 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7744
7745         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7746         (_gst_debug_register_funcptr):
7747         * gst/gstinfo.h:
7748           Fix illegal cast on some platforms (#309253).
7749
7750 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7751
7752         * gst/gstmessage.c: (gst_message_new_custom):
7753         * gst/gstmessage.h:
7754           Add _new_custom, make _new_application a macro to _new_custom.
7755
7756 2005-07-20  Wim Taymans  <wim@fluendo.com>
7757
7758         * gst/base/gstbasesrc.c: (gst_base_src_init),
7759         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7760         * gst/base/gstbasesrc.h:
7761         Add a gboolean to decide when to push out a discont.
7762
7763         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7764         (gst_queue_loop), (gst_queue_handle_src_query),
7765         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7766         (gst_queue_set_property), (gst_queue_get_property):
7767         Some cleanups.
7768
7769         * tests/threadstate/threadstate1.c: (main):
7770         Make a thread test compile and run... very silly..
7771
7772
7773 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7774
7775         * docs/manual/appendix-porting.xml:
7776           Mention removal of libgstgconf-0.9.la and existence of gconf
7777           elements.
7778
7779 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7780
7781         * docs/pwg/advanced-clock.xml:
7782         * docs/pwg/appendix-porting.xml:
7783         * docs/pwg/intro-preface.xml:
7784         * docs/pwg/other-base.xml:
7785         * docs/pwg/other-manager.xml:
7786         * docs/pwg/other-nton.xml:
7787         * docs/pwg/other-ntoone.xml:
7788         * docs/pwg/other-oneton.xml:
7789         * docs/pwg/pwg.xml:
7790           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7791           demuxer), remove n-to-n (was never written), fix some code examples
7792           and links and update the porting section to include all this.
7793
7794 2005-07-19  Wim Taymans  <wim@fluendo.com>
7795
7796         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7797         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7798         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7799         (gst_queue_src_activate_push), (gst_queue_change_state),
7800         (gst_queue_get_property):
7801         * gst/gstqueue.h:
7802         Propagate GstFlowReturn more intelligently upstream and output
7803         an ERROR/EOS when streaming stopped due to fatal error.
7804
7805 2005-07-19  Wim Taymans  <wim@fluendo.com>
7806
7807         * tools/gst-launch.c: (check_intr), (event_loop), (main):
7808         Don't block forever for the state change to complete, the
7809         pipeline already did with a sensible timeout.
7810
7811 2005-07-19  Wim Taymans  <wim@fluendo.com>
7812
7813         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7814         Make sure we never call the create function is we
7815         got deactivated.
7816
7817 2005-07-19  Andy Wingo  <wingo@pobox.com>
7818
7819         * gst/parse/parse.l: Attempt to solve bug #172815.
7820
7821 2005-07-19  Wim Taymans  <wim@fluendo.com>
7822
7823         * docs/design/part-clocks.txt:
7824         * docs/design/part-events.txt:
7825         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7826         Small docs updates.
7827         Only update the seeking values when we are not
7828         busy streaming.
7829
7830 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7831
7832         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7833           Oops, ignore the result of gst_pad_push_event here.
7834
7835 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7836
7837         * gst/base/gstbasesrc.c: (gst_base_src_loop),
7838         (gst_base_src_activate_push):
7839           Send discont event from the loop function, as pads
7840           aren't activated yet in the activate_push handler.
7841
7842         * gst/gstbin.c: (bin_bus_handler):
7843           Don't leak element name.
7844
7845 2005-07-18  Andy Wingo  <wingo@pobox.com>
7846
7847         * configure.ac: Use AS_LIBTOOL_TAGS.
7848
7849 2005-07-18  Wim Taymans  <wim@fluendo.com>
7850
7851         * docs/gst/gstreamer.types:
7852         Remove deleted types.
7853
7854 2005-07-18  Wim Taymans  <wim@fluendo.com>
7855
7856         * check/elements/gstfakesrc.c: (GST_START_TEST):
7857         * configure.ac:
7858         * gst/Makefile.am:
7859         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7860         (init_popt_callback):
7861         * gst/gst.h:
7862         * gst/gst_private.h:
7863         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7864         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7865         * gst/gstbin.h:
7866         * gst/gstbus.h:
7867         * gst/gstconfig.h.in:
7868         * gst/gstelement.c: (gst_element_class_init),
7869         (gst_element_set_base_time), (gst_element_get_base_time),
7870         (iterator_fold_with_resync), (gst_element_change_state),
7871         (gst_element_dispose), (gst_element_get_bus):
7872         * gst/gstelement.h:
7873         * gst/gstelementfactory.h:
7874         * gst/gsterror.c: (_gst_core_errors_init):
7875         * gst/gsterror.h:
7876         * gst/gstevent.h:
7877         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7878         * gst/gstindex.c:
7879         * gst/gstinfo.c: (_gst_debug_init):
7880         * gst/gstmessage.c: (_gst_message_copy):
7881         * gst/gstmessage.h:
7882         * gst/gstminiobject.h:
7883         * gst/gstobject.c:
7884         * gst/gstobject.h:
7885         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7886         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7887         * gst/gstpad.h:
7888         * gst/gstparse.h:
7889         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7890         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7891         (gst_pipeline_get_last_stream_time):
7892         * gst/gstpipeline.h:
7893         * gst/gstpluginfeature.h:
7894         * gst/gstquery.h:
7895         * gst/gstscheduler.c:
7896         * gst/gstscheduler.h:
7897         * gst/gststructure.h:
7898         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7899         (gst_task_finalize), (gst_task_func), (gst_task_create),
7900         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7901         (gst_task_stop), (gst_task_pause):
7902         * gst/gsttask.h:
7903         * gst/gsttypefind.h:
7904         * gst/gsttypes.h:
7905         * gst/registries/gstlibxmlregistry.c: (load_feature),
7906         (gst_xml_registry_load), (gst_xml_registry_save_feature):
7907         * gst/registries/gstxmlregistry.c:
7908         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7909         * gst/schedulers/threadscheduler.c:
7910         * libs/gst/control/dparammanager.h:
7911         * tools/gst-inspect.c: (print_element_list),
7912         (print_plugin_features), (print_element_features):
7913         * tools/gst-xmlinspect.c: (print_element_list),
7914         (print_plugin_info), (main):
7915         Removed plugable schedulers.
7916         Removed Scheduler/Manager from elements.
7917         Removed gsttypes.h, rearranged includes.
7918         Removed dependency pad<->element, element<>pipeline, and
7919         various others,  fix includes.
7920         implement gst_pad_get_parent() with gst_object_get_parent()
7921         Make GstTask sefcontained.
7922         Fix _get_state() on GstBin, it did not return ASYNC with a 0
7923         timeout.
7924         Fix endless loop in iterator_fold_with_resync.
7925
7926
7927 2005-07-18  Wim Taymans  <wim@fluendo.com>
7928
7929         * gst/Makefile.am:
7930         * gst/gstarch.h:
7931         Remove old file.
7932
7933 2005-07-18  Wim Taymans  <wim@fluendo.com>
7934
7935         * gst/Makefile.am:
7936         No more cothreads.h
7937
7938 2005-07-18  Wim Taymans  <wim@fluendo.com>
7939
7940         * gst/cothreads.c:
7941         * gst/cothreads.h:
7942         Let's remove these.
7943
7944 2005-07-18  Wim Taymans  <wim@fluendo.com>
7945
7946         * docs/design/part-dynamic.txt:
7947         * docs/design/part-events.txt:
7948         * docs/design/part-seeking.txt:
7949         Some more docs in the works.
7950
7951         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7952         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7953         (gst_base_transform_setcaps), (gst_base_transform_get_size),
7954         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7955         (gst_base_transform_handle_buffer),
7956         (gst_base_transform_sink_activate_push),
7957         (gst_base_transform_src_activate_pull),
7958         (gst_base_transform_set_passthrough),
7959         (gst_base_transform_is_passthrough):
7960         Refcounting fixes.
7961
7962         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7963         Cleanups.
7964
7965         * gst/gstevent.c: (gst_event_finalize):
7966         Set SRC to NULL.
7967
7968         * gst/gstutils.c: (gst_element_unlink),
7969         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7970         (gst_pad_proxy_setcaps):
7971         * gst/gstutils.h:
7972         Add _get_parent_element() to get a pads parent as an element.
7973
7974 2005-07-18  Wim Taymans  <wim@fluendo.com>
7975
7976         * check/gst/gstbin.c: (GST_START_TEST):
7977         Remove bogus test.
7978
7979 2005-07-18  Wim Taymans  <wim@fluendo.com>
7980
7981         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7982         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7983         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7984         (gst_base_sink_event), (gst_base_sink_do_sync),
7985         (gst_base_sink_chain), (gst_base_sink_loop),
7986         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7987         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7988         Refcounting fixes.
7989         Fix logic for returning ASYNC when not prerolled.
7990
7991 2005-07-18  Wim Taymans  <wim@fluendo.com>
7992
7993         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7994         Fix nasty refcount bug.
7995
7996 2005-07-16 Philippe Khalaf <burger@speedy.org>
7997
7998         * gst/elements/gstfdsrc.c:
7999         * gst/elements/gstfdsrc.h:
8000         * gst/elements/gstelements.c:
8001         * gst/elements/Makefile.am:
8002         Ported fdsrc to 0.9.
8003
8004 2005-07-16  Wim Taymans  <wim@fluendo.com>
8005
8006         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8007         (gst_base_sink_do_sync):
8008         Fix compile error.
8009
8010 2005-07-16  Wim Taymans  <wim@fluendo.com>
8011
8012         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8013         (gst_base_sink_event), (gst_base_sink_get_times),
8014         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8015         * gst/base/gstbasesink.h:
8016         Store and use discont values when syncing buffers as described
8017         in design docs.
8018         
8019         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8020         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8021         (gst_base_src_activate_push):
8022         Push discont event when starting.
8023
8024         * gst/elements/gstidentity.c: (gst_identity_transform):
8025         Small cleanups.
8026
8027         * gst/gstbin.c: (gst_bin_change_state):
8028         Small cleanups in base_time  distribution.
8029
8030         * gst/gstelement.c: (gst_element_set_base_time),
8031         (gst_element_get_base_time), (gst_element_change_state):
8032         * gst/gstelement.h:
8033         Added methods for the base_time of the element.
8034         Some MT fixes.
8035
8036         * gst/gstpipeline.c: (gst_pipeline_send_event),
8037         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8038         (gst_pipeline_get_last_stream_time):
8039         * gst/gstpipeline.h:
8040         MT fixes.
8041         Handle seeking as described in design doc, remove stream_time
8042         hack.
8043         Cleanups clock and stream_time selection code. Added accessors
8044         for the stream_time.
8045         
8046
8047 2005-07-16  Andy Wingo  <wingo@pobox.com>
8048
8049         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8050         (#305291).
8051
8052 2005-07-16  Wim Taymans  <wim@fluendo.com>
8053
8054         * check/gst/gstbin.c: (GST_START_TEST):
8055         Make elements silent as the deep_notify refs the
8056         parent, which might make the test fail.
8057
8058         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8059         Don't hold the lock for too long.
8060
8061 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8062
8063         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8064           Don't unref the caps we passed to gst_caps_make_writable() after
8065           passing them. gst_caps_make_writable() will do that for us.
8066
8067 2005-07-15  Andy Wingo  <wingo@pobox.com>
8068
8069         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8070         (#157311).
8071
8072         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8073         own marshalling function for the handoff signal. Properly type the
8074         buffer as a buffer. Fixes some warnings. Should do a more general
8075         solution.
8076         (gst_identity_class_init): Plug into the right marshaller.
8077
8078 2005-07-15  Wim Taymans  <wim@fluendo.com>
8079
8080         * docs/design/part-TODO.txt:
8081         * docs/design/part-clocks.txt:
8082         * docs/design/part-element-sink.txt:
8083         * docs/design/part-events.txt:
8084         * docs/design/part-gstpipeline.txt:
8085         Updated docs, mostly DISCONT related.
8086
8087 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8088
8089         * docs/pwg/building-pads.xml:
8090           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8091
8092 2005-07-15  Andy Wingo  <wingo@pobox.com>
8093
8094         * tools/gst-typefind.c: Update, add copyright block.
8095
8096         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8097         Normalize and truncate caps before fixation.
8098
8099         * gst/gstcaps.h:
8100         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8101         discards all but the first structure from its argument.
8102
8103 2005-07-15  Wim Taymans  <wim@fluendo.com>
8104
8105         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8106         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8107         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8108         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8109         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8110         (gst_base_transform_chain), (gst_base_transform_change_state),
8111         (gst_base_transform_set_passthrough),
8112         (gst_base_transform_is_passthrough):
8113         * gst/base/gstbasetransform.h:
8114         Make passthrough work using the bufferpools.
8115         Changed API a bit, subclasses have to write into a buffer
8116         provided by the base class.
8117         More debug info in nego functions.
8118         
8119         * gst/elements/gstidentity.c: (gst_identity_init),
8120         (gst_identity_transform):
8121         Port to new base class.
8122
8123 2005-07-15  Wim Taymans  <wim@fluendo.com>
8124
8125         * gst/gstmessage.c: (gst_message_new_state_changed):
8126         * tools/gst-launch.c: (event_loop), (main):
8127         Totally dump messages in -launch with the -m option.
8128         Fix message name for State messages,
8129
8130 2005-07-14  Wim Taymans  <wim@fluendo.com>
8131
8132         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8133         Post error messages on errors.
8134
8135 2005-07-14  Wim Taymans  <wim@fluendo.com>
8136
8137         * gst/gstcaps.c: (gst_caps_do_simplify):
8138         Remove debug info.
8139
8140         * gst/gsterror.h:
8141         Define error for stream stopped.
8142
8143         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8144         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8145         Do proper return values.
8146
8147         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8148         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8149         (gst_pad_get_range):
8150         Better return values.
8151
8152         * gst/gstpad.h:
8153         Reorganise return values, add macro to check for fatal errors.
8154
8155         * gst/gstqueue.c: (gst_queue_chain):
8156         Return proper GstFlowReturn values,
8157
8158 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8159
8160         * docs/gst/gstreamer-sections.txt:
8161         * docs/gst/gstreamer.types:
8162         * docs/gst/tmpl/gst.sgml:
8163         * docs/gst/tmpl/gstbasesink.sgml:
8164         * docs/gst/tmpl/gstbasesrc.sgml:
8165         * docs/gst/tmpl/gstbasetransform.sgml:
8166         * docs/gst/tmpl/gstbin.sgml:
8167         * docs/gst/tmpl/gstbuffer.sgml:
8168         * docs/gst/tmpl/gstcaps.sgml:
8169         * docs/gst/tmpl/gstclock.sgml:
8170         * docs/gst/tmpl/gstcompat.sgml:
8171         * docs/gst/tmpl/gstconfig.sgml:
8172         * docs/gst/tmpl/gstelement.sgml:
8173         * docs/gst/tmpl/gstelementdetails.sgml:
8174         * docs/gst/tmpl/gstelementfactory.sgml:
8175         * docs/gst/tmpl/gstenumtypes.sgml:
8176         * docs/gst/tmpl/gsterror.sgml:
8177         * docs/gst/tmpl/gstevent.sgml:
8178         * docs/gst/tmpl/gstfakesink.sgml:
8179         * docs/gst/tmpl/gstfakesrc.sgml:
8180         * docs/gst/tmpl/gstfilesink.sgml:
8181         * docs/gst/tmpl/gstfilesrc.sgml:
8182         * docs/gst/tmpl/gstfilter.sgml:
8183         * docs/gst/tmpl/gstformat.sgml:
8184         * docs/gst/tmpl/gstghostpad.sgml:
8185         * docs/gst/tmpl/gstimplementsinterface.sgml:
8186         * docs/gst/tmpl/gstindex.sgml:
8187         * docs/gst/tmpl/gstindexfactory.sgml:
8188         * docs/gst/tmpl/gstinfo.sgml:
8189         * docs/gst/tmpl/gstiterator.sgml:
8190         * docs/gst/tmpl/gstmacros.sgml:
8191         * docs/gst/tmpl/gstmemchunk.sgml:
8192         * docs/gst/tmpl/gstminiobject.sgml:
8193         * docs/gst/tmpl/gstobject.sgml:
8194         * docs/gst/tmpl/gstpad.sgml:
8195         * docs/gst/tmpl/gstpadtemplate.sgml:
8196         * docs/gst/tmpl/gstparse.sgml:
8197         * docs/gst/tmpl/gstpipeline.sgml:
8198         * docs/gst/tmpl/gstplugin.sgml:
8199         * docs/gst/tmpl/gstpluginfeature.sgml:
8200         * docs/gst/tmpl/gstquery.sgml:
8201         * docs/gst/tmpl/gstqueue.sgml:
8202         * docs/gst/tmpl/gstregistry.sgml:
8203         * docs/gst/tmpl/gstregistrypool.sgml:
8204         * docs/gst/tmpl/gstscheduler.sgml:
8205         * docs/gst/tmpl/gstschedulerfactory.sgml:
8206         * docs/gst/tmpl/gststructure.sgml:
8207         * docs/gst/tmpl/gstsystemclock.sgml:
8208         * docs/gst/tmpl/gsttaglist.sgml:
8209         * docs/gst/tmpl/gsttagsetter.sgml:
8210         * docs/gst/tmpl/gsttrace.sgml:
8211         * docs/gst/tmpl/gsttrashstack.sgml:
8212         * docs/gst/tmpl/gsttypefind.sgml:
8213         * docs/gst/tmpl/gsttypefindfactory.sgml:
8214         * docs/gst/tmpl/gsttypes.sgml:
8215         * docs/gst/tmpl/gsturihandler.sgml:
8216         * docs/gst/tmpl/gsturitype.sgml:
8217         * docs/gst/tmpl/gstutils.sgml:
8218         * docs/gst/tmpl/gstvalue.sgml:
8219         * docs/gst/tmpl/gstversion.sgml:
8220         * docs/gst/tmpl/gstxml.sgml:
8221         * docs/libs/tmpl/gstcontrol.sgml:
8222         * docs/libs/tmpl/gstdataprotocol.sgml:
8223         * docs/libs/tmpl/gstdparam.sgml:
8224         * docs/libs/tmpl/gstdplinint.sgml:
8225         * docs/libs/tmpl/gstdpman.sgml:
8226         * docs/libs/tmpl/gstdpsmooth.sgml:
8227         * docs/libs/tmpl/gstgetbits.sgml:
8228         * docs/libs/tmpl/gstunitconvert.sgml:
8229         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8230         (gst_push_src_base_init), (gst_push_src_class_init),
8231         (gst_push_src_init), (gst_push_src_create):
8232         * gst/base/gstpushsrc.h:
8233         * gst/elements/gstelements.c:
8234         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8235         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8236         (gst_fake_sink_init), (gst_fake_sink_set_property),
8237         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8238         (gst_fake_sink_event), (gst_fake_sink_preroll),
8239         (gst_fake_sink_render), (gst_fake_sink_change_state):
8240         * gst/elements/gstfakesink.h:
8241         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8242         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8243         (gst_fake_src_base_init), (gst_fake_src_class_init),
8244         (gst_fake_src_init), (gst_fake_src_event_handler),
8245         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8246         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8247         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8248         (gst_fake_src_create_buffer), (gst_fake_src_create),
8249         (gst_fake_src_start), (gst_fake_src_stop):
8250         * gst/elements/gstfakesrc.h:
8251         * gst/elements/gstfilesink.c: (_do_init),
8252         (gst_file_sink_base_init), (gst_file_sink_class_init),
8253         (gst_file_sink_init), (gst_file_sink_dispose),
8254         (gst_file_sink_set_location), (gst_file_sink_set_property),
8255         (gst_file_sink_get_property), (gst_file_sink_open_file),
8256         (gst_file_sink_close_file), (gst_file_sink_query),
8257         (gst_file_sink_event), (gst_file_sink_render),
8258         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8259         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8260         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8261         * gst/elements/gstfilesink.h:
8262         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8263         (gst_file_src_class_init), (gst_file_src_init),
8264         (gst_file_src_finalize), (gst_file_src_set_location),
8265         (gst_file_src_set_property), (gst_file_src_get_property),
8266         (gst_file_src_map_region), (gst_file_src_map_small_region),
8267         (gst_file_src_create_mmap), (gst_file_src_create_read),
8268         (gst_file_src_create), (gst_file_src_is_seekable),
8269         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8270         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8271         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8272         (gst_file_src_uri_handler_init):
8273         * gst/elements/gstfilesrc.h:
8274           more autistic cleanliness in functions/names/defines
8275
8276 2005-07-13  Andy Wingo  <wingo@pobox.com>
8277
8278         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8279         source couldn't negotiate.
8280
8281         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8282         connections again.
8283
8284         * gst/gstutils.h:
8285         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8286         function. I am channeling Hades. Put your boots on suckers!!!
8287
8288 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8289
8290         * testsuite/caps/Makefile.am:
8291         * testsuite/caps/value_compare.c:
8292         * testsuite/caps/value_intersect.c:
8293         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8294           move two testsuite apps over to the check dir
8295
8296 2005-07-12  Wim Taymans  <wim@fluendo.com>
8297
8298         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8299         Added more debug info in the negotiate process.
8300
8301         * gst/gstmessage.h:
8302         Prepare for segment playback.
8303
8304         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8305         Better debugging.
8306
8307         * gst/gstutils.c:
8308         Some more docs.
8309
8310         * tools/gst-launch.c: (main):
8311         NULL pipeline on errors.
8312
8313 2005-07-12  Andy Wingo  <wingo@pobox.com>
8314
8315         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8316         not it comes from a malloc region. Make sure our copy gets freed.
8317
8318 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8319
8320         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8321         * check/gst/gstmessage.c: (GST_START_TEST):
8322         * check/gst/gststructure.c: (GST_START_TEST),
8323         (gst_structure_suite), (main):
8324           more testing
8325         * gst/gstelement.c: (gst_element_message_full):
8326           clean up GError and debug string now that they get copied
8327         * gst/gstmessage.c: (gst_message_new_error),
8328         (gst_message_new_warning), (gst_message_parse_error),
8329         (gst_message_parse_warning):
8330           use GST_TYPE_G_ERROR for structure_new, and take copies of
8331           arguments, so that we don't mess up refcounting
8332
8333 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8334
8335         * check/Makefile.am:
8336           add per-test valgrind targets
8337         * check/gst-libs/gdp.c: (GST_START_TEST),
8338         (gst_data_protocol_suite), (main):
8339           clean up
8340
8341 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8342
8343         * check/Makefile.am:
8344           instate more valgrindable tests
8345         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8346         (GST_START_TEST), (fakesrc_suite):
8347         * check/gst/gstpad.c: (GST_START_TEST):
8348         * check/gst/gststructure.c: (GST_START_TEST):
8349           fix test leaks
8350         * docs/gst/tmpl/gstminiobject.sgml:
8351         * gst/gstpad.c: (gst_pad_finalize):
8352           fix the static mutex leak
8353
8354 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8355
8356         * check/Makefile.am:
8357           add two more tests for valgrinding
8358         * check/gst/gstvalue.c: (GST_START_TEST):
8359           test refcount of deserialized buffer, found a leak
8360         * docs/gst/gstreamer-docs.sgml:
8361         * docs/gst/gstreamer-sections.txt:
8362         * docs/gst/gstreamer.types:
8363         * docs/gst/tmpl/gstminiobject.sgml:
8364           add miniobject to docs
8365         * gst/gstminiobject.c:
8366           add some docs
8367         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8368         (gst_string_unwrap):
8369           fix a hard-to-find invalid write for one of the tests
8370           fix a leak for deserialized buffers
8371
8372 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8373
8374         * docs/pwg/advanced-events.xml:
8375         * docs/pwg/advanced-request.xml:
8376         * docs/pwg/advanced-scheduling.xml:
8377         * docs/pwg/appendix-porting.xml:
8378         * docs/pwg/building-boiler.xml:
8379         * docs/pwg/intro-preface.xml:
8380         * docs/pwg/other-ntoone.xml:
8381           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8382           of example code and explanation for pad activation, loop() and
8383           getrange() functions and a bit more. Remove old comments pointing
8384           to loop-functions.
8385         * examples/pwg/Makefile.am:
8386           Add loop/getrange examples.
8387
8388 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8389
8390         * configure.ac:
8391           check for valgrind binary + some fixes
8392         * check/gst.supp:
8393           valgrind suppressions for the tests
8394         * check/Makefile.am:
8395           add a valgrind: target that valgrinds the unit tests
8396         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8397         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8398         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8399         * check/gst/gstghostpad.c:
8400           added some cleanup
8401         * check/gst/gstdata.c:
8402           removed
8403         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8404         (thread_unref), (gst_mini_object_suite), (main):
8405           added
8406         * gst/gst.c: (gst_deinit):
8407         * gst/gst.h:
8408           add a method to clean up.
8409         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8410         (gst_system_clock_obtain):
8411           allow for disposing the system clock.
8412         * tools/gst-launch.c: (main):
8413           deinit
8414
8415 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8416
8417         * docs/gst/tmpl/gstbasesrc.sgml:
8418         * docs/gst/tmpl/gstfakesrc.sgml:
8419         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8420         (gst_base_src_init), (gst_base_src_set_property),
8421         (gst_base_src_get_property), (gst_base_src_get_range),
8422         (gst_base_src_start):
8423         * gst/base/gstbasesrc.h:
8424           add num-buffers property
8425         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8426         (gst_fakesrc_init), (gst_fakesrc_set_property),
8427         (gst_fakesrc_get_property), (gst_fakesrc_create),
8428         (gst_fakesrc_start):
8429           remove num-buffers property
8430
8431 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8432
8433         * docs/gst/gstreamer-sections.txt:
8434         * docs/gst/tmpl/gstbasesink.sgml:
8435         * docs/gst/tmpl/gstbasesrc.sgml:
8436         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8437         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8438         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8439         (gst_base_sink_set_property), (gst_base_sink_get_property),
8440         (gst_base_sink_handle_object), (gst_base_sink_event),
8441         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8442         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8443         (gst_base_sink_loop), (gst_base_sink_deactivate),
8444         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8445         (gst_base_sink_change_state):
8446         * gst/base/gstbasesink.h:
8447         * gst/base/gstbasesrc.h:
8448         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8449         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8450         (gst_filesink_init):
8451           more macro splitting
8452
8453 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8454
8455         * gst/gstelement.c: (gst_element_get_bus):
8456           add debug
8457         * tools/gst-launch.c: (check_intr), (event_loop):
8458           fix bus leaks
8459
8460 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8461
8462         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8463           fix a caps leak
8464
8465 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8466
8467         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8468         (gst_base_src_finalize):
8469           add finalize method and clean up properly
8470         * gst/gstpipeline.c: (gst_pipeline_dispose):
8471           add debug
8472
8473 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8474
8475         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8476         (gst_bin_suite):
8477           add more things to check
8478         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8479         * gst/gstelement.c:
8480           more debug
8481
8482 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8483
8484         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8485         (GST_START_TEST), (fakesrc_suite):
8486         * check/gst-libs/gdp.c: (GST_START_TEST):
8487         * check/gst/gst.c: (GST_START_TEST):
8488         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8489         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8490         * check/gst/gstbus.c: (GST_START_TEST):
8491         * check/gst/gstcaps.c: (GST_START_TEST):
8492         * check/gst/gstdata.c: (GST_START_TEST):
8493         * check/gst/gstelement.c: (GST_START_TEST):
8494         * check/gst/gstghostpad.c: (GST_START_TEST):
8495         * check/gst/gstiterator.c: (GST_START_TEST):
8496         * check/gst/gstmessage.c: (GST_START_TEST):
8497         * check/gst/gstobject.c: (GST_START_TEST):
8498         * check/gst/gstpad.c: (GST_START_TEST):
8499         * check/gst/gststructure.c: (GST_START_TEST):
8500         * check/gst/gstsystemclock.c: (GST_START_TEST),
8501         (gst_systemclock_suite):
8502         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8503         * check/gst/gstvalue.c: (GST_START_TEST):
8504         * check/pipelines/cleanup.c: (GST_START_TEST):
8505         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8506         * check/states/sinks.c: (GST_START_TEST):
8507         * check/gstcheck.c: (gst_check_init):
8508         * check/gstcheck.h:
8509           add debugging category
8510           use GST_START_TEST now, so we add a debug line
8511
8512 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8513
8514         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8515           add test for state change message on a bin
8516         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8517           add another test
8518         * gst/gstbin.c: (gst_bin_init):
8519         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8520         * gst/gstelement.c: (gst_element_post_message),
8521         (gst_element_set_state):
8522         * gst/gstelementfactory.c: (gst_element_factory_create):
8523         * gst/gstmessage.c: (gst_message_new):
8524         * gst/gstscheduler.c:
8525           various debugging additions and cleanups
8526
8527 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8528
8529         * check/Makefile.am:
8530         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8531         (main):
8532           adding tests for elements
8533         * gst/gstelement.c: (gst_element_dispose):
8534
8535 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8536
8537         * gst/registries/gstlibxmlregistry.c: (load_feature):
8538           plug more leaks.  A simple gst_init() now is leakfree, yay.
8539
8540 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8541
8542         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8543         (gst_xml_registry_load):
8544           plug another memleak
8545
8546 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8547
8548         * configure.ac:
8549           use GST_SET_ERROR_CFLAGS
8550         * docs/faq/cvs.xml:
8551           change to ERROR_CFLAGS
8552
8553 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8554
8555         * configure.ac:
8556           make GST_ERROR_CFLAGS overridable and re-enable Werror
8557         * docs/faq/cvs.xml:
8558           add a note about error CFLAGS
8559         * docs/gst/tmpl/gstfakesrc.sgml:
8560         * gst/elements/gstfakesrc.c:
8561           comment out some unused code
8562         * gst/gst.c: (split_and_iterate):
8563         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8564         (load_feature):
8565           plug some memleaks
8566
8567 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8568
8569         * common/Makefile.am:
8570         * common/gtk-doc.mak:
8571         * docs/gst/Makefile.am:
8572           factor out gtk-doc.mak
8573
8574 2005-07-07  Wim Taymans  <wim@fluendo.com>
8575
8576         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8577         (gst_thread_scheduler_dispose):
8578         Unlock the STREAM_LOCK completely.
8579
8580 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8581
8582         * check/Makefile.am:
8583         * check/elements/.cvsignore:
8584         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8585         (START_TEST), (fakesrc_suite), (main):
8586         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8587         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8588         (gst_fakesrc_create), (gst_fakesrc_start):
8589         * gst/elements/gstfakesrc.h:
8590           adding a first element test
8591
8592 2005-07-07  Andy Wingo  <wingo@pobox.com>
8593
8594         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8595         debug message.
8596
8597 2005-07-07  Wim Taymans  <wim@fluendo.com>
8598
8599         * gst/gstquery.c:
8600         * gst/gstquery.h:
8601         Remove old types
8602
8603 2005-07-07  Wim Taymans  <wim@fluendo.com>
8604
8605         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8606         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8607         Allow subclasses to implement their own negotiation.
8608
8609 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8610
8611         * docs/design/part-gstbin.txt:
8612         * docs/design/part-gstpipeline.txt:
8613           Update design notes to reflect the movement of
8614           responsibility for bus handling from GstPipeline to
8615           GstBin
8616
8617 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8618
8619         * configure.ac:
8620           Remove unnecessary queue2/3/4 examples.
8621
8622 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8623
8624         * examples/Makefile.am:
8625         * examples/helloworld/helloworld.c: (event_loop), (main):
8626         * examples/queue/queue.c: (event_loop), (main):
8627         * examples/queue2/queue2.c: (main):
8628           Update a couple of the examples to work again.
8629
8630         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8631         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8632          Spelling corrections and extra debug.
8633         
8634         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8635         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8636         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8637         * gst/gstbin.h:
8638         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8639         (gst_pipeline_change_state):
8640         * gst/gstpipeline.h:
8641           Move the bus handler for children to the GstBin, and create a
8642           separate bus for receiving messages from children to the one the
8643           bus sends 'upwards' on.
8644
8645 2005-07-06  Wim Taymans  <wim@fluendo.com>
8646
8647         * gst/base/README:
8648         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8649         (gst_base_sink_handle_object), (gst_base_sink_loop),
8650         (gst_base_sink_change_state):
8651         * gst/base/gstbasesink.h:
8652         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8653         (gst_base_src_init), (gst_base_src_setcaps),
8654         (gst_base_src_getcaps), (gst_base_src_loop),
8655         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8656         (gst_base_src_start), (gst_base_src_change_state):
8657         * gst/base/gstbasesrc.h:
8658         Make basesrc negotiate.
8659         Handle the case where preroll fails in basesink.
8660         Update README.
8661
8662 2005-07-06  Wim Taymans  <wim@fluendo.com>
8663
8664         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8665         Implement the fixate function.
8666         Clean up acceptcaps.
8667
8668 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8669
8670         * docs/pwg/building-filterfactory.xml:
8671         * docs/pwg/pwg.xml:
8672           Remove never-written filter-factory chapter; I'll add the various
8673           base classes to part 4 ("other element types") later on.
8674
8675 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8676
8677         * docs/pwg/advanced-negotiation.xml:
8678         * docs/pwg/building-boiler.xml:
8679         * docs/pwg/building-pads.xml:
8680         * docs/pwg/pwg.xml:
8681         * examples/pwg/Makefile.am:
8682           Add a chapter on caps negotiation, simplify the original code
8683           samples a bit w.r.t. caps negotiation, add link to the advanced
8684           section. Add a bunch of examples showing different use cases of
8685           different types of caps negotiation. Upstream renegotiation isn't
8686           fully documented yet since nobody knows how that works.
8687
8688 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8689
8690         * check/gst/gstpad.c:
8691         * check/gstcheck.c:
8692         * gst/gstpad.c: (gst_pad_get_internal_links_default):
8693           if pad has no parent, return NULL as list of internal links
8694
8695 2005-07-05  Andy Wingo  <wingo@pobox.com>
8696
8697         * gst/elements/gstfilesrc.c:
8698         * gst/elements/gstfakesrc.c: 
8699         * gst/base/gstpushsrc.c:
8700         * gst/base/gstbasesrc.h: 
8701         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8702         
8703 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
8704
8705         * Makefile.am:
8706           better report generation target (lcov needs a patch)
8707
8708 2005-07-05  Andy Wingo  <wingo@pobox.com>
8709
8710         * gst/elements, testsuite: Null if we got it...
8711
8712 2005-07-05  Wim Taymans  <wim@fluendo.com>
8713
8714         * configure.ac:
8715         * libs/gst/dataprotocol/Makefile.am:
8716         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8717         * libs/gst/dataprotocol/dataprotocol.h:
8718         * pkgconfig/Makefile.am:
8719         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8720         * pkgconfig/gstreamer-dataprotocol.pc.in:
8721         Ported dataprotol to 0.9. 
8722         Added pkgconfig files.
8723
8724 2005-07-05  Andy Wingo  <wingo@pobox.com>
8725
8726         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8727         Default to returning TRUE for the case when tranform_caps returns
8728         a fixed caps, like for identity or volume.
8729
8730         * check/gst/gstbus.c (pound_bus_with_messages): 
8731         * check/gst/gstmessage.c (START_TEST): 
8732         * check/pipelines/simple_launch_lines.c (got_handoff): Application
8733         message API change.
8734
8735         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8736         logic weaks here: always run transform_caps, trying passthrough
8737         operation only if the original caps intersects with the transform.
8738
8739         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8740         source and sink caps.
8741
8742         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8743         Intersect the peer caps with the pad template before going into
8744         transform_caps.
8745         (gst_base_transform_transform_caps): More debugging.
8746
8747         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8748         src argument.
8749
8750 2005-07-04  Edward Hervey  <edward@fluendo.com>
8751
8752         * gst/gstutils.c:
8753         * gst/gstutils.h:
8754         (gst_pad_add_*_probe): now returns the signal id for better wrapping
8755         in bindings.
8756
8757 2005-07-04  Andy Wingo  <wingo@pobox.com>
8758
8759         * check/gst/gstpad.c: Only set explicit caps on pads.
8760
8761 2005-07-01  Andy Wingo  <wingo@pobox.com>
8762
8763         * tests/network-clock.scm: Commentary update.
8764
8765         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8766         Didn't really make sense, not implementable with basetransform,
8767         etc.
8768         (gst_identity_transform): Unref inbuf via make_writable. Feeble
8769         attempt at implementing the sync property, needs an unlock method.
8770
8771         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8772         New func, by default returns the same caps (the identity
8773         transformation).
8774         (gst_base_transform_getcaps): Uses transform_caps to return
8775         something sensible.
8776         (gst_base_transform_setcaps): Complicated logic to get caps on
8777         both pads, even if they are different, and to call set_caps once
8778         for every time both pads get their caps set.
8779         (gst_base_transform_handle_buffer): Give the ref to the transform
8780         function. Allows in-place modification of the buffer.
8781
8782         * gst/base/gstbasetransform.h (transform_caps): New class method.
8783         Given caps on one side, what can I do on the other.
8784         (set_caps): Take two caps, one for each side of the element.
8785
8786         * gst/gstpad.h:
8787         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8788         caps in place. This is safe because we can check the mutability of
8789         the caps, and a good idea because fixate functions are just called
8790         as a matter of last resort. (Not actually implemented.)
8791         (gst_pad_set_caps): If the caps we're setting is actually the same
8792         as the existing pad caps, just update the pointer without calling
8793         setcaps. Assert that caps is either NULL or fixed, as per the
8794         docs.
8795
8796         * gst/gstghostpad.c: Update for fixate changes.
8797
8798 2005-07-02  Andy Wingo  <wingo@pobox.com>
8799
8800         * gst/gstcaps.c:
8801         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8802         two refcounts makes it immutable, which is enough. Doc more.
8803
8804 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
8805
8806         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8807           Put the mini_object into GValue as a mini_object,
8808           not a gpointer, since that's how we declared
8809           the signal.
8810
8811 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8812
8813         * examples/pwg/Makefile.am:
8814           Fix buildbot again.
8815
8816 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8817
8818         * docs/pwg/building-testapp.xml:
8819           Add extra check.
8820         * examples/pwg/Makefile.am:
8821           Fix buildbot.
8822
8823 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8824
8825         * configure.ac:
8826         * examples/Makefile.am:
8827         * examples/pwg/Makefile.am:
8828         * examples/pwg/extract.pl:
8829           Enable building the PWG examples.
8830         * docs/pwg/advanced-interfaces.xml:
8831           Add URI interface stub.
8832         * docs/pwg/advanced-types.xml:
8833         * docs/pwg/other-autoplugger.xml:
8834         * docs/pwg/appendix-porting.xml:
8835         * docs/pwg/pwg.xml:
8836           Add porting guide (mostly stubs), remove autoplugging (see ADM).
8837         * docs/pwg/building-boiler.xml:
8838         * docs/pwg/building-chainfn.xml:
8839         * docs/pwg/building-pads.xml:
8840         * docs/pwg/building-props.xml:
8841         * docs/pwg/building-state.xml:
8842         * docs/pwg/building-testapp.xml:
8843           Update the building-*.xml parts for 0.9 changes. All examples
8844           code blocks compile in examples/pwg/*.
8845
8846 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8847
8848         * docs/manual/advanced-autoplugging.xml:
8849         * docs/manual/appendix-checklist.xml:
8850         * docs/manual/appendix-integration.xml:
8851         * docs/manual/highlevel-components.xml:
8852           Fix playbin/decodebin examples, update docs a bit, mention bus
8853           instead of signals in various places, mention kmplayer and
8854           kaffeine since they have a working GStreamer backend in the KDE
8855           section.
8856
8857 2005-06-30  Wim Taymans  <wim@fluendo.com>
8858
8859         * CHANGES-0.9:
8860         * docs/design/draft-ghostpads.txt:
8861         * docs/design/draft-push-pull.txt:
8862         * docs/design/draft-query.txt:
8863         * docs/design/part-TODO.txt:
8864         * docs/design/part-query.txt:
8865         Added CHANGES-0.9 doc, updated status of other docs.
8866         
8867         * gst/gstquery.h:
8868         Remove "hmm" macro
8869
8870 2005-06-30  Wim Taymans  <wim@fluendo.com>
8871
8872         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8873         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8874         (gst_base_sink_change_state):
8875         * gst/base/gstbasesink.h:
8876         Some tweaks, only EOS and a buffer complete a preroll.
8877
8878 2005-06-30  Andy Wingo  <wingo@pobox.com>
8879
8880         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8881         activate_push down to the internal pad as well.
8882
8883 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
8884
8885         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8886
8887         * gst/gsttaginterface.c:
8888           Some documentation fixes (#307394 and #307397).
8889
8890 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
8891
8892         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8893
8894         * gst/gstvalue.c: (gst_value_intersect_list):
8895           Fix memleak (#309125).
8896
8897 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8898
8899         * docs/manual/advanced-dataaccess.xml:
8900           Fix fakesrc example to compile; doesn't work, bug somewhere...?
8901         * docs/manual/basics-pads.xml:
8902           Add reference for filtered caps to above chapter.
8903
8904 2005-06-30  Wim Taymans  <wim@fluendo.com>
8905
8906         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8907         (gst_bin_change_state):
8908         Probes are gone.
8909         Lame attempt at making the state change function a bit
8910         more readable.
8911
8912 2005-06-30  Wim Taymans  <wim@fluendo.com>
8913
8914         * docs/design/part-clocks.txt:
8915         * docs/design/part-element-sink.txt:
8916         * docs/design/part-events.txt:
8917         * docs/design/part-preroll.txt:
8918         * docs/design/part-states.txt:
8919         Some more tweeks and additions to the docs.
8920
8921 2005-06-30  Wim Taymans  <wim@fluendo.com>
8922
8923         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8924         (default_have_data), (gst_pad_class_init), (gst_pad_init),
8925         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8926         (gst_pad_check_pull_range), (gst_pad_get_range),
8927         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8928         * gst/gstpad.h:
8929         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8930         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8931         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8932         (gst_pad_remove_buffer_probe):
8933         Removed atomic operations, use existing LOCK.
8934         Move exception handling out of main code path.
8935
8936 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8937
8938         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8939         (silly_return_true_function), (gst_pad_class_init),
8940         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8941         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8942         (gst_pad_send_event):
8943           Fix accumulator, add default value by using _emitv() instead
8944           of _emit() for signal emission.
8945
8946 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8947
8948         * docs/manual/advanced-dataaccess.xml:
8949         * examples/manual/Makefile.am:
8950           Add probe example.
8951         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8952           Make work (??).
8953
8954 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
8955
8956         * gst/elements/gstfilesink.c: (gst_filesink_render):
8957           Simplify code so that we don't have to handle short
8958           writes and return GST_FLOW_ERROR if an error occured.
8959
8960 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8961
8962         * docs/gst/gstreamer-docs.sgml:
8963           Remove probes more.
8964
8965 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8966
8967         * docs/gst/gstreamer-sections.txt:
8968         * docs/gst/tmpl/gstpad.sgml:
8969         * docs/gst/tmpl/gstprobe.sgml:
8970         * gst/Makefile.am:
8971         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8972         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8973         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8974         (gst_pad_push_event), (gst_pad_send_event):
8975         * gst/gstpad.h:
8976         * gst/gstutils.c: (gst_pad_add_data_probe),
8977         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8978         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8979         (gst_pad_remove_buffer_probe):
8980         * gst/gstutils.h:
8981           Remove old probes, add new g-signal-based probes and some utility
8982           functions.
8983
8984 2005-06-29  Edward Hervey  <edward@fluendo.com>
8985
8986         * gst/gstelementfactory.c:
8987         * gst/gstutils.h:
8988         * gst/gstutils.c:
8989         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8990         the definition to the header file.
8991
8992 2005-06-29  Andy Wingo  <wingo@pobox.com>
8993
8994         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8995         plugins from the source directory.
8996
8997 2005-06-29  Wim Taymans  <wim@fluendo.com>
8998
8999         * docs/gst/tmpl/gstbuffer.sgml:
9000         * docs/gst/tmpl/gstclock.sgml:
9001         Some fixings for blantently wrong text.
9002
9003 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9004
9005         * check/Makefile.am:
9006         * gst/gst.c: (add_path_func), (init_pre):
9007         * gst/gstregistry.c: (gst_registry_add_path):
9008           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9009           only scan the GST_PLUGIN_PATH locations, and not add
9010           system locations
9011
9012 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9013
9014         * docs/gst/gstreamer-sections.txt:
9015         * docs/gst/tmpl/gstbasesrc.sgml:
9016         * gst/gstelement.c:
9017         * gst/gstelement.h:
9018         * gst/gstevent.c:
9019         * gst/gstutils.c:
9020           doc fixes
9021
9022 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9023
9024         * docs/manual/advanced-autoplugging.xml:
9025           Fix autoplugging example.
9026
9027 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9028
9029         * docs/manual/advanced-autoplugging.xml:
9030         * docs/manual/mime-world.fig:
9031           Try to get autoplugging working, fix type detection. Fix text
9032           in hello-world image.
9033
9034 2005-06-29  Wim Taymans  <wim@fluendo.com>
9035
9036         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9037         (gst_base_sink_change_state):
9038         Small debug line.
9039
9040         * gst/gstclock.h:
9041         map SIGNAL and BROADCAST to the right function.
9042
9043         * gst/gstobject.h:
9044         Remove redundant braces.
9045
9046         * gst/gstpad.c: (gst_pad_set_caps):
9047         Don't call setcaps function when reseting caps to NULL.
9048
9049         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9050         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9051         (gst_system_clock_id_unschedule):
9052         Use BROADCAST as this is what we do.
9053
9054 2005-06-29  Wim Taymans  <wim@fluendo.com>
9055
9056         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9057         We are actually prerolling before commiting the state
9058         change. 
9059
9060 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9061
9062         * docs/manual/advanced-clocks.xml:
9063         * docs/manual/advanced-interfaces.xml:
9064         * docs/manual/advanced-metadata.xml:
9065         * docs/manual/advanced-position.xml:
9066         * docs/manual/advanced-schedulers.xml:
9067         * docs/manual/advanced-threads.xml:
9068         * docs/manual/appendix-porting.xml:
9069         * docs/manual/basics-bins.xml:
9070         * docs/manual/basics-bus.xml:
9071         * docs/manual/basics-elements.xml:
9072         * docs/manual/basics-helloworld.xml:
9073         * docs/manual/basics-pads.xml:
9074         * docs/manual/highlevel-components.xml:
9075         * docs/manual/manual.xml:
9076         * docs/manual/thread.fig:
9077           Update (until threads/scheduling) Application Development Manual;
9078           remove GstThread, add GstBus, add simple porting checklist, add
9079           documentation for tag writing, clocks, make all examples until this
9080           part compile and run.
9081         * examples/manual/Makefile.am:
9082           Update from changes to Application Development Manual; add bus
9083           example, remove thread example.
9084
9085 2005-06-28  Wim Taymans  <wim@fluendo.com>
9086
9087         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9088         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9089         (gst_bus_source_dispatch):
9090         Add debugging messages.
9091         Make internal methods static.
9092         Handle the case where the bus is flushed in the handler.
9093         
9094         * gst/gstelement.c: (gst_element_get_bus):
9095         Fix refcount in _get_bus();
9096
9097         * gst/gstpipeline.c: (gst_pipeline_change_state),
9098         (gst_pipeline_get_clock_func):
9099         Clock refcounting fixes.
9100         Handle the case where preroll timed out more gracefully.
9101         
9102         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9103         Clean up the internal thread in dispose. This is needed
9104         for subclasses that actually get disposed.
9105         
9106         * gst/schedulers/threadscheduler.c:
9107         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9108         (gst_thread_scheduler_dispose):
9109         Free thread pool in dispose.
9110
9111 2005-06-28  Andy Wingo  <wingo@pobox.com>
9112
9113         * tests/network-clock-utils.scm (debug, print-event): New utils.
9114
9115         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9116         (*packet-loss*): Unified loss probability.
9117         (network-time): Report out-of-band events.
9118
9119         * tests/plot-data: Add support for out-of-band events. Hack it
9120         into this script instead of passing it down the pipe; should fix
9121         this later.
9122
9123 2005-06-28  Wim Taymans  <wim@fluendo.com>
9124
9125         * docs/gst/gstreamer.types:
9126         * docs/gst/tmpl/gstbasesrc.sgml:
9127         * docs/gst/tmpl/gstpad.sgml:
9128         Docs fixes.
9129
9130 2005-06-28  Wim Taymans  <wim@fluendo.com>
9131
9132         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9133         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9134         (gst_proxy_pad_do_fixatecaps):
9135         Correctly proxy the check_pull_range function.
9136
9137 2005-06-28  Andy Wingo  <wingo@pobox.com>
9138
9139         * tests/network-clock.scm: Removed need for slib.
9140         
9141 2005-06-28  Wim Taymans  <wim@fluendo.com>
9142
9143         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9144         (gst_basesink_preroll_queue_flush):
9145         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9146         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9147         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9148         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9149         (gst_proxy_pad_set_property):
9150         * gst/gstpad.c:
9151         * gst/gstpad.h:
9152         * gst/gstqueue.c: (gst_queue_init):
9153         The deprecated pad loop function is removed now.
9154
9155 2005-06-28  Andy Wingo  <wingo@pobox.com>
9156
9157         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9158         New parameters, simulate network packet loss.
9159
9160         * tests/network-clock-utils.scm: Initialize the RNG.
9161
9162 2005-06-28  Wim Taymans  <wim@fluendo.com>
9163
9164         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9165         (gst_basesink_event), (gst_basesink_deactivate):
9166         Flushing the preroll queue always needs to unlock the waiters.
9167
9168 2005-06-28  Edward Hervey  <edward@fluendo.com>
9169
9170         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9171         Wheen a seek was successful on a pipeline, set the stream_time to the
9172         seek offset in order to have a synchronized stream_time.
9173
9174 2005-06-28  Wim Taymans  <wim@fluendo.com>
9175
9176         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9177         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9178         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9179         (gst_proxy_pad_do_fixatecaps):
9180         Call wrapper function instead of just calling the function
9181         pointers. This takes care of any locking and whatmore.
9182
9183 2005-06-28  Wim Taymans  <wim@fluendo.com>
9184
9185         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9186         (gst_pad_pull_range):
9187         * gst/gstpad.h:
9188         CONNECTED -> LINKED.
9189
9190 2005-06-28  Andy Wingo  <wingo@pobox.com>
9191
9192         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9193         source-munging commit!!!
9194
9195         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9196         (gst_object_sink): Take gpointer arguments, not GstObject --
9197         avoids casts. Like GLib.
9198
9199         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9200         activate.
9201
9202 2005-06-27  Andy Wingo  <wingo@pobox.com>
9203
9204         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9205         remaining buffer.
9206
9207         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9208         returns a sorted copy of the trace list.
9209         (gst_alloc_trace_print_live): New API, only prints traces with
9210         live objects. Sort the list.
9211         (gst_alloc_trace_print_all): Sort the list.
9212         (gst_alloc_trace_print): Align columns.
9213
9214         * gst/elements/gstttypefindelement.c:
9215         * gst/elements/gsttee.c:
9216         * gst/base/gstbasesrc.c:
9217         * gst/base/gstbasesink.c:
9218         * gst/base/gstbasetransform.c:
9219         * gst/gstqueue.c: Adapt for pad activation changes.
9220
9221         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9222         sched.
9223         (gst_pipeline_dispose): Drop ref on sched.
9224
9225         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9226         (gst_pad_activate_default): Push mode by default.
9227         (pre_activate_switch, post_activate_switch): New stubs, things to
9228         do before and after switching activation modes on pads.
9229         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9230         the pad's activate function to choose which mode to activate.
9231         Shortcut on deactivation and call the right function directly.
9232         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9233         mode.
9234         (gst_pad_activate_push): New API, same for push mode.
9235         (gst_pad_set_activate_function) 
9236         (gst_pad_set_activatepull_function) 
9237         (gst_pad_set_activatepush_function): Setters for new API.
9238
9239         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9240         Trace all miniobjects.
9241         (gst_mini_object_make_writable): Unref the arg if we copy, like
9242         gst_caps_make_writable.
9243
9244         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9245
9246         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9247         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9248         Adapt for new pad API.
9249
9250         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9251
9252         * gst/gstelement.h:
9253         * gst/gstelement.c (gst_element_iterate_src_pads) 
9254         (gst_element_iterate_sink_pads): New API functions.
9255         
9256         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9257         should fold into gstiterator.c in some form.
9258         (gst_element_pads_activate): Simplified via use of fold and
9259         delegation of decisions to gstpad->activate.
9260
9261         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9262         help in debugging.
9263
9264         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9265         class once in init, like gstmessage. Didn't run into this issue
9266         but it seems correct. Don't initialize a trace, gstminiobject does
9267         that.
9268
9269         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9270         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9271         to the bus.
9272         (assert_live_count): New util function, uses alloc traces to check
9273         cleanup.
9274
9275         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9276         To be modified when unlink drops the internal pad.
9277
9278 2005-06-27  Wim Taymans  <wim@fluendo.com>
9279
9280         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9281         (gst_bin_change_state):
9282         Cleanup the get_state() function a little, make sure it
9283         iterates the same set of elements.
9284         Added stub iterate_state_order().
9285
9286 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9287
9288         * docs/gst/gstreamer-docs.sgml:
9289         * docs/gst/gstreamer-sections.txt:
9290         * docs/gst/gstreamer.types:
9291         * docs/gst/tmpl/gstbasesink.sgml:
9292         * docs/gst/tmpl/gstbasesrc.sgml:
9293         * docs/gst/tmpl/gstbasetransform.sgml:
9294         * docs/gst/tmpl/gstelement.sgml:
9295         * docs/gst/tmpl/gstiterator.sgml:
9296         * gst/base/gstbasesrc.c:
9297         * gst/base/gstbasesrc.h:
9298         * gst/base/gstbasetransform.h:
9299         * gst/gstelement.c:
9300         * gst/gstiterator.h:
9301           adding basetransform and iterator docs
9302
9303 2005-06-27  Andy Wingo  <wingo@pobox.com>
9304
9305         * docs/design/part-activation.txt: Notes on how activation should
9306         work -- not quite implemented yet.
9307
9308 2005-06-25  Wim Taymans  <wim@fluendo.com>
9309
9310         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9311         At least get the chain function correct, needs more
9312         fixing.
9313
9314 2005-06-25  Wim Taymans  <wim@fluendo.com>
9315
9316         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9317         (gst_basesink_handle_object), (gst_basesink_event),
9318         (gst_basesink_do_sync), (gst_basesink_handle_event),
9319         (gst_basesink_change_state):
9320         * gst/gsttask.h:
9321         Right, two problems here: ghostpads don't take locks and
9322         glib _rec_mutex_lock_full() with depth==0 still locks.
9323         Catch illegal locking and g_warn them.
9324
9325 2005-06-25  Wim Taymans  <wim@fluendo.com>
9326
9327         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9328         Have to check for completion now...
9329
9330 2005-06-25  Wim Taymans  <wim@fluendo.com>
9331
9332         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9333         (gst_basesink_handle_object), (gst_basesink_event),
9334         (gst_basesink_do_sync), (gst_basesink_handle_event),
9335         (gst_basesink_change_state):
9336         * gst/gstpad.h:
9337         Unlock STREAM_LOCK whatever the recursion was.
9338
9339 2005-06-25  Wim Taymans  <wim@fluendo.com>
9340
9341         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9342         (gst_basesink_preroll_queue_empty),
9343         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9344         (gst_basesink_event), (gst_basesink_do_sync),
9345         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9346         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9347         (gst_basesink_change_state):
9348         Reworked the base sink, handle event and buffer serialisation
9349         correctly and removed possible deadlock.
9350         Handle EOS correctly.
9351
9352 2005-06-25  Wim Taymans  <wim@fluendo.com>
9353
9354         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9355         (gst_pipeline_change_state):
9356         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9357         Allow elements to post EOS in the state change function.
9358         Fix up -launch, make it exit the poll loop when the
9359         pipeline actually changed state.
9360         Fix up warning parsing in -launch.
9361
9362 2005-06-25  Wim Taymans  <wim@fluendo.com>
9363
9364         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9365         (gst_tee_sink_activate):
9366         Core takes STREAM_LOCK for us now.
9367
9368 2005-06-25  Wim Taymans  <wim@fluendo.com>
9369
9370         * gst/gstelement.c: (gst_element_get_state_func),
9371         (gst_element_set_state):
9372         * gst/gstelement.h:
9373         * gst/gstmessage.c: (gst_message_parse_error),
9374         (gst_message_parse_warning):
9375         Keep track of current target state while performing a state
9376         change so that subclasses can do something interesting.
9377         Fix parsing of warning/error messages when GError is NULL.
9378
9379 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9380
9381         * docs/gst/Makefile.am:
9382         * docs/gst/gstreamer-docs.sgml:
9383         * docs/gst/gstreamer-sections.txt:
9384         * docs/gst/gstreamer.types:
9385         * docs/gst/tmpl/gstbasesink.sgml:
9386         * docs/gst/tmpl/gstbasesrc.sgml:
9387         * docs/gst/tmpl/gstbin.sgml:
9388         * docs/gst/tmpl/gstcompat.sgml:
9389         * docs/gst/tmpl/gstfakesink.sgml:
9390         * docs/gst/tmpl/gstfakesrc.sgml:
9391         * docs/gst/tmpl/gstfilesink.sgml:
9392         * docs/gst/tmpl/gstfilesrc.sgml:
9393         * docs/gst/tmpl/gstindex.sgml:
9394         * docs/manual/appendix-quotes.xml:
9395         * gst/base/gstbasesrc.h:
9396         * gst/elements/gstfakesrc.h:
9397         * gst/gstmessage.h:
9398           start pulling in base classes and elements in our docs
9399
9400 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9401
9402         * docs/gst/Makefile.am:
9403         * docs/libs/Makefile.am:
9404           fixed make distcheck with gtk-doc 1.3
9405
9406 2005-06-23  Wim Taymans  <wim@fluendo.com>
9407
9408         * gst/gstelement.c: (gst_element_get_state_func),
9409         (gst_element_set_state), (gst_element_change_state):
9410         When the state did not change, also report NO_PREROLL
9411         when it matters.
9412
9413 2005-06-23  Wim Taymans  <wim@fluendo.com>
9414
9415         * gst/gstpad.c: (gst_pad_event_default):
9416         * gst/gstqueue.c: (gst_queue_loop):
9417         No unsafe task pausing please.
9418
9419 2005-06-23  Wim Taymans  <wim@fluendo.com>
9420
9421         * gst/schedulers/threadscheduler.c:
9422         (gst_thread_scheduler_task_start),
9423         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9424         Ref the task before pushing it on the threadpool. This
9425         makes sure that we have a ref when the threadfunction is
9426         actually called.
9427
9428 2005-06-23  Andy Wingo  <wingo@pobox.com>
9429
9430         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9431         offset is greater than the file's size.
9432
9433         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9434         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9435         * gst/gstobject.c (gst_object_class_init): Make the class lock
9436         recursive. Wim won't let me drop deep_notify. Decodebin works
9437         again, whoopdy doo.
9438
9439         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9440         internal pad, and hacks accordingly. Doesn't do it on the target
9441         pad because we change its caps. Probably catches all cases of
9442         interest tho.
9443         (gst_ghost_pad_set_property): Connect to notify::caps as
9444         appropritate.
9445
9446         * tests/network-clock.scm (plot-simulation): Pipe data to the
9447         elite python skript.
9448
9449         * tests/network-clock-utils.scm (define-parameter): New macro,
9450         defines a parameter that can be set via the command line.
9451         (set-parameter!, parse-parameter-arguments): Command line args
9452         parser.
9453
9454         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9455         stdin.
9456
9457 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9458
9459         * gst/elements/gsttypefindelement.c:
9460         (gst_type_find_element_handle_event):
9461           Don't restart typefinding on a discont.
9462         * gst/gstelement.c: (gst_element_set_state):
9463           Debug spelling fix.
9464         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9465           Allow changing mode of an active pad.
9466           Debug output fixes.
9467         * gst/registries/gstlibxmlregistry.c: (load_feature):
9468           Don't cast a static pad template to a normal pad template.
9469
9470 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9471
9472         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9473         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9474           remove gst_strtoll completely, since it didn't actually do
9475           anything more than what g_ascii_strtoull already does.
9476           check for range errors when deserializing
9477           do a cast for the unsigned cases; but further fixing needs
9478           a decision on what the interpretation of "(int)" and
9479           deserialization should be for values that fall outside the
9480           type's boundaries (ie, refuse, or interpret as casting)
9481
9482 2005-06-23  Wim Taymans  <wim@fluendo.com>
9483
9484         * check/Makefile.am:
9485         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9486         * docs/design/part-live-source.txt:
9487         * docs/design/part-states.txt:
9488         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9489         (gst_basesrc_set_live), (gst_basesrc_is_live),
9490         (gst_basesrc_get_range), (gst_basesrc_activate),
9491         (gst_basesrc_change_state):
9492         * gst/base/gstbasesrc.h:
9493         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9494         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9495         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9496         * gst/gstelement.c: (gst_element_get_state_func),
9497         (gst_element_set_state):
9498         * gst/gstelement.h:
9499         * gst/gsttypes.h:
9500         * tools/gst-launch.c: (event_loop), (main):
9501         Added support for live sources and other elements that
9502         cannot do preroll.
9503         Updated design docs, added live-source design doc.
9504         Implemented live source functionality in basesrc
9505         Fix error condition in _bin_get_state()
9506         Implement live source handling in -launch.
9507         Added check for live sources.
9508         Fixed case in GstBin where elements were changed state
9509         multiple times.
9510
9511
9512 2005-06-23  Andy Wingo  <wingo@pobox.com>
9513
9514         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9515         borken refcounting.
9516
9517         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9518         gst_caps_replace takes care of this for us.
9519
9520         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9521         gst_pad_set_caps on the target, not just its setcaps() function.
9522
9523         * tests/network-clock.scm: 
9524         * tests/network-clock-utils.scm: A network clock simulator.
9525         Something of an algorithmic testbed before doing something in C.
9526
9527 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9528
9529         * check/Makefile.am:
9530         * check/gst/capslist.h:
9531           copy over from 0.8, and add two with bitmasks specified with
9532           (int) 0xFF...
9533         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9534           add test to parse everything from capslist.h
9535         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9536         (main):
9537           add test for structure deserialization
9538         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9539           add tests for deserialization of strings to int types
9540         * gst/gststructure.c: (gst_structure_nth_field_name):
9541         * gst/gststructure.h:
9542           add a way to get the name of a field referenced by index
9543         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9544           instead of checking if the resulting long long lies between
9545           min and max, we check if the long long would fit into
9546           a number of bytes for the final type.
9547           This fixes cases where a string represents 2^32 - 1, which
9548           when cast to int would be the (valid) -1, but is bigger than
9549           G_MAXINT
9550
9551 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9552
9553         * gst/parse/grammar.y:
9554           add a log line for type deserialization
9555
9556 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9557
9558         * check/gst/gstvalue.c: (START_TEST):
9559         * gst/gstvalue.c: (gst_value_deserialize):
9560           return long long, not int, so gint64 deserialization actually
9561           works.  Is there any flag that makes the compiler check this ?
9562           Fixes #308559
9563
9564 2005-06-22  Wim Taymans  <wim@fluendo.com>
9565
9566         * gst/gstbuffer.h:
9567         Added convenience macros for setting buffers in GValue.
9568
9569 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9570
9571         * check/gst/.cvsignore:
9572         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9573           add a test deserializing int64, and comment part out because
9574           it fails, yay !
9575
9576 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9577
9578         * check/Makefile.am:
9579         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9580         * testsuite/Makefile.am:
9581         * testsuite/caps/Makefile.am:
9582         * testsuite/caps/value_serialize.c:
9583         * testsuite/test_gst_init.c:
9584           move a value_serialize test over
9585
9586 2005-06-20  Wim Taymans  <wim@fluendo.com>
9587
9588         * gst/gstpad.c:
9589         Small doc updates.
9590         
9591         * gst/gstvalue.c: (gst_value_compare_buffer),
9592         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9593         (gst_value_compare_flags), (gst_value_serialize_flags),
9594         (gst_value_deserialize_flags), (_gst_value_initialize):
9595         Fix serialisation of buffers, they are not boxed types anymore
9596
9597 2005-06-20  Wim Taymans  <wim@fluendo.com>
9598
9599         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9600         Testcase to show error in buffer-on-caps serialisation.
9601
9602 2005-06-20  Andy Wingo  <wingo@pobox.com>
9603
9604         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9605         will be adding to later.
9606
9607         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9608         if its socks fill with rocks.
9609         (gst_system_clock_obtain): Set the name on object construction.
9610         Avoid double-checked locking.
9611
9612 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
9613
9614         * gst/gsturi.c: (gst_element_make_from_uri):
9615           Fix potential endless loop.
9616
9617 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9618
9619         * check/Makefile.am:
9620           add gsttag
9621         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9622         (main):
9623           move over from testsuite dir and clean up
9624         * configure.ac:
9625         * gst/gsttag.c:
9626         * testsuite/Makefile.am:
9627         * testsuite/tags/.cvsignore:
9628         * testsuite/tags/Makefile.am:
9629         * testsuite/tags/merge.c:
9630           remove testsuite/tags
9631
9632 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9633
9634         * docs/gst/gstreamer-sections.txt:
9635         * docs/gst/tmpl/gstenumtypes.sgml:
9636         * win32/gstenumtypes.c:
9637           clean up documentation build a little
9638
9639 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9640
9641         * check/gstcheck.h:
9642           add macros for checking refcounts on objects and caps
9643         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9644           add some more unit tests
9645         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9646         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9647           fix leaked refcounts (I hope :)) so unittest works
9648         * gst/gstpad.h:
9649           whitespace removal
9650
9651 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9652
9653         * configure.ac: back to HEAD
9654
9655 === release 0.9.1 ===
9656
9657 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9658
9659         * NEWS:
9660         * RELEASE:
9661           updated
9662
9663 2005-06-17  Andy Wingo  <wingo@pobox.com>
9664
9665         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9666         assert; it's always possible that the pad gets deactivated in
9667         between the checks in gstpad.c and the implementation. Rely on
9668         finish_preroll() to return a FLUSHING or similar instead of on the
9669         assert.
9670         
9671         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9672         clock and post an EOS message if we come out of finish_preroll in
9673         the playing state.
9674
9675 2005-06-16  David Schleef  <ds@schleef.org>
9676
9677         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9678         (gst_capsfilter_set_property): Allow NULL as possible value
9679         for filter_caps property, indicating GST_CAPS_ANY.
9680
9681 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9682
9683         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9684           fix debug output
9685         * gst/schedulers/Makefile.am:
9686           use libgst prefix
9687         * gstreamer.spec.in:
9688           fix spec for it
9689
9690 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9691
9692         * gstreamer.spec.in:
9693           clean up
9694
9695 2005-06-08  Andy Wingo  <wingo@pobox.com>
9696
9697         * gst/gstutils.c: RPAD fixes all around.
9698         (gst_element_link_pads): Refcounting fixes.
9699
9700         * tools/gst-inspect.c:
9701         * tools/gst-xmlinspect.c:
9702         * parse/grammar.y:
9703         * gst/base/gsttypefindhelper.c:
9704         * gst/base/gstbasesink.c:
9705         * gst/gstqueue.c: RPAD fixes.
9706
9707         * gst/gstghostpad.h:
9708         * gst/gstghostpad.c: New ghost pad implementation as full proxy
9709         pads. The tricky thing is they provide both source and sink
9710         interfaces, since they proxy the internal pad for the external
9711         pad, and vice versa. Implement with lower-level ProxyPad objects,
9712         with the interior proxy pad as a child of the exterior ghost pad.
9713         Should write a doc on this.
9714         
9715         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9716         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9717         gst_object API.
9718         
9719         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9720         pads are real pads. No ghost pads in this file. Not documenting
9721         the myriad s/RPAD/PAD/ and REALIZE fixes.
9722         (gst_pad_class_init): Add properties for "direction" and
9723         "template". Both are construct-only, so they can't change during
9724         the life of the pad. Fixes properly deriving from GstPad.
9725         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9726         derived objects, just set properties when creating the objects via
9727         g_object_new.
9728         (gst_pad_get_parent): Implement as a function, return NULL if the
9729         parent is not an element.
9730         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9731         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9732         
9733         * gst/gstobject.c (gst_object_class_init): Make name a construct
9734         property. Don't set it in the object init.
9735
9736         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9737         with UNKNOWN direction.
9738         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9739         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9740         (gst_element_remove_pad): Remove ghost-pad special cases.
9741         (gst_element_pads_activate): Remove rpad cruft.
9742
9743         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9744         catch the pad's-parent-not-an-element case.
9745
9746         * gst/gst.h: Include gstghostpad.h.
9747
9748         * gst/gst.c (init_post): No more real, ghost pads.
9749
9750         * gst/Makefile.am: Add gstghostpad.[ch].
9751
9752         * check/Makefile.am:
9753         * check/gst/gstbin.c:
9754         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9755         into a bin creates ghost pads, and that the refcounts are right.
9756         Partly moved from gstbin.c.
9757
9758 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9759
9760         * check/gst-libs/.cvsignore:
9761         * check/gst/.cvsignore:
9762         * check/pipelines/.cvsignore:
9763           ignore more
9764         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9765         (START_TEST), (cleanup_suite), (main):
9766           add some tests related to cleanup after running pipelines
9767
9768 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9769
9770         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9771           add a testsuite for GstBuffer
9772
9773 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9774
9775         * gst/gstminiobject.h:
9776           add defines for accessing the refcount
9777
9778 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
9779
9780         * Makefile.am: added support for html unit test coverage reports
9781
9782 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
9783
9784         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9785           Free existing caps if the capsfilter changes. Add a FIXME about
9786           setting those caps on the pads.
9787
9788         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9789           Before adding a ghost pad to a parent bin, check that there isn't
9790           already one for the element on the bin. Prevents infinite recursion
9791           when using decodebin in parse pipelines. Andy says he'll rewrite the
9792           way this works anyway, so ignore the hack.
9793
9794 2005-06-02  Andy Wingo  <wingo@pobox.com>
9795
9796         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9797         file size, pass it on to the type find helper.
9798
9799         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9800         segment_start and segment_end properly according to the seek
9801         method. Segment_end is still a bit flaky because offset can be
9802         negative for CUR and END cases, but it takes -1 as an "unset"
9803         value.
9804
9805 2005-06-02  Wim Taymans  <wim@fluendo.com>
9806
9807         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9808         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9809         (gst_basesink_activate):
9810         * gst/base/gstbasesink.h:
9811         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9812         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9813         (gst_pad_query), (gst_pad_start_task):
9814         * gst/gstpad.h:
9815         * gst/gstqueue.c: (gst_queue_bufferalloc),
9816         (gst_queue_handle_sink_event), (gst_queue_chain):
9817         Bufferalloc: return GstFlowReturn to more accuratly report
9818         why allocation failed.
9819
9820 2005-06-02  Wim Taymans  <wim@fluendo.com>
9821
9822         * gst/gstpipeline.c: (gst_pipeline_send_event):
9823         Take snapshot of state without blocking.
9824
9825 2005-06-02  Wim Taymans  <wim@fluendo.com>
9826
9827         * docs/design/part-TODO.txt:
9828         * docs/design/part-caps.txt:
9829         * docs/design/part-clocks.txt:
9830         * docs/design/part-negotiation.txt:
9831         * docs/design/part-preroll.txt:
9832         Small doc updates 
9833
9834 2005-05-30  Wim Taymans  <wim@fluendo.com>
9835
9836         * gst/elements/gstidentity.c: (gst_identity_event),
9837         (gst_identity_transform), (gst_identity_get_property):
9838         Protect last_message property as it is accessed from
9839         multiple threads.
9840
9841 2005-05-30  Wim Taymans  <wim@fluendo.com>
9842
9843         * gst/gstelement.c: (gst_element_init),
9844         (gst_element_pads_activate), (gst_element_change_state):
9845         Slicker pad activation code.
9846
9847 2005-05-30  Wim Taymans  <wim@fluendo.com>
9848
9849         * gst/Makefile.am:
9850         * gst/gstelement.h:
9851         * gst/gstelementfactory.h:
9852         * gst/gsttypes.h:
9853         Move elementfactory methods to separate .h file.
9854
9855 2005-05-30  Wim Taymans  <wim@fluendo.com>
9856
9857         * docs/design/part-overview.txt:
9858         * gst/gstsystemclock.h:
9859         Small typo fixes, doc updates.
9860
9861 2005-05-30  Wim Taymans  <wim@fluendo.com>
9862
9863         * gst/gst.c: (gst_init_get_popt_table), (init_post),
9864         (init_popt_callback):
9865         Remove cpu-opt flag.
9866
9867 2005-05-30  Wim Taymans  <wim@fluendo.com>
9868
9869         * gst/gstbuffer.c: (gst_subbuffer_finalize),
9870         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9871         * gst/gstbuffer.h:
9872         Avoid typechecking in places where not needed.
9873         Added accessor for malloc_data.
9874
9875 2005-05-30  Wim Taymans  <wim@fluendo.com>
9876
9877         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9878         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9879         (gst_pad_configure_sink), (gst_pad_configure_src),
9880         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9881         (gst_pad_start_task):
9882         Propagate errors from _set_caps() in configure_src/sink
9883         functions instead of returning TRUE.
9884         FLUSH events can travel up and downstream
9885
9886
9887 2005-05-30  Wim Taymans  <wim@fluendo.com>
9888
9889         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9890         (gst_basesink_activate):
9891         Handle EOS in preroll.
9892
9893 2005-05-30  Wim Taymans  <wim@fluendo.com>
9894
9895         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9896         (gst_queue_loop), (gst_queue_handle_src_event):
9897         Remove old pieces of code
9898         Flushing the queue in an upstream event is a very bad idea.
9899
9900 2005-05-26  Andy Wingo  <wingo@pobox.com>
9901
9902         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9903         gst_value_set_mini_object so as to add a ref on the object (which
9904         will be removed when the value is unset).
9905
9906         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9907         arg type in ::handoff.
9908
9909         * gst/gstelement.c (gst_element_change_state): Also deactivate
9910         pads in READY->NULL, just in case the element didn't make it to
9911         PAUSED. Wingo tested, Wim approved.
9912
9913 2005-05-26  Wim Taymans  <wim@fluendo.com>
9914
9915         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9916         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9917         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9918         A flushing pad cannot be used to alloc_buffer from.
9919
9920 2005-05-26  Wim Taymans  <wim@fluendo.com>
9921
9922         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9923         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9924         (gst_bus_source_dispatch), (gst_bus_source_finalize),
9925         (gst_bus_create_watch), (gst_bus_add_watch_full):
9926         * gst/gstbus.h:
9927         Implement a real GSource and use g_main_context_wakeup() to
9928         signal new messages instead of the socketpair.
9929
9930 2005-05-25  Wim Taymans  <wim@fluendo.com>
9931
9932         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9933         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9934         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9935         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9936         (gst_pad_send_event), (gst_pad_start_task):
9937         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9938         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9939         (gst_queue_sink_activate), (gst_queue_src_activate),
9940         (gst_queue_change_state):
9941         * gst/gstqueue.h:
9942         Fix state changes for non sinks. We now change sinks, then elements
9943         with unconnected srcpads, then the rest.
9944         More efficient queue unlocking in flush and state changes.
9945         Set the pad activate mode even if it does not have an activate
9946         function.
9947
9948 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9949
9950         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9951           Don't go in pull mode for non-seekable sources.
9952         * gst/elements/gsttypefindelement.h:
9953         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9954         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9955         (free_entry), (stop_typefinding),
9956         (gst_type_find_element_handle_event), (find_peek),
9957         (gst_type_find_element_chain), (do_pull_typefind),
9958         (gst_type_find_element_change_state):
9959           Allow typefinding (w/o seeking) in push-mode, simplified version
9960           of what was in 0.8.
9961         * gst/gstutils.c: (gst_buffer_join):
9962         * gst/gstutils.h:
9963           gst_buffer_join() from 0.8.
9964
9965 2005-05-25  Wim Taymans  <wim@fluendo.com>
9966
9967         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9968         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9969         (gst_pad_send_event), (gst_pad_start_task):
9970         Disable attempt at mode switching until it is figured out.
9971
9972 2005-05-25  Wim Taymans  <wim@fluendo.com>
9973
9974         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9975         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9976         (gst_basesink_finish_preroll), (gst_basesink_chain),
9977         (gst_basesink_loop), (gst_basesink_activate),
9978         (gst_basesink_change_state):
9979         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9980         (gst_basesrc_get_range), (gst_basesrc_loop),
9981         (gst_basesrc_activate):
9982         * gst/elements/gsttee.c: (gst_tee_sink_activate):
9983         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9984         (gst_real_pad_init), (gst_real_pad_set_property),
9985         (gst_real_pad_get_property), (gst_pad_set_active),
9986         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9987         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9988         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9989         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9990         (gst_pad_event_default_dispatch), (gst_pad_event_default),
9991         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9992         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9993         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9994         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9995         (gst_pad_stop_task):
9996         * gst/gstpad.h:
9997         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9998         (gst_queue_loop), (gst_queue_src_activate):
9999         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10000         (gst_task_get_state):
10001         * gst/gsttask.h:
10002         * gst/schedulers/threadscheduler.c:
10003         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10004         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10005         in task function.
10006         Remove ACTIVE pad flag, use FLUSHING everywhere
10007         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10008         functions.
10009         Add locks around IS_FLUSHING when reading.
10010         Take STREAM lock in chain(), get_range() functions so plugins
10011         don't need to take it anymore.
10012         
10013
10014
10015 2005-05-25  Wim Taymans  <wim@fluendo.com>
10016
10017         * tools/gst-launch.c: (event_loop):
10018         Unref message after using its contents instead of
10019         before.
10020
10021 2005-05-24  Wim Taymans  <wim@fluendo.com>
10022
10023         * docs/design/draft-ghostpads.txt:
10024         * docs/design/draft-push-pull.txt:
10025         * docs/design/draft-query.txt:
10026         * docs/design/part-overview.txt:
10027         Docs updates, added general overview doc.
10028
10029 2005-05-21  David Schleef  <ds@schleef.org>
10030
10031         * docs/gst/tmpl/old/GstBin.sgml:
10032         * docs/gst/tmpl/old/GstBuffer.sgml:
10033         * docs/gst/tmpl/old/GstCaps.sgml:
10034         * docs/gst/tmpl/old/GstClock.sgml:
10035         * docs/gst/tmpl/old/GstCompat.sgml:
10036         * docs/gst/tmpl/old/GstData.sgml:
10037         * docs/gst/tmpl/old/GstElement.sgml:
10038         * docs/gst/tmpl/old/GstEvent.sgml:
10039         * docs/gst/tmpl/old/GstIndex.sgml:
10040         * docs/gst/tmpl/old/GstStructure.sgml:
10041         * docs/gst/tmpl/old/GstTag.sgml:
10042         * docs/gst/tmpl/old/cothreads.sgml:
10043         * docs/gst/tmpl/old/cothreads_compat.sgml:
10044         * docs/gst/tmpl/old/gettext.sgml:
10045         * docs/gst/tmpl/old/gobject2gtk.sgml:
10046         * docs/gst/tmpl/old/grammar.tab.sgml:
10047         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10048         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10049         * docs/gst/tmpl/old/gst_private.sgml:
10050         * docs/gst/tmpl/old/gstaggregator.sgml:
10051         * docs/gst/tmpl/old/gstarch.sgml:
10052         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10053         * docs/gst/tmpl/old/gstbufferstore.sgml:
10054         * docs/gst/tmpl/old/gstdata_private.sgml:
10055         * docs/gst/tmpl/old/gstdisksink.sgml:
10056         * docs/gst/tmpl/old/gstdisksrc.sgml:
10057         * docs/gst/tmpl/old/gstelementfactory.sgml:
10058         * docs/gst/tmpl/old/gstextratypes.sgml:
10059         * docs/gst/tmpl/old/gstfakesink.sgml:
10060         * docs/gst/tmpl/old/gstfakesrc.sgml:
10061         * docs/gst/tmpl/old/gstfdsink.sgml:
10062         * docs/gst/tmpl/old/gstfdsrc.sgml:
10063         * docs/gst/tmpl/old/gstfilesink.sgml:
10064         * docs/gst/tmpl/old/gstfilesrc.sgml:
10065         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10066         * docs/gst/tmpl/old/gstidentity.sgml:
10067         * docs/gst/tmpl/old/gstindexfactory.sgml:
10068         * docs/gst/tmpl/old/gstmarshal.sgml:
10069         * docs/gst/tmpl/old/gstmd5sink.sgml:
10070         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10071         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10072         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10073         * docs/gst/tmpl/old/gstpipefilter.sgml:
10074         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10075         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10076         * docs/gst/tmpl/old/gstshaper.sgml:
10077         * docs/gst/tmpl/old/gstspider.sgml:
10078         * docs/gst/tmpl/old/gstspideridentity.sgml:
10079         * docs/gst/tmpl/old/gststatistics.sgml:
10080         * docs/gst/tmpl/old/gsttee.sgml:
10081         * docs/gst/tmpl/old/gsttimecache.sgml:
10082         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10083         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10084         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10085         * docs/gst/tmpl/old/types.sgml:
10086           I didn't intend to add these or check them in.
10087
10088 2005-05-19  David Schleef  <ds@schleef.org>
10089
10090         * configure.ac: Use -no-common everywhere.  In a sane world, it
10091           would be the default in libtool, because without it, you can't
10092           build DLLs on Windows.
10093         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10094         * docs/gst/gstreamer-sections.txt:
10095         * docs/gst/tmpl/gstcpu.sgml:
10096         * docs/gst/tmpl/gstdata.sgml:
10097         * docs/gst/tmpl/gstthread.sgml:
10098
10099 2005-05-19  David Schleef  <ds@schleef.org>
10100
10101         * gst/gstminiobject.c: (gst_value_set_mini_object),
10102         (gst_value_take_mini_object), (gst_value_get_mini_object):
10103         * gst/gstminiobject.h: Add GValue set/get functions.
10104
10105 2005-05-19  Wim Taymans  <wim@fluendo.com>
10106
10107         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10108         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10109         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10110         * gst/gstbuffer.h:
10111         * gst/gstbus.c: (gst_bus_post):
10112         * gst/gstelement.c: (gst_element_get_random_pad):
10113         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10114         Make subbufer unref the parent in finalize.
10115         some more debugging info.
10116
10117
10118 2005-05-19  Wim Taymans  <wim@fluendo.com>
10119
10120         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10121         (gst_basesink_init), (gst_basesink_finalize),
10122         (gst_basesink_activate), (gst_basesink_change_state):
10123         Don't free preroll queue too early.
10124
10125 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10126
10127         * gst/Makefile.am:
10128         * gst/ROADMAP:
10129           Hi, I'm outdated. Please shoot me.
10130
10131 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10132
10133         * gst/gstpipeline.c: (gst_pipeline_send_event):
10134           Do not access variables after they have been deleted.
10135
10136 2005-05-19  Wim Taymans  <wim@fluendo.com>
10137
10138         * tools/gst-inspect.c: (print_plugin_features):
10139         A plugin feature does unfortunatly not use the
10140         object name yet...
10141
10142 2005-05-18  Wim Taymans  <wim@fluendo.com>
10143
10144         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10145         Port _span() functions to new subbuffers.
10146
10147 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10148
10149         * gst/gstbin.c: (gst_bin_add_func):
10150           Fix clock settery in bins when adding kids after the clock has
10151           been selected.
10152
10153 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10154
10155         * gst/elements/gstidentity.c: (gst_identity_class_init):
10156           Workaround until signals support GstMiniObject.
10157
10158 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10159
10160         * gst/gstbuffer.c:
10161         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10162
10163 2005-05-18  Wim Taymans  <wim@fluendo.com>
10164
10165         * gst/base/Makefile.am:
10166         * gst/base/gstadapter.c: (gst_adapter_base_init),
10167         (gst_adapter_class_init), (gst_adapter_init),
10168         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10169         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10170         (gst_adapter_flush), (gst_adapter_available),
10171         (gst_adapter_available_fast):
10172         * gst/base/gstadapter.h:
10173         Ported and added adapter to the base classes.
10174
10175 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10176
10177         * gst/gst.c:
10178         * gst/gstmessage.c:
10179           Make sure the class is reffed/unreffed once before threads can be
10180           used.  Fixes #304551.
10181
10182 2005-05-17  Wim Taymans  <wim@fluendo.com>
10183
10184         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10185         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10186         * gst/gstminiobject.c: (gst_mini_object_get_type),
10187         (gst_mini_object_free):
10188         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10189         (gst_pad_push), (gst_pad_push_event):
10190         * gst/gstqueue.c: (gst_queue_change_state):
10191         Don't queue buffers in basesink when we are flushing.
10192         Unref buffer when flushing in basesink.
10193         Flush queue when going to READY
10194         Unref buffer when _push() returns an error.
10195         Don't free MiniObject instance when refcount is incremented
10196         in _finalize() so that we can recover objects.
10197
10198 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10199
10200         * docs/manual/advanced-schedulers.xml:
10201         * docs/manual/appendix-checklist.xml:
10202         * docs/pwg/advanced-clock.xml:
10203         * docs/pwg/advanced-interfaces.xml:
10204         * docs/pwg/advanced-request.xml:
10205         * docs/pwg/advanced-types.xml:
10206         * docs/pwg/intro-preface.xml:
10207         * examples/plugins/example.c: (gst_example_get_type),
10208         (gst_example_class_init), (gst_example_chain),
10209         (gst_example_set_property), (gst_example_get_property),
10210         (gst_example_change_state), (plugin_init):
10211         * examples/plugins/example.h:
10212           small doc fixes
10213
10214 2005-05-17  Wim Taymans  <wim@fluendo.com>
10215
10216         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10217         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10218         * gst/gstqueue.c: (gst_queue_change_state):
10219         Clear queue when going to READY.
10220         Remove IN_SETCAPS flag too.
10221
10222 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10223
10224         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10225           Remove implicit cast from gboolean to GstElementStateReturn;
10226           make sure we still return failure in paused => ready case if
10227           the parent class fails to change state and our own stop 
10228           vfunc succeeds.
10229
10230 2005-05-17  Wim Taymans  <wim@fluendo.com>
10231
10232         * tools/gst-launch.c: (event_loop):
10233         Message was unreffed too soon.
10234
10235 2005-05-16  Andy Wingo  <wingo@pobox.com>
10236
10237         * gst/gstbin.c (sink_iterator_filter): Err... um...
10238
10239         * check/gst/gstbin.c (test_ghost_pads): New test for the
10240         ghosting-if-elements-not-in-same-bin behavior.
10241
10242 2005-05-16  David Schleef  <ds@schleef.org>
10243
10244         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10245         accessing refcount directly.
10246
10247 2005-05-15  David Schleef  <ds@schleef.org>
10248
10249         * check/Makefile.am: remove GstData checks
10250         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10251         * gst/Makefile.am: add miniobject, remove data
10252         * gst/gst.h: add miniobject, remove data
10253         * gst/gstdata.c: remove
10254         * gst/gstdata.h: remove
10255         * gst/gstdata_private.h: remove
10256         * gst/gsttypes.h: remove GstEvent and GstMessage
10257         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10258         * gst/gstmarshal.list: change BOXED -> OBJECT
10259
10260         Implement GstMiniObject.
10261         * gst/gstminiobject.c:
10262         * gst/gstminiobject.h:
10263
10264         Modify to be subclasses of GstMiniObject.
10265         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10266         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10267         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10268         (gst_subbuffer_get_type), (gst_subbuffer_init),
10269         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10270         (gst_buffer_span):
10271         * gst/gstbuffer.h:
10272         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10273         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10274         (_gst_event_copy), (gst_event_new):
10275         * gst/gstevent.h:
10276         * gst/gstmessage.c: (_gst_message_initialize),
10277         (gst_message_get_type), (gst_message_class_init),
10278         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10279         (gst_message_new), (gst_message_new_error),
10280         (gst_message_new_warning), (gst_message_new_tag),
10281         (gst_message_new_state_changed), (gst_message_new_application):
10282         * gst/gstmessage.h:
10283         * gst/gstprobe.c: (gst_probe_perform),
10284         (gst_probe_dispatcher_dispatch):
10285         * gst/gstprobe.h:
10286         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10287         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10288         (_gst_query_copy), (gst_query_new):
10289
10290         Update elements for GstData -> GstMiniObject changes
10291         * gst/gstquery.h:
10292         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10293         (gst_queue_chain), (gst_queue_loop):
10294         * gst/elements/gstbufferstore.c:
10295         (gst_buffer_store_add_buffer_func),
10296         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10297         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10298         (gst_fakesink_render):
10299         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10300         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10301         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10302         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10303         (gst_filesrc_create_read):
10304         * gst/elements/gstidentity.c: (gst_identity_class_init):
10305         * gst/elements/gsttypefindelement.c:
10306         (gst_type_find_element_src_event), (free_entry_buffers),
10307         (gst_type_find_element_handle_event):
10308         * libs/gst/dataprotocol/dataprotocol.c:
10309         (gst_dp_header_from_buffer):
10310         * libs/gst/dataprotocol/dataprotocol.h:
10311         * libs/gst/dataprotocol/dp-private.h:
10312
10313 2005-05-15  David Schleef  <ds@schleef.org>
10314
10315         * gst/elements/gstelements.c: Don't include headers that were
10316         just removed.
10317
10318 2005-05-15  David Schleef  <ds@schleef.org>
10319
10320         * gst/elements/Makefile.am: Remove some elements that don't
10321         need to be in the core (or even exist at all).
10322         * gst/elements/gstaggregator.c:
10323         * gst/elements/gstaggregator.h:
10324         * gst/elements/gstmd5sink.c:
10325         * gst/elements/gstmd5sink.h:
10326         * gst/elements/gstmultifilesrc.c:
10327         * gst/elements/gstmultifilesrc.h:
10328         * gst/elements/gstpipefilter.c:
10329         * gst/elements/gstpipefilter.h:
10330         * gst/elements/gstshaper.c:
10331         * gst/elements/gstshaper.h:
10332         * gst/elements/gststatistics.c:
10333         * gst/elements/gststatistics.h:
10334         * po/POTFILES.in: Remove above files.
10335
10336 2005-05-14  Andy Wingo  <wingo@pobox.com>
10337
10338         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10339         so as to get the refs right.
10340         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10341         unreffing objects that don't pass the filter.
10342
10343         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10344         gst_element_set_bus.
10345         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10346         normal cases, this will destroy the bus.
10347
10348         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10349         object.
10350
10351         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10352         has no sinks.
10353
10354 2005-05-13  Andy Wingo  <wingo@pobox.com>
10355
10356         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10357         gst_pad_link, call pad_link_maybe_ghosting,
10358         (pad_link_maybe_ghosting): Links pads, making sure that the
10359         elements being linked are in the same bin.
10360         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10361         Helpers for pad_link_maybe_ghosting.
10362
10363 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10364
10365         * configure.ac:
10366           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10367
10368 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10369
10370         * docs/design/part-element-source.txt:
10371           Mention GstPushSrc
10372
10373 2005-05-12  Wim Taymans  <wim@fluendo.com>
10374
10375         * gst/base/gstbasesink.c: (gst_basesink_init),
10376         (gst_basesink_activate):
10377         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10378         (gst_basesrc_is_seekable):
10379         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10380         (bin_element_is_sink), (gst_bin_change_state):
10381         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10382         * gst/gstelement.h:
10383         Identify sinks by their flag to avoid overly complicated
10384         checks (fow now).
10385         Do state changes even for elements not reachable from the
10386         sinks.
10387         BaseSink is a sink now :)
10388         Some more debugging info in the basesrc.
10389
10390
10391 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10392
10393         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10394           Implement _query on a bin, similar to _send_event.
10395
10396 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10397
10398         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10399           Discont event offset format should be GST_FORMAT_BYTES,
10400           not GST_FORMAT_TIME.
10401
10402 2005-05-12  Wim Taymans  <wim@fluendo.com>
10403
10404         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10405         Same fix as Ronald's but without the signal. 
10406
10407 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10408
10409         * gst/gstutils.c: (gst_element_query_position):
10410           No, an element is not a pad.
10411
10412 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10413
10414         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10415         (gst_bin_get_state):
10416           If a child is removed from a bin while we remove the child from
10417           the bin and while we're retrieving its state, signal this to the
10418           get_state function so we abort the wait (instead of waiting for
10419           a timeout) and can immediately re-iterate over all other elements.
10420
10421 2005-05-12  Wim Taymans  <wim@fluendo.com>
10422
10423         * gst/base/Makefile.am:
10424         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10425         (gst_basesrc_start):
10426         * gst/base/gstbasesrc.h:
10427         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10428         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10429         (gst_pushsrc_init), (gst_pushsrc_create):
10430         * gst/base/gstpushsrc.h:
10431         Added is_seekable to BaseSrc
10432         Added simple PushSrc.
10433
10434 2005-05-11  Wim Taymans  <wim@fluendo.com>
10435
10436         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10437         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10438         (gst_element_link_pads), (gst_element_query_position),
10439         (gst_element_query_convert), (intersect_caps_func),
10440         (gst_pad_query_position), (gst_pad_query_convert):
10441         Fix refcounting in utils function.
10442         No point in trying to activate a pad when it's added, it could
10443         be added from the state change function and then we deadlock, the
10444         element has to decide what to do.
10445
10446 2005-05-10  Andy Wingo  <wingo@pobox.com>
10447
10448         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10449         *all* the arguments.
10450
10451         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10452         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10453         lock (according to the docs -- if this is wrong change the docs).
10454
10455         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10456         flush messages in the NULL state.
10457
10458         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10459         message immediately and return.
10460         (gst_bus_set_flushing): New function. If a bus is flushing, it
10461         flushes out any queued messages and immediately unrefs new
10462         messages. This is so when an element goes to NULL, all of the
10463         unhandled messages coming from it can be freed, and their
10464         references to the element dropped. In other words: message source
10465         ref considered harmful :P
10466
10467         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10468         we're finished with it.
10469
10470         * gst/gstmessage.c (gst_message_new_state_changed): 
10471
10472 2005-05-10  Wim Taymans  <wim@fluendo.com>
10473
10474         * gst/gstvalue.c: (gst_value_compare_flags),
10475         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10476         (_gst_value_initialize):
10477         Added flags serialize/deserialize/compare code.
10478
10479 2005-05-09  Andy Wingo  <wingo@pobox.com>
10480
10481         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10482         Intersect the peer's caps with our caps.
10483
10484 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10485
10486         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10487         * gst/elements/gsttypefindelement.c: (find_peek):
10488           Handle negative offsets better. Fixes decodebin.
10489
10490 2005-05-09  Wim Taymans  <wim@fluendo.com>
10491
10492         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10493         (gst_base_transform_event):
10494         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10495         Implement accept_caps.
10496         Fix silly lock/unlock mismatch in base class.
10497
10498 2005-05-09  Wim Taymans  <wim@fluendo.com>
10499
10500         * docs/design/draft-push-pull.txt:
10501         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10502         * gst/elements/gstfilesink.c: (gst_filesink_init),
10503         (gst_filesink_query):
10504         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10505         (gst_type_find_handle_src_query), (find_element_get_length):
10506         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10507         * gst/gstelement.h:
10508         * gst/gstmessage.c:
10509         * gst/gstmessage.h:
10510         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10511         (gst_real_pad_get_caps_unlocked),
10512         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10513         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10514         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10515         (gst_real_pad_dispose), (gst_real_pad_finalize),
10516         (gst_pad_load_and_link), (gst_pad_save_thyself),
10517         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10518         (gst_pad_check_pull_range), (gst_pad_pull_range),
10519         (gst_pad_template_get_type), (gst_pad_template_class_init),
10520         (gst_pad_template_init), (gst_pad_template_dispose),
10521         (name_is_valid), (gst_static_pad_template_get),
10522         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10523         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10524         (gst_pad_get_element_private), (gst_pad_start_task),
10525         (gst_pad_pause_task), (gst_pad_stop_task),
10526         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10527         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10528         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10529         (gst_ghost_pad_new):
10530         * gst/gstpad.h:
10531         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10532         (gst_query_new_position), (gst_query_set_position),
10533         (gst_query_parse_position), (gst_query_new_convert),
10534         (gst_query_set_convert), (gst_query_parse_convert):
10535         * gst/gstquery.h:
10536         * gst/gstqueryutils.c:
10537         * gst/gstqueryutils.h:
10538         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10539         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10540         (gst_queue_handle_src_query):
10541         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10542         (gst_element_query_position), (gst_element_query_convert),
10543         (intersect_caps_func), (gst_pad_query_position),
10544         (gst_pad_query_convert):
10545         * gst/gstutils.h:
10546         * tools/gst-inspect.c: (print_pad_info):
10547         * tools/gst-xmlinspect.c: (print_element_info):
10548         Remove old query functions. Ported old code.
10549         Added position/convert helper functions to gstutils.
10550         Reordered gstpad.c code, grouping relevant things.
10551         Remove gst_message_new(), always need to speficy a specific
10552         message.
10553
10554
10555 2005-05-09  Andy Wingo  <wingo@pobox.com>
10556
10557         * gst/gstiterator.h: Add some includes.
10558
10559         * gst/gstqueryutils.h: Include more headers.
10560
10561         * gst/gstpad.h:
10562         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10563         some uses of gst_pad_query.
10564
10565         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10566         NULL out parameters.
10567         (gst_query_new_position): New proc, allocates a new position
10568         query.
10569
10570         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10571         gstqueryutils.c to the build.
10572
10573         * gst/gststructure.c (gst_structure_set_valist): Implement with
10574         the generic G_VALUE_COLLECT.
10575         
10576 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10577
10578         * gst/Makefile.am: (gst_headers):
10579         Added gstqueryutils.h to the list of headers to install, that was
10580         a 'nachty' move wingo :)
10581
10582 2005-05-06  Andy Wingo  <wingo@pobox.com>
10583
10584         * gst/gstquery.h
10585         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10586         GstData, init a memchunk.
10587         (standard_definitions): Add a few query types, deprecate a few.
10588         (gst_query_get_type): New proc.
10589         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10590         implementation.
10591         (gst_query_new_application, gst_query_get_structure): New public
10592         procs.
10593
10594         * docs/design/draft-query.txt: Removed LINKS from the query types,
10595         because all the rest can be dispatched to other pads -- seemed
10596         ugly to have a query that couldn't be dispatched. internal_links
10597         is fine as a pad method.
10598
10599         * gst/gstpad.h: Add query2 as a pad method, add the new functions
10600         in gstpad.c, but maintain binary compatibility for the moment.
10601         Will fix before 0.9 is out.
10602
10603         * gst/gstqueryutils.c: 
10604         * gst/gstqueryutils.h: New files, implement 3 methods for each
10605         query type: parse_query, parse_response, and set. Probably need an
10606         allocator as well.
10607
10608         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10609
10610         * gst/elements/gstfilesink.c (gst_filesink_query2):
10611         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10612         query_types, and formats methods.
10613
10614         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10615         (gst_pad_set_query2_function): New functions.
10616         (gst_real_pad_init): Set query2_default as the default query2
10617         function. Basically just dispatches to internally linked pads.
10618
10619         Needs review!
10620         
10621         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10622         without using the atomic operations. Only one thread can possibly
10623         be accessing the data at this point. Changed so as to avoid
10624         gst_atomic operations.
10625
10626 2005-05-06  Wim Taymans  <wim@fluendo.com>
10627
10628         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10629         Also set caps if we use the fallback buffer alloc.
10630
10631 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
10632
10633         * docs/gst/Makefile.am:
10634         * docs/gst/gstreamer-docs.sgml:
10635         * docs/gst/gstreamer-sections.txt:
10636         * docs/gst/tmpl/gstatomic.sgml:
10637         * docs/gst/tmpl/gstmemchunk.sgml:
10638         * testsuite/elements/struct_i386.h:
10639         * win32/GStreamer.vcproj:
10640         * win32/Makefile:
10641           Purge GstAtomic stuff from docs and win32 makefiles as well
10642
10643 2005-05-06  Wim Taymans  <wim@fluendo.com>
10644
10645         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10646         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10647         * gst/gstpad.c: (gst_pad_peer_get_caps):
10648         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10649         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10650         (gst_queue_src_activate), (gst_queue_change_state):
10651         * gst/gstqueue.h:
10652         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10653         (intersect_caps_func):
10654         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10655         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10656         Some fixes for the peer_get_caps() change.
10657
10658 2005-05-06  Wim Taymans  <wim@fluendo.com>
10659
10660         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10661         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10662         (gst_basesink_activate):
10663         Actually do something with error codes returned from the push
10664         functions.
10665
10666 2005-05-06  Wim Taymans  <wim@fluendo.com>
10667
10668         * docs/design/part-element-sink.txt:
10669         * docs/design/part-element-source.txt:
10670         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10671         (gst_basesink_event), (gst_basesink_activate):
10672         * gst/base/gstbasesink.h:
10673         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10674         (gst_basesrc_activate):
10675         * gst/base/gstbasesrc.h:
10676         * gst/gstelement.c: (gst_element_pads_activate):
10677         Some more documentation.
10678         Fixed scheduling decision in _pads_activate().
10679
10680 2005-05-05  Andy Wingo  <wingo@pobox.com>
10681
10682         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10683         the test suite.
10684
10685 2005-05-05  Wim Taymans  <wim@fluendo.com>
10686
10687         * gst/base/Makefile.am:
10688         * gst/base/gstbasesink.h:
10689         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10690         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10691         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10692         (gst_collectpads_class_init), (gst_collectpads_init),
10693         (gst_collectpads_finalize), (gst_collectpads_new),
10694         (gst_collectpads_set_function), (gst_collectpads_add_pad),
10695         (find_pad), (gst_collectpads_remove_pad),
10696         (gst_collectpads_is_active), (gst_collectpads_collect),
10697         (gst_collectpads_collect_range), (gst_collectpads_start),
10698         (gst_collectpads_stop), (gst_collectpads_peek),
10699         (gst_collectpads_pop), (gst_collectpads_available),
10700         (gst_collectpads_read), (gst_collectpads_flush),
10701         (gst_collectpads_chain):
10702         * gst/base/gstcollectpads.h:
10703         * gst/elements/Makefile.am:
10704         * gst/elements/gstelements.c:
10705         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10706         (gst_fakesink_get_times), (gst_fakesink_event),
10707         (gst_fakesink_preroll), (gst_fakesink_render):
10708         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10709         (gst_filesink_init), (gst_filesink_set_location),
10710         (gst_filesink_open_file), (gst_filesink_close_file),
10711         (gst_filesink_pad_query), (gst_filesink_event),
10712         (gst_filesink_render), (gst_filesink_change_state):
10713         * gst/elements/gstfilesink.h:
10714         Added object to help in making collect pad based elements.
10715         Ported filesink.
10716         Make event function in sink baseclass return gboolean.
10717
10718 2005-05-05  Wim Taymans  <wim@fluendo.com>
10719
10720         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10721         (gst_bin_get_by_name):
10722         * gst/gstbuffer.h:
10723         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10724         (gst_clock_finalize):
10725         * gst/gstdata.c: (gst_data_replace):
10726         * gst/gstdata.h:
10727         * gst/gstelement.c: (gst_element_request_pad),
10728         (gst_element_pads_activate):
10729         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10730         (gst_object_unref):
10731         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10732         (gst_pad_set_checkgetrange_function),
10733         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10734         (gst_pad_check_pull_range), (gst_pad_pull_range),
10735         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10736         (gst_pad_pause_task), (gst_pad_stop_task):
10737         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10738         (gst_element_request_pad), (gst_pad_proxy_getcaps):
10739         Fix name lookup in GstBin.
10740         Added _data_replace() function and _buffer_replace()
10741         Use finalize method to clean up clock.
10742         Fix refcounting on request pads.
10743         Fix pad schedule mode error.
10744         Some more object refcounting debug info,
10745
10746
10747 2005-05-04  Andy Wingo <wingo@pobox.com>
10748
10749         * check/Makefile.am:
10750         * docs/gst/tmpl/gstatomic.sgml:
10751         * docs/gst/tmpl/gstplugin.sgml:
10752         * gst/base/gstbasesink.c: (gst_basesink_activate):
10753         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10754         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10755         (gst_basesrc_query), (gst_basesrc_set_property),
10756         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10757         (gst_basesrc_activate):
10758         * gst/base/gstbasesrc.h:
10759         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10760         (gst_base_transform_src_activate):
10761         * gst/elements/gstelements.c:
10762         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10763         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10764         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10765         * gst/elements/gsttypefindelement.c: (find_element_get_length),
10766         (gst_type_find_element_checkgetrange),
10767         (gst_type_find_element_activate):
10768         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10769         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10770         (gst_caps_load_thyself):
10771         * gst/gstelement.c: (gst_element_pads_activate),
10772         (gst_element_save_thyself), (gst_element_restore_thyself):
10773         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10774         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10775         * gst/gstpad.h:
10776         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10777         (gst_xml_parse_file), (gst_xml_parse_memory),
10778         (gst_xml_get_element), (gst_xml_make_element):
10779         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10780         (_file_index_id_save_xml), (gst_file_index_commit):
10781         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10782         (read_enum), (load_pad_template), (load_feature), (load_plugin),
10783         (load_paths):
10784         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10785         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10786         * tools/gst-complete.c: (main):
10787         * tools/gst-compprep.c: (main):
10788         * tools/gst-inspect.c: (print_element_properties_info):
10789         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10790         * tools/gst-xmlinspect.c: (print_element_properties):
10791         GCC 4 fixen.
10792         
10793 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10794
10795         * gst/gstplugin.c: (gst_plugin_check_module),
10796         (gst_plugin_check_file), (gst_plugin_load_file):
10797             apply patch from #172526 to make register work on MacOSX
10798
10799 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10800
10801         * docs/gst/tmpl/gstconfig.sgml:
10802         * gst/gstconfig.h.in:
10803           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
10804         * testsuite/debug/printf_extension.c: (main):
10805           Do not use GST_PTR_FORMAT on pointers to types with
10806           sizeof < sizeof(gpointer).  Fixes test on 64-bit
10807         * testsuite/elements/property.h:
10808           use correct printf format
10809
10810 2005-05-02  Wim Taymans  <wim@fluendo.com>
10811
10812         * docs/design/draft-push-pull.txt:
10813         * docs/design/draft-query.txt:
10814         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10815         (gst_basesrc_start):
10816         Added draft for new query API.
10817         Added draft for better selecting scheduling methods.
10818         Make basesrc ignore length if the subclass does not support
10819         it.
10820
10821 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10822
10823         * gst/Makefile.am:
10824           possible fixes for automake-1.5 - _LIBADD is reserved
10825
10826 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10827
10828         * docs/faq/Makefile.am:
10829         * docs/manual/Makefile.am:
10830         * docs/manuals.mak:
10831         * docs/pwg/Makefile.am:
10832         * gst/Makefile.am:
10833           possible fixes for automake-1.5
10834
10835 2005-04-28  Wim Taymans  <wim@fluendo.com>
10836
10837         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10838         (gst_basesink_pad_getcaps), (gst_basesink_init),
10839         (gst_basesink_do_sync):
10840         * gst/gstclock.c: (gst_clock_entry_new):
10841         * gst/gstevent.c: (gst_event_discont_get_value):
10842         * gst/gstpipeline.c: (pipeline_bus_handler),
10843         (gst_pipeline_change_state):
10844         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10845         Better debugging of clocking info.
10846         Allow NULL values when getting discont values.
10847
10848 2005-04-27  Wim Taymans  <wim@fluendo.com>
10849
10850         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10851         * check/gst/gstpad.c: (gst_pad_suite):
10852         Increase timeout for checks.
10853
10854 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10855
10856         * check/Makefile.am:
10857           fix the broken rule for cleanup.  Apparently this rule is
10858           only needed on FC2, so maybe this warrants further autotool
10859           inspection.
10860
10861 2005-04-26  Wim Taymans  <wim@fluendo.com>
10862
10863         * gst/gsttrashstack.h:
10864         Ooohh. a nasty one! After having a failed pop() from the stack,
10865         it's possible that the stack is empty. In that case, don't
10866         follow the NULL pointer.
10867
10868 2005-04-25  Wim Taymans  <wim@fluendo.com>
10869
10870         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10871         (gst_pad_set_checkgetrange_function),
10872         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10873         (gst_pad_check_pull_range), (gst_pad_pull_range),
10874         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10875         (gst_pad_pause_task), (gst_pad_stop_task):
10876         * gst/gstplugin.c: (gst_plugin_load):
10877         * gst/gstplugin.h:
10878         Remove gst_library_load as it does more harm than good with
10879         the new g_module flags.
10880         Revert bogus caps template check in pad linking, pad caps
10881         are important when linking not the template, which is more
10882         general than the current caps.
10883
10884 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10885
10886         * gst/autoplug/.cvsignore:
10887         * gst/autoplug/Makefile.am:
10888         * gst/autoplug/gstsearchfuncs.c:
10889         * gst/autoplug/gstsearchfuncs.h:
10890         * gst/autoplug/gstspider.c:
10891         * gst/autoplug/gstspider.h:
10892         * gst/autoplug/gstspideridentity.c:
10893         * gst/autoplug/gstspideridentity.h:
10894         * gst/autoplug/spidertest.c:
10895           Die, spider, die.
10896
10897 2005-04-25  Wim Taymans  <wim@fluendo.com>
10898
10899         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10900         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10901         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10902         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10903         * gst/gstpad.h:
10904         Added stubs for unimplemented functions. 
10905
10906 2005-04-24  David Schleef  <ds@schleef.org>
10907
10908         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
10909         please fix.
10910
10911 2005-04-24  David Schleef  <ds@schleef.org>
10912
10913         Convert everything from GstAtomicInt to g_atomic_int_*, and
10914         remove gstatomic.
10915         * gst/Makefile.am:
10916         * gst/gstatomic.c:
10917         * gst/gstatomic.h:
10918         * gst/gstatomic_impl.h:
10919         * gst/gstbuffer.c:
10920         * gst/gstcaps.c:
10921         * gst/gstcaps.h:
10922         * gst/gstclock.c:
10923         * gst/gstclock.h:
10924         * gst/gstdata.c:
10925         * gst/gstdata.h:
10926         * gst/gstdata_private.h:
10927         * gst/gstevent.c:
10928         * gst/gstinfo.c:
10929         * gst/gstinfo.h:
10930         * gst/gstmessage.c:
10931         * gst/gstobject.c:
10932         * gst/gstobject.h:
10933         * gst/gststructure.c:
10934         * gst/gststructure.h:
10935         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10936         * gst/gstutils.h:
10937
10938 2005-04-24  David Schleef  <ds@schleef.org>
10939
10940         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10941         make the regressions tests work.  Remove some code that is no
10942         longer true.
10943         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10944         Disable warning for pads without templates.
10945
10946 2005-04-24  David Schleef  <ds@schleef.org>
10947
10948         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
10949         functions that handle filtered links.
10950         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10951         removed functions.
10952         * gst/gstutils.c: Fix/remove utility functions that handle
10953         filtered caps.
10954         * gst/gstutils.h:
10955         * gst/gstvalue.c: Add serialization/deserialization of caps
10956         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
10957         requires fixing so that the filter caps notation creates
10958         a capsfilter element and sets the filter_caps property.  I
10959         think everyone probably wants to keep the shorthand notation.
10960         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10961         * docs/gst/tmpl/gstpad.sgml:
10962
10963         * gst/elements/gstelements.c: Register capsfilter element.
10964         * gst/Makefile.am: fix spacing
10965         * docs/random/ds/0.9-suggested-changes: random
10966
10967 2005-04-23  David Schleef  <ds@schleef.org>
10968
10969         * gst/elements/Makefile.am:
10970         * gst/elements/gstcapsfilter.c: New element that acts like an
10971         identity, but filters caps.  Will eventually replace filtered
10972         caps in pad linking.
10973         * gst/gstutils.c: (gst_element_create_all_pads): New function
10974         to create all the ALWAYS pads that are registered with an
10975         element class.  This functionality should eventually be
10976         merged in with GstElement initialization.
10977         * gst/gstutils.h:
10978         * testsuite/trigger/README: part of trigger test code that should
10979         have been checked in a long time ago.
10980
10981 2005-04-23  David Schleef  <ds@schleef.org>
10982
10983         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
10984         needed with new versions of libtool (nobody will confirm this),
10985         and hard to carry around.
10986         * gst/autoplug/Makefile.am:
10987         * gst/base/Makefile.am:
10988         * gst/elements/Makefile.am:
10989         * gst/indexers/Makefile.am:
10990         * gst/schedulers/Makefile.am:
10991         * libs/gst/bytestream/Makefile.am:
10992         * libs/gst/control/Makefile.am:
10993         * libs/gst/dataprotocol/Makefile.am:
10994         * libs/gst/getbits/Makefile.am:
10995
10996 2005-04-21  Wim Taymans  <wim@fluendo.com>
10997
10998         * docs/design/draft-push-pull.txt:
10999         * docs/design/part-MT-refcounting.txt:
11000         * docs/design/part-TODO.txt:
11001         * docs/design/part-caps.txt:
11002         * docs/design/part-events.txt:
11003         * docs/design/part-gstbus.txt:
11004         * docs/design/part-gstpipeline.txt:
11005         * docs/design/part-messages.txt:
11006         * docs/design/part-push-pull.txt:
11007         * docs/design/part-query.txt:
11008         Some more docs.
11009
11010 2005-04-21  Wim Taymans  <wim@fluendo.com>
11011
11012         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11013         (gst_message_new), (gst_message_new_error),
11014         (gst_message_new_warning), (gst_message_new_tag),
11015         (gst_message_new_state_changed), (gst_message_new_application),
11016         (gst_message_get_structure):
11017         * gst/gstmessage.h:
11018         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11019         (gst_structure_copy_conditional):
11020         Use parent refcount in GstMessage to ensure GstStructure
11021         consistency.
11022         Cleaned up headers a bit.
11023         
11024
11025 2005-04-20  Wim Taymans  <wim@fluendo.com>
11026
11027         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11028         (gst_basesink_pad_getcaps), (gst_basesink_init),
11029         (gst_basesink_chain_unlocked):
11030         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11031         (gst_type_find_helper):
11032         * gst/elements/gsttypefindelement.c:
11033         (gst_type_find_element_have_type), (gst_type_find_element_init),
11034         (stop_typefinding), (gst_type_find_element_handle_event),
11035         (find_suggest), (gst_type_find_element_chain),
11036         (gst_type_find_element_checkgetrange),
11037         (gst_type_find_element_getrange), (do_typefind),
11038         (gst_type_find_element_activate):
11039         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11040         (gst_buffer_default_free), (gst_buffer_default_copy),
11041         (gst_buffer_set_caps):
11042         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11043         (gst_caps_replace):
11044         * gst/gstmessage.c: (gst_message_new),
11045         (gst_message_new_state_changed):
11046         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11047         (gst_pad_set_checkgetrange_function),
11048         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11049         (gst_pad_set_caps), (gst_pad_check_pull_range),
11050         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11051         * gst/gstpad.h:
11052         * gst/gsttypefind.c: (gst_type_find_register):
11053         Make gst_caps_replace() work like other _replace() functions.
11054         Use _caps_replace() where possible.
11055         Make sure _message_new() initialises its field.
11056         Add gst_static_pad_template_get_caps()
11057
11058
11059 2005-04-18  Andy Wingo  <wingo@pobox.com>
11060
11061         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11062         on the peer, not the pad. I think that was a typo. Pass an extra
11063         arg to see if random access is possible. Activate the pads as
11064         PULL_RANGE if possible.
11065
11066         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11067
11068         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11069         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11070         to PROP_....
11071
11072 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11073
11074         * docs/faq/using.xml:
11075           Add note on gstreamer-properties (#154996).
11076
11077 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11078
11079         * docs/random/bbb/optional-properties:
11080           Some analysis on optional properties.
11081
11082 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11083
11084         * docs/gst/tmpl/gstelementfactory.sgml:
11085         * gst/gstelement.h:
11086         * gst/gstelementfactory.c: (gst_element_factory_init),
11087         (gst_element_factory_cleanup), (gst_element_register),
11088         (__gst_element_factory_add_static_pad_template),
11089         (gst_element_factory_get_static_pad_templates),
11090         (gst_element_factory_can_src_caps),
11091         (gst_element_factory_can_sink_caps):
11092         * gst/registries/Makefile.am:
11093         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11094         (gst_xml_registry_class_init), (gst_xml_registry_init),
11095         (gst_xml_registry_new), (gst_xml_registry_set_property),
11096         (gst_xml_registry_get_property), (get_time), (make_dir),
11097         (gst_xml_registry_get_perms_func),
11098         (plugin_times_older_than_recurse), (plugin_times_older_than),
11099         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11100         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11101         (add_to_char_array), (read_string), (read_uint), (read_enum),
11102         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11103         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11104         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11105         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11106         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11107         (gst_xml_registry_rebuild):
11108         * gst/registries/gstlibxmlregistry.h:
11109         * tools/gst-compprep.c: (main):
11110         * tools/gst-inspect.c: (print_pad_templates_info):
11111         * tools/gst-xmlinspect.c: (print_element_info):
11112           Use libxml2 for registry parsing, use staticpadtemplates in
11113           elementfactories. Makes gst_init() +/- 10x faster.
11114
11115 2005-04-12  Wim Taymans  <wim@fluendo.com>
11116
11117         * gst/base/Makefile.am:
11118         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11119         (gst_basesink_pad_getcaps), (gst_basesink_init),
11120         (gst_basesink_event), (gst_basesink_change_state):
11121         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11122         (gst_basesrc_init), (gst_basesrc_query),
11123         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11124         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11125         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11126         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11127         (gst_basesrc_stop), (gst_basesrc_activate),
11128         (gst_basesrc_change_state):
11129         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11130         (helper_find_suggest), (gst_type_find_helper):
11131         * gst/base/gsttypefindhelper.h:
11132         * gst/elements/Makefile.am:
11133         * gst/elements/gstelements.c:
11134         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11135         (gst_fakesink_get_times), (gst_fakesink_event),
11136         (gst_fakesink_preroll), (gst_fakesink_render):
11137         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11138         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11139         (gst_fakesrc_get_property), (gst_fakesrc_create),
11140         (gst_fakesrc_start), (gst_fakesrc_stop):
11141         * gst/elements/gstfakesrc.h:
11142         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11143         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11144         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11145         (gst_filesrc_create_read), (gst_filesrc_create),
11146         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11147         (gst_filesrc_start):
11148         * gst/elements/gsttypefindelement.c:
11149         (gst_type_find_element_have_type), (gst_type_find_element_init),
11150         (start_typefinding), (stop_typefinding), (push_buffer_store),
11151         (gst_type_find_element_handle_event),
11152         (gst_type_find_element_chain),
11153         (gst_type_find_element_checkgetrange),
11154         (gst_type_find_element_getrange), (do_typefind),
11155         (gst_type_find_element_activate),
11156         (gst_type_find_element_change_state):
11157         * gst/elements/gsttypefindelement.h:
11158         * gst/gstpipeline.c: (pipeline_bus_handler):
11159         Added typefind helper.
11160         Small preroll fix in the base sink.
11161         Disable typefind code in basesrc.
11162         Crude port of typefindelement.
11163         Fakesrc cleanups.
11164
11165
11166 2005-04-11  Wim Taymans  <wim@fluendo.com>
11167
11168         * check/gst/gstbus.c: (gstbus_suite):
11169         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11170         * check/gstcheck.h:
11171           Fix up the timeout so that the test does not fail.
11172
11173 2005-04-06  Wim Taymans  <wim@fluendo.com>
11174
11175         * gst/base/README:
11176         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11177         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11178         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11179         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11180         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11181         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11182         (gst_basesrc_stop), (gst_basesrc_activate),
11183         (gst_basesrc_change_state), (basesrc_find_peek),
11184         (basesrc_find_suggest), (gst_basesrc_type_find):
11185         * gst/base/gstbasesrc.h:
11186         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11187         (gst_filesrc_class_init), (gst_filesrc_init),
11188         (gst_filesrc_finalize), (gst_filesrc_set_location),
11189         (gst_filesrc_set_property), (gst_filesrc_get_property),
11190         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11191         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11192         (gst_filesrc_create_read), (gst_filesrc_create),
11193         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11194         * gst/elements/gstfilesrc.h:
11195         * gst/gstelement.c: (gst_element_get_state_func),
11196         (gst_element_lost_state), (gst_element_pads_activate):
11197         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11198         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11199         (gst_pad_pull_range):
11200         * gst/gstpad.h:
11201         More work on the generic source base class, implement seeking,
11202         query.
11203         Make filesrc extend the base source class.
11204         Added gst_pad_set_checkgetrange_function to GstPad.
11205
11206 2005-04-06  Andy Wingo  <wingo@pobox.com>
11207
11208         * pkgconfig/gstreamer-base.pc.in:
11209         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11210
11211         * pkgconfig/Makefile.am:
11212         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11213
11214 2005-04-04  Wim Taymans  <wim@fluendo.com>
11215
11216         * gst/base/Makefile.am:
11217         * gst/base/README:
11218         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11219         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11220         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11221         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11222         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11223         (gst_basesrc_base_init), (gst_basesrc_class_init),
11224         (gst_basesrc_init), (gst_basesrc_get_formats),
11225         (gst_basesrc_get_query_types), (gst_basesrc_query),
11226         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11227         (gst_basesrc_set_property), (gst_basesrc_get_property),
11228         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11229         (gst_basesrc_loop), (gst_basesrc_activate),
11230         (gst_basesrc_change_state):
11231         * gst/base/gstbasesrc.h:
11232         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11233         (gst_fakesrc_class_init), (gst_fakesrc_init),
11234         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11235         (gst_fakesrc_get_property), (gst_fakesrc_create):
11236         * gst/elements/gstfakesrc.h:
11237         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11238         (gst_filesrc_open_file), (gst_filesrc_loop),
11239         (gst_filesrc_activate), (filesrc_find_peek),
11240         (gst_filesrc_type_find):
11241         Made base source class, make fakesrc extend it.
11242         Add comments to basesink class.
11243         Some filesrc cleanup.
11244
11245 2005-03-31  David Schleef  <ds@schleef.org>
11246
11247         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11248         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11249         expected to link against libgstreamer.
11250         * gst/base/Makefile.am: link against libgstreamer
11251         * gst/elements/Makefile.am: same
11252
11253 2005-03-31  Andy Wingo  <wingo@pobox.com>
11254
11255         * tests/instantiate/Makefile.am:
11256         * tests/instantiate/caps.c: Add test to test speed of caps copy
11257         and free.
11258
11259         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11260         GMemChunk to be fair.
11261
11262         * gst/gsttrashstack.h: Remove warning about using the fallback
11263         trash stack implementation, it's still faster than malloc.
11264
11265 2005-03-30  Andy Wingo  <wingo@pobox.com>
11266
11267         * tests/complexity.c: Add a copyright.
11268
11269 2005-03-31  Wim Taymans  <wim@fluendo.com>
11270
11271         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11272         (gst_base_transform_class_init), (gst_base_transform_init),
11273         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11274         (gst_base_transform_get_property),
11275         (gst_base_transform_sink_activate),
11276         (gst_base_transform_src_activate),
11277         (gst_base_transform_change_state):
11278         * gst/base/gstbasetransform.h:
11279         * gst/elements/gstidentity.c: (gst_identity_class_init),
11280         (gst_identity_event), (gst_identity_check_perfect),
11281         (gst_identity_transform), (gst_identity_start),
11282         (gst_identity_stop):
11283         Added start/stop methods to transform base class so subclasses 
11284         don't need to deal with state changes even.
11285
11286 2005-03-31  Wim Taymans  <wim@fluendo.com>
11287
11288         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11289         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11290         * gst/gstevent.h:
11291         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11292         (gst_pad_pull_range):
11293         Added rate to the discont event to prepare for variable speed
11294         and reverse playback.
11295
11296 2005-03-29  David Schleef  <ds@schleef.org>
11297
11298         * configure.ac:
11299         * testsuite/trigger/Makefile.am:
11300         * testsuite/trigger/trigger.c: A little example program to show
11301         how trigger-based elements can work.
11302
11303 2005-03-29  Wim Taymans  <wim@fluendo.com>
11304
11305         * gst/base/Makefile.am:
11306         * gst/base/README:
11307         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11308         (gst_basesink_base_init), (gst_basesink_class_init),
11309         (gst_basesink_pad_getcaps), (gst_basesink_init),
11310         (gst_basesink_activate), (gst_basesink_change_state):
11311         * gst/base/gstbasesink.h:
11312         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11313         (gst_base_transform_base_init), (gst_base_transform_finalize),
11314         (gst_base_transform_class_init), (gst_base_transform_init),
11315         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11316         (gst_base_transform_event), (gst_base_transform_getrange),
11317         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11318         (gst_base_transform_set_property),
11319         (gst_base_transform_get_property),
11320         (gst_base_transform_sink_activate),
11321         (gst_base_transform_src_activate),
11322         (gst_base_transform_change_state):
11323         * gst/base/gstbasetransform.h:
11324         * gst/elements/gstidentity.c: (gst_identity_finalize),
11325         (gst_identity_class_init), (gst_identity_init),
11326         (gst_identity_event), (gst_identity_check_perfect),
11327         (gst_identity_transform), (gst_identity_set_property),
11328         (gst_identity_get_property), (gst_identity_change_state):
11329         * gst/elements/gstidentity.h:
11330         * gst/gstelement.c: (gst_element_get_state_func),
11331         (gst_element_lost_state), (gst_element_pads_activate):
11332         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11333         (gst_pad_check_pull_range), (gst_pad_pull_range):
11334         * gst/gstpad.h:
11335         Simplify pad activation.
11336         Added function to check if pull_range can be performed.
11337         Error out when pulling inactive or flushing pads.
11338         Removed const from refcounted types as it does not make sense.
11339         Simplify pad templates in basesink
11340         Added base class for simple 1-to-1 transforms.
11341         Make identity subclass the base transform.
11342
11343 2005-03-29  Andy Wingo  <wingo@pobox.com>
11344
11345         * docs/libs/gstreamer-libs-overrides.txt: 
11346         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11347         really don't understand what's going on, but like whatever. I want
11348         green buildbot!
11349
11350         * docs/gst/Makefile.am:
11351         * docs/libs/Makefile.am: Dist the overrides files.
11352
11353         * check/Makefile.am (clean-local): Remove .libs directories.
11354
11355         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11356         elements to EXTRA_DIST, so po/ files are happy.
11357
11358         * po/POTFILES.in: Er, remove it here.
11359
11360         * po/POTFILES: Remove gstspider.c.
11361
11362         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11363
11364         * docs/libs/gstreamer-libs-docs.sgml: 
11365         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11366         bytestream.
11367
11368         * tests/complexity.c (main): Set the length of the preroll queue
11369         on the sinks to prevent a lockup.
11370
11371         * libs/gst/dataprotocol/Makefile.am: 
11372         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11373         the same as the one in check/gst-libs/gdp.c.
11374
11375         * po/, docs/gst/: Commit automatic changes to docs and po files.
11376
11377         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11378         the versioned libgstbase.
11379
11380         * check/Makefile.am: Depend on an unversioned gst-register, seems
11381         to make autoconf happier.
11382
11383         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11384
11385 2005-03-28  Wim Taymans  <wim@fluendo.com>
11386
11387         * configure.ac:
11388         * docs/design/part-gstelement.txt:
11389         * docs/design/part-negotiation.txt:
11390         * docs/design/part-preroll.txt:
11391         * docs/design/part-scheduling.txt:
11392         * docs/design/part-states.txt:
11393         * gst/Makefile.am:
11394         * gst/base/Makefile.am:
11395         * gst/base/README:
11396         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11397         (gst_basesink_base_init), (gst_basesink_class_init),
11398         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11399         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11400         (gst_basesink_set_pad_functions),
11401         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11402         (gst_basesink_set_property), (gst_basesink_get_property),
11403         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11404         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11405         (gst_basesink_preroll_queue_push),
11406         (gst_basesink_preroll_queue_empty),
11407         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11408         (gst_basesink_event), (gst_basesink_get_times),
11409         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11410         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11411         (gst_basesink_loop), (gst_basesink_activate),
11412         (gst_basesink_change_state):
11413         * gst/base/gstbasesink.h:
11414         * gst/elements/Makefile.am:
11415         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11416         (gst_fakesink_class_init), (gst_fakesink_init),
11417         (gst_fakesink_set_property), (gst_fakesink_get_property),
11418         (gst_fakesink_get_times), (gst_fakesink_event),
11419         (gst_fakesink_preroll), (gst_fakesink_render),
11420         (gst_fakesink_change_state):
11421         * gst/elements/gstfakesink.h:
11422         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11423         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11424         * gst/gstelement.c: (gst_element_add_pad),
11425         (gst_element_get_state_func), (gst_element_abort_state),
11426         (gst_element_commit_state), (gst_element_lost_state),
11427         (gst_element_set_state), (gst_element_pads_activate):
11428         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11429         * gst/gstpipeline.c: (gst_pipeline_send_event),
11430         (gst_pipeline_change_state):
11431         Added state change code.
11432         Added/updated docs.
11433         Added sink base class, make fakesink extend the base class.
11434         Small cleanups in GstPipeline.
11435
11436 2005-03-26  David Schleef  <ds@schleef.org>
11437
11438         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11439         is broken and should be implemented in a different library.
11440         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11441         * gst/gst.h: remove gstcpu.h
11442         * gst/gstcpu.c: remove
11443         * gst/gstcpu.h: remove
11444         * gst/Makefile.am.future: Remove this file.  It's ancient.
11445
11446 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11447
11448         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11449         (gst_bin_send_event):
11450           Add default event/set_manager handlers. The set_manager handler
11451           takes care that the manager is distributed over kids that were
11452           already in the bin before the manager was set. The event handler
11453           is a utility virtual function that sends the event over all sinks,
11454           so that gst_element_send_event (bin, event); has the expected
11455           behaviour.
11456         * gst/gstpad.c: (gst_pad_event_default):
11457           Re-install default event handling for discontinuities, so that
11458           seeking works without requiring hacks in applications or extra
11459           code in sinks.
11460         * gst/gstpipeline.c: (gst_pipeline_class_init),
11461         (gst_pipeline_send_event):
11462           Half hack, half utility: set a pipeline to PAUSED for seek events,
11463           since that is the only way we can guarantee a/v sync. Means that
11464           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11465           and it "just works".
11466
11467 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11468
11469         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11470           Lock/unlock mismatch.
11471
11472 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11473
11474         * docs/faq/gst-uninstalled:
11475           add gst-plugins-base
11476         * docs/gst/Makefile.am:
11477           don't error out until docs are fixed
11478         * docs/gst/gstreamer.types:
11479           remove thread
11480
11481 2005-03-22  Wim Taymans  <wim@fluendo.com>
11482
11483         * check/Makefile.am:
11484         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11485         * gst/gststructure.c: (gst_structure_set_valist),
11486         (gst_structure_copy_conditional):
11487         Activated more tests.
11488         Added message test.
11489         Added G_TYPE_POINTER to GstStructure.
11490         
11491
11492 2005-03-22  Wim Taymans  <wim@fluendo.com>
11493
11494         * docs/design/part-TODO.txt:
11495         * docs/design/part-events.txt:
11496         * docs/design/part-gstbin.txt:
11497         * docs/design/part-gstbus.txt:
11498         * docs/design/part-gstpipeline.txt:
11499         * docs/design/part-messages.txt:
11500         * gst/gstbus.c:
11501         * gst/gstmessage.c:
11502         Docs updates
11503
11504 2005-03-21  Wim Taymans  <wim@fluendo.com>
11505
11506         * gst/gstbus.c: (gst_bus_post):
11507         Fix copy-and-paste error.
11508
11509 2005-03-21  Wim Taymans  <wim@fluendo.com>
11510
11511         * check/Makefile.am:
11512         * gst/Makefile.am:
11513         * gst/elements/Makefile.am:
11514         * gst/elements/gstelements.c:
11515         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11516         (gst_fakesink_event), (gst_fakesink_chain):
11517         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11518         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11519         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11520         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11521         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11522         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11523         (gst_fakesrc_loop), (gst_fakesrc_activate),
11524         (gst_fakesrc_change_state):
11525         * gst/elements/gstfakesrc.h:
11526         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11527         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11528         (gst_filesrc_open_file), (gst_filesrc_loop),
11529         (gst_filesrc_activate), (gst_filesrc_change_state),
11530         (filesrc_find_peek), (filesrc_find_suggest),
11531         (gst_filesrc_type_find):
11532         * gst/elements/gstidentity.c: (gst_identity_finalize),
11533         (gst_identity_class_init), (gst_identity_init),
11534         (gst_identity_proxy_getcaps), (identity_queue_push),
11535         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11536         (gst_identity_getrange), (gst_identity_chain),
11537         (gst_identity_sink_loop), (gst_identity_src_loop),
11538         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11539         (gst_identity_set_property), (gst_identity_get_property),
11540         (gst_identity_change_state):
11541         * gst/elements/gstidentity.h:
11542         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11543         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11544         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11545         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11546         (gst_tee_sink_activate):
11547         * gst/elements/gsttee.h:
11548         * gst/gst.c: (gst_register_core_elements), (init_post):
11549         * gst/gst.h:
11550         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11551         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11552         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11553         (gst_bin_change_state):
11554         * gst/gstbin.h:
11555         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11556         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11557         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11558         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11559         (gst_bus_set_sync_handler), (gst_bus_create_watch),
11560         (bus_watch_callback), (bus_watch_destroy),
11561         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11562         (poll_timeout), (gst_bus_poll):
11563         * gst/gstbus.h:
11564         * gst/gstcaps.h:
11565         * gst/gstdata.h:
11566         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11567         (gst_element_post_message), (gst_element_message_full),
11568         (gst_element_get_state_func), (gst_element_get_state),
11569         (gst_element_abort_state), (gst_element_commit_state),
11570         (gst_element_lost_state), (gst_element_set_state),
11571         (gst_element_pads_activate), (gst_element_change_state),
11572         (gst_element_dispose), (gst_element_set_manager_func),
11573         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11574         (gst_element_set_manager), (gst_element_get_manager),
11575         (gst_element_set_bus), (gst_element_get_bus),
11576         (gst_element_set_scheduler), (gst_element_get_scheduler):
11577         * gst/gstelement.h:
11578         * gst/gstevent.c: (gst_event_new_segment_seek),
11579         (gst_event_new_flush):
11580         * gst/gstevent.h:
11581         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11582         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11583         (gst_message_new_eos), (gst_message_new_error),
11584         (gst_message_new_warning), (gst_message_new_tag),
11585         (gst_message_new_state_changed), (gst_message_new_application),
11586         (gst_message_get_structure), (gst_message_parse_tag),
11587         (gst_message_parse_state_changed), (gst_message_parse_error),
11588         (gst_message_parse_warning):
11589         * gst/gstmessage.h:
11590         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11591         (gst_real_pad_set_property), (gst_pad_set_active),
11592         (gst_pad_is_active), (gst_pad_set_blocked_async),
11593         (gst_pad_set_blocked), (gst_pad_is_blocked),
11594         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11595         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11596         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11597         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11598         (gst_pad_link_filtered), (gst_pad_relink_filtered),
11599         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11600         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11601         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11602         (gst_pad_set_caps), (gst_pad_configure_sink),
11603         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11604         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11605         (gst_real_pad_dispose), (gst_real_pad_finalize),
11606         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11607         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11608         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11609         * gst/gstpad.h:
11610         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11611         (pipeline_bus_handler), (gst_pipeline_change_state),
11612         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11613         * gst/gstpipeline.h:
11614         * gst/gstprobe.h:
11615         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11616         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11617         (gst_queue_link_src), (gst_queue_bufferalloc),
11618         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11619         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11620         (gst_queue_loop), (gst_queue_handle_src_event),
11621         (gst_queue_handle_src_query), (gst_queue_src_activate),
11622         (gst_queue_change_state):
11623         * gst/gstqueue.h:
11624         * gst/gstscheduler.c: (gst_scheduler_init),
11625         (gst_scheduler_dispose), (gst_scheduler_create_task),
11626         (gst_scheduler_factory_create):
11627         * gst/gstscheduler.h:
11628         * gst/gststructure.c: (gst_structure_get_type),
11629         (gst_structure_copy_conditional):
11630         * gst/gststructure.h:
11631         * gst/gsttaginterface.h:
11632         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11633         (gst_task_init), (gst_task_dispose), (gst_task_create),
11634         (gst_task_get_state), (gst_task_start), (gst_task_stop),
11635         (gst_task_pause):
11636         * gst/gsttask.h:
11637         * gst/gstthread.c:
11638         * gst/gstthread.h:
11639         * gst/gsttypes.h:
11640         * gst/schedulers/Makefile.am:
11641         * gst/schedulers/cothreads_compat.h:
11642         * gst/schedulers/entryscheduler.c:
11643         * gst/schedulers/faircothreads.c:
11644         * gst/schedulers/faircothreads.h:
11645         * gst/schedulers/fairscheduler.c:
11646         * gst/schedulers/gstbasicscheduler.c:
11647         * gst/schedulers/gstoptimalscheduler.c:
11648         * gst/schedulers/gthread-cothreads.h:
11649         * gst/schedulers/threadscheduler.c:
11650         (gst_thread_scheduler_task_get_type),
11651         (gst_thread_scheduler_task_class_init),
11652         (gst_thread_scheduler_task_init),
11653         (gst_thread_scheduler_task_start),
11654         (gst_thread_scheduler_task_stop),
11655         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11656         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11657         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11658         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11659         (plugin_init):
11660         * libs/gst/Makefile.am:
11661         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11662         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11663         (gst_file_pad_parent_set):
11664         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11665         (gst_dp_event_from_packet):
11666         * tests/complexity.c: (main):
11667         * tests/mass_elements.c: (main):
11668         * testsuite/states/locked.c: (message_received), (main):
11669         * testsuite/states/parent.c: (main):
11670         * tools/gst-inspect.c: (print_element_flag_info),
11671         (print_implementation_info), (print_pad_info):
11672         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11673         (main):
11674         * tools/gst-md5sum.c: (event_loop), (main):
11675         * tools/gst-typefind.c: (main):
11676         * tools/gst-xmlinspect.c: (print_element_info):
11677         Next big merge.
11678         Added GstBus for mainloop integration.
11679         Added GstMessage for sending notifications on the bus.
11680         Added GstTask as an abstraction for pipeline entry points.
11681         Removed GstThread.
11682         Removed Schedulers.
11683         Simplified GstQueue for multithreaded core.
11684         Made _link threadsafe, removed old capsnego.
11685         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11686         Added pad blocking functions.
11687         Reworked scheduling functions in GstPad to prepare for
11688         scheduling updates soon.
11689         Moved events out of data stream.
11690         Simplified GstEvent types.
11691         Added return values to push/pull.
11692         Removed clocking from GstElement.
11693         Added prototypes for state change function for next merge.
11694         Removed iterate from bins and state change management.
11695         Fixed some elements, disabled others for now.
11696         Fixed -inspect and -launch.
11697         Added check for GstBus.
11698
11699 2005-03-10  Wim Taymans  <wim@fluendo.com>
11700
11701         * docs/design/part-MT-refcounting.txt:
11702         * docs/design/part-clocks.txt:
11703         * docs/design/part-gstelement.txt:
11704         * docs/design/part-gstobject.txt:
11705         * docs/design/part-standards.txt:
11706         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11707         (gst_bin_remove_func), (gst_bin_remove):
11708         * gst/gstbin.h:
11709         * gst/gstbuffer.c:
11710         * gst/gstcaps.h:
11711         * testsuite/clock/clock1.c: (main):
11712         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11713         (main):
11714         * testsuite/dlopen/loadgst.c: (do_test):
11715         * testsuite/refcounting/bin.c: (add_remove_test1),
11716         (add_remove_test2), (main):
11717         * testsuite/refcounting/element.c: (main):
11718         * testsuite/refcounting/element_pad.c: (main):
11719         * testsuite/refcounting/pad.c: (main):
11720         * tools/gst-launch.c: (sigint_handler_sighandler):
11721         * tools/gst-typefind.c: (main):
11722         Doc updates.
11723         Added doc about clock.
11724         removed gst_bin_iterate_recurse_up(), marked methods
11725         for removal.
11726         Fix more testsuites.
11727
11728 2005-03-09  Wim Taymans  <wim@fluendo.com>
11729
11730         * gst/gstpad.c: (gst_pad_get_direction),
11731         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11732         (gst_pad_collect_valist):
11733         * testsuite/bins/interface.c: (main):
11734         * testsuite/caps/audioscale.c: (test_caps):
11735         * testsuite/caps/caps.c: (test1), (test2), (test3):
11736         * testsuite/caps/deserialize.c: (main):
11737         * testsuite/caps/enumcaps.c: (main):
11738         * testsuite/caps/filtercaps.c: (main):
11739         * testsuite/caps/intersect2.c: (main):
11740         * testsuite/caps/random.c: (main):
11741         * testsuite/caps/renegotiate.c: (my_fixate), (main):
11742         * testsuite/caps/sets.c: (check_caps):
11743         * testsuite/caps/simplify.c: (check_caps), (main):
11744         * testsuite/caps/subtract.c: (check_caps):
11745         Fix _pad_get_direction wrt ghostpads.
11746         Fix caps testsuite.
11747
11748 2005-03-09  Wim Taymans  <wim@fluendo.com>
11749
11750         * check/Makefile.am:
11751         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11752         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11753         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11754         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11755         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11756         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11757         (gst_bin_remove), (gst_bin_iterate_recurse_up),
11758         (bin_element_is_sink), (gst_bin_iterate_sinks),
11759         (gst_bin_iterate_all_by_interface):
11760         * gst/gstbin.h:
11761         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11762         (gst_element_change_state), (gst_element_dispose),
11763         (gst_element_finalize), (gst_element_set_loop_function):
11764         * gst/gstelement.h:
11765         * gst/gstiterator.c: (find_custom_fold_func):
11766         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11767         (gst_pad_collectv), (gst_pad_collect_valist),
11768         (gst_pad_template_new):
11769         * gst/gstpipeline.c: (gst_pipeline_class_init),
11770         (gst_pipeline_dispose), (gst_pipeline_set_property),
11771         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11772         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11773         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11774         * gst/gstutils.h:
11775         * gst/schedulers/entryscheduler.c:
11776         * gst/schedulers/gstbasicscheduler.c:
11777         (gst_basic_scheduler_cothreaded_chain),
11778         (gst_basic_scheduler_chain_add_element):
11779         * testsuite/bins/interface.c: (main):
11780         Added GstBin test.
11781         Added GstSystemClock test.
11782         Implemented clock distribution code in GstBin.
11783         Implemented iterate sinks method for future use.
11784         Rearranged gstelement.h
11785         Fix GstIterator comparison bug.
11786         Moved some code to GstPipeline, mostly clocking related.
11787
11788 2005-03-09  Wim Taymans  <wim@fluendo.com>
11789
11790         * configure.ac:
11791         * gst/gst_private.h:
11792         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11793         (gst_bin_remove_func), (gst_bin_remove),
11794         (gst_bin_get_by_name_recurse_up):
11795         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11796         (gst_clock_id_compare_func), (gst_clock_id_wait),
11797         (gst_clock_id_wait_async), (gst_clock_init),
11798         (gst_clock_adjust_unlocked), (gst_clock_get_time):
11799         * gst/gstelement.h:
11800         * gst/gstinfo.c: (_gst_debug_init):
11801         * gst/gstobject.h:
11802         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11803         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11804         * gst/gstpad.h:
11805         Bump version number, we're now 0.9.0
11806         Add future debugging category.
11807         Fix NULL _unref() in _get_by_name_recurse_up
11808         Rearrange gstpad.h.
11809         Update some docs.
11810
11811 2005-03-08  Wim Taymans  <wim@fluendo.com>
11812
11813         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11814         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11815         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11816         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11817         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11818         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11819         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11820         * gst/elements/gstidentity.c: (gst_identity_class_init):
11821         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11822         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11823         * gst/elements/gstshaper.c: (gst_shaper_class_init):
11824         * gst/elements/gststatistics.c: (gst_statistics_class_init):
11825         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11826         (gst_tee_link):
11827         * gst/gstelement.c: (gst_element_class_init),
11828         (gst_element_base_class_init), (gst_element_init),
11829         (gst_element_get_random_pad), (gst_element_wait_state_change),
11830         (gst_element_change_state), (gst_element_dispose),
11831         (gst_element_finalize), (gst_element_set_loop_function):
11832         * gst/gstelement.h:
11833         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11834         * gst/gstthread.c: (gst_thread_class_init),
11835         (gst_thread_release_children_locks), (gst_thread_change_state):
11836         * gst/schedulers/gstbasicscheduler.c:
11837         (gst_basic_scheduler_loopfunc_wrapper),
11838         (gst_basic_scheduler_chain_wrapper),
11839         (gst_basic_scheduler_src_wrapper),
11840         (gst_basic_scheduler_remove_element):
11841         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11842         Remove threadsafe properties. Fix elements because GObject
11843         complains when installing a property before declaring a
11844         set/get_property handler.
11845         Rearrange gstelement.h file, use STATE macros for state locks.
11846         Free mutexes in the finalize method instead of dispose.
11847
11848 2005-03-08  Wim Taymans  <wim@fluendo.com>
11849
11850         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11851         * gst/gstthread.c: (gst_thread_release_children_locks):
11852         Added parentage check.
11853         Fix build og GstThread again.
11854
11855 2005-03-08  Wim Taymans  <wim@fluendo.com>
11856
11857         * docs/design/part-MT-refcounting.txt:
11858         * docs/design/part-conventions.txt:
11859         * docs/design/part-gstobject.txt:
11860         * docs/design/part-relations.txt:
11861         * docs/design/part-standards.txt:
11862         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11863         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11864         (gst_bin_get_by_name), (gst_bin_get_by_interface),
11865         (gst_bin_iterate_all_by_interface):
11866         * gst/gstbuffer.h:
11867         * gst/gstclock.h:
11868         * gst/gstelement.c: (gst_element_class_init),
11869         (gst_element_change_state), (gst_element_set_loop_function):
11870         * gst/gstelement.h:
11871         * gst/gstiterator.c:
11872         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11873         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11874         (gst_object_dispatch_properties_changed), (gst_object_set_name),
11875         (gst_object_set_parent), (gst_object_unparent),
11876         (gst_object_check_uniqueness):
11877         * gst/gstobject.h:
11878         Docs updates, clean up some headers.
11879
11880 2005-03-07  Wim Taymans  <wim@fluendo.com>
11881
11882         * check/.cvsignore:
11883         * check/Makefile.am:
11884         * check/gst-libs/.cvsignore:
11885         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11886         * check/gst/.cvsignore:
11887         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11888         (START_TEST), (gstbus_suite), (main):
11889         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11890         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11891         (gst_data_suite), (main):
11892         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11893         (add_fold_func), (gstiterator_suite), (main):
11894         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11895         (thread_name_object), (thread_name_object_default),
11896         (gst_object_name_compare), (gst_object_suite), (main):
11897         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11898         (gst_pad_suite), (main):
11899         * check/gstcheck.c: (gst_check_log_message_func),
11900         (gst_check_log_critical_func), (gst_check_init):
11901         * check/gstcheck.h:
11902         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11903         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11904         Added checks.
11905
11906 2005-03-07  Wim Taymans  <wim@fluendo.com>
11907
11908         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11909         (gst_list_iterator_next), (gst_list_iterator_resync),
11910         (gst_list_iterator_free), (gst_iterator_new_list),
11911         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11912         (gst_iterator_free), (gst_iterator_push), (filter_next),
11913         (filter_resync), (filter_uninit), (filter_free),
11914         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11915         (gst_iterator_foreach), (find_custom_fold_func),
11916         (gst_iterator_find_custom):
11917         * gst/gstiterator.h:
11918         Added missing files.
11919
11920 2005-03-07  Wim Taymans  <wim@fluendo.com>
11921
11922         * Makefile.am:
11923         * configure.ac:
11924         * docs/design/part-MT-refcounting.txt:
11925         * docs/design/part-conventions.txt:
11926         * docs/design/part-gstobject.txt:
11927         * docs/design/part-relations.txt:
11928         * examples/mixer/mixer.c: (main):
11929         * examples/thread/thread.c: (eos), (main):
11930         * gst/Makefile.am:
11931         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11932         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11933         (gst_spider_plug_from_srcpad):
11934         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11935         (gst_spider_identity_change_state),
11936         (gst_spider_identity_sink_loop_type_finding):
11937         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11938         * gst/elements/gstidentity.c: (gst_identity_init):
11939         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11940         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11941         * gst/elements/gsttypefindelement.c: (free_entry):
11942         * gst/gst.c:
11943         * gst/gst.h:
11944         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11945         (gst_bin_set_clock_func), (gst_bin_auto_clock),
11946         (gst_bin_set_index), (gst_bin_set_element_sched),
11947         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11948         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11949         (gst_bin_iterate_elements), (iterate_child_recurse),
11950         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11951         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11952         (compare_interface), (gst_bin_get_by_interface),
11953         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11954         * gst/gstbin.h:
11955         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11956         (gst_buffer_default_free), (gst_buffer_default_copy),
11957         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11958         (gst_buffer_create_sub):
11959         * gst/gstbuffer.h:
11960         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11961         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11962         (gst_caps_unref), (gst_static_caps_get),
11963         (gst_caps_remove_and_get_structure), (gst_caps_append),
11964         (gst_caps_append_structure), (gst_caps_remove_structure),
11965         (gst_caps_copy_nth), (gst_caps_set_simple),
11966         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11967         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11968         (gst_caps_structure_intersect_field), (gst_caps_intersect),
11969         (gst_caps_structure_subtract_field), (gst_caps_subtract),
11970         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11971         (gst_caps_structure_figure_out_union),
11972         (gst_caps_switch_structures), (gst_caps_do_simplify),
11973         (gst_caps_replace), (gst_caps_from_string),
11974         (gst_caps_copy_conditional):
11975         * gst/gstcaps.h:
11976         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11977         (_gst_clock_id_free), (gst_clock_id_unref),
11978         (gst_clock_id_compare_func), (gst_clock_id_wait),
11979         (gst_clock_id_wait_async), (gst_clock_class_init),
11980         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11981         (gst_clock_get_time), (gst_clock_set_time_adjust),
11982         (gst_clock_set_property), (gst_clock_get_property):
11983         * gst/gstclock.h:
11984         * gst/gstcompat.h:
11985         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11986         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11987         * gst/gstdata.h:
11988         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11989         (gst_element_requires_clock), (gst_element_provides_clock),
11990         (gst_element_set_clock), (gst_element_clock_wait),
11991         (gst_element_wait), (gst_element_set_time_delay),
11992         (gst_element_is_indexable), (gst_element_add_pad),
11993         (gst_element_add_ghost_pad), (gst_element_remove_pad),
11994         (pad_compare_name), (gst_element_get_static_pad),
11995         (gst_element_request_pad), (gst_element_get_request_pad),
11996         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11997         (gst_element_class_get_pad_template_list),
11998         (gst_element_class_get_pad_template), (gst_element_error_func),
11999         (gst_element_get_random_pad), (gst_element_get_event_masks),
12000         (gst_element_send_event), (gst_element_seek),
12001         (gst_element_get_query_types), (gst_element_query),
12002         (gst_element_get_formats), (gst_element_convert),
12003         (gst_element_is_locked_state), (gst_element_set_locked_state),
12004         (gst_element_sync_state_with_parent), (gst_element_change_state),
12005         (gst_element_finalize), (gst_element_yield),
12006         (gst_element_interrupt), (gst_element_set_scheduler),
12007         (gst_element_get_scheduler), (gst_element_set_loop_function):
12008         * gst/gstelement.h:
12009         * gst/gstevent.h:
12010         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12011         (gst_format_get_by_nick), (gst_format_get_details),
12012         (gst_format_iterate_definitions):
12013         * gst/gstformat.h:
12014         * gst/gstindex.c: (gst_index_gtype_resolver):
12015         * gst/gstinfo.c:
12016         * gst/gstinfo.h:
12017         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12018         (gst_mem_chunk_free):
12019         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12020         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12021         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12022         (gst_object_dispatch_properties_changed),
12023         (gst_object_set_name_default), (gst_object_set_name),
12024         (gst_object_get_name), (gst_object_set_name_prefix),
12025         (gst_object_get_name_prefix), (gst_object_set_parent),
12026         (gst_object_get_parent), (gst_object_unparent),
12027         (gst_object_check_uniqueness), (gst_object_save_thyself),
12028         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12029         (gst_object_set_property), (gst_object_get_property),
12030         (gst_object_get_path_string):
12031         * gst/gstobject.h:
12032         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12033         (gst_real_pad_init), (gst_real_pad_get_property),
12034         (gst_pad_custom_new), (gst_pad_get_direction),
12035         (gst_pad_set_active), (gst_pad_is_active),
12036         (gst_pad_set_event_function), (gst_pad_is_linked),
12037         (gst_pad_link_free), (gst_pad_link_intersect),
12038         (gst_pad_link_fixate), (gst_pad_set_caps),
12039         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12040         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12041         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12042         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12043         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12044         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12045         (gst_pad_realize), (gst_pad_get_allowed_caps),
12046         (gst_real_pad_dispose), (gst_real_pad_finalize),
12047         (gst_pad_collectv), (gst_pad_collect_valist),
12048         (gst_pad_template_dispose), (gst_pad_template_new),
12049         (gst_pad_get_internal_links):
12050         * gst/gstpad.h:
12051         * gst/gstpipeline.c: (gst_pipeline_dispose),
12052         (gst_pipeline_change_state):
12053         * gst/gstpipeline.h:
12054         * gst/gstplugin.c:
12055         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12056         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12057         * gst/gstpluginfeature.h:
12058         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12059         * gst/gstquery.c: (_gst_query_type_initialize),
12060         (gst_query_type_register), (gst_query_type_get_by_nick),
12061         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12062         * gst/gstquery.h:
12063         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12064         * gst/gstscheduler.c: (gst_scheduler_add_element),
12065         (gst_scheduler_factory_create):
12066         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12067         (gst_structure_free), (gst_structure_set_name),
12068         (gst_structure_id_set_value), (gst_structure_set_value),
12069         (gst_structure_set_valist), (gst_structure_remove_field),
12070         (gst_structure_remove_fields),
12071         (gst_structure_remove_fields_valist),
12072         (gst_structure_remove_all_fields), (gst_structure_foreach),
12073         (gst_structure_map_in_place),
12074         (gst_caps_structure_fixate_field_nearest_int),
12075         (gst_caps_structure_fixate_field_nearest_double):
12076         * gst/gststructure.h:
12077         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12078         (gst_system_clock_init), (gst_system_clock_dispose),
12079         (gst_system_clock_async_thread),
12080         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12081         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12082         * gst/gstsystemclock.h:
12083         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12084         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12085         * gst/gsttaginterface.c:
12086         * gst/gstthread.c: (gst_thread_dispose),
12087         (gst_thread_release_children_locks), (gst_thread_change_state),
12088         (gst_thread_main_loop):
12089         * gst/gsttrashstack.h:
12090         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12091         * gst/gsttypes.h:
12092         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12093         (gst_element_request_pad), (gst_element_get_pad_from_template),
12094         (gst_element_request_compatible_pad),
12095         (gst_element_get_compatible_pad_filtered),
12096         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12097         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12098         (gst_element_link_many), (gst_element_link),
12099         (gst_element_link_pads), (gst_element_unlink_pads),
12100         (gst_element_unlink_many), (gst_element_unlink),
12101         (gst_pad_can_link_filtered), (gst_pad_can_link),
12102         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12103         (gst_object_default_error), (gst_bin_add_many),
12104         (gst_bin_remove_many), (gst_element_populate_std_props),
12105         (gst_element_class_install_std_props), (gst_buffer_merge),
12106         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12107         (link_fold_func), (gst_pad_proxy_setcaps):
12108         * gst/gstutils.h:
12109         * gst/gstvalue.c: (gst_value_deserialize_string):
12110         * gst/parse/grammar.y:
12111         * gst/schedulers/gstbasicscheduler.c:
12112         (gst_basic_scheduler_cothreaded_chain),
12113         (gst_basic_scheduler_chain_recursive_add),
12114         (gst_basic_scheduler_pad_link):
12115         * gst/schedulers/gstoptimalscheduler.c:
12116         (get_group_schedule_function),
12117         (gst_opt_scheduler_state_transition),
12118         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12119         * libs/gst/bytestream/bytestream.c:
12120         * libs/gst/dataprotocol/dataprotocol.c:
12121         (gst_dp_header_from_buffer):
12122         * po/nb.po:
12123         * po/ru.po:
12124         * tests/threadstate/threadstate2.c: (eos):
12125         * tools/gst-compprep.c: (main):
12126         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12127         (print_pad_info), (print_children_info):
12128         * tools/gst-launch.c: (idle_func), (main):
12129         * tools/gst-md5sum.c: (idle_func), (main):
12130         * tools/gst-xmlinspect.c: (print_element_info):
12131         First THREADED backport attempt, focusing on adding locks and
12132         making sure the API is threadsafe. Needs more work. More docs
12133         follow this week.
12134
12135 2005-02-24  Andy Wingo  <wingo@pobox.com>
12136
12137         * tests/bench-complexity.scm:
12138         * tests/complexity.gnuplot: New files, good for running complexity
12139         benchmarks.
12140
12141         * tests/Makefile.am:
12142         * tests/complexity.c: New test, sets up N elements, at each level
12143         teeing into M streams per element. Eeeenteresting.
12144
12145         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12146         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12147         running bench-mass_elements.scm.
12148
12149         * tests/bench-mass_elements.scm: New script, runs mass_elements
12150         for various numbers of identities, outputting the results to a
12151         file. Requires guile 1.6. Just for testing.
12152
12153 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12154
12155         * gst/schedulers/fairscheduler.c:
12156           compile with debug disabled
12157
12158 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12159
12160         * configure.ac:
12161           hunting season on 0.9 is now OPEN