5e72ee9efa0fc141eeb9ada8daa39466509a1e0c
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
2
3         * gst/gstinfo.h:
4           do not crash on pad==NULL
5
6 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7
8         Patch by: Stefan Kost
9
10         * common/gtk-doc.mak:
11         * docs/gst/Makefile.am:
12         * docs/libs/Makefile.am:
13           Fix distcheck issues for the libraries docs build
14           Closes #319599.
15
16 2005-11-24  Michael Smith <msmith@fluendo.com>
17
18         * docs/manual/basics-helloworld.xml:
19           Fix bug #315027: memory leak in example code in docs.
20
21 2005-11-24  Michael Smith <msmith@fluendo.com>
22
23         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24           Unlock the PREROLL_LOCK in a failure case.
25
26 2005-11-24  Wim Taymans  <wim@fluendo.com>
27
28         * docs/gst/gstreamer-sections.txt:
29         * gst/base/gstadapter.h:
30         * gst/base/gstbasesink.h:
31         * gst/base/gstbasesrc.h:
32         * gst/base/gstbasetransform.h:
33         * gst/base/gstpushsrc.h:
34         * gst/elements/gstfakesink.h:
35         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
36         * gst/elements/gstfakesrc.h:
37         * gst/elements/gstfilesink.h:
38         * gst/elements/gstfilesrc.h:
39         * gst/gst.c:
40         * gst/gstbin.c:
41         * gst/gstbuffer.c: (_gst_buffer_copy):
42         * gst/gstbus.h:
43         * gst/gstcaps.c:
44         * gst/gstchildproxy.c:
45         * gst/gstclock.c:
46         * gst/gstelement.c:
47         * gst/gstelementfactory.c:
48         * gst/gstelementfactory.h:
49         * gst/gstevent.c:
50         * gst/gstghostpad.h:
51         * gst/gstindex.h:
52         * gst/gstinterface.h:
53         * gst/gstminiobject.c:
54         * gst/gstminiobject.h:
55         * gst/gstpad.c:
56         * gst/gstpad.h:
57         * gst/gstpadtemplate.h:
58         * gst/gstpipeline.h:
59         * gst/gstpluginfeature.h:
60         * gst/gstquery.h:
61         * gst/gstqueue.h:
62         * gst/gsttaglist.c:
63         * gst/gsttaglist.h:
64         * gst/gsttagsetter.c:
65         * gst/gsttagsetter.h:
66         * gst/gsttrace.c:
67         * gst/gsttrace.h:
68         * gst/gsttypefind.h:
69         * gst/gsturi.h:
70         * gst/gstvalue.c:
71         * gst/net/gstnetclientclock.c:
72         * gst/net/gstnetclientclock.h:
73         * gst/net/gstnettimepacket.c:
74         * gst/net/gstnettimeprovider.c:
75         * gst/net/gstnettimeprovider.h:
76         Doc fixes.
77
78 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
79
80         * configure.ac: back to HEAD
81
82 === release 0.9.6 ===
83
84 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
85
86         * configure.ac:
87           releasing 0.9.6, "Always On Time"
88
89 2005-11-23  Wim Taymans  <wim@fluendo.com>
90
91         * docs/gst/gstreamer-sections.txt:
92         * gst/glib-compat.c:
93         * gst/gsttagsetter.c:
94         * gst/gstvalue.c:
95         * gst/net/gstnetclientclock.c:
96         * gst/net/gstnettimepacket.h:
97         Doc updates.
98
99 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
100
101         * docs/faq/using.xml:
102         * docs/libs/tmpl/gstcontrol.sgml:
103         * docs/manual/advanced-dparams.xml:
104         * docs/manual/appendix-checklist.xml:
105         * docs/manual/basics-elements.xml:
106         * docs/pwg/other-source.xml:
107         * docs/random/moving-plugins:
108         * gst/gstpad.c:
109         * tools/gst-launch.1.in:
110           remove mentions of sinesrc
111
112 2005-11-23  Michael Smith <msmith@fluendo.com>
113
114         * docs/gst/gstreamer-sections.txt:
115           Update for new API and API changes.
116         * gst/gstobject.h:
117           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
118         * gst/gstvalue.c:
119           Documentation typo fix.
120         * gst/net/gstnettimepacket.c:
121           Documentation fixes for arguments.
122
123 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
124
125         * gst/gststructure.c: (gst_structure_get_fraction),
126         (gst_structure_parse_value),
127         (gst_structure_fixate_field_nearest_fraction):
128         * gst/gststructure.h:
129         * gst/gstutils.c: (gst_util_uint64_scale_int):
130         * gst/gstutils.h:
131         * scripts/update-funcnames:
132         API Changes. 
133         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
134         Make gst_structure_fixate_field_nearest_fraction take a numerator
135         and denominator argument instead of a GValue
136         add gst_structure_get_fraction helper function.
137
138 2005-11-23  Wim Taymans  <wim@fluendo.com>
139
140         * docs/design/part-TODO.txt:
141         Update TODO.
142
143         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
144         * gst/net/gstnetclientclock.h:
145         Use parent fields for timeout and window_size.
146
147 2005-11-23  Andy Wingo  <wingo@pobox.com>
148
149         * check/net/gstnetclientclock.c (test_functioning): Adjust to
150         rate_num/rate_denom change.
151
152         * gst/net/gstnetclientclock.c
153         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
154         OBJECT_LOCK. Don't call add_observation with the lock.
155
156         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
157         fraction.
158         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
159         rate fraction.
160         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
161         deal with rate as a fraction whose numerator and denominator are
162         GstClockTime values.
163         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
164         master; the other fields are protected by the SLAVE_LOCK.
165         (do_linear_regression): Note that this must be called with the
166         SLAVE_LOCK.
167         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
168         OBJECT_LOCK. Call set_calibration instead of touching the
169         variables directly.
170         (gst_clock_set_property, gst_clock_get_property): Protect
171         master/slave parameters with the SLAVE_LOCK.
172
173         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
174         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
175         note that all of the instance variables that add_observation and
176         the set_master functions use are protected by that lock and not
177         the OBJECT_LOCK.
178         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
179
180         * gst/gstclock.c (gst_clock_add_observation): No longer requires
181         the caller to take the object lock.
182
183 2005-11-23  Wim Taymans  <wim@fluendo.com>
184
185         * gst/gsterror.c: (_gst_core_errors_init):
186         * gst/gsterror.h:
187         Add error for clock stuff.
188
189         * gst/gstpipeline.c: (gst_pipeline_change_state),
190         (gst_pipeline_set_clock):
191         Post clock error when clock cannot be used in a pipeline.
192
193 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
194
195         * docs/gst/gstreamer-sections.txt:
196           make two symbols from gstinfo private for the docs
197         * gst/base/gstcollectpads.h:
198         * gst/gstutils.c:
199           fix doc typos, update docs
200
201 2005-11-22  Wim Taymans  <wim@fluendo.com>
202
203         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
204         (gst_base_sink_wait), (gst_base_sink_do_sync),
205         (gst_base_sink_handle_event):
206         * gst/base/gstbasesink.h:
207         No need to store the clock, the parent element class already
208         has it.
209
210         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
211         Updates for clock_set returning a gboolean
212
213         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
214         (gst_clock_id_wait_async), (gst_clock_class_init),
215         (gst_clock_init), (gst_clock_finalize),
216         (gst_clock_get_internal_time), (gst_clock_get_time),
217         (gst_clock_slave_callback), (gst_clock_set_master),
218         (gst_clock_get_master), (do_linear_regression),
219         (gst_clock_add_observation), (gst_clock_set_property),
220         (gst_clock_get_property):
221         * gst/gstclock.h:
222         Implement master/slave. When setting a clock as a slave, a
223         periodic timeout is scheduled to sample master and slave times.
224         Then the slave clock is recalibrated to match offset and rate
225         of the master clock.
226         Update logging a bit.
227         Add flag so that a clock can state that is cannot be slaved to
228         another clock.
229
230         * gst/gstelement.c: (gst_element_set_clock):
231         * gst/gstelement.h:
232         The set clock returns a gboolean for when an element cannot
233         deal with the selected clock in the pipeline. 
234
235         * gst/gstpipeline.c: (gst_pipeline_change_state),
236         (gst_pipeline_set_clock):
237         * gst/gstpipeline.h:
238         Handle the case where the selected clock cannot be set on
239         the pipeline.
240
241         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
242         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
243         (gst_net_client_clock_set_property),
244         (gst_net_client_clock_get_property),
245         (gst_net_client_clock_observe_times):
246         * gst/net/gstnetclientclock.h:
247         Use regression code in GstClock parent, remove duplicated
248         functionality.
249
250 2005-11-22  Michael Smith <msmith@fluendo.com>
251
252         * gst/gstutils.c: (gst_util_clock_time_scale):
253         * gst/gstutils.h:
254         * docs/gst/gstreamer-sections.txt:
255           Rename method to have extra underscore.
256
257 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
258
259         * gst/elements/Makefile.am:
260         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
261         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
262         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
263         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
264         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
265         * gst/elements/gstfakesrc.h:
266         * gst/gstqueue.c: (queue_leaky_get_type):
267           correctly fix GEnumValues so that nick is the short lowercase
268           dashed tag
269         * tools/gst-inspect.c: (print_element_properties_info):
270           also show the nick, since it's useful to use from parse_launch
271           syntax
272           Fixes #322139
273
274 2005-11-22  Michael Smith <msmith@fluendo.com>
275
276         * gst/gstutils.c: (gst_util_clocktime_scale):
277         * gst/gstutils.h:
278         * docs/gst/gstreamer-sections.txt:
279           Add util method for scaling a clocktime by a fraction. Useful 
280           implementation is left as an exercise for the reader.
281
282 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
283
284         * gst/gstvalue.c: (gst_value_collect_fraction_range):
285         If needed, allocate storage in the destination value during
286         collection.
287
288 2005-11-22  Edward Hervey  <edward@fluendo.com>
289
290         * docs/gst/gstreamer-sections.txt:
291         * gst/Makefile.am:
292         * gst/gst.h:
293         * gst/gsturitype.c:
294         * gst/gsturitype.h:
295         * gst/gstutils.c: (gst_util_set_object_arg):
296         * tools/gst-compprep.c: (main):
297         * tools/gst-inspect.c: (print_element_properties_info):
298         Removed GstURI, closes bug #321061
299
300 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
301
302         * check/gst/gststructure.c: (GST_START_TEST):
303         * gst/gststructure.c: (gst_structure_parse_value):
304           Oops, broke automatic string type parsing.
305           Add a test to catch it in future.
306
307 2005-11-22  Andy Wingo  <wingo@pobox.com>
308
309         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
310         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
311         Actually rename the function implementations. Grr.
312
313 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
314
315         * check/gst/capslist.h:
316           Comment test cases
317         * check/gst/gststructure.c: (GST_START_TEST),
318         (gst_structure_suite):
319           Test automatic value type detection in gst_structure_from_string.
320         * gst/gststructure.c: (gst_structure_parse_value):
321           Add fraction as a type we try and guess automatically in
322           caps/structure strings.
323
324 2005-11-22  Andy Wingo  <wingo@pobox.com>
325
326         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
327
328         * gst/gsttagsetter.h:
329         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
330         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
331         (gst_tag_setter_add_tag_valist)
332         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
333         _add_values, _add_valist, and _add_valist_values. Since this is an
334         interface the function suffixes should be more explicit so
335         language binding don't end up with element.add_valist ->
336         gst_tag_setter_add_valist, for example. Fixes #322069.
337
338 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
339
340         * check/gst/gstcaps.c: (GST_START_TEST):
341           Extend caps string tests to check that a caps to string
342           conversion is reversible and produces the same caps.
343
344         * gst/gststructure.c: (gst_structure_value_get_generic_type):
345           Output "fraction" as the generic type fraction range, so caps
346           serialisation and deserialisation works.
347         * check/gst/capslist.h:
348         * gst/gstvalue.c: (gst_value_deserialize_fraction):
349           Support 'MIN' and 'MAX' for deserialising fractions.
350
351 2005-11-22  Andy Wingo  <wingo@pobox.com>
352
353         * gst/gstevent.h (gst_event_new_new_segment)
354         (gst_event_parse_new_segment, gst_event_new_buffer_size)
355         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
356         Renamed from *_newsegment, *_buffersize, *_notarget.
357
358         * scripts/update-funcnames: New script, performs the changes
359         listed above.
360
361 2005-11-22  Wim Taymans  <wim@fluendo.com>
362
363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
364         Make sure the GstFlowReturn is returned.
365
366         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
367         (gst_bus_add_signal_watch):
368         * gst/gstbus.h:
369         add gst_bus_add_signal_watch_full.
370
371         * gst/gstplugin.c: (gst_plugin_load_file):
372         Small style cleanup.
373
374 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
375
376         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
377           Block the fakesrc srcpad when we send an event, to avoid
378           contention on the stream_lock causing random test failures.
379
380 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
381
382         * check/gst/gstvalue.c: (GST_START_TEST):
383         * gst/gstvalue.c: (gst_value_fraction_subtract):
384           Fix subtraction.
385
386 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
387
388         * gst/gst.h:
389           include "gstchildproxy.h"
390         * gst/gstchildproxy.h:
391         * libs/gst/controller/gstcontroller.h:
392           use G_GNUC_NULL_TERMINATED
393
394 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
395
396         * check/gst/capslist.h:
397         * check/gst/gstcaps.c: (GST_START_TEST):
398         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
399         * gst/gststructure.c: (gst_structure_parse_range),
400         (gst_structure_fixate_field_nearest_fraction):
401         * gst/gststructure.h:
402         * gst/gstvalue.c: (gst_value_init_fraction_range),
403         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
404         (gst_value_collect_fraction_range),
405         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
406         (gst_value_set_fraction_range_full),
407         (gst_value_get_fraction_range_min),
408         (gst_value_get_fraction_range_max),
409         (gst_value_serialize_fraction_range),
410         (gst_value_transform_fraction_range_string),
411         (gst_value_compare_fraction_range),
412         (gst_value_deserialize_fraction_range),
413         (gst_value_intersect_fraction_fraction_range),
414         (gst_value_intersect_fraction_range_fraction_range),
415         (gst_value_subtract_fraction_fraction_range),
416         (gst_value_subtract_fraction_range_fraction),
417         (gst_value_subtract_fraction_range_fraction_range),
418         (gst_value_collect_fraction), (gst_value_fraction_multiply),
419         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
420         (gst_value_transform_string_fraction), (_gst_value_initialize):
421         * gst/gstvalue.h:
422           Implement fraction ranges and extend GstFraction to support
423           arithmetic subtraction, as well as deserialization from integer
424           strings such as "100"
425           Add a testsuite as for int and double range set operations
426
427 2005-11-21  Andy Wingo  <wingo@pobox.com>
428
429         * gst/gsttaglist.h: 
430         * gst/gstcaps.h: 
431         * gst/gststructure.h: Add glib-compat.h.
432
433 2005-11-21  Wim Taymans  <wim@fluendo.com>
434
435         * gst/gstbin.c: (gst_bin_change_state_func):
436         Fix for #321595
437
438 2005-11-21  Wim Taymans  <wim@fluendo.com>
439
440         * gst/gstsegment.h:
441         And add a nice define too.
442
443 2005-11-21  Wim Taymans  <wim@fluendo.com>
444
445         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
446         (gst_segment_new), (gst_segment_free), (gst_segment_init),
447         (gst_segment_set_duration), (gst_segment_set_last_stop),
448         (gst_segment_set_seek), (gst_segment_set_newsegment),
449         (gst_segment_to_stream_time), (gst_segment_to_running_time),
450         (gst_segment_clip):
451         * gst/gstsegment.h:
452         Make binding friendly.
453
454 2005-11-21  Andy Wingo  <wingo@pobox.com>
455
456         * gst/gsttagsetter.h: 
457         * gst/gsttaglist.h: 
458         * gst/gststructure.h: 
459         * gst/gstcaps.h: 
460         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
461         #319940.
462
463         * gst/gsterror.c (_gst_core_errors_init):
464         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
465         category.
466
467         * gst/Makefile.am (gst_headers): Add glib-compat.h.
468         (noinst_HEADERS): noinst the -private.
469
470 2005-11-21  Michael Smith <msmith@fluendo.com>
471
472         * gst/gstplugin.h:
473         * gst/gstregistry.h:
474           Remove unimplemented declarations for which we can see no sensible
475           use.
476
477 2005-11-21  Andy Wingo  <wingo@pobox.com>
478
479         * gst/gst.h: Include glib-compat.h.
480
481         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
482
483         * gst/glib-compat.c: Include the public and the private header.
484
485         * gst/glib-compat-private.h: Copied here from glib-compat.h.
486
487         * gst/gstvalue.c: 
488         * gst/gstpad.c: 
489         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
490
491         * check/gst/gstevent.c (create_custom_events): Check that
492         FLUSH_STOP is serialized.
493
494         * check/elements/identity.c (event_func): 
495         * check/elements/fakesrc.c (event_func): No stream lock, the core
496         takes it.
497
498         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
499         stream lock taking, yay.
500
501         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
502         ensure that core takes the stream lock.
503
504         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
505         lock name change.
506
507         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
508         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
509         it already. For the flush start we do take it though so we get the
510         right preroll state change messages.
511
512         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
513         the stream lock here, the core does it for us.
514
515         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
516         GST_STREAM_GET_LOCK.
517         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
518         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
519         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
520         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
521         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
522         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
523
524         * gst/gstpad.c: Update for stream lock name change.
525
526         * gst/base/gstbasesink.c: Update for preroll lock name change.
527
528 2005-11-21  Wim Taymans  <wim@fluendo.com>
529
530         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
531         (gst_clock_get_master):
532         * gst/gstclock.h:
533         * gst/gstsystemclock.c: (gst_system_clock_init):
534         Convert Clock flags to object flags.
535         Added methods to manage master/slave clocks.
536
537 2005-11-21  Wim Taymans  <wim@fluendo.com>
538
539         * check/gst/gstsegment.c: (GST_START_TEST):
540         * docs/design/part-TODO.txt:
541         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
542         (gst_base_sink_event), (gst_base_sink_do_sync),
543         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
544         (gst_base_sink_query), (gst_base_sink_change_state):
545         * gst/base/gstbasesink.h:
546         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
547         (gst_base_src_default_newsegment),
548         (gst_base_src_configure_segment), (gst_base_src_do_seek),
549         (gst_base_src_get_range), (gst_base_src_loop),
550         (gst_base_src_change_state):
551         * gst/base/gstbasesrc.h:
552         * gst/base/gstbasetransform.c:
553         (gst_base_transform_prepare_output_buf),
554         (gst_base_transform_event), (gst_base_transform_change_state):
555         * gst/base/gstbasetransform.h:
556         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
557         (gst_collect_pads_event):
558         * gst/base/gstcollectpads.h:
559         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
560         (gst_fake_src_create):
561         * gst/elements/gstfakesrc.h:
562         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
563         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
564         (gst_segment_set_last_stop), (gst_segment_set_seek),
565         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
566         (gst_segment_to_running_time), (gst_segment_clip):
567         * gst/gstsegment.h:
568         More segment updates, replace code in plugins with segment
569         helper functions.
570
571 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
572
573         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
574         Don't ignore sscanf results
575
576 2005-11-21  Andy Wingo  <wingo@pobox.com>
577
578         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
579
580         * *.h:
581         * *.c: Ran scripts/update-macros. Oh yes.
582
583         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
584         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
585         GST_GET_LOCK, etc.
586
587         * scripts/update-macros: New script. Run it on your files to
588         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
589         well.
590
591 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
592
593         * docs/gst/Makefile.am:
594         * docs/gst/gstreamer-docs.sgml:
595         * docs/gst/gstreamer-sections.txt:
596         * docs/gst/gstreamer.types:
597         * gst/gstinfo.h:
598           more docs fixes, add new api to the docs
599
600 2005-11-21  Andy Wingo  <wingo@pobox.com>
601
602         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
603         state_broadcast call.
604
605         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
606
607 2005-11-21  Julien MOUTTE  <julien@moutte.net>
608
609         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
610         function calls for arrays.
611
612 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
613
614         * docs/random/ensonic/media-device-daemon.txt:
615           wild idea, can this be done?
616         * docs/gst/gstreamer-sections.txt:
617         * gst/gsterror.h:
618         * gst/gstfilter.c:
619         * gst/gstfilter.h:
620         * gst/gstplugin.h:
621         * gst/gstpluginfeature.c:
622         * gst/gsttrace.c:
623         * gst/gstvalue.c:
624         * gst/gstvalue.h:
625           doc fixes and additions
626
627 2005-11-21  Andy Wingo  <wingo@pobox.com>
628
629         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
630         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
631         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
632         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
633         private to the basesrc implementation.
634
635         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
636         behalf of event function if necessary. It should no longer be
637         necessary to take the stream lock in pad's event functions. Fixes
638         #320299.
639
640 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
641         * docs/gst/gstreamer-sections.txt:
642         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
643         (gst_structure_fixate_field_nearest_double),
644         (gst_structure_fixate_field_boolean):
645         * gst/gststructure.h:
646         * win32/common/libgstreamer.def:
647         * win32/gstreamer.def:
648
649         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
650         (#322027)
651
652 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
653
654         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
655         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
656         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
657         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
658         (gst_fdsrc_uri_handler_init):
659         * gst/elements/gstfdsrc.h:
660           Port fd:// URI handler from 0.8 to fdsrc
661
662 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
663
664         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
665         (gst_value_serialize_fourcc):
666         * gst/gstvalue.h:
667           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
668           consistent with our other format defines (#320324).
669
670 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
671
672         * gst/gstvalue.c: (gst_value_is_fixed):
673           Revert previous commit. Value lists are by definition
674           not fixed, as they are a list of possible values.
675
676 2005-11-21  Andy Wingo  <wingo@pobox.com>
677
678         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
679         during the stable series if we need it. Fixes #319178.
680
681         * gst/gstevent.c (gst_event_new_filler): Removed.
682
683         * check/gst/gstevent.c: Update comment about filler events.
684
685 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
686
687         * gst/gstvalue.c: (gst_value_is_fixed):
688           Should handle both value arrays and value lists.
689
690 2005-11-21  Andy Wingo  <wingo@pobox.com>
691
692         patch by: Alessandro Dessina <alessandro nnva org>
693
694         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
695         functions to access arrays. Fixes #321962.
696
697 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
698
699         * docs/gst/gstreamer.types:
700           gst_collectpads_get_type => gst_collect_pads_get_type.
701           
702         * gst/base/gstbasetransform.c:
703           Remove unused SIGNAL_HANDOFF enum.
704
705 2005-11-21  Andy Wingo  <wingo@pobox.com>
706
707         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
708         the event type (upstream, downstream, serialized). Renamed
709         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
710         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
711         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
712
713         * gst/gstevent.c: Update for new CUSTOM event names.
714
715         * check/gst/gstevent.c: Update check for new CUSTOM event names.
716
717         * gst/gstevent.h:
718         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
719         bug #319392.
720
721 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
722
723         * docs/gst/gstreamer-sections.txt:
724         * win32/common/libgstbase.def:
725         * win32/libgstbase.def:
726         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
727         (gst_collect_pads_class_init), (gst_collect_pads_init),
728         (gst_collect_pads_finalize), (gst_collect_pads_new),
729         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
730         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
731         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
732         (gst_collect_pads_start), (gst_collect_pads_stop),
733         (gst_collect_pads_peek), (gst_collect_pads_pop),
734         (gst_collect_pads_available), (gst_collect_pads_read),
735         (gst_collect_pads_flush), (gst_collect_pads_event),
736         (gst_collect_pads_chain):
737         * gst/base/gstcollectpads.h:
738           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
739           unimplemented functions as unimplemented. Add padding to
740           GstCollectData. (#320766, #320423)
741
742 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
743
744         * gst/gstmessage.c:
745           Improve docs for DURATION message (usage of duration parameter)
746           (#320113)
747
748 2005-11-20  Wim Taymans  <wim@fluendo.com>
749
750         * check/Makefile.am:
751         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
752         (main):
753         * gst/Makefile.am:
754         * gst/gst.h:
755         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
756         (gst_segment_set_seek), (gst_segment_set_newsegment),
757         (gst_segment_to_stream_time), (gst_segment_to_running_time),
758         (gst_segment_clip):
759         * gst/gstsegment.h:
760         Added segment helper structure and methods. Not fully implemented
761         yet.
762         Added segment check.
763
764 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
765
766         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
767           Add a deserialisation test for fractions
768         * examples/metadata/read-metadata.c: (message_loop),
769         (make_pipeline), (main):
770           Fix up metadata reading sample.
771         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
772           Debug format fix
773         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
774           Don't try and fixate empty caps
775         * gst/gst_private.h:
776           Wrap in G_BEGIN_DECLS/G_END_DECLS
777         * gst/gstvalue.c: (gst_value_collect_fraction),
778         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
779         (gst_value_transform_string_fraction),
780         (gst_value_compare_fraction):
781           Add some extra guards to ensure that we don't end up 
782           with an invalid denominator of 0 in a gstfraction and
783           that fractions always get reduced.
784
785 2005-11-20  Wim Taymans  <wim@fluendo.com>
786
787         * docs/gst/gstreamer-sections.txt:
788         * gst/gstbuffer.h:
789         * gst/gstelement.c:
790         * gst/gstformat.c:
791         * gst/gstformat.h:
792         * gst/gstindex.h:
793         * gst/gstquery.c:
794         * gst/gstquery.h:
795         * gst/gstvalue.c:
796         Doc fixes.
797
798 2005-11-20  Wim Taymans  <wim@fluendo.com>
799
800         * docs/design/part-TODO.txt:
801         * gst/gstcaps.h:
802         Make a proper enum of the flag.
803
804 2005-11-19  Wim Taymans  <wim@fluendo.com>
805
806         * docs/design/part-TODO.txt:
807         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
808         (gst_format_to_quark), (gst_format_register):
809         * gst/gstformat.h:
810         * gst/gstquery.c: (_gst_query_initialize),
811         (gst_query_type_get_name), (gst_query_type_to_quark),
812         (gst_query_type_register):
813         * gst/gstquery.h:
814         Add type to quark and type to string conversions.
815
816 2005-11-19  Andy Wingo  <wingo@pobox.com>
817
818         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
819         #320097.
820
821 2005-11-19  Wim Taymans  <wim@fluendo.com>
822
823         * docs/design/part-TODO.txt:
824         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
825         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
826         (gst_bin_handle_message_func):
827         * gst/gstbin.h:
828         Make message handling overridable.
829
830 2005-11-19  Andy Wingo  <wingo@pobox.com>
831
832         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
833
834         * gst/gstclock.h:
835         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
836         be a GstClockTime.
837         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
838         is a GstClockTime. Fixes #321710.
839
840         * gst/gstclock.h (GstClock): Remove offset property. Add
841         internal_calibration and external_calibration. Fix padding. Pad
842         also by GstClockTime so we don't run into problems.
843
844         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
845         (gst_clock_get_rate_offset): Remove.
846         (gst_clock_set_time_adjust): Remove. Fixes #321712.
847
848         * gst/gstutils.h:
849         * gst/gstutils.c (g_static_rec_cond_wait)
850         (g_static_rec_cond_timed_wait): Removed, no longer needed.
851
852         * gst/gstbin.c: Remove terrible continue_state prototype.
853
854         * gst/gstelement.h (gst_element_continue_state): Make public.
855
856         * gst/gstelement.h:
857         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
858         by continue_state. Fixes #319389.
859
860         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
861         Really fixes #168438. However I don't see anywhere where the
862         filter function is called... stupid GStreamer...
863         
864         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
865         don't have a dispose function, so it won't get called when the
866         object is unreffed, but oh well!
867
868         * gst/gstindex.c (gst_index_set_filter_full): New API function,
869         allows a destroy function to be set so user_data can be freed.
870         Fixes #168438.
871         (gst_index_set_filter): Call gst_index_set_filter_full.
872
873         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
874
875         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
876         string should produce an error, given the lack of a way to
877         represent NULL strings. Fixes #165650.
878         
879         * gst/gstvalue.h: 
880         * gst/gstvalue.c (gst_value_array_append_value) 
881         (gst_value_array_prepend_value, gst_value_array_get_size) 
882         (gst_value_array_get_value): New API, copied from
883         gst_value_list_*, only operates on arrays.
884         (gst_value_list_append_value, gst_value_list_prepend_value) 
885         (gst_value_list_concat, gst_value_list_get_size) 
886         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
887
888         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
889         init_list, because it works on both.
890         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
891         (gst_value_copy_list_or_array): Renamed from copy_list.
892         (gst_value_free_list_or_array): Renamed from free_list.
893         (gst_value_collect_list_or_array): Renamed from collect_list.
894         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
895         (gst_value_list_or_array_peek_pointer): Renamed from
896         list_peek_pointer.
897         (_gst_value_array_value_table, _gst_value_list_value_table):
898         Update value table functions.
899         (gst_value_compare_list_or_array): Renamed from compare_list.
900
901         * gsttaglist.h: Whoops, foreach function returns void. Also fix
902         some constness.
903
904         * gst/gsttaglist.c:
905         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
906         GstTagList*. Fixes #143472.
907
908         * gst/gststructure.h: Clarify what the foreach/map functions can
909         or can't do to their arguments.
910
911 2005-11-18  Wim Taymans  <wim@fluendo.com>
912
913         * gst/gstclock.c: (gst_clock_set_calibration),
914         (gst_clock_get_calibration):
915         Doc and API fixes.
916         Calibration can be set with internal time equal to current
917         internal time too.
918
919 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
920
921         * gst/gsterror.c:
922         * gst/gsterror.h:
923           document
924
925 2005-11-18  Andy Wingo  <wingo@pobox.com>
926
927         * configure.ac: 
928         * pkgconfig/gstreamer-net.pc.in:
929         * pkgconfig/gstreamer-net-uninstalled.pc.in:
930         * pkgconfig/Makefile.am: Add net pkgconfig files.
931
932 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
933
934         * gst/gstcaps.c:
935         * gst/gstghostpad.c:
936         * gst/gsttrace.c:
937         * gst/gstvalue.c:
938         * gst/gstvalue.h:
939           docs fixes
940
941 2005-11-18  Andy Wingo  <wingo@pobox.com>
942
943         * gst/net/gstnetclientclock.c: Turn off debugging.
944
945         * check/net/gstnetclientclock.c (test_functioning): Assert that the
946         times connverge somewhat. Can't make a real test.
947
948         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
949         integer arithmetic. Return the minimum of the domain, which can be
950         set as "internal" for gst_clock_set_calibration.
951         (gst_net_client_clock_observe_times): Call _set_calibration.
952         (gst_net_client_clock_new): Call _set_calibration instead of
953         rate_offset.
954
955         * check/net/gstnetclientclock.c (test_functioning): Use the right
956         adjustment api.
957
958         * gst/gstclock.h:
959         * gst/gstclock.c (gst_clock_get_calibration) 
960         (gst_clock_set_calibration): New functions, obsolete the ones I
961         added yesterday. Doh. Precision issues mean we have to extrapolate
962         from a point in the more recent past than 1970.
963         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
964         obsolete.
965         (gst_clock_adjust_unlocked): Use the right calibration data.
966
967 2005-11-18  Edward Hervey  <edward@fluendo.com>
968
969         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
970         Also reset the ->current_* values in READY->PAUSED
971
972 2005-11-18  Andy Wingo  <wingo@pobox.com>
973
974         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
975         Whoops, check the right fd. Also add some debugging.
976         (gst_net_client_clock_observe_times): Adjust for int64 offset.
977         (do_linear_regression): Add a crapload of debugging. Subtract off
978         the minimum values from the input series to discard unneeded bits.
979         Use only int arithmetic. There is still double arithmetic when
980         calculating the intercept that needs fixing. Return boolean to
981         indicate success; FALSE would mean the domain or range is too
982         great. Still needs fixes.
983
984 2005-11-18  Wim Taymans  <wim@fluendo.com>
985
986         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
987         For the current position in stream time, we need to subtract
988         accumulated time.
989         
990         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
991         Release lock before calling the callback function of async
992         entries.
993
994 2005-11-18  Andy Wingo  <wingo@pobox.com>
995
996         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
997         Port goes all the way to MAXUINT16.
998
999         * gst/net/gstnettimeprovider.c: Make the port range the same as
1000         for the kernel: 0 assigns, otherwise ports are less than
1001         MAXUINT16.
1002
1003         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1004         port change.
1005
1006         * check/net/gstnetclientclock.c (test_functioning): Add the start
1007         of another test. 
1008
1009 2005-11-18  Wim Taymans  <wim@fluendo.com>
1010
1011         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1012         (gst_bin_remove_func), (bin_bus_handler):
1013         * gst/gstbin.h:
1014         Removing a clock provider from a bin, triggers a clock lost message
1015         so that a new clock will be selected.
1016         Adding a clock to a bin triggers a clock provider message.
1017         Make sure we reselect a clock when we received a clock lost message.
1018         Keep a reference to the element that provided the clock.
1019
1020 2005-11-18  Andy Wingo  <wingo@pobox.com>
1021
1022         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1023         the clock initially so it produces values around the base time.
1024         (gst_net_client_clock_class_init): Typo fix.
1025         (gst_net_client_clock_thread): Add note on when the socket gets
1026         closed.
1027
1028 2005-11-17  Wim Taymans  <wim@fluendo.com>
1029
1030         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1031         Free remote and local time arrays.
1032
1033 2005-11-17  Wim Taymans  <wim@fluendo.com>
1034
1035         * gst/net/gstnetclientclock.c: (do_linear_regression),
1036         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1037         Fix compilation, uninitialized vars and a forgotten continue.
1038
1039 2005-11-17  Andy Wingo  <wingo@pobox.com>
1040
1041         * check/Makefile.am (check_PROGRAMS): 
1042         * check/net/gstnetclientclock.c: Add a most minimal test for the
1043         net client clock. More to come later.
1044
1045         * gst/net/gstnet.h: 
1046         * gst/net/Makefile.am: Add netclientclock.
1047
1048         * gst/net/gstnetclientclock.h:
1049         * gst/net/gstnetclientclock.c: New files, implement an untested
1050         GstClock that takes its time from a network time provider.
1051         Implements the algorithm in network-clock.scm.
1052
1053         * tests/network-clock.scm (*window-size*): Rename from
1054         *queue-length*.
1055         * tests/network-clock.scm (network-time): 
1056         * tests/network-clock-utils.scm (q-push): Update callers.
1057
1058 2005-11-17  Wim Taymans  <wim@fluendo.com>
1059
1060         * gst/gstbin.c: (gst_bin_provide_clock_func),
1061         (gst_bin_sort_iterator_new):
1062         And unref the child too..
1063
1064 2005-11-17  Wim Taymans  <wim@fluendo.com>
1065
1066         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1067         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1068         Refactor the sort iterator so it can be used while holding the
1069         LOCK too.
1070         Make clock selection select a clock closest to the source.
1071
1072 2005-11-17  Michael Smith <msmith@fluendo.com>
1073
1074         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1075         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1076         * gst/gstclock.h:
1077           Anonymous structs are a gcc (and some other compilers) extension, so
1078           don't use them. Since this is only for ABI-compatibility, and our
1079           API/ABI freeze is over in a few days, this whole thing will only
1080           last a few days, so don't bother trying to think up a meaningful
1081           name for the struct.
1082
1083 2005-11-17  Andy Wingo  <wingo@pobox.com>
1084
1085         * gst/gstclock.h (GstClock): Add rate and offset properties,
1086         preserving ABI stability. Add rate/offset accessors. Will file bug
1087         for the freeze break.
1088
1089         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1090         and offset, trying to keep precision and avoiding
1091         underflow/overflow.
1092         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1093         functions. Make gst_clock_set_time_adjust obsolete.
1094         (gst_clock_set_time_adjust): Note that this function is obsolete.
1095         Will file bug soon.
1096
1097         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1098         greppable by using GST_PADDING-1+1.
1099
1100 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1101
1102         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1103
1104         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1105           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1106
1107         * gst/gstpadtemplate.h:
1108         * gst/gstpluginfeature.h:
1109           Don't use c++ style comments in headers (#321638).
1110
1111 2005-11-16  Andy Wingo  <wingo@pobox.com>
1112
1113         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1114         buffer.
1115
1116         * check/net/gstnettimeprovider.c: Check to see that the time
1117         provider actually provides times. Works, yo!
1118
1119 2005-11-16  Wim Taymans  <wim@fluendo.com>
1120
1121         * check/Makefile.am:
1122         Enable more tests.
1123
1124         * check/elements/fakesrc.c: (GST_START_TEST):
1125         Set element to NULL before disposing it.
1126
1127 2005-11-16  Andy Wingo  <wingo@pobox.com>
1128
1129         * gst/net/Makefile.am:
1130         * gst/net/gstnet.h:
1131         * gst/net/gstnettimeprovider.c: 
1132         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1133         provider, include it from gstnet.h, and add it to the build.
1134
1135         * gst/net/gstnettimepacket.h: 
1136         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1137         sending and receiving.
1138
1139 2005-11-16  Wim Taymans  <wim@fluendo.com>
1140
1141         * check/Makefile.am:
1142         Enable valgrind check.
1143
1144         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1145         (gst_fake_src_alloc_buffer):
1146         Fix memleak.
1147
1148 2005-11-16  Wim Taymans  <wim@fluendo.com>
1149
1150         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1151         Call parent finalize too.
1152
1153 2005-11-16  Wim Taymans  <wim@fluendo.com>
1154
1155         * check/Makefile.am:
1156         Enable valgrind check that should work fine now.
1157
1158         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1159         * gst/gstqueue.c: (gst_queue_init):
1160         Fix memleaks in pad allocation.
1161
1162 2005-11-16  Andy Wingo  <wingo@pobox.com>
1163
1164         * gst/net/Makefile.am:
1165         * gst/net/gstnet.h: New part of core to hold network elements and
1166         objects. Put in core because it exposes API that applications want
1167         to use. The library is named libgstnet-tempname right now because
1168         of the existing libgstnet in gst-plugins-base. Solution is
1169         probably to rename the one in plugins-base; will file a bug for
1170         the freeze break.
1171
1172         * gst/net/gstnettimeprovider.c: 
1173         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1174         get_time call over the network.
1175
1176         * configure.ac: 
1177         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1178
1179         * check/Makefile.am:
1180         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1181         get additions shortly.
1182
1183 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1184
1185         * gst/gstpad.c: (gst_pad_new_from_static_template):
1186         * gst/gstpad.h:
1187           add gst_pad_new_from_static_template functions
1188         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1189         (gst_check_setup_sink_pad):
1190         * gst/elements/gsttee.c: (gst_tee_init):
1191           and use them
1192
1193 2005-11-16  Wim Taymans  <wim@fluendo.com>
1194
1195         * gst/gstpad.c: (gst_pad_pause_task):
1196         Removed warning, it's not really an error either.
1197
1198 2005-11-16  Wim Taymans  <wim@fluendo.com>
1199
1200         * gst/base/gstbasetransform.c:
1201         (gst_base_transform_prepare_output_buf),
1202         (gst_base_transform_event):
1203         Check if the caps are NULL, this can happen if the element
1204         is shutting down and the pad caps are set to NULL.
1205
1206 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1207
1208         * gst/elements/gsttee.c: (gst_tee_init):
1209           fix pad template leak in tee
1210
1211 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1212
1213         * gst/glib-compat.c: (g_value_dup_gst_object):
1214         * gst/glib-compat.h:
1215         * gst/gstpad.c: (gst_pad_set_property):
1216           use gst_object_ref when setting the pad template; this will
1217           trigger the pad template leaks on GLib 2.6 and the slaves
1218
1219 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1220
1221         * gst/glib-compat.c: (gst_flags_get_first_value):
1222         * gst/glib-compat.h:
1223         * gst/gstregistryxml.c:
1224           remove functions copied from GLib 2.6
1225
1226 2005-11-16  Michael Smith <msmith@fluendo.com>
1227
1228         * gst/Makefile.am:
1229           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1230           do, but only breaks with newer valgrind versions. We're not a
1231           valgrind tool, we have no link-time dependencies on libcoregrind.
1232
1233 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1234
1235         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1236           some debug changes
1237         * gst/gstmessage.h:
1238           typo fixes
1239
1240 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1241
1242         * gst/base/gstbasesrc.c: (gst_base_src_init):
1243         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1244         * gst/gstqueue.c: (gst_queue_init):
1245         * gst/gstregistryxml.c: (load_feature):
1246           Revert all these unrefs, they don't even pass make check !
1247
1248 2005-11-15  Johan Dahlin  <johan@gnome.org>
1249
1250         * gst/base/gstbasesrc.c: (gst_base_src_init):
1251         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1252         * gst/gstqueue.c: (gst_queue_init): 
1253         Free pad templates, fixes a couple of leaks.
1254
1255 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1256
1257         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1258
1259         * gst/gstpad.c: (gst_pad_get_property):
1260           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1261           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1262           (#321452)
1263
1264 2005-11-15  Wim Taymans  <wim@fluendo.com>
1265
1266         * gst/gstevent.c:
1267         Small doc update.
1268
1269 2005-11-15  Andy Wingo  <wingo@pobox.com>
1270
1271         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1272
1273         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1274         using GST_CLOCK_TIME_NONE to disable base time management.
1275         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1276         time if it was NONE before.
1277         (gst_pipeline_change_state): Only munge the base time if
1278         stream_time != GST_CLOCK_TIME_NONE.
1279
1280         * check/gst/gstpipeline.c (test_base_time): Punt around the
1281         problem of the probe not being called, because that's not the
1282         issue I'm looking at. Add a check that setting stream_time to NONE
1283         disables base time management.
1284         
1285 2005-11-15  Wim Taymans  <wim@fluendo.com>
1286
1287         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1288         segment_stop == -1 at startup.
1289
1290         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1291         (gst_base_transform_change_state):
1292         Init segment values at start.
1293
1294 2005-11-15  Wim Taymans  <wim@fluendo.com>
1295
1296         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1297         0 segment values are 0 in any format.
1298
1299         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1300         * gst/base/gstbasetransform.h:
1301         Parse newsegment correctly in basetransform
1302
1303         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1304         Sync to clock using updated segment values.
1305
1306 2005-11-15  Andy Wingo  <wingo@pobox.com>
1307
1308         * check/gst/gstpipeline.c (test_base_time): Add check that the
1309         base time and stream time are reset correctly.
1310
1311 2005-11-15  Wim Taymans  <wim@fluendo.com>
1312
1313         * docs/design/part-TODO.txt:
1314         Some more TODO items.
1315
1316 2005-11-15  Andy Wingo  <wingo@pobox.com>
1317
1318         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1319         error if the user selected "no clock" as the clocking method.
1320
1321         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1322         timestamps with live capture.
1323
1324         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1325         is 0 but we are a live source, timestamp the buffers using the
1326         element's clock.
1327
1328 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1329
1330         * docs/gst/gstreamer-sections.txt:
1331         * gst/gsterror.c:
1332         * gst/gstghostpad.c:
1333         * gst/gstobject.h:
1334         * gst/gstxml.c:
1335           more section docs
1336
1337 2005-11-14  Wim Taymans  <wim@fluendo.com>
1338
1339         * common/gst.supp:
1340           add suppressions from Wim's Debian machine
1341
1342 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1343
1344         * common/gst.supp:
1345           add suppressions from Andy's AMD64 Ubuntu machine
1346
1347 2005-11-14  Andy Wingo  <wingo@pobox.com>
1348
1349         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1350         STATE_LOCK not necessary. Fixes #311489.
1351
1352         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1353         #305291.
1354
1355         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1356         this function is not implemented.
1357
1358 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1359
1360         * gst/base/gstbasetransform.c:
1361         (gst_base_transform_prepare_output_buf):
1362         Ref the source pad caps while we need them.
1363         Fixes (#321386)
1364
1365 2005-11-11  Wim Taymans  <wim@fluendo.com>
1366
1367         * docs/gst/gstreamer-sections.txt:
1368         Added some docs for GstCollectData.
1369
1370         * gst/base/gstadapter.c:
1371         Some small code example fix.
1372
1373         * gst/base/gstcollectpads.c:
1374         * gst/base/gstcollectpads.h:
1375         Document some more.
1376
1377 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1378
1379         * configure.ac: back to HEAD
1380
1381 === release 0.9.5 ===
1382
1383 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
1384
1385         * configure.ac:
1386           releasing 0.9.5, "Bike Lunch Day"
1387
1388 2005-11-11  Wim Taymans  <wim@fluendo.com>
1389
1390         * gst/gstbuffer.c: (_gst_buffer_copy):
1391         Copy more flags.
1392
1393         * gst/gstcaps.c: (gst_caps_is_equal):
1394         Fix some docs.
1395         Make _is_equal fast in the trivial cases.
1396
1397         * gst/gstminiobject.c:
1398         * gst/gstminiobject.h:
1399         More docs. Spifify .h file.
1400
1401         * gst/gstutils.c:
1402         Small doc update.
1403
1404 2005-11-11  Wim Taymans  <wim@fluendo.com>
1405
1406         * gst/base/gstbasetransform.c:
1407         (gst_base_transform_prepare_output_buf),
1408         (gst_base_transform_handle_buffer):
1409         Small cleanups.
1410         If we're processing a buffer and need to allocate an output
1411         buffer, we cannot accept a format change. If we did get a 
1412         format change, we have to alloc a buffer ourselves of the 
1413         right size.
1414
1415 2005-11-11  Wim Taymans  <wim@fluendo.com>
1416
1417         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1418         While checking the flag for reentrancy in the gstcaps function
1419         is nice to detect recursive invocations, it also makes it 
1420         impossible to call getcaps from multiple threads, which must be
1421         possible. So, checking for recursive calls has to go.
1422
1423 2005-11-11  Michael Smith <msmith@fluendo.com>
1424
1425         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1426           Don't sync on buffers that fall partially outside our current
1427           segment. Prevents an assertion failure/abort playing some files.
1428
1429 2005-11-10  Andy Wingo  <wingo@pobox.com>
1430
1431         * check/gst/gstbin.c (test_message_state_changed_children): Style
1432         fix..
1433
1434         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1435         gst_bus_poll with the signal watch. Ensures that poll and a signal
1436         watch see the same messages.
1437
1438         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1439         a poll and a watch at the same time get the same messages.
1440
1441 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1442
1443         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1444         * gst/gstcaps.c: (gst_caps_intersect):
1445           Don't call gst_caps_do_simplify - it doesn't respect order of caps
1446           and it's not needed.
1447
1448 2005-11-10  Wim Taymans  <wim@fluendo.com>
1449
1450         * docs/design/part-TODO.txt:
1451         Updated todo.
1452
1453 2005-11-10  Wim Taymans  <wim@fluendo.com>
1454
1455         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1456         * gst/base/gstbasesrc.c: (gst_base_src_wait),
1457         (gst_base_src_do_sync), (gst_base_src_get_range):
1458         Implement clock sync in base class.
1459
1460 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1461
1462         patch by: Tim-Philipp Müller <tim at centricular dot net>
1463
1464         * gst/gststructure.c: (gst_structure_parse_field),
1465         (gst_structure_from_string):
1466           Forward-port a 0.8 patch to handle escaped spaces in structure string,
1467           so that gst_parse_launch() can deal with spaces in filtered link
1468           caps (fixes #164479)
1469         * check/gst/capslist.h:
1470         * check/gst/gststructure.c: (GST_START_TEST):
1471           add unit tests for this change
1472
1473 2005-11-10  Wim Taymans  <wim@fluendo.com>
1474
1475         * docs/gst/gstreamer-sections.txt:
1476         * gst/gstelement.c:
1477         * gst/gstelement.h:
1478         Fix docs, move some STATE macros to private.
1479
1480 2005-11-10  Wim Taymans  <wim@fluendo.com>
1481
1482         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1483         Added check for bug #317341
1484
1485         * gst/gstbuffer.c:
1486         * gst/gstbuffer.h:
1487         Some more spiffifying.
1488
1489         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1490         Call peer linkfunction if we are a source pad. Totally fixes
1491         #317341
1492
1493         * gst/gstpad.c:
1494         Update docs, source pads should call the peer linkfunction
1495         so they can atomically perform the pad link.
1496
1497 2005-11-09  Wim Taymans  <wim@fluendo.com>
1498
1499         * gst/gstbuffer.c:
1500         * gst/gstbuffer.h:
1501         Uber-spiffy-spiffify some more.
1502
1503 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
1504
1505         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1506         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1507         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1508         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1509         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1510         * gst/gstpad.c: (gst_pad_init):
1511           Use GST_DEBUG_FUNCPTR() more extensively.
1512
1513 2005-11-09  Wim Taymans  <wim@fluendo.com>
1514
1515         * gst/gstobject.c: (gst_object_class_init):
1516         * gst/gstobject.h:
1517         Documentation fixes.
1518
1519 2005-11-09  Edward Hervey  <edward@fluendo.com>
1520
1521         * gst/gsttypefindfactory.c:
1522         Fix docs.
1523         
1524 2005-11-09  Edward Hervey  <edward@fluendo.com>
1525
1526         * gst/base/gsttypefindhelper.c:
1527         * gst/gsttypefind.c:
1528         * gst/gsttypefind.h:
1529         Fix docs.
1530
1531 2005-11-09  Wim Taymans  <wim@fluendo.com>
1532
1533         * gst/gstiterator.c:
1534         Fix revision data.
1535
1536         * gst/gsttask.c:
1537         * gst/gsttask.h:
1538         Fix docs.
1539
1540 2005-11-09  Wim Taymans  <wim@fluendo.com>
1541
1542         * gst/gstevent.h:
1543         * gst/gsturi.h:
1544         Fix docs.
1545
1546 2005-11-09  Wim Taymans  <wim@fluendo.com>
1547
1548         * docs/gst/gstreamer-sections.txt:
1549         Moved the message async delivery private lock and cond
1550         to the private section.
1551
1552         * gst/gstmessage.c:
1553         * gst/gstmessage.h:
1554         Fixed docs.
1555
1556 2005-11-09  Edward Hervey  <edward@fluendo.com>
1557
1558         * docs/gst/gstreamer-sections.txt:
1559         * gst/gsturi.c:
1560         * gst/gsturi.h:
1561         Document GstURIHandler
1562
1563 2005-11-09  Wim Taymans  <wim@fluendo.com>
1564
1565         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1566         (gst_iterator_find_custom):
1567         * gst/gstiterator.h:
1568         Fix iterator docs.
1569
1570 2005-11-09  Wim Taymans  <wim@fluendo.com>
1571
1572         * gst/gstbin.h:
1573         Document another field.
1574
1575         * gst/gststructure.c:
1576         * gst/gststructure.h:
1577         Document.
1578
1579 2005-11-09  Wim Taymans  <wim@fluendo.com>
1580
1581         * gst/gstbin.h:
1582         Documented structs.
1583
1584 2005-11-09  Wim Taymans  <wim@fluendo.com>
1585
1586         * docs/gst/gstreamer-sections.txt:
1587         Added some new macros.
1588
1589         * gst/gstclock.c:
1590         * gst/gstclock.h:
1591         * gst/gstobject.h:
1592         Docs updates.
1593
1594 2005-11-09  Wim Taymans  <wim@fluendo.com>
1595
1596         * docs/design/part-TODO.txt:
1597         Some more items for the TODO
1598
1599         * gst/gstcaps.c:
1600         * gst/gstcaps.h:
1601         Document GstCaps.
1602
1603 2005-11-09  Andy Wingo  <wingo@pobox.com>
1604
1605         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1606         to work on something else now tho...
1607
1608         * gst/base/gstadapter.c: More adapter docs.
1609
1610         * gst/elements/gstfilesink.c (gst_file_sink_start) 
1611         (gst_file_sink_stop): New functions, replace the state change
1612         handler.
1613         (gst_file_sink_class_init): Hook up the start and stop functions.
1614         (gst_file_sink_base_init): Don't set the state change handler any
1615         more. It was a bit ugly too, being set from here...
1616         (gst_file_sink_get_property, gst_file_sink_set_property):
1617         Cleanups...
1618         (gst_file_sink_set_location): More robust check that doesn't call
1619         GST_STATE. Ugggggg.
1620
1621 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
1622
1623         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1624           Hold STREAM_LOCK while pushing newsegment or tag events as well.
1625
1626 2005-11-08  Wim Taymans  <wim@fluendo.com>
1627
1628         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1629         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1630         (gst_base_sink_chain), (gst_base_sink_change_state):
1631         * gst/base/gstbasesink.h:
1632         * gst/base/gstbasesrc.h:
1633         * gst/gstelement.h:
1634         * gst/gstevent.h:
1635         Avoid excessive typechecking in macros.
1636
1637         * gst/gstminiobject.c: (gst_mini_object_get_type),
1638         (gst_mini_object_init), (gst_mini_object_new),
1639         (gst_mini_object_free):
1640         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1641         (gst_object_finalize):
1642         Remove cruft code, optimize alloc_trace.
1643
1644 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1645
1646         * docs/faq/gst-uninstalled:
1647           fix up PS1 for systems that try to reset it
1648
1649 2005-11-07  Wim Taymans  <wim@fluendo.com>
1650
1651         * gst/base/gstbasesrc.c: (gst_base_src_init),
1652         (gst_base_src_get_range):
1653         Set the segment_end to -1 initially. Fixed typefind.
1654
1655 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1656
1657         * gst/base/gstadapter.c:
1658           Debug category should be 'adapter', not 'GstAdapter'.
1659           
1660         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1661         (gst_collectpads_class_init), (gst_collectpads_init),
1662         (gst_collectpads_peek), (gst_collectpads_pop),
1663         (gst_collectpads_event), (gst_collectpads_chain):
1664           Add debug category and some debugging output. Use boilerplate
1665           macros. Remove some extraneous words from docs.
1666
1667 2005-11-05  Andy Wingo  <wingo@pobox.com>
1668
1669         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1670         macro.
1671
1672 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1673
1674         * docs/gst/gstreamer-sections.txt:
1675         * gst/gstcaps.h:
1676         * gst/gstinfo.c:
1677         * gst/gstminiobject.h:
1678         * gst/gstobject.h:
1679         * gst/gstutils.h:
1680           more docs added
1681
1682 2005-11-04  Wim Taymans  <wim@fluendo.com>
1683
1684         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1685         Small update to stop at the configured segment_end
1686         position.
1687
1688 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1689
1690         * gst/gstregistry.c:
1691         * gst/gstregistry.h:
1692           added missing docs
1693
1694 2005-11-04  Edward Hervey  <edward@fluendo.com>
1695
1696         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1697         Check if we are doing a segment seek and have arrived at the
1698         end of that segment.
1699
1700 2005-11-04  Wim Taymans  <wim@fluendo.com>
1701
1702         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1703         Don't leak a mutex unlock in case of an error.
1704
1705         * gst/gstbus.h:
1706         Doc fixes.
1707
1708 2005-11-04  Wim Taymans  <wim@fluendo.com>
1709
1710         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1711         (gst_bus_post):
1712         Get the context to wake up only once.
1713
1714 2005-11-03  Wim Taymans  <wim@fluendo.com>
1715
1716         * check/states/sinks.c: (GST_START_TEST):
1717         Uncomment fixed check.
1718
1719         * docs/design/part-TODO.txt:
1720         Updated TODO.
1721
1722         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1723         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1724         (gst_base_sink_get_position):
1725         If we are going to PLAYING, post the right pending state
1726         when we post the intermediate paused message.
1727
1728         * gst/gstelement.c: (gst_element_continue_state),
1729         (gst_element_set_state_func), (gst_element_change_state):
1730         Don't post state changes that were between the same state
1731         and were not ASYNC.
1732
1733 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1734
1735         * docs/gst/gstreamer-sections.txt:
1736         * gst/gstcaps.h:
1737         * gst/gstinfo.c:
1738         * gst/gstminiobject.h:
1739         * gst/gstobject.h:
1740         * gst/gstutils.h:
1741           more docs and doc style fixes
1742
1743 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1744
1745         * docs/gst/gstreamer-sections.txt:
1746         * gst/gstelement.c:
1747         * gst/gstminiobject.c:
1748         doc fixes
1749
1750 2005-11-03  Andy Wingo  <wingo@pobox.com>
1751
1752         * check/states/sinks.c (test_livesrc_sink): Add checks that the
1753         state-changed messages actually have the right order and the right
1754         values.
1755
1756 2005-11-03  Wim Taymans  <wim@fluendo.com>
1757
1758         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1759         Added some more checks. Specifically the case where NO_PREROLL
1760         elements are in the pipeline.
1761
1762         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1763         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1764         (gst_base_sink_get_position):
1765         Post READY->PAUSED state change messages too.
1766         Fix bug where VOID was posted as pending state...
1767
1768         * gst/gstbin.c: (gst_bin_recalc_state):
1769         use _element_continue_state() to continue the state change.
1770
1771         * gst/gstelement.c: (gst_element_continue_state),
1772         (gst_element_commit_state), (gst_element_set_state_func),
1773         (gst_element_change_state), (gst_element_change_state_func):
1774         Lots of state change cleanups, assign the STATE_RETURN in
1775         a new continue_state() function that also propagates the
1776         last return value from a state change to the app.
1777         Update some debug statements with proper category.
1778
1779 2005-11-03  Wim Taymans  <wim@fluendo.com>
1780
1781         * docs/design/part-events.txt:
1782         * docs/design/part-gstpipeline.txt:
1783         * docs/design/part-messages.txt:
1784         * docs/design/part-overview.txt:
1785         * docs/design/part-seeking.txt:
1786         * docs/design/part-states.txt:
1787         * docs/design/part-trickmodes.txt:
1788         * docs/manual/advanced-position.xml:
1789         Small docs updates.
1790
1791         * gst/gstobject.h:
1792         People think !! is ugly, this looks better.
1793
1794         * gst/gstpad.c: (gst_pad_set_blocked_async):
1795         Remove !! since it's fixed elsewhere now.
1796
1797 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1798
1799         * gst/gstminiobject.h:
1800         * gst/gstobject.h:
1801           Add !! to _FLAG_IS_SET macros to make the result boolean.
1802
1803 2005-11-03  Edward Hervey  <edward@fluendo.com>
1804
1805         * gst/gstpad.c: (gst_pad_set_blocked_async):
1806         comparing a flag and a gboolean rarely returns coherent results...
1807         Added two characters (!!) to make that work correctly.
1808         
1809 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1810
1811         * gst/gstbus.c: (gst_bus_class_init):
1812           Fix some typos.
1813           
1814         * gst/gstqueue.c: (gst_queue_loop):
1815           Don't assume a miniobject that isn't a buffer is an
1816           event (it could be that there is a refcounting
1817           problem somewhere and the pointer is stale and
1818           refers to an already destroyed miniobject).
1819
1820 2005-11-03  Julien MOUTTE  <julien@moutte.net>
1821
1822         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1823
1824 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1825
1826         * docs/manual/advanced-position.xml:
1827           Update seek example and explanations to current 0.9 API.
1828
1829         * gst/elements/gsttypefindelement.c:
1830         (gst_type_find_element_activate):
1831           Remove FIXME comment now that the found caps
1832           are unreffed.
1833
1834 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1835
1836         * gst/gstregistryxml.c: (load_feature):
1837           Add another GST_STR_NULL instance
1838
1839 2005-11-02  Edward Hervey  <edward@fluendo.com>
1840
1841         * gst/gstpad.c: (handle_pad_block):
1842         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
1843         
1844 2005-11-02  Wim Taymans  <wim@fluendo.com>
1845
1846         * gst/gstbin.c:
1847         Fix typo in docs.
1848
1849         * gst/gstelement.c: (gst_element_commit_state):
1850         Remove unused value.
1851
1852         * gst/gstiterator.c:
1853         Mention that the returned element is reffed in the docs.
1854
1855 2005-11-02  Wim Taymans  <wim@fluendo.com>
1856
1857         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
1858         (gst_pad_push), (gst_pad_push_event):
1859         Unlock blocked pads when they are flushed.
1860
1861 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1862
1863         * docs/README:
1864         * docs/gst/gstreamer-sections.txt:
1865         * gst/gstbin.c:
1866           doc updates
1867         * gst/gstregistry.c: (gst_registry_scan_path_level):
1868           fix for a nasty little missed situation where an installed plug-in
1869           which was in the cache did not get overridden by an uninstalled one
1870           which was earlier in the plugin path because the newly created plugin
1871           for the uninstalled one (not in the registry) didn't get its
1872           ->registered set to TRUE
1873
1874 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1875
1876         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
1877         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
1878         (gst_collectpads_is_active), (gst_collectpads_collect),
1879         (gst_collectpads_collect_range), (gst_collectpads_start),
1880         (gst_collectpads_stop), (gst_collectpads_peek),
1881         (gst_collectpads_pop), (gst_collectpads_available),
1882         (gst_collectpads_read), (gst_collectpads_flush):
1883           Guard public API with assertions.
1884         
1885         * gst/gstpad.c:
1886           Fix docs for gst_pad_set_link_function().
1887
1888 2005-11-02  Johan Dahlin  <johan@gnome.org>
1889
1890         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
1891         Unref found_caps after we used it.
1892
1893 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1894
1895         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
1896           Don't try to ref NULL.
1897
1898 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1899
1900         * win32/common/config.h.in:
1901           provide a GST_FUNCTION that just gives a string for now
1902
1903 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1904
1905         * win32/common/gstenumtypes.c: (register_gst_object_flags),
1906         (gst_object_flags_get_type), (register_gst_bin_flags),
1907         (gst_bin_flags_get_type), (register_gst_buffer_flag),
1908         (gst_buffer_flag_get_type), (register_gst_bus_flags),
1909         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1910         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
1911         (gst_clock_return_get_type), (register_gst_clock_entry_type),
1912         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1913         (gst_clock_flags_get_type), (register_gst_state),
1914         (gst_state_get_type), (register_gst_state_change_return),
1915         (gst_state_change_return_get_type), (register_gst_state_change),
1916         (gst_state_change_get_type), (register_gst_element_flags),
1917         (gst_element_flags_get_type), (register_gst_core_error),
1918         (gst_core_error_get_type), (register_gst_library_error),
1919         (gst_library_error_get_type), (register_gst_resource_error),
1920         (gst_resource_error_get_type), (register_gst_stream_error),
1921         (gst_stream_error_get_type), (register_gst_event_type),
1922         (gst_event_type_get_type), (register_gst_seek_type),
1923         (gst_seek_type_get_type), (register_gst_seek_flags),
1924         (gst_seek_flags_get_type), (register_gst_format),
1925         (gst_format_get_type), (register_gst_index_certainty),
1926         (gst_index_certainty_get_type), (register_gst_index_entry_type),
1927         (gst_index_entry_type_get_type),
1928         (register_gst_index_lookup_method),
1929         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1930         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1931         (gst_index_resolver_method_get_type), (register_gst_index_flags),
1932         (gst_index_flags_get_type), (register_gst_debug_level),
1933         (gst_debug_level_get_type), (register_gst_debug_color_flags),
1934         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1935         (gst_iterator_result_get_type), (register_gst_iterator_item),
1936         (gst_iterator_item_get_type), (register_gst_message_type),
1937         (gst_message_type_get_type), (register_gst_mini_object_flags),
1938         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1939         (gst_pad_link_return_get_type), (register_gst_flow_return),
1940         (gst_flow_return_get_type), (register_gst_activate_mode),
1941         (gst_activate_mode_get_type), (register_gst_pad_direction),
1942         (gst_pad_direction_get_type), (register_gst_pad_flags),
1943         (gst_pad_flags_get_type), (register_gst_pad_presence),
1944         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1945         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1946         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1947         (gst_plugin_error_get_type), (register_gst_plugin_flags),
1948         (gst_plugin_flags_get_type), (register_gst_rank),
1949         (gst_rank_get_type), (register_gst_query_type),
1950         (gst_query_type_get_type), (register_gst_tag_merge_mode),
1951         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1952         (gst_tag_flag_get_type), (register_gst_task_state),
1953         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1954         (gst_alloc_trace_flags_get_type),
1955         (register_gst_type_find_probability),
1956         (gst_type_find_probability_get_type), (register_gst_uri_type),
1957         (gst_uri_type_get_type), (register_gst_parse_error),
1958         (gst_parse_error_get_type):
1959         * win32/common/gstversion.h:
1960           update win32 copies
1961
1962 2005-11-01  Luca Ognibene  <luogni@tin.it>
1963
1964         * gst/gst.c:
1965           fix docs. popt is dead, long live GOption.
1966
1967 2005-10-31  Wim Taymans  <wim@fluendo.com>
1968
1969         * gst/gstbuffer.h:
1970         Small doc fix.
1971
1972 2005-10-31  Andy Wingo  <wingo@pobox.com>
1973
1974         * Boo!
1975
1976         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
1977
1978         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
1979         need to serialize property notifications on GLib 2.8. GLib 2.6 has
1980         the possibility of deadlocks here if code calling notify() or
1981         set() has a lock that can be taken in another notify handler (ABBA
1982         with class lock and e.g. python GIL state lock).
1983
1984 2005-10-28  Julien MOUTTE  <julien@moutte.net>
1985
1986         * gst/gstbus.c: Doc updates.
1987
1988 2005-10-28  Wim Taymans  <wim@fluendo.com>
1989
1990         * docs/design/part-TODO.txt:
1991         * gst/gstiterator.c:
1992         * gst/gstsystemclock.c:
1993         * gst/gstsystemclock.h:
1994         Doc updates.
1995
1996 2005-10-28  Edward Hervey  <edward@fluendo.com>
1997
1998         * docs/gst/gstreamer-docs.sgml:
1999         * docs/gst/gstreamer-sections.txt:
2000         the GstURIType documentation page is private, it only defines GstURIType
2001         which should be defined in the GstURIHandler page
2002         
2003 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2004
2005         * gst/gstbin.c: (gst_bin_class_init):
2006         * gst/gstbin.h:
2007         * gst/gstutils.c:
2008         Documentation updates.
2009
2010 2005-10-28  Wim Taymans  <wim@fluendo.com>
2011
2012         * docs/gst/gstreamer-sections.txt:
2013         * gst/gstclock.c:
2014         * gst/gstclock.h:
2015         Documented the clocks.
2016
2017 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2018
2019         * docs/gst/gstreamer-sections.txt:
2020           move some macros to private sections
2021         * gst/gstminiobject.c:
2022         * gst/gstminiobject.h:
2023           add descriptions provided by ds and some more
2024         * gst/gstpad.h:
2025           mark macro as to be removed
2026
2027 2005-10-28  Wim Taymans  <wim@fluendo.com>
2028
2029         * docs/design/part-TODO.txt:
2030         Add an item to TODO.
2031
2032         * gst/gstiterator.c: (gst_iterator_fold),
2033         (gst_iterator_find_custom):
2034         * gst/gstiterator.h:
2035         Add iterator docs.
2036
2037 2005-10-28  Wim Taymans  <wim@fluendo.com>
2038
2039         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2040         (gst_base_transform_init):
2041         Don't leak class.
2042
2043         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2044         An EOS event marks the queue as completely filled.
2045
2046 2005-10-27  Wim Taymans  <wim@fluendo.com>
2047
2048         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2049         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2050         Some more debugging.
2051
2052         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2053         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2054         (gst_base_transform_event), (gst_base_transform_getrange),
2055         (gst_base_transform_chain):
2056         * gst/base/gstbasetransform.h:
2057         Fix debugging,
2058         Protect transform and concurrent buffer alloc with a new lock.
2059         Try not to break ABI/API.
2060
2061 2005-10-27  Wim Taymans  <wim@fluendo.com>
2062
2063         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2064         (gst_base_src_init), (gst_base_src_query),
2065         (gst_base_src_default_newsegment),
2066         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2067         (gst_base_src_send_event), (gst_base_src_event_handler),
2068         (gst_base_src_pad_get_range), (gst_base_src_loop),
2069         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2070         (gst_base_src_start), (gst_base_src_deactivate),
2071         (gst_base_src_activate_push), (gst_base_src_change_state):
2072         Move some stuff around and cleanup things.
2073
2074 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2075
2076         * gst/base/gstbasesrc.c: (gst_base_src_query):
2077           Add missing break statements.
2078
2079 2005-10-27  Wim Taymans  <wim@fluendo.com>
2080
2081         * check/gst/gstbin.c: (GST_START_TEST):
2082         An extra refcount is taken in basesrc.
2083
2084         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2085         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2086         (gst_base_src_loop):
2087         Small cleanups, check for flushing after being unlocked from the 
2088         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2089         Don't send out EOS when going to READY.
2090
2091 2005-10-27  Wim Taymans  <wim@fluendo.com>
2092
2093         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2094         (gst_base_sink_get_position):
2095         Some more debug.
2096
2097         * gst/gstbin.c: (message_check), (bin_replace_message),
2098         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2099         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2100         (bin_query_duration_init), (bin_query_duration_fold),
2101         (bin_query_duration_done), (bin_query_generic_fold),
2102         (gst_bin_query):
2103         * tools/gst-launch.c: (main):
2104         Remove old option.
2105
2106 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2107
2108         * examples/controller/audio-example.c: (main):
2109         * examples/queue/queue.c: (event_loop):
2110         * gst/base/gstbasetransform.h:
2111         * gst/gstelement.c: (gst_element_send_event):
2112         * gst/gstevent.h:
2113         * gst/gstpad.c: (gst_pad_send_event):
2114           fixing examples
2115           fixing docs typos
2116           changing log priority in error situations
2117
2118 2005-10-25  Wim Taymans  <wim@fluendo.com>
2119
2120         * gst/gstbin.c: (message_check), (bin_replace_message),
2121         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2122         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2123         (bin_query_duration_init), (bin_query_duration_fold),
2124         (bin_query_duration_done), (bin_query_generic_fold),
2125         (gst_bin_query):
2126         Some doc and debug updates.
2127         Cache previously requested query DURATION for speed. invalidate
2128         cached duration if element posts a DURATION message.
2129
2130 2005-10-25  Wim Taymans  <wim@fluendo.com>
2131
2132         * docs/design/part-TODO.txt:
2133         Update TODO.
2134
2135         * gst/gstbin.c: (message_check), (bin_replace_message),
2136         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2137         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2138         (bin_query_duration_init), (bin_query_duration_fold),
2139         (bin_query_duration_done), (bin_query_generic_fold),
2140         (gst_bin_query):
2141         Handle SEGMENT_START/DONE messages correctly.
2142         More evolved query algorithm that handles duration queries
2143         correctly.
2144
2145         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2146         (gst_element_get_state_func), (gst_element_abort_state),
2147         (gst_element_commit_state), (gst_element_lost_state):
2148         Some more debugging.
2149
2150         * gst/gstmessage.h:
2151         Added doc.
2152
2153 2005-10-25  Wim Taymans  <wim@fluendo.com>
2154
2155         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2156         Don't use invalid stream_time.
2157
2158         * gst/gstevent.c: (gst_event_new_newsegment):
2159         stream_time in newsegment cannot be undefined.
2160
2161 2005-10-24  Wim Taymans  <wim@fluendo.com>
2162
2163         * gst/gstbus.c:
2164         Doc fix.
2165
2166         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2167         (gst_queue_loop):
2168         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2169
2170 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2171
2172         * docs/libs/tmpl/gstdparam.sgml:
2173         * docs/libs/tmpl/gstdplinint.sgml:
2174         * docs/libs/tmpl/gstdpman.sgml:
2175         * docs/libs/tmpl/gstdpsmooth.sgml:
2176         * docs/libs/tmpl/gstunitconvert.sgml:
2177           these are obsolete
2178
2179 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2180
2181         * configure.ac:
2182           back to HEAD
2183
2184 === release 0.9.4 ===
2185
2186 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2187
2188         * configure.ac:
2189           releasing 0.9.4, "Tyrannosaurus Rex"
2190
2191 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2192
2193         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2194         (gst_file_sink_get_current_offset):
2195           Use fseeko() and ftello() if available. When falling back on
2196           lseek() to get the current offset, fflush() first to make sure
2197           everything is up-to-date and we get the right offset.
2198
2199 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2200
2201         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2202         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2203         * gst/gsterror.c: (_gst_stream_errors_init):
2204         * gst/gsterror.h:
2205         * gst/gstqueue.c: (gst_queue_loop):
2206         * po/POTFILES.in:
2207           remove prematurely added error category and clean up the instances
2208
2209 2005-10-21  Wim Taymans  <wim@fluendo.com>
2210
2211         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2212         (gst_base_sink_get_position), (gst_base_sink_query),
2213         (gst_base_sink_change_state):
2214         Simply set the right flag when going to playing, that's all
2215         we need to do instead of calling a function inside the object
2216         lock (that could take the lock as well and deadlock)
2217
2218 2005-10-21  Wim Taymans  <wim@fluendo.com>
2219
2220         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2221         (gst_base_src_loop):
2222         Don't warn, the peer element knows what to do best when
2223         the seek failed, it might try something else.
2224
2225 2005-10-21  Wim Taymans  <wim@fluendo.com>
2226
2227         * gst/base/gstbasesrc.c: (gst_base_src_init),
2228         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2229         Fix seeking.
2230
2231 2005-10-21  Wim Taymans  <wim@fluendo.com>
2232
2233         * docs/design/part-segments.txt:
2234         More docs.
2235
2236         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2237         Correctly set caps, even on the subbufer.
2238
2239 2005-10-21  Wim Taymans  <wim@fluendo.com>
2240
2241         * docs/gst/gstreamer-docs.sgml:
2242         * docs/gst/gstreamer-sections.txt:
2243         * gst/gstelement.h:
2244         * gst/gstevent.c:
2245         * gst/gstevent.h:
2246         * gst/gstmessage.h:
2247         * gst/gstpad.h:
2248         * gst/gstparse.h:
2249         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2250         * gst/gsttask.h:
2251         * gst/gstutils.c:
2252         * gst/gstutils.h:
2253         And 2% more doc coverage.
2254
2255 2005-10-21  Andy Wingo  <wingo@pobox.com>
2256
2257         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2258         position reporting.
2259
2260 2005-10-20  Wim Taymans  <wim@fluendo.com>
2261
2262         * gst/gsterror.c: (gst_error_get_message):
2263         * gst/gstparse.h:
2264         * gst/gstquery.h:
2265         * gst/gststructure.c:
2266         * gst/gsttrace.c:
2267         * gst/gstutils.c:
2268         More docs.
2269
2270 2005-10-20  Wim Taymans  <wim@fluendo.com>
2271
2272         * gst/gstbuffer.h:
2273         * gst/gstpad.c:
2274         * gst/gstparse.c:
2275         Another 1% more coverage.
2276
2277 2005-10-20  Wim Taymans  <wim@fluendo.com>
2278
2279         * docs/gst/gstreamer-sections.txt:
2280         * gst/gstelement.c: (gst_element_get_state_func),
2281         (gst_element_abort_state), (gst_element_commit_state),
2282         (gst_element_lost_state):
2283         * gst/gstevent.h:
2284         * gst/gstquery.c: (gst_query_set_position),
2285         (gst_query_parse_position), (gst_query_set_duration),
2286         (gst_query_parse_duration), (gst_query_new_convert):
2287         * gst/gstutils.c:
2288         Yay! 1% more docs coverage.
2289
2290 2005-10-20  Wim Taymans  <wim@fluendo.com>
2291
2292         * gst/gstpad.h:
2293         * gst/gstquery.c: (gst_query_set_position),
2294         (gst_query_parse_position), (gst_query_set_duration),
2295         (gst_query_parse_duration), (gst_query_new_convert):
2296         * gst/gstquery.h:
2297         * gst/gstutils.c: (gst_element_query_convert):
2298         * gst/gstutils.h:
2299         Docs and consistency fixes.
2300
2301 2005-10-20  Wim Taymans  <wim@fluendo.com>
2302
2303         * gst/gsttask.c:
2304         * gst/gsttask.h:
2305         More docs.
2306
2307 2005-10-20  Wim Taymans  <wim@fluendo.com>
2308
2309         * gst/gstbin.c: (message_check), (bin_replace_message),
2310         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2311         (update_degree), (gst_bin_sort_iterator_next),
2312         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2313         Reworked the message handling a bit, cache the messages instead of
2314         only the senders. alows us to do more in the future.
2315
2316 2005-10-20  Wim Taymans  <wim@fluendo.com>
2317
2318         * docs/design/part-TODO.txt:
2319         Update TODO
2320
2321         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2322         (gst_base_sink_query):
2323         Don't use clock time to report position when in EOS.
2324
2325 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2326
2327         * tools/gst-inspect.c: (print_interfaces),
2328         (print_element_properties_info), (print_element_info):
2329           Fix interface output with gst-inspect -a; don't print
2330           newlines after double/float properties.
2331
2332 2005-10-20  Wim Taymans  <wim@fluendo.com>
2333
2334         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2335         (gst_base_sink_query):
2336         Speed up current position calculation.
2337
2338         * gst/base/gstbasesrc.c: (gst_base_src_query),
2339         (gst_base_src_default_newsegment):
2340         Correctly set stream position in newsegment.
2341
2342         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2343         (update_degree), (gst_bin_sort_iterator_next),
2344         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2345         * gst/gstmessage.c: (gst_message_new_custom):
2346         Clean up debugging info
2347
2348         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2349         (gst_queue_loop), (gst_queue_handle_src_query):
2350         Pause task faster.
2351
2352 2005-10-19  Wim Taymans  <wim@fluendo.com>
2353
2354         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2355         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2356         Fix query handling again.
2357
2358 2005-10-19  Wim Taymans  <wim@fluendo.com>
2359
2360         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2361         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2362         * gst/base/gstbasesrc.c: (gst_base_src_query):
2363         * gst/elements/gstfilesink.c: (gst_file_sink_query):
2364         * gst/elements/gsttypefindelement.c:
2365         (gst_type_find_handle_src_query), (find_element_get_length),
2366         (gst_type_find_element_activate):
2367         API change fix.
2368
2369         * gst/gstquery.c: (gst_query_new_position),
2370         (gst_query_set_position), (gst_query_parse_position),
2371         (gst_query_new_duration), (gst_query_set_duration),
2372         (gst_query_parse_duration), (gst_query_set_segment),
2373         (gst_query_parse_segment):
2374         * gst/gstquery.h:
2375         Bundling query position/duration is not a good idea since duration
2376         does not change much and we don't want to recalculate it for every
2377         position query, so they are separated again..
2378         Base value in segment query is not needed.
2379
2380         * gst/gstqueue.c: (gst_queue_handle_src_query):
2381         * gst/gstutils.c: (gst_element_query_position),
2382         (gst_element_query_duration), (gst_pad_query_position),
2383         (gst_pad_query_duration):
2384         * gst/gstutils.h:
2385         Updates for query API change.
2386         Added some docs here and there.
2387
2388 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
2389
2390         * check/gst/gstbin.c: (GST_START_TEST):
2391         * check/gst/gstghostpad.c: (GST_START_TEST):
2392         * check/pipelines/cleanup.c: (GST_START_TEST):
2393           wait on thread to die so we can check refcount correctly
2394
2395 2005-10-18  Wim Taymans  <wim@fluendo.com>
2396
2397         * check/pipelines/stress.c: (GST_START_TEST):
2398         Make check a little more time consuming.
2399
2400 2005-10-18  Wim Taymans  <wim@fluendo.com>
2401
2402         * check/Makefile.am:
2403         * check/pipelines/stress.c: (GST_START_TEST),
2404         (simple_launch_lines_suite), (main):
2405         Small state change torture test.
2406
2407         * docs/design/part-states.txt:
2408         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2409         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2410         (gst_base_sink_change_state):
2411         Never take state lock from streaming thread, clean up ugly
2412         hacks. Unfortunatly core does not yet support nice ways to
2413         async commit state.
2414         
2415         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2416         (bin_bus_handler):
2417         Start state recalc if a STATE_DIRTY message is posted, but only
2418         on the toplevel bin.
2419
2420         * gst/gstelement.c: (gst_element_sync_state_with_parent),
2421         (gst_element_get_state_func), (gst_element_abort_state),
2422         (gst_element_commit_state), (gst_element_lost_state),
2423         (gst_element_set_state_func), (gst_element_change_state):
2424         * gst/gstelement.h:
2425         State variables are now protected with the LOCK, the state
2426         lock is only used to serialize _set_state().
2427
2428 2005-10-18  Wim Taymans  <wim@fluendo.com>
2429
2430         * check/gst/gstbin.c: (GST_START_TEST):
2431         * check/gst/gstmessage.c: (GST_START_TEST):
2432         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2433         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2434         (bin_bus_handler):
2435         * gst/gstelement.c: (gst_element_abort_state),
2436         (gst_element_commit_state), (gst_element_lost_state):
2437         * gst/gstmessage.c: (gst_message_new_state_changed),
2438         (gst_message_new_state_dirty), (gst_message_new_segment_start),
2439         (gst_message_new_segment_done), (gst_message_new_duration),
2440         (gst_message_parse_state_changed),
2441         (gst_message_parse_segment_start),
2442         (gst_message_parse_segment_done), (gst_message_parse_duration):
2443         * gst/gstmessage.h:
2444         * tools/gst-launch.c: (event_loop):
2445         Seriously, this is better than a previous commit as we only need
2446         to notify the fact that an element changed state in a streaming
2447         thread, marking the state of the parents dirty, hence the 
2448         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2449         message.
2450
2451 2005-10-18  Wim Taymans  <wim@fluendo.com>
2452
2453         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2454         (gst_bin_recalc_func):
2455         * gst/gstelement.c: (gst_element_set_clock),
2456         (gst_element_abort_state), (gst_element_lost_state):
2457         Cleanups, prepare for state change fixes.
2458
2459 2005-10-18  Wim Taymans  <wim@fluendo.com>
2460
2461         * gst/gstbin.h:
2462         * gst/gstelement.c: (gst_element_class_init),
2463         (gst_element_set_state), (gst_element_set_state_func):
2464         * gst/gstelement.h:
2465         Pending ABI changes.
2466         GThreadPool in GstBinClass to monitor async state changes.
2467         state_cookie in GstElement to detect concurrent gst/set state.
2468         set_state is now virtual too in case a very complicated element
2469         has to be constructed.
2470
2471 2005-10-18  Wim Taymans  <wim@fluendo.com>
2472
2473         * check/gst/gstbin.c: (GST_START_TEST):
2474         * check/gst/gstmessage.c: (GST_START_TEST):
2475         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2476         * gst/gstbin.c: (bin_bus_handler):
2477         * gst/gstelement.c: (gst_element_commit_state),
2478         (gst_element_lost_state):
2479         * gst/gstmessage.c: (gst_message_new_state_changed),
2480         (gst_message_new_segment_start), (gst_message_new_segment_done),
2481         (gst_message_new_duration), (gst_message_parse_state_changed),
2482         (gst_message_parse_segment_start),
2483         (gst_message_parse_segment_done), (gst_message_parse_duration):
2484         * gst/gstmessage.h:
2485         * tools/gst-launch.c: (event_loop):
2486         Make messages future proof.
2487         state-change gets a flag if it was a message comming from the
2488         streaming thread.
2489         segment-start/stop can also be specified in other formats.
2490         A message to notify an app that a pipeline changed playback 
2491         duration.
2492         Also fix a GstMessage leak in -launch
2493
2494 2005-10-18  Andy Wingo  <wingo@pobox.com>
2495
2496         * gst/gstelement.c (gst_element_dispose): More helpful message.
2497
2498 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2499
2500         reviewed by: <delete if not using a buddy>
2501
2502         * common/gtk-doc.mak:
2503
2504 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2505
2506         * gst/gstregistry.c: (gst_registry_scan_path_level):
2507           unref a plug-in we get that was already initialized
2508
2509 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
2510
2511         * docs/gst/gstreamer-sections.txt:
2512         * docs/libs/gstreamer-libs-sections.txt:
2513         * gst/gstelement.h:
2514           add new api entries
2515           hide internal macro
2516
2517 2005-10-17  Andy Wingo  <wingo@pobox.com>
2518
2519         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2520         cleanup.
2521
2522         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2523
2524         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2525
2526         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2527         (gst_element_get_state_func): Better debug message.
2528         (gst_element_commit_state): s/INFO/DEBUG/.
2529         (gst_element_lost_state, gst_element_change_state): 
2530
2531         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2532         (gst_message_new_custom): s/INFO/LOG/.
2533
2534 2005-10-17  Michael Smith <msmith@fluendo.com>
2535
2536         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2537           Check if end time is valid using end time, not start time.
2538
2539 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
2540
2541         * check/gst-libs/controller.c: (GST_START_TEST),
2542         (gst_controller_suite):
2543         * libs/gst/controller/gstcontroller.c:
2544         (gst_controlled_property_set_interpolation_mode):
2545         * libs/gst/controller/gstcontroller.h:
2546         * libs/gst/controller/gstinterpolation.c:
2547         * testsuite/controller/.cvsignore:
2548         * testsuite/controller/Makefile.am:
2549         * testsuite/controller/interpolator.c:
2550           merge controller testsuites
2551           fix broken tests
2552           remove mem-chunk from docs
2553
2554 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2555
2556         * gst/gstmemchunk.c:
2557         * gst/gstmemchunk.h:
2558         * gst/gsttrashstack.c:
2559         * gst/gsttrashstack.h:
2560           out.  get out.  you're fired.  to the Attic !
2561
2562 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2563
2564         * gst/gstcaps.c: (gst_caps_intersect):
2565           fix signedness issues in a (hopefully) correct way
2566         * gst/gstelement.c: (gst_element_pads_activate):
2567           some debugging
2568         * gst/gstobject.c: (gst_object_set_parent):
2569           some debugging
2570
2571 2005-10-17  Julien MOUTTE  <julien@moutte.net>
2572
2573         * gst/gstvalue.h: Fix prototypes.
2574
2575 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2576
2577         * docs/gst/gstreamer-sections.txt:
2578         * gst/gst.c: (gst_version_string):
2579         * gst/gst.h:
2580         * gst/gstversion.h.in:
2581         * win32/common/libgstreamer.def:
2582           add gst_version_string ()
2583
2584 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2585
2586         * configure.ac:
2587           clean up further
2588         * gst/gst.c: (init_post):
2589         * win32/common/config.h.in:
2590           it's PLUGINDIR now
2591         * gst/gstcaps.c: (gst_caps_intersect):
2592           use gint64, the range could be bigger than a guint
2593
2594 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2595
2596         * gst/gstclock.h:
2597           document potential problem in 2038
2598
2599 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2600
2601         * gst/gstcaps.c: (gst_caps_intersect):
2602           Fix guint j diving under 0
2603
2604 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2605
2606         * configure.ac:
2607         * win32/common/config.h:
2608         * win32/common/config.h.in:
2609           check for process.h, declares getpid() on Windows
2610         * gst/gstinfo.c:
2611           include process.h if we have it
2612         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2613         * gst/gstmemchunk.h:
2614           fix signedness issues
2615         * win32/common/libgstreamer.def:
2616           fix get_type's
2617
2618 2005-10-16  Julien MOUTTE  <julien@moutte.net>
2619
2620         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2621         fix. Because of unsigned ints, caps intersection was going nuts and
2622         trying to access structures with G_MAXUINT index. That fixes
2623         videotestsrc ! ffmpegcolorspace ! fakesink
2624         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2625         consistency.
2626
2627 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2628
2629         * configure.ac:
2630           use the gettext macro
2631         * gst/elements/gstelements.c:
2632         * gst/gst.c:
2633         * gst/indexers/gstindexers.c:
2634           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2635         * win32/common/config.h:
2636           updated config.h
2637         * win32/common/config.h.in:
2638           add the template to generate config.h
2639         * win32/common/gstenumtypes.c:
2640         * win32/common/gstversion.h:
2641           updated copies
2642
2643 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2644
2645         * gst/gst.c: (gst_version):
2646         * gst/gstversion.h.in:
2647           add the nano
2648
2649 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2650
2651         * gst/gstevent.h:
2652           Oops, add missing closing bracket.
2653
2654 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2655
2656         * configure.ac:
2657           use common m4's for argument checking
2658
2659 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2660
2661         * docs/gst/gstreamer-sections.txt:
2662         * gst/gstevent.h:
2663           Add GST_EVENT_TYPE_NAME() macro.
2664
2665 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2666
2667         * gst/gstinfo.c:
2668         * gst/gstpluginfeature.c:
2669         * gst/gsttask.c:
2670           privatize more symbols
2671
2672 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2673
2674         * configure.ac:
2675           add srcdir, builddir includes to GST_ALL_CFLAGS, since
2676           everything that uses GStreamer API should have the includes
2677
2678 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2679
2680         * docs/gst/gstreamer-sections.txt:
2681         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2682         * gst/gstvalue.h:
2683           give each value a _get_type, removes the DATA exports
2684
2685 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2686
2687         * gst/gst.c:
2688         * gst/gst.h:
2689           remove _gst_registry_auto_load, not used anymore
2690         * gst/gstbin.c: (gst_bin_get_type):
2691         * gst/gstbin.h:
2692         * gst/gstelement.c: (gst_element_get_type):
2693         * gst/gstelement.h:
2694         * gst/gstobject.c: (gst_object_get_type):
2695         * gst/gstobject.h:
2696         * gst/gstpad.c: (gst_pad_get_type):
2697         * gst/gstpad.h:
2698           make _get_type functions similar, fixes data export from library
2699
2700 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2701
2702         * configure.ac:
2703           correctly make conditionals
2704         * gst/elements/Makefile.am:
2705         * gst/elements/gstelements.c:
2706           fix typo causing fdsrc not to build
2707
2708 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2709
2710         * testsuite/Makefile.am:
2711         * testsuite/bytestream/.cvsignore:
2712         * testsuite/bytestream/Makefile.am:
2713         * testsuite/bytestream/filepadsink.c:
2714         * testsuite/bytestream/gstbstest.c:
2715         * testsuite/bytestream/test1.c:
2716         * testsuite/bytestream/testfile1:
2717         * testsuite/caps/normalisation.c:
2718         * testsuite/caps/random.c: (main):
2719         * testsuite/cleanup/.cvsignore:
2720         * testsuite/cleanup/Makefile.am:
2721         * testsuite/cleanup/cleanup1.c:
2722         * testsuite/cleanup/cleanup2.c:
2723         * testsuite/cleanup/cleanup3.c:
2724         * testsuite/cleanup/cleanup4.c:
2725         * testsuite/cleanup/cleanup5.c:
2726         * testsuite/controller/interpolator.c:
2727         * testsuite/debug/printf_extension.c: (main):
2728         * testsuite/elements/tee.c:
2729         * testsuite/negotiation/.cvsignore:
2730         * testsuite/negotiation/Makefile.am:
2731         * testsuite/negotiation/pad_link.c:
2732         * testsuite/pad/Makefile.am:
2733         * testsuite/pad/chainnopull.c:
2734         * testsuite/pad/getnopush.c:
2735         * testsuite/pad/link.c:
2736         * testsuite/refcounting/sched.c: (create_pipeline):
2737         * testsuite/registry/Makefile.am:
2738         * testsuite/registry/gst-print-formats.c:
2739         * testsuite/schedulers/.cvsignore:
2740         * testsuite/schedulers/142183-2.c:
2741         * testsuite/schedulers/142183.c:
2742         * testsuite/schedulers/143777-2.c:
2743         * testsuite/schedulers/143777.c:
2744         * testsuite/schedulers/147713.c:
2745         * testsuite/schedulers/147819.c:
2746         * testsuite/schedulers/147894-2.c:
2747         * testsuite/schedulers/147894.c:
2748         * testsuite/schedulers/Makefile.am:
2749         * testsuite/schedulers/group_link.c:
2750         * testsuite/schedulers/queue_link.c:
2751         * testsuite/schedulers/relink.c:
2752         * testsuite/schedulers/unlink.c:
2753         * testsuite/schedulers/unref.c:
2754         * testsuite/schedulers/useless_iteration.c:
2755         * testsuite/states/bin.c:
2756           clean out/remove some stuff from the testsuite directories
2757
2758 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2759
2760         * configure.ac:
2761           check for some headers
2762         * gst/elements/Makefile.am:
2763         * gst/elements/gstelements.c:
2764           don't compile fdsrc without sys/socket.h
2765         * gst/indexers/Makefile.am:
2766         * gst/indexers/gstindexers.c: (plugin_init):
2767           don't compile fileindex without mmap
2768
2769 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2770
2771         * configure.ac:
2772           reorganize
2773           clean up
2774           document more
2775           remove cruft
2776         * check/Makefile.am:
2777         * docs/gst/Makefile.am:
2778         * examples/helloworld/Makefile.am:
2779         * gst/Makefile.am:
2780         * gst/base/Makefile.am:
2781         * gst/check/Makefile.am:
2782         * gst/elements/Makefile.am:
2783         * gst/indexers/Makefile.am:
2784         * gst/parse/Makefile.am:
2785         * libs/gst/controller/Makefile.am:
2786         * libs/gst/dataprotocol/Makefile.am:
2787         * examples/helloworld/helloworld.c: (event_loop):
2788           compile fixes, though it's not being compiled currently
2789
2790 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2791
2792         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2793           Add some simple tests for the new taglist date API.
2794
2795 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2796
2797         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2798         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2799           Beautify 'last-message' output: print 'none' for buffer timestamps
2800           and durations if none is set; improve alignment with next messages.
2801
2802 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2803
2804         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2805         * gst/gstpluginfeature.h:
2806         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2807         * gst/gstregistry.h:
2808         * docs/gst/gstreamer-sections.txt:
2809           Add new API to check plugin feature version requirements.
2810
2811         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2812           Some basic tests for the above.         
2813
2814 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2815
2816         * gst/gststructure.c: (gst_structure_to_string):
2817           guard against NULL printf - happens when for example
2818           a message structure with GstClock gets serialized
2819
2820 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2821
2822         * gst/base/gstcollectpads.c: (gst_collectpads_event):
2823           Fix presumable copy'n'pasto.
2824
2825 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2826
2827         * gst/elements/gstfakesrc.h:
2828         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
2829         * gst/elements/gsttypefindelement.c:
2830           fix some signedness
2831         * gst/elements/gstfilesink.c: (gst_file_sink_render):
2832           I wonder if this could actually write +2GB files before
2833
2834 2005-10-13  Andy Wingo  <wingo@pobox.com>
2835
2836         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
2837         Fix Timmeke Waymans bug.
2838         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
2839         string of the proper length to gst_caps_from_string. There's a
2840         potential for, before this fix, that this could cause someone
2841         connecting over the network to cause a segfault if the payload is
2842         not NUL-terminated.
2843
2844 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
2845
2846         * docs/design/draft-push-pull.txt:
2847         * docs/design/part-overview.txt:
2848         * docs/random/TODO-pre-0.9:
2849         * docs/random/old/ChangeLog.gstreamer:
2850         * gst/base/gstpushsrc.c:
2851         * gst/gstclock.c:
2852           fixed typos
2853
2854 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2855
2856         * gst/glib-compat.c: (gst_flags_get_first_value):
2857         * gst/glib-compat.h:
2858         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
2859         (gst_value_compare_double), (gst_value_serialize_flags):
2860           GLib 2.6 g_flags_get_first_value has a bug that triggers an
2861           infinite loop
2862
2863 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2864
2865         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2866         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2867           fix up debugging
2868         * tools/gst-launch.c: (event_loop):
2869           print out clock nicely
2870
2871 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2872
2873         * docs/gst/gstreamer-sections.txt:
2874         * gst/gsttaglist.h:
2875         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
2876         (gst_tag_list_get_date_index):
2877           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
2878           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
2879
2880 2005-10-13  Julien MOUTTE  <julien@moutte.net>
2881
2882         * gst/base/gstcollectpads.c: (gst_collectpads_event),
2883         (gst_collectpads_chain):
2884         * gst/base/gstcollectpads.h: Handle newsegment and store informations
2885         in CollectData.
2886
2887 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
2888
2889         * docs/gst/gstreamer-sections.txt:
2890         * gst/gst.c:
2891         * gst/gsterror.h:
2892         * tools/gst-inspect.c: (main):
2893         * tools/gst-launch.c: (main):
2894         * tools/gst-run.c: (main):
2895         * tools/gst-xmlinspect.c: (main):
2896           fix GOption context leaks
2897           doc fixes
2898
2899 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2900
2901         * gst/gstbus.c:
2902           use HAVE_UNISTD_H
2903         * win32/common/config.h:
2904           update config
2905         * win32/vs6/grammar.dsp:
2906         * win32/vs6/libgstelements.dsp:
2907         * win32/vs6/libgstreamer.dsp:
2908           update vs6 files
2909
2910 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2911
2912         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2913         * gst/base/gstbasesrc.c: (gst_base_src_query):
2914           fix more guint64<->gdouble conversions
2915
2916 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2917
2918         * Makefile.am:
2919           add win32-update target
2920         * win32/common/gstconfig.h:
2921         * win32/common/gstenumtypes.c:
2922         * win32/common/gstenumtypes.h:
2923         * win32/common/gstversion.h:
2924           add files that visual studio can't generate
2925
2926 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2927
2928         * Makefile.am:
2929           add a win32-update target
2930         * configure.ac:
2931
2932 2005-10-12  Wim Taymans  <wim@fluendo.com>
2933
2934         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2935         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
2936         * gst/gstelement.c: (gst_element_commit_state),
2937         (gst_element_set_state):
2938         Protect flags with proper lock.
2939         unref provided cached clock in dispose.
2940
2941 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
2942
2943         * gst/gst.c:
2944         * gst/gstminiobject.h:
2945         * gst/gstpad.h:
2946         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
2947           removed unused flags from miniobject
2948           doc fixes
2949
2950 2005-10-12  Wim Taymans  <wim@fluendo.com>
2951
2952         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2953         (gst_file_sink_event), (gst_file_sink_render):
2954         Flush before seeking.
2955
2956 2005-10-12  Andy Wingo  <wingo@pobox.com>
2957
2958         * gst/gst.c (gst_init_check): Ignore unknown options, as has
2959         always been the case.
2960
2961 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
2962
2963         * check/gst/gstbin.c: (GST_START_TEST):
2964         * docs/gst/gstreamer-sections.txt:
2965         * gst/base/gstbasesink.c: (gst_base_sink_init):
2966         * gst/base/gstbasesrc.c: (gst_base_src_init),
2967         (gst_base_src_get_range), (gst_base_src_check_get_range),
2968         (gst_base_src_start), (gst_base_src_stop):
2969         * gst/base/gstbasesrc.h:
2970         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
2971         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2972         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
2973         (bin_bus_handler):
2974         * gst/gstbin.h:
2975         * gst/gstbuffer.h:
2976         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
2977         * gst/gstbus.h:
2978         * gst/gstelement.c: (gst_element_is_locked_state),
2979         (gst_element_set_locked_state), (gst_element_commit_state),
2980         (gst_element_set_state):
2981         * gst/gstelement.h:
2982         * gst/gstindex.c: (gst_index_init):
2983         * gst/gstindex.h:
2984         * gst/gstminiobject.h:
2985         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
2986         (gst_object_set_parent):
2987         * gst/gstobject.h:
2988         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
2989         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
2990         * gst/gstpad.h:
2991         * gst/gstpadtemplate.h:
2992         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
2993         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2994         * gst/gstpipeline.h:
2995         * gst/indexers/gstfileindex.c: (gst_file_index_load),
2996         (gst_file_index_commit):
2997         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
2998         * testsuite/pad/link.c: (gst_test_src_init),
2999         (gst_test_filter_init), (gst_test_sink_init):
3000         * testsuite/states/locked.c: (main):
3001           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3002           moved bitshift from macro to enum definition
3003
3004 2005-10-12  Wim Taymans  <wim@fluendo.com>
3005
3006         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3007         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3008         (gst_file_sink_render):
3009         Some more debugging info.
3010
3011 2005-10-12  Wim Taymans  <wim@fluendo.com>
3012
3013         * docs/design/part-states.txt:
3014         * tools/gst-launch.c: (main):
3015         Some doc updates.
3016         Revert non-intentional change.
3017
3018 2005-10-12  Wim Taymans  <wim@fluendo.com>
3019
3020         * check/gst/gstbin.c: (GST_START_TEST):
3021         * check/gst/gstelement.c: (GST_START_TEST):
3022         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3023         * check/gst/gstghostpad.c: (GST_START_TEST):
3024         * check/gst/gstpipeline.c: (GST_START_TEST):
3025         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3026         * check/states/sinks.c: (GST_START_TEST):
3027         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3028         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3029         (gst_bin_remove_func), (gst_bin_get_state_func),
3030         (gst_bin_recalc_state), (gst_bin_change_state_func),
3031         (bin_bus_handler):
3032         * gst/gstelement.c: (gst_element_get_state_func),
3033         (gst_element_get_state), (gst_element_abort_state),
3034         (gst_element_commit_state), (gst_element_set_state),
3035         (gst_element_change_state), (gst_element_change_state_func):
3036         * gst/gstelement.h:
3037         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3038         (gst_pipeline_provide_clock_func):
3039         * gst/gstutils.c: (gst_element_link_pads_filtered):
3040         * tools/gst-launch.c: (main):
3041         * tools/gst-typefind.c: (main):
3042         Use GstClockTime in _get_state() instead of GTimeVal.
3043         Remove old code in gstutils.c
3044
3045 2005-10-12  Andy Wingo  <wingo@pobox.com>
3046
3047         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3048         removed.
3049
3050         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3051         there is no task. Shouldn't affect any code, as nothing in our
3052         plugins checks this return value.
3053         (gst_pad_stop_task): Also take the stream lock if the pad has no
3054         task. Docs updated.
3055
3056 2005-10-12  Wim Taymans  <wim@fluendo.com>
3057
3058         * gst/gstpad.c: (pre_activate), (post_activate),
3059         (gst_pad_activate_pull), (gst_pad_activate_push):
3060         Cleanup activation code. Reset old state if
3061         activation failed.
3062
3063 2005-10-12  Wim Taymans  <wim@fluendo.com>
3064
3065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3066         (gst_base_sink_change_state):
3067         No need to prerol after receiving EOS.
3068
3069         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3070         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3071         * gst/elements/gstidentity.c: (gst_identity_event):
3072         Print events more verbosely.
3073
3074 2005-10-12  Wim Taymans  <wim@fluendo.com>
3075
3076         * check/Makefile.am:
3077         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3078         * check/states/sinks2.c:
3079         Moved sinks2 testcode in sinks check.
3080
3081         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3082         (gst_bin_remove_func), (gst_bin_recalc_state),
3083         (gst_bin_change_state_func), (bin_bus_handler):
3084         Fix potential race condition when _get_state() iterated over an
3085         ASYNC element right before it posted a state completion.
3086
3087         * gst/gstclock.h:
3088         Do proper cast here.
3089
3090         * gst/gstevent.c: (gst_event_new_newsegment),
3091         (gst_event_parse_newsegment):
3092         A playback rate of 0.0 is not allowed.
3093
3094 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3095
3096         * win32/common/config.h:
3097         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3098         (_trewinddir), (_ttelldir), (_tseekdir):
3099         * win32/common/dirent.h:
3100         * win32/common/gtchar.h:
3101         * win32/common/libgstbase.def:
3102         * win32/common/libgstreamer.def:
3103         * win32/vs6/grammar.dsp:
3104         * win32/vs6/gst_inspect.dsp:
3105         * win32/vs6/gst_launch.dsp:
3106         * win32/vs6/gstreamer.dsw:
3107         * win32/vs6/libgstbase.dsp:
3108         * win32/vs6/libgstelements.dsp:
3109         * win32/vs6/libgstreamer.dsp:
3110           Visual Studio 6 project files, and a new common directory.
3111           Phear.
3112
3113 2005-10-11  Wim Taymans  <wim@fluendo.com>
3114
3115         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3116         (gst_base_sink_do_sync), (gst_base_sink_query),
3117         (gst_base_sink_change_state):
3118         * gst/base/gstbasesink.h:
3119         Correctly parse newsegment info.
3120
3121 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3122
3123         * gst/gst.c: (init_post):
3124           split plugin paths correctly
3125
3126 2005-10-11  Wim Taymans  <wim@fluendo.com>
3127
3128         * check/gst/gstevent.c: (GST_START_TEST):
3129         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3130         (gst_base_sink_change_state):
3131         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3132         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3133         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3134         * gst/gstevent.c: (gst_event_new_newsegment),
3135         (gst_event_parse_newsegment):
3136         * gst/gstevent.h:
3137         Added extra flag to newsegment for future API freeze.
3138         Updated check and base elements.
3139
3140 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3141
3142         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3143         (gst_collectpads_add_pad), (gst_collectpads_pop),
3144         (gst_collectpads_event), (gst_collectpads_chain):
3145         * gst/base/gstcollectpads.h: Handle EOS correctly.
3146
3147 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3148
3149         * tools/gst-launch.c: (main):
3150           more null protecting
3151
3152 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3153
3154         * gst/gst-i18n-lib.h:
3155           check for ENABLE_NLS, not GETTEXT_PACKAGE
3156         * gst/gstregistry.c: (gst_registry_add_plugin),
3157         (gst_registry_scan_path_level),
3158         (_gst_registry_remove_cache_plugins):
3159           protect possibly NULL strings
3160         * gst/parse/types.h:
3161           config.h already included before
3162         * tools/gst-inspect.c: (main):
3163           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3164           check for ENABLE_NLS, not GETTEXT_PACKAGE
3165         * tools/gst-launch.c: (main):
3166           check for ENABLE_NLS, not GETTEXT_PACKAGE
3167
3168 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3169
3170         * configure.ac:
3171           if we don't have glib, fail before testing 2.8
3172         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3173           fix a leak, should fix plugins-base testsuite
3174
3175 2005-10-11  Andy Wingo  <wingo@pobox.com>
3176
3177         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3178         take the mode we're going to as an arg. Go head and set the mode
3179         and flushing flags now, so that if the activate function starts a
3180         thread all the flags will be in the right state.
3181         (post_activate): Renamed also. Just handle making sure streaming
3182         finishes for the deactivation case, and setting the deactivated
3183         mode.
3184         (gst_pad_set_active): Complain loudly if deactivation fails.
3185         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3186         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3187         remove the terrible hack.
3188
3189 2005-10-11  Wim Taymans  <wim@fluendo.com>
3190
3191         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3192         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3193         (gst_bin_recalc_state), (gst_bin_change_state_func),
3194         (gst_bin_dispose), (bin_bus_handler):
3195         * gst/gstbin.h:
3196         Prepare to make current EOS message queue more generic.
3197         Fix some typos.
3198
3199         * gst/gstevent.c: (gst_event_new_newsegment),
3200         (gst_event_parse_newsegment):
3201         * gst/gstevent.h:
3202         Rename base to stream_time.
3203
3204         * gst/gstmessage.h:
3205         Fix typo in docs.
3206
3207 2005-10-11  Wim Taymans  <wim@fluendo.com>
3208
3209         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3210         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3211         (gst_bin_change_state_func), (bin_bus_handler):
3212         * gst/gstbin.h:
3213         Work on proper clock selection.
3214
3215 2005-10-11  Edward Hervey  <edward@fluendo.com>
3216
3217         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3218         * libs/gst/controller/gstcontroller.h:
3219         Added GList* version of _remove_properties() in order to be able to wrap
3220         it in bindings.
3221
3222 2005-10-11  Wim Taymans  <wim@fluendo.com>
3223
3224         * docs/design/part-states.txt:
3225         Some more docs.
3226
3227         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3228         (gst_bin_change_state_func), (bin_bus_handler):
3229         Doc updates. Don't distribute the same clock over and over again.
3230
3231         * gst/gstclock.c:
3232         * gst/gstclock.h:
3233         Doc updates.
3234
3235         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3236         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3237         (gst_pad_send_event):
3238         * gst/gstpad.h:
3239         Make probe emission threadsafe again.
3240         Register quarks and move _get_name() from utils.
3241         Doc updates.
3242
3243         * gst/gstpipeline.c: (gst_pipeline_class_init),
3244         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3245         Only redistribute the clock of it changed.
3246
3247         * gst/gstsystemclock.h:
3248         Doc updates. 
3249
3250         * gst/gstutils.c:
3251         * gst/gstutils.h:
3252         Moved the _flow_get_name() to GstPad.
3253
3254 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3255
3256         * check/gst-libs/gdp.c: (GST_START_TEST):
3257         * check/gst/gstcaps.c: (GST_START_TEST):
3258         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3259         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3260         (gst_dp_packet_from_caps):
3261           fix more valgrind warnings before turning up the heat
3262
3263 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3264
3265         * gst/parse/grammar.y:
3266           some cleanup before the hacking
3267
3268 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3269
3270         * gst/base/gstbasesrc.c: (gst_base_src_query):
3271           use conversions
3272         * gst/gstutils.c: (gst_guint64_to_gdouble),
3273         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3274         * gst/gstutils.h:
3275           externalize, basesrc uses it
3276           obviously the implementation needs testing
3277
3278 2005-10-10  Wim Taymans  <wim@fluendo.com>
3279
3280         * tests/sched/Makefile.am:
3281         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3282         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3283
3284 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3285
3286         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3287           apparently converting from guint64 to double is not implemented
3288           on MSVC
3289
3290 2005-10-10  Wim Taymans  <wim@fluendo.com>
3291
3292         * check/Makefile.am:
3293         * check/generic/states.c: (GST_START_TEST):
3294         * check/gst/gstbin.c: (GST_START_TEST):
3295         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3296         * check/states/sinks.c: (GST_START_TEST):
3297         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3298         (main):
3299         Check fixes, use API as stated in design docs, remove hacks.
3300
3301         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3302         (gst_base_sink_change_state):
3303         Catch stopping our task while we're shutting down.
3304
3305         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3306         (gst_bin_remove_func), (gst_bin_get_state_func),
3307         (gst_bin_recalc_state), (gst_bin_change_state_func),
3308         (bin_bus_handler):
3309         * gst/gstbin.h:
3310         * gst/gstelement.c: (gst_element_init),
3311         (gst_element_get_state_func), (gst_element_abort_state),
3312         (gst_element_commit_state), (gst_element_lost_state),
3313         (gst_element_set_state), (gst_element_change_state),
3314         (gst_element_change_state_func):
3315         * gst/gstelement.h:
3316         New state change algorithm (see #318116)
3317
3318         * gst/gstpipeline.c: (gst_pipeline_class_init),
3319         (gst_pipeline_init), (gst_pipeline_set_property),
3320         (gst_pipeline_get_property), (do_pipeline_seek),
3321         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3322         * gst/gstpipeline.h:
3323         Remove crude state change hacks.
3324
3325         * gst/gstutils.h:
3326         Remove crude hacks.
3327
3328         * tools/gst-launch.c: (main):
3329         Fixes for state change. Needs some more work to fully use the
3330         new stuff.
3331
3332 2005-10-10  Andy Wingo  <wingo@pobox.com>
3333
3334         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3335
3336         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3337         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3338         issue.
3339
3340 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3341
3342         * gst/gstiterator.c: (gst_iterator_new):
3343           Fix my previous commit: GTypes passed to gst_iterator_new()
3344           can be fundamental types.
3345
3346 2005-10-10  Wim Taymans  <wim@fluendo.com>
3347
3348         * gst/gstelement.c: (gst_element_iterate_pad_list),
3349         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3350         (gst_element_iterate_sink_pads):
3351         Use src/sink pads lists for the respective iterators instead
3352         of filtering.
3353
3354 2005-10-10  Andy Wingo  <wingo@pobox.com>
3355
3356         Merged in popt removal + GOption addition patch from Ronald, bug
3357         #169772.
3358
3359         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3360         GstElement macros around, remove popt-related symbols, add goption
3361         stuff.
3362
3363         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3364         
3365         * docs/gst/Makefile.am:
3366         * docs/libs/Makefile.am: No POPT_CFLAGS.
3367         
3368         * examples/manual/Makefile.am:
3369         * docs/manual/basics-init.xml: Doc updates with an example.
3370         
3371         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3372         (gst_init), (parse_one_option), (parse_goption_arg):
3373         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3374         bit of hand merging and debugging to get the GOption stuff working
3375         tho.
3376         
3377         * tests/Makefile.am:
3378         * tools/Makefile.am:
3379         * tools/gst-inspect.c: (main):
3380         * tools/gst-launch.c: (main):
3381         * tools/gst-run.c: (main):
3382         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3383
3384 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3385
3386         * gst/gstiterator.c: (gst_iterator_new):
3387           Add assertions to make sure passed GType is likely to really
3388           be a GType (as the compiler won't catch it if the size and
3389           GType arguments get mixed up, see #318447).
3390
3391 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
3392
3393         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3394
3395         * gst/gstbin.c: (gst_bin_iterate_sorted):
3396           Pass GType and size arguments to gst_iterator_new() in the right
3397           order (maybe we should make _new() take the GType as first argument
3398           just like _new_list()?) (#318447).
3399           
3400
3401 2005-10-10  Wim Taymans  <wim@fluendo.com>
3402
3403         * gst/gstelement.c: (gst_element_finalize):
3404         And free the GStaticRecMutex too
3405
3406 2005-10-10  Andy Wingo  <wingo@pobox.com>
3407
3408         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3409         Allocate and free the mutex properly.
3410
3411         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3412         New macros.
3413         (GstElement): The state_lock is now recursive. Rebuild your
3414         plugins, suckers. Old macros adapted.
3415
3416         * docs/gst/gstreamer-sections.txt: Doc updates.
3417
3418         * gst/gstutils.h:
3419         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
3420         (g_static_rec_cond_wait): Ported from state changes patch, while
3421         we wait on bug #317802 to be solved in a well-distributed GLib.
3422
3423         * gst/gstelement.c (gst_element_change_state_func): Renamed from
3424         gst_element_change_state, variable name changes.
3425         (gst_element_change_state): Split out of gst_element_set_state in
3426         preparation for the state change merge. Doesn't pay attention to
3427         the 'transition' argument.
3428         (gst_element_set_state): Updates, hopefully purely cosmetic.
3429         (gst_element_sync_state_with_parent): MT-safety. Ported from the
3430         state change patch.
3431         (gst_element_get_state_func): Renamed from get_state, cosmetic
3432         changes.
3433
3434 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3435
3436         * gst/elements/gstelements.c:
3437         * win32/GStreamer.vcproj:
3438         * win32/config.h:
3439         * win32/dirent.c: (_tseekdir):
3440         * win32/gst-inspect.vcproj:
3441         * win32/gst-launch.vcproj:
3442         * win32/gstconfig.h:
3443         * win32/gstelements.vcproj:
3444         * win32/gstenumtypes.c: (gst_object_flags_get_type):
3445         * win32/gstreamer.def:
3446         * win32/msvc71.sln:
3447           updates for the win32 build (patch from Sebastien Moutte)
3448
3449 2005-10-10  Andy Wingo  <wingo@pobox.com>
3450
3451         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3452         gst_bin_get_state, cleaned up (but no logic changes).
3453         (bin_element_is_sink): Comment updates.
3454         (sink_iterator_filter): Remove needless cast.
3455         (gst_bin_iterate_sinks): Doc update.
3456         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3457         cleaned up (but no logic changes).
3458
3459         * check/states/sinks.c (test_src_sink): Cleanups from the state
3460         change patch.
3461         (test_livesrc_sink): Sync on the state.
3462
3463         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3464         the state change patch.
3465
3466         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3467         change patch.
3468
3469         * check/gst/gstbin.c: Merge in some style fixes and additional
3470         checks from Wim's state change patch.
3471
3472 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3473
3474         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3475         (gst_type_find_helper):
3476           Check whether we have the requested data already in our list of
3477           cached buffers before pulling a new buffer; also make the buffer
3478           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3479
3480 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3481
3482         * gst/gstcaps.c:
3483         * gst/gstevent.c:
3484           doc updates
3485         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3486           don't use long long, it's not portable.  Replacing with
3487           gint64 seems to work; let's hope no skeletons fall out of the closet.
3488
3489 2005-10-10  Andy Wingo  <wingo@pobox.com>
3490
3491         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3492
3493 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
3494
3495         * docs/gst/gstreamer-sections.txt:
3496         * gst/gstevent.c:
3497         * gst/gstevent.h:
3498         * gst/gstinfo.c:
3499         * gst/gstinfo.h:
3500         * gst/gstmessage.c: (gst_message_parse_state_changed):
3501         * gst/gstpad.c:
3502         * gst/gstpad.h:
3503           more docs, fix compilation
3504
3505 2005-10-09  Philippe Khalaf <burger@speedy.org>
3506         * gst/gstmessage.c:
3507           Fixed a few forgotten variables on previous commit
3508
3509 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3510
3511         * gst/base/gsttypefindhelper.c: (helper_find_peek):
3512           Fix evil typefind crasher: getrange() might return a short
3513           buffer at the end of a file, but gst_type_find_peek() must
3514           either return the full data as requested or NULL, but
3515           never a short buffer.
3516
3517 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3518
3519         * gst/gstmessage.c: (gst_message_new_state_changed),
3520         (gst_message_parse_state_changed):
3521         * gst/gstmessage.h:
3522           don't use "new", it's a C++ keyword
3523
3524 2005-10-08  Wim Taymans  <wim@fluendo.com>
3525
3526         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3527         * gst/gstelement.c: (gst_element_post_message):
3528         * gst/gstpipeline.c: (gst_pipeline_change_state):
3529         Small docs and debug updates.
3530
3531 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3532
3533         * docs/gst/gstreamer-sections.txt:
3534         * gst/gstelementfactory.c:
3535         * gst/gstevent.c:
3536         * gst/gsttaglist.c:
3537           more docs
3538
3539 2005-10-08  Wim Taymans  <wim@fluendo.com>
3540
3541         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3542         (gst_bin_dispose), (bin_bus_handler):
3543         Fix typos, add comments.
3544         Clear EOS list when going to PAUSED from any direction and do it
3545         in a threadsafe way.
3546         Get base time in a threadsafe way too.
3547         Fix confusing debug in the change_state function.
3548         Various other small cleanups.
3549         
3550         * gst/gstelement.c: (gst_element_post_message):
3551         Fix very verbose bus posting code.
3552
3553         * gst/gstpipeline.c: (gst_pipeline_class_init),
3554         (gst_pipeline_set_property), (gst_pipeline_get_property),
3555         (gst_pipeline_change_state):
3556         Small ARG_ -> PROP_ cleanup
3557
3558 2005-10-08  Wim Taymans  <wim@fluendo.com>
3559
3560         * gst/gstbin.c: (is_eos), (bin_bus_handler):
3561         Do a less CPU demanding EOS check because we can.
3562
3563 2005-10-08  Wim Taymans  <wim@fluendo.com>
3564
3565         * libs/gst/dataprotocol/dataprotocol.c:
3566         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3567         (gst_dp_packet_from_event):
3568         * libs/gst/dataprotocol/dataprotocol.h:
3569         * libs/gst/dataprotocol/dp-private.h:
3570         It's about time we bump the version number.
3571         Since event types don't fit in the guint8 anymore describing
3572         the payload type, make payload type 16 bits wide.
3573
3574 2005-10-08  Wim Taymans  <wim@fluendo.com>
3575
3576         * docs/design/part-TODO.txt:
3577         * docs/design/part-clocks.txt:
3578         * docs/design/part-events.txt:
3579         * docs/design/part-gstbin.txt:
3580         * docs/design/part-gstelement.txt:
3581         * docs/design/part-gstpipeline.txt:
3582         * docs/design/part-live-source.txt:
3583         * docs/design/part-messages.txt:
3584         * docs/design/part-overview.txt:
3585         * docs/design/part-states.txt:
3586         Many doc updates.
3587
3588 2005-10-08  Wim Taymans  <wim@fluendo.com>
3589
3590         * gst/gstevent.c:
3591         * gst/gstevent.h:
3592         Fix event quark registration.
3593         Add some space between events so we can insert them in the
3594         right groups.
3595
3596 2005-10-08  Wim Taymans  <wim@fluendo.com>
3597
3598         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3599         (gst_base_sink_handle_buffer):
3600         Better log message.
3601
3602         * gst/gstbus.h:
3603         * gst/gstelement.h:
3604         More docs.
3605
3606         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3607         (gst_queue_set_property), (gst_queue_get_property):
3608         * gst/gstqueue.h:
3609         Remove old unused properties.
3610
3611 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3612         * docs/gst/gstreamer-sections.txt:
3613         * gst/gstmessage.c:
3614         * gst/gstmessage.h:
3615         * gst/gstminiobject.c:
3616         * gst/gstminiobject.h:
3617         * gst/gstobject.h:
3618         * gst/gstpad.h:
3619         * gst/gstutils.h:
3620           lots of new docs and doc fixes
3621
3622 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3623
3624         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3625         * gst/gstplugin.h:
3626         * gst/gstregistry.c: (gst_registry_lookup_locked),
3627         (gst_registry_scan_path_level):
3628         * gst/gstregistryxml.c: (load_plugin):
3629           Only ever load one plugin for a given plugin basename.
3630           This ensures correct overriding of GST_PLUGIN_PATH over
3631           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3632           system installed plugins.
3633
3634 2005-10-08  Wim Taymans  <wim@fluendo.com>
3635
3636         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3637         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3638         Prepare for doing QOS.
3639
3640 2005-10-08  Wim Taymans  <wim@fluendo.com>
3641
3642         * check/gst/gstbin.c: (GST_START_TEST):
3643         * check/pipelines/cleanup.c: (GST_START_TEST):
3644         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3645         Allow new clock message too.
3646
3647 2005-10-08  Wim Taymans  <wim@fluendo.com>
3648
3649         * gst/gstmessage.c: (gst_message_new_error),
3650         (gst_message_new_warning), (gst_message_new_tag),
3651         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3652         (gst_message_new_clock_lost), (gst_message_new_new_clock),
3653         (gst_message_new_segment_start), (gst_message_new_segment_done),
3654         (gst_message_parse_state_changed),
3655         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3656         (gst_message_parse_new_clock):
3657         * gst/gstmessage.h:
3658         Also carry the clock in question.
3659
3660 2005-10-08  Wim Taymans  <wim@fluendo.com>
3661
3662         * gst/gstmessage.c: (gst_message_new_custom),
3663         (gst_message_new_eos), (gst_message_new_error),
3664         (gst_message_new_warning), (gst_message_new_tag),
3665         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3666         (gst_message_new_new_clock), (gst_message_new_segment_start),
3667         (gst_message_new_segment_done), (gst_message_parse_state_changed),
3668         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3669         * gst/gstmessage.h:
3670         Clean up.
3671         Added clock related messages.
3672
3673         * gst/gstpipeline.c: (gst_pipeline_change_state):
3674         Post message when the clock changed.
3675
3676         * tools/gst-launch.c: (event_loop):
3677         Print new clock.
3678
3679 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3680
3681         * tools/gst-inspect.c: (print_element_properties_info):
3682           Can't pass NULL strings to g_print() on windows.
3683
3684 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3685
3686         * docs/Makefile.am:
3687         * docs/gst/Makefile.am:
3688         * docs/gst/gstreamer-docs.sgml:
3689         * docs/gst/running.xml:
3690         * docs/version.entities.in:
3691           add a chapter on running GStreamer.
3692           document GST_DEBUG and GST_PLUGIN* env vars
3693
3694 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3695
3696         * Makefile.am:
3697           remove include dir
3698         * configure.ac:
3699           remove PLUGINS_BUILDDIR stuff
3700         * gst/gst.c: (init_post):
3701           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3702         * idiottest.mak:
3703           remove, it was condescending and not needed
3704
3705 2005-10-08  Wim Taymans  <wim@fluendo.com>
3706
3707         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3708         (gst_base_sink_handle_object), (gst_base_sink_event),
3709         (gst_base_sink_wait), (gst_base_sink_handle_event),
3710         (gst_base_sink_change_state):
3711         * gst/base/gstbasesink.h:
3712         Repost EOS message while going to PLAYING if still EOS.
3713         Make sure that when receiving a FLUSH_START we don't attempt
3714         to sync on the clock anymore.
3715
3716 2005-10-08  Wim Taymans  <wim@fluendo.com>
3717
3718         * tools/gst-launch.c: (event_loop):
3719         Better message printout.
3720
3721 2005-10-08  Wim Taymans  <wim@fluendo.com>
3722
3723         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3724         (gst_bin_child_proxy_get_children_count):
3725         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3726         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3727         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3728         (gst_child_proxy_set_valist):
3729         * gst/parse/grammar.y:
3730         Make ChildProxy threadsafe and fix mem leaks.
3731
3732 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3733
3734         * gst/gst.c: (init_post):
3735           debug the GST_PLUGIN_ env vars
3736
3737 2005-10-08  Wim Taymans  <wim@fluendo.com>
3738
3739         * check/gst/gstbin.c: (GST_START_TEST):
3740         * check/gst/gstmessage.c: (GST_START_TEST):
3741         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3742         * gst/gstelement.c: (gst_element_commit_state),
3743         (gst_element_lost_state):
3744         * gst/gstmessage.c: (gst_message_new_state_changed),
3745         (gst_message_parse_state_changed):
3746         * gst/gstmessage.h:
3747         * tools/gst-launch.c: (event_loop):
3748         Added extra field to STATE_CHANGE message with the pending
3749         state, which will be different from the new state soon.
3750
3751 2005-10-08  Wim Taymans  <wim@fluendo.com>
3752
3753         * gst/gstbus.c: (gst_bus_pop):
3754         * gst/gstclock.c:
3755         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3756         Small cleanups and doc updates.
3757
3758 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3759
3760         * gst/gst.c: (init_pre):
3761         * gst/gstbin.c: (gst_bin_add_func):
3762           log distributing clocks and base time
3763         * gst/gstregistry.c: (gst_registry_add_plugin),
3764         (gst_registry_scan_path_level), (gst_registry_scan_path):
3765           clean up the debugging output a little
3766         * gst/gstutils.c: (gst_element_state_get_name):
3767           warn about a memleak (I've actually seen this be used, though
3768           it was probably a bug)
3769
3770 2005-10-07  Wim Taymans  <wim@fluendo.com>
3771
3772         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3773         (gst_base_src_init), (gst_base_src_default_newsegment),
3774         (gst_base_src_newsegment), (gst_base_src_do_seek),
3775         (gst_base_src_loop), (gst_base_src_start):
3776         * gst/base/gstbasesrc.h:
3777         Make the newsegment event customizable by subclasses.
3778
3779 2005-10-07  Wim Taymans  <wim@fluendo.com>
3780
3781         * gst/gstevent.c: (gst_event_new_buffersize),
3782         (gst_event_parse_buffersize):
3783         * gst/gstevent.h:
3784         New event for future idea.
3785
3786 2005-10-07  Andy Wingo  <wingo@pobox.com>
3787
3788         * gst/gstelement.c (gst_element_post_message): Doc update.
3789
3790         * docs/gst/gstreamer-sections.txt: Update.
3791
3792         * gst/gstmessage.c (gst_message_new_application): Made into a
3793         function like honest API calls.
3794         (gst_message_new_element): New message type.
3795
3796         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3797
3798         * check/elements/fakesrc.c (test_no_preroll): New check, checks
3799         that setting a live fakesrc to PAUSED returns NO_PREROLL both
3800         times.
3801
3802         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3803         NO_PREROLL from gst_element_change_state to fall through.
3804
3805 2005-10-07  Wim Taymans  <wim@fluendo.com>
3806
3807         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3808         (gst_ghost_pad_do_activate_push):
3809         Activating a ghostpad with no internal pad in push mode
3810         is ok.
3811
3812 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3813
3814         * gst/gstobject.h:
3815           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3816           Fixes compilation on Windows.
3817
3818 2005-10-07  Michael Smith <msmith@fluendo.com>
3819
3820         * tools/gst-inspect.c:
3821           Print out feature and plugin count at the end when printing out
3822           all features.
3823
3824 2005-10-04  Michael Smith <msmith@fluendo.com>
3825
3826         * gst/gsterror.c: (_gst_stream_errors_init):
3827           Add another error string used in a few existing plugins.
3828
3829         * gst/gstplugin.c:
3830         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3831         * tools/gst-inspect.c: (print_element_info):
3832           When a feature disappears from a plugin (and the feature exists in
3833           the cached registry file), things went horribly wrong. This isn't a
3834           complete fix, we should actually be removing the 'missing' features
3835           from the features list when we load the actual plugin. That's not
3836           yet implemented. 
3837
3838 2005-10-04  Johan Dahlin  <johan@gnome.org>
3839
3840         * check/gst/gstiterator.c: (GST_START_TEST):
3841         * gst/gstbin.c: (gst_bin_iterate_elements),
3842         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
3843         * gst/gstelement.c: (gst_element_iterate_pads):
3844         * gst/gstformat.c: (gst_format_iterate_definitions):
3845         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
3846         (gst_iterator_new_list), (gst_iterator_filter):
3847         * gst/gstiterator.h:
3848         * gst/gstquery.c: (gst_query_type_iterate_definitions):
3849         Add a GType to GstIterator, update callsites and tests.
3850
3851 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3852
3853         * gst/gstpad.c: (gst_pad_event_default_dispatch):
3854           give events a chance to be handled by event probes when the pad
3855           is not linked
3856
3857 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3858
3859         * gst/gstevent.c: (gst_event_type_get_name),
3860         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
3861         * gst/gstevent.h:
3862           add string representations for event types
3863
3864 2005-10-06  Wim Taymans  <wim@fluendo.com>
3865
3866         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
3867         Don't use NULL pointers.
3868
3869 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3870
3871         * gst/gst_private.h:
3872         * gst/gstbus.c:
3873         * gst/gstelement.c:
3874         * gst/gstinfo.c:
3875         * gst/gstpluginfeature.c:
3876           widen the debug category in output to fit the biggest one we have
3877           add a bus category and use it
3878           play with the colors
3879           fix up some categories
3880
3881 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3882
3883         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
3884           add push activation of sink ghost pads.
3885           Andye, please verify
3886
3887 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3888
3889         * gst/gstutils.c: (gst_element_link_pads):
3890           fix a bug in the case where neither element has a pad
3891         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3892           add a test for that case
3893
3894 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3895
3896         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
3897           emit have-data before checking for peers.  This allows
3898           for probe handlers to connect elements.  This helps autopluggers.
3899         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
3900         (gst_pad_suite):
3901           add six checks, linked/unlinked with no/true/false probe
3902
3903 2005-10-04  Wim Taymans  <wim@fluendo.com>
3904
3905         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
3906         (gst_fake_sink_event), (gst_fake_sink_preroll),
3907         (gst_fake_sink_render), (gst_fake_sink_change_state):
3908         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
3909         (gst_fake_src_get_property), (gst_fake_src_create),
3910         (gst_fake_src_stop):
3911         * gst/elements/gstidentity.c: (gst_identity_stop):
3912         Protect last_message with lock.
3913
3914 2005-10-04  Edward Hervey  <edward@fluendo.com>
3915
3916         * gst/gstformat.h: 
3917         Added precision in the comments for GST_FORMAT_DEFAULT
3918
3919 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
3920
3921         * tools/gst-launch.c: (main):
3922           Don't try to run erroneous pipelines.
3923
3924 2005-10-04  Julien MOUTTE  <julien@moutte.net>
3925
3926         * gst/gstbus.c: We don't need this header.
3927
3928 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3929
3930         * configure.ac:
3931           back to development
3932
3933 === release 0.9.3 ===
3934
3935 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3936
3937         * README:
3938         * configure.ac:
3939           Releasing 0.9.3, "Unregistered"
3940
3941 2005-10-03  Andy Wingo  <wingo@pobox.com>
3942
3943         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
3944         whereby calling a pad's activatepush() function can start a thread
3945         that starts to push or pull before the pad gets the FLUSHING flag
3946         unset. Hack around it by holding the stream lock until the flag is
3947         set. Need to replace this with a proper solution. Together with
3948         the ghost pad fixes, this fixes mp3 playing/tagreading.
3949
3950         * docs/design/part-gstghostpad.txt: Add a note about activation of
3951         proxy pads outside of ghost pads.
3952
3953         * gst/gstghostpad.c: Implement the ghost pad activation design.
3954
3955 2005-10-02  Andy Wingo  <wingo@pobox.com>
3956
3957         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
3958         It is volatile, after all.
3959
3960         * docs/design/part-gstghostpad.txt: Flesh out activation with
3961         ghost pads.
3962
3963         * gst/base/gstbasesrc.c (gst_base_src_init): Use
3964         GST_DEBUG_FUNCPTR.
3965
3966 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3967
3968         * configure.ac:
3969           Fix (unused) AM_CONDITIONAL tests.
3970
3971 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
3972
3973         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3974
3975         * gst/gstutils.c: (gst_pad_query_convert):
3976           Add assertion that makes sure src_val is >=0, just like
3977           gst_query_new_convert() has. (#315895)
3978
3979 2005-09-30  Edward Hervey  <edward@fluendo.com>
3980
3981         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
3982         Let's not iterate pads we're not interested in, it avoids getting 
3983         sky-high refcounts on sinkpad.
3984
3985 2005-09-30  Wim Taymans  <wim@fluendo.com>
3986
3987         * gst/gstelement.c: (gst_element_set_state),
3988         (gst_element_change_state):
3989         Small tweak, element in ASYNC remains ASYNC.
3990
3991 2005-09-30  Wim Taymans  <wim@fluendo.com>
3992
3993         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3994         Only error is an error.
3995
3996         * gst/gstbin.c: (gst_bin_change_state):
3997         Better debugging.
3998
3999         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4000         Also call pad_block in pad alloc.
4001
4002         * gst/gstutils.c: (gst_flow_get_name):
4003         Better debugging.
4004
4005 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4006
4007         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4008         (gst_base_src_get_range):
4009           Fix documentation typos. Add some more debug info.
4010
4011 2005-09-29  David Schleef  <ds@schleef.org>
4012
4013         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4014           more end-user friendly.
4015         * tools/gst-inspect.c: (main): Check if command-line argument is
4016           a file and attempt to load that file as a plugin.
4017
4018 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4019
4020         * check/gst/gstbin.c:
4021         * check/states/sinks.c:
4022           fix tests for the new warning
4023         * check/gst/gstpipeline.c:
4024           add a test for pipeline and bus interaction
4025         * gst/gstelement.c:
4026           elements should be NULL if they get disposed; add a warning if not
4027
4028 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4029
4030         * gst/gstobject.c:
4031           for 2.6 refcounting, make debug log more correct by printing
4032           the actual refcounts at the time of swap (Wim)
4033
4034 2005-09-29  Andy Wingo  <wingo@pobox.com>
4035
4036         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4037         removes signal watches previously added via
4038         gst_bus_add_signal_watch.
4039         (gst_bus_add_signal_watch): Don't return the source id, just store
4040         it on the bus if there wasn't an id already.
4041
4042         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4043         add_signal_watch and remove_signal_watch.
4044
4045 2005-09-29  Edward Hervey  <edward@fluendo.com>
4046
4047         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4048         Better if we actually iterate the list :)
4049
4050 2005-09-29  Wim Taymans  <wim@fluendo.com>
4051
4052         * check/gst/gstbin.c: (GST_START_TEST):
4053         Change for new bus API.
4054
4055         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4056         (send_messages), (GST_START_TEST), (gstbus_suite):
4057         Change for new bus signal API.
4058
4059         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4060         (gst_bus_source_prepare), (gst_bus_source_check),
4061         (gst_bus_create_watch), (gst_bus_add_watch_full),
4062         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4063         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4064         * gst/gstbus.h:
4065         Remove support for multiple GSources operating on different
4066         message types as it is too complex and unneeded when using
4067         signals.
4068         Added support for receiving signals from the bus.
4069
4070 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4071
4072         * docs/libs/tmpl/gstdataprotocol.sgml:
4073         * docs/manual/advanced-dataaccess.xml:
4074         * gst/elements/gstcapsfilter.c:
4075         * gst/gstutils.c:
4076           rename filter-caps to caps property
4077
4078 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4079
4080         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4081           More robust fraction string parsing.
4082
4083         * docs/pwg/appendix-porting.xml:
4084           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4085
4086 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4087
4088         * gst/gstcaps.c: (gst_caps_do_simplify):
4089           Thou shalt not free a structure and then continue using it
4090           in the next loop iteration.
4091
4092         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4093         (gst_caps_suite):
4094           Add test case for caps simplification.
4095
4096 2005-09-29  Wim Taymans  <wim@fluendo.com>
4097
4098         * check/gst/gstbin.c: (GST_START_TEST):
4099         Oops.
4100
4101 2005-09-29  Wim Taymans  <wim@fluendo.com>
4102
4103         * check/gst/gstbin.c: (GST_START_TEST):
4104         Add bus to bin.
4105
4106         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4107         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4108         (find_element), (gst_bin_sort_iterator_next),
4109         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4110         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4111         (gst_bin_change_state), (gst_bin_dispose):
4112         A bin does not have a bus, it gets the bus from the parent.
4113
4114         * gst/gstelement.c: (gst_element_requires_clock),
4115         (gst_element_provides_clock), (gst_element_is_indexable),
4116         (gst_element_is_locked_state), (gst_element_change_state),
4117         (gst_element_set_bus_func):
4118         Small cleanups.
4119
4120         * gst/gstpipeline.c: (gst_pipeline_class_init),
4121         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4122         The pipeline provides a bus.
4123
4124 2005-09-28  Johan Dahlin  <johan@gnome.org>
4125
4126         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4127         gst_structure_get_enum instead of gst_structure_get_int
4128
4129         * gst/gststructure.c (gst_structure_get_enum): Impl.
4130
4131         * gst/gststructure.h (gst_structure_get_enum): Add
4132
4133         * docs/gst/gstreamer-sections.txt: Ditto
4134
4135         * gst/gstmessage.c (gst_message_new_state_changed): Use
4136         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4137         which does introspection.
4138         Reviewed by Christian Schaller
4139
4140 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4141
4142         * gst/gstinfo.c: (gst_debug_log_default):
4143           don't do dummy g_strdup()s
4144         * libs/gst/controller/gstcontroller.c:
4145         (on_object_controlled_property_changed),
4146         (gst_controlled_property_new), (gst_controller_new_valist),
4147         (gst_controller_new_list),
4148         (gst_controller_remove_properties_valist), (gst_controller_set),
4149         (gst_controller_get), (gst_controller_sync_values),
4150         (gst_controller_get_value_array), (_gst_controller_class_init),
4151         (gst_controller_get_type):
4152         * libs/gst/controller/gstcontroller.h:
4153         * libs/gst/controller/gstinterpolation.c:
4154         (gst_controlled_property_find_timed_value_node):
4155           convert // to /**/ comments
4156
4157 2005-09-28  Wim Taymans  <wim@fluendo.com>
4158
4159         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4160         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4161         (gst_bus_sync_signal_handler):
4162         * gst/gstbus.h:
4163         Added async-message and sync-message signals to the bus.
4164         Added helper BusFunc to emit signals for all posted messages.
4165
4166         * gst/gstmessage.c: (gst_message_type_get_name),
4167         (gst_message_type_to_quark), (gst_message_get_type):
4168         * gst/gstmessage.h:
4169         Register quarks for message names.
4170
4171 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4172
4173         * docs/libs/gstreamer-libs-sections.txt:
4174         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4175         (gst_controller_new_list):
4176         * libs/gst/controller/gstcontroller.h:
4177           added another constructor for language bindings
4178
4179 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4180
4181         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4182           add another check
4183         * gst/gstbus.c:
4184           add some doc
4185         * gst/gstinfo.c: (_gst_debug_init):
4186           slightly more readable color for refcount debugging
4187
4188 2005-09-28  Wim Taymans  <wim@fluendo.com>
4189
4190         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4191         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4192         (find_element), (gst_bin_sort_iterator_next),
4193         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4194         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4195         (gst_bin_change_state), (gst_bin_dispose):
4196         Small doc fixes. get_clock -> provide_clock.
4197
4198         * gst/gstelement.c: (gst_element_class_init),
4199         (gst_element_provides_clock), (gst_element_provide_clock),
4200         (gst_element_get_clock), (gst_element_commit_state),
4201         (gst_element_lost_state):
4202         * gst/gstelement.h:
4203         Make get/set_clock() symetric. Add provide_clock vmethod since
4204         that is actually what this function does.
4205
4206         * gst/gstpipeline.c: (gst_pipeline_class_init),
4207         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4208         (gst_pipeline_get_clock):
4209         get_clock -> provide_clock.
4210
4211 2005-09-28  Andy Wingo  <wingo@pobox.com>
4212
4213         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4214         lieu of real docs...
4215
4216         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4217
4218 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4219
4220         * gst/elements/gstcapsfilter.c:
4221         * gst/elements/gstfakesink.c:
4222         * gst/elements/gstfakesrc.c:
4223         * gst/elements/gstfdsink.c:
4224         * gst/elements/gstfdsrc.c:
4225         * gst/elements/gstfilesink.c:
4226         * gst/elements/gstfilesrc.c:
4227         * gst/elements/gstidentity.c:
4228         * gst/elements/gsttee.c:
4229         * gst/elements/gsttypefindelement.c:
4230           Make element details static.
4231
4232 2005-09-28  Wim Taymans  <wim@fluendo.com>
4233
4234         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4235         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4236         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4237         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4238         (gst_bin_change_state), (gst_bin_dispose):
4239         Some documentation updates.
4240         Clean up dispose handlers.
4241
4242         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4243         * gst/gstpad.c: (gst_pad_dispose):
4244         Clean up dispose handler.
4245
4246         * gst/gstpipeline.c: (gst_pipeline_change_state):
4247         Removed spurious UNLOCK.
4248
4249 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4250
4251         * docs/gst/gstreamer-sections.txt:
4252         * gst/base/gstbasesrc.h:
4253         * gst/gstelement.h:
4254         * gst/gstevent.h:
4255         * gst/gstobject.h:
4256         * gst/gstpad.h:
4257         * gst/gstpipeline.c:
4258         * gst/gstpipeline.h:
4259         * gst/gstutils.h:
4260         * gst/gstxml.h:
4261           added two new functions to the docs
4262                 documents all undocumented GstXXXFlags
4263                 completed some incomplete docs 
4264
4265 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4266
4267         * gst/gstbin.c: (gst_bin_dispose):
4268         * gst/gstelement.c: (gst_element_dispose):
4269           remove now useless and leaky resurrection code in dispose
4270         * gst/base/gstbasesrc.c: (gst_base_src_init):
4271         * gst/gstelementfactory.c: (gst_element_factory_create):
4272         * gst/gstobject.c: (gst_object_set_parent):
4273           add some debugging
4274
4275 2005-09-27  Wim Taymans  <wim@fluendo.com>
4276
4277         * docs/design/part-TODO.txt:
4278         Update TODO.
4279
4280         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4281         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4282         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4283         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4284         (gst_bin_change_state):
4285         * gst/gstelement.h:
4286         Remove element variable, we keep element info in the iterator now.
4287
4288 2005-09-27  Andy Wingo  <wingo@pobox.com>
4289
4290         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4291         values.
4292
4293 2005-09-27  Wim Taymans  <wim@fluendo.com>
4294
4295         * check/gst/gstbin.c: (GST_START_TEST):
4296         Enable check that works now.
4297
4298         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4299         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4300         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4301         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4302         (gst_bin_change_state):
4303         * gst/gstbin.h:
4304         Redid the state change algorithm using a topological sort algo.
4305         Handles all cases correctly.
4306         Exposed iterator for state change order.
4307
4308         * gst/gstelement.h:
4309         Temp storage for state changes. Need to get rid of this soon.
4310
4311 2005-09-27  Wim Taymans  <wim@fluendo.com>
4312
4313         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4314         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4315         (link_fold_func), (gst_pad_proxy_setcaps):
4316         Leak fixes, the fold functions need to unref the passed object and
4317         _get_parent_*() returns ref to parent.
4318
4319 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4320
4321         * check/gst/gstbuffer.c: (test_make_writable):
4322           Plug leak in test case and fix 'make check-valgrind'
4323
4324 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4325
4326         * gst/gstbuffer.c: (gst_subbuffer_init):
4327           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4328           works correctly in all circumstances (we could have just copied
4329           the parent buffer's readonly flag, but conceptually it seems
4330           cleaner to mark all subbuffers as read-only). (based on patch
4331           by Alessandro Decina, #314710).
4332         
4333         * check/gst/gstbuffer.c: (create_read_only_buffer),
4334         (test_make_writable), (test_subbuffer_make_writable),
4335         (gst_test_suite):
4336           Add some tests for gst_buffer_make_writable().
4337
4338 2005-09-27  Wim Taymans  <wim@fluendo.com>
4339
4340         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4341         use gst_object_has_ancestor().
4342
4343         * gst/gstobject.c: (gst_object_has_ancestor):
4344         * gst/gstobject.h:
4345         gst_object_has_ancestor() copied from gstbin.c as it is a
4346         usefull function.
4347
4348         * tests/instantiate/create.c: (create_all_elements):
4349         * tests/lat.c: (handoff_src), (handoff_sink):
4350         * tests/sched/runxml.c: (main):
4351         * tests/seeking/seeking1.c: (main):
4352         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4353         (main):
4354         Fix compilation of some tests.
4355
4356 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4357
4358         * gst/gsterror.h:
4359           Remove comment. GST_TYPE_G_ERROR is here to stay,
4360           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4361           (#316961, #300610).
4362
4363 2005-09-26  Wim Taymans  <wim@fluendo.com>
4364
4365         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4366         Added check that shows error in state change order.
4367
4368 2005-09-26  Wim Taymans  <wim@fluendo.com>
4369
4370         * gst/gstbin.c: (gst_bin_change_state):
4371         Make state change function use 3 queues again, we were
4372         adding elements in the wrong order.
4373
4374         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4375         Some debug info,
4376
4377         * gst/gstpad.c: (gst_pad_dispose):
4378         Added some debug info first.
4379
4380 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4381
4382         * docs/design/draft-push-pull.txt:
4383         * docs/design/part-events.txt:
4384         * docs/design/part-overview.txt:
4385         * docs/design/part-scheduling.txt:
4386           Replace all _pull_region() with _pull_range()
4387           
4388 2005-09-26  Andy Wingo  <wingo@pobox.com>
4389
4390         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4391
4392         * check/gst-libs/controller.c: Update for controller api change.
4393
4394         * configure.ac: 
4395         * tests/Makefile.am:
4396         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4397         over by GLib bug 118439.
4398         
4399         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4400         routines to a function.
4401
4402         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4403
4404         * libs/gst/controller/gsthelper.c:
4405         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4406         (gst_object_sync_values): Renamed from sink_values. Ugh.
4407
4408         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4409
4410         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4411         Renamed from controller_key, as it is exported.
4412
4413         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4414
4415 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4416
4417         * gst/Makefile.am:
4418         * gst/gst.h:
4419         * gst/gstpad.h:
4420         * gst/gstpadtemplate.h:
4421         * gst/gstquery.c:
4422         * gst/gstquery.h:
4423         * gst/gstqueryutils.c:
4424         * gst/gstqueryutils.h:
4425           remove queryutils headers after moving the two used functions
4426           to gstquery.  also fixes build problem for gstsiddec
4427
4428 2005-09-26  Michael Smith <msmith@fluendo.com>
4429
4430         * tools/gst-launch.1.in:
4431         Correct documentation in manpage of debug syntax
4432
4433 2005-09-26  Wim Taymans  <wim@fluendo.com>
4434
4435         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4436         (gst_base_src_is_seekable), (gst_base_src_change_state):
4437         Some more debugging info.
4438
4439 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4440
4441         * docs/gst/gstreamer-sections.txt:
4442         * gst/base/gstbasetransform.h:
4443         * gst/gstindex.h:
4444           added more docs
4445
4446 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4447
4448         * docs/gst/.cvsignore:
4449         * docs/gst/tmpl/.cvsignore:
4450         * docs/gst/tmpl/gstpipeline.sgml:
4451         * docs/gst/tmpl/gstplugin.sgml:
4452         * gst/gstpipeline.c:
4453         * gst/gstplugin.c:
4454         * gst/gstplugin.h:
4455           inlined the last two docs files
4456           removed the tmpl directory from cvs (no more conflicts here!)
4457
4458 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4459
4460         * docs/gst/gstreamer-sections.txt:
4461         * docs/gst/tmpl/.cvsignore:
4462         * docs/gst/tmpl/gstpad.sgml:
4463         * docs/gst/tmpl/gstpadtemplate.sgml:
4464         * gst/Makefile.am:
4465         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4466         (gst_pad_finalize), (gst_pad_set_pad_template):
4467         * gst/gstpad.h:
4468         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4469         (gst_pad_template_class_init), (gst_pad_template_init),
4470         (gst_pad_template_dispose), (name_is_valid),
4471         (gst_static_pad_template_get), (gst_pad_template_new),
4472         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4473         (gst_pad_template_pad_created):
4474         * gst/gstpadtemplate.h:
4475           inlined two more docs
4476           factored gstpadtemplate out of gstpad
4477
4478 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4479
4480         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4481         (test_children_state_change_order_semi_sink):
4482           Fix test case: we can't rely on a fixed state change order when
4483           going from READY => PAUSED because the sink might commit its 
4484           new state first when the first buffer created by the source 
4485           reaches the sink before the source has finished its change state.
4486           (Test case still fails at times, see #316856, comment 5 onwards)
4487
4488 2005-09-24  Wim Taymans  <wim@fluendo.com>
4489
4490         * docs/design/part-events.txt:
4491         * docs/design/part-gstbus.txt:
4492         * docs/design/part-gstpipeline.txt:
4493         * docs/design/part-messages.txt:
4494         * docs/design/part-overview.txt:
4495         * docs/design/part-segments.txt:
4496         * gst/gstbin.c:
4497         * gst/gstbuffer.c:
4498         * gst/gstclock.c:
4499         * gst/gstelement.c:
4500         * gst/gstevent.c:
4501         * gst/gstfilter.c:
4502         * gst/gstiterator.c:
4503         Various documentation updates.
4504
4505 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4506
4507         * gst/gstclock.h:
4508           Well, that's embarassing.  Luckily we weren't using
4509           GST_CLOCK_DIFF anywhere.
4510
4511 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4512
4513         * common/gtk-doc.mak:
4514           don't fail on building XML, FC4 slave shows a bunch of doc
4515           missing bits that I don't get
4516         * gst/gstpad.c:
4517         * gst/gstpipeline.c:
4518         * gst/gststructure.c:
4519           some doc updates
4520
4521 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4522
4523         * docs/design/part-gstbin.txt:
4524         * docs/design/part-gstbus.txt:
4525         * gst/gstbus.c:
4526           Add blurb about how the bus goes into flushing mode and
4527           drops all messages when its bin goes from READY into NULL 
4528           state.
4529
4530 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4531
4532         * docs/gst/gstreamer-sections.txt:
4533         * gst/gststructure.c: (gst_structure_get_clock_time):
4534         * gst/gststructure.h:
4535           add a method to get a GstClockTime out of a structure
4536
4537 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4538
4539         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4540         (test_children_state_change_order_semi_sink), (gst_bin_suite):
4541           Added test to check state change order in bins (can still be made
4542           to fail here under heavy disk load; bails out with 'Push on pad
4543           fakesink:sink0, but it was not activated in push mode').
4544
4545         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4546           Fix state change order when there is only a semi sink (#316856)
4547
4548         * gst/gstbus.c: (gst_bus_class_init):
4549           Use _class_peek_parent(), not _class_ref(); fix docs to say
4550           'default main context' instead of 'mainloop' where that is
4551           what's meant.
4552
4553         * gst/gstelement.c: (gst_element_commit_state),
4554         (gst_element_set_state):
4555           Fix typos in debug messages
4556
4557 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4558
4559         * docs/README:
4560         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4561         * gst/gstpluginfeature.c:
4562         * gst/gstutils.c:
4563           various doc updates
4564         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4565           change an assert into an error until it gets fixed properly
4566
4567 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
4568
4569         * docs/gst/gstreamer-sections.txt:
4570         * docs/gst/tmpl/.cvsignore:
4571         * docs/gst/tmpl/gstelement.sgml:
4572         * docs/gst/tmpl/gstinfo.sgml:
4573         * docs/gst/tmpl/gstobject.sgml:
4574         * gst/gstelement.c:
4575         * gst/gstelement.h:
4576         * gst/gstinfo.c:
4577         * gst/gstinfo.h:
4578         * gst/gstobject.c: (gst_object_class_init):
4579         * gst/gstobject.h:
4580           inlined 3 more biiiig doc files and added some missing docs on the fly
4581
4582 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4583
4584         * check/gst/.cvsignore:
4585         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4586         * gst/gstregistryxml.c: (load_plugin),
4587         (gst_registry_xml_save_plugin):
4588           put back source in registry.  add checks for find_plugin.
4589         * testsuite/states/bin.c: (assert_state), (empty_bin),
4590         (test_adding_one_element), (main):
4591         * testsuite/states/locked.c: (main):
4592           some compile/run fixes
4593
4594 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4595
4596         * check/gst/gstvalue.c: (GST_START_TEST):
4597           fix leaks in the test itself
4598
4599 2005-09-22  Wim Taymans  <wim@fluendo.com>
4600
4601         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4602         (gst_base_sink_send_event), (gst_base_sink_peer_query),
4603         (gst_base_sink_query):
4604         Prepare for more accurate position reporting and query
4605         handling.
4606
4607         * gst/gstelement.c: (gst_element_send_event),
4608         (gst_element_set_state):
4609         Add some comment.
4610
4611 2005-09-22  Wim Taymans  <wim@fluendo.com>
4612
4613         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4614         (gst_query_parse_segment):
4615         * gst/gstquery.h:
4616         More documentation.
4617         Add segment query for future use.
4618
4619 2005-09-22  Wim Taymans  <wim@fluendo.com>
4620
4621         * gst/gstbin.c: (gst_bin_add_func):
4622         Some more debug info.
4623
4624         * gst/gstelement.c: (gst_element_send_event):
4625         Simplify send_event
4626
4627         * gst/gstelement.h:
4628         Don't know how flags got broken.
4629
4630         * gst/gstquery.h:
4631         Added new query.
4632
4633 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4634
4635         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4636           Add simplistic test suite for GST_TYPE_DATE serialisation and
4637           deserialisation.
4638
4639 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4640
4641         * docs/gst/gstreamer-sections.txt:
4642         * gst/gststructure.c: (gst_structure_set_valist),
4643         (gst_structure_get_date):
4644         * gst/gststructure.h:
4645         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4646         (gst_date_copy), (gst_value_compare_date),
4647         (gst_value_serialize_date), (gst_value_deserialize_date),
4648         (gst_value_transform_date_string),
4649         (gst_value_transform_string_date), (_gst_value_initialize):
4650         * gst/gstvalue.h:
4651           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4652           bunch of utility functions along with a hack that checks that
4653           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4654           is required. Part of the grand scheme in #170777.
4655
4656 2005-09-22  Andy Wingo  <wingo@pobox.com>
4657
4658         * gst/gstconfig.h.in: Psych out gtk-doc.
4659
4660         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4661
4662         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4663
4664         * tools/gst-inspect.c (print_element_list): Plug some
4665         inconsequential leaks.
4666
4667         * gst/gstregistry.c (gst_registry_get_default): Doc.
4668
4669         * check/gst/gstplugin.c: 
4670         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4671         * gst/gstelementfactory.c (gst_element_factory_create): 
4672         * gst/gstindexfactory.c (gst_index_factory_create): Update for
4673         refcount changes.
4674
4675         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4676         (gst_plugin_feature_load): Doc, don't eat refs.
4677
4678         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4679         (gst_plugin_list_free): Doc.
4680         (gst_plugin_load_file): Doc updates.
4681
4682         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4683         accessors returning refcounted objects, return a ref.
4684
4685         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4686         accessor for caps. IDEMPOTENCE. Oh yes.
4687
4688 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
4689
4690         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4691
4692         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4693         (_gst_debug_register_funcptr):
4694           Add mutex to serialise access to the hash table with
4695           the function pointer => function name string mapping;
4696           make that hash table static scope (#316809).
4697
4698         * gst/registries/.cvsignore:
4699           Remove left-over file.
4700
4701 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4702
4703         * docs/pwg/appendix-porting.xml:
4704           And something about newsegment events and caps-on-buffers to
4705           the porting guide (feel free to improve).
4706
4707 2005-09-21  Andy Wingo  <wingo@pobox.com>
4708
4709         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4710         data and event probes on the same pad.
4711         (test_buffer_probe_once): Test that removing probes from within
4712         the probe functions works.
4713
4714 2005-09-21  Andy Wingo  <wingo@pobox.com>
4715
4716         * check/gst/gstutils.c: New file.
4717         (test_buffer_probe_n_times): A simple buffer probe test. More to
4718         come, foolios.
4719
4720         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4721         have-data::buffer, not have-data.
4722         (gst_pad_add_event_probe): Likewise for have-data::event.
4723         (gst_pad_add_data_probe): More docs. The part about 'resolving the
4724         peer' isn't quite right yet though.
4725         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
4726         (gst_pad_remove_data_probe): Change to take the guint handler_id
4727         as their arg, not the function+data, which is more glib-like.
4728
4729         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4730         the signal emission to indicate if the data is a buffer or an
4731         event.
4732         (gst_pad_get_type): Initialize buffer and event quarks.
4733         (gst_pad_class_init): have-data is now a detailed signal, yes it
4734         is.
4735
4736 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4737
4738         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4739         * gst/gstutils.c: (gst_util_set_value_from_string),
4740         (gst_util_set_object_arg):
4741           Don't put functional code in g_return_if_fail() or
4742           g_return_val_if_fail() statements, otherwise things will 
4743           break when G_DISABLE_CHECKS is defined during compilation.
4744
4745 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4746
4747         * docs/gst/tmpl/.cvsignore:
4748         * docs/gst/tmpl/gstvalue.sgml:
4749         * gst/gstvalue.c:
4750         * gst/gstvalue.h:
4751           inlied another one and added  some obvious docs
4752
4753 2005-09-21  Wim Taymans  <wim@fluendo.com>
4754
4755         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4756         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4757         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4758         (gst_fdsrc_get_property), (gst_fdsrc_create):
4759         * gst/elements/gstfdsrc.h:
4760         Properly implement fdsrc. Removed signal and timeout,
4761         better implemented somewhere else.
4762
4763 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4764
4765         * docs/gst/tmpl/.cvsignore:
4766         * docs/gst/tmpl/gstimplementsinterface.sgml:
4767         * gst/gstinterface.c:
4768           inlined more docs
4769
4770 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4771
4772         * docs/gst/gstreamer-sections.txt:
4773         * docs/gst/tmpl/.cvsignore:
4774         * docs/gst/tmpl/gstenumtypes.sgml:
4775           remove obsolete doc file
4776
4777 2005-09-21  David Schleef  <ds@schleef.org>
4778
4779         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4780         little beer, fix a little leak.
4781
4782 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4783
4784         * docs/gst/gstreamer-docs.sgml:
4785         * docs/gst/gstreamer-sections.txt:
4786         * docs/gst/tmpl/.cvsignore:
4787         * gst/Makefile.am:
4788         * gst/gst.h:
4789         * gst/gstbin.c:
4790         * gst/gstelement.h:
4791         * gst/gstindex.c: (gst_index_class_init):
4792         * gst/gstindex.h:
4793         * gst/gstindexfactory.c: (gst_index_factory_get_type),
4794         (gst_index_factory_class_init), (gst_index_factory_init),
4795         (gst_index_factory_finalize), (gst_index_factory_new),
4796         (gst_index_factory_destroy), (gst_index_factory_find),
4797         (gst_index_factory_create), (gst_index_factory_make):
4798         * gst/gstindexfactory.h:
4799         * gst/gstpluginfeature.c:
4800         * gst/gstpluginfeature.h:
4801         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4802           more docs inlined, splitted gstindex.{c,h}
4803
4804 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4805
4806         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4807           fix a leak
4808
4809 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4810
4811         * gst/elements/gstfilesink.c: (gst_file_sink_init):
4812           Set sync to FALSE by default.
4813
4814 2005-09-20  Wim Taymans  <wim@fluendo.com>
4815
4816         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4817         (gst_base_sink_init):
4818         Make sync property settable from subclass.
4819
4820         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4821         (gst_fake_sink_change_state):
4822         Set sync to FALSE by default.
4823
4824 2005-09-20  Wim Taymans  <wim@fluendo.com>
4825
4826         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4827         * tools/gst-launch.c: (main):
4828         The timeout handler should have lower priority than the source
4829         so we don't timeout before popping a message with 0 timeout.
4830         Dump error messages after failed state change.
4831
4832 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4833
4834         * tools/gst-inspect.c: (print_element_properties_info):
4835           Fix two typos.
4836
4837 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4838
4839         * check/gst/gstevent.c:
4840         * gst/elements/gstfakesink.c:
4841         * gst/elements/gstfakesink.h:
4842           remove the sync property from fakesink.
4843           has the side effect of setting sync TRUE
4844           for fakesink, which is a change.  Anyone who knows how
4845           to fix this nicely in a GObject-y way, feel free.
4846
4847 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4848
4849         * docs/gst/gstreamer-docs.sgml:
4850           remove probe refsection
4851
4852 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4853
4854         * check/Makefile.am:
4855           disable valgrinding the controller test again
4856         * docs/gst/gstreamer-sections.txt:
4857           update for api-changes
4858
4859 2005-09-20  Wim Taymans  <wim@fluendo.com>
4860
4861         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4862         (gst_base_sink_set_property), (gst_base_sink_get_property),
4863         (gst_base_sink_do_sync):
4864         * gst/base/gstbasesink.h:
4865         Added sync property to basesink to disable clock sync.
4866
4867 2005-09-20  Andy Wingo  <wingo@pobox.com>
4868
4869         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
4870         eating the caller's refcount.
4871
4872         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
4873         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
4874         refcount.
4875
4876         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
4877         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
4878         of GLib 2.8 public, so we can know which refcount to check in
4879         tests.
4880
4881         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
4882         (gst_object_init): Only set the gst refcount if we're going ahead
4883         with the refcount hack.
4884
4885 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4886
4887         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4888         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4889           more leaks plumbed, added more debug-logging
4890         * gst/gstmacros.h:
4891           whitespace fix
4892
4893 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4894
4895         * gst/gstmessage.c:
4896           remove include of gstmemchunk.h
4897
4898 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4899
4900         * gst/gstclock.c: (_gst_clock_id_free):
4901           Commit from the Political Party For More Atomic CVS Commits,
4902           so that people don't waste too much of their day fishing
4903           out obvious leaks out of massive commits.
4904           Oh, and fix a pretty damn obvious leak in the memchunk
4905           removal code.
4906
4907 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4908
4909         * check/Makefile.am:
4910         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4911           plug mem-leak, re-add to valgrindable tests
4912
4913 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4914
4915         * gst/gstplugin.h:
4916           unbreak the build for those who have chronic arthritis
4917           and typing "make check" is just too taxing on the hands
4918
4919 2005-09-20  Andy Wingo  <wingo@pobox.com>
4920
4921         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
4922         really want it out, you should fix plugins at the same time.
4923
4924 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
4925
4926         * configure.ac:
4927         * docs/gst/gstreamer-sections.txt:
4928         * gst/gstobject.c:
4929           added missing symbols to api docs
4930           disable ref-count hack if we have glib >= 2.8
4931
4932 2005-09-19  David Schleef  <ds@schleef.org>
4933
4934         * docs/gst/Makefile.am: Ignore a few more internal headers
4935         * docs/gst/gstreamer-docs.sgml: Remove old sections
4936         * docs/gst/gstreamer-sections.txt: Remove old sections
4937         * docs/gst/tmpl/gstobject.sgml: update
4938         * docs/gst/tmpl/gstplugin.sgml: update
4939         * docs/gst/tmpl/gstpluginfeature.sgml: update
4940         * docs/random/ds/0.9-suggested-changes: update.
4941         * gst/Makefile.am: remove memchunk and trashstack, since they're
4942           not used.
4943         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
4944         * gst/gst.h: don't include some headers
4945         * gst/gstchildproxy.c: add gstmarshal.h
4946         * gst/gstclock.c: Don't use memchunks
4947         * gst/gstminiobject.c: Add some docs
4948         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
4949         * gst/gstobject.h: same
4950         * gst/gstplugin.c: include gstmacros.h
4951         * gst/gstplugin.h: don't include gstmacros.h, since it's private
4952         * gst/gstquery.c: don't use memchunks
4953         * gst/gstregistry.c: rename gst_registry_deinit()
4954         * gst/gstregistry.h: same
4955
4956 2005-09-19  David Schleef  <ds@schleef.org>
4957
4958         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
4959         * docs/libs/gstreamer-libs-sections.txt:
4960         * docs/libs/tmpl/gstgetbits.sgml:
4961         * docs/libs/tmpl/gstputbits.sgml:
4962
4963 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4964
4965         * win32/gstenumtypes.c:
4966         * win32/gstenumtypes.h:
4967           Update.
4968
4969 2005-09-19  Wim Taymans  <wim@fluendo.com>
4970
4971         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
4972         Automatically PAUSE and RESUME a pipeline when a flushing seek
4973         is performed.
4974
4975 2005-09-19  Andy Wingo  <wingo@pobox.com>
4976
4977         * gst/gstregistry.h: Spacing fixen.
4978
4979 2005-09-19  Wim Taymans  <wim@fluendo.com>
4980
4981         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
4982         Handle state change failure more correctly.
4983
4984 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
4985
4986         * check/Makefile.am:
4987         * check/pipelines/cleanup.c: (run_pipeline):
4988         * check/pipelines/simple_launch_lines.c: (run_pipeline),
4989         (GST_START_TEST):
4990           enable cleanup again after fixing the leak
4991         * docs/README:
4992           some more info on docs
4993
4994 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
4995
4996         * check/Makefile.am:
4997           re-enable tests now that leaks are plugged
4998         * check/gst/gst.c:
4999         * check/gst/gstbin.c:
5000         * check/gst/gstpipeline.c:
5001           add some more tests while fixing leaks
5002         * common/check.mak:
5003           make sure binaries are uptodate when valgrinding/gdbing
5004         * gst/gst.c:
5005         * gst/gstelementfactory.c:
5006           remove a ref too many, and add a FIXME for when we get
5007           round to disposing of classes
5008         * gst/gstplugin.c:
5009           fix the refcounting when loading a plugin from a file and
5010           the code pretends that the pointer is the same even though
5011           of course it can change
5012         * gst/gstpluginfeature.c:
5013           unref plugins marked cached (a bit confusing as a name)
5014           as the docs state should be done
5015           various doc additions to explain refcounting
5016         * gst/gstregistry.c:
5017         * gst/gstregistryxml.c:
5018           debugging
5019
5020 2005-09-19  Wim Taymans  <wim@fluendo.com>
5021
5022         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5023         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5024         (send_messages), (GST_START_TEST), (gstbus_suite):
5025         * check/gst/gstpipeline.c: (GST_START_TEST):
5026         * check/pipelines/cleanup.c: (run_pipeline):
5027         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5028         (GST_START_TEST):
5029         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5030         (gst_bus_source_check), (gst_bus_source_dispatch),
5031         (gst_bus_create_watch), (gst_bus_add_watch_full),
5032         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5033         * gst/gstbus.h:
5034         * tools/gst-launch.c: (event_loop):
5035         * tools/gst-md5sum.c: (event_loop):
5036         GstBusHandler -> GstBusFunc, return value has the same meaning as
5037         any other GSource (FALSE == remove source).
5038         _add_watch() and _add_watch_full() now take a MessageType mask to
5039         only handle specific types of messages.
5040         _poll() returns the GstMessage instead of the message type to avoid
5041         race conditions.
5042         _have_pending() takes a MessageType mask now too.
5043         Added testsuite for multiple bus watches.
5044         Fix testsuites and applications for new bus API.
5045
5046 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5047
5048         * check/Makefile.am:
5049           mark a bunch of the tests as to fix until we fix them
5050
5051 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5052
5053         * common/check.mak:
5054           use GST_PLUGIN settings for valgrind tests as well, so we're
5055           valgrinding the correct thing
5056         * gst/gst.c: (init_post):
5057           plug another leak
5058
5059 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5060
5061         * gst/gst.c: (init_post), (gst_deinit):
5062         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5063         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5064         * gst/gstindex.c: (gst_index_factory_class_init),
5065         (gst_index_factory_finalize):
5066         * gst/gstobject.c: (gst_object_dispose):
5067         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5068         (gst_plugin_load_file), (gst_plugin_desc_free):
5069         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5070         (gst_plugin_feature_finalize):
5071         * gst/gstregistry.c: (gst_registry_class_init),
5072         (gst_registry_init), (gst_registry_finalize),
5073         (gst_registry_get_default), (gst_registry_deinit):
5074         * gst/gstregistry.h:
5075         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5076           various cleanups and memleak plugging.  make valgrind is happy now.
5077
5078 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5079
5080         * common/check.mak:
5081           add a check-valgrind target
5082
5083 2005-09-18  David Schleef  <ds@schleef.org>
5084
5085         * tools/gst-inspect.c: Revert the GOption code.
5086
5087 2005-09-17  David Schleef  <ds@schleef.org>
5088
5089         * check/Makefile.am: Fix environment variables.
5090         * check/gst/gstplugin.c: Fix for API changes.
5091         * tools/gst-inspect.c: Fix for API changes.
5092         * tools/gst-xmlinspect.c: Fix for API changes.
5093         * gst/gstelementfactory.c:
5094         * gst/gstplugin.c:
5095         * gst/gstplugin.h:
5096         * gst/gstpluginfeature.c:
5097         * gst/gstpluginfeature.h:
5098         * gst/gstregistry.c:
5099         * gst/gstregistry.h:
5100         * gst/gstregistryxml.c:
5101         * gst/gsttypefind.c:
5102         * gst/gsttypefindfactory.c:
5103         * gst/indexers/gstfileindex.c:
5104         * gst/indexers/gstmemindex.c:
5105         * gst/schedulers/Makefile.am:
5106           Change registry to keep track of both plugins and features,
5107           removing the feature tracking from plugins themselves.
5108
5109 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5110
5111         * check/Makefile.am:
5112         * tools/gst-register.1.in:
5113           remove gst-register
5114
5115 2005-09-15  David Schleef  <ds@schleef.org>
5116
5117         * check/gst/gstplugin.c:
5118         * gst/gstelementfactory.c:
5119         * gst/gstplugin.c:
5120         * gst/gstpluginfeature.c:
5121         * gst/gstregistry.c:
5122           Getting tired of debugging.  Disabled all the unreffing of
5123           plugins and features, which fixes the segfaults, but of
5124           course leaks like crazy.  At least playbin works.
5125
5126 2005-09-15  David Schleef  <ds@schleef.org>
5127
5128         * check/gst/gstplugin.c: (register_check_elements),
5129         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5130         More testing
5131         * gst/elements/gsttypefindelement.c: Fix refcounting.
5132         * gst/gsttypefind.c:
5133         * gst/gsttypefindfactory.c:
5134         * gst/gsttypefindfactory.h:
5135
5136 2005-09-15  David Schleef  <ds@schleef.org>
5137
5138         * gst/gstindex.c: get refcounting correct.
5139         * gst/gstregistry.c: Handle the case where a feature/plugin is
5140           not found.
5141
5142 2005-09-15  David Schleef  <ds@schleef.org>
5143
5144         * check/Makefile.am:
5145         * check/gst/gstplugin.c: Add test
5146         * gst/gstplugin.c: Fix problems noticed by testsuite
5147         * gst/gstplugin.h:
5148         * gst/gstregistry.c: 
5149         * gst/gstregistry.h:
5150
5151 2005-09-15  David Schleef  <ds@schleef.org>
5152
5153         * gst/gstplugin.c: Implement semi-decent recounting and locking
5154           in plugins and plugin features.
5155         * gst/gstplugin.h:
5156         * gst/gstpluginfeature.c:
5157         * gst/gstpluginfeature.h:
5158         * gst/gstregistry.c:
5159
5160 2005-09-15  Michael Smith <msmith@fluendo.com>
5161
5162         * gst/gstregistry.c: (gst_registry_get_feature_list):
5163           Implement this. Makes oggdemux work; decodebin still broken.
5164
5165 2005-09-14  David Schleef  <ds@schleef.org>
5166
5167         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5168           #316076)
5169         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5170         * gst/check/Makefile.am:
5171         * libs/gst/controller/Makefile.am:
5172         * libs/gst/dataprotocol/Makefile.am:
5173
5174 2005-09-14  David Schleef  <ds@schleef.org>
5175
5176         * configure.ac: Remove getbits library.  Nothing uses it, and
5177           it should be in something like liboil if someone did want
5178           to use it.
5179         * libs/gst/Makefile.am:
5180         * libs/gst/getbits/Makefile.am:
5181         * libs/gst/getbits/gbtest.c:
5182         * libs/gst/getbits/getbits.c:
5183         * libs/gst/getbits/getbits.h:
5184         * libs/gst/getbits/gstgetbits_generic.c:
5185         * libs/gst/getbits/gstgetbits_i386.s:
5186         * libs/gst/getbits/gstgetbits_inl.h:
5187
5188 2005-09-14  David Schleef  <ds@schleef.org>
5189
5190         * gst/Makefile.am: Dist glib-compat.h
5191
5192 2005-09-14  David Schleef  <ds@schleef.org>
5193
5194         * configure.ac: Remove gst/registries, since it's no longer used.
5195         * gst/registries/Makefile.am:
5196         * gst/registries/gstlibxmlregistry.c:
5197         * gst/registries/gstlibxmlregistry.h:
5198         * gst/registries/gstxmlregistry.c:
5199         * gst/registries/gstxmlregistry.h:
5200         * gst/registries/registrytest.c:
5201
5202 2005-09-14  David Schleef  <ds@schleef.org>
5203
5204         * gst/glib-compat.h:
5205         * gst/gstregistryxml.c:
5206           Convergence is near.  Seriously.
5207
5208 2005-09-14  David Schleef  <ds@schleef.org>
5209
5210         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5211         * gst/glib-compat.h:
5212           Attempt #4 to appease the buildbots.
5213
5214 2005-09-14  David Schleef  <ds@schleef.org>
5215
5216         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5217           Attempt #3.
5218
5219 2005-09-14  David Schleef  <ds@schleef.org>
5220
5221         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5222         Attempt #2.
5223
5224 2005-09-14  David Schleef  <ds@schleef.org>
5225
5226         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5227           the new functions.
5228
5229 2005-09-14  David Schleef  <ds@schleef.org>
5230
5231         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5232         * gst/glib-compat.h: Add some functions that are in newer versions
5233           of glib than we care to require.
5234         * gst/gstregistryxml.c: Use them.
5235
5236 2005-09-14  David Schleef  <ds@schleef.org>
5237
5238         * po/POTFILES.in: remove gst-register.c
5239
5240 2005-09-14  David Schleef  <ds@schleef.org>
5241
5242         * docs/gst/gstreamer-docs.sgml:
5243         * docs/gst/gstreamer-sections.txt:
5244         * docs/gst/gstreamer.types:
5245         * docs/gst/tmpl/gstelement.sgml:
5246         * docs/gst/tmpl/gstplugin.sgml:
5247         * docs/gst/tmpl/gstpluginfeature.sgml:
5248           Documentation updates for registry changes.
5249
5250 2005-09-14  David Schleef  <ds@schleef.org>
5251
5252         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5253           because we don't require glib-2.8.
5254
5255 2005-09-14  David Schleef  <ds@schleef.org>
5256
5257         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5258           registries directory.
5259
5260 2005-09-14  David Schleef  <ds@schleef.org>
5261
5262         * check/Makefile.am:
5263         * check/generic/states.c:
5264         * gst/Makefile.am:
5265         * gst/gst.c:
5266         * gst/gst.h:
5267         * gst/gst_private.h:
5268         * gst/gstelementfactory.c:
5269         * gst/gstindex.c:
5270         * gst/gstinfo.c:
5271         * gst/gstplugin.c:
5272         * gst/gstplugin.h:
5273         * gst/gstpluginfeature.c:
5274         * gst/gstpluginfeature.h:
5275         * gst/gstregistry.c:
5276         * gst/gstregistry.h:
5277         * gst/gstregistrypool.c: remove
5278         * gst/gstregistrypool.h: remove
5279         * gst/gsttypefind.c:
5280         * gst/gsttypefindfactory.c:
5281         * gst/gsturi.c:
5282         * tools/Makefile.am:
5283         * tools/gst-compprep.c:
5284         * tools/gst-inspect.c:
5285         * tools/gst-register.c: remove
5286         * tools/gst-xmlinspect.c:
5287           Registry rewrite.  Changes registry from being a file created
5288           by a tool into a simple cache file created automatically by 
5289           libgstreamer.  Removed gst-register (because it's no longer
5290           needed).  Remove registry pools, because we only have one
5291           registry implementation (XML).  Fix up other subsystems as
5292           necessary.
5293
5294 2005-09-13  Michael Smith <msmith@fluendo.com>
5295
5296         * gst/gstconfig.h.in:
5297           Don't Use windows linking attributes for MinGW. Fixes #316157
5298
5299 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5300
5301         * gst/gstutils.c: (set_state_async_thread_func),
5302         (gst_element_set_state_async):
5303           Apparently people think it's better if this function doesn't
5304           try to set the state to whatever state was asked for on the first
5305           call to this function for any object.  Seriously.
5306
5307 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5308
5309         * check/gst/gstpipeline.c: (GST_START_TEST):
5310         * docs/gst/gstreamer-sections.txt:
5311         * gst/gstutils.c: (set_state_async_thread_func),
5312         (gst_element_set_state_async):
5313         * gst/gstutils.h:
5314           add a "gst_element_set_state_async" method that
5315           sets the state and starts a thread to make sure the state
5316           change completes as best as it can
5317
5318 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5319
5320         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5321           codify design+behaviour in testsuite after discussion
5322
5323 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5324
5325         * docs/gst/tmpl/gstelement.sgml:
5326         * docs/manual/appendix-quotes.xml:
5327           add a quote
5328         * gst/gstelement.c: (gst_element_set_state):
5329           add some debug
5330
5331 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5332
5333         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5334         (gst_base_transform_prepare_output_buf),
5335         (gst_base_transform_handle_buffer):
5336         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5337         (gst_capsfilter_prepare_buf):
5338           Remove the requirement for sub-classes to call the parent
5339           implementation of prepare_output_buffer with a wrapper function.
5340           
5341         * gst/gsttaglist.h:
5342         * gst/gsttagsetter.h:
5343           Fix #define wrapper
5344
5345 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5346
5347         * docs/gst/gstreamer-sections.txt:
5348           more doc cleanups
5349
5350 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5351
5352         * docs/gst/gstreamer-sections.txt:
5353         * docs/gst/tmpl/gstelement.sgml:
5354         * docs/gst/tmpl/gstplugin.sgml:
5355         * gst/gstminiobject.c:
5356         * gst/gstvalue.h:
5357           docs now stop throwing warnings
5358
5359 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5360
5361         * docs/gst/gstreamer-sections.txt:
5362         * docs/gst/gstreamer.types:
5363         * docs/gst/tmpl/gstpad.sgml:
5364         * docs/gst/tmpl/gsttypes.sgml:
5365         * gst/base/gstadapter.h:
5366         * gst/base/gstbasesink.h:
5367         * gst/base/gstbasesrc.h:
5368         * gst/gstbin.h:
5369         * gst/gstbuffer.h:
5370         * gst/gstbus.h:
5371         * gst/gstcaps.h:
5372         * gst/gstclock.h:
5373         * gst/gstelement.h:
5374         * gst/gstevent.h:
5375         * gst/gstmessage.h:
5376         * gst/gstpad.h:
5377         * gst/gststructure.c:
5378         * gst/registries/gstlibxmlregistry.h:
5379           various documentation fixes
5380
5381 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5382
5383         * docs/gst/gstreamer-sections.txt:
5384         * docs/gst/tmpl/gstvalue.sgml:
5385           rearrange gstvalue section
5386         * gst/gstutils.c: (gst_element_state_get_name):
5387           NONE -> VOID
5388         * gst/gstvalue.c: (_gst_value_initialize):
5389         * gst/gstvalue.h:
5390           doc updates
5391
5392 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5393
5394         * check/gst-libs/controller.c:
5395           Header include fix.
5396         * gst/base/gstbasetransform.c:
5397         (gst_base_transform_default_prepare_buf),
5398         (gst_base_transform_handle_buffer):
5399         * gst/base/gstbasetransform.h:
5400           Some more basetransform changes and fixes to enable sub-classes
5401           that modify buffer metadata only.
5402         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5403         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5404         (gst_capsfilter_prepare_buf):
5405           If the output pad has fixed allowed caps and input buffers 
5406           don't have any, set the fixed caps on outgoing buffers.
5407
5408 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5409         * check/elements/identity.c: (GST_START_TEST):
5410           Make the error a little clearer when the test fails because
5411           identity made a copy of the buffer.
5412         * docs/gst/gstreamer-sections.txt:
5413           New symbols in gstbasetransform.h
5414         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5415         (gst_base_transform_init), (gst_base_transform_transform_size),
5416         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5417         (gst_base_transform_default_prepare_buf),
5418         (gst_base_transform_get_unit_size),
5419         (gst_base_transform_buffer_alloc),
5420         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5421         (gst_base_transform_change_state),
5422         (gst_base_transform_set_passthrough),
5423         (gst_base_transform_set_in_place),
5424         (gst_base_transform_is_in_place):
5425         * gst/base/gstbasetransform.h:
5426           Change BaseTransform to separate in_place operate from same_caps
5427           output. in_place implies that the element can perform the transform
5428           on incoming buffers in-place, even if the caps on the output are
5429           different.
5430           Sub-class elements can now implement special buffer allocation
5431           methods for outgoing buffers if they wish to.
5432           Big documentation addition.
5433         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5434         * gst/elements/gstelements.c:
5435           Changes for basetransform modifications.
5436         * gst/elements/Makefile.am:
5437         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5438           Compile fix. Extra debug output.
5439
5440 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5441
5442         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5443         (gst_pad_suite):
5444           add tests for valid pad naming
5445         * gst/check/gstcheck.c: (gst_check_log_message_func),
5446         (gst_check_log_critical_func):
5447           add ASSERT_WARNING
5448           remove printing of code, it is fragile when the code contains
5449           % and the line number is enough info
5450         * gst/check/gstcheck.h:
5451         * gst/gstpad.c: (gst_pad_template_new):
5452           fix memleaks
5453
5454 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5455
5456         * configure.ac:
5457           say what CHECK flags we use
5458         * docs/libs/gstreamer-libs.types:
5459         * libs/gst/controller/Makefile.am:
5460         * libs/gst/controller/gst-controller.c:
5461         * libs/gst/controller/gst-controller.h:
5462         * libs/gst/controller/gst-helper.c:
5463         * libs/gst/controller/gst-interpolation.c:
5464         * libs/gst/controller/gstcontroller.c:
5465         * libs/gst/controller/gsthelper.c:
5466         * libs/gst/controller/gstinterpolation.c:
5467         * tools/gst-inspect.c: (print_plugin_info):
5468           we don't use dashes in header names
5469
5470 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5471
5472         * check/Makefile.am:
5473         * check/gst/.cvsignore:
5474         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5475         (gst_pipeline_suite), (main):
5476           adding a test for pipelines and state changes
5477         * gst/gstutils.c: (get_state_func):
5478           add some debugging
5479         * gstreamer.spec.in:
5480           fix up spec file
5481
5482 2005-09-08  Michael Smith <msmith@fluendo.com>
5483
5484         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5485         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5486         (gst_file_src_is_seekable), (gst_file_src_get_size),
5487         (gst_file_src_start):
5488         * gst/elements/gstfilesrc.h:
5489           Various fixes for unseekable, unmmapable, and non-normal files, so
5490           that fallback to read() rather than mmap() works.
5491         * gst/gstevent.c: (gst_event_new_newsegment):
5492           Allow newsegment events with segment_start == segment_end, as will
5493           correctly happen if you use filesrc on a zero-size file, for
5494           example.
5495
5496 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5497
5498         * gst/gstplugin.c: (gst_plugin_load_file):
5499           Call g_module_close when we don't load the module
5500
5501         * gst/registries/gstlibxmlregistry.c:
5502         (gst_xml_registry_get_property):
5503           Port leak fix from 0.8
5504
5505 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5506
5507         * docs/gst/gstreamer-docs.sgml:
5508         * docs/gst/tmpl/.cvsignore:
5509         * docs/gst/tmpl/gsttrace.sgml:
5510         * docs/gst/tmpl/gsttrashstack.sgml:
5511         * gst/Makefile.am:
5512         * gst/gst.h:
5513         * gst/gstelement.h:
5514         * gst/gstevent.h:
5515         * gst/gstmessage.c:
5516         * gst/gstmessage.h:
5517         * gst/gsttag.c:
5518         * gst/gsttag.h:
5519         * gst/gsttaginterface.c:
5520         * gst/gsttaginterface.h:
5521         * gst/gsttaglist.c:
5522         * gst/gsttaglist.h:
5523         * gst/gsttagsetter.c:
5524         * gst/gsttagsetter.h:
5525         * gst/gsttrace.c:
5526         * gst/gsttrace.h:
5527         * gst/gsttrashstack.c:
5528           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5529           inlined docs for gsttrace, gsttrashstack
5530
5531 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5532
5533         * gst/Makefile.am:
5534         * gst/elements/gstbufferstore.h:
5535         * gst/elements/gsttypefindelement.c:
5536         * gst/elements/gsttypefindelement.h:
5537         * gst/gst.h:
5538         * gst/gsttypefind.c:
5539         * gst/gsttypefind.h:
5540         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5541         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5542         (gst_type_find_factory_dispose),
5543         (gst_type_find_factory_unload_thyself),
5544         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5545         (gst_type_find_factory_get_caps),
5546         (gst_type_find_factory_get_extensions),
5547         (gst_type_find_factory_call_function):
5548         * gst/gsttypefindfactory.h:
5549         * gst/registries/gstlibxmlregistry.c:
5550         * gst/registries/gstxmlregistry.c:
5551           splitted gsttypefind into gsttypefind, gsttypefindfactory
5552
5553 2005-09-07  Andy Wingo  <wingo@pobox.com>
5554
5555         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5556         condition whereby the pad's task function is entered before the
5557         pad_mode variable was set.
5558
5559 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5560
5561         * gst/gstpad.c: (gst_pad_alloc_buffer):
5562           Catch misbehaving pad_alloc functions that don't
5563           set up caps and do it for them.
5564
5565 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5566
5567         * check/pipelines/simple_launch_lines.c: (run_pipeline):
5568           test for pipe!=NULL
5569         * docs/gst/tmpl/.cvsignore:
5570         * docs/gst/tmpl/gstmemchunk.sgml:
5571         * docs/gst/tmpl/gstparse.sgml:
5572         * docs/gst/tmpl/gsttaglist.sgml:
5573         * docs/gst/tmpl/gsttagsetter.sgml:
5574         * docs/gst/tmpl/gsttypefind.sgml:
5575         * docs/gst/tmpl/gsttypefindfactory.sgml:
5576         * gst/gstmemchunk.c:
5577         * gst/gstparse.c:
5578         * gst/gsttag.c:
5579         * gst/gsttaginterface.c:
5580         * gst/gsttypefind.c:
5581         * gst/gsttypefind.h:
5582           inlined more docs
5583
5584 === release 0.9.2 ===
5585
5586 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5587
5588         * NEWS:
5589         * RELEASE:
5590         * configure.ac:
5591           releasing 0.9.2, "South"
5592
5593 2005-09-05  Andy Wingo  <wingo@pobox.com>
5594
5595         * gst/registries/gstxmlregistry.h:
5596         * gst/registries/gstxmlregistry.c: Um... resurrect...
5597         
5598         * gst/registries/gstxmlregistry.h:
5599         * gst/registries/gstxmlregistry.c: and update to newer API.
5600         Incidentally they should be a bit faster now that they don't have
5601         to parse the caps.
5602         
5603 2005-09-05  Andy Wingo  <wingo@pobox.com>
5604
5605         * gst/registries/gstxmlregistry.h:
5606         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5607         replaced by the libxml registry a while back
5608
5609 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5610
5611         * docs/gst/tmpl/gstplugin.sgml:
5612         * gst/elements/gstelements.c:
5613         * gst/gst.c:
5614         * gst/gstplugin.c: (gst_plugin_register_func),
5615         (gst_plugin_desc_copy), (gst_plugin_desc_free),
5616         (gst_plugin_get_source):
5617         * gst/gstplugin.h:
5618         * gst/registries/gstlibxmlregistry.c: (load_plugin),
5619         (gst_xml_registry_save_plugin):
5620         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5621         (gst_xml_registry_save_plugin):
5622         * tools/gst-inspect.c: (print_plugin_info):
5623           add a "source" plugin description field, to represent the source
5624           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
5625           will set it to PACKAGE, which is automake's idea of the name of
5626           the source project.
5627
5628 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5629
5630         * Makefile.am:
5631         * autogen.sh:
5632         * configure.ac:
5633         * docs/Makefile.am:
5634         * docs/faq/Makefile.am:
5635         * docs/gst/tmpl/gstelement.sgml:
5636         * docs/gst/tmpl/gsttypes.sgml:
5637         * docs/htmlinstall.mak:
5638         * docs/manual/Makefile.am:
5639         * docs/pwg/Makefile.am:
5640           reorganize doc build a little
5641           split out docbook and gtk-doc stuff
5642           have two separate --enable's and enable them through autogen
5643           but disable by default in configure (to be similar to other
5644           projects)
5645         * gstreamer.spec.in:
5646           clean up docs install
5647         * po/af.po:
5648         * po/az.po:
5649         * po/ca.po:
5650         * po/cs.po:
5651         * po/de.po:
5652         * po/en_GB.po:
5653         * po/fr.po:
5654         * po/it.po:
5655         * po/nb.po:
5656         * po/nl.po:
5657         * po/ru.po:
5658         * po/sq.po:
5659         * po/sr.po:
5660         * po/sv.po:
5661         * po/tr.po:
5662         * po/uk.po:
5663         * po/vi.po:
5664           translation updates
5665
5666 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5667
5668         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5669           Add comment.
5670           
5671         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5672         (gst_fake_sink_change_state):
5673           Make state change function thread-safe.
5674           
5675         * gst/gstpad.c: (gst_pad_alloc_buffer):
5676           Set offset on generic buffer allocated by fallback.
5677
5678 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
5679
5680         * docs/gst/gstreamer-sections.txt:
5681         * docs/gst/tmpl/gstelement.sgml:
5682         * gst/gstpad.c:
5683         * libs/gst/controller/gst-controller.c:
5684         (gst_controlled_property_set_interpolation_mode),
5685         (gst_controlled_property_new),
5686         (gst_controller_find_controlled_property):
5687          run the wingo-magic script against the docs
5688
5689 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5690
5691         * docs/gst/gstreamer-docs.sgml:
5692         * docs/gst/gstreamer-sections.txt:
5693         * docs/gst/tmpl/.cvsignore:
5694         * docs/gst/tmpl/gstelementdetails.sgml:
5695         * docs/gst/tmpl/gstelementfactory.sgml:
5696         * gst/gst.c:
5697         * gst/gstbus.c:
5698         * gst/gstelementfactory.c:
5699         * gst/gstelementfactory.h:
5700           merged elementdetails docs into elementfactory docs
5701           inlined both
5702
5703 2005-09-02  Andy Wingo  <wingo@pobox.com>
5704
5705         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5706         consider this enum an enum and not a flags.
5707
5708 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5709
5710         * docs/gst/gstreamer-docs.sgml:
5711         * docs/gst/tmpl/.cvsignore:
5712         * docs/gst/tmpl/gstghostpad.sgml:
5713         * docs/gst/tmpl/gstiterator.sgml:
5714         * docs/gst/tmpl/gstmacros.sgml:
5715         * docs/gst/tmpl/gstrealpad.sgml:
5716         * docs/gst/tmpl/gstregistry.sgml:
5717         * docs/gst/tmpl/gstregistrypool.sgml:
5718         * docs/gst/tmpl/gststructure.sgml:
5719         * docs/gst/tmpl/gstsystemclock.sgml:
5720         * docs/gst/tmpl/gsttrace.sgml:
5721         * gst/gstghostpad.c:
5722         * gst/gstmacros.h:
5723         * gst/gstmemchunk.c:
5724         * gst/gstmemchunk.h:
5725         * gst/gstqueue.c:
5726         * gst/gstregistry.c:
5727         * gst/gstregistrypool.c:
5728         * gst/gststructure.c:
5729         * gst/gstsystemclock.c:
5730           more docs inlined
5731
5732 2005-09-02  Andy Wingo  <wingo@pobox.com>
5733
5734         * gst/gstelement.h (GstState): Renamed from GstElementState,
5735         changed to be a normal enum instead of flags.
5736         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5737         munged to be GST_STATE_CHANGE_*.
5738         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5739         work with the new state representation.
5740         (GstStateChange): New enumeration of possible state transitions.
5741         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5742         (GstElementClass::change_state): Pass the GstStateChange along as
5743         an argument. Helps language bindings, so they don't have to use
5744         tricky lock-needing macros like GST_STATE_CHANGE ().
5745
5746         * scripts/update-states (file): New script. Run it on a file to
5747         update it for state naming and API changes. Updates files in
5748         place.
5749
5750         * All files updated for the new API.
5751
5752 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5753
5754         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5755         * gst/gstutils.c: (gst_util_set_value_from_string),
5756         (gst_util_set_object_arg):
5757           fix a bunch of unchecked return values
5758         * tools/gst-complete.c: (main):
5759         * gstreamer.spec.in:
5760           clean up a little
5761
5762 2005-09-01  Wim Taymans  <wim@fluendo.com>
5763
5764         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5765         (gst_base_sink_event), (gst_base_sink_do_sync),
5766         (gst_base_sink_handle_event):
5767         * gst/base/gstbasesink.h:
5768         Handle newsegments more correctly.
5769
5770         * gst/gstbus.c:
5771         Fix docs.
5772
5773         * gst/gstevent.c: (gst_event_new_newsegment):
5774         A newsegment cannot have a start_time of -1
5775
5776 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5777
5778         * win32/gstenumtypes.c:
5779         * win32/gstenumtypes.h:
5780           Update
5781
5782 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5783
5784         * libs/gst/controller/gst-controller.c:
5785         (gst_controlled_property_set_interpolation_mode),
5786         (gst_controlled_property_new):
5787          fixed boolean again
5788
5789 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5790
5791         * docs/faq/gst-uninstalled:
5792           add -good
5793         * gst/gstevent.c:
5794         * gst/gstevent.h:
5795           remove wrong docs
5796         * gst/gstutils.c: (gst_element_link_filtered):
5797         * gst/gstutils.h:
5798           add gst_element_link_filtered
5799
5800 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5801
5802         * docs/gst/gstreamer-docs.sgml:
5803         * docs/gst/gstreamer-sections.txt:
5804         * docs/gst/tmpl/.cvsignore:
5805         * docs/gst/tmpl/gsterror.sgml:
5806         * docs/gst/tmpl/gstfilter.sgml:
5807         * docs/gst/tmpl/gsturihandler.sgml:
5808         * docs/gst/tmpl/gsturitype.sgml:
5809         * docs/gst/tmpl/gstutils.sgml:
5810         * docs/gst/tmpl/gstxml.sgml:
5811         * gst/gsterror.c:
5812         * gst/gsterror.h:
5813         * gst/gstfilter.c:
5814         * gst/gsturi.c:
5815         * gst/gsturitype.c:
5816         * gst/gstutils.c:
5817         * gst/gstxml.c:
5818           inlined more docs, fixed double id-ref
5819
5820 2005-08-31  Wim Taymans  <wim@fluendo.com>
5821
5822         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5823         (gst_base_transform_handle_buffer):
5824         Passthrough elements don't need the caps as they don't care.
5825
5826 2005-08-31  Wim Taymans  <wim@fluendo.com>
5827
5828         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5829         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
5830         Don't leak refcounts on buffers.
5831
5832 2005-08-31  Wim Taymans  <wim@fluendo.com>
5833
5834         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
5835         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5836         (gst_base_transform_chain), (gst_base_transform_change_state):
5837         * gst/base/gstbasetransform.h:
5838         Handle the case where we are not negotiated more gracefully.
5839
5840 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
5841
5842         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
5843         (gst_file_src_map_region):
5844           Set READONLY flag on mmap'ed buffers, otherwise
5845           gst_buffer_make_writable() won't work properly (#314708).
5846
5847 2005-08-31  Wim Taymans  <wim@fluendo.com>
5848
5849         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
5850         passthrough elements can even do inplace on non writable
5851         buffers (as they don't touch them).
5852
5853 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5854
5855         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5856         (gst_test_mono_source_set_property),
5857         (gst_test_mono_source_class_init), (GST_START_TEST),
5858         (gst_controller_suite):
5859           more tests (hehe I have the most)
5860         * gst/gstbus.c:
5861           describe popping messages whenusing mulltiple sources
5862         * libs/gst/controller/gst-controller.c:
5863         (gst_controlled_property_set_interpolation_mode),
5864         (gst_controlled_property_new):
5865         * libs/gst/controller/gst-controller.h:
5866         * libs/gst/controller/gst-interpolation.c:
5867           implement boolean properties
5868
5869 2005-08-31  Wim Taymans  <wim@fluendo.com>
5870
5871         * gst/gstminiobject.c: (gst_mini_object_ref):
5872         Cannot assert that the refcount has to be positive
5873         since a disposed object can be resurrected.
5874
5875 2005-08-31  Wim Taymans  <wim@fluendo.com>
5876
5877         * gst/gstpad.c: (gst_pad_init):
5878         Revert change, need to first fix badly behaving 
5879         apps.
5880
5881 2005-08-30  Wim Taymans  <wim@fluendo.com>
5882
5883         * check/elements/fakesrc.c: (setup_fakesrc):
5884         * check/elements/identity.c: (setup_identity):
5885         Activate pads before using them.
5886
5887 2005-08-30  Wim Taymans  <wim@fluendo.com>
5888
5889         * gst/base/gstadapter.c: (gst_adapter_flush):
5890         Flushing out 0 bytes is ok for this function.
5891
5892         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5893         no newsegment gives a warning and sets the start/stop to 
5894         invalid.
5895
5896         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
5897         (gst_base_transform_set_passthrough):
5898         Some debug info.
5899
5900         * gst/gstminiobject.c: (gst_mini_object_ref):
5901         Check refcount here too.
5902
5903         * gst/gstpad.c: (gst_pad_init):
5904         Pads are initially flushing and refusing data.
5905
5906         * gst/gstutils.c: (gst_element_link_pads_filtered):
5907         When adding a capsfilter element make sure it has the
5908         same state as the parent bin.
5909
5910 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5911
5912         * docs/gst/tmpl/.cvsignore:
5913         * docs/gst/tmpl/gstformat.sgml:
5914         * docs/gst/tmpl/gstversion.sgml:
5915         * gst/gstbus.h:
5916         * gst/gstformat.c:
5917         * gst/gstformat.h:
5918         * gst/gstversion.h.in:
5919           more docs and two more inlined
5920
5921 2005-08-30  Wim Taymans  <wim@fluendo.com>
5922
5923         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
5924         Don't sync to clock.
5925
5926 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5927
5928         * docs/gst/gstreamer-sections.txt:
5929           ultral33t func10ns deserve to appear in the docs actually
5930         * docs/gst/tmpl/.cvsignore:
5931         * docs/gst/tmpl/gstcompat.sgml:
5932         * docs/gst/tmpl/gstconfig.sgml:
5933         * gst/check/gstcheck.c:
5934         * gst/gstcompat.h:
5935         * gst/gstconfig.h.in:
5936           inlined more docs
5937
5938 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5939
5940         * docs/gst/tmpl/.cvsignore:
5941         * docs/gst/tmpl/gstquery.sgml:
5942         * docs/gst/tmpl/gstutils.sgml:
5943         * gst/gstquery.c:
5944         * gst/gstquery.h:
5945           inlined and extended docs
5946
5947 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5948
5949         * check/gst-libs/controller.c: (GST_START_TEST),
5950         (gst_controller_suite):
5951           more tests
5952         * docs/gst/tmpl/gstutils.sgml:
5953         * docs/libs/gstreamer-libs-sections.txt:
5954         * docs/libs/tmpl/gstdataprotocol.sgml:
5955           include path fixes
5956         * examples/controller/audio-example.c: (main):
5957           controller example works now
5958         * gst/gstclock.h:
5959           doc fixes
5960         * tools/gst-inspect.c: (print_element_properties_info):
5961           show param spec flags
5962
5963 2005-08-29  Andy Wingo  <wingo@pobox.com>
5964
5965         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
5966
5967 2005-08-28  Andy Wingo  <wingo@pobox.com>
5968
5969         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
5970         as having two arguments instead of just one. Allows superclasses
5971         to access information on subclasses -- see the terrible for() loop
5972         in gtype.c:g_type_create_instance for the reason why. All callers
5973         changed.
5974
5975 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
5976
5977         * docs/design/part-messages.txt:
5978           update info
5979         * docs/gst/tmpl/.cvsignore:
5980         * docs/gst/tmpl/gstcaps.sgml:
5981         * docs/gst/tmpl/gstclock.sgml:
5982         * gst/gstbus.c:
5983         * gst/gstcaps.c:
5984         * gst/gstcaps.h:
5985         * gst/gstclock.c:
5986         * gst/gstclock.h:
5987         * gst/gstmessage.c:
5988           added descriptions for bus and message
5989           inline caps and clock docs
5990
5991 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
5992
5993         * gst/gstmessage.c:
5994         * gst/gstmessage.h:
5995           doc fixes
5996
5997 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
5998
5999         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6000           fix div-by-zero
6001
6002 2005-08-26  Andy Wingo  <wingo@pobox.com>
6003
6004         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6005         element_set_state's return val.
6006         (test_2_elements): Add test that's been disabled for months.
6007
6008         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6009         can-activate-pull properties.
6010
6011         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6012         can-activate-pull properties. Implement is_seekable so fakesrc can
6013         operate in pull mode.
6014
6015         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6016         properties.
6017         (gst_base_sink_activate, gst_base_sink_activate_pull)
6018         (gst_base_sink_activate_push): Make activation mode choosing work.
6019         Cleanups.
6020         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6021         is right. Make pull mode work. Post an eos before pausing in pull
6022         mode.
6023         (gst_base_sink_change_state): Pay attention to the core's
6024         change_state() return val.
6025         
6026         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6027         has-getrange properties. Cleanups.
6028         
6029         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6030         has_getrange and replace with can_activate_pull and
6031         can_activate_push.
6032
6033         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6034         locking comments. Remove has_loop, has_chain and replace with
6035         can_activate_pull and can_activate_push.
6036
6037 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6038
6039         * configure.ac:
6040         * examples/Makefile.am:
6041         * examples/metadata/Makefile.am:
6042         * examples/metadata/read-metadata.c: (message_loop),
6043         (have_pad_handler), (make_pipeline), (print_tag), (main):
6044           Add metadata reading example that loops over a list of filenames,
6045           dumping any tags found.
6046
6047         * gst/gstbus.c: (gst_bus_dispose):
6048         * gst/gstelement.c: (gst_element_dispose):
6049           Release a few potentially-held references in dispose.
6050
6051 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6052
6053         * docs/gst/tmpl/gstminiobject.sgml:
6054           do *not* add tmpl/*.sgml files to CVS!
6055
6056 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6057
6058         * libs/gst/bytestream/.cvsignore:
6059         * libs/gst/bytestream/Makefile.am:
6060         * libs/gst/bytestream/adapter.c:
6061         * libs/gst/bytestream/adapter.h:
6062         * libs/gst/bytestream/bytestream.c:
6063         * libs/gst/bytestream/bytestream.h:
6064         * libs/gst/bytestream/filepad.c:
6065         * libs/gst/bytestream/filepad.h:
6066           removing obsolete files
6067
6068 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6069
6070         * docs/gst/gstreamer-docs.sgml:
6071         * docs/libs/gstreamer-libs-docs.sgml:
6072           disabed additional index entries again, as this makes docs-gen just
6073           slow and they aren't useful yet
6074         * docs/libs/gstreamer-libs-sections.txt:
6075           little -section.txt cleanup for libs
6076
6077 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6078
6079         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6080         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6081           fix up some debugging
6082         (gst_base_transform_get_unit_size),
6083         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6084         (gst_base_transform_handle_buffer):
6085         * gst/base/gstbasetransform.h:
6086           handle and store timed NEWSEGMENT events so that subclasses that
6087           calculate time by counting samples have a segment_start time they
6088           need to add to their timestamps - see audioresample
6089
6090 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6091
6092         * gst/gstbin.h:
6093           removed ';' from the end of macro defs
6094         * docs/gst/gstreamer-docs.sgml:
6095         * docs/gst/gstreamer-sections.txt:
6096         * docs/gst/tmpl/.cvsignore:
6097         * gst/gstbus.h:
6098         * gst/gstelement.c: (gst_element_class_init),
6099         (gst_element_set_state), (activate_pads),
6100         (gst_element_save_thyself):
6101         * gst/gstevent.c: (gst_event_new_newsegment):
6102         * gst/gstevent.h:
6103         * gst/gstiterator.c:
6104         * gst/gstiterator.h:
6105         * gst/gstpad.c:
6106         * gst/gstprobe.h:
6107         * gst/gstutils.c: (gst_pad_query_convert):
6108         * gst/gstutils.h:
6109           fixed parameter name mismatches between source, header and docs
6110           added some more docs, resolved the last batch of unused elements in
6111           docs (now someone needs to doc them)
6112
6113 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6114
6115         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6116         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6117           don't walk through the plugins backwards.  Where is all this
6118           reversed logic coming from ?
6119
6120 2005-08-25  Wim Taymans  <wim@fluendo.com>
6121
6122         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6123         (gst_base_transform_transform_size),
6124         (gst_base_transform_configure_caps),
6125         (gst_base_transform_get_unit_size),
6126         (gst_base_transform_buffer_alloc),
6127         (gst_base_transform_change_state):
6128         * gst/base/gstbasetransform.h:
6129         Cache caps unit_size.
6130         Make sure we cannot negotiate up and downstream at the
6131         same time.
6132
6133 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6134
6135         * gst/gst.c: (init_pre), (init_post):
6136           register the installed plugin path after the env var
6137         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6138         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6139           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6140           directories, so the tests can prefer uninstalled over installed
6141
6142 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6143
6144         * gst/base/gstbasetransform.h:
6145           comment
6146         * gst/gstpad.c:
6147           add to docs
6148
6149 2005-08-25  Wim Taymans  <wim@fluendo.com>
6150
6151         * gst/gstbin.c: (bin_bus_handler):
6152         Be a bit more conservative about the posted message.
6153         
6154         * gst/gstbus.c: (gst_bus_post):
6155         Some cleanups, warn wrong return values.
6156
6157 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6158
6159         * check/gst/gstbin.c: (GST_START_TEST):
6160         * gst/gstbin.c: (bin_bus_handler):
6161         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6162         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6163         (gst_message_new_warning), (gst_message_new_tag),
6164         (gst_message_new_state_changed), (gst_message_new_segment_start),
6165         (gst_message_new_segment_done), (gst_message_new_custom):
6166         * gst/gstmessage.h:
6167         * tools/gst-launch.c: (event_loop):
6168         * tools/gst-md5sum.c: (event_loop):
6169           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6170
6171 2005-08-25  Wim Taymans  <wim@fluendo.com>
6172
6173         * check/generic/states.c: (GST_START_TEST):
6174         Cleanup can be done at the end.
6175
6176         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6177         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6178         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6179         Oh boy.. Thanks for finding this, Thomas. 
6180
6181 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6182
6183         * docs/gst/gstreamer.types:
6184           added missing types
6185
6186 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6187
6188         * docs/gst/gstreamer-docs.sgml:
6189         * docs/gst/gstreamer-sections.txt:
6190         * docs/gst/tmpl/.cvsignore:
6191         * gst/gstbin.c:
6192         * gst/gstiterator.c:
6193         * gst/gstutils.c:
6194         * gst/registries/gstxmlregistry.h:
6195           added missing classes and symbols (123 more to go)
6196           removed removed symbols from section file
6197           fixed many doc-comments
6198
6199 2005-08-24  Wim Taymans  <wim@fluendo.com>
6200
6201         * check/generic/states.c: (GST_START_TEST):
6202         Make sure all tasks are stopped.
6203
6204         * check/gst/gstbin.c: (GST_START_TEST):
6205         Unref after usage for proper valgrinding.
6206
6207         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6208         Really wait for the task to stop before destroying the
6209         mutex.
6210
6211         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6212         (gst_queue_src_activate_push):
6213         Small cleanups. Don't stop the task when we did not start
6214         it.
6215
6216         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6217         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6218         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6219         (gst_task_join):
6220         * gst/gsttask.h:
6221         Protect the stream lock with the object lock.
6222         Disallow setting the stream lock when running.
6223         Add cleanup_all to wait for the threadpool to finish.
6224         Remove code to autoallocate a mutex if none was provided.
6225         Add _join() to wait for a task to stop.
6226         Protect the thread pool with a global lock.
6227
6228 2005-08-24  Wim Taymans  <wim@fluendo.com>
6229
6230         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6231         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6232         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6233         * gst/base/gstbasesink.h:
6234         Handle newsegment events correctly.
6235         Drop buffers out of the segment range.
6236
6237 2005-08-22  Andy Wingo  <wingo@pobox.com>
6238
6239         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6240         macro, implements an interface and gstimplementsinterface for a
6241         new type.
6242
6243 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6244
6245         * check/Makefile.am:
6246         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6247           add a test that does a bunch of state changes on elements
6248           needs some fixing for valgrind
6249         * check/states/sinks.c: (gst_object_suite):
6250           whitespace
6251         * gst/gstcaps.h:
6252           add prototype for gst_caps_is_equal_fixed
6253         * gst/gstplugin.c:
6254         * gst/gstregistrypool.c:
6255           doc fixes
6256
6257 2005-08-24  Andy Wingo  <wingo@pobox.com>
6258
6259         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6260         convert a negative value. Doesn't make much sense. Mostly this is
6261         here to force callers to ensure -1 maps to -1.
6262
6263 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6264
6265         * docs/pwg/advanced-types.xml:
6266           Well done to Michael for catching my deliberate introduction
6267           of this spelling mistake. 
6268         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6269         * gst/gstelement.h:
6270           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6271           unlink pads before removing the element from the bin.
6272
6273 2005-08-24  Andy Wingo  <wingo@pobox.com>
6274
6275         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6276         the same thing as GST_DEBUG=*:4.
6277         (parse_debug_level, parse_debug_category): New helper parsers.
6278
6279 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6280
6281         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6282         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6283         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6284         (gst_base_transform_buffer_alloc),
6285         (gst_base_transform_handle_buffer):
6286           use gboolean return values and pointers to size so we can use the
6287           full GST_BUFFER_SIZE range (guint) for buffer sizes
6288           use GstPadDirection for transform_caps
6289         * gst/base/gstbasetransform.h:
6290           rename get_size to get_unit_size since that's what it is
6291         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6292           use GstPadDirection for transform_caps
6293         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6294         * gst/gstutils.h:
6295           cleanup and debugging
6296
6297 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6298
6299         * gst/gstelement.c: (gst_element_class_init),
6300         (gst_element_set_state), (activate_pads),
6301         (gst_element_save_thyself):
6302         * tools/gst-compprep.c: (main):
6303         * tools/gst-inspect.c: (print_element_properties_info):
6304         * tools/gst-xmlinspect.c: (print_element_properties):
6305           Fixed long standing mem-leak
6306
6307 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6308
6309         * check/gst/gstbin.c: (GST_START_TEST):
6310         * gst/gstbin.c: (bin_bus_handler):
6311         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6312         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6313         (gst_message_new_warning), (gst_message_new_tag),
6314         (gst_message_new_state_changed), (gst_message_new_segment_start),
6315         (gst_message_new_segment_done), (gst_message_new_custom):
6316         * gst/gstmessage.h:
6317         * tools/gst-launch.c: (event_loop):
6318         * tools/gst-md5sum.c: (event_loop):
6319           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6320           that applications can sensibly post custom messages with references
6321           to their own objects.
6322
6323 2005-08-24  Andy Wingo  <wingo@pobox.com>
6324
6325         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6326         already.
6327
6328 2005-08-24  Wim Taymans  <wim@fluendo.com>
6329
6330         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6331         (gst_base_transform_transform_caps),
6332         (gst_base_transform_transform_size),
6333         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6334         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6335         (gst_base_transform_handle_buffer):
6336         * gst/base/gstbasetransform.h:
6337         Many fixes and new features added by Thomas. Can now also do
6338         transforms with variable sizes and a custom fixate_caps function.
6339
6340 2005-08-24  Wim Taymans  <wim@fluendo.com>
6341
6342         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6343         Some debugging.
6344
6345         * gst/gstclock.h:
6346         Cast to ClockTime before formatting to time.
6347
6348         * gst/gstutils.h:
6349         Cleanups.
6350
6351 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6352
6353         * check/gst-libs/controller.c: (GST_START_TEST),
6354         (gst_controller_suite):
6355         * docs/gst/tmpl/gstcaps.sgml:
6356         * docs/gst/tmpl/gstghostpad.sgml:
6357         * docs/gst/tmpl/gstquery.sgml:
6358         * docs/gst/tmpl/gstutils.sgml:
6359         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6360         (gst_object_sink_values), (gst_object_get_value_arrays),
6361         (gst_object_get_value_array):
6362           gracefully handle helper method calls to objects that are not beeing
6363           controlled, added test case for that          
6364
6365 2005-08-23  Wim Taymans  <wim@fluendo.com>
6366
6367         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6368         (gst_event_new_newsegment), (gst_event_parse_newsegment),
6369         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6370         (gst_event_parse_qos), (gst_event_new_seek),
6371         (gst_event_parse_seek):
6372         * gst/gstevent.h:
6373         Some more debugging output and doc cleanups.
6374
6375         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6376         Fix possible deadlock.
6377
6378 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6379
6380         * docs/gst/gstreamer-docs.sgml:
6381         * docs/gst/gstreamer-sections.txt:
6382         * docs/gst/gstreamer.types:
6383         * docs/gst/tmpl/.cvsignore:
6384         * gst/gstbin.h:
6385         * gst/gstbus.c:
6386         * gst/gstelement.c:
6387         * gst/gstevent.h:
6388           added 100 symbols from gstreamer-unused.txt to the right sections
6389           fixed more broken comments
6390           added GstBus to docs
6391
6392 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6393
6394         * docs/gst/gstreamer-sections.txt:
6395         * docs/gst/tmpl/.cvsignore:
6396         * docs/gst/tmpl/gstbin.sgml:
6397         * docs/gst/tmpl/gstbuffer.sgml:
6398         * gst/base/gstbasesrc.c:
6399         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6400         * gst/gstbuffer.c:
6401         * gst/gstbuffer.h:
6402         * tools/gst-launch.1.in:
6403           inlined more doc comments, added missing comments and fixed comments
6404           fixed typos
6405
6406 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6407
6408         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6409           some debugging
6410         * gst/gstcaps.h:
6411           whitespace fixes
6412         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6413           more debugging
6414         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6415         * gst/gststructure.h:
6416           add a fixate function for booleans; add a FIXME that these func
6417           names should probably be gst_structure_fixate_*
6418
6419 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6420
6421         * docs/gst/gstreamer-docs.sgml:
6422         * docs/gst/gstreamer-sections.txt:
6423         * gst/Makefile.am:
6424         * gst/gstbin.c: (gst_bin_get_type),
6425         (gst_bin_child_proxy_get_child_by_index),
6426         (gst_bin_child_proxy_get_children_count),
6427         (gst_bin_child_proxy_init):
6428         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6429         (gst_child_proxy_get_child_by_index),
6430         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6431         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6432         (gst_child_proxy_get), (gst_child_proxy_set_property),
6433         (gst_child_proxy_set_valist), (gst_child_proxy_set),
6434         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6435         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6436         * gst/gstchildproxy.h:
6437         * gst/parse/grammar.y:
6438         * tools/gst-inspect.c: (print_interfaces),
6439         (print_element_properties_info), (print_element_info):
6440           ported gstchildproxy over from 0.8
6441           ported gst-inspect fixes and enhancements over from 0.8
6442
6443 2005-08-22  Wim Taymans  <wim@fluendo.com>
6444
6445         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6446         (gst_base_transform_handle_buffer):
6447         Also call the transform function if we have ANY caps.
6448
6449         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6450         Fix debug info.
6451
6452 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6453
6454         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6455           Don't pretend to handle seek events if the source is not seekable
6456
6457 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6458
6459         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6460           Remove extra parameter to debug output
6461
6462         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6463         (gst_base_src_do_seek), (gst_base_src_activate_push):
6464           Fix seek event handling.
6465
6466         * gst/gstpipeline.c: (gst_pipeline_change_state):
6467         * gst/gstqueue.c: (gst_queue_handle_sink_event),
6468         (gst_queue_src_activate_push):
6469           Don't start the src pad task on FLUSH_STOP if the pad
6470           isn't linked.
6471           Debug changes.
6472
6473 2005-08-22  Wim Taymans  <wim@fluendo.com>
6474
6475         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6476         Added check for gst_static_caps_get() refcounting.
6477
6478 2005-08-22  Wim Taymans  <wim@fluendo.com>
6479
6480         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6481         Make _static_caps_get() refcounting sane.
6482         
6483         * gst/gstelement.c: (gst_element_set_state):
6484         Add g_return_val_if_fail() to protect against segfaults.
6485
6486 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
6487
6488         * docs/gst/tmpl/gstevent.sgml:
6489         * gst/gstevent.c:
6490         * gst/gstevent.h:
6491           inlined remaining docs, added missing doc comments
6492
6493 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6494
6495         * check/gst/gstbin.c: (GST_START_TEST):
6496           since we don't know when preroll is done, use refcount range
6497           check for the sink
6498         * gst/check/gstcheck.h:
6499           add macro for checking refcount range
6500
6501 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6502
6503         * check/Makefile.am:
6504           clean up environment for when registry gets built versus
6505           when actual tests are run; valgrind seems to not report
6506           leaks if GST_PLUGIN_PATH is set to some specific values
6507         * check/gst/gstbin.c: (GST_START_TEST):
6508           add more refcounting checks; maybe this exposes a
6509           preroll lock bug ?
6510         * common/check.mak:
6511         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6512         * gst/check/gstcheck.h:
6513         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6514         (gst_bin_change_state):
6515         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6516           add/fix debugging/whitespace
6517
6518 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6519
6520         * check/gst/gstevent.c: (event_probe), (test_event),
6521         (GST_START_TEST):
6522          Er, don't call gst_bin_watch_for_state_change you idiot.
6523
6524 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6525
6526         * check/Makefile.am:
6527           Use CHECK_CFLAGS and CHECK_LIBS
6528         * check/gst/gstevent.c: (event_probe), (test_event),
6529         (GST_START_TEST):
6530           Don't leak events.
6531         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6532         (gst_base_src_start), (gst_base_src_stop),
6533         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6534         (gst_base_src_change_state):
6535           Sprinkle gst_base_src_stop liberally around error paths to fix
6536           problems reusing a source after failed state changes.
6537         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6538         (helper_find_suggest), (gst_type_find_helper):
6539           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6540         * gst/gstevent.h:
6541         * docs/gst/tmpl/gstevent.sgml:
6542           Migrate part of the docs from the SGML file. Wait for ensonic to
6543           tell me how I did it wrong ;)
6544         * tools/gst-typefind.c: (main):
6545           Extra robustness to state changes between files.
6546
6547 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6548
6549         * check/Makefile.am:
6550           don't valgrind the controller test - it's leaking - Stefan, HELP
6551         * gst/check/gstcheck.c: (gst_check_message_error),
6552         (gst_check_chain_func), (gst_check_setup_element),
6553         (gst_check_teardown_element), (gst_check_setup_src_pad),
6554         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6555         (gst_check_teardown_sink_pad):
6556         * gst/check/gstcheck.h:
6557           add a bunch of methods to set up elements, and src and sink pads
6558         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6559         * check/elements/identity.c: (setup_identity), (cleanup_identity),
6560         (GST_START_TEST):
6561           use them
6562         * gst/gstmessage.c:
6563         * gst/gsttag.h:
6564           whitespace/doc fixes
6565
6566 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6567
6568         * gst/gstelement.h:
6569           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6570           be handled by the application and not always printed as well
6571
6572 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6573
6574         * check/Makefile.am:
6575           set GST_TOOLS_DIR
6576         * gst/check/gstcheck.c: (gst_check_message_error):
6577         * gst/check/gstcheck.h:
6578           add a fail_unless_equals_int
6579           add fail_unless for error messages
6580
6581 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6582
6583         * check/Makefile.am:
6584         * check/gst.supp:
6585         * common/Makefile.am:
6586         * common/check.mak:
6587         * common/gst.supp:
6588           factor out some of the common stuff so we can use it
6589
6590 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6591
6592         * check/Makefile.am:
6593         * check/gst/gstiterator.c: (GST_START_TEST):
6594         * check/gst/gstsystemclock.c: (GST_START_TEST),
6595         (gst_systemclock_suite):
6596         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6597         * gst/gstclock.c:
6598           valgrind more tests
6599
6600 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6601
6602         * check/elements/.cvsignore:
6603         * check/elements/gstfakesrc.c:
6604           rename to name of element
6605         * check/elements/identity.c: (chain_func), (event_func),
6606         (setup_identity), (cleanup_identity), (GST_START_TEST),
6607         (identity_suite), (main):
6608           add a test for identity
6609         * check/Makefile.am:
6610         * pkgconfig/Makefile.am:
6611         * pkgconfig/gstreamer-check.pc.in:
6612         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6613         * gst/check:
6614         * gst/Makefile.am:
6615         * configure.ac:
6616           move the check stuff to a library that gets installed
6617         * check/gst-libs/controller.c: (GST_START_TEST):
6618         * check/gst-libs/gdp.c:
6619         * check/gst/gst.c: (GST_START_TEST):
6620         * check/gst/gstbin.c:
6621         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6622         * check/gst/gstbus.c:
6623         * check/gst/gstcaps.c: (GST_START_TEST):
6624         * check/gst/gstelement.c:
6625         * check/gst/gstghostpad.c:
6626         * check/gst/gstiterator.c:
6627         * check/gst/gstmessage.c:
6628         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6629         * check/gst/gstobject.c:
6630         * check/gst/gstpad.c: (GST_START_TEST):
6631         * check/gst/gststructure.c: (GST_START_TEST):
6632         * check/gst/gstsystemclock.c: (GST_START_TEST),
6633         (gst_systemclock_suite):
6634         * check/gst/gsttag.c: (gst_tag_suite):
6635         * check/gst/gstvalue.c:
6636         * check/pipelines/cleanup.c:
6637         * check/pipelines/simple_launch_lines.c:
6638         * check/states/sinks.c:
6639           change include statement
6640
6641         * docs/gst/gstreamer-sections.txt:
6642         * docs/gst/tmpl/gstpad.sgml:
6643           document more pad stuff
6644         * gst/gstminiobject.c: (gst_mini_object_ref),
6645         (gst_mini_object_unref):
6646           debug refcounting
6647
6648 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
6649
6650         * docs/gst/tmpl/gst.sgml:
6651         * gst/gst.c:
6652           eliminate another tmpl file, fix spelling in the long-description
6653
6654 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6655
6656         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6657         (test_event), (timediff), (gstevents_suite):
6658           Should fix build on 64-bit arch's
6659
6660 2005-08-18  Andy Wingo  <wingo@pobox.com>
6661
6662         Make sure that when a pipeline goes to PLAYING, that data has
6663         actually hit the sink.
6664
6665         * check/states/sinks.c (test_sink): A sink that doesn't get any
6666         data shouldn't return SUCCESS for going to either PLAYING or
6667         PAUSED. Test also the return values on the way back down.
6668
6669         * gst/gstelement.c (gst_element_set_state): When changing the
6670         state of an element currently changing state asynchronously, go to
6671         lost-state after commiting the pending state. Makes future calls
6672         to get_state continue to return ASYNC.
6673
6674         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6675         ASYNC when going to PLAYING if we still don't have preroll, as can
6676         happen with live sources.
6677
6678 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6679
6680         * docs/pwg/advanced-types.xml:
6681           Hack long paragraph into 2 chunks as a workaround for buggy
6682           jadetex version in sid and breezy that loops infinitely and
6683           eats all RAM.
6684
6685 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6686
6687         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6688         (test_event), (timediff), (gstevents_suite):
6689           Provide more error margin in clock measurements to allow for 
6690           g_get_current_time inaccuracies.
6691
6692 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6693
6694         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6695         (test_event), (timediff), (gstevents_suite):
6696            Fix error message output so I might be able to tell why the
6697            test works here but fails on the build farm.
6698
6699 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6700
6701         * check/Makefile.am:
6702         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6703         (test_event), (timediff), (gstevents_suite), (main):
6704           I wrote a test!
6705
6706         * docs/design/part-seeking.txt:
6707           Spelling correction
6708
6709         * docs/gst/tmpl/gstevent.sgml:
6710         * docs/gst/tmpl/gstfakesrc.sgml:
6711           Docs updates.
6712
6713         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6714           Treat a buffer-without-newsegment the same as a receiving 
6715           a newsegment not in time format, and disable syncing to the clock
6716           with a warning.
6717
6718         * gst/gstbus.c: (gst_bus_set_sync_handler):
6719           Assert if anyone tries to replace the existing sync_handler for bus, 
6720           as only the owner should be setting it.
6721
6722         * gst/gstevent.h:
6723           Have a fixed set of custom event enums with events identified by
6724           their structure name (as in 0.8), rather than a free-for-all
6725           allowing collisions between enum values from different plugins.
6726
6727         * gst/gstpad.c: (gst_pad_class_init):
6728           Docs change.
6729           
6730         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6731           Handle out-of-band downstream events from the sending thread.
6732
6733 2005-08-17  Andy Wingo  <wingo@pobox.com>
6734
6735         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6736         play-timeout==0 to mean no timeout at all. In that case, don't
6737         bother with a get_state or a warning, just return directly, even
6738         if it's ASYNC.
6739
6740         * gst/base/gstbasetransform.c: Debug changes.
6741
6742         * gst/gstutils.h:
6743         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6744         ensure bins post state change messages. A bit of a hack but I can't
6745         think of a way to avoid it.
6746
6747         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6748
6749 2005-08-16  Andy Wingo  <wingo@pobox.com>
6750
6751         * gst/base/gstadapter.h:
6752         * gst/base/gstadapter.c (gst_adapter_take): New function, like
6753         peek() but you own the data. Not terribly efficient atm.
6754
6755 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6756
6757         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6758         (gst_element_found_tags):
6759         * gst/gstutils.h:
6760           Add two utility functions for tag handling.
6761
6762 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6763
6764         * docs/manual/advanced-dataaccess.xml:
6765         * docs/manual/basics-helloworld.xml:
6766           Fix docs to use _bin_add() before _link(), which fixes the examples
6767           with recent core versions (reported by Madhan Raj M
6768           <raj_madan@rediffmail.com>, #313199).
6769
6770 2005-08-16  Wim Taymans  <wim@fluendo.com>
6771
6772         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6773         Added subtract checks.
6774
6775         * docs/design/part-events.txt:
6776         Some more docs about newsegment
6777
6778         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6779         Fix FIXME
6780
6781         * gst/gstcaps.c: (gst_caps_to_string):
6782         Add comments, cleanups.
6783         
6784         * gst/gstelement.c: (gst_element_save_thyself):
6785         cleanups
6786         
6787         * gst/gstvalue.c: (gst_value_collect_int_range),
6788         (gst_string_unwrap), (gst_value_union_int_int_range),
6789         (gst_value_union_int_range_int_range),
6790         (gst_value_intersect_int_int_range),
6791         (gst_value_intersect_int_range_int_range),
6792         (gst_value_intersect_double_double_range),
6793         (gst_value_intersect_double_range_double_range),
6794         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6795         (gst_value_subtract_int_range_int),
6796         (gst_value_subtract_double_range_double),
6797         (gst_value_subtract_double_range_double_range),
6798         (gst_value_subtract_from_list), (gst_value_subtract_list),
6799         (gst_value_can_compare), (gst_value_compare_fraction):
6800         Cleanups, add comments, remove unneeded asserts.
6801
6802 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6803
6804         * tools/gst-launch.c: (event_loop):
6805           don't convert NULL structures to strings
6806
6807 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
6808
6809         * docs/gst/gstreamer-sections.txt:
6810           made some defines private
6811         * docs/gst/tmpl/gstconfig.sgml:
6812         * docs/gst/tmpl/gstqueue.sgml:
6813         * docs/gst/tmpl/gsttaglist.sgml:
6814         * docs/gst/tmpl/gsttypes.sgml:
6815         * docs/gst/tmpl/gstutils.sgml:
6816         * docs/pwg/appendix-porting.xml:
6817         * gst/base/gstbasesink.h:
6818         * gst/base/gstbasesrc.c:
6819         * gst/base/gstbasesrc.h:
6820         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6821         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6822         * gst/gstelement.c: (gst_element_class_init):
6823         * gst/gstpad.c: (gst_pad_class_init):
6824         * gst/gstqueue.c: (gst_queue_class_init):
6825         * gst/gstxml.c: (gst_xml_class_init):
6826           documented all undocumented signal inline
6827         * libs/gst/controller/gst-controller.h:
6828           added padding
6829
6830 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6831
6832         * docs/pwg/appendix-porting.xml:
6833           Document _set_link_function -> _set_setcaps_function.
6834
6835 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6836
6837         * check/Makefile.am:
6838           add a .check target for running the check
6839         * check/gst-libs/controller.c: (GST_START_TEST):
6840           cosmetic fixups
6841         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6842           complete checks for gstbuffer; would be nice if I could get the
6843           gcov stuff to work so I can see if I actually completed gstbuffer.c
6844         * check/gstcheck.h:
6845           add ASSERT_BUFFER_REFCOUNT
6846
6847 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
6848
6849         * docs/gst/gstreamer-sections.txt:
6850         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
6851         * gst/gsttag.h:
6852           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
6853           spew out a warning if a tag that is already registered
6854           is re-registered, unless it is re-registered with a 
6855           different type (#308438).
6856
6857 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
6858
6859         * docs/pwg/appendix-porting.xml:
6860         * docs/pwg/building-state.xml:
6861           Add some paragraphs about state changes in 0.9 to the PWG
6862           and the porting guide, in particular about the new meaning
6863           of GST_STATE_PAUSED and how to write state change functions
6864           with concurrent access by multiple threads in mind.
6865
6866 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
6867
6868         * docs/gst/gstreamer-docs.sgml:
6869         * docs/libs/gstreamer-libs-docs.sgml:
6870           added deprecation and since indexes
6871         * libs/gst/controller/gst-controller.c:
6872         * libs/gst/controller/gst-helper.c:
6873           added since tags
6874
6875
6876 2005-08-11  Wim Taymans  <wim@fluendo.com>
6877
6878         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
6879         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
6880         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
6881         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
6882         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
6883         (gst_ghost_pad_set_target):
6884         Actually implement (re)setting the target on a ghostpad
6885         as described in the docs.
6886
6887 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6888
6889         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
6890           Check whether GST_DEBUG_NO_COLOR environment variable is
6891           set and disable coloured debug output if that is the case.
6892
6893 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6894
6895         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6896         (gst_type_find_helper):
6897           The memory returned by gst_type_find_peek() needs to
6898           stay valid until the end of a typefind function, and
6899           typefind functions may keep results from different 
6900           offsets around, so we can't just unref the buffer from
6901           the previous _peek(), but have to save all buffers 
6902           returned by _peek() until typefinding is done and only
6903           free them then.
6904
6905 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
6906
6907         * docs/gst/gstreamer-sections.txt:
6908         * gst/gstutils.h:
6909           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
6910
6911 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6912
6913         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6914           Fix a pretty good memleak.
6915
6916 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6917
6918         * gst/gstiterator.h:
6919           Fix wrong include and 'make distcheck'.
6920
6921 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6922
6923         * gst/gstbin.c: (bin_bus_handler):
6924           Use gst_element_post_message() instead.
6925
6926 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6927
6928         * gst/base/gstadapter.h:
6929         * gst/base/gstbasesink.h:
6930         * gst/base/gstbasesrc.h:
6931         * gst/base/gstbasetransform.h:
6932         * gst/base/gstcollectpads.h:
6933         * gst/base/gstpushsrc.h:
6934         * gst/gstiterator.h:
6935           Add padding to our base elements' class and instance structs and
6936           to GstIterator (you will need to rebuild all plugins and apps!)
6937
6938 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6939
6940         * gst/gstbin.c: (bin_bus_handler):
6941           Make default message forwarding from child->bus to bin->bus
6942           threadsafe and make it not emit warnings if the parent has no bus.
6943
6944 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6945
6946         * gst/gstelement.c: (activate_pads):
6947           On paused->ready, set pad->caps to NULL, as is the documented
6948           behaviour in this state change. Fixes playback of series of
6949           media files when visualization is enabled in Totem.
6950
6951 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6952
6953         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6954           Allow NULL as filter-caps (which means "any").
6955
6956 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
6957
6958         * docs/libs/gstreamer-libs-sections.txt:
6959         * libs/gst/controller/gst-controller.c:
6960         * libs/gst/controller/gst-controller.h:
6961         * libs/gst/controller/gst-helper.c:
6962           adding more entries to the docs and fix small doc-bugs
6963
6964 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
6965
6966         * docs/gst/gstreamer-docs.sgml:
6967         * docs/gst/gstreamer-sections.txt:
6968         * docs/gst/gstreamer.types:
6969         * docs/gst/tmpl/gstbasesink.sgml:
6970         * docs/gst/tmpl/gstbasesrc.sgml:
6971         * docs/gst/tmpl/gstbasetransform.sgml:
6972         * docs/gst/tmpl/gstfakesrc.sgml:
6973         * gst/base/gstcollectpads.c:
6974         * gst/base/gstcollectpads.h:
6975         * libs/gst/controller/gst-controller.c:
6976         * libs/gst/controller/gst-controller.h:
6977         * libs/gst/controller/gst-helper.c:
6978         * libs/gst/controller/gst-interpolation.c:
6979         * libs/gst/controller/lib.c:
6980           added long/short desc for controller docs
6981           added collectpads base class docs
6982           added correct includes to base-class docs
6983
6984 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
6985
6986         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6987         (gst_test_mono_source_set_property),
6988         (gst_test_mono_source_class_init), (GST_START_TEST),
6989         (gst_controller_suite):
6990         * docs/gst/gstreamer-docs.sgml:
6991         * docs/gst/gstreamer-sections.txt:
6992         * docs/gst/gstreamer.types:
6993         * docs/libs/gstreamer-libs-docs.sgml:
6994         * docs/libs/gstreamer-libs-sections.txt:
6995         * gst/base/gstadapter.c:
6996         * libs/gst/controller/gst-controller.c:
6997         (gst_controlled_property_new), (gst_controlled_property_free),
6998         (gst_controller_new_valist),
6999         (gst_controller_remove_properties_valist),
7000         (gst_controller_sink_values), (_gst_controller_finalize):
7001         * libs/gst/controller/gst-controller.h:
7002         * libs/gst/controller/gst-helper.c:
7003         (gst_object_control_properties), (gst_object_uncontrol_properties),
7004         (gst_object_get_controller), (gst_object_set_controller),
7005         (gst_object_sink_values), (gst_object_get_value_arrays),
7006         (gst_object_get_value_array):
7007           more tests (and fixes) for the controller
7008           more docs for the controller
7009           integrated companies docs for the adapter 
7010
7011 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7012
7013         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7014         (GST_START_TEST), (fakesrc_suite):
7015           add tests for sizetype
7016
7017 2005-08-04  Andy Wingo  <wingo@pobox.com>
7018
7019         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7020         fixes buffer_alloc proxying among other things.
7021
7022         * gst/base/gstbasetransform.c:
7023         * gst/base/gstbasetransform.h:
7024         Revert patch to gstbasetransform from 7-28 removing
7025         delay_configure.
7026
7027         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7028         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7029         Semantics changed, should return not the size of the output buffer
7030         but the byte size of a buffer with a given caps.
7031
7032         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7033         debug object.
7034         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7035         out) are not the pad caps until setcaps finishes.
7036         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7037         not-in-place case as well. Deal with changing from in-place to
7038         not-in-place within calling pad_alloc_buffer. Still a bit
7039         concerned about the overhead here...
7040
7041 2005-08-03  Andy Wingo  <wingo@pobox.com>
7042
7043         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7044         fixating is an error.
7045
7046 2005-08-04  Edward Hervey  <edward@fluendo.com>
7047
7048         * gst/base/gstadapter.h: 
7049         Added gst_adapter_get_type() to the header
7050
7051 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7052
7053         * check/Makefile.am:
7054         * check/gst-libs/controller.c:
7055         * libs/gst/controller/gst-controller.c:
7056         (gst_controller_new_valist):
7057           added check test suite for the controller
7058         * gst/base/gstpushsrc.c:
7059           fixed a doc typo
7060
7061 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7062
7063         * docs/gst/Makefile.am:
7064         * docs/gst/gstreamer-docs.sgml:
7065         * docs/gst/gstreamer-sections.txt:
7066         * docs/gst/gstreamer.types:
7067         * docs/gst/tmpl/gstfakesrc.sgml:
7068         * gst/base/README:
7069         * gst/base/gstbasesink.c:
7070         * gst/base/gstbasesink.h:
7071         * gst/base/gstbasesrc.c:
7072         * gst/base/gstbasesrc.h:
7073         * gst/base/gstbasetransform.c:
7074         * gst/base/gstpushsrc.c:
7075         * gst/base/gstpushsrc.h:
7076           add short/long description docs to base classes
7077           add pushsrc to the docs
7078           remove consolidated doc fragments
7079
7080 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7081
7082         * configure.ac:
7083         * docs/libs/Makefile.am:
7084         * docs/libs/gstreamer-libs-docs.sgml:
7085         * docs/libs/gstreamer-libs-sections.txt:
7086         * docs/libs/gstreamer-libs.types:
7087         * examples/Makefile.am:
7088         * examples/controller/.cvsignore:
7089         * examples/controller/Makefile.am:
7090         * examples/controller/audio-example.c: (main):
7091         * libs/gst/Makefile.am:
7092         * libs/gst/controller/.cvsignore:
7093         * libs/gst/controller/Makefile.am:
7094         * libs/gst/controller/gst-controller.c:
7095         (on_object_controlled_property_changed), (gst_timed_value_compare),
7096         (gst_timed_value_find),
7097         (gst_controlled_property_set_interpolation_mode),
7098         (gst_controlled_property_new), (gst_controlled_property_free),
7099         (gst_controller_find_controlled_property),
7100         (gst_controller_new_valist), (gst_controller_new),
7101         (gst_controller_remove_properties_valist),
7102         (gst_controller_remove_properties), (gst_controller_set),
7103         (gst_controller_set_from_list), (gst_controller_unset),
7104         (gst_controller_get), (gst_controller_get_all),
7105         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7106         (gst_controller_get_value_array),
7107         (gst_controller_set_interpolation_mode),
7108         (_gst_controller_finalize), (_gst_controller_init),
7109         (_gst_controller_class_init), (gst_controller_get_type):
7110         * libs/gst/controller/gst-controller.h:
7111         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7112         (g_object_uncontrol_properties), (g_object_get_controller),
7113         (g_object_set_controller), (g_object_sink_values),
7114         (g_object_get_value_arrays), (g_object_get_value_array):
7115         * libs/gst/controller/gst-interpolation.c:
7116         (gst_controlled_property_find_timed_value_node),
7117         (interpolate_none_get), (interpolate_trigger_get),
7118         (interpolate_trigger_get_value_array):
7119         * libs/gst/controller/lib.c: (gst_controller_init):
7120         * pkgconfig/Makefile.am:
7121         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7122         * pkgconfig/gstreamer-control.pc.in:
7123         * testsuite/Makefile.am:
7124         * testsuite/controller/.cvsignore:
7125         * testsuite/controller/Makefile.am:
7126         * testsuite/controller/interpolator.c: (main):
7127           added controller code
7128           removed dparam pc files
7129
7130 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7131         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7132         (gst_collectpads_stop):
7133           Broadcast the condition when shutting down, to make sure we wake all
7134           threads up. Shut down pads on finalize, for safety.
7135
7136 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7137         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7138         (gst_base_transform_handle_buffer),
7139         (gst_base_transform_change_state):
7140           Handle PAUSED->READY->PAUSED transition after negotiation
7141           occurred already.
7142         * gst/gstmessage.c: (gst_message_init):
7143           Extra piece of debug for new messages.
7144
7145 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7146
7147         * configure.ac:
7148         * docs/gst/tmpl/gstbasesrc.sgml:
7149         * docs/gst/tmpl/gstelement.sgml:
7150         * docs/gst/tmpl/gstevent.sgml:
7151         * docs/gst/tmpl/gstfakesrc.sgml:
7152         * docs/gst/tmpl/gstformat.sgml:
7153         * docs/gst/tmpl/gstghostpad.sgml:
7154         * docs/gst/tmpl/gstpad.sgml:
7155         * docs/gst/tmpl/gstquery.sgml:
7156         * docs/gst/tmpl/gststructure.sgml:
7157         * docs/gst/tmpl/gsttaglist.sgml:
7158         * docs/gst/tmpl/gstvalue.sgml:
7159         * docs/libs/gstreamer-libs-docs.sgml:
7160         * docs/libs/gstreamer-libs-sections.txt:
7161         * docs/libs/gstreamer-libs.types:
7162         * libs/gst/Makefile.am:
7163         * libs/gst/control/.cvsignore:
7164         * libs/gst/control/Makefile.am:
7165         * libs/gst/control/control.c:
7166         * libs/gst/control/control.h:
7167         * libs/gst/control/dparam.c:
7168         * libs/gst/control/dparam.h:
7169         * libs/gst/control/dparam_smooth.c:
7170         * libs/gst/control/dparam_smooth.h:
7171         * libs/gst/control/dparamcommon.h:
7172         * libs/gst/control/dparammanager.c:
7173         * libs/gst/control/dparammanager.h:
7174         * libs/gst/control/dplinearinterp.c:
7175         * libs/gst/control/dplinearinterp.h:
7176         * libs/gst/control/unitconvert.c:
7177         * libs/gst/control/unitconvert.h:
7178         * testsuite/Makefile.am:
7179         * testsuite/dynparams/.cvsignore:
7180         * testsuite/dynparams/Makefile.am:
7181         * testsuite/dynparams/dparamstest.c:
7182         * tools/Makefile.am:
7183         * tools/gst-inspect.c: (print_element_info), (main):
7184         * tools/gst-xmlinspect.c: (print_element_info), (main):
7185           deactivate and remove dparams (libgstcontrol)
7186
7187 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7188
7189         * gst/elements/gsttypefindelement.c:
7190         (gst_type_find_element_have_type), (gst_type_find_element_init),
7191         (stop_typefinding), (gst_type_find_element_handle_event),
7192         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7193         * gst/elements/gsttypefindelement.h:
7194           Set caps on all outgoing buffers, not just the first one.
7195
7196 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7197
7198         * gst/elements/gsttypefindelement.c:
7199         (gst_type_find_element_have_type),
7200         (gst_type_find_element_check_set_buffer_caps),
7201         (gst_type_find_element_init), (stop_typefinding),
7202         (gst_type_find_element_handle_event),
7203         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7204         * gst/elements/gsttypefindelement.h:
7205           Set caps on first outgoing buffer when we've found the type.
7206
7207 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7208
7209         * docs/gst/gstreamer-docs.sgml:
7210         * docs/gst/gstreamer-sections.txt:
7211         * docs/gst/tmpl/gstscheduler.sgml:
7212         * docs/gst/tmpl/gstschedulerfactory.sgml:
7213           Remove some old cruft from docs.
7214
7215 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7216
7217         * gst/gstpad.h:
7218           Fix inline docs for GstPadLinkReturn.
7219           
7220         * gst/gststructure.c: (gst_structure_has_name):
7221         * gst/gststructure.h:
7222         * docs/gst/gstreamer-sections.txt:
7223           New API: gst_structure_has_name().
7224
7225 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7226
7227         * configure.ac:
7228           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7229           and _LARGEFILE_SOURCE in config.h as required. Do not 
7230           export those flags in our .pc files any longer (#142209).
7231
7232           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7233
7234         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7235         (gst_file_sink_do_seek), (gst_file_sink_event),
7236         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7237           Redo seek/tell calls with large file support in mind; add some
7238           debugging messages; add log message that tells us when large
7239           file support is unavailable or not enabled for some reason.
7240
7241         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7242           Add log message that tells us when large file support 
7243           is unavailable or not enabled for some reason.
7244
7245 2005-07-29  Wim Taymans  <wim@fluendo.com>
7246
7247         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7248         Added test for removing an element with ghostpad from a bin.
7249         Fixed test as current implementation does the right thing.
7250
7251         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7252         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7253         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7254         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7255         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7256         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7257         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7258         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7259         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7260         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7261         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7262         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7263         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7264         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7265         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7266         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7267         * gst/gstghostpad.h:
7268         Clean up ghostpads, remove properties for internal stuff.
7269         Make threadsafe.
7270         Fix refcounting.
7271         Prepare for switching targets, not all use cases work yet.
7272
7273 2005-07-29  Wim Taymans  <wim@fluendo.com>
7274
7275         * docs/design/part-gstghostpad.txt:
7276         Small update.
7277
7278         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7279         (gst_bin_remove_func):
7280         Unlinking pads while holding the bin LOCK is not a good
7281         idea.
7282
7283         * gst/gstpad.c: (gst_pad_class_init),
7284         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7285         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7286         No prob setting template after creating the pad.
7287
7288 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7289
7290         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7291         (gst_bus_peek), (gst_bus_source_dispatch),
7292         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7293         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7294           gst_bus_poll may be called from other threads. Handle
7295           this nicely by not making poll_data disappear off the
7296           stack once gst_bus_poll returns.
7297           gst_bus_peek now increments the refcount on the returned
7298           message.
7299
7300 2005-07-29  Wim Taymans  <wim@fluendo.com>
7301
7302         * docs/design/part-gstghostpad.txt:
7303         Overview of current GhostPad datastructures and use
7304         cases for changing the target.
7305
7306 2005-07-28  Wim Taymans  <wim@fluendo.com>
7307
7308         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7309         Added checks for hierarchy consistency whan adding linked
7310         elements to bins.
7311
7312         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7313         Added check to test element scheduling without bin/pipeline.
7314
7315         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7316         First add elements to bin, then link.
7317         
7318         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7319         (gst_bin_remove_func):
7320         Unlink pads from elements added/removed from bin to maintain
7321         hierarchy consistency.
7322
7323 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7324
7325         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7326         (gst_base_transform_handle_buffer):
7327         * gst/base/gstbasetransform.h:
7328           Remove broken delay_configure (fixes renegotiation of software
7329           scaling pipelines); remove some leftover printf()s.
7330
7331 2005-07-28  Wim Taymans  <wim@fluendo.com>
7332
7333         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7334         Added some more tests for wrong hierarchy
7335
7336         * docs/design/part-overview.txt:
7337         Some updates.
7338
7339         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7340         Cleanups.
7341
7342         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7343         (gst_element_dispose):
7344         Some more cleanups.
7345
7346         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7347         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7348         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7349         (gst_pad_set_caps), (gst_pad_send_event):
7350         Check for correct hierarchy when linking pads. Moving to
7351         strict requirement for ghostpads when linking elements in
7352         different bins.
7353
7354         * gst/gstpad.h:
7355         Clean ups. Added WRONG_HIERARCHY return value.
7356
7357 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7358
7359         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7360           Better debug if no transform is possible.
7361
7362 2005-07-27  Wim Taymans  <wim@fluendo.com>
7363
7364         * docs/random/wtay/network-transp:
7365         Some old doc I had.
7366
7367 2005-07-27  Wim Taymans  <wim@fluendo.com>
7368
7369         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7370         (gst_dp_event_from_packet):
7371         Fix serialization of seek events.
7372
7373 2005-07-27  Wim Taymans  <wim@fluendo.com>
7374
7375         * check/gst-libs/gdp.c: (GST_START_TEST):
7376         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7377         Fix compilation and fix event serialization.
7378
7379 2005-07-27  Wim Taymans  <wim@fluendo.com>
7380
7381         * CHANGES-0.9:
7382         * docs/design/part-TODO.txt:
7383         * docs/design/part-events.txt:
7384         Some docs updates
7385
7386         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7387         (gst_base_sink_event), (gst_base_sink_do_sync),
7388         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7389         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7390         (gst_base_src_do_seek), (gst_base_src_event_handler),
7391         (gst_base_src_loop):
7392         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7393         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7394         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7395         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7396         (gst_base_transform_set_passthrough),
7397         (gst_base_transform_is_passthrough):
7398         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7399         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7400         Event updates.
7401
7402         * gst/gstbuffer.h:
7403         Use faster casts.
7404
7405         * gst/gstelement.c: (gst_element_seek):
7406         * gst/gstelement.h:
7407         Update gst_element_seek.
7408
7409         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7410         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7411         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7412         (gst_event_new_eos), (gst_event_new_newsegment),
7413         (gst_event_parse_newsegment), (gst_event_new_tag),
7414         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7415         (gst_event_parse_qos), (gst_event_new_seek),
7416         (gst_event_parse_seek), (gst_event_new_navigation):
7417         * gst/gstevent.h:
7418         Make GstEvent use GstStructure. Add parsing code, make sure the
7419         API is sufficiently generic.
7420         Mark possible directions of events and serialization.
7421
7422         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7423         (_gst_message_copy), (gst_message_new_segment_start),
7424         (gst_message_new_segment_done), (gst_message_new_custom),
7425         (gst_message_parse_segment_start),
7426         (gst_message_parse_segment_done):
7427         Small cleanups.
7428
7429         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7430         (gst_pad_set_caps), (gst_pad_send_event):
7431         Update for new events. 
7432         Catch events sent in wrong directions.
7433
7434         * gst/gstqueue.c: (gst_queue_link_src),
7435         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7436         (gst_queue_handle_src_query):
7437         Event updates.
7438
7439         * gst/gsttag.c:
7440         * gst/gsttag.h:
7441         Remove event code from this file.
7442
7443         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7444         (gst_dp_event_from_packet):
7445         Event updates.
7446
7447 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7448
7449         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7450         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7451         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7452           Make debugging actually useful.
7453
7454 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7455
7456         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7457         (gst_pad_fixate_caps):
7458           Implement default fixation once again, so that gst_pad_fixate()
7459           actually does anything at all. This probably needs to be some
7460           sort of a last resort, and use profile-based fixation first, but
7461           since that doesn't exist yet, this is the best we have. Fixes
7462           visualization in Totem.
7463
7464 2005-07-22  Wim Taymans  <wim@fluendo.com>
7465
7466         * docs/design/part-events.txt:
7467         Small update.
7468
7469         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7470         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7471         (gst_base_sink_activate_pull):
7472         Some more comments.
7473
7474         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7475         (gst_fake_src_create):
7476         Fix handoff marshall.
7477
7478         * gst/elements/gstidentity.c: (gst_identity_class_init),
7479         (gst_identity_transform_ip):
7480         We're a real inplace element.
7481
7482         * gst/gstbus.c: (gst_bus_post):
7483         Added some comments.
7484
7485         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7486         * tests/muxing/case1.c: (main):
7487         * tests/sched/dynamic-pipeline.c: (main):
7488         * tests/sched/interrupt1.c: (main):
7489         * tests/sched/interrupt2.c: (main):
7490         * tests/sched/interrupt3.c: (main):
7491         * tests/sched/runxml.c: (main):
7492         * tests/sched/sched-stress.c: (main):
7493         * tests/seeking/seeking1.c: (event_received), (main):
7494         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7495         (main):
7496         * tests/threadstate/threadstate3.c: (main):
7497         * tests/threadstate/threadstate4.c: (main):
7498         * tests/threadstate/threadstate5.c: (main):
7499         Fix the tests.
7500
7501 2005-07-21  Wim Taymans  <wim@fluendo.com>
7502
7503         * docs/design/part-seeking.txt:
7504         Some small additions.
7505
7506         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7507         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7508         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7509         * gst/base/gstbasesink.h:
7510         discont values are gint64, handle the math correctly.
7511
7512         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7513         Make the basesrc report error if the source pad is not linked.
7514
7515         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7516         (gst_queue_loop), (gst_queue_handle_src_query),
7517         (gst_queue_src_activate_push):
7518         Make queue collect data even if the srcpad is not linked.
7519         Start pushing out data as soon as it is linked.
7520
7521         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7522         * gst/gstutils.h:
7523         Added gst_flow_get_name() to ease error reporting.
7524
7525 2005-07-20  Wim Taymans  <wim@fluendo.com>
7526
7527         * gst/gstmessage.c: (gst_message_new_segment_start),
7528         (gst_message_new_segment_done), (gst_message_parse_segment_start),
7529         (gst_message_parse_segment_done):
7530         * gst/gstmessage.h:
7531         Added a bunch of messages for advanced seeking.
7532
7533         * gst/parse/grammar.y:
7534         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7535         (gst_dpman_state_changed):
7536         Fix some new-pad -> pad-added signals
7537
7538 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7539
7540         * docs/manual/appendix-porting.xml:
7541         * docs/pwg/appendix-porting.xml:
7542           Document new-pad/state-change signal renames and the FixedList
7543           type rename.
7544
7545 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7546
7547         * docs/manual/advanced-autoplugging.xml:
7548         * docs/manual/basics-helloworld.xml:
7549         * docs/manual/basics-pads.xml:
7550         * docs/random/ds/0.9-suggested-changes:
7551         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7552         * gst/gstelement.h:
7553         * gst/gstevent.h:
7554         * gst/gstformat.h:
7555         * gst/gstquery.h:
7556         * gst/gststructure.c: (gst_structure_value_get_generic_type),
7557         (gst_structure_parse_array), (gst_structure_parse_value):
7558         * gst/gstvalue.c: (gst_type_is_fixed),
7559         (gst_value_list_prepend_value), (gst_value_list_append_value),
7560         (gst_value_list_get_size), (gst_value_list_get_value),
7561         (gst_value_transform_array_string), (gst_value_serialize_array),
7562         (gst_value_deserialize_array), (gst_value_intersect_array),
7563         (gst_value_is_fixed), (_gst_value_initialize):
7564         * gst/gstvalue.h:
7565           GstElement::new-pad -> pad-added, GstElement::state-change ->
7566           state-changed, GstValueFixedList -> GstValueArray, add format and
7567           flags as their own arguments in gst_element_seek() (should improve
7568           "bindeability"), remove function generators since they don't work
7569           under a whole bunch of compilers (they were deprecated already
7570           anyway).
7571
7572 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7573
7574         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7575         (_gst_debug_register_funcptr):
7576         * gst/gstinfo.h:
7577           Fix illegal cast on some platforms (#309253).
7578
7579 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7580
7581         * gst/gstmessage.c: (gst_message_new_custom):
7582         * gst/gstmessage.h:
7583           Add _new_custom, make _new_application a macro to _new_custom.
7584
7585 2005-07-20  Wim Taymans  <wim@fluendo.com>
7586
7587         * gst/base/gstbasesrc.c: (gst_base_src_init),
7588         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7589         * gst/base/gstbasesrc.h:
7590         Add a gboolean to decide when to push out a discont.
7591
7592         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7593         (gst_queue_loop), (gst_queue_handle_src_query),
7594         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7595         (gst_queue_set_property), (gst_queue_get_property):
7596         Some cleanups.
7597
7598         * tests/threadstate/threadstate1.c: (main):
7599         Make a thread test compile and run... very silly..
7600
7601
7602 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7603
7604         * docs/manual/appendix-porting.xml:
7605           Mention removal of libgstgconf-0.9.la and existence of gconf
7606           elements.
7607
7608 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7609
7610         * docs/pwg/advanced-clock.xml:
7611         * docs/pwg/appendix-porting.xml:
7612         * docs/pwg/intro-preface.xml:
7613         * docs/pwg/other-base.xml:
7614         * docs/pwg/other-manager.xml:
7615         * docs/pwg/other-nton.xml:
7616         * docs/pwg/other-ntoone.xml:
7617         * docs/pwg/other-oneton.xml:
7618         * docs/pwg/pwg.xml:
7619           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7620           demuxer), remove n-to-n (was never written), fix some code examples
7621           and links and update the porting section to include all this.
7622
7623 2005-07-19  Wim Taymans  <wim@fluendo.com>
7624
7625         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7626         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7627         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7628         (gst_queue_src_activate_push), (gst_queue_change_state),
7629         (gst_queue_get_property):
7630         * gst/gstqueue.h:
7631         Propagate GstFlowReturn more intelligently upstream and output
7632         an ERROR/EOS when streaming stopped due to fatal error.
7633
7634 2005-07-19  Wim Taymans  <wim@fluendo.com>
7635
7636         * tools/gst-launch.c: (check_intr), (event_loop), (main):
7637         Don't block forever for the state change to complete, the
7638         pipeline already did with a sensible timeout.
7639
7640 2005-07-19  Wim Taymans  <wim@fluendo.com>
7641
7642         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7643         Make sure we never call the create function is we
7644         got deactivated.
7645
7646 2005-07-19  Andy Wingo  <wingo@pobox.com>
7647
7648         * gst/parse/parse.l: Attempt to solve bug #172815.
7649
7650 2005-07-19  Wim Taymans  <wim@fluendo.com>
7651
7652         * docs/design/part-clocks.txt:
7653         * docs/design/part-events.txt:
7654         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7655         Small docs updates.
7656         Only update the seeking values when we are not
7657         busy streaming.
7658
7659 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7660
7661         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7662           Oops, ignore the result of gst_pad_push_event here.
7663
7664 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7665
7666         * gst/base/gstbasesrc.c: (gst_base_src_loop),
7667         (gst_base_src_activate_push):
7668           Send discont event from the loop function, as pads
7669           aren't activated yet in the activate_push handler.
7670
7671         * gst/gstbin.c: (bin_bus_handler):
7672           Don't leak element name.
7673
7674 2005-07-18  Andy Wingo  <wingo@pobox.com>
7675
7676         * configure.ac: Use AS_LIBTOOL_TAGS.
7677
7678 2005-07-18  Wim Taymans  <wim@fluendo.com>
7679
7680         * docs/gst/gstreamer.types:
7681         Remove deleted types.
7682
7683 2005-07-18  Wim Taymans  <wim@fluendo.com>
7684
7685         * check/elements/gstfakesrc.c: (GST_START_TEST):
7686         * configure.ac:
7687         * gst/Makefile.am:
7688         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7689         (init_popt_callback):
7690         * gst/gst.h:
7691         * gst/gst_private.h:
7692         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7693         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7694         * gst/gstbin.h:
7695         * gst/gstbus.h:
7696         * gst/gstconfig.h.in:
7697         * gst/gstelement.c: (gst_element_class_init),
7698         (gst_element_set_base_time), (gst_element_get_base_time),
7699         (iterator_fold_with_resync), (gst_element_change_state),
7700         (gst_element_dispose), (gst_element_get_bus):
7701         * gst/gstelement.h:
7702         * gst/gstelementfactory.h:
7703         * gst/gsterror.c: (_gst_core_errors_init):
7704         * gst/gsterror.h:
7705         * gst/gstevent.h:
7706         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7707         * gst/gstindex.c:
7708         * gst/gstinfo.c: (_gst_debug_init):
7709         * gst/gstmessage.c: (_gst_message_copy):
7710         * gst/gstmessage.h:
7711         * gst/gstminiobject.h:
7712         * gst/gstobject.c:
7713         * gst/gstobject.h:
7714         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7715         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7716         * gst/gstpad.h:
7717         * gst/gstparse.h:
7718         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7719         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7720         (gst_pipeline_get_last_stream_time):
7721         * gst/gstpipeline.h:
7722         * gst/gstpluginfeature.h:
7723         * gst/gstquery.h:
7724         * gst/gstscheduler.c:
7725         * gst/gstscheduler.h:
7726         * gst/gststructure.h:
7727         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7728         (gst_task_finalize), (gst_task_func), (gst_task_create),
7729         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7730         (gst_task_stop), (gst_task_pause):
7731         * gst/gsttask.h:
7732         * gst/gsttypefind.h:
7733         * gst/gsttypes.h:
7734         * gst/registries/gstlibxmlregistry.c: (load_feature),
7735         (gst_xml_registry_load), (gst_xml_registry_save_feature):
7736         * gst/registries/gstxmlregistry.c:
7737         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7738         * gst/schedulers/threadscheduler.c:
7739         * libs/gst/control/dparammanager.h:
7740         * tools/gst-inspect.c: (print_element_list),
7741         (print_plugin_features), (print_element_features):
7742         * tools/gst-xmlinspect.c: (print_element_list),
7743         (print_plugin_info), (main):
7744         Removed plugable schedulers.
7745         Removed Scheduler/Manager from elements.
7746         Removed gsttypes.h, rearranged includes.
7747         Removed dependency pad<->element, element<>pipeline, and
7748         various others,  fix includes.
7749         implement gst_pad_get_parent() with gst_object_get_parent()
7750         Make GstTask sefcontained.
7751         Fix _get_state() on GstBin, it did not return ASYNC with a 0
7752         timeout.
7753         Fix endless loop in iterator_fold_with_resync.
7754
7755
7756 2005-07-18  Wim Taymans  <wim@fluendo.com>
7757
7758         * gst/Makefile.am:
7759         * gst/gstarch.h:
7760         Remove old file.
7761
7762 2005-07-18  Wim Taymans  <wim@fluendo.com>
7763
7764         * gst/Makefile.am:
7765         No more cothreads.h
7766
7767 2005-07-18  Wim Taymans  <wim@fluendo.com>
7768
7769         * gst/cothreads.c:
7770         * gst/cothreads.h:
7771         Let's remove these.
7772
7773 2005-07-18  Wim Taymans  <wim@fluendo.com>
7774
7775         * docs/design/part-dynamic.txt:
7776         * docs/design/part-events.txt:
7777         * docs/design/part-seeking.txt:
7778         Some more docs in the works.
7779
7780         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7781         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7782         (gst_base_transform_setcaps), (gst_base_transform_get_size),
7783         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7784         (gst_base_transform_handle_buffer),
7785         (gst_base_transform_sink_activate_push),
7786         (gst_base_transform_src_activate_pull),
7787         (gst_base_transform_set_passthrough),
7788         (gst_base_transform_is_passthrough):
7789         Refcounting fixes.
7790
7791         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7792         Cleanups.
7793
7794         * gst/gstevent.c: (gst_event_finalize):
7795         Set SRC to NULL.
7796
7797         * gst/gstutils.c: (gst_element_unlink),
7798         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7799         (gst_pad_proxy_setcaps):
7800         * gst/gstutils.h:
7801         Add _get_parent_element() to get a pads parent as an element.
7802
7803 2005-07-18  Wim Taymans  <wim@fluendo.com>
7804
7805         * check/gst/gstbin.c: (GST_START_TEST):
7806         Remove bogus test.
7807
7808 2005-07-18  Wim Taymans  <wim@fluendo.com>
7809
7810         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7811         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7812         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7813         (gst_base_sink_event), (gst_base_sink_do_sync),
7814         (gst_base_sink_chain), (gst_base_sink_loop),
7815         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7816         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7817         Refcounting fixes.
7818         Fix logic for returning ASYNC when not prerolled.
7819
7820 2005-07-18  Wim Taymans  <wim@fluendo.com>
7821
7822         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7823         Fix nasty refcount bug.
7824
7825 2005-07-16 Philippe Khalaf <burger@speedy.org>
7826
7827         * gst/elements/gstfdsrc.c:
7828         * gst/elements/gstfdsrc.h:
7829         * gst/elements/gstelements.c:
7830         * gst/elements/Makefile.am:
7831         Ported fdsrc to 0.9.
7832
7833 2005-07-16  Wim Taymans  <wim@fluendo.com>
7834
7835         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7836         (gst_base_sink_do_sync):
7837         Fix compile error.
7838
7839 2005-07-16  Wim Taymans  <wim@fluendo.com>
7840
7841         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7842         (gst_base_sink_event), (gst_base_sink_get_times),
7843         (gst_base_sink_do_sync), (gst_base_sink_change_state):
7844         * gst/base/gstbasesink.h:
7845         Store and use discont values when syncing buffers as described
7846         in design docs.
7847         
7848         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7849         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
7850         (gst_base_src_activate_push):
7851         Push discont event when starting.
7852
7853         * gst/elements/gstidentity.c: (gst_identity_transform):
7854         Small cleanups.
7855
7856         * gst/gstbin.c: (gst_bin_change_state):
7857         Small cleanups in base_time  distribution.
7858
7859         * gst/gstelement.c: (gst_element_set_base_time),
7860         (gst_element_get_base_time), (gst_element_change_state):
7861         * gst/gstelement.h:
7862         Added methods for the base_time of the element.
7863         Some MT fixes.
7864
7865         * gst/gstpipeline.c: (gst_pipeline_send_event),
7866         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7867         (gst_pipeline_get_last_stream_time):
7868         * gst/gstpipeline.h:
7869         MT fixes.
7870         Handle seeking as described in design doc, remove stream_time
7871         hack.
7872         Cleanups clock and stream_time selection code. Added accessors
7873         for the stream_time.
7874         
7875
7876 2005-07-16  Andy Wingo  <wingo@pobox.com>
7877
7878         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
7879         (#305291).
7880
7881 2005-07-16  Wim Taymans  <wim@fluendo.com>
7882
7883         * check/gst/gstbin.c: (GST_START_TEST):
7884         Make elements silent as the deep_notify refs the
7885         parent, which might make the test fail.
7886
7887         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7888         Don't hold the lock for too long.
7889
7890 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
7891
7892         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7893           Don't unref the caps we passed to gst_caps_make_writable() after
7894           passing them. gst_caps_make_writable() will do that for us.
7895
7896 2005-07-15  Andy Wingo  <wingo@pobox.com>
7897
7898         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
7899         (#157311).
7900
7901         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
7902         own marshalling function for the handoff signal. Properly type the
7903         buffer as a buffer. Fixes some warnings. Should do a more general
7904         solution.
7905         (gst_identity_class_init): Plug into the right marshaller.
7906
7907 2005-07-15  Wim Taymans  <wim@fluendo.com>
7908
7909         * docs/design/part-TODO.txt:
7910         * docs/design/part-clocks.txt:
7911         * docs/design/part-element-sink.txt:
7912         * docs/design/part-events.txt:
7913         * docs/design/part-gstpipeline.txt:
7914         Updated docs, mostly DISCONT related.
7915
7916 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
7917
7918         * docs/pwg/building-pads.xml:
7919           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
7920
7921 2005-07-15  Andy Wingo  <wingo@pobox.com>
7922
7923         * tools/gst-typefind.c: Update, add copyright block.
7924
7925         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
7926         Normalize and truncate caps before fixation.
7927
7928         * gst/gstcaps.h:
7929         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
7930         discards all but the first structure from its argument.
7931
7932 2005-07-15  Wim Taymans  <wim@fluendo.com>
7933
7934         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7935         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
7936         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7937         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7938         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
7939         (gst_base_transform_chain), (gst_base_transform_change_state),
7940         (gst_base_transform_set_passthrough),
7941         (gst_base_transform_is_passthrough):
7942         * gst/base/gstbasetransform.h:
7943         Make passthrough work using the bufferpools.
7944         Changed API a bit, subclasses have to write into a buffer
7945         provided by the base class.
7946         More debug info in nego functions.
7947         
7948         * gst/elements/gstidentity.c: (gst_identity_init),
7949         (gst_identity_transform):
7950         Port to new base class.
7951
7952 2005-07-15  Wim Taymans  <wim@fluendo.com>
7953
7954         * gst/gstmessage.c: (gst_message_new_state_changed):
7955         * tools/gst-launch.c: (event_loop), (main):
7956         Totally dump messages in -launch with the -m option.
7957         Fix message name for State messages,
7958
7959 2005-07-14  Wim Taymans  <wim@fluendo.com>
7960
7961         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7962         Post error messages on errors.
7963
7964 2005-07-14  Wim Taymans  <wim@fluendo.com>
7965
7966         * gst/gstcaps.c: (gst_caps_do_simplify):
7967         Remove debug info.
7968
7969         * gst/gsterror.h:
7970         Define error for stream stopped.
7971
7972         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7973         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
7974         Do proper return values.
7975
7976         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7977         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
7978         (gst_pad_get_range):
7979         Better return values.
7980
7981         * gst/gstpad.h:
7982         Reorganise return values, add macro to check for fatal errors.
7983
7984         * gst/gstqueue.c: (gst_queue_chain):
7985         Return proper GstFlowReturn values,
7986
7987 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7988
7989         * docs/gst/gstreamer-sections.txt:
7990         * docs/gst/gstreamer.types:
7991         * docs/gst/tmpl/gst.sgml:
7992         * docs/gst/tmpl/gstbasesink.sgml:
7993         * docs/gst/tmpl/gstbasesrc.sgml:
7994         * docs/gst/tmpl/gstbasetransform.sgml:
7995         * docs/gst/tmpl/gstbin.sgml:
7996         * docs/gst/tmpl/gstbuffer.sgml:
7997         * docs/gst/tmpl/gstcaps.sgml:
7998         * docs/gst/tmpl/gstclock.sgml:
7999         * docs/gst/tmpl/gstcompat.sgml:
8000         * docs/gst/tmpl/gstconfig.sgml:
8001         * docs/gst/tmpl/gstelement.sgml:
8002         * docs/gst/tmpl/gstelementdetails.sgml:
8003         * docs/gst/tmpl/gstelementfactory.sgml:
8004         * docs/gst/tmpl/gstenumtypes.sgml:
8005         * docs/gst/tmpl/gsterror.sgml:
8006         * docs/gst/tmpl/gstevent.sgml:
8007         * docs/gst/tmpl/gstfakesink.sgml:
8008         * docs/gst/tmpl/gstfakesrc.sgml:
8009         * docs/gst/tmpl/gstfilesink.sgml:
8010         * docs/gst/tmpl/gstfilesrc.sgml:
8011         * docs/gst/tmpl/gstfilter.sgml:
8012         * docs/gst/tmpl/gstformat.sgml:
8013         * docs/gst/tmpl/gstghostpad.sgml:
8014         * docs/gst/tmpl/gstimplementsinterface.sgml:
8015         * docs/gst/tmpl/gstindex.sgml:
8016         * docs/gst/tmpl/gstindexfactory.sgml:
8017         * docs/gst/tmpl/gstinfo.sgml:
8018         * docs/gst/tmpl/gstiterator.sgml:
8019         * docs/gst/tmpl/gstmacros.sgml:
8020         * docs/gst/tmpl/gstmemchunk.sgml:
8021         * docs/gst/tmpl/gstminiobject.sgml:
8022         * docs/gst/tmpl/gstobject.sgml:
8023         * docs/gst/tmpl/gstpad.sgml:
8024         * docs/gst/tmpl/gstpadtemplate.sgml:
8025         * docs/gst/tmpl/gstparse.sgml:
8026         * docs/gst/tmpl/gstpipeline.sgml:
8027         * docs/gst/tmpl/gstplugin.sgml:
8028         * docs/gst/tmpl/gstpluginfeature.sgml:
8029         * docs/gst/tmpl/gstquery.sgml:
8030         * docs/gst/tmpl/gstqueue.sgml:
8031         * docs/gst/tmpl/gstregistry.sgml:
8032         * docs/gst/tmpl/gstregistrypool.sgml:
8033         * docs/gst/tmpl/gstscheduler.sgml:
8034         * docs/gst/tmpl/gstschedulerfactory.sgml:
8035         * docs/gst/tmpl/gststructure.sgml:
8036         * docs/gst/tmpl/gstsystemclock.sgml:
8037         * docs/gst/tmpl/gsttaglist.sgml:
8038         * docs/gst/tmpl/gsttagsetter.sgml:
8039         * docs/gst/tmpl/gsttrace.sgml:
8040         * docs/gst/tmpl/gsttrashstack.sgml:
8041         * docs/gst/tmpl/gsttypefind.sgml:
8042         * docs/gst/tmpl/gsttypefindfactory.sgml:
8043         * docs/gst/tmpl/gsttypes.sgml:
8044         * docs/gst/tmpl/gsturihandler.sgml:
8045         * docs/gst/tmpl/gsturitype.sgml:
8046         * docs/gst/tmpl/gstutils.sgml:
8047         * docs/gst/tmpl/gstvalue.sgml:
8048         * docs/gst/tmpl/gstversion.sgml:
8049         * docs/gst/tmpl/gstxml.sgml:
8050         * docs/libs/tmpl/gstcontrol.sgml:
8051         * docs/libs/tmpl/gstdataprotocol.sgml:
8052         * docs/libs/tmpl/gstdparam.sgml:
8053         * docs/libs/tmpl/gstdplinint.sgml:
8054         * docs/libs/tmpl/gstdpman.sgml:
8055         * docs/libs/tmpl/gstdpsmooth.sgml:
8056         * docs/libs/tmpl/gstgetbits.sgml:
8057         * docs/libs/tmpl/gstunitconvert.sgml:
8058         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8059         (gst_push_src_base_init), (gst_push_src_class_init),
8060         (gst_push_src_init), (gst_push_src_create):
8061         * gst/base/gstpushsrc.h:
8062         * gst/elements/gstelements.c:
8063         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8064         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8065         (gst_fake_sink_init), (gst_fake_sink_set_property),
8066         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8067         (gst_fake_sink_event), (gst_fake_sink_preroll),
8068         (gst_fake_sink_render), (gst_fake_sink_change_state):
8069         * gst/elements/gstfakesink.h:
8070         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8071         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8072         (gst_fake_src_base_init), (gst_fake_src_class_init),
8073         (gst_fake_src_init), (gst_fake_src_event_handler),
8074         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8075         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8076         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8077         (gst_fake_src_create_buffer), (gst_fake_src_create),
8078         (gst_fake_src_start), (gst_fake_src_stop):
8079         * gst/elements/gstfakesrc.h:
8080         * gst/elements/gstfilesink.c: (_do_init),
8081         (gst_file_sink_base_init), (gst_file_sink_class_init),
8082         (gst_file_sink_init), (gst_file_sink_dispose),
8083         (gst_file_sink_set_location), (gst_file_sink_set_property),
8084         (gst_file_sink_get_property), (gst_file_sink_open_file),
8085         (gst_file_sink_close_file), (gst_file_sink_query),
8086         (gst_file_sink_event), (gst_file_sink_render),
8087         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8088         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8089         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8090         * gst/elements/gstfilesink.h:
8091         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8092         (gst_file_src_class_init), (gst_file_src_init),
8093         (gst_file_src_finalize), (gst_file_src_set_location),
8094         (gst_file_src_set_property), (gst_file_src_get_property),
8095         (gst_file_src_map_region), (gst_file_src_map_small_region),
8096         (gst_file_src_create_mmap), (gst_file_src_create_read),
8097         (gst_file_src_create), (gst_file_src_is_seekable),
8098         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8099         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8100         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8101         (gst_file_src_uri_handler_init):
8102         * gst/elements/gstfilesrc.h:
8103           more autistic cleanliness in functions/names/defines
8104
8105 2005-07-13  Andy Wingo  <wingo@pobox.com>
8106
8107         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8108         source couldn't negotiate.
8109
8110         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8111         connections again.
8112
8113         * gst/gstutils.h:
8114         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8115         function. I am channeling Hades. Put your boots on suckers!!!
8116
8117 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8118
8119         * testsuite/caps/Makefile.am:
8120         * testsuite/caps/value_compare.c:
8121         * testsuite/caps/value_intersect.c:
8122         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8123           move two testsuite apps over to the check dir
8124
8125 2005-07-12  Wim Taymans  <wim@fluendo.com>
8126
8127         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8128         Added more debug info in the negotiate process.
8129
8130         * gst/gstmessage.h:
8131         Prepare for segment playback.
8132
8133         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8134         Better debugging.
8135
8136         * gst/gstutils.c:
8137         Some more docs.
8138
8139         * tools/gst-launch.c: (main):
8140         NULL pipeline on errors.
8141
8142 2005-07-12  Andy Wingo  <wingo@pobox.com>
8143
8144         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8145         not it comes from a malloc region. Make sure our copy gets freed.
8146
8147 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8148
8149         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8150         * check/gst/gstmessage.c: (GST_START_TEST):
8151         * check/gst/gststructure.c: (GST_START_TEST),
8152         (gst_structure_suite), (main):
8153           more testing
8154         * gst/gstelement.c: (gst_element_message_full):
8155           clean up GError and debug string now that they get copied
8156         * gst/gstmessage.c: (gst_message_new_error),
8157         (gst_message_new_warning), (gst_message_parse_error),
8158         (gst_message_parse_warning):
8159           use GST_TYPE_G_ERROR for structure_new, and take copies of
8160           arguments, so that we don't mess up refcounting
8161
8162 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8163
8164         * check/Makefile.am:
8165           add per-test valgrind targets
8166         * check/gst-libs/gdp.c: (GST_START_TEST),
8167         (gst_data_protocol_suite), (main):
8168           clean up
8169
8170 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8171
8172         * check/Makefile.am:
8173           instate more valgrindable tests
8174         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8175         (GST_START_TEST), (fakesrc_suite):
8176         * check/gst/gstpad.c: (GST_START_TEST):
8177         * check/gst/gststructure.c: (GST_START_TEST):
8178           fix test leaks
8179         * docs/gst/tmpl/gstminiobject.sgml:
8180         * gst/gstpad.c: (gst_pad_finalize):
8181           fix the static mutex leak
8182
8183 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8184
8185         * check/Makefile.am:
8186           add two more tests for valgrinding
8187         * check/gst/gstvalue.c: (GST_START_TEST):
8188           test refcount of deserialized buffer, found a leak
8189         * docs/gst/gstreamer-docs.sgml:
8190         * docs/gst/gstreamer-sections.txt:
8191         * docs/gst/gstreamer.types:
8192         * docs/gst/tmpl/gstminiobject.sgml:
8193           add miniobject to docs
8194         * gst/gstminiobject.c:
8195           add some docs
8196         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8197         (gst_string_unwrap):
8198           fix a hard-to-find invalid write for one of the tests
8199           fix a leak for deserialized buffers
8200
8201 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8202
8203         * docs/pwg/advanced-events.xml:
8204         * docs/pwg/advanced-request.xml:
8205         * docs/pwg/advanced-scheduling.xml:
8206         * docs/pwg/appendix-porting.xml:
8207         * docs/pwg/building-boiler.xml:
8208         * docs/pwg/intro-preface.xml:
8209         * docs/pwg/other-ntoone.xml:
8210           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8211           of example code and explanation for pad activation, loop() and
8212           getrange() functions and a bit more. Remove old comments pointing
8213           to loop-functions.
8214         * examples/pwg/Makefile.am:
8215           Add loop/getrange examples.
8216
8217 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8218
8219         * configure.ac:
8220           check for valgrind binary + some fixes
8221         * check/gst.supp:
8222           valgrind suppressions for the tests
8223         * check/Makefile.am:
8224           add a valgrind: target that valgrinds the unit tests
8225         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8226         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8227         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8228         * check/gst/gstghostpad.c:
8229           added some cleanup
8230         * check/gst/gstdata.c:
8231           removed
8232         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8233         (thread_unref), (gst_mini_object_suite), (main):
8234           added
8235         * gst/gst.c: (gst_deinit):
8236         * gst/gst.h:
8237           add a method to clean up.
8238         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8239         (gst_system_clock_obtain):
8240           allow for disposing the system clock.
8241         * tools/gst-launch.c: (main):
8242           deinit
8243
8244 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8245
8246         * docs/gst/tmpl/gstbasesrc.sgml:
8247         * docs/gst/tmpl/gstfakesrc.sgml:
8248         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8249         (gst_base_src_init), (gst_base_src_set_property),
8250         (gst_base_src_get_property), (gst_base_src_get_range),
8251         (gst_base_src_start):
8252         * gst/base/gstbasesrc.h:
8253           add num-buffers property
8254         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8255         (gst_fakesrc_init), (gst_fakesrc_set_property),
8256         (gst_fakesrc_get_property), (gst_fakesrc_create),
8257         (gst_fakesrc_start):
8258           remove num-buffers property
8259
8260 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8261
8262         * docs/gst/gstreamer-sections.txt:
8263         * docs/gst/tmpl/gstbasesink.sgml:
8264         * docs/gst/tmpl/gstbasesrc.sgml:
8265         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8266         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8267         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8268         (gst_base_sink_set_property), (gst_base_sink_get_property),
8269         (gst_base_sink_handle_object), (gst_base_sink_event),
8270         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8271         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8272         (gst_base_sink_loop), (gst_base_sink_deactivate),
8273         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8274         (gst_base_sink_change_state):
8275         * gst/base/gstbasesink.h:
8276         * gst/base/gstbasesrc.h:
8277         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8278         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8279         (gst_filesink_init):
8280           more macro splitting
8281
8282 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8283
8284         * gst/gstelement.c: (gst_element_get_bus):
8285           add debug
8286         * tools/gst-launch.c: (check_intr), (event_loop):
8287           fix bus leaks
8288
8289 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8290
8291         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8292           fix a caps leak
8293
8294 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8295
8296         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8297         (gst_base_src_finalize):
8298           add finalize method and clean up properly
8299         * gst/gstpipeline.c: (gst_pipeline_dispose):
8300           add debug
8301
8302 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8303
8304         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8305         (gst_bin_suite):
8306           add more things to check
8307         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8308         * gst/gstelement.c:
8309           more debug
8310
8311 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8312
8313         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8314         (GST_START_TEST), (fakesrc_suite):
8315         * check/gst-libs/gdp.c: (GST_START_TEST):
8316         * check/gst/gst.c: (GST_START_TEST):
8317         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8318         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8319         * check/gst/gstbus.c: (GST_START_TEST):
8320         * check/gst/gstcaps.c: (GST_START_TEST):
8321         * check/gst/gstdata.c: (GST_START_TEST):
8322         * check/gst/gstelement.c: (GST_START_TEST):
8323         * check/gst/gstghostpad.c: (GST_START_TEST):
8324         * check/gst/gstiterator.c: (GST_START_TEST):
8325         * check/gst/gstmessage.c: (GST_START_TEST):
8326         * check/gst/gstobject.c: (GST_START_TEST):
8327         * check/gst/gstpad.c: (GST_START_TEST):
8328         * check/gst/gststructure.c: (GST_START_TEST):
8329         * check/gst/gstsystemclock.c: (GST_START_TEST),
8330         (gst_systemclock_suite):
8331         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8332         * check/gst/gstvalue.c: (GST_START_TEST):
8333         * check/pipelines/cleanup.c: (GST_START_TEST):
8334         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8335         * check/states/sinks.c: (GST_START_TEST):
8336         * check/gstcheck.c: (gst_check_init):
8337         * check/gstcheck.h:
8338           add debugging category
8339           use GST_START_TEST now, so we add a debug line
8340
8341 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8342
8343         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8344           add test for state change message on a bin
8345         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8346           add another test
8347         * gst/gstbin.c: (gst_bin_init):
8348         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8349         * gst/gstelement.c: (gst_element_post_message),
8350         (gst_element_set_state):
8351         * gst/gstelementfactory.c: (gst_element_factory_create):
8352         * gst/gstmessage.c: (gst_message_new):
8353         * gst/gstscheduler.c:
8354           various debugging additions and cleanups
8355
8356 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8357
8358         * check/Makefile.am:
8359         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8360         (main):
8361           adding tests for elements
8362         * gst/gstelement.c: (gst_element_dispose):
8363
8364 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8365
8366         * gst/registries/gstlibxmlregistry.c: (load_feature):
8367           plug more leaks.  A simple gst_init() now is leakfree, yay.
8368
8369 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8370
8371         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8372         (gst_xml_registry_load):
8373           plug another memleak
8374
8375 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8376
8377         * configure.ac:
8378           use GST_SET_ERROR_CFLAGS
8379         * docs/faq/cvs.xml:
8380           change to ERROR_CFLAGS
8381
8382 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8383
8384         * configure.ac:
8385           make GST_ERROR_CFLAGS overridable and re-enable Werror
8386         * docs/faq/cvs.xml:
8387           add a note about error CFLAGS
8388         * docs/gst/tmpl/gstfakesrc.sgml:
8389         * gst/elements/gstfakesrc.c:
8390           comment out some unused code
8391         * gst/gst.c: (split_and_iterate):
8392         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8393         (load_feature):
8394           plug some memleaks
8395
8396 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8397
8398         * common/Makefile.am:
8399         * common/gtk-doc.mak:
8400         * docs/gst/Makefile.am:
8401           factor out gtk-doc.mak
8402
8403 2005-07-07  Wim Taymans  <wim@fluendo.com>
8404
8405         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8406         (gst_thread_scheduler_dispose):
8407         Unlock the STREAM_LOCK completely.
8408
8409 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8410
8411         * check/Makefile.am:
8412         * check/elements/.cvsignore:
8413         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8414         (START_TEST), (fakesrc_suite), (main):
8415         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8416         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8417         (gst_fakesrc_create), (gst_fakesrc_start):
8418         * gst/elements/gstfakesrc.h:
8419           adding a first element test
8420
8421 2005-07-07  Andy Wingo  <wingo@pobox.com>
8422
8423         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8424         debug message.
8425
8426 2005-07-07  Wim Taymans  <wim@fluendo.com>
8427
8428         * gst/gstquery.c:
8429         * gst/gstquery.h:
8430         Remove old types
8431
8432 2005-07-07  Wim Taymans  <wim@fluendo.com>
8433
8434         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8435         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8436         Allow subclasses to implement their own negotiation.
8437
8438 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8439
8440         * docs/design/part-gstbin.txt:
8441         * docs/design/part-gstpipeline.txt:
8442           Update design notes to reflect the movement of
8443           responsibility for bus handling from GstPipeline to
8444           GstBin
8445
8446 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8447
8448         * configure.ac:
8449           Remove unnecessary queue2/3/4 examples.
8450
8451 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8452
8453         * examples/Makefile.am:
8454         * examples/helloworld/helloworld.c: (event_loop), (main):
8455         * examples/queue/queue.c: (event_loop), (main):
8456         * examples/queue2/queue2.c: (main):
8457           Update a couple of the examples to work again.
8458
8459         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8460         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8461          Spelling corrections and extra debug.
8462         
8463         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8464         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8465         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8466         * gst/gstbin.h:
8467         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8468         (gst_pipeline_change_state):
8469         * gst/gstpipeline.h:
8470           Move the bus handler for children to the GstBin, and create a
8471           separate bus for receiving messages from children to the one the
8472           bus sends 'upwards' on.
8473
8474 2005-07-06  Wim Taymans  <wim@fluendo.com>
8475
8476         * gst/base/README:
8477         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8478         (gst_base_sink_handle_object), (gst_base_sink_loop),
8479         (gst_base_sink_change_state):
8480         * gst/base/gstbasesink.h:
8481         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8482         (gst_base_src_init), (gst_base_src_setcaps),
8483         (gst_base_src_getcaps), (gst_base_src_loop),
8484         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8485         (gst_base_src_start), (gst_base_src_change_state):
8486         * gst/base/gstbasesrc.h:
8487         Make basesrc negotiate.
8488         Handle the case where preroll fails in basesink.
8489         Update README.
8490
8491 2005-07-06  Wim Taymans  <wim@fluendo.com>
8492
8493         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8494         Implement the fixate function.
8495         Clean up acceptcaps.
8496
8497 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8498
8499         * docs/pwg/building-filterfactory.xml:
8500         * docs/pwg/pwg.xml:
8501           Remove never-written filter-factory chapter; I'll add the various
8502           base classes to part 4 ("other element types") later on.
8503
8504 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8505
8506         * docs/pwg/advanced-negotiation.xml:
8507         * docs/pwg/building-boiler.xml:
8508         * docs/pwg/building-pads.xml:
8509         * docs/pwg/pwg.xml:
8510         * examples/pwg/Makefile.am:
8511           Add a chapter on caps negotiation, simplify the original code
8512           samples a bit w.r.t. caps negotiation, add link to the advanced
8513           section. Add a bunch of examples showing different use cases of
8514           different types of caps negotiation. Upstream renegotiation isn't
8515           fully documented yet since nobody knows how that works.
8516
8517 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8518
8519         * check/gst/gstpad.c:
8520         * check/gstcheck.c:
8521         * gst/gstpad.c: (gst_pad_get_internal_links_default):
8522           if pad has no parent, return NULL as list of internal links
8523
8524 2005-07-05  Andy Wingo  <wingo@pobox.com>
8525
8526         * gst/elements/gstfilesrc.c:
8527         * gst/elements/gstfakesrc.c: 
8528         * gst/base/gstpushsrc.c:
8529         * gst/base/gstbasesrc.h: 
8530         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8531         
8532 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
8533
8534         * Makefile.am:
8535           better report generation target (lcov needs a patch)
8536
8537 2005-07-05  Andy Wingo  <wingo@pobox.com>
8538
8539         * gst/elements, testsuite: Null if we got it...
8540
8541 2005-07-05  Wim Taymans  <wim@fluendo.com>
8542
8543         * configure.ac:
8544         * libs/gst/dataprotocol/Makefile.am:
8545         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8546         * libs/gst/dataprotocol/dataprotocol.h:
8547         * pkgconfig/Makefile.am:
8548         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8549         * pkgconfig/gstreamer-dataprotocol.pc.in:
8550         Ported dataprotol to 0.9. 
8551         Added pkgconfig files.
8552
8553 2005-07-05  Andy Wingo  <wingo@pobox.com>
8554
8555         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8556         Default to returning TRUE for the case when tranform_caps returns
8557         a fixed caps, like for identity or volume.
8558
8559         * check/gst/gstbus.c (pound_bus_with_messages): 
8560         * check/gst/gstmessage.c (START_TEST): 
8561         * check/pipelines/simple_launch_lines.c (got_handoff): Application
8562         message API change.
8563
8564         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8565         logic weaks here: always run transform_caps, trying passthrough
8566         operation only if the original caps intersects with the transform.
8567
8568         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8569         source and sink caps.
8570
8571         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8572         Intersect the peer caps with the pad template before going into
8573         transform_caps.
8574         (gst_base_transform_transform_caps): More debugging.
8575
8576         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8577         src argument.
8578
8579 2005-07-04  Edward Hervey  <edward@fluendo.com>
8580
8581         * gst/gstutils.c:
8582         * gst/gstutils.h:
8583         (gst_pad_add_*_probe): now returns the signal id for better wrapping
8584         in bindings.
8585
8586 2005-07-04  Andy Wingo  <wingo@pobox.com>
8587
8588         * check/gst/gstpad.c: Only set explicit caps on pads.
8589
8590 2005-07-01  Andy Wingo  <wingo@pobox.com>
8591
8592         * tests/network-clock.scm: Commentary update.
8593
8594         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8595         Didn't really make sense, not implementable with basetransform,
8596         etc.
8597         (gst_identity_transform): Unref inbuf via make_writable. Feeble
8598         attempt at implementing the sync property, needs an unlock method.
8599
8600         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8601         New func, by default returns the same caps (the identity
8602         transformation).
8603         (gst_base_transform_getcaps): Uses transform_caps to return
8604         something sensible.
8605         (gst_base_transform_setcaps): Complicated logic to get caps on
8606         both pads, even if they are different, and to call set_caps once
8607         for every time both pads get their caps set.
8608         (gst_base_transform_handle_buffer): Give the ref to the transform
8609         function. Allows in-place modification of the buffer.
8610
8611         * gst/base/gstbasetransform.h (transform_caps): New class method.
8612         Given caps on one side, what can I do on the other.
8613         (set_caps): Take two caps, one for each side of the element.
8614
8615         * gst/gstpad.h:
8616         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8617         caps in place. This is safe because we can check the mutability of
8618         the caps, and a good idea because fixate functions are just called
8619         as a matter of last resort. (Not actually implemented.)
8620         (gst_pad_set_caps): If the caps we're setting is actually the same
8621         as the existing pad caps, just update the pointer without calling
8622         setcaps. Assert that caps is either NULL or fixed, as per the
8623         docs.
8624
8625         * gst/gstghostpad.c: Update for fixate changes.
8626
8627 2005-07-02  Andy Wingo  <wingo@pobox.com>
8628
8629         * gst/gstcaps.c:
8630         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8631         two refcounts makes it immutable, which is enough. Doc more.
8632
8633 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
8634
8635         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8636           Put the mini_object into GValue as a mini_object,
8637           not a gpointer, since that's how we declared
8638           the signal.
8639
8640 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8641
8642         * examples/pwg/Makefile.am:
8643           Fix buildbot again.
8644
8645 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8646
8647         * docs/pwg/building-testapp.xml:
8648           Add extra check.
8649         * examples/pwg/Makefile.am:
8650           Fix buildbot.
8651
8652 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8653
8654         * configure.ac:
8655         * examples/Makefile.am:
8656         * examples/pwg/Makefile.am:
8657         * examples/pwg/extract.pl:
8658           Enable building the PWG examples.
8659         * docs/pwg/advanced-interfaces.xml:
8660           Add URI interface stub.
8661         * docs/pwg/advanced-types.xml:
8662         * docs/pwg/other-autoplugger.xml:
8663         * docs/pwg/appendix-porting.xml:
8664         * docs/pwg/pwg.xml:
8665           Add porting guide (mostly stubs), remove autoplugging (see ADM).
8666         * docs/pwg/building-boiler.xml:
8667         * docs/pwg/building-chainfn.xml:
8668         * docs/pwg/building-pads.xml:
8669         * docs/pwg/building-props.xml:
8670         * docs/pwg/building-state.xml:
8671         * docs/pwg/building-testapp.xml:
8672           Update the building-*.xml parts for 0.9 changes. All examples
8673           code blocks compile in examples/pwg/*.
8674
8675 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8676
8677         * docs/manual/advanced-autoplugging.xml:
8678         * docs/manual/appendix-checklist.xml:
8679         * docs/manual/appendix-integration.xml:
8680         * docs/manual/highlevel-components.xml:
8681           Fix playbin/decodebin examples, update docs a bit, mention bus
8682           instead of signals in various places, mention kmplayer and
8683           kaffeine since they have a working GStreamer backend in the KDE
8684           section.
8685
8686 2005-06-30  Wim Taymans  <wim@fluendo.com>
8687
8688         * CHANGES-0.9:
8689         * docs/design/draft-ghostpads.txt:
8690         * docs/design/draft-push-pull.txt:
8691         * docs/design/draft-query.txt:
8692         * docs/design/part-TODO.txt:
8693         * docs/design/part-query.txt:
8694         Added CHANGES-0.9 doc, updated status of other docs.
8695         
8696         * gst/gstquery.h:
8697         Remove "hmm" macro
8698
8699 2005-06-30  Wim Taymans  <wim@fluendo.com>
8700
8701         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8702         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8703         (gst_base_sink_change_state):
8704         * gst/base/gstbasesink.h:
8705         Some tweaks, only EOS and a buffer complete a preroll.
8706
8707 2005-06-30  Andy Wingo  <wingo@pobox.com>
8708
8709         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8710         activate_push down to the internal pad as well.
8711
8712 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
8713
8714         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8715
8716         * gst/gsttaginterface.c:
8717           Some documentation fixes (#307394 and #307397).
8718
8719 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
8720
8721         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8722
8723         * gst/gstvalue.c: (gst_value_intersect_list):
8724           Fix memleak (#309125).
8725
8726 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8727
8728         * docs/manual/advanced-dataaccess.xml:
8729           Fix fakesrc example to compile; doesn't work, bug somewhere...?
8730         * docs/manual/basics-pads.xml:
8731           Add reference for filtered caps to above chapter.
8732
8733 2005-06-30  Wim Taymans  <wim@fluendo.com>
8734
8735         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8736         (gst_bin_change_state):
8737         Probes are gone.
8738         Lame attempt at making the state change function a bit
8739         more readable.
8740
8741 2005-06-30  Wim Taymans  <wim@fluendo.com>
8742
8743         * docs/design/part-clocks.txt:
8744         * docs/design/part-element-sink.txt:
8745         * docs/design/part-events.txt:
8746         * docs/design/part-preroll.txt:
8747         * docs/design/part-states.txt:
8748         Some more tweeks and additions to the docs.
8749
8750 2005-06-30  Wim Taymans  <wim@fluendo.com>
8751
8752         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8753         (default_have_data), (gst_pad_class_init), (gst_pad_init),
8754         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8755         (gst_pad_check_pull_range), (gst_pad_get_range),
8756         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8757         * gst/gstpad.h:
8758         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8759         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8760         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8761         (gst_pad_remove_buffer_probe):
8762         Removed atomic operations, use existing LOCK.
8763         Move exception handling out of main code path.
8764
8765 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8766
8767         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8768         (silly_return_true_function), (gst_pad_class_init),
8769         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8770         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8771         (gst_pad_send_event):
8772           Fix accumulator, add default value by using _emitv() instead
8773           of _emit() for signal emission.
8774
8775 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8776
8777         * docs/manual/advanced-dataaccess.xml:
8778         * examples/manual/Makefile.am:
8779           Add probe example.
8780         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8781           Make work (??).
8782
8783 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
8784
8785         * gst/elements/gstfilesink.c: (gst_filesink_render):
8786           Simplify code so that we don't have to handle short
8787           writes and return GST_FLOW_ERROR if an error occured.
8788
8789 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8790
8791         * docs/gst/gstreamer-docs.sgml:
8792           Remove probes more.
8793
8794 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8795
8796         * docs/gst/gstreamer-sections.txt:
8797         * docs/gst/tmpl/gstpad.sgml:
8798         * docs/gst/tmpl/gstprobe.sgml:
8799         * gst/Makefile.am:
8800         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8801         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8802         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8803         (gst_pad_push_event), (gst_pad_send_event):
8804         * gst/gstpad.h:
8805         * gst/gstutils.c: (gst_pad_add_data_probe),
8806         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8807         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8808         (gst_pad_remove_buffer_probe):
8809         * gst/gstutils.h:
8810           Remove old probes, add new g-signal-based probes and some utility
8811           functions.
8812
8813 2005-06-29  Edward Hervey  <edward@fluendo.com>
8814
8815         * gst/gstelementfactory.c:
8816         * gst/gstutils.h:
8817         * gst/gstutils.c:
8818         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8819         the definition to the header file.
8820
8821 2005-06-29  Andy Wingo  <wingo@pobox.com>
8822
8823         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8824         plugins from the source directory.
8825
8826 2005-06-29  Wim Taymans  <wim@fluendo.com>
8827
8828         * docs/gst/tmpl/gstbuffer.sgml:
8829         * docs/gst/tmpl/gstclock.sgml:
8830         Some fixings for blantently wrong text.
8831
8832 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8833
8834         * check/Makefile.am:
8835         * gst/gst.c: (add_path_func), (init_pre):
8836         * gst/gstregistry.c: (gst_registry_add_path):
8837           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
8838           only scan the GST_PLUGIN_PATH locations, and not add
8839           system locations
8840
8841 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8842
8843         * docs/gst/gstreamer-sections.txt:
8844         * docs/gst/tmpl/gstbasesrc.sgml:
8845         * gst/gstelement.c:
8846         * gst/gstelement.h:
8847         * gst/gstevent.c:
8848         * gst/gstutils.c:
8849           doc fixes
8850
8851 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8852
8853         * docs/manual/advanced-autoplugging.xml:
8854           Fix autoplugging example.
8855
8856 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8857
8858         * docs/manual/advanced-autoplugging.xml:
8859         * docs/manual/mime-world.fig:
8860           Try to get autoplugging working, fix type detection. Fix text
8861           in hello-world image.
8862
8863 2005-06-29  Wim Taymans  <wim@fluendo.com>
8864
8865         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8866         (gst_base_sink_change_state):
8867         Small debug line.
8868
8869         * gst/gstclock.h:
8870         map SIGNAL and BROADCAST to the right function.
8871
8872         * gst/gstobject.h:
8873         Remove redundant braces.
8874
8875         * gst/gstpad.c: (gst_pad_set_caps):
8876         Don't call setcaps function when reseting caps to NULL.
8877
8878         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8879         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
8880         (gst_system_clock_id_unschedule):
8881         Use BROADCAST as this is what we do.
8882
8883 2005-06-29  Wim Taymans  <wim@fluendo.com>
8884
8885         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8886         We are actually prerolling before commiting the state
8887         change. 
8888
8889 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8890
8891         * docs/manual/advanced-clocks.xml:
8892         * docs/manual/advanced-interfaces.xml:
8893         * docs/manual/advanced-metadata.xml:
8894         * docs/manual/advanced-position.xml:
8895         * docs/manual/advanced-schedulers.xml:
8896         * docs/manual/advanced-threads.xml:
8897         * docs/manual/appendix-porting.xml:
8898         * docs/manual/basics-bins.xml:
8899         * docs/manual/basics-bus.xml:
8900         * docs/manual/basics-elements.xml:
8901         * docs/manual/basics-helloworld.xml:
8902         * docs/manual/basics-pads.xml:
8903         * docs/manual/highlevel-components.xml:
8904         * docs/manual/manual.xml:
8905         * docs/manual/thread.fig:
8906           Update (until threads/scheduling) Application Development Manual;
8907           remove GstThread, add GstBus, add simple porting checklist, add
8908           documentation for tag writing, clocks, make all examples until this
8909           part compile and run.
8910         * examples/manual/Makefile.am:
8911           Update from changes to Application Development Manual; add bus
8912           example, remove thread example.
8913
8914 2005-06-28  Wim Taymans  <wim@fluendo.com>
8915
8916         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
8917         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
8918         (gst_bus_source_dispatch):
8919         Add debugging messages.
8920         Make internal methods static.
8921         Handle the case where the bus is flushed in the handler.
8922         
8923         * gst/gstelement.c: (gst_element_get_bus):
8924         Fix refcount in _get_bus();
8925
8926         * gst/gstpipeline.c: (gst_pipeline_change_state),
8927         (gst_pipeline_get_clock_func):
8928         Clock refcounting fixes.
8929         Handle the case where preroll timed out more gracefully.
8930         
8931         * gst/gstsystemclock.c: (gst_system_clock_dispose):
8932         Clean up the internal thread in dispose. This is needed
8933         for subclasses that actually get disposed.
8934         
8935         * gst/schedulers/threadscheduler.c:
8936         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8937         (gst_thread_scheduler_dispose):
8938         Free thread pool in dispose.
8939
8940 2005-06-28  Andy Wingo  <wingo@pobox.com>
8941
8942         * tests/network-clock-utils.scm (debug, print-event): New utils.
8943
8944         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
8945         (*packet-loss*): Unified loss probability.
8946         (network-time): Report out-of-band events.
8947
8948         * tests/plot-data: Add support for out-of-band events. Hack it
8949         into this script instead of passing it down the pipe; should fix
8950         this later.
8951
8952 2005-06-28  Wim Taymans  <wim@fluendo.com>
8953
8954         * docs/gst/gstreamer.types:
8955         * docs/gst/tmpl/gstbasesrc.sgml:
8956         * docs/gst/tmpl/gstpad.sgml:
8957         Docs fixes.
8958
8959 2005-06-28  Wim Taymans  <wim@fluendo.com>
8960
8961         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8962         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
8963         (gst_proxy_pad_do_fixatecaps):
8964         Correctly proxy the check_pull_range function.
8965
8966 2005-06-28  Andy Wingo  <wingo@pobox.com>
8967
8968         * tests/network-clock.scm: Removed need for slib.
8969         
8970 2005-06-28  Wim Taymans  <wim@fluendo.com>
8971
8972         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
8973         (gst_basesink_preroll_queue_flush):
8974         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
8975         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
8976         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8977         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8978         (gst_proxy_pad_set_property):
8979         * gst/gstpad.c:
8980         * gst/gstpad.h:
8981         * gst/gstqueue.c: (gst_queue_init):
8982         The deprecated pad loop function is removed now.
8983
8984 2005-06-28  Andy Wingo  <wingo@pobox.com>
8985
8986         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
8987         New parameters, simulate network packet loss.
8988
8989         * tests/network-clock-utils.scm: Initialize the RNG.
8990
8991 2005-06-28  Wim Taymans  <wim@fluendo.com>
8992
8993         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
8994         (gst_basesink_event), (gst_basesink_deactivate):
8995         Flushing the preroll queue always needs to unlock the waiters.
8996
8997 2005-06-28  Edward Hervey  <edward@fluendo.com>
8998
8999         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9000         Wheen a seek was successful on a pipeline, set the stream_time to the
9001         seek offset in order to have a synchronized stream_time.
9002
9003 2005-06-28  Wim Taymans  <wim@fluendo.com>
9004
9005         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9006         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9007         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9008         (gst_proxy_pad_do_fixatecaps):
9009         Call wrapper function instead of just calling the function
9010         pointers. This takes care of any locking and whatmore.
9011
9012 2005-06-28  Wim Taymans  <wim@fluendo.com>
9013
9014         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9015         (gst_pad_pull_range):
9016         * gst/gstpad.h:
9017         CONNECTED -> LINKED.
9018
9019 2005-06-28  Andy Wingo  <wingo@pobox.com>
9020
9021         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9022         source-munging commit!!!
9023
9024         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9025         (gst_object_sink): Take gpointer arguments, not GstObject --
9026         avoids casts. Like GLib.
9027
9028         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9029         activate.
9030
9031 2005-06-27  Andy Wingo  <wingo@pobox.com>
9032
9033         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9034         remaining buffer.
9035
9036         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9037         returns a sorted copy of the trace list.
9038         (gst_alloc_trace_print_live): New API, only prints traces with
9039         live objects. Sort the list.
9040         (gst_alloc_trace_print_all): Sort the list.
9041         (gst_alloc_trace_print): Align columns.
9042
9043         * gst/elements/gstttypefindelement.c:
9044         * gst/elements/gsttee.c:
9045         * gst/base/gstbasesrc.c:
9046         * gst/base/gstbasesink.c:
9047         * gst/base/gstbasetransform.c:
9048         * gst/gstqueue.c: Adapt for pad activation changes.
9049
9050         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9051         sched.
9052         (gst_pipeline_dispose): Drop ref on sched.
9053
9054         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9055         (gst_pad_activate_default): Push mode by default.
9056         (pre_activate_switch, post_activate_switch): New stubs, things to
9057         do before and after switching activation modes on pads.
9058         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9059         the pad's activate function to choose which mode to activate.
9060         Shortcut on deactivation and call the right function directly.
9061         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9062         mode.
9063         (gst_pad_activate_push): New API, same for push mode.
9064         (gst_pad_set_activate_function) 
9065         (gst_pad_set_activatepull_function) 
9066         (gst_pad_set_activatepush_function): Setters for new API.
9067
9068         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9069         Trace all miniobjects.
9070         (gst_mini_object_make_writable): Unref the arg if we copy, like
9071         gst_caps_make_writable.
9072
9073         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9074
9075         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9076         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9077         Adapt for new pad API.
9078
9079         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9080
9081         * gst/gstelement.h:
9082         * gst/gstelement.c (gst_element_iterate_src_pads) 
9083         (gst_element_iterate_sink_pads): New API functions.
9084         
9085         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9086         should fold into gstiterator.c in some form.
9087         (gst_element_pads_activate): Simplified via use of fold and
9088         delegation of decisions to gstpad->activate.
9089
9090         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9091         help in debugging.
9092
9093         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9094         class once in init, like gstmessage. Didn't run into this issue
9095         but it seems correct. Don't initialize a trace, gstminiobject does
9096         that.
9097
9098         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9099         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9100         to the bus.
9101         (assert_live_count): New util function, uses alloc traces to check
9102         cleanup.
9103
9104         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9105         To be modified when unlink drops the internal pad.
9106
9107 2005-06-27  Wim Taymans  <wim@fluendo.com>
9108
9109         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9110         (gst_bin_change_state):
9111         Cleanup the get_state() function a little, make sure it
9112         iterates the same set of elements.
9113         Added stub iterate_state_order().
9114
9115 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9116
9117         * docs/gst/gstreamer-docs.sgml:
9118         * docs/gst/gstreamer-sections.txt:
9119         * docs/gst/gstreamer.types:
9120         * docs/gst/tmpl/gstbasesink.sgml:
9121         * docs/gst/tmpl/gstbasesrc.sgml:
9122         * docs/gst/tmpl/gstbasetransform.sgml:
9123         * docs/gst/tmpl/gstelement.sgml:
9124         * docs/gst/tmpl/gstiterator.sgml:
9125         * gst/base/gstbasesrc.c:
9126         * gst/base/gstbasesrc.h:
9127         * gst/base/gstbasetransform.h:
9128         * gst/gstelement.c:
9129         * gst/gstiterator.h:
9130           adding basetransform and iterator docs
9131
9132 2005-06-27  Andy Wingo  <wingo@pobox.com>
9133
9134         * docs/design/part-activation.txt: Notes on how activation should
9135         work -- not quite implemented yet.
9136
9137 2005-06-25  Wim Taymans  <wim@fluendo.com>
9138
9139         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9140         At least get the chain function correct, needs more
9141         fixing.
9142
9143 2005-06-25  Wim Taymans  <wim@fluendo.com>
9144
9145         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9146         (gst_basesink_handle_object), (gst_basesink_event),
9147         (gst_basesink_do_sync), (gst_basesink_handle_event),
9148         (gst_basesink_change_state):
9149         * gst/gsttask.h:
9150         Right, two problems here: ghostpads don't take locks and
9151         glib _rec_mutex_lock_full() with depth==0 still locks.
9152         Catch illegal locking and g_warn them.
9153
9154 2005-06-25  Wim Taymans  <wim@fluendo.com>
9155
9156         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9157         Have to check for completion now...
9158
9159 2005-06-25  Wim Taymans  <wim@fluendo.com>
9160
9161         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9162         (gst_basesink_handle_object), (gst_basesink_event),
9163         (gst_basesink_do_sync), (gst_basesink_handle_event),
9164         (gst_basesink_change_state):
9165         * gst/gstpad.h:
9166         Unlock STREAM_LOCK whatever the recursion was.
9167
9168 2005-06-25  Wim Taymans  <wim@fluendo.com>
9169
9170         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9171         (gst_basesink_preroll_queue_empty),
9172         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9173         (gst_basesink_event), (gst_basesink_do_sync),
9174         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9175         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9176         (gst_basesink_change_state):
9177         Reworked the base sink, handle event and buffer serialisation
9178         correctly and removed possible deadlock.
9179         Handle EOS correctly.
9180
9181 2005-06-25  Wim Taymans  <wim@fluendo.com>
9182
9183         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9184         (gst_pipeline_change_state):
9185         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9186         Allow elements to post EOS in the state change function.
9187         Fix up -launch, make it exit the poll loop when the
9188         pipeline actually changed state.
9189         Fix up warning parsing in -launch.
9190
9191 2005-06-25  Wim Taymans  <wim@fluendo.com>
9192
9193         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9194         (gst_tee_sink_activate):
9195         Core takes STREAM_LOCK for us now.
9196
9197 2005-06-25  Wim Taymans  <wim@fluendo.com>
9198
9199         * gst/gstelement.c: (gst_element_get_state_func),
9200         (gst_element_set_state):
9201         * gst/gstelement.h:
9202         * gst/gstmessage.c: (gst_message_parse_error),
9203         (gst_message_parse_warning):
9204         Keep track of current target state while performing a state
9205         change so that subclasses can do something interesting.
9206         Fix parsing of warning/error messages when GError is NULL.
9207
9208 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9209
9210         * docs/gst/Makefile.am:
9211         * docs/gst/gstreamer-docs.sgml:
9212         * docs/gst/gstreamer-sections.txt:
9213         * docs/gst/gstreamer.types:
9214         * docs/gst/tmpl/gstbasesink.sgml:
9215         * docs/gst/tmpl/gstbasesrc.sgml:
9216         * docs/gst/tmpl/gstbin.sgml:
9217         * docs/gst/tmpl/gstcompat.sgml:
9218         * docs/gst/tmpl/gstfakesink.sgml:
9219         * docs/gst/tmpl/gstfakesrc.sgml:
9220         * docs/gst/tmpl/gstfilesink.sgml:
9221         * docs/gst/tmpl/gstfilesrc.sgml:
9222         * docs/gst/tmpl/gstindex.sgml:
9223         * docs/manual/appendix-quotes.xml:
9224         * gst/base/gstbasesrc.h:
9225         * gst/elements/gstfakesrc.h:
9226         * gst/gstmessage.h:
9227           start pulling in base classes and elements in our docs
9228
9229 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9230
9231         * docs/gst/Makefile.am:
9232         * docs/libs/Makefile.am:
9233           fixed make distcheck with gtk-doc 1.3
9234
9235 2005-06-23  Wim Taymans  <wim@fluendo.com>
9236
9237         * gst/gstelement.c: (gst_element_get_state_func),
9238         (gst_element_set_state), (gst_element_change_state):
9239         When the state did not change, also report NO_PREROLL
9240         when it matters.
9241
9242 2005-06-23  Wim Taymans  <wim@fluendo.com>
9243
9244         * gst/gstpad.c: (gst_pad_event_default):
9245         * gst/gstqueue.c: (gst_queue_loop):
9246         No unsafe task pausing please.
9247
9248 2005-06-23  Wim Taymans  <wim@fluendo.com>
9249
9250         * gst/schedulers/threadscheduler.c:
9251         (gst_thread_scheduler_task_start),
9252         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9253         Ref the task before pushing it on the threadpool. This
9254         makes sure that we have a ref when the threadfunction is
9255         actually called.
9256
9257 2005-06-23  Andy Wingo  <wingo@pobox.com>
9258
9259         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9260         offset is greater than the file's size.
9261
9262         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9263         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9264         * gst/gstobject.c (gst_object_class_init): Make the class lock
9265         recursive. Wim won't let me drop deep_notify. Decodebin works
9266         again, whoopdy doo.
9267
9268         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9269         internal pad, and hacks accordingly. Doesn't do it on the target
9270         pad because we change its caps. Probably catches all cases of
9271         interest tho.
9272         (gst_ghost_pad_set_property): Connect to notify::caps as
9273         appropritate.
9274
9275         * tests/network-clock.scm (plot-simulation): Pipe data to the
9276         elite python skript.
9277
9278         * tests/network-clock-utils.scm (define-parameter): New macro,
9279         defines a parameter that can be set via the command line.
9280         (set-parameter!, parse-parameter-arguments): Command line args
9281         parser.
9282
9283         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9284         stdin.
9285
9286 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9287
9288         * gst/elements/gsttypefindelement.c:
9289         (gst_type_find_element_handle_event):
9290           Don't restart typefinding on a discont.
9291         * gst/gstelement.c: (gst_element_set_state):
9292           Debug spelling fix.
9293         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9294           Allow changing mode of an active pad.
9295           Debug output fixes.
9296         * gst/registries/gstlibxmlregistry.c: (load_feature):
9297           Don't cast a static pad template to a normal pad template.
9298
9299 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9300
9301         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9302         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9303           remove gst_strtoll completely, since it didn't actually do
9304           anything more than what g_ascii_strtoull already does.
9305           check for range errors when deserializing
9306           do a cast for the unsigned cases; but further fixing needs
9307           a decision on what the interpretation of "(int)" and
9308           deserialization should be for values that fall outside the
9309           type's boundaries (ie, refuse, or interpret as casting)
9310
9311 2005-06-23  Wim Taymans  <wim@fluendo.com>
9312
9313         * check/Makefile.am:
9314         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9315         * docs/design/part-live-source.txt:
9316         * docs/design/part-states.txt:
9317         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9318         (gst_basesrc_set_live), (gst_basesrc_is_live),
9319         (gst_basesrc_get_range), (gst_basesrc_activate),
9320         (gst_basesrc_change_state):
9321         * gst/base/gstbasesrc.h:
9322         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9323         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9324         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9325         * gst/gstelement.c: (gst_element_get_state_func),
9326         (gst_element_set_state):
9327         * gst/gstelement.h:
9328         * gst/gsttypes.h:
9329         * tools/gst-launch.c: (event_loop), (main):
9330         Added support for live sources and other elements that
9331         cannot do preroll.
9332         Updated design docs, added live-source design doc.
9333         Implemented live source functionality in basesrc
9334         Fix error condition in _bin_get_state()
9335         Implement live source handling in -launch.
9336         Added check for live sources.
9337         Fixed case in GstBin where elements were changed state
9338         multiple times.
9339
9340
9341 2005-06-23  Andy Wingo  <wingo@pobox.com>
9342
9343         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9344         borken refcounting.
9345
9346         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9347         gst_caps_replace takes care of this for us.
9348
9349         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9350         gst_pad_set_caps on the target, not just its setcaps() function.
9351
9352         * tests/network-clock.scm: 
9353         * tests/network-clock-utils.scm: A network clock simulator.
9354         Something of an algorithmic testbed before doing something in C.
9355
9356 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9357
9358         * check/Makefile.am:
9359         * check/gst/capslist.h:
9360           copy over from 0.8, and add two with bitmasks specified with
9361           (int) 0xFF...
9362         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9363           add test to parse everything from capslist.h
9364         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9365         (main):
9366           add test for structure deserialization
9367         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9368           add tests for deserialization of strings to int types
9369         * gst/gststructure.c: (gst_structure_nth_field_name):
9370         * gst/gststructure.h:
9371           add a way to get the name of a field referenced by index
9372         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9373           instead of checking if the resulting long long lies between
9374           min and max, we check if the long long would fit into
9375           a number of bytes for the final type.
9376           This fixes cases where a string represents 2^32 - 1, which
9377           when cast to int would be the (valid) -1, but is bigger than
9378           G_MAXINT
9379
9380 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9381
9382         * gst/parse/grammar.y:
9383           add a log line for type deserialization
9384
9385 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9386
9387         * check/gst/gstvalue.c: (START_TEST):
9388         * gst/gstvalue.c: (gst_value_deserialize):
9389           return long long, not int, so gint64 deserialization actually
9390           works.  Is there any flag that makes the compiler check this ?
9391           Fixes #308559
9392
9393 2005-06-22  Wim Taymans  <wim@fluendo.com>
9394
9395         * gst/gstbuffer.h:
9396         Added convenience macros for setting buffers in GValue.
9397
9398 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9399
9400         * check/gst/.cvsignore:
9401         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9402           add a test deserializing int64, and comment part out because
9403           it fails, yay !
9404
9405 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9406
9407         * check/Makefile.am:
9408         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9409         * testsuite/Makefile.am:
9410         * testsuite/caps/Makefile.am:
9411         * testsuite/caps/value_serialize.c:
9412         * testsuite/test_gst_init.c:
9413           move a value_serialize test over
9414
9415 2005-06-20  Wim Taymans  <wim@fluendo.com>
9416
9417         * gst/gstpad.c:
9418         Small doc updates.
9419         
9420         * gst/gstvalue.c: (gst_value_compare_buffer),
9421         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9422         (gst_value_compare_flags), (gst_value_serialize_flags),
9423         (gst_value_deserialize_flags), (_gst_value_initialize):
9424         Fix serialisation of buffers, they are not boxed types anymore
9425
9426 2005-06-20  Wim Taymans  <wim@fluendo.com>
9427
9428         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9429         Testcase to show error in buffer-on-caps serialisation.
9430
9431 2005-06-20  Andy Wingo  <wingo@pobox.com>
9432
9433         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9434         will be adding to later.
9435
9436         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9437         if its socks fill with rocks.
9438         (gst_system_clock_obtain): Set the name on object construction.
9439         Avoid double-checked locking.
9440
9441 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
9442
9443         * gst/gsturi.c: (gst_element_make_from_uri):
9444           Fix potential endless loop.
9445
9446 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9447
9448         * check/Makefile.am:
9449           add gsttag
9450         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9451         (main):
9452           move over from testsuite dir and clean up
9453         * configure.ac:
9454         * gst/gsttag.c:
9455         * testsuite/Makefile.am:
9456         * testsuite/tags/.cvsignore:
9457         * testsuite/tags/Makefile.am:
9458         * testsuite/tags/merge.c:
9459           remove testsuite/tags
9460
9461 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9462
9463         * docs/gst/gstreamer-sections.txt:
9464         * docs/gst/tmpl/gstenumtypes.sgml:
9465         * win32/gstenumtypes.c:
9466           clean up documentation build a little
9467
9468 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9469
9470         * check/gstcheck.h:
9471           add macros for checking refcounts on objects and caps
9472         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9473           add some more unit tests
9474         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9475         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9476           fix leaked refcounts (I hope :)) so unittest works
9477         * gst/gstpad.h:
9478           whitespace removal
9479
9480 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9481
9482         * configure.ac: back to HEAD
9483
9484 === release 0.9.1 ===
9485
9486 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9487
9488         * NEWS:
9489         * RELEASE:
9490           updated
9491
9492 2005-06-17  Andy Wingo  <wingo@pobox.com>
9493
9494         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9495         assert; it's always possible that the pad gets deactivated in
9496         between the checks in gstpad.c and the implementation. Rely on
9497         finish_preroll() to return a FLUSHING or similar instead of on the
9498         assert.
9499         
9500         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9501         clock and post an EOS message if we come out of finish_preroll in
9502         the playing state.
9503
9504 2005-06-16  David Schleef  <ds@schleef.org>
9505
9506         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9507         (gst_capsfilter_set_property): Allow NULL as possible value
9508         for filter_caps property, indicating GST_CAPS_ANY.
9509
9510 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9511
9512         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9513           fix debug output
9514         * gst/schedulers/Makefile.am:
9515           use libgst prefix
9516         * gstreamer.spec.in:
9517           fix spec for it
9518
9519 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9520
9521         * gstreamer.spec.in:
9522           clean up
9523
9524 2005-06-08  Andy Wingo  <wingo@pobox.com>
9525
9526         * gst/gstutils.c: RPAD fixes all around.
9527         (gst_element_link_pads): Refcounting fixes.
9528
9529         * tools/gst-inspect.c:
9530         * tools/gst-xmlinspect.c:
9531         * parse/grammar.y:
9532         * gst/base/gsttypefindhelper.c:
9533         * gst/base/gstbasesink.c:
9534         * gst/gstqueue.c: RPAD fixes.
9535
9536         * gst/gstghostpad.h:
9537         * gst/gstghostpad.c: New ghost pad implementation as full proxy
9538         pads. The tricky thing is they provide both source and sink
9539         interfaces, since they proxy the internal pad for the external
9540         pad, and vice versa. Implement with lower-level ProxyPad objects,
9541         with the interior proxy pad as a child of the exterior ghost pad.
9542         Should write a doc on this.
9543         
9544         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9545         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9546         gst_object API.
9547         
9548         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9549         pads are real pads. No ghost pads in this file. Not documenting
9550         the myriad s/RPAD/PAD/ and REALIZE fixes.
9551         (gst_pad_class_init): Add properties for "direction" and
9552         "template". Both are construct-only, so they can't change during
9553         the life of the pad. Fixes properly deriving from GstPad.
9554         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9555         derived objects, just set properties when creating the objects via
9556         g_object_new.
9557         (gst_pad_get_parent): Implement as a function, return NULL if the
9558         parent is not an element.
9559         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9560         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9561         
9562         * gst/gstobject.c (gst_object_class_init): Make name a construct
9563         property. Don't set it in the object init.
9564
9565         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9566         with UNKNOWN direction.
9567         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9568         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9569         (gst_element_remove_pad): Remove ghost-pad special cases.
9570         (gst_element_pads_activate): Remove rpad cruft.
9571
9572         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9573         catch the pad's-parent-not-an-element case.
9574
9575         * gst/gst.h: Include gstghostpad.h.
9576
9577         * gst/gst.c (init_post): No more real, ghost pads.
9578
9579         * gst/Makefile.am: Add gstghostpad.[ch].
9580
9581         * check/Makefile.am:
9582         * check/gst/gstbin.c:
9583         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9584         into a bin creates ghost pads, and that the refcounts are right.
9585         Partly moved from gstbin.c.
9586
9587 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9588
9589         * check/gst-libs/.cvsignore:
9590         * check/gst/.cvsignore:
9591         * check/pipelines/.cvsignore:
9592           ignore more
9593         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9594         (START_TEST), (cleanup_suite), (main):
9595           add some tests related to cleanup after running pipelines
9596
9597 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9598
9599         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9600           add a testsuite for GstBuffer
9601
9602 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9603
9604         * gst/gstminiobject.h:
9605           add defines for accessing the refcount
9606
9607 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
9608
9609         * Makefile.am: added support for html unit test coverage reports
9610
9611 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
9612
9613         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9614           Free existing caps if the capsfilter changes. Add a FIXME about
9615           setting those caps on the pads.
9616
9617         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9618           Before adding a ghost pad to a parent bin, check that there isn't
9619           already one for the element on the bin. Prevents infinite recursion
9620           when using decodebin in parse pipelines. Andy says he'll rewrite the
9621           way this works anyway, so ignore the hack.
9622
9623 2005-06-02  Andy Wingo  <wingo@pobox.com>
9624
9625         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9626         file size, pass it on to the type find helper.
9627
9628         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9629         segment_start and segment_end properly according to the seek
9630         method. Segment_end is still a bit flaky because offset can be
9631         negative for CUR and END cases, but it takes -1 as an "unset"
9632         value.
9633
9634 2005-06-02  Wim Taymans  <wim@fluendo.com>
9635
9636         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9637         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9638         (gst_basesink_activate):
9639         * gst/base/gstbasesink.h:
9640         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9641         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9642         (gst_pad_query), (gst_pad_start_task):
9643         * gst/gstpad.h:
9644         * gst/gstqueue.c: (gst_queue_bufferalloc),
9645         (gst_queue_handle_sink_event), (gst_queue_chain):
9646         Bufferalloc: return GstFlowReturn to more accuratly report
9647         why allocation failed.
9648
9649 2005-06-02  Wim Taymans  <wim@fluendo.com>
9650
9651         * gst/gstpipeline.c: (gst_pipeline_send_event):
9652         Take snapshot of state without blocking.
9653
9654 2005-06-02  Wim Taymans  <wim@fluendo.com>
9655
9656         * docs/design/part-TODO.txt:
9657         * docs/design/part-caps.txt:
9658         * docs/design/part-clocks.txt:
9659         * docs/design/part-negotiation.txt:
9660         * docs/design/part-preroll.txt:
9661         Small doc updates 
9662
9663 2005-05-30  Wim Taymans  <wim@fluendo.com>
9664
9665         * gst/elements/gstidentity.c: (gst_identity_event),
9666         (gst_identity_transform), (gst_identity_get_property):
9667         Protect last_message property as it is accessed from
9668         multiple threads.
9669
9670 2005-05-30  Wim Taymans  <wim@fluendo.com>
9671
9672         * gst/gstelement.c: (gst_element_init),
9673         (gst_element_pads_activate), (gst_element_change_state):
9674         Slicker pad activation code.
9675
9676 2005-05-30  Wim Taymans  <wim@fluendo.com>
9677
9678         * gst/Makefile.am:
9679         * gst/gstelement.h:
9680         * gst/gstelementfactory.h:
9681         * gst/gsttypes.h:
9682         Move elementfactory methods to separate .h file.
9683
9684 2005-05-30  Wim Taymans  <wim@fluendo.com>
9685
9686         * docs/design/part-overview.txt:
9687         * gst/gstsystemclock.h:
9688         Small typo fixes, doc updates.
9689
9690 2005-05-30  Wim Taymans  <wim@fluendo.com>
9691
9692         * gst/gst.c: (gst_init_get_popt_table), (init_post),
9693         (init_popt_callback):
9694         Remove cpu-opt flag.
9695
9696 2005-05-30  Wim Taymans  <wim@fluendo.com>
9697
9698         * gst/gstbuffer.c: (gst_subbuffer_finalize),
9699         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9700         * gst/gstbuffer.h:
9701         Avoid typechecking in places where not needed.
9702         Added accessor for malloc_data.
9703
9704 2005-05-30  Wim Taymans  <wim@fluendo.com>
9705
9706         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9707         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9708         (gst_pad_configure_sink), (gst_pad_configure_src),
9709         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9710         (gst_pad_start_task):
9711         Propagate errors from _set_caps() in configure_src/sink
9712         functions instead of returning TRUE.
9713         FLUSH events can travel up and downstream
9714
9715
9716 2005-05-30  Wim Taymans  <wim@fluendo.com>
9717
9718         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9719         (gst_basesink_activate):
9720         Handle EOS in preroll.
9721
9722 2005-05-30  Wim Taymans  <wim@fluendo.com>
9723
9724         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9725         (gst_queue_loop), (gst_queue_handle_src_event):
9726         Remove old pieces of code
9727         Flushing the queue in an upstream event is a very bad idea.
9728
9729 2005-05-26  Andy Wingo  <wingo@pobox.com>
9730
9731         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9732         gst_value_set_mini_object so as to add a ref on the object (which
9733         will be removed when the value is unset).
9734
9735         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9736         arg type in ::handoff.
9737
9738         * gst/gstelement.c (gst_element_change_state): Also deactivate
9739         pads in READY->NULL, just in case the element didn't make it to
9740         PAUSED. Wingo tested, Wim approved.
9741
9742 2005-05-26  Wim Taymans  <wim@fluendo.com>
9743
9744         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9745         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9746         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9747         A flushing pad cannot be used to alloc_buffer from.
9748
9749 2005-05-26  Wim Taymans  <wim@fluendo.com>
9750
9751         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9752         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9753         (gst_bus_source_dispatch), (gst_bus_source_finalize),
9754         (gst_bus_create_watch), (gst_bus_add_watch_full):
9755         * gst/gstbus.h:
9756         Implement a real GSource and use g_main_context_wakeup() to
9757         signal new messages instead of the socketpair.
9758
9759 2005-05-25  Wim Taymans  <wim@fluendo.com>
9760
9761         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9762         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9763         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9764         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9765         (gst_pad_send_event), (gst_pad_start_task):
9766         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9767         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9768         (gst_queue_sink_activate), (gst_queue_src_activate),
9769         (gst_queue_change_state):
9770         * gst/gstqueue.h:
9771         Fix state changes for non sinks. We now change sinks, then elements
9772         with unconnected srcpads, then the rest.
9773         More efficient queue unlocking in flush and state changes.
9774         Set the pad activate mode even if it does not have an activate
9775         function.
9776
9777 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9778
9779         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9780           Don't go in pull mode for non-seekable sources.
9781         * gst/elements/gsttypefindelement.h:
9782         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9783         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9784         (free_entry), (stop_typefinding),
9785         (gst_type_find_element_handle_event), (find_peek),
9786         (gst_type_find_element_chain), (do_pull_typefind),
9787         (gst_type_find_element_change_state):
9788           Allow typefinding (w/o seeking) in push-mode, simplified version
9789           of what was in 0.8.
9790         * gst/gstutils.c: (gst_buffer_join):
9791         * gst/gstutils.h:
9792           gst_buffer_join() from 0.8.
9793
9794 2005-05-25  Wim Taymans  <wim@fluendo.com>
9795
9796         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9797         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9798         (gst_pad_send_event), (gst_pad_start_task):
9799         Disable attempt at mode switching until it is figured out.
9800
9801 2005-05-25  Wim Taymans  <wim@fluendo.com>
9802
9803         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9804         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9805         (gst_basesink_finish_preroll), (gst_basesink_chain),
9806         (gst_basesink_loop), (gst_basesink_activate),
9807         (gst_basesink_change_state):
9808         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9809         (gst_basesrc_get_range), (gst_basesrc_loop),
9810         (gst_basesrc_activate):
9811         * gst/elements/gsttee.c: (gst_tee_sink_activate):
9812         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9813         (gst_real_pad_init), (gst_real_pad_set_property),
9814         (gst_real_pad_get_property), (gst_pad_set_active),
9815         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9816         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9817         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9818         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9819         (gst_pad_event_default_dispatch), (gst_pad_event_default),
9820         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9821         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9822         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9823         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9824         (gst_pad_stop_task):
9825         * gst/gstpad.h:
9826         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9827         (gst_queue_loop), (gst_queue_src_activate):
9828         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
9829         (gst_task_get_state):
9830         * gst/gsttask.h:
9831         * gst/schedulers/threadscheduler.c:
9832         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
9833         Implement gst_pad_pause/start/stop_task(), take STREAM lock
9834         in task function.
9835         Remove ACTIVE pad flag, use FLUSHING everywhere
9836         Added _pad_chain(), _pad_get_range() to call chain/getrange 
9837         functions.
9838         Add locks around IS_FLUSHING when reading.
9839         Take STREAM lock in chain(), get_range() functions so plugins
9840         don't need to take it anymore.
9841         
9842
9843
9844 2005-05-25  Wim Taymans  <wim@fluendo.com>
9845
9846         * tools/gst-launch.c: (event_loop):
9847         Unref message after using its contents instead of
9848         before.
9849
9850 2005-05-24  Wim Taymans  <wim@fluendo.com>
9851
9852         * docs/design/draft-ghostpads.txt:
9853         * docs/design/draft-push-pull.txt:
9854         * docs/design/draft-query.txt:
9855         * docs/design/part-overview.txt:
9856         Docs updates, added general overview doc.
9857
9858 2005-05-21  David Schleef  <ds@schleef.org>
9859
9860         * docs/gst/tmpl/old/GstBin.sgml:
9861         * docs/gst/tmpl/old/GstBuffer.sgml:
9862         * docs/gst/tmpl/old/GstCaps.sgml:
9863         * docs/gst/tmpl/old/GstClock.sgml:
9864         * docs/gst/tmpl/old/GstCompat.sgml:
9865         * docs/gst/tmpl/old/GstData.sgml:
9866         * docs/gst/tmpl/old/GstElement.sgml:
9867         * docs/gst/tmpl/old/GstEvent.sgml:
9868         * docs/gst/tmpl/old/GstIndex.sgml:
9869         * docs/gst/tmpl/old/GstStructure.sgml:
9870         * docs/gst/tmpl/old/GstTag.sgml:
9871         * docs/gst/tmpl/old/cothreads.sgml:
9872         * docs/gst/tmpl/old/cothreads_compat.sgml:
9873         * docs/gst/tmpl/old/gettext.sgml:
9874         * docs/gst/tmpl/old/gobject2gtk.sgml:
9875         * docs/gst/tmpl/old/grammar.tab.sgml:
9876         * docs/gst/tmpl/old/gst-i18n-app.sgml:
9877         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9878         * docs/gst/tmpl/old/gst_private.sgml:
9879         * docs/gst/tmpl/old/gstaggregator.sgml:
9880         * docs/gst/tmpl/old/gstarch.sgml:
9881         * docs/gst/tmpl/old/gstatomic_impl.sgml:
9882         * docs/gst/tmpl/old/gstbufferstore.sgml:
9883         * docs/gst/tmpl/old/gstdata_private.sgml:
9884         * docs/gst/tmpl/old/gstdisksink.sgml:
9885         * docs/gst/tmpl/old/gstdisksrc.sgml:
9886         * docs/gst/tmpl/old/gstelementfactory.sgml:
9887         * docs/gst/tmpl/old/gstextratypes.sgml:
9888         * docs/gst/tmpl/old/gstfakesink.sgml:
9889         * docs/gst/tmpl/old/gstfakesrc.sgml:
9890         * docs/gst/tmpl/old/gstfdsink.sgml:
9891         * docs/gst/tmpl/old/gstfdsrc.sgml:
9892         * docs/gst/tmpl/old/gstfilesink.sgml:
9893         * docs/gst/tmpl/old/gstfilesrc.sgml:
9894         * docs/gst/tmpl/old/gsthttpsrc.sgml:
9895         * docs/gst/tmpl/old/gstidentity.sgml:
9896         * docs/gst/tmpl/old/gstindexfactory.sgml:
9897         * docs/gst/tmpl/old/gstmarshal.sgml:
9898         * docs/gst/tmpl/old/gstmd5sink.sgml:
9899         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9900         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9901         * docs/gst/tmpl/old/gstpadtemplate.sgml:
9902         * docs/gst/tmpl/old/gstpipefilter.sgml:
9903         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9904         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9905         * docs/gst/tmpl/old/gstshaper.sgml:
9906         * docs/gst/tmpl/old/gstspider.sgml:
9907         * docs/gst/tmpl/old/gstspideridentity.sgml:
9908         * docs/gst/tmpl/old/gststatistics.sgml:
9909         * docs/gst/tmpl/old/gsttee.sgml:
9910         * docs/gst/tmpl/old/gsttimecache.sgml:
9911         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9912         * docs/gst/tmpl/old/gstxmlregistry.sgml:
9913         * docs/gst/tmpl/old/gthread-cothreads.sgml:
9914         * docs/gst/tmpl/old/types.sgml:
9915           I didn't intend to add these or check them in.
9916
9917 2005-05-19  David Schleef  <ds@schleef.org>
9918
9919         * configure.ac: Use -no-common everywhere.  In a sane world, it
9920           would be the default in libtool, because without it, you can't
9921           build DLLs on Windows.
9922         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
9923         * docs/gst/gstreamer-sections.txt:
9924         * docs/gst/tmpl/gstcpu.sgml:
9925         * docs/gst/tmpl/gstdata.sgml:
9926         * docs/gst/tmpl/gstthread.sgml:
9927
9928 2005-05-19  David Schleef  <ds@schleef.org>
9929
9930         * gst/gstminiobject.c: (gst_value_set_mini_object),
9931         (gst_value_take_mini_object), (gst_value_get_mini_object):
9932         * gst/gstminiobject.h: Add GValue set/get functions.
9933
9934 2005-05-19  Wim Taymans  <wim@fluendo.com>
9935
9936         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
9937         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
9938         (gst_subbuffer_init), (gst_buffer_is_span_fast):
9939         * gst/gstbuffer.h:
9940         * gst/gstbus.c: (gst_bus_post):
9941         * gst/gstelement.c: (gst_element_get_random_pad):
9942         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
9943         Make subbufer unref the parent in finalize.
9944         some more debugging info.
9945
9946
9947 2005-05-19  Wim Taymans  <wim@fluendo.com>
9948
9949         * gst/base/gstbasesink.c: (gst_basesink_class_init),
9950         (gst_basesink_init), (gst_basesink_finalize),
9951         (gst_basesink_activate), (gst_basesink_change_state):
9952         Don't free preroll queue too early.
9953
9954 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9955
9956         * gst/Makefile.am:
9957         * gst/ROADMAP:
9958           Hi, I'm outdated. Please shoot me.
9959
9960 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9961
9962         * gst/gstpipeline.c: (gst_pipeline_send_event):
9963           Do not access variables after they have been deleted.
9964
9965 2005-05-19  Wim Taymans  <wim@fluendo.com>
9966
9967         * tools/gst-inspect.c: (print_plugin_features):
9968         A plugin feature does unfortunatly not use the
9969         object name yet...
9970
9971 2005-05-18  Wim Taymans  <wim@fluendo.com>
9972
9973         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
9974         Port _span() functions to new subbuffers.
9975
9976 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9977
9978         * gst/gstbin.c: (gst_bin_add_func):
9979           Fix clock settery in bins when adding kids after the clock has
9980           been selected.
9981
9982 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9983
9984         * gst/elements/gstidentity.c: (gst_identity_class_init):
9985           Workaround until signals support GstMiniObject.
9986
9987 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9988
9989         * gst/gstbuffer.c:
9990         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
9991
9992 2005-05-18  Wim Taymans  <wim@fluendo.com>
9993
9994         * gst/base/Makefile.am:
9995         * gst/base/gstadapter.c: (gst_adapter_base_init),
9996         (gst_adapter_class_init), (gst_adapter_init),
9997         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
9998         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
9999         (gst_adapter_flush), (gst_adapter_available),
10000         (gst_adapter_available_fast):
10001         * gst/base/gstadapter.h:
10002         Ported and added adapter to the base classes.
10003
10004 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10005
10006         * gst/gst.c:
10007         * gst/gstmessage.c:
10008           Make sure the class is reffed/unreffed once before threads can be
10009           used.  Fixes #304551.
10010
10011 2005-05-17  Wim Taymans  <wim@fluendo.com>
10012
10013         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10014         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10015         * gst/gstminiobject.c: (gst_mini_object_get_type),
10016         (gst_mini_object_free):
10017         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10018         (gst_pad_push), (gst_pad_push_event):
10019         * gst/gstqueue.c: (gst_queue_change_state):
10020         Don't queue buffers in basesink when we are flushing.
10021         Unref buffer when flushing in basesink.
10022         Flush queue when going to READY
10023         Unref buffer when _push() returns an error.
10024         Don't free MiniObject instance when refcount is incremented
10025         in _finalize() so that we can recover objects.
10026
10027 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10028
10029         * docs/manual/advanced-schedulers.xml:
10030         * docs/manual/appendix-checklist.xml:
10031         * docs/pwg/advanced-clock.xml:
10032         * docs/pwg/advanced-interfaces.xml:
10033         * docs/pwg/advanced-request.xml:
10034         * docs/pwg/advanced-types.xml:
10035         * docs/pwg/intro-preface.xml:
10036         * examples/plugins/example.c: (gst_example_get_type),
10037         (gst_example_class_init), (gst_example_chain),
10038         (gst_example_set_property), (gst_example_get_property),
10039         (gst_example_change_state), (plugin_init):
10040         * examples/plugins/example.h:
10041           small doc fixes
10042
10043 2005-05-17  Wim Taymans  <wim@fluendo.com>
10044
10045         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10046         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10047         * gst/gstqueue.c: (gst_queue_change_state):
10048         Clear queue when going to READY.
10049         Remove IN_SETCAPS flag too.
10050
10051 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10052
10053         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10054           Remove implicit cast from gboolean to GstElementStateReturn;
10055           make sure we still return failure in paused => ready case if
10056           the parent class fails to change state and our own stop 
10057           vfunc succeeds.
10058
10059 2005-05-17  Wim Taymans  <wim@fluendo.com>
10060
10061         * tools/gst-launch.c: (event_loop):
10062         Message was unreffed too soon.
10063
10064 2005-05-16  Andy Wingo  <wingo@pobox.com>
10065
10066         * gst/gstbin.c (sink_iterator_filter): Err... um...
10067
10068         * check/gst/gstbin.c (test_ghost_pads): New test for the
10069         ghosting-if-elements-not-in-same-bin behavior.
10070
10071 2005-05-16  David Schleef  <ds@schleef.org>
10072
10073         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10074         accessing refcount directly.
10075
10076 2005-05-15  David Schleef  <ds@schleef.org>
10077
10078         * check/Makefile.am: remove GstData checks
10079         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10080         * gst/Makefile.am: add miniobject, remove data
10081         * gst/gst.h: add miniobject, remove data
10082         * gst/gstdata.c: remove
10083         * gst/gstdata.h: remove
10084         * gst/gstdata_private.h: remove
10085         * gst/gsttypes.h: remove GstEvent and GstMessage
10086         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10087         * gst/gstmarshal.list: change BOXED -> OBJECT
10088
10089         Implement GstMiniObject.
10090         * gst/gstminiobject.c:
10091         * gst/gstminiobject.h:
10092
10093         Modify to be subclasses of GstMiniObject.
10094         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10095         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10096         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10097         (gst_subbuffer_get_type), (gst_subbuffer_init),
10098         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10099         (gst_buffer_span):
10100         * gst/gstbuffer.h:
10101         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10102         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10103         (_gst_event_copy), (gst_event_new):
10104         * gst/gstevent.h:
10105         * gst/gstmessage.c: (_gst_message_initialize),
10106         (gst_message_get_type), (gst_message_class_init),
10107         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10108         (gst_message_new), (gst_message_new_error),
10109         (gst_message_new_warning), (gst_message_new_tag),
10110         (gst_message_new_state_changed), (gst_message_new_application):
10111         * gst/gstmessage.h:
10112         * gst/gstprobe.c: (gst_probe_perform),
10113         (gst_probe_dispatcher_dispatch):
10114         * gst/gstprobe.h:
10115         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10116         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10117         (_gst_query_copy), (gst_query_new):
10118
10119         Update elements for GstData -> GstMiniObject changes
10120         * gst/gstquery.h:
10121         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10122         (gst_queue_chain), (gst_queue_loop):
10123         * gst/elements/gstbufferstore.c:
10124         (gst_buffer_store_add_buffer_func),
10125         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10126         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10127         (gst_fakesink_render):
10128         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10129         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10130         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10131         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10132         (gst_filesrc_create_read):
10133         * gst/elements/gstidentity.c: (gst_identity_class_init):
10134         * gst/elements/gsttypefindelement.c:
10135         (gst_type_find_element_src_event), (free_entry_buffers),
10136         (gst_type_find_element_handle_event):
10137         * libs/gst/dataprotocol/dataprotocol.c:
10138         (gst_dp_header_from_buffer):
10139         * libs/gst/dataprotocol/dataprotocol.h:
10140         * libs/gst/dataprotocol/dp-private.h:
10141
10142 2005-05-15  David Schleef  <ds@schleef.org>
10143
10144         * gst/elements/gstelements.c: Don't include headers that were
10145         just removed.
10146
10147 2005-05-15  David Schleef  <ds@schleef.org>
10148
10149         * gst/elements/Makefile.am: Remove some elements that don't
10150         need to be in the core (or even exist at all).
10151         * gst/elements/gstaggregator.c:
10152         * gst/elements/gstaggregator.h:
10153         * gst/elements/gstmd5sink.c:
10154         * gst/elements/gstmd5sink.h:
10155         * gst/elements/gstmultifilesrc.c:
10156         * gst/elements/gstmultifilesrc.h:
10157         * gst/elements/gstpipefilter.c:
10158         * gst/elements/gstpipefilter.h:
10159         * gst/elements/gstshaper.c:
10160         * gst/elements/gstshaper.h:
10161         * gst/elements/gststatistics.c:
10162         * gst/elements/gststatistics.h:
10163         * po/POTFILES.in: Remove above files.
10164
10165 2005-05-14  Andy Wingo  <wingo@pobox.com>
10166
10167         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10168         so as to get the refs right.
10169         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10170         unreffing objects that don't pass the filter.
10171
10172         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10173         gst_element_set_bus.
10174         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10175         normal cases, this will destroy the bus.
10176
10177         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10178         object.
10179
10180         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10181         has no sinks.
10182
10183 2005-05-13  Andy Wingo  <wingo@pobox.com>
10184
10185         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10186         gst_pad_link, call pad_link_maybe_ghosting,
10187         (pad_link_maybe_ghosting): Links pads, making sure that the
10188         elements being linked are in the same bin.
10189         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10190         Helpers for pad_link_maybe_ghosting.
10191
10192 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10193
10194         * configure.ac:
10195           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10196
10197 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10198
10199         * docs/design/part-element-source.txt:
10200           Mention GstPushSrc
10201
10202 2005-05-12  Wim Taymans  <wim@fluendo.com>
10203
10204         * gst/base/gstbasesink.c: (gst_basesink_init),
10205         (gst_basesink_activate):
10206         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10207         (gst_basesrc_is_seekable):
10208         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10209         (bin_element_is_sink), (gst_bin_change_state):
10210         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10211         * gst/gstelement.h:
10212         Identify sinks by their flag to avoid overly complicated
10213         checks (fow now).
10214         Do state changes even for elements not reachable from the
10215         sinks.
10216         BaseSink is a sink now :)
10217         Some more debugging info in the basesrc.
10218
10219
10220 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10221
10222         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10223           Implement _query on a bin, similar to _send_event.
10224
10225 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10226
10227         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10228           Discont event offset format should be GST_FORMAT_BYTES,
10229           not GST_FORMAT_TIME.
10230
10231 2005-05-12  Wim Taymans  <wim@fluendo.com>
10232
10233         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10234         Same fix as Ronald's but without the signal. 
10235
10236 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10237
10238         * gst/gstutils.c: (gst_element_query_position):
10239           No, an element is not a pad.
10240
10241 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10242
10243         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10244         (gst_bin_get_state):
10245           If a child is removed from a bin while we remove the child from
10246           the bin and while we're retrieving its state, signal this to the
10247           get_state function so we abort the wait (instead of waiting for
10248           a timeout) and can immediately re-iterate over all other elements.
10249
10250 2005-05-12  Wim Taymans  <wim@fluendo.com>
10251
10252         * gst/base/Makefile.am:
10253         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10254         (gst_basesrc_start):
10255         * gst/base/gstbasesrc.h:
10256         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10257         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10258         (gst_pushsrc_init), (gst_pushsrc_create):
10259         * gst/base/gstpushsrc.h:
10260         Added is_seekable to BaseSrc
10261         Added simple PushSrc.
10262
10263 2005-05-11  Wim Taymans  <wim@fluendo.com>
10264
10265         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10266         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10267         (gst_element_link_pads), (gst_element_query_position),
10268         (gst_element_query_convert), (intersect_caps_func),
10269         (gst_pad_query_position), (gst_pad_query_convert):
10270         Fix refcounting in utils function.
10271         No point in trying to activate a pad when it's added, it could
10272         be added from the state change function and then we deadlock, the
10273         element has to decide what to do.
10274
10275 2005-05-10  Andy Wingo  <wingo@pobox.com>
10276
10277         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10278         *all* the arguments.
10279
10280         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10281         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10282         lock (according to the docs -- if this is wrong change the docs).
10283
10284         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10285         flush messages in the NULL state.
10286
10287         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10288         message immediately and return.
10289         (gst_bus_set_flushing): New function. If a bus is flushing, it
10290         flushes out any queued messages and immediately unrefs new
10291         messages. This is so when an element goes to NULL, all of the
10292         unhandled messages coming from it can be freed, and their
10293         references to the element dropped. In other words: message source
10294         ref considered harmful :P
10295
10296         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10297         we're finished with it.
10298
10299         * gst/gstmessage.c (gst_message_new_state_changed): 
10300
10301 2005-05-10  Wim Taymans  <wim@fluendo.com>
10302
10303         * gst/gstvalue.c: (gst_value_compare_flags),
10304         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10305         (_gst_value_initialize):
10306         Added flags serialize/deserialize/compare code.
10307
10308 2005-05-09  Andy Wingo  <wingo@pobox.com>
10309
10310         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10311         Intersect the peer's caps with our caps.
10312
10313 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10314
10315         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10316         * gst/elements/gsttypefindelement.c: (find_peek):
10317           Handle negative offsets better. Fixes decodebin.
10318
10319 2005-05-09  Wim Taymans  <wim@fluendo.com>
10320
10321         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10322         (gst_base_transform_event):
10323         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10324         Implement accept_caps.
10325         Fix silly lock/unlock mismatch in base class.
10326
10327 2005-05-09  Wim Taymans  <wim@fluendo.com>
10328
10329         * docs/design/draft-push-pull.txt:
10330         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10331         * gst/elements/gstfilesink.c: (gst_filesink_init),
10332         (gst_filesink_query):
10333         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10334         (gst_type_find_handle_src_query), (find_element_get_length):
10335         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10336         * gst/gstelement.h:
10337         * gst/gstmessage.c:
10338         * gst/gstmessage.h:
10339         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10340         (gst_real_pad_get_caps_unlocked),
10341         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10342         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10343         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10344         (gst_real_pad_dispose), (gst_real_pad_finalize),
10345         (gst_pad_load_and_link), (gst_pad_save_thyself),
10346         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10347         (gst_pad_check_pull_range), (gst_pad_pull_range),
10348         (gst_pad_template_get_type), (gst_pad_template_class_init),
10349         (gst_pad_template_init), (gst_pad_template_dispose),
10350         (name_is_valid), (gst_static_pad_template_get),
10351         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10352         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10353         (gst_pad_get_element_private), (gst_pad_start_task),
10354         (gst_pad_pause_task), (gst_pad_stop_task),
10355         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10356         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10357         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10358         (gst_ghost_pad_new):
10359         * gst/gstpad.h:
10360         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10361         (gst_query_new_position), (gst_query_set_position),
10362         (gst_query_parse_position), (gst_query_new_convert),
10363         (gst_query_set_convert), (gst_query_parse_convert):
10364         * gst/gstquery.h:
10365         * gst/gstqueryutils.c:
10366         * gst/gstqueryutils.h:
10367         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10368         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10369         (gst_queue_handle_src_query):
10370         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10371         (gst_element_query_position), (gst_element_query_convert),
10372         (intersect_caps_func), (gst_pad_query_position),
10373         (gst_pad_query_convert):
10374         * gst/gstutils.h:
10375         * tools/gst-inspect.c: (print_pad_info):
10376         * tools/gst-xmlinspect.c: (print_element_info):
10377         Remove old query functions. Ported old code.
10378         Added position/convert helper functions to gstutils.
10379         Reordered gstpad.c code, grouping relevant things.
10380         Remove gst_message_new(), always need to speficy a specific
10381         message.
10382
10383
10384 2005-05-09  Andy Wingo  <wingo@pobox.com>
10385
10386         * gst/gstiterator.h: Add some includes.
10387
10388         * gst/gstqueryutils.h: Include more headers.
10389
10390         * gst/gstpad.h:
10391         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10392         some uses of gst_pad_query.
10393
10394         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10395         NULL out parameters.
10396         (gst_query_new_position): New proc, allocates a new position
10397         query.
10398
10399         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10400         gstqueryutils.c to the build.
10401
10402         * gst/gststructure.c (gst_structure_set_valist): Implement with
10403         the generic G_VALUE_COLLECT.
10404         
10405 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10406
10407         * gst/Makefile.am: (gst_headers):
10408         Added gstqueryutils.h to the list of headers to install, that was
10409         a 'nachty' move wingo :)
10410
10411 2005-05-06  Andy Wingo  <wingo@pobox.com>
10412
10413         * gst/gstquery.h
10414         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10415         GstData, init a memchunk.
10416         (standard_definitions): Add a few query types, deprecate a few.
10417         (gst_query_get_type): New proc.
10418         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10419         implementation.
10420         (gst_query_new_application, gst_query_get_structure): New public
10421         procs.
10422
10423         * docs/design/draft-query.txt: Removed LINKS from the query types,
10424         because all the rest can be dispatched to other pads -- seemed
10425         ugly to have a query that couldn't be dispatched. internal_links
10426         is fine as a pad method.
10427
10428         * gst/gstpad.h: Add query2 as a pad method, add the new functions
10429         in gstpad.c, but maintain binary compatibility for the moment.
10430         Will fix before 0.9 is out.
10431
10432         * gst/gstqueryutils.c: 
10433         * gst/gstqueryutils.h: New files, implement 3 methods for each
10434         query type: parse_query, parse_response, and set. Probably need an
10435         allocator as well.
10436
10437         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10438
10439         * gst/elements/gstfilesink.c (gst_filesink_query2):
10440         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10441         query_types, and formats methods.
10442
10443         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10444         (gst_pad_set_query2_function): New functions.
10445         (gst_real_pad_init): Set query2_default as the default query2
10446         function. Basically just dispatches to internally linked pads.
10447
10448         Needs review!
10449         
10450         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10451         without using the atomic operations. Only one thread can possibly
10452         be accessing the data at this point. Changed so as to avoid
10453         gst_atomic operations.
10454
10455 2005-05-06  Wim Taymans  <wim@fluendo.com>
10456
10457         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10458         Also set caps if we use the fallback buffer alloc.
10459
10460 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
10461
10462         * docs/gst/Makefile.am:
10463         * docs/gst/gstreamer-docs.sgml:
10464         * docs/gst/gstreamer-sections.txt:
10465         * docs/gst/tmpl/gstatomic.sgml:
10466         * docs/gst/tmpl/gstmemchunk.sgml:
10467         * testsuite/elements/struct_i386.h:
10468         * win32/GStreamer.vcproj:
10469         * win32/Makefile:
10470           Purge GstAtomic stuff from docs and win32 makefiles as well
10471
10472 2005-05-06  Wim Taymans  <wim@fluendo.com>
10473
10474         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10475         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10476         * gst/gstpad.c: (gst_pad_peer_get_caps):
10477         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10478         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10479         (gst_queue_src_activate), (gst_queue_change_state):
10480         * gst/gstqueue.h:
10481         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10482         (intersect_caps_func):
10483         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10484         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10485         Some fixes for the peer_get_caps() change.
10486
10487 2005-05-06  Wim Taymans  <wim@fluendo.com>
10488
10489         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10490         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10491         (gst_basesink_activate):
10492         Actually do something with error codes returned from the push
10493         functions.
10494
10495 2005-05-06  Wim Taymans  <wim@fluendo.com>
10496
10497         * docs/design/part-element-sink.txt:
10498         * docs/design/part-element-source.txt:
10499         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10500         (gst_basesink_event), (gst_basesink_activate):
10501         * gst/base/gstbasesink.h:
10502         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10503         (gst_basesrc_activate):
10504         * gst/base/gstbasesrc.h:
10505         * gst/gstelement.c: (gst_element_pads_activate):
10506         Some more documentation.
10507         Fixed scheduling decision in _pads_activate().
10508
10509 2005-05-05  Andy Wingo  <wingo@pobox.com>
10510
10511         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10512         the test suite.
10513
10514 2005-05-05  Wim Taymans  <wim@fluendo.com>
10515
10516         * gst/base/Makefile.am:
10517         * gst/base/gstbasesink.h:
10518         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10519         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10520         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10521         (gst_collectpads_class_init), (gst_collectpads_init),
10522         (gst_collectpads_finalize), (gst_collectpads_new),
10523         (gst_collectpads_set_function), (gst_collectpads_add_pad),
10524         (find_pad), (gst_collectpads_remove_pad),
10525         (gst_collectpads_is_active), (gst_collectpads_collect),
10526         (gst_collectpads_collect_range), (gst_collectpads_start),
10527         (gst_collectpads_stop), (gst_collectpads_peek),
10528         (gst_collectpads_pop), (gst_collectpads_available),
10529         (gst_collectpads_read), (gst_collectpads_flush),
10530         (gst_collectpads_chain):
10531         * gst/base/gstcollectpads.h:
10532         * gst/elements/Makefile.am:
10533         * gst/elements/gstelements.c:
10534         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10535         (gst_fakesink_get_times), (gst_fakesink_event),
10536         (gst_fakesink_preroll), (gst_fakesink_render):
10537         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10538         (gst_filesink_init), (gst_filesink_set_location),
10539         (gst_filesink_open_file), (gst_filesink_close_file),
10540         (gst_filesink_pad_query), (gst_filesink_event),
10541         (gst_filesink_render), (gst_filesink_change_state):
10542         * gst/elements/gstfilesink.h:
10543         Added object to help in making collect pad based elements.
10544         Ported filesink.
10545         Make event function in sink baseclass return gboolean.
10546
10547 2005-05-05  Wim Taymans  <wim@fluendo.com>
10548
10549         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10550         (gst_bin_get_by_name):
10551         * gst/gstbuffer.h:
10552         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10553         (gst_clock_finalize):
10554         * gst/gstdata.c: (gst_data_replace):
10555         * gst/gstdata.h:
10556         * gst/gstelement.c: (gst_element_request_pad),
10557         (gst_element_pads_activate):
10558         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10559         (gst_object_unref):
10560         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10561         (gst_pad_set_checkgetrange_function),
10562         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10563         (gst_pad_check_pull_range), (gst_pad_pull_range),
10564         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10565         (gst_pad_pause_task), (gst_pad_stop_task):
10566         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10567         (gst_element_request_pad), (gst_pad_proxy_getcaps):
10568         Fix name lookup in GstBin.
10569         Added _data_replace() function and _buffer_replace()
10570         Use finalize method to clean up clock.
10571         Fix refcounting on request pads.
10572         Fix pad schedule mode error.
10573         Some more object refcounting debug info,
10574
10575
10576 2005-05-04  Andy Wingo <wingo@pobox.com>
10577
10578         * check/Makefile.am:
10579         * docs/gst/tmpl/gstatomic.sgml:
10580         * docs/gst/tmpl/gstplugin.sgml:
10581         * gst/base/gstbasesink.c: (gst_basesink_activate):
10582         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10583         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10584         (gst_basesrc_query), (gst_basesrc_set_property),
10585         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10586         (gst_basesrc_activate):
10587         * gst/base/gstbasesrc.h:
10588         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10589         (gst_base_transform_src_activate):
10590         * gst/elements/gstelements.c:
10591         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10592         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10593         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10594         * gst/elements/gsttypefindelement.c: (find_element_get_length),
10595         (gst_type_find_element_checkgetrange),
10596         (gst_type_find_element_activate):
10597         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10598         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10599         (gst_caps_load_thyself):
10600         * gst/gstelement.c: (gst_element_pads_activate),
10601         (gst_element_save_thyself), (gst_element_restore_thyself):
10602         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10603         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10604         * gst/gstpad.h:
10605         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10606         (gst_xml_parse_file), (gst_xml_parse_memory),
10607         (gst_xml_get_element), (gst_xml_make_element):
10608         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10609         (_file_index_id_save_xml), (gst_file_index_commit):
10610         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10611         (read_enum), (load_pad_template), (load_feature), (load_plugin),
10612         (load_paths):
10613         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10614         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10615         * tools/gst-complete.c: (main):
10616         * tools/gst-compprep.c: (main):
10617         * tools/gst-inspect.c: (print_element_properties_info):
10618         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10619         * tools/gst-xmlinspect.c: (print_element_properties):
10620         GCC 4 fixen.
10621         
10622 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10623
10624         * gst/gstplugin.c: (gst_plugin_check_module),
10625         (gst_plugin_check_file), (gst_plugin_load_file):
10626             apply patch from #172526 to make register work on MacOSX
10627
10628 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10629
10630         * docs/gst/tmpl/gstconfig.sgml:
10631         * gst/gstconfig.h.in:
10632           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
10633         * testsuite/debug/printf_extension.c: (main):
10634           Do not use GST_PTR_FORMAT on pointers to types with
10635           sizeof < sizeof(gpointer).  Fixes test on 64-bit
10636         * testsuite/elements/property.h:
10637           use correct printf format
10638
10639 2005-05-02  Wim Taymans  <wim@fluendo.com>
10640
10641         * docs/design/draft-push-pull.txt:
10642         * docs/design/draft-query.txt:
10643         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10644         (gst_basesrc_start):
10645         Added draft for new query API.
10646         Added draft for better selecting scheduling methods.
10647         Make basesrc ignore length if the subclass does not support
10648         it.
10649
10650 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10651
10652         * gst/Makefile.am:
10653           possible fixes for automake-1.5 - _LIBADD is reserved
10654
10655 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10656
10657         * docs/faq/Makefile.am:
10658         * docs/manual/Makefile.am:
10659         * docs/manuals.mak:
10660         * docs/pwg/Makefile.am:
10661         * gst/Makefile.am:
10662           possible fixes for automake-1.5
10663
10664 2005-04-28  Wim Taymans  <wim@fluendo.com>
10665
10666         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10667         (gst_basesink_pad_getcaps), (gst_basesink_init),
10668         (gst_basesink_do_sync):
10669         * gst/gstclock.c: (gst_clock_entry_new):
10670         * gst/gstevent.c: (gst_event_discont_get_value):
10671         * gst/gstpipeline.c: (pipeline_bus_handler),
10672         (gst_pipeline_change_state):
10673         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10674         Better debugging of clocking info.
10675         Allow NULL values when getting discont values.
10676
10677 2005-04-27  Wim Taymans  <wim@fluendo.com>
10678
10679         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10680         * check/gst/gstpad.c: (gst_pad_suite):
10681         Increase timeout for checks.
10682
10683 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10684
10685         * check/Makefile.am:
10686           fix the broken rule for cleanup.  Apparently this rule is
10687           only needed on FC2, so maybe this warrants further autotool
10688           inspection.
10689
10690 2005-04-26  Wim Taymans  <wim@fluendo.com>
10691
10692         * gst/gsttrashstack.h:
10693         Ooohh. a nasty one! After having a failed pop() from the stack,
10694         it's possible that the stack is empty. In that case, don't
10695         follow the NULL pointer.
10696
10697 2005-04-25  Wim Taymans  <wim@fluendo.com>
10698
10699         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10700         (gst_pad_set_checkgetrange_function),
10701         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10702         (gst_pad_check_pull_range), (gst_pad_pull_range),
10703         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10704         (gst_pad_pause_task), (gst_pad_stop_task):
10705         * gst/gstplugin.c: (gst_plugin_load):
10706         * gst/gstplugin.h:
10707         Remove gst_library_load as it does more harm than good with
10708         the new g_module flags.
10709         Revert bogus caps template check in pad linking, pad caps
10710         are important when linking not the template, which is more
10711         general than the current caps.
10712
10713 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10714
10715         * gst/autoplug/.cvsignore:
10716         * gst/autoplug/Makefile.am:
10717         * gst/autoplug/gstsearchfuncs.c:
10718         * gst/autoplug/gstsearchfuncs.h:
10719         * gst/autoplug/gstspider.c:
10720         * gst/autoplug/gstspider.h:
10721         * gst/autoplug/gstspideridentity.c:
10722         * gst/autoplug/gstspideridentity.h:
10723         * gst/autoplug/spidertest.c:
10724           Die, spider, die.
10725
10726 2005-04-25  Wim Taymans  <wim@fluendo.com>
10727
10728         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10729         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10730         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10731         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10732         * gst/gstpad.h:
10733         Added stubs for unimplemented functions. 
10734
10735 2005-04-24  David Schleef  <ds@schleef.org>
10736
10737         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
10738         please fix.
10739
10740 2005-04-24  David Schleef  <ds@schleef.org>
10741
10742         Convert everything from GstAtomicInt to g_atomic_int_*, and
10743         remove gstatomic.
10744         * gst/Makefile.am:
10745         * gst/gstatomic.c:
10746         * gst/gstatomic.h:
10747         * gst/gstatomic_impl.h:
10748         * gst/gstbuffer.c:
10749         * gst/gstcaps.c:
10750         * gst/gstcaps.h:
10751         * gst/gstclock.c:
10752         * gst/gstclock.h:
10753         * gst/gstdata.c:
10754         * gst/gstdata.h:
10755         * gst/gstdata_private.h:
10756         * gst/gstevent.c:
10757         * gst/gstinfo.c:
10758         * gst/gstinfo.h:
10759         * gst/gstmessage.c:
10760         * gst/gstobject.c:
10761         * gst/gstobject.h:
10762         * gst/gststructure.c:
10763         * gst/gststructure.h:
10764         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10765         * gst/gstutils.h:
10766
10767 2005-04-24  David Schleef  <ds@schleef.org>
10768
10769         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10770         make the regressions tests work.  Remove some code that is no
10771         longer true.
10772         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10773         Disable warning for pads without templates.
10774
10775 2005-04-24  David Schleef  <ds@schleef.org>
10776
10777         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
10778         functions that handle filtered links.
10779         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10780         removed functions.
10781         * gst/gstutils.c: Fix/remove utility functions that handle
10782         filtered caps.
10783         * gst/gstutils.h:
10784         * gst/gstvalue.c: Add serialization/deserialization of caps
10785         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
10786         requires fixing so that the filter caps notation creates
10787         a capsfilter element and sets the filter_caps property.  I
10788         think everyone probably wants to keep the shorthand notation.
10789         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10790         * docs/gst/tmpl/gstpad.sgml:
10791
10792         * gst/elements/gstelements.c: Register capsfilter element.
10793         * gst/Makefile.am: fix spacing
10794         * docs/random/ds/0.9-suggested-changes: random
10795
10796 2005-04-23  David Schleef  <ds@schleef.org>
10797
10798         * gst/elements/Makefile.am:
10799         * gst/elements/gstcapsfilter.c: New element that acts like an
10800         identity, but filters caps.  Will eventually replace filtered
10801         caps in pad linking.
10802         * gst/gstutils.c: (gst_element_create_all_pads): New function
10803         to create all the ALWAYS pads that are registered with an
10804         element class.  This functionality should eventually be
10805         merged in with GstElement initialization.
10806         * gst/gstutils.h:
10807         * testsuite/trigger/README: part of trigger test code that should
10808         have been checked in a long time ago.
10809
10810 2005-04-23  David Schleef  <ds@schleef.org>
10811
10812         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
10813         needed with new versions of libtool (nobody will confirm this),
10814         and hard to carry around.
10815         * gst/autoplug/Makefile.am:
10816         * gst/base/Makefile.am:
10817         * gst/elements/Makefile.am:
10818         * gst/indexers/Makefile.am:
10819         * gst/schedulers/Makefile.am:
10820         * libs/gst/bytestream/Makefile.am:
10821         * libs/gst/control/Makefile.am:
10822         * libs/gst/dataprotocol/Makefile.am:
10823         * libs/gst/getbits/Makefile.am:
10824
10825 2005-04-21  Wim Taymans  <wim@fluendo.com>
10826
10827         * docs/design/draft-push-pull.txt:
10828         * docs/design/part-MT-refcounting.txt:
10829         * docs/design/part-TODO.txt:
10830         * docs/design/part-caps.txt:
10831         * docs/design/part-events.txt:
10832         * docs/design/part-gstbus.txt:
10833         * docs/design/part-gstpipeline.txt:
10834         * docs/design/part-messages.txt:
10835         * docs/design/part-push-pull.txt:
10836         * docs/design/part-query.txt:
10837         Some more docs.
10838
10839 2005-04-21  Wim Taymans  <wim@fluendo.com>
10840
10841         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
10842         (gst_message_new), (gst_message_new_error),
10843         (gst_message_new_warning), (gst_message_new_tag),
10844         (gst_message_new_state_changed), (gst_message_new_application),
10845         (gst_message_get_structure):
10846         * gst/gstmessage.h:
10847         * gst/gststructure.c: (gst_structure_set_parent_refcount),
10848         (gst_structure_copy_conditional):
10849         Use parent refcount in GstMessage to ensure GstStructure
10850         consistency.
10851         Cleaned up headers a bit.
10852         
10853
10854 2005-04-20  Wim Taymans  <wim@fluendo.com>
10855
10856         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10857         (gst_basesink_pad_getcaps), (gst_basesink_init),
10858         (gst_basesink_chain_unlocked):
10859         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
10860         (gst_type_find_helper):
10861         * gst/elements/gsttypefindelement.c:
10862         (gst_type_find_element_have_type), (gst_type_find_element_init),
10863         (stop_typefinding), (gst_type_find_element_handle_event),
10864         (find_suggest), (gst_type_find_element_chain),
10865         (gst_type_find_element_checkgetrange),
10866         (gst_type_find_element_getrange), (do_typefind),
10867         (gst_type_find_element_activate):
10868         * gst/gstbuffer.c: (_gst_buffer_sub_free),
10869         (gst_buffer_default_free), (gst_buffer_default_copy),
10870         (gst_buffer_set_caps):
10871         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
10872         (gst_caps_replace):
10873         * gst/gstmessage.c: (gst_message_new),
10874         (gst_message_new_state_changed):
10875         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10876         (gst_pad_set_checkgetrange_function),
10877         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
10878         (gst_pad_set_caps), (gst_pad_check_pull_range),
10879         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
10880         * gst/gstpad.h:
10881         * gst/gsttypefind.c: (gst_type_find_register):
10882         Make gst_caps_replace() work like other _replace() functions.
10883         Use _caps_replace() where possible.
10884         Make sure _message_new() initialises its field.
10885         Add gst_static_pad_template_get_caps()
10886
10887
10888 2005-04-18  Andy Wingo  <wingo@pobox.com>
10889
10890         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
10891         on the peer, not the pad. I think that was a typo. Pass an extra
10892         arg to see if random access is possible. Activate the pads as
10893         PULL_RANGE if possible.
10894
10895         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
10896
10897         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
10898         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
10899         to PROP_....
10900
10901 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10902
10903         * docs/faq/using.xml:
10904           Add note on gstreamer-properties (#154996).
10905
10906 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10907
10908         * docs/random/bbb/optional-properties:
10909           Some analysis on optional properties.
10910
10911 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10912
10913         * docs/gst/tmpl/gstelementfactory.sgml:
10914         * gst/gstelement.h:
10915         * gst/gstelementfactory.c: (gst_element_factory_init),
10916         (gst_element_factory_cleanup), (gst_element_register),
10917         (__gst_element_factory_add_static_pad_template),
10918         (gst_element_factory_get_static_pad_templates),
10919         (gst_element_factory_can_src_caps),
10920         (gst_element_factory_can_sink_caps):
10921         * gst/registries/Makefile.am:
10922         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
10923         (gst_xml_registry_class_init), (gst_xml_registry_init),
10924         (gst_xml_registry_new), (gst_xml_registry_set_property),
10925         (gst_xml_registry_get_property), (get_time), (make_dir),
10926         (gst_xml_registry_get_perms_func),
10927         (plugin_times_older_than_recurse), (plugin_times_older_than),
10928         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
10929         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
10930         (add_to_char_array), (read_string), (read_uint), (read_enum),
10931         (load_pad_template), (load_feature), (load_plugin), (load_paths),
10932         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
10933         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
10934         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
10935         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
10936         (gst_xml_registry_rebuild):
10937         * gst/registries/gstlibxmlregistry.h:
10938         * tools/gst-compprep.c: (main):
10939         * tools/gst-inspect.c: (print_pad_templates_info):
10940         * tools/gst-xmlinspect.c: (print_element_info):
10941           Use libxml2 for registry parsing, use staticpadtemplates in
10942           elementfactories. Makes gst_init() +/- 10x faster.
10943
10944 2005-04-12  Wim Taymans  <wim@fluendo.com>
10945
10946         * gst/base/Makefile.am:
10947         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10948         (gst_basesink_pad_getcaps), (gst_basesink_init),
10949         (gst_basesink_event), (gst_basesink_change_state):
10950         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10951         (gst_basesrc_init), (gst_basesrc_query),
10952         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10953         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10954         (gst_basesrc_check_get_range), (gst_basesrc_loop),
10955         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10956         (gst_basesrc_stop), (gst_basesrc_activate),
10957         (gst_basesrc_change_state):
10958         * gst/base/gsttypefindhelper.c: (helper_find_peek),
10959         (helper_find_suggest), (gst_type_find_helper):
10960         * gst/base/gsttypefindhelper.h:
10961         * gst/elements/Makefile.am:
10962         * gst/elements/gstelements.c:
10963         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10964         (gst_fakesink_get_times), (gst_fakesink_event),
10965         (gst_fakesink_preroll), (gst_fakesink_render):
10966         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10967         (gst_fakesrc_init), (gst_fakesrc_event_handler),
10968         (gst_fakesrc_get_property), (gst_fakesrc_create),
10969         (gst_fakesrc_start), (gst_fakesrc_stop):
10970         * gst/elements/gstfakesrc.h:
10971         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
10972         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10973         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10974         (gst_filesrc_create_read), (gst_filesrc_create),
10975         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
10976         (gst_filesrc_start):
10977         * gst/elements/gsttypefindelement.c:
10978         (gst_type_find_element_have_type), (gst_type_find_element_init),
10979         (start_typefinding), (stop_typefinding), (push_buffer_store),
10980         (gst_type_find_element_handle_event),
10981         (gst_type_find_element_chain),
10982         (gst_type_find_element_checkgetrange),
10983         (gst_type_find_element_getrange), (do_typefind),
10984         (gst_type_find_element_activate),
10985         (gst_type_find_element_change_state):
10986         * gst/elements/gsttypefindelement.h:
10987         * gst/gstpipeline.c: (pipeline_bus_handler):
10988         Added typefind helper.
10989         Small preroll fix in the base sink.
10990         Disable typefind code in basesrc.
10991         Crude port of typefindelement.
10992         Fakesrc cleanups.
10993
10994
10995 2005-04-11  Wim Taymans  <wim@fluendo.com>
10996
10997         * check/gst/gstbus.c: (gstbus_suite):
10998         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
10999         * check/gstcheck.h:
11000           Fix up the timeout so that the test does not fail.
11001
11002 2005-04-06  Wim Taymans  <wim@fluendo.com>
11003
11004         * gst/base/README:
11005         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11006         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11007         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11008         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11009         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11010         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11011         (gst_basesrc_stop), (gst_basesrc_activate),
11012         (gst_basesrc_change_state), (basesrc_find_peek),
11013         (basesrc_find_suggest), (gst_basesrc_type_find):
11014         * gst/base/gstbasesrc.h:
11015         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11016         (gst_filesrc_class_init), (gst_filesrc_init),
11017         (gst_filesrc_finalize), (gst_filesrc_set_location),
11018         (gst_filesrc_set_property), (gst_filesrc_get_property),
11019         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11020         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11021         (gst_filesrc_create_read), (gst_filesrc_create),
11022         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11023         * gst/elements/gstfilesrc.h:
11024         * gst/gstelement.c: (gst_element_get_state_func),
11025         (gst_element_lost_state), (gst_element_pads_activate):
11026         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11027         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11028         (gst_pad_pull_range):
11029         * gst/gstpad.h:
11030         More work on the generic source base class, implement seeking,
11031         query.
11032         Make filesrc extend the base source class.
11033         Added gst_pad_set_checkgetrange_function to GstPad.
11034
11035 2005-04-06  Andy Wingo  <wingo@pobox.com>
11036
11037         * pkgconfig/gstreamer-base.pc.in:
11038         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11039
11040         * pkgconfig/Makefile.am:
11041         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11042
11043 2005-04-04  Wim Taymans  <wim@fluendo.com>
11044
11045         * gst/base/Makefile.am:
11046         * gst/base/README:
11047         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11048         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11049         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11050         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11051         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11052         (gst_basesrc_base_init), (gst_basesrc_class_init),
11053         (gst_basesrc_init), (gst_basesrc_get_formats),
11054         (gst_basesrc_get_query_types), (gst_basesrc_query),
11055         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11056         (gst_basesrc_set_property), (gst_basesrc_get_property),
11057         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11058         (gst_basesrc_loop), (gst_basesrc_activate),
11059         (gst_basesrc_change_state):
11060         * gst/base/gstbasesrc.h:
11061         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11062         (gst_fakesrc_class_init), (gst_fakesrc_init),
11063         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11064         (gst_fakesrc_get_property), (gst_fakesrc_create):
11065         * gst/elements/gstfakesrc.h:
11066         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11067         (gst_filesrc_open_file), (gst_filesrc_loop),
11068         (gst_filesrc_activate), (filesrc_find_peek),
11069         (gst_filesrc_type_find):
11070         Made base source class, make fakesrc extend it.
11071         Add comments to basesink class.
11072         Some filesrc cleanup.
11073
11074 2005-03-31  David Schleef  <ds@schleef.org>
11075
11076         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11077         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11078         expected to link against libgstreamer.
11079         * gst/base/Makefile.am: link against libgstreamer
11080         * gst/elements/Makefile.am: same
11081
11082 2005-03-31  Andy Wingo  <wingo@pobox.com>
11083
11084         * tests/instantiate/Makefile.am:
11085         * tests/instantiate/caps.c: Add test to test speed of caps copy
11086         and free.
11087
11088         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11089         GMemChunk to be fair.
11090
11091         * gst/gsttrashstack.h: Remove warning about using the fallback
11092         trash stack implementation, it's still faster than malloc.
11093
11094 2005-03-30  Andy Wingo  <wingo@pobox.com>
11095
11096         * tests/complexity.c: Add a copyright.
11097
11098 2005-03-31  Wim Taymans  <wim@fluendo.com>
11099
11100         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11101         (gst_base_transform_class_init), (gst_base_transform_init),
11102         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11103         (gst_base_transform_get_property),
11104         (gst_base_transform_sink_activate),
11105         (gst_base_transform_src_activate),
11106         (gst_base_transform_change_state):
11107         * gst/base/gstbasetransform.h:
11108         * gst/elements/gstidentity.c: (gst_identity_class_init),
11109         (gst_identity_event), (gst_identity_check_perfect),
11110         (gst_identity_transform), (gst_identity_start),
11111         (gst_identity_stop):
11112         Added start/stop methods to transform base class so subclasses 
11113         don't need to deal with state changes even.
11114
11115 2005-03-31  Wim Taymans  <wim@fluendo.com>
11116
11117         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11118         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11119         * gst/gstevent.h:
11120         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11121         (gst_pad_pull_range):
11122         Added rate to the discont event to prepare for variable speed
11123         and reverse playback.
11124
11125 2005-03-29  David Schleef  <ds@schleef.org>
11126
11127         * configure.ac:
11128         * testsuite/trigger/Makefile.am:
11129         * testsuite/trigger/trigger.c: A little example program to show
11130         how trigger-based elements can work.
11131
11132 2005-03-29  Wim Taymans  <wim@fluendo.com>
11133
11134         * gst/base/Makefile.am:
11135         * gst/base/README:
11136         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11137         (gst_basesink_base_init), (gst_basesink_class_init),
11138         (gst_basesink_pad_getcaps), (gst_basesink_init),
11139         (gst_basesink_activate), (gst_basesink_change_state):
11140         * gst/base/gstbasesink.h:
11141         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11142         (gst_base_transform_base_init), (gst_base_transform_finalize),
11143         (gst_base_transform_class_init), (gst_base_transform_init),
11144         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11145         (gst_base_transform_event), (gst_base_transform_getrange),
11146         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11147         (gst_base_transform_set_property),
11148         (gst_base_transform_get_property),
11149         (gst_base_transform_sink_activate),
11150         (gst_base_transform_src_activate),
11151         (gst_base_transform_change_state):
11152         * gst/base/gstbasetransform.h:
11153         * gst/elements/gstidentity.c: (gst_identity_finalize),
11154         (gst_identity_class_init), (gst_identity_init),
11155         (gst_identity_event), (gst_identity_check_perfect),
11156         (gst_identity_transform), (gst_identity_set_property),
11157         (gst_identity_get_property), (gst_identity_change_state):
11158         * gst/elements/gstidentity.h:
11159         * gst/gstelement.c: (gst_element_get_state_func),
11160         (gst_element_lost_state), (gst_element_pads_activate):
11161         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11162         (gst_pad_check_pull_range), (gst_pad_pull_range):
11163         * gst/gstpad.h:
11164         Simplify pad activation.
11165         Added function to check if pull_range can be performed.
11166         Error out when pulling inactive or flushing pads.
11167         Removed const from refcounted types as it does not make sense.
11168         Simplify pad templates in basesink
11169         Added base class for simple 1-to-1 transforms.
11170         Make identity subclass the base transform.
11171
11172 2005-03-29  Andy Wingo  <wingo@pobox.com>
11173
11174         * docs/libs/gstreamer-libs-overrides.txt: 
11175         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11176         really don't understand what's going on, but like whatever. I want
11177         green buildbot!
11178
11179         * docs/gst/Makefile.am:
11180         * docs/libs/Makefile.am: Dist the overrides files.
11181
11182         * check/Makefile.am (clean-local): Remove .libs directories.
11183
11184         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11185         elements to EXTRA_DIST, so po/ files are happy.
11186
11187         * po/POTFILES.in: Er, remove it here.
11188
11189         * po/POTFILES: Remove gstspider.c.
11190
11191         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11192
11193         * docs/libs/gstreamer-libs-docs.sgml: 
11194         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11195         bytestream.
11196
11197         * tests/complexity.c (main): Set the length of the preroll queue
11198         on the sinks to prevent a lockup.
11199
11200         * libs/gst/dataprotocol/Makefile.am: 
11201         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11202         the same as the one in check/gst-libs/gdp.c.
11203
11204         * po/, docs/gst/: Commit automatic changes to docs and po files.
11205
11206         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11207         the versioned libgstbase.
11208
11209         * check/Makefile.am: Depend on an unversioned gst-register, seems
11210         to make autoconf happier.
11211
11212         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11213
11214 2005-03-28  Wim Taymans  <wim@fluendo.com>
11215
11216         * configure.ac:
11217         * docs/design/part-gstelement.txt:
11218         * docs/design/part-negotiation.txt:
11219         * docs/design/part-preroll.txt:
11220         * docs/design/part-scheduling.txt:
11221         * docs/design/part-states.txt:
11222         * gst/Makefile.am:
11223         * gst/base/Makefile.am:
11224         * gst/base/README:
11225         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11226         (gst_basesink_base_init), (gst_basesink_class_init),
11227         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11228         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11229         (gst_basesink_set_pad_functions),
11230         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11231         (gst_basesink_set_property), (gst_basesink_get_property),
11232         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11233         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11234         (gst_basesink_preroll_queue_push),
11235         (gst_basesink_preroll_queue_empty),
11236         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11237         (gst_basesink_event), (gst_basesink_get_times),
11238         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11239         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11240         (gst_basesink_loop), (gst_basesink_activate),
11241         (gst_basesink_change_state):
11242         * gst/base/gstbasesink.h:
11243         * gst/elements/Makefile.am:
11244         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11245         (gst_fakesink_class_init), (gst_fakesink_init),
11246         (gst_fakesink_set_property), (gst_fakesink_get_property),
11247         (gst_fakesink_get_times), (gst_fakesink_event),
11248         (gst_fakesink_preroll), (gst_fakesink_render),
11249         (gst_fakesink_change_state):
11250         * gst/elements/gstfakesink.h:
11251         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11252         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11253         * gst/gstelement.c: (gst_element_add_pad),
11254         (gst_element_get_state_func), (gst_element_abort_state),
11255         (gst_element_commit_state), (gst_element_lost_state),
11256         (gst_element_set_state), (gst_element_pads_activate):
11257         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11258         * gst/gstpipeline.c: (gst_pipeline_send_event),
11259         (gst_pipeline_change_state):
11260         Added state change code.
11261         Added/updated docs.
11262         Added sink base class, make fakesink extend the base class.
11263         Small cleanups in GstPipeline.
11264
11265 2005-03-26  David Schleef  <ds@schleef.org>
11266
11267         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11268         is broken and should be implemented in a different library.
11269         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11270         * gst/gst.h: remove gstcpu.h
11271         * gst/gstcpu.c: remove
11272         * gst/gstcpu.h: remove
11273         * gst/Makefile.am.future: Remove this file.  It's ancient.
11274
11275 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11276
11277         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11278         (gst_bin_send_event):
11279           Add default event/set_manager handlers. The set_manager handler
11280           takes care that the manager is distributed over kids that were
11281           already in the bin before the manager was set. The event handler
11282           is a utility virtual function that sends the event over all sinks,
11283           so that gst_element_send_event (bin, event); has the expected
11284           behaviour.
11285         * gst/gstpad.c: (gst_pad_event_default):
11286           Re-install default event handling for discontinuities, so that
11287           seeking works without requiring hacks in applications or extra
11288           code in sinks.
11289         * gst/gstpipeline.c: (gst_pipeline_class_init),
11290         (gst_pipeline_send_event):
11291           Half hack, half utility: set a pipeline to PAUSED for seek events,
11292           since that is the only way we can guarantee a/v sync. Means that
11293           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11294           and it "just works".
11295
11296 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11297
11298         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11299           Lock/unlock mismatch.
11300
11301 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11302
11303         * docs/faq/gst-uninstalled:
11304           add gst-plugins-base
11305         * docs/gst/Makefile.am:
11306           don't error out until docs are fixed
11307         * docs/gst/gstreamer.types:
11308           remove thread
11309
11310 2005-03-22  Wim Taymans  <wim@fluendo.com>
11311
11312         * check/Makefile.am:
11313         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11314         * gst/gststructure.c: (gst_structure_set_valist),
11315         (gst_structure_copy_conditional):
11316         Activated more tests.
11317         Added message test.
11318         Added G_TYPE_POINTER to GstStructure.
11319         
11320
11321 2005-03-22  Wim Taymans  <wim@fluendo.com>
11322
11323         * docs/design/part-TODO.txt:
11324         * docs/design/part-events.txt:
11325         * docs/design/part-gstbin.txt:
11326         * docs/design/part-gstbus.txt:
11327         * docs/design/part-gstpipeline.txt:
11328         * docs/design/part-messages.txt:
11329         * gst/gstbus.c:
11330         * gst/gstmessage.c:
11331         Docs updates
11332
11333 2005-03-21  Wim Taymans  <wim@fluendo.com>
11334
11335         * gst/gstbus.c: (gst_bus_post):
11336         Fix copy-and-paste error.
11337
11338 2005-03-21  Wim Taymans  <wim@fluendo.com>
11339
11340         * check/Makefile.am:
11341         * gst/Makefile.am:
11342         * gst/elements/Makefile.am:
11343         * gst/elements/gstelements.c:
11344         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11345         (gst_fakesink_event), (gst_fakesink_chain):
11346         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11347         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11348         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11349         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11350         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11351         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11352         (gst_fakesrc_loop), (gst_fakesrc_activate),
11353         (gst_fakesrc_change_state):
11354         * gst/elements/gstfakesrc.h:
11355         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11356         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11357         (gst_filesrc_open_file), (gst_filesrc_loop),
11358         (gst_filesrc_activate), (gst_filesrc_change_state),
11359         (filesrc_find_peek), (filesrc_find_suggest),
11360         (gst_filesrc_type_find):
11361         * gst/elements/gstidentity.c: (gst_identity_finalize),
11362         (gst_identity_class_init), (gst_identity_init),
11363         (gst_identity_proxy_getcaps), (identity_queue_push),
11364         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11365         (gst_identity_getrange), (gst_identity_chain),
11366         (gst_identity_sink_loop), (gst_identity_src_loop),
11367         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11368         (gst_identity_set_property), (gst_identity_get_property),
11369         (gst_identity_change_state):
11370         * gst/elements/gstidentity.h:
11371         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11372         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11373         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11374         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11375         (gst_tee_sink_activate):
11376         * gst/elements/gsttee.h:
11377         * gst/gst.c: (gst_register_core_elements), (init_post):
11378         * gst/gst.h:
11379         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11380         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11381         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11382         (gst_bin_change_state):
11383         * gst/gstbin.h:
11384         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11385         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11386         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11387         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11388         (gst_bus_set_sync_handler), (gst_bus_create_watch),
11389         (bus_watch_callback), (bus_watch_destroy),
11390         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11391         (poll_timeout), (gst_bus_poll):
11392         * gst/gstbus.h:
11393         * gst/gstcaps.h:
11394         * gst/gstdata.h:
11395         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11396         (gst_element_post_message), (gst_element_message_full),
11397         (gst_element_get_state_func), (gst_element_get_state),
11398         (gst_element_abort_state), (gst_element_commit_state),
11399         (gst_element_lost_state), (gst_element_set_state),
11400         (gst_element_pads_activate), (gst_element_change_state),
11401         (gst_element_dispose), (gst_element_set_manager_func),
11402         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11403         (gst_element_set_manager), (gst_element_get_manager),
11404         (gst_element_set_bus), (gst_element_get_bus),
11405         (gst_element_set_scheduler), (gst_element_get_scheduler):
11406         * gst/gstelement.h:
11407         * gst/gstevent.c: (gst_event_new_segment_seek),
11408         (gst_event_new_flush):
11409         * gst/gstevent.h:
11410         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11411         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11412         (gst_message_new_eos), (gst_message_new_error),
11413         (gst_message_new_warning), (gst_message_new_tag),
11414         (gst_message_new_state_changed), (gst_message_new_application),
11415         (gst_message_get_structure), (gst_message_parse_tag),
11416         (gst_message_parse_state_changed), (gst_message_parse_error),
11417         (gst_message_parse_warning):
11418         * gst/gstmessage.h:
11419         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11420         (gst_real_pad_set_property), (gst_pad_set_active),
11421         (gst_pad_is_active), (gst_pad_set_blocked_async),
11422         (gst_pad_set_blocked), (gst_pad_is_blocked),
11423         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11424         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11425         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11426         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11427         (gst_pad_link_filtered), (gst_pad_relink_filtered),
11428         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11429         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11430         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11431         (gst_pad_set_caps), (gst_pad_configure_sink),
11432         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11433         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11434         (gst_real_pad_dispose), (gst_real_pad_finalize),
11435         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11436         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11437         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11438         * gst/gstpad.h:
11439         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11440         (pipeline_bus_handler), (gst_pipeline_change_state),
11441         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11442         * gst/gstpipeline.h:
11443         * gst/gstprobe.h:
11444         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11445         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11446         (gst_queue_link_src), (gst_queue_bufferalloc),
11447         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11448         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11449         (gst_queue_loop), (gst_queue_handle_src_event),
11450         (gst_queue_handle_src_query), (gst_queue_src_activate),
11451         (gst_queue_change_state):
11452         * gst/gstqueue.h:
11453         * gst/gstscheduler.c: (gst_scheduler_init),
11454         (gst_scheduler_dispose), (gst_scheduler_create_task),
11455         (gst_scheduler_factory_create):
11456         * gst/gstscheduler.h:
11457         * gst/gststructure.c: (gst_structure_get_type),
11458         (gst_structure_copy_conditional):
11459         * gst/gststructure.h:
11460         * gst/gsttaginterface.h:
11461         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11462         (gst_task_init), (gst_task_dispose), (gst_task_create),
11463         (gst_task_get_state), (gst_task_start), (gst_task_stop),
11464         (gst_task_pause):
11465         * gst/gsttask.h:
11466         * gst/gstthread.c:
11467         * gst/gstthread.h:
11468         * gst/gsttypes.h:
11469         * gst/schedulers/Makefile.am:
11470         * gst/schedulers/cothreads_compat.h:
11471         * gst/schedulers/entryscheduler.c:
11472         * gst/schedulers/faircothreads.c:
11473         * gst/schedulers/faircothreads.h:
11474         * gst/schedulers/fairscheduler.c:
11475         * gst/schedulers/gstbasicscheduler.c:
11476         * gst/schedulers/gstoptimalscheduler.c:
11477         * gst/schedulers/gthread-cothreads.h:
11478         * gst/schedulers/threadscheduler.c:
11479         (gst_thread_scheduler_task_get_type),
11480         (gst_thread_scheduler_task_class_init),
11481         (gst_thread_scheduler_task_init),
11482         (gst_thread_scheduler_task_start),
11483         (gst_thread_scheduler_task_stop),
11484         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11485         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11486         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11487         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11488         (plugin_init):
11489         * libs/gst/Makefile.am:
11490         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11491         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11492         (gst_file_pad_parent_set):
11493         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11494         (gst_dp_event_from_packet):
11495         * tests/complexity.c: (main):
11496         * tests/mass_elements.c: (main):
11497         * testsuite/states/locked.c: (message_received), (main):
11498         * testsuite/states/parent.c: (main):
11499         * tools/gst-inspect.c: (print_element_flag_info),
11500         (print_implementation_info), (print_pad_info):
11501         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11502         (main):
11503         * tools/gst-md5sum.c: (event_loop), (main):
11504         * tools/gst-typefind.c: (main):
11505         * tools/gst-xmlinspect.c: (print_element_info):
11506         Next big merge.
11507         Added GstBus for mainloop integration.
11508         Added GstMessage for sending notifications on the bus.
11509         Added GstTask as an abstraction for pipeline entry points.
11510         Removed GstThread.
11511         Removed Schedulers.
11512         Simplified GstQueue for multithreaded core.
11513         Made _link threadsafe, removed old capsnego.
11514         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11515         Added pad blocking functions.
11516         Reworked scheduling functions in GstPad to prepare for
11517         scheduling updates soon.
11518         Moved events out of data stream.
11519         Simplified GstEvent types.
11520         Added return values to push/pull.
11521         Removed clocking from GstElement.
11522         Added prototypes for state change function for next merge.
11523         Removed iterate from bins and state change management.
11524         Fixed some elements, disabled others for now.
11525         Fixed -inspect and -launch.
11526         Added check for GstBus.
11527
11528 2005-03-10  Wim Taymans  <wim@fluendo.com>
11529
11530         * docs/design/part-MT-refcounting.txt:
11531         * docs/design/part-clocks.txt:
11532         * docs/design/part-gstelement.txt:
11533         * docs/design/part-gstobject.txt:
11534         * docs/design/part-standards.txt:
11535         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11536         (gst_bin_remove_func), (gst_bin_remove):
11537         * gst/gstbin.h:
11538         * gst/gstbuffer.c:
11539         * gst/gstcaps.h:
11540         * testsuite/clock/clock1.c: (main):
11541         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11542         (main):
11543         * testsuite/dlopen/loadgst.c: (do_test):
11544         * testsuite/refcounting/bin.c: (add_remove_test1),
11545         (add_remove_test2), (main):
11546         * testsuite/refcounting/element.c: (main):
11547         * testsuite/refcounting/element_pad.c: (main):
11548         * testsuite/refcounting/pad.c: (main):
11549         * tools/gst-launch.c: (sigint_handler_sighandler):
11550         * tools/gst-typefind.c: (main):
11551         Doc updates.
11552         Added doc about clock.
11553         removed gst_bin_iterate_recurse_up(), marked methods
11554         for removal.
11555         Fix more testsuites.
11556
11557 2005-03-09  Wim Taymans  <wim@fluendo.com>
11558
11559         * gst/gstpad.c: (gst_pad_get_direction),
11560         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11561         (gst_pad_collect_valist):
11562         * testsuite/bins/interface.c: (main):
11563         * testsuite/caps/audioscale.c: (test_caps):
11564         * testsuite/caps/caps.c: (test1), (test2), (test3):
11565         * testsuite/caps/deserialize.c: (main):
11566         * testsuite/caps/enumcaps.c: (main):
11567         * testsuite/caps/filtercaps.c: (main):
11568         * testsuite/caps/intersect2.c: (main):
11569         * testsuite/caps/random.c: (main):
11570         * testsuite/caps/renegotiate.c: (my_fixate), (main):
11571         * testsuite/caps/sets.c: (check_caps):
11572         * testsuite/caps/simplify.c: (check_caps), (main):
11573         * testsuite/caps/subtract.c: (check_caps):
11574         Fix _pad_get_direction wrt ghostpads.
11575         Fix caps testsuite.
11576
11577 2005-03-09  Wim Taymans  <wim@fluendo.com>
11578
11579         * check/Makefile.am:
11580         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11581         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11582         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11583         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11584         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11585         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11586         (gst_bin_remove), (gst_bin_iterate_recurse_up),
11587         (bin_element_is_sink), (gst_bin_iterate_sinks),
11588         (gst_bin_iterate_all_by_interface):
11589         * gst/gstbin.h:
11590         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11591         (gst_element_change_state), (gst_element_dispose),
11592         (gst_element_finalize), (gst_element_set_loop_function):
11593         * gst/gstelement.h:
11594         * gst/gstiterator.c: (find_custom_fold_func):
11595         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11596         (gst_pad_collectv), (gst_pad_collect_valist),
11597         (gst_pad_template_new):
11598         * gst/gstpipeline.c: (gst_pipeline_class_init),
11599         (gst_pipeline_dispose), (gst_pipeline_set_property),
11600         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11601         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11602         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11603         * gst/gstutils.h:
11604         * gst/schedulers/entryscheduler.c:
11605         * gst/schedulers/gstbasicscheduler.c:
11606         (gst_basic_scheduler_cothreaded_chain),
11607         (gst_basic_scheduler_chain_add_element):
11608         * testsuite/bins/interface.c: (main):
11609         Added GstBin test.
11610         Added GstSystemClock test.
11611         Implemented clock distribution code in GstBin.
11612         Implemented iterate sinks method for future use.
11613         Rearranged gstelement.h
11614         Fix GstIterator comparison bug.
11615         Moved some code to GstPipeline, mostly clocking related.
11616
11617 2005-03-09  Wim Taymans  <wim@fluendo.com>
11618
11619         * configure.ac:
11620         * gst/gst_private.h:
11621         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11622         (gst_bin_remove_func), (gst_bin_remove),
11623         (gst_bin_get_by_name_recurse_up):
11624         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11625         (gst_clock_id_compare_func), (gst_clock_id_wait),
11626         (gst_clock_id_wait_async), (gst_clock_init),
11627         (gst_clock_adjust_unlocked), (gst_clock_get_time):
11628         * gst/gstelement.h:
11629         * gst/gstinfo.c: (_gst_debug_init):
11630         * gst/gstobject.h:
11631         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11632         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11633         * gst/gstpad.h:
11634         Bump version number, we're now 0.9.0
11635         Add future debugging category.
11636         Fix NULL _unref() in _get_by_name_recurse_up
11637         Rearrange gstpad.h.
11638         Update some docs.
11639
11640 2005-03-08  Wim Taymans  <wim@fluendo.com>
11641
11642         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11643         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11644         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11645         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11646         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11647         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11648         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11649         * gst/elements/gstidentity.c: (gst_identity_class_init):
11650         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11651         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11652         * gst/elements/gstshaper.c: (gst_shaper_class_init):
11653         * gst/elements/gststatistics.c: (gst_statistics_class_init):
11654         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11655         (gst_tee_link):
11656         * gst/gstelement.c: (gst_element_class_init),
11657         (gst_element_base_class_init), (gst_element_init),
11658         (gst_element_get_random_pad), (gst_element_wait_state_change),
11659         (gst_element_change_state), (gst_element_dispose),
11660         (gst_element_finalize), (gst_element_set_loop_function):
11661         * gst/gstelement.h:
11662         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11663         * gst/gstthread.c: (gst_thread_class_init),
11664         (gst_thread_release_children_locks), (gst_thread_change_state):
11665         * gst/schedulers/gstbasicscheduler.c:
11666         (gst_basic_scheduler_loopfunc_wrapper),
11667         (gst_basic_scheduler_chain_wrapper),
11668         (gst_basic_scheduler_src_wrapper),
11669         (gst_basic_scheduler_remove_element):
11670         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11671         Remove threadsafe properties. Fix elements because GObject
11672         complains when installing a property before declaring a
11673         set/get_property handler.
11674         Rearrange gstelement.h file, use STATE macros for state locks.
11675         Free mutexes in the finalize method instead of dispose.
11676
11677 2005-03-08  Wim Taymans  <wim@fluendo.com>
11678
11679         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11680         * gst/gstthread.c: (gst_thread_release_children_locks):
11681         Added parentage check.
11682         Fix build og GstThread again.
11683
11684 2005-03-08  Wim Taymans  <wim@fluendo.com>
11685
11686         * docs/design/part-MT-refcounting.txt:
11687         * docs/design/part-conventions.txt:
11688         * docs/design/part-gstobject.txt:
11689         * docs/design/part-relations.txt:
11690         * docs/design/part-standards.txt:
11691         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11692         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11693         (gst_bin_get_by_name), (gst_bin_get_by_interface),
11694         (gst_bin_iterate_all_by_interface):
11695         * gst/gstbuffer.h:
11696         * gst/gstclock.h:
11697         * gst/gstelement.c: (gst_element_class_init),
11698         (gst_element_change_state), (gst_element_set_loop_function):
11699         * gst/gstelement.h:
11700         * gst/gstiterator.c:
11701         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11702         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11703         (gst_object_dispatch_properties_changed), (gst_object_set_name),
11704         (gst_object_set_parent), (gst_object_unparent),
11705         (gst_object_check_uniqueness):
11706         * gst/gstobject.h:
11707         Docs updates, clean up some headers.
11708
11709 2005-03-07  Wim Taymans  <wim@fluendo.com>
11710
11711         * check/.cvsignore:
11712         * check/Makefile.am:
11713         * check/gst-libs/.cvsignore:
11714         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11715         * check/gst/.cvsignore:
11716         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11717         (START_TEST), (gstbus_suite), (main):
11718         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11719         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11720         (gst_data_suite), (main):
11721         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11722         (add_fold_func), (gstiterator_suite), (main):
11723         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11724         (thread_name_object), (thread_name_object_default),
11725         (gst_object_name_compare), (gst_object_suite), (main):
11726         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11727         (gst_pad_suite), (main):
11728         * check/gstcheck.c: (gst_check_log_message_func),
11729         (gst_check_log_critical_func), (gst_check_init):
11730         * check/gstcheck.h:
11731         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11732         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11733         Added checks.
11734
11735 2005-03-07  Wim Taymans  <wim@fluendo.com>
11736
11737         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11738         (gst_list_iterator_next), (gst_list_iterator_resync),
11739         (gst_list_iterator_free), (gst_iterator_new_list),
11740         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11741         (gst_iterator_free), (gst_iterator_push), (filter_next),
11742         (filter_resync), (filter_uninit), (filter_free),
11743         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11744         (gst_iterator_foreach), (find_custom_fold_func),
11745         (gst_iterator_find_custom):
11746         * gst/gstiterator.h:
11747         Added missing files.
11748
11749 2005-03-07  Wim Taymans  <wim@fluendo.com>
11750
11751         * Makefile.am:
11752         * configure.ac:
11753         * docs/design/part-MT-refcounting.txt:
11754         * docs/design/part-conventions.txt:
11755         * docs/design/part-gstobject.txt:
11756         * docs/design/part-relations.txt:
11757         * examples/mixer/mixer.c: (main):
11758         * examples/thread/thread.c: (eos), (main):
11759         * gst/Makefile.am:
11760         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11761         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11762         (gst_spider_plug_from_srcpad):
11763         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11764         (gst_spider_identity_change_state),
11765         (gst_spider_identity_sink_loop_type_finding):
11766         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11767         * gst/elements/gstidentity.c: (gst_identity_init):
11768         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11769         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11770         * gst/elements/gsttypefindelement.c: (free_entry):
11771         * gst/gst.c:
11772         * gst/gst.h:
11773         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11774         (gst_bin_set_clock_func), (gst_bin_auto_clock),
11775         (gst_bin_set_index), (gst_bin_set_element_sched),
11776         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11777         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11778         (gst_bin_iterate_elements), (iterate_child_recurse),
11779         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11780         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11781         (compare_interface), (gst_bin_get_by_interface),
11782         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11783         * gst/gstbin.h:
11784         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11785         (gst_buffer_default_free), (gst_buffer_default_copy),
11786         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11787         (gst_buffer_create_sub):
11788         * gst/gstbuffer.h:
11789         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11790         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11791         (gst_caps_unref), (gst_static_caps_get),
11792         (gst_caps_remove_and_get_structure), (gst_caps_append),
11793         (gst_caps_append_structure), (gst_caps_remove_structure),
11794         (gst_caps_copy_nth), (gst_caps_set_simple),
11795         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11796         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11797         (gst_caps_structure_intersect_field), (gst_caps_intersect),
11798         (gst_caps_structure_subtract_field), (gst_caps_subtract),
11799         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11800         (gst_caps_structure_figure_out_union),
11801         (gst_caps_switch_structures), (gst_caps_do_simplify),
11802         (gst_caps_replace), (gst_caps_from_string),
11803         (gst_caps_copy_conditional):
11804         * gst/gstcaps.h:
11805         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11806         (_gst_clock_id_free), (gst_clock_id_unref),
11807         (gst_clock_id_compare_func), (gst_clock_id_wait),
11808         (gst_clock_id_wait_async), (gst_clock_class_init),
11809         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11810         (gst_clock_get_time), (gst_clock_set_time_adjust),
11811         (gst_clock_set_property), (gst_clock_get_property):
11812         * gst/gstclock.h:
11813         * gst/gstcompat.h:
11814         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11815         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11816         * gst/gstdata.h:
11817         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11818         (gst_element_requires_clock), (gst_element_provides_clock),
11819         (gst_element_set_clock), (gst_element_clock_wait),
11820         (gst_element_wait), (gst_element_set_time_delay),
11821         (gst_element_is_indexable), (gst_element_add_pad),
11822         (gst_element_add_ghost_pad), (gst_element_remove_pad),
11823         (pad_compare_name), (gst_element_get_static_pad),
11824         (gst_element_request_pad), (gst_element_get_request_pad),
11825         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11826         (gst_element_class_get_pad_template_list),
11827         (gst_element_class_get_pad_template), (gst_element_error_func),
11828         (gst_element_get_random_pad), (gst_element_get_event_masks),
11829         (gst_element_send_event), (gst_element_seek),
11830         (gst_element_get_query_types), (gst_element_query),
11831         (gst_element_get_formats), (gst_element_convert),
11832         (gst_element_is_locked_state), (gst_element_set_locked_state),
11833         (gst_element_sync_state_with_parent), (gst_element_change_state),
11834         (gst_element_finalize), (gst_element_yield),
11835         (gst_element_interrupt), (gst_element_set_scheduler),
11836         (gst_element_get_scheduler), (gst_element_set_loop_function):
11837         * gst/gstelement.h:
11838         * gst/gstevent.h:
11839         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
11840         (gst_format_get_by_nick), (gst_format_get_details),
11841         (gst_format_iterate_definitions):
11842         * gst/gstformat.h:
11843         * gst/gstindex.c: (gst_index_gtype_resolver):
11844         * gst/gstinfo.c:
11845         * gst/gstinfo.h:
11846         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
11847         (gst_mem_chunk_free):
11848         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
11849         (gst_object_ref), (gst_object_unref), (gst_object_sink),
11850         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
11851         (gst_object_dispatch_properties_changed),
11852         (gst_object_set_name_default), (gst_object_set_name),
11853         (gst_object_get_name), (gst_object_set_name_prefix),
11854         (gst_object_get_name_prefix), (gst_object_set_parent),
11855         (gst_object_get_parent), (gst_object_unparent),
11856         (gst_object_check_uniqueness), (gst_object_save_thyself),
11857         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
11858         (gst_object_set_property), (gst_object_get_property),
11859         (gst_object_get_path_string):
11860         * gst/gstobject.h:
11861         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11862         (gst_real_pad_init), (gst_real_pad_get_property),
11863         (gst_pad_custom_new), (gst_pad_get_direction),
11864         (gst_pad_set_active), (gst_pad_is_active),
11865         (gst_pad_set_event_function), (gst_pad_is_linked),
11866         (gst_pad_link_free), (gst_pad_link_intersect),
11867         (gst_pad_link_fixate), (gst_pad_set_caps),
11868         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
11869         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
11870         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
11871         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
11872         (gst_pad_get_caps), (gst_pad_peer_get_caps),
11873         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
11874         (gst_pad_realize), (gst_pad_get_allowed_caps),
11875         (gst_real_pad_dispose), (gst_real_pad_finalize),
11876         (gst_pad_collectv), (gst_pad_collect_valist),
11877         (gst_pad_template_dispose), (gst_pad_template_new),
11878         (gst_pad_get_internal_links):
11879         * gst/gstpad.h:
11880         * gst/gstpipeline.c: (gst_pipeline_dispose),
11881         (gst_pipeline_change_state):
11882         * gst/gstpipeline.h:
11883         * gst/gstplugin.c:
11884         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
11885         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
11886         * gst/gstpluginfeature.h:
11887         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
11888         * gst/gstquery.c: (_gst_query_type_initialize),
11889         (gst_query_type_register), (gst_query_type_get_by_nick),
11890         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
11891         * gst/gstquery.h:
11892         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
11893         * gst/gstscheduler.c: (gst_scheduler_add_element),
11894         (gst_scheduler_factory_create):
11895         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11896         (gst_structure_free), (gst_structure_set_name),
11897         (gst_structure_id_set_value), (gst_structure_set_value),
11898         (gst_structure_set_valist), (gst_structure_remove_field),
11899         (gst_structure_remove_fields),
11900         (gst_structure_remove_fields_valist),
11901         (gst_structure_remove_all_fields), (gst_structure_foreach),
11902         (gst_structure_map_in_place),
11903         (gst_caps_structure_fixate_field_nearest_int),
11904         (gst_caps_structure_fixate_field_nearest_double):
11905         * gst/gststructure.h:
11906         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11907         (gst_system_clock_init), (gst_system_clock_dispose),
11908         (gst_system_clock_async_thread),
11909         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
11910         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
11911         * gst/gstsystemclock.h:
11912         * gst/gsttag.c: (gst_tag_list_add_value_internal),
11913         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
11914         * gst/gsttaginterface.c:
11915         * gst/gstthread.c: (gst_thread_dispose),
11916         (gst_thread_release_children_locks), (gst_thread_change_state),
11917         (gst_thread_main_loop):
11918         * gst/gsttrashstack.h:
11919         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
11920         * gst/gsttypes.h:
11921         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11922         (gst_element_request_pad), (gst_element_get_pad_from_template),
11923         (gst_element_request_compatible_pad),
11924         (gst_element_get_compatible_pad_filtered),
11925         (gst_element_get_compatible_pad), (gst_element_state_get_name),
11926         (gst_element_link_pads_filtered), (gst_element_link_filtered),
11927         (gst_element_link_many), (gst_element_link),
11928         (gst_element_link_pads), (gst_element_unlink_pads),
11929         (gst_element_unlink_many), (gst_element_unlink),
11930         (gst_pad_can_link_filtered), (gst_pad_can_link),
11931         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
11932         (gst_object_default_error), (gst_bin_add_many),
11933         (gst_bin_remove_many), (gst_element_populate_std_props),
11934         (gst_element_class_install_std_props), (gst_buffer_merge),
11935         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
11936         (link_fold_func), (gst_pad_proxy_setcaps):
11937         * gst/gstutils.h:
11938         * gst/gstvalue.c: (gst_value_deserialize_string):
11939         * gst/parse/grammar.y:
11940         * gst/schedulers/gstbasicscheduler.c:
11941         (gst_basic_scheduler_cothreaded_chain),
11942         (gst_basic_scheduler_chain_recursive_add),
11943         (gst_basic_scheduler_pad_link):
11944         * gst/schedulers/gstoptimalscheduler.c:
11945         (get_group_schedule_function),
11946         (gst_opt_scheduler_state_transition),
11947         (gst_opt_scheduler_add_element), (element_get_reachables_func):
11948         * libs/gst/bytestream/bytestream.c:
11949         * libs/gst/dataprotocol/dataprotocol.c:
11950         (gst_dp_header_from_buffer):
11951         * po/nb.po:
11952         * po/ru.po:
11953         * tests/threadstate/threadstate2.c: (eos):
11954         * tools/gst-compprep.c: (main):
11955         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
11956         (print_pad_info), (print_children_info):
11957         * tools/gst-launch.c: (idle_func), (main):
11958         * tools/gst-md5sum.c: (idle_func), (main):
11959         * tools/gst-xmlinspect.c: (print_element_info):
11960         First THREADED backport attempt, focusing on adding locks and
11961         making sure the API is threadsafe. Needs more work. More docs
11962         follow this week.
11963
11964 2005-02-24  Andy Wingo  <wingo@pobox.com>
11965
11966         * tests/bench-complexity.scm:
11967         * tests/complexity.gnuplot: New files, good for running complexity
11968         benchmarks.
11969
11970         * tests/Makefile.am:
11971         * tests/complexity.c: New test, sets up N elements, at each level
11972         teeing into M streams per element. Eeeenteresting.
11973
11974         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
11975         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
11976         running bench-mass_elements.scm.
11977
11978         * tests/bench-mass_elements.scm: New script, runs mass_elements
11979         for various numbers of identities, outputting the results to a
11980         file. Requires guile 1.6. Just for testing.
11981
11982 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11983
11984         * gst/schedulers/fairscheduler.c:
11985           compile with debug disabled
11986
11987 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11988
11989         * configure.ac:
11990           hunting season on 0.9 is now OPEN