gst/gstutils.c: Chain trivial case to _scale_int.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-24  Wim Taymans  <wim@fluendo.com>
2
3         * gst/gstutils.c: (gst_util_uint64_scale),
4         (gst_util_uint64_scale_int):
5         Chain trivial case to _scale_int.
6
7 2005-11-24  Wim Taymans  <wim@fluendo.com>
8
9         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10         Added test for scaling.
11
12         * gst/gstclock.h:
13         Small doc fix.
14
15         * gst/gstutils.c: (gst_util_uint64_scale_int):
16         Implemented high precision scaling code.
17
18 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
19
20         * gst/gstinfo.h:
21           do not crash on pad==NULL
22
23 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24
25         Patch by: Stefan Kost
26
27         * common/gtk-doc.mak:
28         * docs/gst/Makefile.am:
29         * docs/libs/Makefile.am:
30           Fix distcheck issues for the libraries docs build
31           Closes #319599.
32
33 2005-11-24  Michael Smith <msmith@fluendo.com>
34
35         * docs/manual/basics-helloworld.xml:
36           Fix bug #315027: memory leak in example code in docs.
37
38 2005-11-24  Michael Smith <msmith@fluendo.com>
39
40         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
41           Unlock the PREROLL_LOCK in a failure case.
42
43 2005-11-24  Wim Taymans  <wim@fluendo.com>
44
45         * docs/gst/gstreamer-sections.txt:
46         * gst/base/gstadapter.h:
47         * gst/base/gstbasesink.h:
48         * gst/base/gstbasesrc.h:
49         * gst/base/gstbasetransform.h:
50         * gst/base/gstpushsrc.h:
51         * gst/elements/gstfakesink.h:
52         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
53         * gst/elements/gstfakesrc.h:
54         * gst/elements/gstfilesink.h:
55         * gst/elements/gstfilesrc.h:
56         * gst/gst.c:
57         * gst/gstbin.c:
58         * gst/gstbuffer.c: (_gst_buffer_copy):
59         * gst/gstbus.h:
60         * gst/gstcaps.c:
61         * gst/gstchildproxy.c:
62         * gst/gstclock.c:
63         * gst/gstelement.c:
64         * gst/gstelementfactory.c:
65         * gst/gstelementfactory.h:
66         * gst/gstevent.c:
67         * gst/gstghostpad.h:
68         * gst/gstindex.h:
69         * gst/gstinterface.h:
70         * gst/gstminiobject.c:
71         * gst/gstminiobject.h:
72         * gst/gstpad.c:
73         * gst/gstpad.h:
74         * gst/gstpadtemplate.h:
75         * gst/gstpipeline.h:
76         * gst/gstpluginfeature.h:
77         * gst/gstquery.h:
78         * gst/gstqueue.h:
79         * gst/gsttaglist.c:
80         * gst/gsttaglist.h:
81         * gst/gsttagsetter.c:
82         * gst/gsttagsetter.h:
83         * gst/gsttrace.c:
84         * gst/gsttrace.h:
85         * gst/gsttypefind.h:
86         * gst/gsturi.h:
87         * gst/gstvalue.c:
88         * gst/net/gstnetclientclock.c:
89         * gst/net/gstnetclientclock.h:
90         * gst/net/gstnettimepacket.c:
91         * gst/net/gstnettimeprovider.c:
92         * gst/net/gstnettimeprovider.h:
93         Doc fixes.
94
95 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
96
97         * configure.ac: back to HEAD
98
99 === release 0.9.6 ===
100
101 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
102
103         * configure.ac:
104           releasing 0.9.6, "Always On Time"
105
106 2005-11-23  Wim Taymans  <wim@fluendo.com>
107
108         * docs/gst/gstreamer-sections.txt:
109         * gst/glib-compat.c:
110         * gst/gsttagsetter.c:
111         * gst/gstvalue.c:
112         * gst/net/gstnetclientclock.c:
113         * gst/net/gstnettimepacket.h:
114         Doc updates.
115
116 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
117
118         * docs/faq/using.xml:
119         * docs/libs/tmpl/gstcontrol.sgml:
120         * docs/manual/advanced-dparams.xml:
121         * docs/manual/appendix-checklist.xml:
122         * docs/manual/basics-elements.xml:
123         * docs/pwg/other-source.xml:
124         * docs/random/moving-plugins:
125         * gst/gstpad.c:
126         * tools/gst-launch.1.in:
127           remove mentions of sinesrc
128
129 2005-11-23  Michael Smith <msmith@fluendo.com>
130
131         * docs/gst/gstreamer-sections.txt:
132           Update for new API and API changes.
133         * gst/gstobject.h:
134           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
135         * gst/gstvalue.c:
136           Documentation typo fix.
137         * gst/net/gstnettimepacket.c:
138           Documentation fixes for arguments.
139
140 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
141
142         * gst/gststructure.c: (gst_structure_get_fraction),
143         (gst_structure_parse_value),
144         (gst_structure_fixate_field_nearest_fraction):
145         * gst/gststructure.h:
146         * gst/gstutils.c: (gst_util_uint64_scale_int):
147         * gst/gstutils.h:
148         * scripts/update-funcnames:
149         API Changes. 
150         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
151         Make gst_structure_fixate_field_nearest_fraction take a numerator
152         and denominator argument instead of a GValue
153         add gst_structure_get_fraction helper function.
154
155 2005-11-23  Wim Taymans  <wim@fluendo.com>
156
157         * docs/design/part-TODO.txt:
158         Update TODO.
159
160         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
161         * gst/net/gstnetclientclock.h:
162         Use parent fields for timeout and window_size.
163
164 2005-11-23  Andy Wingo  <wingo@pobox.com>
165
166         * check/net/gstnetclientclock.c (test_functioning): Adjust to
167         rate_num/rate_denom change.
168
169         * gst/net/gstnetclientclock.c
170         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
171         OBJECT_LOCK. Don't call add_observation with the lock.
172
173         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
174         fraction.
175         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
176         rate fraction.
177         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
178         deal with rate as a fraction whose numerator and denominator are
179         GstClockTime values.
180         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
181         master; the other fields are protected by the SLAVE_LOCK.
182         (do_linear_regression): Note that this must be called with the
183         SLAVE_LOCK.
184         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
185         OBJECT_LOCK. Call set_calibration instead of touching the
186         variables directly.
187         (gst_clock_set_property, gst_clock_get_property): Protect
188         master/slave parameters with the SLAVE_LOCK.
189
190         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
191         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
192         note that all of the instance variables that add_observation and
193         the set_master functions use are protected by that lock and not
194         the OBJECT_LOCK.
195         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
196
197         * gst/gstclock.c (gst_clock_add_observation): No longer requires
198         the caller to take the object lock.
199
200 2005-11-23  Wim Taymans  <wim@fluendo.com>
201
202         * gst/gsterror.c: (_gst_core_errors_init):
203         * gst/gsterror.h:
204         Add error for clock stuff.
205
206         * gst/gstpipeline.c: (gst_pipeline_change_state),
207         (gst_pipeline_set_clock):
208         Post clock error when clock cannot be used in a pipeline.
209
210 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
211
212         * docs/gst/gstreamer-sections.txt:
213           make two symbols from gstinfo private for the docs
214         * gst/base/gstcollectpads.h:
215         * gst/gstutils.c:
216           fix doc typos, update docs
217
218 2005-11-22  Wim Taymans  <wim@fluendo.com>
219
220         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
221         (gst_base_sink_wait), (gst_base_sink_do_sync),
222         (gst_base_sink_handle_event):
223         * gst/base/gstbasesink.h:
224         No need to store the clock, the parent element class already
225         has it.
226
227         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
228         Updates for clock_set returning a gboolean
229
230         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
231         (gst_clock_id_wait_async), (gst_clock_class_init),
232         (gst_clock_init), (gst_clock_finalize),
233         (gst_clock_get_internal_time), (gst_clock_get_time),
234         (gst_clock_slave_callback), (gst_clock_set_master),
235         (gst_clock_get_master), (do_linear_regression),
236         (gst_clock_add_observation), (gst_clock_set_property),
237         (gst_clock_get_property):
238         * gst/gstclock.h:
239         Implement master/slave. When setting a clock as a slave, a
240         periodic timeout is scheduled to sample master and slave times.
241         Then the slave clock is recalibrated to match offset and rate
242         of the master clock.
243         Update logging a bit.
244         Add flag so that a clock can state that is cannot be slaved to
245         another clock.
246
247         * gst/gstelement.c: (gst_element_set_clock):
248         * gst/gstelement.h:
249         The set clock returns a gboolean for when an element cannot
250         deal with the selected clock in the pipeline. 
251
252         * gst/gstpipeline.c: (gst_pipeline_change_state),
253         (gst_pipeline_set_clock):
254         * gst/gstpipeline.h:
255         Handle the case where the selected clock cannot be set on
256         the pipeline.
257
258         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
259         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
260         (gst_net_client_clock_set_property),
261         (gst_net_client_clock_get_property),
262         (gst_net_client_clock_observe_times):
263         * gst/net/gstnetclientclock.h:
264         Use regression code in GstClock parent, remove duplicated
265         functionality.
266
267 2005-11-22  Michael Smith <msmith@fluendo.com>
268
269         * gst/gstutils.c: (gst_util_clock_time_scale):
270         * gst/gstutils.h:
271         * docs/gst/gstreamer-sections.txt:
272           Rename method to have extra underscore.
273
274 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
275
276         * gst/elements/Makefile.am:
277         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
278         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
279         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
280         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
281         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
282         * gst/elements/gstfakesrc.h:
283         * gst/gstqueue.c: (queue_leaky_get_type):
284           correctly fix GEnumValues so that nick is the short lowercase
285           dashed tag
286         * tools/gst-inspect.c: (print_element_properties_info):
287           also show the nick, since it's useful to use from parse_launch
288           syntax
289           Fixes #322139
290
291 2005-11-22  Michael Smith <msmith@fluendo.com>
292
293         * gst/gstutils.c: (gst_util_clocktime_scale):
294         * gst/gstutils.h:
295         * docs/gst/gstreamer-sections.txt:
296           Add util method for scaling a clocktime by a fraction. Useful 
297           implementation is left as an exercise for the reader.
298
299 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
300
301         * gst/gstvalue.c: (gst_value_collect_fraction_range):
302         If needed, allocate storage in the destination value during
303         collection.
304
305 2005-11-22  Edward Hervey  <edward@fluendo.com>
306
307         * docs/gst/gstreamer-sections.txt:
308         * gst/Makefile.am:
309         * gst/gst.h:
310         * gst/gsturitype.c:
311         * gst/gsturitype.h:
312         * gst/gstutils.c: (gst_util_set_object_arg):
313         * tools/gst-compprep.c: (main):
314         * tools/gst-inspect.c: (print_element_properties_info):
315         Removed GstURI, closes bug #321061
316
317 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
318
319         * check/gst/gststructure.c: (GST_START_TEST):
320         * gst/gststructure.c: (gst_structure_parse_value):
321           Oops, broke automatic string type parsing.
322           Add a test to catch it in future.
323
324 2005-11-22  Andy Wingo  <wingo@pobox.com>
325
326         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
327         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
328         Actually rename the function implementations. Grr.
329
330 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
331
332         * check/gst/capslist.h:
333           Comment test cases
334         * check/gst/gststructure.c: (GST_START_TEST),
335         (gst_structure_suite):
336           Test automatic value type detection in gst_structure_from_string.
337         * gst/gststructure.c: (gst_structure_parse_value):
338           Add fraction as a type we try and guess automatically in
339           caps/structure strings.
340
341 2005-11-22  Andy Wingo  <wingo@pobox.com>
342
343         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
344
345         * gst/gsttagsetter.h:
346         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
347         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
348         (gst_tag_setter_add_tag_valist)
349         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
350         _add_values, _add_valist, and _add_valist_values. Since this is an
351         interface the function suffixes should be more explicit so
352         language binding don't end up with element.add_valist ->
353         gst_tag_setter_add_valist, for example. Fixes #322069.
354
355 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
356
357         * check/gst/gstcaps.c: (GST_START_TEST):
358           Extend caps string tests to check that a caps to string
359           conversion is reversible and produces the same caps.
360
361         * gst/gststructure.c: (gst_structure_value_get_generic_type):
362           Output "fraction" as the generic type fraction range, so caps
363           serialisation and deserialisation works.
364         * check/gst/capslist.h:
365         * gst/gstvalue.c: (gst_value_deserialize_fraction):
366           Support 'MIN' and 'MAX' for deserialising fractions.
367
368 2005-11-22  Andy Wingo  <wingo@pobox.com>
369
370         * gst/gstevent.h (gst_event_new_new_segment)
371         (gst_event_parse_new_segment, gst_event_new_buffer_size)
372         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
373         Renamed from *_newsegment, *_buffersize, *_notarget.
374
375         * scripts/update-funcnames: New script, performs the changes
376         listed above.
377
378 2005-11-22  Wim Taymans  <wim@fluendo.com>
379
380         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
381         Make sure the GstFlowReturn is returned.
382
383         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
384         (gst_bus_add_signal_watch):
385         * gst/gstbus.h:
386         add gst_bus_add_signal_watch_full.
387
388         * gst/gstplugin.c: (gst_plugin_load_file):
389         Small style cleanup.
390
391 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
392
393         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
394           Block the fakesrc srcpad when we send an event, to avoid
395           contention on the stream_lock causing random test failures.
396
397 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
398
399         * check/gst/gstvalue.c: (GST_START_TEST):
400         * gst/gstvalue.c: (gst_value_fraction_subtract):
401           Fix subtraction.
402
403 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
404
405         * gst/gst.h:
406           include "gstchildproxy.h"
407         * gst/gstchildproxy.h:
408         * libs/gst/controller/gstcontroller.h:
409           use G_GNUC_NULL_TERMINATED
410
411 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
412
413         * check/gst/capslist.h:
414         * check/gst/gstcaps.c: (GST_START_TEST):
415         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
416         * gst/gststructure.c: (gst_structure_parse_range),
417         (gst_structure_fixate_field_nearest_fraction):
418         * gst/gststructure.h:
419         * gst/gstvalue.c: (gst_value_init_fraction_range),
420         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
421         (gst_value_collect_fraction_range),
422         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
423         (gst_value_set_fraction_range_full),
424         (gst_value_get_fraction_range_min),
425         (gst_value_get_fraction_range_max),
426         (gst_value_serialize_fraction_range),
427         (gst_value_transform_fraction_range_string),
428         (gst_value_compare_fraction_range),
429         (gst_value_deserialize_fraction_range),
430         (gst_value_intersect_fraction_fraction_range),
431         (gst_value_intersect_fraction_range_fraction_range),
432         (gst_value_subtract_fraction_fraction_range),
433         (gst_value_subtract_fraction_range_fraction),
434         (gst_value_subtract_fraction_range_fraction_range),
435         (gst_value_collect_fraction), (gst_value_fraction_multiply),
436         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
437         (gst_value_transform_string_fraction), (_gst_value_initialize):
438         * gst/gstvalue.h:
439           Implement fraction ranges and extend GstFraction to support
440           arithmetic subtraction, as well as deserialization from integer
441           strings such as "100"
442           Add a testsuite as for int and double range set operations
443
444 2005-11-21  Andy Wingo  <wingo@pobox.com>
445
446         * gst/gsttaglist.h: 
447         * gst/gstcaps.h: 
448         * gst/gststructure.h: Add glib-compat.h.
449
450 2005-11-21  Wim Taymans  <wim@fluendo.com>
451
452         * gst/gstbin.c: (gst_bin_change_state_func):
453         Fix for #321595
454
455 2005-11-21  Wim Taymans  <wim@fluendo.com>
456
457         * gst/gstsegment.h:
458         And add a nice define too.
459
460 2005-11-21  Wim Taymans  <wim@fluendo.com>
461
462         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
463         (gst_segment_new), (gst_segment_free), (gst_segment_init),
464         (gst_segment_set_duration), (gst_segment_set_last_stop),
465         (gst_segment_set_seek), (gst_segment_set_newsegment),
466         (gst_segment_to_stream_time), (gst_segment_to_running_time),
467         (gst_segment_clip):
468         * gst/gstsegment.h:
469         Make binding friendly.
470
471 2005-11-21  Andy Wingo  <wingo@pobox.com>
472
473         * gst/gsttagsetter.h: 
474         * gst/gsttaglist.h: 
475         * gst/gststructure.h: 
476         * gst/gstcaps.h: 
477         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
478         #319940.
479
480         * gst/gsterror.c (_gst_core_errors_init):
481         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
482         category.
483
484         * gst/Makefile.am (gst_headers): Add glib-compat.h.
485         (noinst_HEADERS): noinst the -private.
486
487 2005-11-21  Michael Smith <msmith@fluendo.com>
488
489         * gst/gstplugin.h:
490         * gst/gstregistry.h:
491           Remove unimplemented declarations for which we can see no sensible
492           use.
493
494 2005-11-21  Andy Wingo  <wingo@pobox.com>
495
496         * gst/gst.h: Include glib-compat.h.
497
498         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
499
500         * gst/glib-compat.c: Include the public and the private header.
501
502         * gst/glib-compat-private.h: Copied here from glib-compat.h.
503
504         * gst/gstvalue.c: 
505         * gst/gstpad.c: 
506         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
507
508         * check/gst/gstevent.c (create_custom_events): Check that
509         FLUSH_STOP is serialized.
510
511         * check/elements/identity.c (event_func): 
512         * check/elements/fakesrc.c (event_func): No stream lock, the core
513         takes it.
514
515         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
516         stream lock taking, yay.
517
518         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
519         ensure that core takes the stream lock.
520
521         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
522         lock name change.
523
524         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
525         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
526         it already. For the flush start we do take it though so we get the
527         right preroll state change messages.
528
529         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
530         the stream lock here, the core does it for us.
531
532         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
533         GST_STREAM_GET_LOCK.
534         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
535         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
536         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
537         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
538         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
539         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
540
541         * gst/gstpad.c: Update for stream lock name change.
542
543         * gst/base/gstbasesink.c: Update for preroll lock name change.
544
545 2005-11-21  Wim Taymans  <wim@fluendo.com>
546
547         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
548         (gst_clock_get_master):
549         * gst/gstclock.h:
550         * gst/gstsystemclock.c: (gst_system_clock_init):
551         Convert Clock flags to object flags.
552         Added methods to manage master/slave clocks.
553
554 2005-11-21  Wim Taymans  <wim@fluendo.com>
555
556         * check/gst/gstsegment.c: (GST_START_TEST):
557         * docs/design/part-TODO.txt:
558         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
559         (gst_base_sink_event), (gst_base_sink_do_sync),
560         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
561         (gst_base_sink_query), (gst_base_sink_change_state):
562         * gst/base/gstbasesink.h:
563         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
564         (gst_base_src_default_newsegment),
565         (gst_base_src_configure_segment), (gst_base_src_do_seek),
566         (gst_base_src_get_range), (gst_base_src_loop),
567         (gst_base_src_change_state):
568         * gst/base/gstbasesrc.h:
569         * gst/base/gstbasetransform.c:
570         (gst_base_transform_prepare_output_buf),
571         (gst_base_transform_event), (gst_base_transform_change_state):
572         * gst/base/gstbasetransform.h:
573         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
574         (gst_collect_pads_event):
575         * gst/base/gstcollectpads.h:
576         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
577         (gst_fake_src_create):
578         * gst/elements/gstfakesrc.h:
579         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
580         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
581         (gst_segment_set_last_stop), (gst_segment_set_seek),
582         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
583         (gst_segment_to_running_time), (gst_segment_clip):
584         * gst/gstsegment.h:
585         More segment updates, replace code in plugins with segment
586         helper functions.
587
588 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
589
590         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
591         Don't ignore sscanf results
592
593 2005-11-21  Andy Wingo  <wingo@pobox.com>
594
595         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
596
597         * *.h:
598         * *.c: Ran scripts/update-macros. Oh yes.
599
600         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
601         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
602         GST_GET_LOCK, etc.
603
604         * scripts/update-macros: New script. Run it on your files to
605         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
606         well.
607
608 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
609
610         * docs/gst/Makefile.am:
611         * docs/gst/gstreamer-docs.sgml:
612         * docs/gst/gstreamer-sections.txt:
613         * docs/gst/gstreamer.types:
614         * gst/gstinfo.h:
615           more docs fixes, add new api to the docs
616
617 2005-11-21  Andy Wingo  <wingo@pobox.com>
618
619         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
620         state_broadcast call.
621
622         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
623
624 2005-11-21  Julien MOUTTE  <julien@moutte.net>
625
626         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
627         function calls for arrays.
628
629 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
630
631         * docs/random/ensonic/media-device-daemon.txt:
632           wild idea, can this be done?
633         * docs/gst/gstreamer-sections.txt:
634         * gst/gsterror.h:
635         * gst/gstfilter.c:
636         * gst/gstfilter.h:
637         * gst/gstplugin.h:
638         * gst/gstpluginfeature.c:
639         * gst/gsttrace.c:
640         * gst/gstvalue.c:
641         * gst/gstvalue.h:
642           doc fixes and additions
643
644 2005-11-21  Andy Wingo  <wingo@pobox.com>
645
646         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
647         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
648         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
649         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
650         private to the basesrc implementation.
651
652         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
653         behalf of event function if necessary. It should no longer be
654         necessary to take the stream lock in pad's event functions. Fixes
655         #320299.
656
657 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
658         * docs/gst/gstreamer-sections.txt:
659         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
660         (gst_structure_fixate_field_nearest_double),
661         (gst_structure_fixate_field_boolean):
662         * gst/gststructure.h:
663         * win32/common/libgstreamer.def:
664         * win32/gstreamer.def:
665
666         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
667         (#322027)
668
669 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
670
671         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
672         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
673         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
674         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
675         (gst_fdsrc_uri_handler_init):
676         * gst/elements/gstfdsrc.h:
677           Port fd:// URI handler from 0.8 to fdsrc
678
679 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
680
681         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
682         (gst_value_serialize_fourcc):
683         * gst/gstvalue.h:
684           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
685           consistent with our other format defines (#320324).
686
687 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
688
689         * gst/gstvalue.c: (gst_value_is_fixed):
690           Revert previous commit. Value lists are by definition
691           not fixed, as they are a list of possible values.
692
693 2005-11-21  Andy Wingo  <wingo@pobox.com>
694
695         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
696         during the stable series if we need it. Fixes #319178.
697
698         * gst/gstevent.c (gst_event_new_filler): Removed.
699
700         * check/gst/gstevent.c: Update comment about filler events.
701
702 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
703
704         * gst/gstvalue.c: (gst_value_is_fixed):
705           Should handle both value arrays and value lists.
706
707 2005-11-21  Andy Wingo  <wingo@pobox.com>
708
709         patch by: Alessandro Dessina <alessandro nnva org>
710
711         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
712         functions to access arrays. Fixes #321962.
713
714 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
715
716         * docs/gst/gstreamer.types:
717           gst_collectpads_get_type => gst_collect_pads_get_type.
718           
719         * gst/base/gstbasetransform.c:
720           Remove unused SIGNAL_HANDOFF enum.
721
722 2005-11-21  Andy Wingo  <wingo@pobox.com>
723
724         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
725         the event type (upstream, downstream, serialized). Renamed
726         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
727         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
728         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
729
730         * gst/gstevent.c: Update for new CUSTOM event names.
731
732         * check/gst/gstevent.c: Update check for new CUSTOM event names.
733
734         * gst/gstevent.h:
735         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
736         bug #319392.
737
738 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
739
740         * docs/gst/gstreamer-sections.txt:
741         * win32/common/libgstbase.def:
742         * win32/libgstbase.def:
743         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
744         (gst_collect_pads_class_init), (gst_collect_pads_init),
745         (gst_collect_pads_finalize), (gst_collect_pads_new),
746         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
747         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
748         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
749         (gst_collect_pads_start), (gst_collect_pads_stop),
750         (gst_collect_pads_peek), (gst_collect_pads_pop),
751         (gst_collect_pads_available), (gst_collect_pads_read),
752         (gst_collect_pads_flush), (gst_collect_pads_event),
753         (gst_collect_pads_chain):
754         * gst/base/gstcollectpads.h:
755           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
756           unimplemented functions as unimplemented. Add padding to
757           GstCollectData. (#320766, #320423)
758
759 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
760
761         * gst/gstmessage.c:
762           Improve docs for DURATION message (usage of duration parameter)
763           (#320113)
764
765 2005-11-20  Wim Taymans  <wim@fluendo.com>
766
767         * check/Makefile.am:
768         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
769         (main):
770         * gst/Makefile.am:
771         * gst/gst.h:
772         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
773         (gst_segment_set_seek), (gst_segment_set_newsegment),
774         (gst_segment_to_stream_time), (gst_segment_to_running_time),
775         (gst_segment_clip):
776         * gst/gstsegment.h:
777         Added segment helper structure and methods. Not fully implemented
778         yet.
779         Added segment check.
780
781 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
782
783         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
784           Add a deserialisation test for fractions
785         * examples/metadata/read-metadata.c: (message_loop),
786         (make_pipeline), (main):
787           Fix up metadata reading sample.
788         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
789           Debug format fix
790         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
791           Don't try and fixate empty caps
792         * gst/gst_private.h:
793           Wrap in G_BEGIN_DECLS/G_END_DECLS
794         * gst/gstvalue.c: (gst_value_collect_fraction),
795         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
796         (gst_value_transform_string_fraction),
797         (gst_value_compare_fraction):
798           Add some extra guards to ensure that we don't end up 
799           with an invalid denominator of 0 in a gstfraction and
800           that fractions always get reduced.
801
802 2005-11-20  Wim Taymans  <wim@fluendo.com>
803
804         * docs/gst/gstreamer-sections.txt:
805         * gst/gstbuffer.h:
806         * gst/gstelement.c:
807         * gst/gstformat.c:
808         * gst/gstformat.h:
809         * gst/gstindex.h:
810         * gst/gstquery.c:
811         * gst/gstquery.h:
812         * gst/gstvalue.c:
813         Doc fixes.
814
815 2005-11-20  Wim Taymans  <wim@fluendo.com>
816
817         * docs/design/part-TODO.txt:
818         * gst/gstcaps.h:
819         Make a proper enum of the flag.
820
821 2005-11-19  Wim Taymans  <wim@fluendo.com>
822
823         * docs/design/part-TODO.txt:
824         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
825         (gst_format_to_quark), (gst_format_register):
826         * gst/gstformat.h:
827         * gst/gstquery.c: (_gst_query_initialize),
828         (gst_query_type_get_name), (gst_query_type_to_quark),
829         (gst_query_type_register):
830         * gst/gstquery.h:
831         Add type to quark and type to string conversions.
832
833 2005-11-19  Andy Wingo  <wingo@pobox.com>
834
835         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
836         #320097.
837
838 2005-11-19  Wim Taymans  <wim@fluendo.com>
839
840         * docs/design/part-TODO.txt:
841         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
842         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
843         (gst_bin_handle_message_func):
844         * gst/gstbin.h:
845         Make message handling overridable.
846
847 2005-11-19  Andy Wingo  <wingo@pobox.com>
848
849         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
850
851         * gst/gstclock.h:
852         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
853         be a GstClockTime.
854         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
855         is a GstClockTime. Fixes #321710.
856
857         * gst/gstclock.h (GstClock): Remove offset property. Add
858         internal_calibration and external_calibration. Fix padding. Pad
859         also by GstClockTime so we don't run into problems.
860
861         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
862         (gst_clock_get_rate_offset): Remove.
863         (gst_clock_set_time_adjust): Remove. Fixes #321712.
864
865         * gst/gstutils.h:
866         * gst/gstutils.c (g_static_rec_cond_wait)
867         (g_static_rec_cond_timed_wait): Removed, no longer needed.
868
869         * gst/gstbin.c: Remove terrible continue_state prototype.
870
871         * gst/gstelement.h (gst_element_continue_state): Make public.
872
873         * gst/gstelement.h:
874         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
875         by continue_state. Fixes #319389.
876
877         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
878         Really fixes #168438. However I don't see anywhere where the
879         filter function is called... stupid GStreamer...
880         
881         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
882         don't have a dispose function, so it won't get called when the
883         object is unreffed, but oh well!
884
885         * gst/gstindex.c (gst_index_set_filter_full): New API function,
886         allows a destroy function to be set so user_data can be freed.
887         Fixes #168438.
888         (gst_index_set_filter): Call gst_index_set_filter_full.
889
890         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
891
892         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
893         string should produce an error, given the lack of a way to
894         represent NULL strings. Fixes #165650.
895         
896         * gst/gstvalue.h: 
897         * gst/gstvalue.c (gst_value_array_append_value) 
898         (gst_value_array_prepend_value, gst_value_array_get_size) 
899         (gst_value_array_get_value): New API, copied from
900         gst_value_list_*, only operates on arrays.
901         (gst_value_list_append_value, gst_value_list_prepend_value) 
902         (gst_value_list_concat, gst_value_list_get_size) 
903         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
904
905         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
906         init_list, because it works on both.
907         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
908         (gst_value_copy_list_or_array): Renamed from copy_list.
909         (gst_value_free_list_or_array): Renamed from free_list.
910         (gst_value_collect_list_or_array): Renamed from collect_list.
911         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
912         (gst_value_list_or_array_peek_pointer): Renamed from
913         list_peek_pointer.
914         (_gst_value_array_value_table, _gst_value_list_value_table):
915         Update value table functions.
916         (gst_value_compare_list_or_array): Renamed from compare_list.
917
918         * gsttaglist.h: Whoops, foreach function returns void. Also fix
919         some constness.
920
921         * gst/gsttaglist.c:
922         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
923         GstTagList*. Fixes #143472.
924
925         * gst/gststructure.h: Clarify what the foreach/map functions can
926         or can't do to their arguments.
927
928 2005-11-18  Wim Taymans  <wim@fluendo.com>
929
930         * gst/gstclock.c: (gst_clock_set_calibration),
931         (gst_clock_get_calibration):
932         Doc and API fixes.
933         Calibration can be set with internal time equal to current
934         internal time too.
935
936 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
937
938         * gst/gsterror.c:
939         * gst/gsterror.h:
940           document
941
942 2005-11-18  Andy Wingo  <wingo@pobox.com>
943
944         * configure.ac: 
945         * pkgconfig/gstreamer-net.pc.in:
946         * pkgconfig/gstreamer-net-uninstalled.pc.in:
947         * pkgconfig/Makefile.am: Add net pkgconfig files.
948
949 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
950
951         * gst/gstcaps.c:
952         * gst/gstghostpad.c:
953         * gst/gsttrace.c:
954         * gst/gstvalue.c:
955         * gst/gstvalue.h:
956           docs fixes
957
958 2005-11-18  Andy Wingo  <wingo@pobox.com>
959
960         * gst/net/gstnetclientclock.c: Turn off debugging.
961
962         * check/net/gstnetclientclock.c (test_functioning): Assert that the
963         times connverge somewhat. Can't make a real test.
964
965         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
966         integer arithmetic. Return the minimum of the domain, which can be
967         set as "internal" for gst_clock_set_calibration.
968         (gst_net_client_clock_observe_times): Call _set_calibration.
969         (gst_net_client_clock_new): Call _set_calibration instead of
970         rate_offset.
971
972         * check/net/gstnetclientclock.c (test_functioning): Use the right
973         adjustment api.
974
975         * gst/gstclock.h:
976         * gst/gstclock.c (gst_clock_get_calibration) 
977         (gst_clock_set_calibration): New functions, obsolete the ones I
978         added yesterday. Doh. Precision issues mean we have to extrapolate
979         from a point in the more recent past than 1970.
980         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
981         obsolete.
982         (gst_clock_adjust_unlocked): Use the right calibration data.
983
984 2005-11-18  Edward Hervey  <edward@fluendo.com>
985
986         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
987         Also reset the ->current_* values in READY->PAUSED
988
989 2005-11-18  Andy Wingo  <wingo@pobox.com>
990
991         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
992         Whoops, check the right fd. Also add some debugging.
993         (gst_net_client_clock_observe_times): Adjust for int64 offset.
994         (do_linear_regression): Add a crapload of debugging. Subtract off
995         the minimum values from the input series to discard unneeded bits.
996         Use only int arithmetic. There is still double arithmetic when
997         calculating the intercept that needs fixing. Return boolean to
998         indicate success; FALSE would mean the domain or range is too
999         great. Still needs fixes.
1000
1001 2005-11-18  Wim Taymans  <wim@fluendo.com>
1002
1003         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1004         For the current position in stream time, we need to subtract
1005         accumulated time.
1006         
1007         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1008         Release lock before calling the callback function of async
1009         entries.
1010
1011 2005-11-18  Andy Wingo  <wingo@pobox.com>
1012
1013         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1014         Port goes all the way to MAXUINT16.
1015
1016         * gst/net/gstnettimeprovider.c: Make the port range the same as
1017         for the kernel: 0 assigns, otherwise ports are less than
1018         MAXUINT16.
1019
1020         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1021         port change.
1022
1023         * check/net/gstnetclientclock.c (test_functioning): Add the start
1024         of another test. 
1025
1026 2005-11-18  Wim Taymans  <wim@fluendo.com>
1027
1028         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1029         (gst_bin_remove_func), (bin_bus_handler):
1030         * gst/gstbin.h:
1031         Removing a clock provider from a bin, triggers a clock lost message
1032         so that a new clock will be selected.
1033         Adding a clock to a bin triggers a clock provider message.
1034         Make sure we reselect a clock when we received a clock lost message.
1035         Keep a reference to the element that provided the clock.
1036
1037 2005-11-18  Andy Wingo  <wingo@pobox.com>
1038
1039         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1040         the clock initially so it produces values around the base time.
1041         (gst_net_client_clock_class_init): Typo fix.
1042         (gst_net_client_clock_thread): Add note on when the socket gets
1043         closed.
1044
1045 2005-11-17  Wim Taymans  <wim@fluendo.com>
1046
1047         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1048         Free remote and local time arrays.
1049
1050 2005-11-17  Wim Taymans  <wim@fluendo.com>
1051
1052         * gst/net/gstnetclientclock.c: (do_linear_regression),
1053         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1054         Fix compilation, uninitialized vars and a forgotten continue.
1055
1056 2005-11-17  Andy Wingo  <wingo@pobox.com>
1057
1058         * check/Makefile.am (check_PROGRAMS): 
1059         * check/net/gstnetclientclock.c: Add a most minimal test for the
1060         net client clock. More to come later.
1061
1062         * gst/net/gstnet.h: 
1063         * gst/net/Makefile.am: Add netclientclock.
1064
1065         * gst/net/gstnetclientclock.h:
1066         * gst/net/gstnetclientclock.c: New files, implement an untested
1067         GstClock that takes its time from a network time provider.
1068         Implements the algorithm in network-clock.scm.
1069
1070         * tests/network-clock.scm (*window-size*): Rename from
1071         *queue-length*.
1072         * tests/network-clock.scm (network-time): 
1073         * tests/network-clock-utils.scm (q-push): Update callers.
1074
1075 2005-11-17  Wim Taymans  <wim@fluendo.com>
1076
1077         * gst/gstbin.c: (gst_bin_provide_clock_func),
1078         (gst_bin_sort_iterator_new):
1079         And unref the child too..
1080
1081 2005-11-17  Wim Taymans  <wim@fluendo.com>
1082
1083         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1084         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1085         Refactor the sort iterator so it can be used while holding the
1086         LOCK too.
1087         Make clock selection select a clock closest to the source.
1088
1089 2005-11-17  Michael Smith <msmith@fluendo.com>
1090
1091         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1092         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1093         * gst/gstclock.h:
1094           Anonymous structs are a gcc (and some other compilers) extension, so
1095           don't use them. Since this is only for ABI-compatibility, and our
1096           API/ABI freeze is over in a few days, this whole thing will only
1097           last a few days, so don't bother trying to think up a meaningful
1098           name for the struct.
1099
1100 2005-11-17  Andy Wingo  <wingo@pobox.com>
1101
1102         * gst/gstclock.h (GstClock): Add rate and offset properties,
1103         preserving ABI stability. Add rate/offset accessors. Will file bug
1104         for the freeze break.
1105
1106         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1107         and offset, trying to keep precision and avoiding
1108         underflow/overflow.
1109         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1110         functions. Make gst_clock_set_time_adjust obsolete.
1111         (gst_clock_set_time_adjust): Note that this function is obsolete.
1112         Will file bug soon.
1113
1114         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1115         greppable by using GST_PADDING-1+1.
1116
1117 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1118
1119         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1120
1121         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1122           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1123
1124         * gst/gstpadtemplate.h:
1125         * gst/gstpluginfeature.h:
1126           Don't use c++ style comments in headers (#321638).
1127
1128 2005-11-16  Andy Wingo  <wingo@pobox.com>
1129
1130         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1131         buffer.
1132
1133         * check/net/gstnettimeprovider.c: Check to see that the time
1134         provider actually provides times. Works, yo!
1135
1136 2005-11-16  Wim Taymans  <wim@fluendo.com>
1137
1138         * check/Makefile.am:
1139         Enable more tests.
1140
1141         * check/elements/fakesrc.c: (GST_START_TEST):
1142         Set element to NULL before disposing it.
1143
1144 2005-11-16  Andy Wingo  <wingo@pobox.com>
1145
1146         * gst/net/Makefile.am:
1147         * gst/net/gstnet.h:
1148         * gst/net/gstnettimeprovider.c: 
1149         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1150         provider, include it from gstnet.h, and add it to the build.
1151
1152         * gst/net/gstnettimepacket.h: 
1153         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1154         sending and receiving.
1155
1156 2005-11-16  Wim Taymans  <wim@fluendo.com>
1157
1158         * check/Makefile.am:
1159         Enable valgrind check.
1160
1161         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1162         (gst_fake_src_alloc_buffer):
1163         Fix memleak.
1164
1165 2005-11-16  Wim Taymans  <wim@fluendo.com>
1166
1167         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1168         Call parent finalize too.
1169
1170 2005-11-16  Wim Taymans  <wim@fluendo.com>
1171
1172         * check/Makefile.am:
1173         Enable valgrind check that should work fine now.
1174
1175         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1176         * gst/gstqueue.c: (gst_queue_init):
1177         Fix memleaks in pad allocation.
1178
1179 2005-11-16  Andy Wingo  <wingo@pobox.com>
1180
1181         * gst/net/Makefile.am:
1182         * gst/net/gstnet.h: New part of core to hold network elements and
1183         objects. Put in core because it exposes API that applications want
1184         to use. The library is named libgstnet-tempname right now because
1185         of the existing libgstnet in gst-plugins-base. Solution is
1186         probably to rename the one in plugins-base; will file a bug for
1187         the freeze break.
1188
1189         * gst/net/gstnettimeprovider.c: 
1190         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1191         get_time call over the network.
1192
1193         * configure.ac: 
1194         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1195
1196         * check/Makefile.am:
1197         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1198         get additions shortly.
1199
1200 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1201
1202         * gst/gstpad.c: (gst_pad_new_from_static_template):
1203         * gst/gstpad.h:
1204           add gst_pad_new_from_static_template functions
1205         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1206         (gst_check_setup_sink_pad):
1207         * gst/elements/gsttee.c: (gst_tee_init):
1208           and use them
1209
1210 2005-11-16  Wim Taymans  <wim@fluendo.com>
1211
1212         * gst/gstpad.c: (gst_pad_pause_task):
1213         Removed warning, it's not really an error either.
1214
1215 2005-11-16  Wim Taymans  <wim@fluendo.com>
1216
1217         * gst/base/gstbasetransform.c:
1218         (gst_base_transform_prepare_output_buf),
1219         (gst_base_transform_event):
1220         Check if the caps are NULL, this can happen if the element
1221         is shutting down and the pad caps are set to NULL.
1222
1223 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1224
1225         * gst/elements/gsttee.c: (gst_tee_init):
1226           fix pad template leak in tee
1227
1228 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1229
1230         * gst/glib-compat.c: (g_value_dup_gst_object):
1231         * gst/glib-compat.h:
1232         * gst/gstpad.c: (gst_pad_set_property):
1233           use gst_object_ref when setting the pad template; this will
1234           trigger the pad template leaks on GLib 2.6 and the slaves
1235
1236 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1237
1238         * gst/glib-compat.c: (gst_flags_get_first_value):
1239         * gst/glib-compat.h:
1240         * gst/gstregistryxml.c:
1241           remove functions copied from GLib 2.6
1242
1243 2005-11-16  Michael Smith <msmith@fluendo.com>
1244
1245         * gst/Makefile.am:
1246           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1247           do, but only breaks with newer valgrind versions. We're not a
1248           valgrind tool, we have no link-time dependencies on libcoregrind.
1249
1250 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1251
1252         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1253           some debug changes
1254         * gst/gstmessage.h:
1255           typo fixes
1256
1257 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1258
1259         * gst/base/gstbasesrc.c: (gst_base_src_init):
1260         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1261         * gst/gstqueue.c: (gst_queue_init):
1262         * gst/gstregistryxml.c: (load_feature):
1263           Revert all these unrefs, they don't even pass make check !
1264
1265 2005-11-15  Johan Dahlin  <johan@gnome.org>
1266
1267         * gst/base/gstbasesrc.c: (gst_base_src_init):
1268         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1269         * gst/gstqueue.c: (gst_queue_init): 
1270         Free pad templates, fixes a couple of leaks.
1271
1272 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1273
1274         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1275
1276         * gst/gstpad.c: (gst_pad_get_property):
1277           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1278           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1279           (#321452)
1280
1281 2005-11-15  Wim Taymans  <wim@fluendo.com>
1282
1283         * gst/gstevent.c:
1284         Small doc update.
1285
1286 2005-11-15  Andy Wingo  <wingo@pobox.com>
1287
1288         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1289
1290         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1291         using GST_CLOCK_TIME_NONE to disable base time management.
1292         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1293         time if it was NONE before.
1294         (gst_pipeline_change_state): Only munge the base time if
1295         stream_time != GST_CLOCK_TIME_NONE.
1296
1297         * check/gst/gstpipeline.c (test_base_time): Punt around the
1298         problem of the probe not being called, because that's not the
1299         issue I'm looking at. Add a check that setting stream_time to NONE
1300         disables base time management.
1301         
1302 2005-11-15  Wim Taymans  <wim@fluendo.com>
1303
1304         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1305         segment_stop == -1 at startup.
1306
1307         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1308         (gst_base_transform_change_state):
1309         Init segment values at start.
1310
1311 2005-11-15  Wim Taymans  <wim@fluendo.com>
1312
1313         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1314         0 segment values are 0 in any format.
1315
1316         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1317         * gst/base/gstbasetransform.h:
1318         Parse newsegment correctly in basetransform
1319
1320         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1321         Sync to clock using updated segment values.
1322
1323 2005-11-15  Andy Wingo  <wingo@pobox.com>
1324
1325         * check/gst/gstpipeline.c (test_base_time): Add check that the
1326         base time and stream time are reset correctly.
1327
1328 2005-11-15  Wim Taymans  <wim@fluendo.com>
1329
1330         * docs/design/part-TODO.txt:
1331         Some more TODO items.
1332
1333 2005-11-15  Andy Wingo  <wingo@pobox.com>
1334
1335         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1336         error if the user selected "no clock" as the clocking method.
1337
1338         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1339         timestamps with live capture.
1340
1341         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1342         is 0 but we are a live source, timestamp the buffers using the
1343         element's clock.
1344
1345 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1346
1347         * docs/gst/gstreamer-sections.txt:
1348         * gst/gsterror.c:
1349         * gst/gstghostpad.c:
1350         * gst/gstobject.h:
1351         * gst/gstxml.c:
1352           more section docs
1353
1354 2005-11-14  Wim Taymans  <wim@fluendo.com>
1355
1356         * common/gst.supp:
1357           add suppressions from Wim's Debian machine
1358
1359 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1360
1361         * common/gst.supp:
1362           add suppressions from Andy's AMD64 Ubuntu machine
1363
1364 2005-11-14  Andy Wingo  <wingo@pobox.com>
1365
1366         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1367         STATE_LOCK not necessary. Fixes #311489.
1368
1369         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1370         #305291.
1371
1372         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1373         this function is not implemented.
1374
1375 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1376
1377         * gst/base/gstbasetransform.c:
1378         (gst_base_transform_prepare_output_buf):
1379         Ref the source pad caps while we need them.
1380         Fixes (#321386)
1381
1382 2005-11-11  Wim Taymans  <wim@fluendo.com>
1383
1384         * docs/gst/gstreamer-sections.txt:
1385         Added some docs for GstCollectData.
1386
1387         * gst/base/gstadapter.c:
1388         Some small code example fix.
1389
1390         * gst/base/gstcollectpads.c:
1391         * gst/base/gstcollectpads.h:
1392         Document some more.
1393
1394 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1395
1396         * configure.ac: back to HEAD
1397
1398 === release 0.9.5 ===
1399
1400 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
1401
1402         * configure.ac:
1403           releasing 0.9.5, "Bike Lunch Day"
1404
1405 2005-11-11  Wim Taymans  <wim@fluendo.com>
1406
1407         * gst/gstbuffer.c: (_gst_buffer_copy):
1408         Copy more flags.
1409
1410         * gst/gstcaps.c: (gst_caps_is_equal):
1411         Fix some docs.
1412         Make _is_equal fast in the trivial cases.
1413
1414         * gst/gstminiobject.c:
1415         * gst/gstminiobject.h:
1416         More docs. Spifify .h file.
1417
1418         * gst/gstutils.c:
1419         Small doc update.
1420
1421 2005-11-11  Wim Taymans  <wim@fluendo.com>
1422
1423         * gst/base/gstbasetransform.c:
1424         (gst_base_transform_prepare_output_buf),
1425         (gst_base_transform_handle_buffer):
1426         Small cleanups.
1427         If we're processing a buffer and need to allocate an output
1428         buffer, we cannot accept a format change. If we did get a 
1429         format change, we have to alloc a buffer ourselves of the 
1430         right size.
1431
1432 2005-11-11  Wim Taymans  <wim@fluendo.com>
1433
1434         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1435         While checking the flag for reentrancy in the gstcaps function
1436         is nice to detect recursive invocations, it also makes it 
1437         impossible to call getcaps from multiple threads, which must be
1438         possible. So, checking for recursive calls has to go.
1439
1440 2005-11-11  Michael Smith <msmith@fluendo.com>
1441
1442         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1443           Don't sync on buffers that fall partially outside our current
1444           segment. Prevents an assertion failure/abort playing some files.
1445
1446 2005-11-10  Andy Wingo  <wingo@pobox.com>
1447
1448         * check/gst/gstbin.c (test_message_state_changed_children): Style
1449         fix..
1450
1451         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1452         gst_bus_poll with the signal watch. Ensures that poll and a signal
1453         watch see the same messages.
1454
1455         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1456         a poll and a watch at the same time get the same messages.
1457
1458 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1459
1460         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1461         * gst/gstcaps.c: (gst_caps_intersect):
1462           Don't call gst_caps_do_simplify - it doesn't respect order of caps
1463           and it's not needed.
1464
1465 2005-11-10  Wim Taymans  <wim@fluendo.com>
1466
1467         * docs/design/part-TODO.txt:
1468         Updated todo.
1469
1470 2005-11-10  Wim Taymans  <wim@fluendo.com>
1471
1472         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1473         * gst/base/gstbasesrc.c: (gst_base_src_wait),
1474         (gst_base_src_do_sync), (gst_base_src_get_range):
1475         Implement clock sync in base class.
1476
1477 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1478
1479         patch by: Tim-Philipp Müller <tim at centricular dot net>
1480
1481         * gst/gststructure.c: (gst_structure_parse_field),
1482         (gst_structure_from_string):
1483           Forward-port a 0.8 patch to handle escaped spaces in structure string,
1484           so that gst_parse_launch() can deal with spaces in filtered link
1485           caps (fixes #164479)
1486         * check/gst/capslist.h:
1487         * check/gst/gststructure.c: (GST_START_TEST):
1488           add unit tests for this change
1489
1490 2005-11-10  Wim Taymans  <wim@fluendo.com>
1491
1492         * docs/gst/gstreamer-sections.txt:
1493         * gst/gstelement.c:
1494         * gst/gstelement.h:
1495         Fix docs, move some STATE macros to private.
1496
1497 2005-11-10  Wim Taymans  <wim@fluendo.com>
1498
1499         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1500         Added check for bug #317341
1501
1502         * gst/gstbuffer.c:
1503         * gst/gstbuffer.h:
1504         Some more spiffifying.
1505
1506         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1507         Call peer linkfunction if we are a source pad. Totally fixes
1508         #317341
1509
1510         * gst/gstpad.c:
1511         Update docs, source pads should call the peer linkfunction
1512         so they can atomically perform the pad link.
1513
1514 2005-11-09  Wim Taymans  <wim@fluendo.com>
1515
1516         * gst/gstbuffer.c:
1517         * gst/gstbuffer.h:
1518         Uber-spiffy-spiffify some more.
1519
1520 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
1521
1522         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1523         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1524         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1525         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1526         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1527         * gst/gstpad.c: (gst_pad_init):
1528           Use GST_DEBUG_FUNCPTR() more extensively.
1529
1530 2005-11-09  Wim Taymans  <wim@fluendo.com>
1531
1532         * gst/gstobject.c: (gst_object_class_init):
1533         * gst/gstobject.h:
1534         Documentation fixes.
1535
1536 2005-11-09  Edward Hervey  <edward@fluendo.com>
1537
1538         * gst/gsttypefindfactory.c:
1539         Fix docs.
1540         
1541 2005-11-09  Edward Hervey  <edward@fluendo.com>
1542
1543         * gst/base/gsttypefindhelper.c:
1544         * gst/gsttypefind.c:
1545         * gst/gsttypefind.h:
1546         Fix docs.
1547
1548 2005-11-09  Wim Taymans  <wim@fluendo.com>
1549
1550         * gst/gstiterator.c:
1551         Fix revision data.
1552
1553         * gst/gsttask.c:
1554         * gst/gsttask.h:
1555         Fix docs.
1556
1557 2005-11-09  Wim Taymans  <wim@fluendo.com>
1558
1559         * gst/gstevent.h:
1560         * gst/gsturi.h:
1561         Fix docs.
1562
1563 2005-11-09  Wim Taymans  <wim@fluendo.com>
1564
1565         * docs/gst/gstreamer-sections.txt:
1566         Moved the message async delivery private lock and cond
1567         to the private section.
1568
1569         * gst/gstmessage.c:
1570         * gst/gstmessage.h:
1571         Fixed docs.
1572
1573 2005-11-09  Edward Hervey  <edward@fluendo.com>
1574
1575         * docs/gst/gstreamer-sections.txt:
1576         * gst/gsturi.c:
1577         * gst/gsturi.h:
1578         Document GstURIHandler
1579
1580 2005-11-09  Wim Taymans  <wim@fluendo.com>
1581
1582         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1583         (gst_iterator_find_custom):
1584         * gst/gstiterator.h:
1585         Fix iterator docs.
1586
1587 2005-11-09  Wim Taymans  <wim@fluendo.com>
1588
1589         * gst/gstbin.h:
1590         Document another field.
1591
1592         * gst/gststructure.c:
1593         * gst/gststructure.h:
1594         Document.
1595
1596 2005-11-09  Wim Taymans  <wim@fluendo.com>
1597
1598         * gst/gstbin.h:
1599         Documented structs.
1600
1601 2005-11-09  Wim Taymans  <wim@fluendo.com>
1602
1603         * docs/gst/gstreamer-sections.txt:
1604         Added some new macros.
1605
1606         * gst/gstclock.c:
1607         * gst/gstclock.h:
1608         * gst/gstobject.h:
1609         Docs updates.
1610
1611 2005-11-09  Wim Taymans  <wim@fluendo.com>
1612
1613         * docs/design/part-TODO.txt:
1614         Some more items for the TODO
1615
1616         * gst/gstcaps.c:
1617         * gst/gstcaps.h:
1618         Document GstCaps.
1619
1620 2005-11-09  Andy Wingo  <wingo@pobox.com>
1621
1622         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1623         to work on something else now tho...
1624
1625         * gst/base/gstadapter.c: More adapter docs.
1626
1627         * gst/elements/gstfilesink.c (gst_file_sink_start) 
1628         (gst_file_sink_stop): New functions, replace the state change
1629         handler.
1630         (gst_file_sink_class_init): Hook up the start and stop functions.
1631         (gst_file_sink_base_init): Don't set the state change handler any
1632         more. It was a bit ugly too, being set from here...
1633         (gst_file_sink_get_property, gst_file_sink_set_property):
1634         Cleanups...
1635         (gst_file_sink_set_location): More robust check that doesn't call
1636         GST_STATE. Ugggggg.
1637
1638 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
1639
1640         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1641           Hold STREAM_LOCK while pushing newsegment or tag events as well.
1642
1643 2005-11-08  Wim Taymans  <wim@fluendo.com>
1644
1645         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1646         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1647         (gst_base_sink_chain), (gst_base_sink_change_state):
1648         * gst/base/gstbasesink.h:
1649         * gst/base/gstbasesrc.h:
1650         * gst/gstelement.h:
1651         * gst/gstevent.h:
1652         Avoid excessive typechecking in macros.
1653
1654         * gst/gstminiobject.c: (gst_mini_object_get_type),
1655         (gst_mini_object_init), (gst_mini_object_new),
1656         (gst_mini_object_free):
1657         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1658         (gst_object_finalize):
1659         Remove cruft code, optimize alloc_trace.
1660
1661 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1662
1663         * docs/faq/gst-uninstalled:
1664           fix up PS1 for systems that try to reset it
1665
1666 2005-11-07  Wim Taymans  <wim@fluendo.com>
1667
1668         * gst/base/gstbasesrc.c: (gst_base_src_init),
1669         (gst_base_src_get_range):
1670         Set the segment_end to -1 initially. Fixed typefind.
1671
1672 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1673
1674         * gst/base/gstadapter.c:
1675           Debug category should be 'adapter', not 'GstAdapter'.
1676           
1677         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1678         (gst_collectpads_class_init), (gst_collectpads_init),
1679         (gst_collectpads_peek), (gst_collectpads_pop),
1680         (gst_collectpads_event), (gst_collectpads_chain):
1681           Add debug category and some debugging output. Use boilerplate
1682           macros. Remove some extraneous words from docs.
1683
1684 2005-11-05  Andy Wingo  <wingo@pobox.com>
1685
1686         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1687         macro.
1688
1689 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1690
1691         * docs/gst/gstreamer-sections.txt:
1692         * gst/gstcaps.h:
1693         * gst/gstinfo.c:
1694         * gst/gstminiobject.h:
1695         * gst/gstobject.h:
1696         * gst/gstutils.h:
1697           more docs added
1698
1699 2005-11-04  Wim Taymans  <wim@fluendo.com>
1700
1701         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1702         Small update to stop at the configured segment_end
1703         position.
1704
1705 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1706
1707         * gst/gstregistry.c:
1708         * gst/gstregistry.h:
1709           added missing docs
1710
1711 2005-11-04  Edward Hervey  <edward@fluendo.com>
1712
1713         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1714         Check if we are doing a segment seek and have arrived at the
1715         end of that segment.
1716
1717 2005-11-04  Wim Taymans  <wim@fluendo.com>
1718
1719         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1720         Don't leak a mutex unlock in case of an error.
1721
1722         * gst/gstbus.h:
1723         Doc fixes.
1724
1725 2005-11-04  Wim Taymans  <wim@fluendo.com>
1726
1727         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1728         (gst_bus_post):
1729         Get the context to wake up only once.
1730
1731 2005-11-03  Wim Taymans  <wim@fluendo.com>
1732
1733         * check/states/sinks.c: (GST_START_TEST):
1734         Uncomment fixed check.
1735
1736         * docs/design/part-TODO.txt:
1737         Updated TODO.
1738
1739         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1740         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1741         (gst_base_sink_get_position):
1742         If we are going to PLAYING, post the right pending state
1743         when we post the intermediate paused message.
1744
1745         * gst/gstelement.c: (gst_element_continue_state),
1746         (gst_element_set_state_func), (gst_element_change_state):
1747         Don't post state changes that were between the same state
1748         and were not ASYNC.
1749
1750 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1751
1752         * docs/gst/gstreamer-sections.txt:
1753         * gst/gstcaps.h:
1754         * gst/gstinfo.c:
1755         * gst/gstminiobject.h:
1756         * gst/gstobject.h:
1757         * gst/gstutils.h:
1758           more docs and doc style fixes
1759
1760 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1761
1762         * docs/gst/gstreamer-sections.txt:
1763         * gst/gstelement.c:
1764         * gst/gstminiobject.c:
1765         doc fixes
1766
1767 2005-11-03  Andy Wingo  <wingo@pobox.com>
1768
1769         * check/states/sinks.c (test_livesrc_sink): Add checks that the
1770         state-changed messages actually have the right order and the right
1771         values.
1772
1773 2005-11-03  Wim Taymans  <wim@fluendo.com>
1774
1775         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1776         Added some more checks. Specifically the case where NO_PREROLL
1777         elements are in the pipeline.
1778
1779         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1780         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1781         (gst_base_sink_get_position):
1782         Post READY->PAUSED state change messages too.
1783         Fix bug where VOID was posted as pending state...
1784
1785         * gst/gstbin.c: (gst_bin_recalc_state):
1786         use _element_continue_state() to continue the state change.
1787
1788         * gst/gstelement.c: (gst_element_continue_state),
1789         (gst_element_commit_state), (gst_element_set_state_func),
1790         (gst_element_change_state), (gst_element_change_state_func):
1791         Lots of state change cleanups, assign the STATE_RETURN in
1792         a new continue_state() function that also propagates the
1793         last return value from a state change to the app.
1794         Update some debug statements with proper category.
1795
1796 2005-11-03  Wim Taymans  <wim@fluendo.com>
1797
1798         * docs/design/part-events.txt:
1799         * docs/design/part-gstpipeline.txt:
1800         * docs/design/part-messages.txt:
1801         * docs/design/part-overview.txt:
1802         * docs/design/part-seeking.txt:
1803         * docs/design/part-states.txt:
1804         * docs/design/part-trickmodes.txt:
1805         * docs/manual/advanced-position.xml:
1806         Small docs updates.
1807
1808         * gst/gstobject.h:
1809         People think !! is ugly, this looks better.
1810
1811         * gst/gstpad.c: (gst_pad_set_blocked_async):
1812         Remove !! since it's fixed elsewhere now.
1813
1814 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1815
1816         * gst/gstminiobject.h:
1817         * gst/gstobject.h:
1818           Add !! to _FLAG_IS_SET macros to make the result boolean.
1819
1820 2005-11-03  Edward Hervey  <edward@fluendo.com>
1821
1822         * gst/gstpad.c: (gst_pad_set_blocked_async):
1823         comparing a flag and a gboolean rarely returns coherent results...
1824         Added two characters (!!) to make that work correctly.
1825         
1826 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1827
1828         * gst/gstbus.c: (gst_bus_class_init):
1829           Fix some typos.
1830           
1831         * gst/gstqueue.c: (gst_queue_loop):
1832           Don't assume a miniobject that isn't a buffer is an
1833           event (it could be that there is a refcounting
1834           problem somewhere and the pointer is stale and
1835           refers to an already destroyed miniobject).
1836
1837 2005-11-03  Julien MOUTTE  <julien@moutte.net>
1838
1839         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1840
1841 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1842
1843         * docs/manual/advanced-position.xml:
1844           Update seek example and explanations to current 0.9 API.
1845
1846         * gst/elements/gsttypefindelement.c:
1847         (gst_type_find_element_activate):
1848           Remove FIXME comment now that the found caps
1849           are unreffed.
1850
1851 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1852
1853         * gst/gstregistryxml.c: (load_feature):
1854           Add another GST_STR_NULL instance
1855
1856 2005-11-02  Edward Hervey  <edward@fluendo.com>
1857
1858         * gst/gstpad.c: (handle_pad_block):
1859         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
1860         
1861 2005-11-02  Wim Taymans  <wim@fluendo.com>
1862
1863         * gst/gstbin.c:
1864         Fix typo in docs.
1865
1866         * gst/gstelement.c: (gst_element_commit_state):
1867         Remove unused value.
1868
1869         * gst/gstiterator.c:
1870         Mention that the returned element is reffed in the docs.
1871
1872 2005-11-02  Wim Taymans  <wim@fluendo.com>
1873
1874         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
1875         (gst_pad_push), (gst_pad_push_event):
1876         Unlock blocked pads when they are flushed.
1877
1878 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1879
1880         * docs/README:
1881         * docs/gst/gstreamer-sections.txt:
1882         * gst/gstbin.c:
1883           doc updates
1884         * gst/gstregistry.c: (gst_registry_scan_path_level):
1885           fix for a nasty little missed situation where an installed plug-in
1886           which was in the cache did not get overridden by an uninstalled one
1887           which was earlier in the plugin path because the newly created plugin
1888           for the uninstalled one (not in the registry) didn't get its
1889           ->registered set to TRUE
1890
1891 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1892
1893         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
1894         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
1895         (gst_collectpads_is_active), (gst_collectpads_collect),
1896         (gst_collectpads_collect_range), (gst_collectpads_start),
1897         (gst_collectpads_stop), (gst_collectpads_peek),
1898         (gst_collectpads_pop), (gst_collectpads_available),
1899         (gst_collectpads_read), (gst_collectpads_flush):
1900           Guard public API with assertions.
1901         
1902         * gst/gstpad.c:
1903           Fix docs for gst_pad_set_link_function().
1904
1905 2005-11-02  Johan Dahlin  <johan@gnome.org>
1906
1907         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
1908         Unref found_caps after we used it.
1909
1910 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1911
1912         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
1913           Don't try to ref NULL.
1914
1915 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1916
1917         * win32/common/config.h.in:
1918           provide a GST_FUNCTION that just gives a string for now
1919
1920 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1921
1922         * win32/common/gstenumtypes.c: (register_gst_object_flags),
1923         (gst_object_flags_get_type), (register_gst_bin_flags),
1924         (gst_bin_flags_get_type), (register_gst_buffer_flag),
1925         (gst_buffer_flag_get_type), (register_gst_bus_flags),
1926         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1927         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
1928         (gst_clock_return_get_type), (register_gst_clock_entry_type),
1929         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1930         (gst_clock_flags_get_type), (register_gst_state),
1931         (gst_state_get_type), (register_gst_state_change_return),
1932         (gst_state_change_return_get_type), (register_gst_state_change),
1933         (gst_state_change_get_type), (register_gst_element_flags),
1934         (gst_element_flags_get_type), (register_gst_core_error),
1935         (gst_core_error_get_type), (register_gst_library_error),
1936         (gst_library_error_get_type), (register_gst_resource_error),
1937         (gst_resource_error_get_type), (register_gst_stream_error),
1938         (gst_stream_error_get_type), (register_gst_event_type),
1939         (gst_event_type_get_type), (register_gst_seek_type),
1940         (gst_seek_type_get_type), (register_gst_seek_flags),
1941         (gst_seek_flags_get_type), (register_gst_format),
1942         (gst_format_get_type), (register_gst_index_certainty),
1943         (gst_index_certainty_get_type), (register_gst_index_entry_type),
1944         (gst_index_entry_type_get_type),
1945         (register_gst_index_lookup_method),
1946         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1947         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1948         (gst_index_resolver_method_get_type), (register_gst_index_flags),
1949         (gst_index_flags_get_type), (register_gst_debug_level),
1950         (gst_debug_level_get_type), (register_gst_debug_color_flags),
1951         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1952         (gst_iterator_result_get_type), (register_gst_iterator_item),
1953         (gst_iterator_item_get_type), (register_gst_message_type),
1954         (gst_message_type_get_type), (register_gst_mini_object_flags),
1955         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1956         (gst_pad_link_return_get_type), (register_gst_flow_return),
1957         (gst_flow_return_get_type), (register_gst_activate_mode),
1958         (gst_activate_mode_get_type), (register_gst_pad_direction),
1959         (gst_pad_direction_get_type), (register_gst_pad_flags),
1960         (gst_pad_flags_get_type), (register_gst_pad_presence),
1961         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1962         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1963         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1964         (gst_plugin_error_get_type), (register_gst_plugin_flags),
1965         (gst_plugin_flags_get_type), (register_gst_rank),
1966         (gst_rank_get_type), (register_gst_query_type),
1967         (gst_query_type_get_type), (register_gst_tag_merge_mode),
1968         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1969         (gst_tag_flag_get_type), (register_gst_task_state),
1970         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1971         (gst_alloc_trace_flags_get_type),
1972         (register_gst_type_find_probability),
1973         (gst_type_find_probability_get_type), (register_gst_uri_type),
1974         (gst_uri_type_get_type), (register_gst_parse_error),
1975         (gst_parse_error_get_type):
1976         * win32/common/gstversion.h:
1977           update win32 copies
1978
1979 2005-11-01  Luca Ognibene  <luogni@tin.it>
1980
1981         * gst/gst.c:
1982           fix docs. popt is dead, long live GOption.
1983
1984 2005-10-31  Wim Taymans  <wim@fluendo.com>
1985
1986         * gst/gstbuffer.h:
1987         Small doc fix.
1988
1989 2005-10-31  Andy Wingo  <wingo@pobox.com>
1990
1991         * Boo!
1992
1993         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
1994
1995         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
1996         need to serialize property notifications on GLib 2.8. GLib 2.6 has
1997         the possibility of deadlocks here if code calling notify() or
1998         set() has a lock that can be taken in another notify handler (ABBA
1999         with class lock and e.g. python GIL state lock).
2000
2001 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2002
2003         * gst/gstbus.c: Doc updates.
2004
2005 2005-10-28  Wim Taymans  <wim@fluendo.com>
2006
2007         * docs/design/part-TODO.txt:
2008         * gst/gstiterator.c:
2009         * gst/gstsystemclock.c:
2010         * gst/gstsystemclock.h:
2011         Doc updates.
2012
2013 2005-10-28  Edward Hervey  <edward@fluendo.com>
2014
2015         * docs/gst/gstreamer-docs.sgml:
2016         * docs/gst/gstreamer-sections.txt:
2017         the GstURIType documentation page is private, it only defines GstURIType
2018         which should be defined in the GstURIHandler page
2019         
2020 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2021
2022         * gst/gstbin.c: (gst_bin_class_init):
2023         * gst/gstbin.h:
2024         * gst/gstutils.c:
2025         Documentation updates.
2026
2027 2005-10-28  Wim Taymans  <wim@fluendo.com>
2028
2029         * docs/gst/gstreamer-sections.txt:
2030         * gst/gstclock.c:
2031         * gst/gstclock.h:
2032         Documented the clocks.
2033
2034 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2035
2036         * docs/gst/gstreamer-sections.txt:
2037           move some macros to private sections
2038         * gst/gstminiobject.c:
2039         * gst/gstminiobject.h:
2040           add descriptions provided by ds and some more
2041         * gst/gstpad.h:
2042           mark macro as to be removed
2043
2044 2005-10-28  Wim Taymans  <wim@fluendo.com>
2045
2046         * docs/design/part-TODO.txt:
2047         Add an item to TODO.
2048
2049         * gst/gstiterator.c: (gst_iterator_fold),
2050         (gst_iterator_find_custom):
2051         * gst/gstiterator.h:
2052         Add iterator docs.
2053
2054 2005-10-28  Wim Taymans  <wim@fluendo.com>
2055
2056         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2057         (gst_base_transform_init):
2058         Don't leak class.
2059
2060         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2061         An EOS event marks the queue as completely filled.
2062
2063 2005-10-27  Wim Taymans  <wim@fluendo.com>
2064
2065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2066         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2067         Some more debugging.
2068
2069         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2070         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2071         (gst_base_transform_event), (gst_base_transform_getrange),
2072         (gst_base_transform_chain):
2073         * gst/base/gstbasetransform.h:
2074         Fix debugging,
2075         Protect transform and concurrent buffer alloc with a new lock.
2076         Try not to break ABI/API.
2077
2078 2005-10-27  Wim Taymans  <wim@fluendo.com>
2079
2080         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2081         (gst_base_src_init), (gst_base_src_query),
2082         (gst_base_src_default_newsegment),
2083         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2084         (gst_base_src_send_event), (gst_base_src_event_handler),
2085         (gst_base_src_pad_get_range), (gst_base_src_loop),
2086         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2087         (gst_base_src_start), (gst_base_src_deactivate),
2088         (gst_base_src_activate_push), (gst_base_src_change_state):
2089         Move some stuff around and cleanup things.
2090
2091 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2092
2093         * gst/base/gstbasesrc.c: (gst_base_src_query):
2094           Add missing break statements.
2095
2096 2005-10-27  Wim Taymans  <wim@fluendo.com>
2097
2098         * check/gst/gstbin.c: (GST_START_TEST):
2099         An extra refcount is taken in basesrc.
2100
2101         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2102         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2103         (gst_base_src_loop):
2104         Small cleanups, check for flushing after being unlocked from the 
2105         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2106         Don't send out EOS when going to READY.
2107
2108 2005-10-27  Wim Taymans  <wim@fluendo.com>
2109
2110         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2111         (gst_base_sink_get_position):
2112         Some more debug.
2113
2114         * gst/gstbin.c: (message_check), (bin_replace_message),
2115         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2116         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2117         (bin_query_duration_init), (bin_query_duration_fold),
2118         (bin_query_duration_done), (bin_query_generic_fold),
2119         (gst_bin_query):
2120         * tools/gst-launch.c: (main):
2121         Remove old option.
2122
2123 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2124
2125         * examples/controller/audio-example.c: (main):
2126         * examples/queue/queue.c: (event_loop):
2127         * gst/base/gstbasetransform.h:
2128         * gst/gstelement.c: (gst_element_send_event):
2129         * gst/gstevent.h:
2130         * gst/gstpad.c: (gst_pad_send_event):
2131           fixing examples
2132           fixing docs typos
2133           changing log priority in error situations
2134
2135 2005-10-25  Wim Taymans  <wim@fluendo.com>
2136
2137         * gst/gstbin.c: (message_check), (bin_replace_message),
2138         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2139         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2140         (bin_query_duration_init), (bin_query_duration_fold),
2141         (bin_query_duration_done), (bin_query_generic_fold),
2142         (gst_bin_query):
2143         Some doc and debug updates.
2144         Cache previously requested query DURATION for speed. invalidate
2145         cached duration if element posts a DURATION message.
2146
2147 2005-10-25  Wim Taymans  <wim@fluendo.com>
2148
2149         * docs/design/part-TODO.txt:
2150         Update TODO.
2151
2152         * gst/gstbin.c: (message_check), (bin_replace_message),
2153         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2154         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2155         (bin_query_duration_init), (bin_query_duration_fold),
2156         (bin_query_duration_done), (bin_query_generic_fold),
2157         (gst_bin_query):
2158         Handle SEGMENT_START/DONE messages correctly.
2159         More evolved query algorithm that handles duration queries
2160         correctly.
2161
2162         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2163         (gst_element_get_state_func), (gst_element_abort_state),
2164         (gst_element_commit_state), (gst_element_lost_state):
2165         Some more debugging.
2166
2167         * gst/gstmessage.h:
2168         Added doc.
2169
2170 2005-10-25  Wim Taymans  <wim@fluendo.com>
2171
2172         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2173         Don't use invalid stream_time.
2174
2175         * gst/gstevent.c: (gst_event_new_newsegment):
2176         stream_time in newsegment cannot be undefined.
2177
2178 2005-10-24  Wim Taymans  <wim@fluendo.com>
2179
2180         * gst/gstbus.c:
2181         Doc fix.
2182
2183         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2184         (gst_queue_loop):
2185         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2186
2187 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2188
2189         * docs/libs/tmpl/gstdparam.sgml:
2190         * docs/libs/tmpl/gstdplinint.sgml:
2191         * docs/libs/tmpl/gstdpman.sgml:
2192         * docs/libs/tmpl/gstdpsmooth.sgml:
2193         * docs/libs/tmpl/gstunitconvert.sgml:
2194           these are obsolete
2195
2196 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2197
2198         * configure.ac:
2199           back to HEAD
2200
2201 === release 0.9.4 ===
2202
2203 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2204
2205         * configure.ac:
2206           releasing 0.9.4, "Tyrannosaurus Rex"
2207
2208 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2209
2210         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2211         (gst_file_sink_get_current_offset):
2212           Use fseeko() and ftello() if available. When falling back on
2213           lseek() to get the current offset, fflush() first to make sure
2214           everything is up-to-date and we get the right offset.
2215
2216 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2217
2218         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2219         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2220         * gst/gsterror.c: (_gst_stream_errors_init):
2221         * gst/gsterror.h:
2222         * gst/gstqueue.c: (gst_queue_loop):
2223         * po/POTFILES.in:
2224           remove prematurely added error category and clean up the instances
2225
2226 2005-10-21  Wim Taymans  <wim@fluendo.com>
2227
2228         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2229         (gst_base_sink_get_position), (gst_base_sink_query),
2230         (gst_base_sink_change_state):
2231         Simply set the right flag when going to playing, that's all
2232         we need to do instead of calling a function inside the object
2233         lock (that could take the lock as well and deadlock)
2234
2235 2005-10-21  Wim Taymans  <wim@fluendo.com>
2236
2237         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2238         (gst_base_src_loop):
2239         Don't warn, the peer element knows what to do best when
2240         the seek failed, it might try something else.
2241
2242 2005-10-21  Wim Taymans  <wim@fluendo.com>
2243
2244         * gst/base/gstbasesrc.c: (gst_base_src_init),
2245         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2246         Fix seeking.
2247
2248 2005-10-21  Wim Taymans  <wim@fluendo.com>
2249
2250         * docs/design/part-segments.txt:
2251         More docs.
2252
2253         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2254         Correctly set caps, even on the subbufer.
2255
2256 2005-10-21  Wim Taymans  <wim@fluendo.com>
2257
2258         * docs/gst/gstreamer-docs.sgml:
2259         * docs/gst/gstreamer-sections.txt:
2260         * gst/gstelement.h:
2261         * gst/gstevent.c:
2262         * gst/gstevent.h:
2263         * gst/gstmessage.h:
2264         * gst/gstpad.h:
2265         * gst/gstparse.h:
2266         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2267         * gst/gsttask.h:
2268         * gst/gstutils.c:
2269         * gst/gstutils.h:
2270         And 2% more doc coverage.
2271
2272 2005-10-21  Andy Wingo  <wingo@pobox.com>
2273
2274         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2275         position reporting.
2276
2277 2005-10-20  Wim Taymans  <wim@fluendo.com>
2278
2279         * gst/gsterror.c: (gst_error_get_message):
2280         * gst/gstparse.h:
2281         * gst/gstquery.h:
2282         * gst/gststructure.c:
2283         * gst/gsttrace.c:
2284         * gst/gstutils.c:
2285         More docs.
2286
2287 2005-10-20  Wim Taymans  <wim@fluendo.com>
2288
2289         * gst/gstbuffer.h:
2290         * gst/gstpad.c:
2291         * gst/gstparse.c:
2292         Another 1% more coverage.
2293
2294 2005-10-20  Wim Taymans  <wim@fluendo.com>
2295
2296         * docs/gst/gstreamer-sections.txt:
2297         * gst/gstelement.c: (gst_element_get_state_func),
2298         (gst_element_abort_state), (gst_element_commit_state),
2299         (gst_element_lost_state):
2300         * gst/gstevent.h:
2301         * gst/gstquery.c: (gst_query_set_position),
2302         (gst_query_parse_position), (gst_query_set_duration),
2303         (gst_query_parse_duration), (gst_query_new_convert):
2304         * gst/gstutils.c:
2305         Yay! 1% more docs coverage.
2306
2307 2005-10-20  Wim Taymans  <wim@fluendo.com>
2308
2309         * gst/gstpad.h:
2310         * gst/gstquery.c: (gst_query_set_position),
2311         (gst_query_parse_position), (gst_query_set_duration),
2312         (gst_query_parse_duration), (gst_query_new_convert):
2313         * gst/gstquery.h:
2314         * gst/gstutils.c: (gst_element_query_convert):
2315         * gst/gstutils.h:
2316         Docs and consistency fixes.
2317
2318 2005-10-20  Wim Taymans  <wim@fluendo.com>
2319
2320         * gst/gsttask.c:
2321         * gst/gsttask.h:
2322         More docs.
2323
2324 2005-10-20  Wim Taymans  <wim@fluendo.com>
2325
2326         * gst/gstbin.c: (message_check), (bin_replace_message),
2327         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2328         (update_degree), (gst_bin_sort_iterator_next),
2329         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2330         Reworked the message handling a bit, cache the messages instead of
2331         only the senders. alows us to do more in the future.
2332
2333 2005-10-20  Wim Taymans  <wim@fluendo.com>
2334
2335         * docs/design/part-TODO.txt:
2336         Update TODO
2337
2338         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2339         (gst_base_sink_query):
2340         Don't use clock time to report position when in EOS.
2341
2342 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2343
2344         * tools/gst-inspect.c: (print_interfaces),
2345         (print_element_properties_info), (print_element_info):
2346           Fix interface output with gst-inspect -a; don't print
2347           newlines after double/float properties.
2348
2349 2005-10-20  Wim Taymans  <wim@fluendo.com>
2350
2351         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2352         (gst_base_sink_query):
2353         Speed up current position calculation.
2354
2355         * gst/base/gstbasesrc.c: (gst_base_src_query),
2356         (gst_base_src_default_newsegment):
2357         Correctly set stream position in newsegment.
2358
2359         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2360         (update_degree), (gst_bin_sort_iterator_next),
2361         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2362         * gst/gstmessage.c: (gst_message_new_custom):
2363         Clean up debugging info
2364
2365         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2366         (gst_queue_loop), (gst_queue_handle_src_query):
2367         Pause task faster.
2368
2369 2005-10-19  Wim Taymans  <wim@fluendo.com>
2370
2371         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2372         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2373         Fix query handling again.
2374
2375 2005-10-19  Wim Taymans  <wim@fluendo.com>
2376
2377         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2378         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2379         * gst/base/gstbasesrc.c: (gst_base_src_query):
2380         * gst/elements/gstfilesink.c: (gst_file_sink_query):
2381         * gst/elements/gsttypefindelement.c:
2382         (gst_type_find_handle_src_query), (find_element_get_length),
2383         (gst_type_find_element_activate):
2384         API change fix.
2385
2386         * gst/gstquery.c: (gst_query_new_position),
2387         (gst_query_set_position), (gst_query_parse_position),
2388         (gst_query_new_duration), (gst_query_set_duration),
2389         (gst_query_parse_duration), (gst_query_set_segment),
2390         (gst_query_parse_segment):
2391         * gst/gstquery.h:
2392         Bundling query position/duration is not a good idea since duration
2393         does not change much and we don't want to recalculate it for every
2394         position query, so they are separated again..
2395         Base value in segment query is not needed.
2396
2397         * gst/gstqueue.c: (gst_queue_handle_src_query):
2398         * gst/gstutils.c: (gst_element_query_position),
2399         (gst_element_query_duration), (gst_pad_query_position),
2400         (gst_pad_query_duration):
2401         * gst/gstutils.h:
2402         Updates for query API change.
2403         Added some docs here and there.
2404
2405 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
2406
2407         * check/gst/gstbin.c: (GST_START_TEST):
2408         * check/gst/gstghostpad.c: (GST_START_TEST):
2409         * check/pipelines/cleanup.c: (GST_START_TEST):
2410           wait on thread to die so we can check refcount correctly
2411
2412 2005-10-18  Wim Taymans  <wim@fluendo.com>
2413
2414         * check/pipelines/stress.c: (GST_START_TEST):
2415         Make check a little more time consuming.
2416
2417 2005-10-18  Wim Taymans  <wim@fluendo.com>
2418
2419         * check/Makefile.am:
2420         * check/pipelines/stress.c: (GST_START_TEST),
2421         (simple_launch_lines_suite), (main):
2422         Small state change torture test.
2423
2424         * docs/design/part-states.txt:
2425         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2426         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2427         (gst_base_sink_change_state):
2428         Never take state lock from streaming thread, clean up ugly
2429         hacks. Unfortunatly core does not yet support nice ways to
2430         async commit state.
2431         
2432         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2433         (bin_bus_handler):
2434         Start state recalc if a STATE_DIRTY message is posted, but only
2435         on the toplevel bin.
2436
2437         * gst/gstelement.c: (gst_element_sync_state_with_parent),
2438         (gst_element_get_state_func), (gst_element_abort_state),
2439         (gst_element_commit_state), (gst_element_lost_state),
2440         (gst_element_set_state_func), (gst_element_change_state):
2441         * gst/gstelement.h:
2442         State variables are now protected with the LOCK, the state
2443         lock is only used to serialize _set_state().
2444
2445 2005-10-18  Wim Taymans  <wim@fluendo.com>
2446
2447         * check/gst/gstbin.c: (GST_START_TEST):
2448         * check/gst/gstmessage.c: (GST_START_TEST):
2449         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2450         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2451         (bin_bus_handler):
2452         * gst/gstelement.c: (gst_element_abort_state),
2453         (gst_element_commit_state), (gst_element_lost_state):
2454         * gst/gstmessage.c: (gst_message_new_state_changed),
2455         (gst_message_new_state_dirty), (gst_message_new_segment_start),
2456         (gst_message_new_segment_done), (gst_message_new_duration),
2457         (gst_message_parse_state_changed),
2458         (gst_message_parse_segment_start),
2459         (gst_message_parse_segment_done), (gst_message_parse_duration):
2460         * gst/gstmessage.h:
2461         * tools/gst-launch.c: (event_loop):
2462         Seriously, this is better than a previous commit as we only need
2463         to notify the fact that an element changed state in a streaming
2464         thread, marking the state of the parents dirty, hence the 
2465         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2466         message.
2467
2468 2005-10-18  Wim Taymans  <wim@fluendo.com>
2469
2470         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2471         (gst_bin_recalc_func):
2472         * gst/gstelement.c: (gst_element_set_clock),
2473         (gst_element_abort_state), (gst_element_lost_state):
2474         Cleanups, prepare for state change fixes.
2475
2476 2005-10-18  Wim Taymans  <wim@fluendo.com>
2477
2478         * gst/gstbin.h:
2479         * gst/gstelement.c: (gst_element_class_init),
2480         (gst_element_set_state), (gst_element_set_state_func):
2481         * gst/gstelement.h:
2482         Pending ABI changes.
2483         GThreadPool in GstBinClass to monitor async state changes.
2484         state_cookie in GstElement to detect concurrent gst/set state.
2485         set_state is now virtual too in case a very complicated element
2486         has to be constructed.
2487
2488 2005-10-18  Wim Taymans  <wim@fluendo.com>
2489
2490         * check/gst/gstbin.c: (GST_START_TEST):
2491         * check/gst/gstmessage.c: (GST_START_TEST):
2492         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2493         * gst/gstbin.c: (bin_bus_handler):
2494         * gst/gstelement.c: (gst_element_commit_state),
2495         (gst_element_lost_state):
2496         * gst/gstmessage.c: (gst_message_new_state_changed),
2497         (gst_message_new_segment_start), (gst_message_new_segment_done),
2498         (gst_message_new_duration), (gst_message_parse_state_changed),
2499         (gst_message_parse_segment_start),
2500         (gst_message_parse_segment_done), (gst_message_parse_duration):
2501         * gst/gstmessage.h:
2502         * tools/gst-launch.c: (event_loop):
2503         Make messages future proof.
2504         state-change gets a flag if it was a message comming from the
2505         streaming thread.
2506         segment-start/stop can also be specified in other formats.
2507         A message to notify an app that a pipeline changed playback 
2508         duration.
2509         Also fix a GstMessage leak in -launch
2510
2511 2005-10-18  Andy Wingo  <wingo@pobox.com>
2512
2513         * gst/gstelement.c (gst_element_dispose): More helpful message.
2514
2515 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2516
2517         reviewed by: <delete if not using a buddy>
2518
2519         * common/gtk-doc.mak:
2520
2521 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2522
2523         * gst/gstregistry.c: (gst_registry_scan_path_level):
2524           unref a plug-in we get that was already initialized
2525
2526 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
2527
2528         * docs/gst/gstreamer-sections.txt:
2529         * docs/libs/gstreamer-libs-sections.txt:
2530         * gst/gstelement.h:
2531           add new api entries
2532           hide internal macro
2533
2534 2005-10-17  Andy Wingo  <wingo@pobox.com>
2535
2536         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2537         cleanup.
2538
2539         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2540
2541         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2542
2543         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2544         (gst_element_get_state_func): Better debug message.
2545         (gst_element_commit_state): s/INFO/DEBUG/.
2546         (gst_element_lost_state, gst_element_change_state): 
2547
2548         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2549         (gst_message_new_custom): s/INFO/LOG/.
2550
2551 2005-10-17  Michael Smith <msmith@fluendo.com>
2552
2553         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2554           Check if end time is valid using end time, not start time.
2555
2556 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
2557
2558         * check/gst-libs/controller.c: (GST_START_TEST),
2559         (gst_controller_suite):
2560         * libs/gst/controller/gstcontroller.c:
2561         (gst_controlled_property_set_interpolation_mode):
2562         * libs/gst/controller/gstcontroller.h:
2563         * libs/gst/controller/gstinterpolation.c:
2564         * testsuite/controller/.cvsignore:
2565         * testsuite/controller/Makefile.am:
2566         * testsuite/controller/interpolator.c:
2567           merge controller testsuites
2568           fix broken tests
2569           remove mem-chunk from docs
2570
2571 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2572
2573         * gst/gstmemchunk.c:
2574         * gst/gstmemchunk.h:
2575         * gst/gsttrashstack.c:
2576         * gst/gsttrashstack.h:
2577           out.  get out.  you're fired.  to the Attic !
2578
2579 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2580
2581         * gst/gstcaps.c: (gst_caps_intersect):
2582           fix signedness issues in a (hopefully) correct way
2583         * gst/gstelement.c: (gst_element_pads_activate):
2584           some debugging
2585         * gst/gstobject.c: (gst_object_set_parent):
2586           some debugging
2587
2588 2005-10-17  Julien MOUTTE  <julien@moutte.net>
2589
2590         * gst/gstvalue.h: Fix prototypes.
2591
2592 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2593
2594         * docs/gst/gstreamer-sections.txt:
2595         * gst/gst.c: (gst_version_string):
2596         * gst/gst.h:
2597         * gst/gstversion.h.in:
2598         * win32/common/libgstreamer.def:
2599           add gst_version_string ()
2600
2601 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2602
2603         * configure.ac:
2604           clean up further
2605         * gst/gst.c: (init_post):
2606         * win32/common/config.h.in:
2607           it's PLUGINDIR now
2608         * gst/gstcaps.c: (gst_caps_intersect):
2609           use gint64, the range could be bigger than a guint
2610
2611 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2612
2613         * gst/gstclock.h:
2614           document potential problem in 2038
2615
2616 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2617
2618         * gst/gstcaps.c: (gst_caps_intersect):
2619           Fix guint j diving under 0
2620
2621 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2622
2623         * configure.ac:
2624         * win32/common/config.h:
2625         * win32/common/config.h.in:
2626           check for process.h, declares getpid() on Windows
2627         * gst/gstinfo.c:
2628           include process.h if we have it
2629         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2630         * gst/gstmemchunk.h:
2631           fix signedness issues
2632         * win32/common/libgstreamer.def:
2633           fix get_type's
2634
2635 2005-10-16  Julien MOUTTE  <julien@moutte.net>
2636
2637         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2638         fix. Because of unsigned ints, caps intersection was going nuts and
2639         trying to access structures with G_MAXUINT index. That fixes
2640         videotestsrc ! ffmpegcolorspace ! fakesink
2641         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2642         consistency.
2643
2644 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2645
2646         * configure.ac:
2647           use the gettext macro
2648         * gst/elements/gstelements.c:
2649         * gst/gst.c:
2650         * gst/indexers/gstindexers.c:
2651           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2652         * win32/common/config.h:
2653           updated config.h
2654         * win32/common/config.h.in:
2655           add the template to generate config.h
2656         * win32/common/gstenumtypes.c:
2657         * win32/common/gstversion.h:
2658           updated copies
2659
2660 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2661
2662         * gst/gst.c: (gst_version):
2663         * gst/gstversion.h.in:
2664           add the nano
2665
2666 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2667
2668         * gst/gstevent.h:
2669           Oops, add missing closing bracket.
2670
2671 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2672
2673         * configure.ac:
2674           use common m4's for argument checking
2675
2676 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2677
2678         * docs/gst/gstreamer-sections.txt:
2679         * gst/gstevent.h:
2680           Add GST_EVENT_TYPE_NAME() macro.
2681
2682 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2683
2684         * gst/gstinfo.c:
2685         * gst/gstpluginfeature.c:
2686         * gst/gsttask.c:
2687           privatize more symbols
2688
2689 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2690
2691         * configure.ac:
2692           add srcdir, builddir includes to GST_ALL_CFLAGS, since
2693           everything that uses GStreamer API should have the includes
2694
2695 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2696
2697         * docs/gst/gstreamer-sections.txt:
2698         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2699         * gst/gstvalue.h:
2700           give each value a _get_type, removes the DATA exports
2701
2702 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2703
2704         * gst/gst.c:
2705         * gst/gst.h:
2706           remove _gst_registry_auto_load, not used anymore
2707         * gst/gstbin.c: (gst_bin_get_type):
2708         * gst/gstbin.h:
2709         * gst/gstelement.c: (gst_element_get_type):
2710         * gst/gstelement.h:
2711         * gst/gstobject.c: (gst_object_get_type):
2712         * gst/gstobject.h:
2713         * gst/gstpad.c: (gst_pad_get_type):
2714         * gst/gstpad.h:
2715           make _get_type functions similar, fixes data export from library
2716
2717 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2718
2719         * configure.ac:
2720           correctly make conditionals
2721         * gst/elements/Makefile.am:
2722         * gst/elements/gstelements.c:
2723           fix typo causing fdsrc not to build
2724
2725 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2726
2727         * testsuite/Makefile.am:
2728         * testsuite/bytestream/.cvsignore:
2729         * testsuite/bytestream/Makefile.am:
2730         * testsuite/bytestream/filepadsink.c:
2731         * testsuite/bytestream/gstbstest.c:
2732         * testsuite/bytestream/test1.c:
2733         * testsuite/bytestream/testfile1:
2734         * testsuite/caps/normalisation.c:
2735         * testsuite/caps/random.c: (main):
2736         * testsuite/cleanup/.cvsignore:
2737         * testsuite/cleanup/Makefile.am:
2738         * testsuite/cleanup/cleanup1.c:
2739         * testsuite/cleanup/cleanup2.c:
2740         * testsuite/cleanup/cleanup3.c:
2741         * testsuite/cleanup/cleanup4.c:
2742         * testsuite/cleanup/cleanup5.c:
2743         * testsuite/controller/interpolator.c:
2744         * testsuite/debug/printf_extension.c: (main):
2745         * testsuite/elements/tee.c:
2746         * testsuite/negotiation/.cvsignore:
2747         * testsuite/negotiation/Makefile.am:
2748         * testsuite/negotiation/pad_link.c:
2749         * testsuite/pad/Makefile.am:
2750         * testsuite/pad/chainnopull.c:
2751         * testsuite/pad/getnopush.c:
2752         * testsuite/pad/link.c:
2753         * testsuite/refcounting/sched.c: (create_pipeline):
2754         * testsuite/registry/Makefile.am:
2755         * testsuite/registry/gst-print-formats.c:
2756         * testsuite/schedulers/.cvsignore:
2757         * testsuite/schedulers/142183-2.c:
2758         * testsuite/schedulers/142183.c:
2759         * testsuite/schedulers/143777-2.c:
2760         * testsuite/schedulers/143777.c:
2761         * testsuite/schedulers/147713.c:
2762         * testsuite/schedulers/147819.c:
2763         * testsuite/schedulers/147894-2.c:
2764         * testsuite/schedulers/147894.c:
2765         * testsuite/schedulers/Makefile.am:
2766         * testsuite/schedulers/group_link.c:
2767         * testsuite/schedulers/queue_link.c:
2768         * testsuite/schedulers/relink.c:
2769         * testsuite/schedulers/unlink.c:
2770         * testsuite/schedulers/unref.c:
2771         * testsuite/schedulers/useless_iteration.c:
2772         * testsuite/states/bin.c:
2773           clean out/remove some stuff from the testsuite directories
2774
2775 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2776
2777         * configure.ac:
2778           check for some headers
2779         * gst/elements/Makefile.am:
2780         * gst/elements/gstelements.c:
2781           don't compile fdsrc without sys/socket.h
2782         * gst/indexers/Makefile.am:
2783         * gst/indexers/gstindexers.c: (plugin_init):
2784           don't compile fileindex without mmap
2785
2786 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2787
2788         * configure.ac:
2789           reorganize
2790           clean up
2791           document more
2792           remove cruft
2793         * check/Makefile.am:
2794         * docs/gst/Makefile.am:
2795         * examples/helloworld/Makefile.am:
2796         * gst/Makefile.am:
2797         * gst/base/Makefile.am:
2798         * gst/check/Makefile.am:
2799         * gst/elements/Makefile.am:
2800         * gst/indexers/Makefile.am:
2801         * gst/parse/Makefile.am:
2802         * libs/gst/controller/Makefile.am:
2803         * libs/gst/dataprotocol/Makefile.am:
2804         * examples/helloworld/helloworld.c: (event_loop):
2805           compile fixes, though it's not being compiled currently
2806
2807 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2808
2809         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2810           Add some simple tests for the new taglist date API.
2811
2812 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2813
2814         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2815         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2816           Beautify 'last-message' output: print 'none' for buffer timestamps
2817           and durations if none is set; improve alignment with next messages.
2818
2819 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2820
2821         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2822         * gst/gstpluginfeature.h:
2823         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2824         * gst/gstregistry.h:
2825         * docs/gst/gstreamer-sections.txt:
2826           Add new API to check plugin feature version requirements.
2827
2828         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2829           Some basic tests for the above.         
2830
2831 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2832
2833         * gst/gststructure.c: (gst_structure_to_string):
2834           guard against NULL printf - happens when for example
2835           a message structure with GstClock gets serialized
2836
2837 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2838
2839         * gst/base/gstcollectpads.c: (gst_collectpads_event):
2840           Fix presumable copy'n'pasto.
2841
2842 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2843
2844         * gst/elements/gstfakesrc.h:
2845         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
2846         * gst/elements/gsttypefindelement.c:
2847           fix some signedness
2848         * gst/elements/gstfilesink.c: (gst_file_sink_render):
2849           I wonder if this could actually write +2GB files before
2850
2851 2005-10-13  Andy Wingo  <wingo@pobox.com>
2852
2853         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
2854         Fix Timmeke Waymans bug.
2855         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
2856         string of the proper length to gst_caps_from_string. There's a
2857         potential for, before this fix, that this could cause someone
2858         connecting over the network to cause a segfault if the payload is
2859         not NUL-terminated.
2860
2861 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
2862
2863         * docs/design/draft-push-pull.txt:
2864         * docs/design/part-overview.txt:
2865         * docs/random/TODO-pre-0.9:
2866         * docs/random/old/ChangeLog.gstreamer:
2867         * gst/base/gstpushsrc.c:
2868         * gst/gstclock.c:
2869           fixed typos
2870
2871 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2872
2873         * gst/glib-compat.c: (gst_flags_get_first_value):
2874         * gst/glib-compat.h:
2875         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
2876         (gst_value_compare_double), (gst_value_serialize_flags):
2877           GLib 2.6 g_flags_get_first_value has a bug that triggers an
2878           infinite loop
2879
2880 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2881
2882         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2883         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2884           fix up debugging
2885         * tools/gst-launch.c: (event_loop):
2886           print out clock nicely
2887
2888 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2889
2890         * docs/gst/gstreamer-sections.txt:
2891         * gst/gsttaglist.h:
2892         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
2893         (gst_tag_list_get_date_index):
2894           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
2895           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
2896
2897 2005-10-13  Julien MOUTTE  <julien@moutte.net>
2898
2899         * gst/base/gstcollectpads.c: (gst_collectpads_event),
2900         (gst_collectpads_chain):
2901         * gst/base/gstcollectpads.h: Handle newsegment and store informations
2902         in CollectData.
2903
2904 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
2905
2906         * docs/gst/gstreamer-sections.txt:
2907         * gst/gst.c:
2908         * gst/gsterror.h:
2909         * tools/gst-inspect.c: (main):
2910         * tools/gst-launch.c: (main):
2911         * tools/gst-run.c: (main):
2912         * tools/gst-xmlinspect.c: (main):
2913           fix GOption context leaks
2914           doc fixes
2915
2916 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2917
2918         * gst/gstbus.c:
2919           use HAVE_UNISTD_H
2920         * win32/common/config.h:
2921           update config
2922         * win32/vs6/grammar.dsp:
2923         * win32/vs6/libgstelements.dsp:
2924         * win32/vs6/libgstreamer.dsp:
2925           update vs6 files
2926
2927 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2928
2929         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2930         * gst/base/gstbasesrc.c: (gst_base_src_query):
2931           fix more guint64<->gdouble conversions
2932
2933 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2934
2935         * Makefile.am:
2936           add win32-update target
2937         * win32/common/gstconfig.h:
2938         * win32/common/gstenumtypes.c:
2939         * win32/common/gstenumtypes.h:
2940         * win32/common/gstversion.h:
2941           add files that visual studio can't generate
2942
2943 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2944
2945         * Makefile.am:
2946           add a win32-update target
2947         * configure.ac:
2948
2949 2005-10-12  Wim Taymans  <wim@fluendo.com>
2950
2951         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2952         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
2953         * gst/gstelement.c: (gst_element_commit_state),
2954         (gst_element_set_state):
2955         Protect flags with proper lock.
2956         unref provided cached clock in dispose.
2957
2958 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
2959
2960         * gst/gst.c:
2961         * gst/gstminiobject.h:
2962         * gst/gstpad.h:
2963         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
2964           removed unused flags from miniobject
2965           doc fixes
2966
2967 2005-10-12  Wim Taymans  <wim@fluendo.com>
2968
2969         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2970         (gst_file_sink_event), (gst_file_sink_render):
2971         Flush before seeking.
2972
2973 2005-10-12  Andy Wingo  <wingo@pobox.com>
2974
2975         * gst/gst.c (gst_init_check): Ignore unknown options, as has
2976         always been the case.
2977
2978 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
2979
2980         * check/gst/gstbin.c: (GST_START_TEST):
2981         * docs/gst/gstreamer-sections.txt:
2982         * gst/base/gstbasesink.c: (gst_base_sink_init):
2983         * gst/base/gstbasesrc.c: (gst_base_src_init),
2984         (gst_base_src_get_range), (gst_base_src_check_get_range),
2985         (gst_base_src_start), (gst_base_src_stop):
2986         * gst/base/gstbasesrc.h:
2987         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
2988         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2989         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
2990         (bin_bus_handler):
2991         * gst/gstbin.h:
2992         * gst/gstbuffer.h:
2993         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
2994         * gst/gstbus.h:
2995         * gst/gstelement.c: (gst_element_is_locked_state),
2996         (gst_element_set_locked_state), (gst_element_commit_state),
2997         (gst_element_set_state):
2998         * gst/gstelement.h:
2999         * gst/gstindex.c: (gst_index_init):
3000         * gst/gstindex.h:
3001         * gst/gstminiobject.h:
3002         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3003         (gst_object_set_parent):
3004         * gst/gstobject.h:
3005         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3006         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3007         * gst/gstpad.h:
3008         * gst/gstpadtemplate.h:
3009         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3010         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3011         * gst/gstpipeline.h:
3012         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3013         (gst_file_index_commit):
3014         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3015         * testsuite/pad/link.c: (gst_test_src_init),
3016         (gst_test_filter_init), (gst_test_sink_init):
3017         * testsuite/states/locked.c: (main):
3018           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3019           moved bitshift from macro to enum definition
3020
3021 2005-10-12  Wim Taymans  <wim@fluendo.com>
3022
3023         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3024         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3025         (gst_file_sink_render):
3026         Some more debugging info.
3027
3028 2005-10-12  Wim Taymans  <wim@fluendo.com>
3029
3030         * docs/design/part-states.txt:
3031         * tools/gst-launch.c: (main):
3032         Some doc updates.
3033         Revert non-intentional change.
3034
3035 2005-10-12  Wim Taymans  <wim@fluendo.com>
3036
3037         * check/gst/gstbin.c: (GST_START_TEST):
3038         * check/gst/gstelement.c: (GST_START_TEST):
3039         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3040         * check/gst/gstghostpad.c: (GST_START_TEST):
3041         * check/gst/gstpipeline.c: (GST_START_TEST):
3042         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3043         * check/states/sinks.c: (GST_START_TEST):
3044         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3045         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3046         (gst_bin_remove_func), (gst_bin_get_state_func),
3047         (gst_bin_recalc_state), (gst_bin_change_state_func),
3048         (bin_bus_handler):
3049         * gst/gstelement.c: (gst_element_get_state_func),
3050         (gst_element_get_state), (gst_element_abort_state),
3051         (gst_element_commit_state), (gst_element_set_state),
3052         (gst_element_change_state), (gst_element_change_state_func):
3053         * gst/gstelement.h:
3054         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3055         (gst_pipeline_provide_clock_func):
3056         * gst/gstutils.c: (gst_element_link_pads_filtered):
3057         * tools/gst-launch.c: (main):
3058         * tools/gst-typefind.c: (main):
3059         Use GstClockTime in _get_state() instead of GTimeVal.
3060         Remove old code in gstutils.c
3061
3062 2005-10-12  Andy Wingo  <wingo@pobox.com>
3063
3064         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3065         removed.
3066
3067         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3068         there is no task. Shouldn't affect any code, as nothing in our
3069         plugins checks this return value.
3070         (gst_pad_stop_task): Also take the stream lock if the pad has no
3071         task. Docs updated.
3072
3073 2005-10-12  Wim Taymans  <wim@fluendo.com>
3074
3075         * gst/gstpad.c: (pre_activate), (post_activate),
3076         (gst_pad_activate_pull), (gst_pad_activate_push):
3077         Cleanup activation code. Reset old state if
3078         activation failed.
3079
3080 2005-10-12  Wim Taymans  <wim@fluendo.com>
3081
3082         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3083         (gst_base_sink_change_state):
3084         No need to prerol after receiving EOS.
3085
3086         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3087         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3088         * gst/elements/gstidentity.c: (gst_identity_event):
3089         Print events more verbosely.
3090
3091 2005-10-12  Wim Taymans  <wim@fluendo.com>
3092
3093         * check/Makefile.am:
3094         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3095         * check/states/sinks2.c:
3096         Moved sinks2 testcode in sinks check.
3097
3098         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3099         (gst_bin_remove_func), (gst_bin_recalc_state),
3100         (gst_bin_change_state_func), (bin_bus_handler):
3101         Fix potential race condition when _get_state() iterated over an
3102         ASYNC element right before it posted a state completion.
3103
3104         * gst/gstclock.h:
3105         Do proper cast here.
3106
3107         * gst/gstevent.c: (gst_event_new_newsegment),
3108         (gst_event_parse_newsegment):
3109         A playback rate of 0.0 is not allowed.
3110
3111 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3112
3113         * win32/common/config.h:
3114         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3115         (_trewinddir), (_ttelldir), (_tseekdir):
3116         * win32/common/dirent.h:
3117         * win32/common/gtchar.h:
3118         * win32/common/libgstbase.def:
3119         * win32/common/libgstreamer.def:
3120         * win32/vs6/grammar.dsp:
3121         * win32/vs6/gst_inspect.dsp:
3122         * win32/vs6/gst_launch.dsp:
3123         * win32/vs6/gstreamer.dsw:
3124         * win32/vs6/libgstbase.dsp:
3125         * win32/vs6/libgstelements.dsp:
3126         * win32/vs6/libgstreamer.dsp:
3127           Visual Studio 6 project files, and a new common directory.
3128           Phear.
3129
3130 2005-10-11  Wim Taymans  <wim@fluendo.com>
3131
3132         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3133         (gst_base_sink_do_sync), (gst_base_sink_query),
3134         (gst_base_sink_change_state):
3135         * gst/base/gstbasesink.h:
3136         Correctly parse newsegment info.
3137
3138 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3139
3140         * gst/gst.c: (init_post):
3141           split plugin paths correctly
3142
3143 2005-10-11  Wim Taymans  <wim@fluendo.com>
3144
3145         * check/gst/gstevent.c: (GST_START_TEST):
3146         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3147         (gst_base_sink_change_state):
3148         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3149         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3150         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3151         * gst/gstevent.c: (gst_event_new_newsegment),
3152         (gst_event_parse_newsegment):
3153         * gst/gstevent.h:
3154         Added extra flag to newsegment for future API freeze.
3155         Updated check and base elements.
3156
3157 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3158
3159         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3160         (gst_collectpads_add_pad), (gst_collectpads_pop),
3161         (gst_collectpads_event), (gst_collectpads_chain):
3162         * gst/base/gstcollectpads.h: Handle EOS correctly.
3163
3164 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3165
3166         * tools/gst-launch.c: (main):
3167           more null protecting
3168
3169 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3170
3171         * gst/gst-i18n-lib.h:
3172           check for ENABLE_NLS, not GETTEXT_PACKAGE
3173         * gst/gstregistry.c: (gst_registry_add_plugin),
3174         (gst_registry_scan_path_level),
3175         (_gst_registry_remove_cache_plugins):
3176           protect possibly NULL strings
3177         * gst/parse/types.h:
3178           config.h already included before
3179         * tools/gst-inspect.c: (main):
3180           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3181           check for ENABLE_NLS, not GETTEXT_PACKAGE
3182         * tools/gst-launch.c: (main):
3183           check for ENABLE_NLS, not GETTEXT_PACKAGE
3184
3185 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3186
3187         * configure.ac:
3188           if we don't have glib, fail before testing 2.8
3189         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3190           fix a leak, should fix plugins-base testsuite
3191
3192 2005-10-11  Andy Wingo  <wingo@pobox.com>
3193
3194         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3195         take the mode we're going to as an arg. Go head and set the mode
3196         and flushing flags now, so that if the activate function starts a
3197         thread all the flags will be in the right state.
3198         (post_activate): Renamed also. Just handle making sure streaming
3199         finishes for the deactivation case, and setting the deactivated
3200         mode.
3201         (gst_pad_set_active): Complain loudly if deactivation fails.
3202         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3203         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3204         remove the terrible hack.
3205
3206 2005-10-11  Wim Taymans  <wim@fluendo.com>
3207
3208         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3209         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3210         (gst_bin_recalc_state), (gst_bin_change_state_func),
3211         (gst_bin_dispose), (bin_bus_handler):
3212         * gst/gstbin.h:
3213         Prepare to make current EOS message queue more generic.
3214         Fix some typos.
3215
3216         * gst/gstevent.c: (gst_event_new_newsegment),
3217         (gst_event_parse_newsegment):
3218         * gst/gstevent.h:
3219         Rename base to stream_time.
3220
3221         * gst/gstmessage.h:
3222         Fix typo in docs.
3223
3224 2005-10-11  Wim Taymans  <wim@fluendo.com>
3225
3226         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3227         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3228         (gst_bin_change_state_func), (bin_bus_handler):
3229         * gst/gstbin.h:
3230         Work on proper clock selection.
3231
3232 2005-10-11  Edward Hervey  <edward@fluendo.com>
3233
3234         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3235         * libs/gst/controller/gstcontroller.h:
3236         Added GList* version of _remove_properties() in order to be able to wrap
3237         it in bindings.
3238
3239 2005-10-11  Wim Taymans  <wim@fluendo.com>
3240
3241         * docs/design/part-states.txt:
3242         Some more docs.
3243
3244         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3245         (gst_bin_change_state_func), (bin_bus_handler):
3246         Doc updates. Don't distribute the same clock over and over again.
3247
3248         * gst/gstclock.c:
3249         * gst/gstclock.h:
3250         Doc updates.
3251
3252         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3253         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3254         (gst_pad_send_event):
3255         * gst/gstpad.h:
3256         Make probe emission threadsafe again.
3257         Register quarks and move _get_name() from utils.
3258         Doc updates.
3259
3260         * gst/gstpipeline.c: (gst_pipeline_class_init),
3261         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3262         Only redistribute the clock of it changed.
3263
3264         * gst/gstsystemclock.h:
3265         Doc updates. 
3266
3267         * gst/gstutils.c:
3268         * gst/gstutils.h:
3269         Moved the _flow_get_name() to GstPad.
3270
3271 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3272
3273         * check/gst-libs/gdp.c: (GST_START_TEST):
3274         * check/gst/gstcaps.c: (GST_START_TEST):
3275         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3276         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3277         (gst_dp_packet_from_caps):
3278           fix more valgrind warnings before turning up the heat
3279
3280 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3281
3282         * gst/parse/grammar.y:
3283           some cleanup before the hacking
3284
3285 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3286
3287         * gst/base/gstbasesrc.c: (gst_base_src_query):
3288           use conversions
3289         * gst/gstutils.c: (gst_guint64_to_gdouble),
3290         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3291         * gst/gstutils.h:
3292           externalize, basesrc uses it
3293           obviously the implementation needs testing
3294
3295 2005-10-10  Wim Taymans  <wim@fluendo.com>
3296
3297         * tests/sched/Makefile.am:
3298         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3299         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3300
3301 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3302
3303         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3304           apparently converting from guint64 to double is not implemented
3305           on MSVC
3306
3307 2005-10-10  Wim Taymans  <wim@fluendo.com>
3308
3309         * check/Makefile.am:
3310         * check/generic/states.c: (GST_START_TEST):
3311         * check/gst/gstbin.c: (GST_START_TEST):
3312         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3313         * check/states/sinks.c: (GST_START_TEST):
3314         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3315         (main):
3316         Check fixes, use API as stated in design docs, remove hacks.
3317
3318         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3319         (gst_base_sink_change_state):
3320         Catch stopping our task while we're shutting down.
3321
3322         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3323         (gst_bin_remove_func), (gst_bin_get_state_func),
3324         (gst_bin_recalc_state), (gst_bin_change_state_func),
3325         (bin_bus_handler):
3326         * gst/gstbin.h:
3327         * gst/gstelement.c: (gst_element_init),
3328         (gst_element_get_state_func), (gst_element_abort_state),
3329         (gst_element_commit_state), (gst_element_lost_state),
3330         (gst_element_set_state), (gst_element_change_state),
3331         (gst_element_change_state_func):
3332         * gst/gstelement.h:
3333         New state change algorithm (see #318116)
3334
3335         * gst/gstpipeline.c: (gst_pipeline_class_init),
3336         (gst_pipeline_init), (gst_pipeline_set_property),
3337         (gst_pipeline_get_property), (do_pipeline_seek),
3338         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3339         * gst/gstpipeline.h:
3340         Remove crude state change hacks.
3341
3342         * gst/gstutils.h:
3343         Remove crude hacks.
3344
3345         * tools/gst-launch.c: (main):
3346         Fixes for state change. Needs some more work to fully use the
3347         new stuff.
3348
3349 2005-10-10  Andy Wingo  <wingo@pobox.com>
3350
3351         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3352
3353         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3354         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3355         issue.
3356
3357 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3358
3359         * gst/gstiterator.c: (gst_iterator_new):
3360           Fix my previous commit: GTypes passed to gst_iterator_new()
3361           can be fundamental types.
3362
3363 2005-10-10  Wim Taymans  <wim@fluendo.com>
3364
3365         * gst/gstelement.c: (gst_element_iterate_pad_list),
3366         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3367         (gst_element_iterate_sink_pads):
3368         Use src/sink pads lists for the respective iterators instead
3369         of filtering.
3370
3371 2005-10-10  Andy Wingo  <wingo@pobox.com>
3372
3373         Merged in popt removal + GOption addition patch from Ronald, bug
3374         #169772.
3375
3376         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3377         GstElement macros around, remove popt-related symbols, add goption
3378         stuff.
3379
3380         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3381         
3382         * docs/gst/Makefile.am:
3383         * docs/libs/Makefile.am: No POPT_CFLAGS.
3384         
3385         * examples/manual/Makefile.am:
3386         * docs/manual/basics-init.xml: Doc updates with an example.
3387         
3388         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3389         (gst_init), (parse_one_option), (parse_goption_arg):
3390         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3391         bit of hand merging and debugging to get the GOption stuff working
3392         tho.
3393         
3394         * tests/Makefile.am:
3395         * tools/Makefile.am:
3396         * tools/gst-inspect.c: (main):
3397         * tools/gst-launch.c: (main):
3398         * tools/gst-run.c: (main):
3399         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3400
3401 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3402
3403         * gst/gstiterator.c: (gst_iterator_new):
3404           Add assertions to make sure passed GType is likely to really
3405           be a GType (as the compiler won't catch it if the size and
3406           GType arguments get mixed up, see #318447).
3407
3408 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
3409
3410         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3411
3412         * gst/gstbin.c: (gst_bin_iterate_sorted):
3413           Pass GType and size arguments to gst_iterator_new() in the right
3414           order (maybe we should make _new() take the GType as first argument
3415           just like _new_list()?) (#318447).
3416           
3417
3418 2005-10-10  Wim Taymans  <wim@fluendo.com>
3419
3420         * gst/gstelement.c: (gst_element_finalize):
3421         And free the GStaticRecMutex too
3422
3423 2005-10-10  Andy Wingo  <wingo@pobox.com>
3424
3425         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3426         Allocate and free the mutex properly.
3427
3428         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3429         New macros.
3430         (GstElement): The state_lock is now recursive. Rebuild your
3431         plugins, suckers. Old macros adapted.
3432
3433         * docs/gst/gstreamer-sections.txt: Doc updates.
3434
3435         * gst/gstutils.h:
3436         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
3437         (g_static_rec_cond_wait): Ported from state changes patch, while
3438         we wait on bug #317802 to be solved in a well-distributed GLib.
3439
3440         * gst/gstelement.c (gst_element_change_state_func): Renamed from
3441         gst_element_change_state, variable name changes.
3442         (gst_element_change_state): Split out of gst_element_set_state in
3443         preparation for the state change merge. Doesn't pay attention to
3444         the 'transition' argument.
3445         (gst_element_set_state): Updates, hopefully purely cosmetic.
3446         (gst_element_sync_state_with_parent): MT-safety. Ported from the
3447         state change patch.
3448         (gst_element_get_state_func): Renamed from get_state, cosmetic
3449         changes.
3450
3451 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3452
3453         * gst/elements/gstelements.c:
3454         * win32/GStreamer.vcproj:
3455         * win32/config.h:
3456         * win32/dirent.c: (_tseekdir):
3457         * win32/gst-inspect.vcproj:
3458         * win32/gst-launch.vcproj:
3459         * win32/gstconfig.h:
3460         * win32/gstelements.vcproj:
3461         * win32/gstenumtypes.c: (gst_object_flags_get_type):
3462         * win32/gstreamer.def:
3463         * win32/msvc71.sln:
3464           updates for the win32 build (patch from Sebastien Moutte)
3465
3466 2005-10-10  Andy Wingo  <wingo@pobox.com>
3467
3468         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3469         gst_bin_get_state, cleaned up (but no logic changes).
3470         (bin_element_is_sink): Comment updates.
3471         (sink_iterator_filter): Remove needless cast.
3472         (gst_bin_iterate_sinks): Doc update.
3473         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3474         cleaned up (but no logic changes).
3475
3476         * check/states/sinks.c (test_src_sink): Cleanups from the state
3477         change patch.
3478         (test_livesrc_sink): Sync on the state.
3479
3480         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3481         the state change patch.
3482
3483         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3484         change patch.
3485
3486         * check/gst/gstbin.c: Merge in some style fixes and additional
3487         checks from Wim's state change patch.
3488
3489 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3490
3491         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3492         (gst_type_find_helper):
3493           Check whether we have the requested data already in our list of
3494           cached buffers before pulling a new buffer; also make the buffer
3495           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3496
3497 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3498
3499         * gst/gstcaps.c:
3500         * gst/gstevent.c:
3501           doc updates
3502         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3503           don't use long long, it's not portable.  Replacing with
3504           gint64 seems to work; let's hope no skeletons fall out of the closet.
3505
3506 2005-10-10  Andy Wingo  <wingo@pobox.com>
3507
3508         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3509
3510 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
3511
3512         * docs/gst/gstreamer-sections.txt:
3513         * gst/gstevent.c:
3514         * gst/gstevent.h:
3515         * gst/gstinfo.c:
3516         * gst/gstinfo.h:
3517         * gst/gstmessage.c: (gst_message_parse_state_changed):
3518         * gst/gstpad.c:
3519         * gst/gstpad.h:
3520           more docs, fix compilation
3521
3522 2005-10-09  Philippe Khalaf <burger@speedy.org>
3523         * gst/gstmessage.c:
3524           Fixed a few forgotten variables on previous commit
3525
3526 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3527
3528         * gst/base/gsttypefindhelper.c: (helper_find_peek):
3529           Fix evil typefind crasher: getrange() might return a short
3530           buffer at the end of a file, but gst_type_find_peek() must
3531           either return the full data as requested or NULL, but
3532           never a short buffer.
3533
3534 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3535
3536         * gst/gstmessage.c: (gst_message_new_state_changed),
3537         (gst_message_parse_state_changed):
3538         * gst/gstmessage.h:
3539           don't use "new", it's a C++ keyword
3540
3541 2005-10-08  Wim Taymans  <wim@fluendo.com>
3542
3543         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3544         * gst/gstelement.c: (gst_element_post_message):
3545         * gst/gstpipeline.c: (gst_pipeline_change_state):
3546         Small docs and debug updates.
3547
3548 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3549
3550         * docs/gst/gstreamer-sections.txt:
3551         * gst/gstelementfactory.c:
3552         * gst/gstevent.c:
3553         * gst/gsttaglist.c:
3554           more docs
3555
3556 2005-10-08  Wim Taymans  <wim@fluendo.com>
3557
3558         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3559         (gst_bin_dispose), (bin_bus_handler):
3560         Fix typos, add comments.
3561         Clear EOS list when going to PAUSED from any direction and do it
3562         in a threadsafe way.
3563         Get base time in a threadsafe way too.
3564         Fix confusing debug in the change_state function.
3565         Various other small cleanups.
3566         
3567         * gst/gstelement.c: (gst_element_post_message):
3568         Fix very verbose bus posting code.
3569
3570         * gst/gstpipeline.c: (gst_pipeline_class_init),
3571         (gst_pipeline_set_property), (gst_pipeline_get_property),
3572         (gst_pipeline_change_state):
3573         Small ARG_ -> PROP_ cleanup
3574
3575 2005-10-08  Wim Taymans  <wim@fluendo.com>
3576
3577         * gst/gstbin.c: (is_eos), (bin_bus_handler):
3578         Do a less CPU demanding EOS check because we can.
3579
3580 2005-10-08  Wim Taymans  <wim@fluendo.com>
3581
3582         * libs/gst/dataprotocol/dataprotocol.c:
3583         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3584         (gst_dp_packet_from_event):
3585         * libs/gst/dataprotocol/dataprotocol.h:
3586         * libs/gst/dataprotocol/dp-private.h:
3587         It's about time we bump the version number.
3588         Since event types don't fit in the guint8 anymore describing
3589         the payload type, make payload type 16 bits wide.
3590
3591 2005-10-08  Wim Taymans  <wim@fluendo.com>
3592
3593         * docs/design/part-TODO.txt:
3594         * docs/design/part-clocks.txt:
3595         * docs/design/part-events.txt:
3596         * docs/design/part-gstbin.txt:
3597         * docs/design/part-gstelement.txt:
3598         * docs/design/part-gstpipeline.txt:
3599         * docs/design/part-live-source.txt:
3600         * docs/design/part-messages.txt:
3601         * docs/design/part-overview.txt:
3602         * docs/design/part-states.txt:
3603         Many doc updates.
3604
3605 2005-10-08  Wim Taymans  <wim@fluendo.com>
3606
3607         * gst/gstevent.c:
3608         * gst/gstevent.h:
3609         Fix event quark registration.
3610         Add some space between events so we can insert them in the
3611         right groups.
3612
3613 2005-10-08  Wim Taymans  <wim@fluendo.com>
3614
3615         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3616         (gst_base_sink_handle_buffer):
3617         Better log message.
3618
3619         * gst/gstbus.h:
3620         * gst/gstelement.h:
3621         More docs.
3622
3623         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3624         (gst_queue_set_property), (gst_queue_get_property):
3625         * gst/gstqueue.h:
3626         Remove old unused properties.
3627
3628 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3629         * docs/gst/gstreamer-sections.txt:
3630         * gst/gstmessage.c:
3631         * gst/gstmessage.h:
3632         * gst/gstminiobject.c:
3633         * gst/gstminiobject.h:
3634         * gst/gstobject.h:
3635         * gst/gstpad.h:
3636         * gst/gstutils.h:
3637           lots of new docs and doc fixes
3638
3639 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3640
3641         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3642         * gst/gstplugin.h:
3643         * gst/gstregistry.c: (gst_registry_lookup_locked),
3644         (gst_registry_scan_path_level):
3645         * gst/gstregistryxml.c: (load_plugin):
3646           Only ever load one plugin for a given plugin basename.
3647           This ensures correct overriding of GST_PLUGIN_PATH over
3648           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3649           system installed plugins.
3650
3651 2005-10-08  Wim Taymans  <wim@fluendo.com>
3652
3653         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3654         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3655         Prepare for doing QOS.
3656
3657 2005-10-08  Wim Taymans  <wim@fluendo.com>
3658
3659         * check/gst/gstbin.c: (GST_START_TEST):
3660         * check/pipelines/cleanup.c: (GST_START_TEST):
3661         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3662         Allow new clock message too.
3663
3664 2005-10-08  Wim Taymans  <wim@fluendo.com>
3665
3666         * gst/gstmessage.c: (gst_message_new_error),
3667         (gst_message_new_warning), (gst_message_new_tag),
3668         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3669         (gst_message_new_clock_lost), (gst_message_new_new_clock),
3670         (gst_message_new_segment_start), (gst_message_new_segment_done),
3671         (gst_message_parse_state_changed),
3672         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3673         (gst_message_parse_new_clock):
3674         * gst/gstmessage.h:
3675         Also carry the clock in question.
3676
3677 2005-10-08  Wim Taymans  <wim@fluendo.com>
3678
3679         * gst/gstmessage.c: (gst_message_new_custom),
3680         (gst_message_new_eos), (gst_message_new_error),
3681         (gst_message_new_warning), (gst_message_new_tag),
3682         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3683         (gst_message_new_new_clock), (gst_message_new_segment_start),
3684         (gst_message_new_segment_done), (gst_message_parse_state_changed),
3685         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3686         * gst/gstmessage.h:
3687         Clean up.
3688         Added clock related messages.
3689
3690         * gst/gstpipeline.c: (gst_pipeline_change_state):
3691         Post message when the clock changed.
3692
3693         * tools/gst-launch.c: (event_loop):
3694         Print new clock.
3695
3696 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3697
3698         * tools/gst-inspect.c: (print_element_properties_info):
3699           Can't pass NULL strings to g_print() on windows.
3700
3701 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3702
3703         * docs/Makefile.am:
3704         * docs/gst/Makefile.am:
3705         * docs/gst/gstreamer-docs.sgml:
3706         * docs/gst/running.xml:
3707         * docs/version.entities.in:
3708           add a chapter on running GStreamer.
3709           document GST_DEBUG and GST_PLUGIN* env vars
3710
3711 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3712
3713         * Makefile.am:
3714           remove include dir
3715         * configure.ac:
3716           remove PLUGINS_BUILDDIR stuff
3717         * gst/gst.c: (init_post):
3718           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3719         * idiottest.mak:
3720           remove, it was condescending and not needed
3721
3722 2005-10-08  Wim Taymans  <wim@fluendo.com>
3723
3724         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3725         (gst_base_sink_handle_object), (gst_base_sink_event),
3726         (gst_base_sink_wait), (gst_base_sink_handle_event),
3727         (gst_base_sink_change_state):
3728         * gst/base/gstbasesink.h:
3729         Repost EOS message while going to PLAYING if still EOS.
3730         Make sure that when receiving a FLUSH_START we don't attempt
3731         to sync on the clock anymore.
3732
3733 2005-10-08  Wim Taymans  <wim@fluendo.com>
3734
3735         * tools/gst-launch.c: (event_loop):
3736         Better message printout.
3737
3738 2005-10-08  Wim Taymans  <wim@fluendo.com>
3739
3740         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3741         (gst_bin_child_proxy_get_children_count):
3742         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3743         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3744         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3745         (gst_child_proxy_set_valist):
3746         * gst/parse/grammar.y:
3747         Make ChildProxy threadsafe and fix mem leaks.
3748
3749 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3750
3751         * gst/gst.c: (init_post):
3752           debug the GST_PLUGIN_ env vars
3753
3754 2005-10-08  Wim Taymans  <wim@fluendo.com>
3755
3756         * check/gst/gstbin.c: (GST_START_TEST):
3757         * check/gst/gstmessage.c: (GST_START_TEST):
3758         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3759         * gst/gstelement.c: (gst_element_commit_state),
3760         (gst_element_lost_state):
3761         * gst/gstmessage.c: (gst_message_new_state_changed),
3762         (gst_message_parse_state_changed):
3763         * gst/gstmessage.h:
3764         * tools/gst-launch.c: (event_loop):
3765         Added extra field to STATE_CHANGE message with the pending
3766         state, which will be different from the new state soon.
3767
3768 2005-10-08  Wim Taymans  <wim@fluendo.com>
3769
3770         * gst/gstbus.c: (gst_bus_pop):
3771         * gst/gstclock.c:
3772         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3773         Small cleanups and doc updates.
3774
3775 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3776
3777         * gst/gst.c: (init_pre):
3778         * gst/gstbin.c: (gst_bin_add_func):
3779           log distributing clocks and base time
3780         * gst/gstregistry.c: (gst_registry_add_plugin),
3781         (gst_registry_scan_path_level), (gst_registry_scan_path):
3782           clean up the debugging output a little
3783         * gst/gstutils.c: (gst_element_state_get_name):
3784           warn about a memleak (I've actually seen this be used, though
3785           it was probably a bug)
3786
3787 2005-10-07  Wim Taymans  <wim@fluendo.com>
3788
3789         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3790         (gst_base_src_init), (gst_base_src_default_newsegment),
3791         (gst_base_src_newsegment), (gst_base_src_do_seek),
3792         (gst_base_src_loop), (gst_base_src_start):
3793         * gst/base/gstbasesrc.h:
3794         Make the newsegment event customizable by subclasses.
3795
3796 2005-10-07  Wim Taymans  <wim@fluendo.com>
3797
3798         * gst/gstevent.c: (gst_event_new_buffersize),
3799         (gst_event_parse_buffersize):
3800         * gst/gstevent.h:
3801         New event for future idea.
3802
3803 2005-10-07  Andy Wingo  <wingo@pobox.com>
3804
3805         * gst/gstelement.c (gst_element_post_message): Doc update.
3806
3807         * docs/gst/gstreamer-sections.txt: Update.
3808
3809         * gst/gstmessage.c (gst_message_new_application): Made into a
3810         function like honest API calls.
3811         (gst_message_new_element): New message type.
3812
3813         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3814
3815         * check/elements/fakesrc.c (test_no_preroll): New check, checks
3816         that setting a live fakesrc to PAUSED returns NO_PREROLL both
3817         times.
3818
3819         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3820         NO_PREROLL from gst_element_change_state to fall through.
3821
3822 2005-10-07  Wim Taymans  <wim@fluendo.com>
3823
3824         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3825         (gst_ghost_pad_do_activate_push):
3826         Activating a ghostpad with no internal pad in push mode
3827         is ok.
3828
3829 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3830
3831         * gst/gstobject.h:
3832           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3833           Fixes compilation on Windows.
3834
3835 2005-10-07  Michael Smith <msmith@fluendo.com>
3836
3837         * tools/gst-inspect.c:
3838           Print out feature and plugin count at the end when printing out
3839           all features.
3840
3841 2005-10-04  Michael Smith <msmith@fluendo.com>
3842
3843         * gst/gsterror.c: (_gst_stream_errors_init):
3844           Add another error string used in a few existing plugins.
3845
3846         * gst/gstplugin.c:
3847         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3848         * tools/gst-inspect.c: (print_element_info):
3849           When a feature disappears from a plugin (and the feature exists in
3850           the cached registry file), things went horribly wrong. This isn't a
3851           complete fix, we should actually be removing the 'missing' features
3852           from the features list when we load the actual plugin. That's not
3853           yet implemented. 
3854
3855 2005-10-04  Johan Dahlin  <johan@gnome.org>
3856
3857         * check/gst/gstiterator.c: (GST_START_TEST):
3858         * gst/gstbin.c: (gst_bin_iterate_elements),
3859         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
3860         * gst/gstelement.c: (gst_element_iterate_pads):
3861         * gst/gstformat.c: (gst_format_iterate_definitions):
3862         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
3863         (gst_iterator_new_list), (gst_iterator_filter):
3864         * gst/gstiterator.h:
3865         * gst/gstquery.c: (gst_query_type_iterate_definitions):
3866         Add a GType to GstIterator, update callsites and tests.
3867
3868 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3869
3870         * gst/gstpad.c: (gst_pad_event_default_dispatch):
3871           give events a chance to be handled by event probes when the pad
3872           is not linked
3873
3874 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3875
3876         * gst/gstevent.c: (gst_event_type_get_name),
3877         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
3878         * gst/gstevent.h:
3879           add string representations for event types
3880
3881 2005-10-06  Wim Taymans  <wim@fluendo.com>
3882
3883         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
3884         Don't use NULL pointers.
3885
3886 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3887
3888         * gst/gst_private.h:
3889         * gst/gstbus.c:
3890         * gst/gstelement.c:
3891         * gst/gstinfo.c:
3892         * gst/gstpluginfeature.c:
3893           widen the debug category in output to fit the biggest one we have
3894           add a bus category and use it
3895           play with the colors
3896           fix up some categories
3897
3898 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3899
3900         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
3901           add push activation of sink ghost pads.
3902           Andye, please verify
3903
3904 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3905
3906         * gst/gstutils.c: (gst_element_link_pads):
3907           fix a bug in the case where neither element has a pad
3908         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3909           add a test for that case
3910
3911 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3912
3913         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
3914           emit have-data before checking for peers.  This allows
3915           for probe handlers to connect elements.  This helps autopluggers.
3916         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
3917         (gst_pad_suite):
3918           add six checks, linked/unlinked with no/true/false probe
3919
3920 2005-10-04  Wim Taymans  <wim@fluendo.com>
3921
3922         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
3923         (gst_fake_sink_event), (gst_fake_sink_preroll),
3924         (gst_fake_sink_render), (gst_fake_sink_change_state):
3925         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
3926         (gst_fake_src_get_property), (gst_fake_src_create),
3927         (gst_fake_src_stop):
3928         * gst/elements/gstidentity.c: (gst_identity_stop):
3929         Protect last_message with lock.
3930
3931 2005-10-04  Edward Hervey  <edward@fluendo.com>
3932
3933         * gst/gstformat.h: 
3934         Added precision in the comments for GST_FORMAT_DEFAULT
3935
3936 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
3937
3938         * tools/gst-launch.c: (main):
3939           Don't try to run erroneous pipelines.
3940
3941 2005-10-04  Julien MOUTTE  <julien@moutte.net>
3942
3943         * gst/gstbus.c: We don't need this header.
3944
3945 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3946
3947         * configure.ac:
3948           back to development
3949
3950 === release 0.9.3 ===
3951
3952 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3953
3954         * README:
3955         * configure.ac:
3956           Releasing 0.9.3, "Unregistered"
3957
3958 2005-10-03  Andy Wingo  <wingo@pobox.com>
3959
3960         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
3961         whereby calling a pad's activatepush() function can start a thread
3962         that starts to push or pull before the pad gets the FLUSHING flag
3963         unset. Hack around it by holding the stream lock until the flag is
3964         set. Need to replace this with a proper solution. Together with
3965         the ghost pad fixes, this fixes mp3 playing/tagreading.
3966
3967         * docs/design/part-gstghostpad.txt: Add a note about activation of
3968         proxy pads outside of ghost pads.
3969
3970         * gst/gstghostpad.c: Implement the ghost pad activation design.
3971
3972 2005-10-02  Andy Wingo  <wingo@pobox.com>
3973
3974         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
3975         It is volatile, after all.
3976
3977         * docs/design/part-gstghostpad.txt: Flesh out activation with
3978         ghost pads.
3979
3980         * gst/base/gstbasesrc.c (gst_base_src_init): Use
3981         GST_DEBUG_FUNCPTR.
3982
3983 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3984
3985         * configure.ac:
3986           Fix (unused) AM_CONDITIONAL tests.
3987
3988 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
3989
3990         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3991
3992         * gst/gstutils.c: (gst_pad_query_convert):
3993           Add assertion that makes sure src_val is >=0, just like
3994           gst_query_new_convert() has. (#315895)
3995
3996 2005-09-30  Edward Hervey  <edward@fluendo.com>
3997
3998         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
3999         Let's not iterate pads we're not interested in, it avoids getting 
4000         sky-high refcounts on sinkpad.
4001
4002 2005-09-30  Wim Taymans  <wim@fluendo.com>
4003
4004         * gst/gstelement.c: (gst_element_set_state),
4005         (gst_element_change_state):
4006         Small tweak, element in ASYNC remains ASYNC.
4007
4008 2005-09-30  Wim Taymans  <wim@fluendo.com>
4009
4010         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4011         Only error is an error.
4012
4013         * gst/gstbin.c: (gst_bin_change_state):
4014         Better debugging.
4015
4016         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4017         Also call pad_block in pad alloc.
4018
4019         * gst/gstutils.c: (gst_flow_get_name):
4020         Better debugging.
4021
4022 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4023
4024         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4025         (gst_base_src_get_range):
4026           Fix documentation typos. Add some more debug info.
4027
4028 2005-09-29  David Schleef  <ds@schleef.org>
4029
4030         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4031           more end-user friendly.
4032         * tools/gst-inspect.c: (main): Check if command-line argument is
4033           a file and attempt to load that file as a plugin.
4034
4035 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4036
4037         * check/gst/gstbin.c:
4038         * check/states/sinks.c:
4039           fix tests for the new warning
4040         * check/gst/gstpipeline.c:
4041           add a test for pipeline and bus interaction
4042         * gst/gstelement.c:
4043           elements should be NULL if they get disposed; add a warning if not
4044
4045 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4046
4047         * gst/gstobject.c:
4048           for 2.6 refcounting, make debug log more correct by printing
4049           the actual refcounts at the time of swap (Wim)
4050
4051 2005-09-29  Andy Wingo  <wingo@pobox.com>
4052
4053         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4054         removes signal watches previously added via
4055         gst_bus_add_signal_watch.
4056         (gst_bus_add_signal_watch): Don't return the source id, just store
4057         it on the bus if there wasn't an id already.
4058
4059         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4060         add_signal_watch and remove_signal_watch.
4061
4062 2005-09-29  Edward Hervey  <edward@fluendo.com>
4063
4064         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4065         Better if we actually iterate the list :)
4066
4067 2005-09-29  Wim Taymans  <wim@fluendo.com>
4068
4069         * check/gst/gstbin.c: (GST_START_TEST):
4070         Change for new bus API.
4071
4072         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4073         (send_messages), (GST_START_TEST), (gstbus_suite):
4074         Change for new bus signal API.
4075
4076         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4077         (gst_bus_source_prepare), (gst_bus_source_check),
4078         (gst_bus_create_watch), (gst_bus_add_watch_full),
4079         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4080         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4081         * gst/gstbus.h:
4082         Remove support for multiple GSources operating on different
4083         message types as it is too complex and unneeded when using
4084         signals.
4085         Added support for receiving signals from the bus.
4086
4087 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4088
4089         * docs/libs/tmpl/gstdataprotocol.sgml:
4090         * docs/manual/advanced-dataaccess.xml:
4091         * gst/elements/gstcapsfilter.c:
4092         * gst/gstutils.c:
4093           rename filter-caps to caps property
4094
4095 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4096
4097         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4098           More robust fraction string parsing.
4099
4100         * docs/pwg/appendix-porting.xml:
4101           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4102
4103 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4104
4105         * gst/gstcaps.c: (gst_caps_do_simplify):
4106           Thou shalt not free a structure and then continue using it
4107           in the next loop iteration.
4108
4109         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4110         (gst_caps_suite):
4111           Add test case for caps simplification.
4112
4113 2005-09-29  Wim Taymans  <wim@fluendo.com>
4114
4115         * check/gst/gstbin.c: (GST_START_TEST):
4116         Oops.
4117
4118 2005-09-29  Wim Taymans  <wim@fluendo.com>
4119
4120         * check/gst/gstbin.c: (GST_START_TEST):
4121         Add bus to bin.
4122
4123         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4124         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4125         (find_element), (gst_bin_sort_iterator_next),
4126         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4127         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4128         (gst_bin_change_state), (gst_bin_dispose):
4129         A bin does not have a bus, it gets the bus from the parent.
4130
4131         * gst/gstelement.c: (gst_element_requires_clock),
4132         (gst_element_provides_clock), (gst_element_is_indexable),
4133         (gst_element_is_locked_state), (gst_element_change_state),
4134         (gst_element_set_bus_func):
4135         Small cleanups.
4136
4137         * gst/gstpipeline.c: (gst_pipeline_class_init),
4138         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4139         The pipeline provides a bus.
4140
4141 2005-09-28  Johan Dahlin  <johan@gnome.org>
4142
4143         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4144         gst_structure_get_enum instead of gst_structure_get_int
4145
4146         * gst/gststructure.c (gst_structure_get_enum): Impl.
4147
4148         * gst/gststructure.h (gst_structure_get_enum): Add
4149
4150         * docs/gst/gstreamer-sections.txt: Ditto
4151
4152         * gst/gstmessage.c (gst_message_new_state_changed): Use
4153         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4154         which does introspection.
4155         Reviewed by Christian Schaller
4156
4157 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4158
4159         * gst/gstinfo.c: (gst_debug_log_default):
4160           don't do dummy g_strdup()s
4161         * libs/gst/controller/gstcontroller.c:
4162         (on_object_controlled_property_changed),
4163         (gst_controlled_property_new), (gst_controller_new_valist),
4164         (gst_controller_new_list),
4165         (gst_controller_remove_properties_valist), (gst_controller_set),
4166         (gst_controller_get), (gst_controller_sync_values),
4167         (gst_controller_get_value_array), (_gst_controller_class_init),
4168         (gst_controller_get_type):
4169         * libs/gst/controller/gstcontroller.h:
4170         * libs/gst/controller/gstinterpolation.c:
4171         (gst_controlled_property_find_timed_value_node):
4172           convert // to /**/ comments
4173
4174 2005-09-28  Wim Taymans  <wim@fluendo.com>
4175
4176         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4177         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4178         (gst_bus_sync_signal_handler):
4179         * gst/gstbus.h:
4180         Added async-message and sync-message signals to the bus.
4181         Added helper BusFunc to emit signals for all posted messages.
4182
4183         * gst/gstmessage.c: (gst_message_type_get_name),
4184         (gst_message_type_to_quark), (gst_message_get_type):
4185         * gst/gstmessage.h:
4186         Register quarks for message names.
4187
4188 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4189
4190         * docs/libs/gstreamer-libs-sections.txt:
4191         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4192         (gst_controller_new_list):
4193         * libs/gst/controller/gstcontroller.h:
4194           added another constructor for language bindings
4195
4196 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4197
4198         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4199           add another check
4200         * gst/gstbus.c:
4201           add some doc
4202         * gst/gstinfo.c: (_gst_debug_init):
4203           slightly more readable color for refcount debugging
4204
4205 2005-09-28  Wim Taymans  <wim@fluendo.com>
4206
4207         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4208         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4209         (find_element), (gst_bin_sort_iterator_next),
4210         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4211         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4212         (gst_bin_change_state), (gst_bin_dispose):
4213         Small doc fixes. get_clock -> provide_clock.
4214
4215         * gst/gstelement.c: (gst_element_class_init),
4216         (gst_element_provides_clock), (gst_element_provide_clock),
4217         (gst_element_get_clock), (gst_element_commit_state),
4218         (gst_element_lost_state):
4219         * gst/gstelement.h:
4220         Make get/set_clock() symetric. Add provide_clock vmethod since
4221         that is actually what this function does.
4222
4223         * gst/gstpipeline.c: (gst_pipeline_class_init),
4224         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4225         (gst_pipeline_get_clock):
4226         get_clock -> provide_clock.
4227
4228 2005-09-28  Andy Wingo  <wingo@pobox.com>
4229
4230         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4231         lieu of real docs...
4232
4233         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4234
4235 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4236
4237         * gst/elements/gstcapsfilter.c:
4238         * gst/elements/gstfakesink.c:
4239         * gst/elements/gstfakesrc.c:
4240         * gst/elements/gstfdsink.c:
4241         * gst/elements/gstfdsrc.c:
4242         * gst/elements/gstfilesink.c:
4243         * gst/elements/gstfilesrc.c:
4244         * gst/elements/gstidentity.c:
4245         * gst/elements/gsttee.c:
4246         * gst/elements/gsttypefindelement.c:
4247           Make element details static.
4248
4249 2005-09-28  Wim Taymans  <wim@fluendo.com>
4250
4251         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4252         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4253         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4254         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4255         (gst_bin_change_state), (gst_bin_dispose):
4256         Some documentation updates.
4257         Clean up dispose handlers.
4258
4259         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4260         * gst/gstpad.c: (gst_pad_dispose):
4261         Clean up dispose handler.
4262
4263         * gst/gstpipeline.c: (gst_pipeline_change_state):
4264         Removed spurious UNLOCK.
4265
4266 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4267
4268         * docs/gst/gstreamer-sections.txt:
4269         * gst/base/gstbasesrc.h:
4270         * gst/gstelement.h:
4271         * gst/gstevent.h:
4272         * gst/gstobject.h:
4273         * gst/gstpad.h:
4274         * gst/gstpipeline.c:
4275         * gst/gstpipeline.h:
4276         * gst/gstutils.h:
4277         * gst/gstxml.h:
4278           added two new functions to the docs
4279                 documents all undocumented GstXXXFlags
4280                 completed some incomplete docs 
4281
4282 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4283
4284         * gst/gstbin.c: (gst_bin_dispose):
4285         * gst/gstelement.c: (gst_element_dispose):
4286           remove now useless and leaky resurrection code in dispose
4287         * gst/base/gstbasesrc.c: (gst_base_src_init):
4288         * gst/gstelementfactory.c: (gst_element_factory_create):
4289         * gst/gstobject.c: (gst_object_set_parent):
4290           add some debugging
4291
4292 2005-09-27  Wim Taymans  <wim@fluendo.com>
4293
4294         * docs/design/part-TODO.txt:
4295         Update TODO.
4296
4297         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4298         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4299         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4300         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4301         (gst_bin_change_state):
4302         * gst/gstelement.h:
4303         Remove element variable, we keep element info in the iterator now.
4304
4305 2005-09-27  Andy Wingo  <wingo@pobox.com>
4306
4307         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4308         values.
4309
4310 2005-09-27  Wim Taymans  <wim@fluendo.com>
4311
4312         * check/gst/gstbin.c: (GST_START_TEST):
4313         Enable check that works now.
4314
4315         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4316         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4317         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4318         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4319         (gst_bin_change_state):
4320         * gst/gstbin.h:
4321         Redid the state change algorithm using a topological sort algo.
4322         Handles all cases correctly.
4323         Exposed iterator for state change order.
4324
4325         * gst/gstelement.h:
4326         Temp storage for state changes. Need to get rid of this soon.
4327
4328 2005-09-27  Wim Taymans  <wim@fluendo.com>
4329
4330         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4331         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4332         (link_fold_func), (gst_pad_proxy_setcaps):
4333         Leak fixes, the fold functions need to unref the passed object and
4334         _get_parent_*() returns ref to parent.
4335
4336 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4337
4338         * check/gst/gstbuffer.c: (test_make_writable):
4339           Plug leak in test case and fix 'make check-valgrind'
4340
4341 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4342
4343         * gst/gstbuffer.c: (gst_subbuffer_init):
4344           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4345           works correctly in all circumstances (we could have just copied
4346           the parent buffer's readonly flag, but conceptually it seems
4347           cleaner to mark all subbuffers as read-only). (based on patch
4348           by Alessandro Decina, #314710).
4349         
4350         * check/gst/gstbuffer.c: (create_read_only_buffer),
4351         (test_make_writable), (test_subbuffer_make_writable),
4352         (gst_test_suite):
4353           Add some tests for gst_buffer_make_writable().
4354
4355 2005-09-27  Wim Taymans  <wim@fluendo.com>
4356
4357         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4358         use gst_object_has_ancestor().
4359
4360         * gst/gstobject.c: (gst_object_has_ancestor):
4361         * gst/gstobject.h:
4362         gst_object_has_ancestor() copied from gstbin.c as it is a
4363         usefull function.
4364
4365         * tests/instantiate/create.c: (create_all_elements):
4366         * tests/lat.c: (handoff_src), (handoff_sink):
4367         * tests/sched/runxml.c: (main):
4368         * tests/seeking/seeking1.c: (main):
4369         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4370         (main):
4371         Fix compilation of some tests.
4372
4373 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4374
4375         * gst/gsterror.h:
4376           Remove comment. GST_TYPE_G_ERROR is here to stay,
4377           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4378           (#316961, #300610).
4379
4380 2005-09-26  Wim Taymans  <wim@fluendo.com>
4381
4382         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4383         Added check that shows error in state change order.
4384
4385 2005-09-26  Wim Taymans  <wim@fluendo.com>
4386
4387         * gst/gstbin.c: (gst_bin_change_state):
4388         Make state change function use 3 queues again, we were
4389         adding elements in the wrong order.
4390
4391         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4392         Some debug info,
4393
4394         * gst/gstpad.c: (gst_pad_dispose):
4395         Added some debug info first.
4396
4397 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4398
4399         * docs/design/draft-push-pull.txt:
4400         * docs/design/part-events.txt:
4401         * docs/design/part-overview.txt:
4402         * docs/design/part-scheduling.txt:
4403           Replace all _pull_region() with _pull_range()
4404           
4405 2005-09-26  Andy Wingo  <wingo@pobox.com>
4406
4407         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4408
4409         * check/gst-libs/controller.c: Update for controller api change.
4410
4411         * configure.ac: 
4412         * tests/Makefile.am:
4413         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4414         over by GLib bug 118439.
4415         
4416         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4417         routines to a function.
4418
4419         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4420
4421         * libs/gst/controller/gsthelper.c:
4422         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4423         (gst_object_sync_values): Renamed from sink_values. Ugh.
4424
4425         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4426
4427         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4428         Renamed from controller_key, as it is exported.
4429
4430         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4431
4432 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4433
4434         * gst/Makefile.am:
4435         * gst/gst.h:
4436         * gst/gstpad.h:
4437         * gst/gstpadtemplate.h:
4438         * gst/gstquery.c:
4439         * gst/gstquery.h:
4440         * gst/gstqueryutils.c:
4441         * gst/gstqueryutils.h:
4442           remove queryutils headers after moving the two used functions
4443           to gstquery.  also fixes build problem for gstsiddec
4444
4445 2005-09-26  Michael Smith <msmith@fluendo.com>
4446
4447         * tools/gst-launch.1.in:
4448         Correct documentation in manpage of debug syntax
4449
4450 2005-09-26  Wim Taymans  <wim@fluendo.com>
4451
4452         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4453         (gst_base_src_is_seekable), (gst_base_src_change_state):
4454         Some more debugging info.
4455
4456 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4457
4458         * docs/gst/gstreamer-sections.txt:
4459         * gst/base/gstbasetransform.h:
4460         * gst/gstindex.h:
4461           added more docs
4462
4463 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4464
4465         * docs/gst/.cvsignore:
4466         * docs/gst/tmpl/.cvsignore:
4467         * docs/gst/tmpl/gstpipeline.sgml:
4468         * docs/gst/tmpl/gstplugin.sgml:
4469         * gst/gstpipeline.c:
4470         * gst/gstplugin.c:
4471         * gst/gstplugin.h:
4472           inlined the last two docs files
4473           removed the tmpl directory from cvs (no more conflicts here!)
4474
4475 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4476
4477         * docs/gst/gstreamer-sections.txt:
4478         * docs/gst/tmpl/.cvsignore:
4479         * docs/gst/tmpl/gstpad.sgml:
4480         * docs/gst/tmpl/gstpadtemplate.sgml:
4481         * gst/Makefile.am:
4482         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4483         (gst_pad_finalize), (gst_pad_set_pad_template):
4484         * gst/gstpad.h:
4485         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4486         (gst_pad_template_class_init), (gst_pad_template_init),
4487         (gst_pad_template_dispose), (name_is_valid),
4488         (gst_static_pad_template_get), (gst_pad_template_new),
4489         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4490         (gst_pad_template_pad_created):
4491         * gst/gstpadtemplate.h:
4492           inlined two more docs
4493           factored gstpadtemplate out of gstpad
4494
4495 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4496
4497         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4498         (test_children_state_change_order_semi_sink):
4499           Fix test case: we can't rely on a fixed state change order when
4500           going from READY => PAUSED because the sink might commit its 
4501           new state first when the first buffer created by the source 
4502           reaches the sink before the source has finished its change state.
4503           (Test case still fails at times, see #316856, comment 5 onwards)
4504
4505 2005-09-24  Wim Taymans  <wim@fluendo.com>
4506
4507         * docs/design/part-events.txt:
4508         * docs/design/part-gstbus.txt:
4509         * docs/design/part-gstpipeline.txt:
4510         * docs/design/part-messages.txt:
4511         * docs/design/part-overview.txt:
4512         * docs/design/part-segments.txt:
4513         * gst/gstbin.c:
4514         * gst/gstbuffer.c:
4515         * gst/gstclock.c:
4516         * gst/gstelement.c:
4517         * gst/gstevent.c:
4518         * gst/gstfilter.c:
4519         * gst/gstiterator.c:
4520         Various documentation updates.
4521
4522 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4523
4524         * gst/gstclock.h:
4525           Well, that's embarassing.  Luckily we weren't using
4526           GST_CLOCK_DIFF anywhere.
4527
4528 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4529
4530         * common/gtk-doc.mak:
4531           don't fail on building XML, FC4 slave shows a bunch of doc
4532           missing bits that I don't get
4533         * gst/gstpad.c:
4534         * gst/gstpipeline.c:
4535         * gst/gststructure.c:
4536           some doc updates
4537
4538 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4539
4540         * docs/design/part-gstbin.txt:
4541         * docs/design/part-gstbus.txt:
4542         * gst/gstbus.c:
4543           Add blurb about how the bus goes into flushing mode and
4544           drops all messages when its bin goes from READY into NULL 
4545           state.
4546
4547 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4548
4549         * docs/gst/gstreamer-sections.txt:
4550         * gst/gststructure.c: (gst_structure_get_clock_time):
4551         * gst/gststructure.h:
4552           add a method to get a GstClockTime out of a structure
4553
4554 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4555
4556         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4557         (test_children_state_change_order_semi_sink), (gst_bin_suite):
4558           Added test to check state change order in bins (can still be made
4559           to fail here under heavy disk load; bails out with 'Push on pad
4560           fakesink:sink0, but it was not activated in push mode').
4561
4562         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4563           Fix state change order when there is only a semi sink (#316856)
4564
4565         * gst/gstbus.c: (gst_bus_class_init):
4566           Use _class_peek_parent(), not _class_ref(); fix docs to say
4567           'default main context' instead of 'mainloop' where that is
4568           what's meant.
4569
4570         * gst/gstelement.c: (gst_element_commit_state),
4571         (gst_element_set_state):
4572           Fix typos in debug messages
4573
4574 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4575
4576         * docs/README:
4577         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4578         * gst/gstpluginfeature.c:
4579         * gst/gstutils.c:
4580           various doc updates
4581         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4582           change an assert into an error until it gets fixed properly
4583
4584 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
4585
4586         * docs/gst/gstreamer-sections.txt:
4587         * docs/gst/tmpl/.cvsignore:
4588         * docs/gst/tmpl/gstelement.sgml:
4589         * docs/gst/tmpl/gstinfo.sgml:
4590         * docs/gst/tmpl/gstobject.sgml:
4591         * gst/gstelement.c:
4592         * gst/gstelement.h:
4593         * gst/gstinfo.c:
4594         * gst/gstinfo.h:
4595         * gst/gstobject.c: (gst_object_class_init):
4596         * gst/gstobject.h:
4597           inlined 3 more biiiig doc files and added some missing docs on the fly
4598
4599 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4600
4601         * check/gst/.cvsignore:
4602         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4603         * gst/gstregistryxml.c: (load_plugin),
4604         (gst_registry_xml_save_plugin):
4605           put back source in registry.  add checks for find_plugin.
4606         * testsuite/states/bin.c: (assert_state), (empty_bin),
4607         (test_adding_one_element), (main):
4608         * testsuite/states/locked.c: (main):
4609           some compile/run fixes
4610
4611 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4612
4613         * check/gst/gstvalue.c: (GST_START_TEST):
4614           fix leaks in the test itself
4615
4616 2005-09-22  Wim Taymans  <wim@fluendo.com>
4617
4618         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4619         (gst_base_sink_send_event), (gst_base_sink_peer_query),
4620         (gst_base_sink_query):
4621         Prepare for more accurate position reporting and query
4622         handling.
4623
4624         * gst/gstelement.c: (gst_element_send_event),
4625         (gst_element_set_state):
4626         Add some comment.
4627
4628 2005-09-22  Wim Taymans  <wim@fluendo.com>
4629
4630         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4631         (gst_query_parse_segment):
4632         * gst/gstquery.h:
4633         More documentation.
4634         Add segment query for future use.
4635
4636 2005-09-22  Wim Taymans  <wim@fluendo.com>
4637
4638         * gst/gstbin.c: (gst_bin_add_func):
4639         Some more debug info.
4640
4641         * gst/gstelement.c: (gst_element_send_event):
4642         Simplify send_event
4643
4644         * gst/gstelement.h:
4645         Don't know how flags got broken.
4646
4647         * gst/gstquery.h:
4648         Added new query.
4649
4650 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4651
4652         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4653           Add simplistic test suite for GST_TYPE_DATE serialisation and
4654           deserialisation.
4655
4656 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4657
4658         * docs/gst/gstreamer-sections.txt:
4659         * gst/gststructure.c: (gst_structure_set_valist),
4660         (gst_structure_get_date):
4661         * gst/gststructure.h:
4662         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4663         (gst_date_copy), (gst_value_compare_date),
4664         (gst_value_serialize_date), (gst_value_deserialize_date),
4665         (gst_value_transform_date_string),
4666         (gst_value_transform_string_date), (_gst_value_initialize):
4667         * gst/gstvalue.h:
4668           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4669           bunch of utility functions along with a hack that checks that
4670           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4671           is required. Part of the grand scheme in #170777.
4672
4673 2005-09-22  Andy Wingo  <wingo@pobox.com>
4674
4675         * gst/gstconfig.h.in: Psych out gtk-doc.
4676
4677         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4678
4679         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4680
4681         * tools/gst-inspect.c (print_element_list): Plug some
4682         inconsequential leaks.
4683
4684         * gst/gstregistry.c (gst_registry_get_default): Doc.
4685
4686         * check/gst/gstplugin.c: 
4687         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4688         * gst/gstelementfactory.c (gst_element_factory_create): 
4689         * gst/gstindexfactory.c (gst_index_factory_create): Update for
4690         refcount changes.
4691
4692         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4693         (gst_plugin_feature_load): Doc, don't eat refs.
4694
4695         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4696         (gst_plugin_list_free): Doc.
4697         (gst_plugin_load_file): Doc updates.
4698
4699         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4700         accessors returning refcounted objects, return a ref.
4701
4702         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4703         accessor for caps. IDEMPOTENCE. Oh yes.
4704
4705 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
4706
4707         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4708
4709         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4710         (_gst_debug_register_funcptr):
4711           Add mutex to serialise access to the hash table with
4712           the function pointer => function name string mapping;
4713           make that hash table static scope (#316809).
4714
4715         * gst/registries/.cvsignore:
4716           Remove left-over file.
4717
4718 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4719
4720         * docs/pwg/appendix-porting.xml:
4721           And something about newsegment events and caps-on-buffers to
4722           the porting guide (feel free to improve).
4723
4724 2005-09-21  Andy Wingo  <wingo@pobox.com>
4725
4726         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4727         data and event probes on the same pad.
4728         (test_buffer_probe_once): Test that removing probes from within
4729         the probe functions works.
4730
4731 2005-09-21  Andy Wingo  <wingo@pobox.com>
4732
4733         * check/gst/gstutils.c: New file.
4734         (test_buffer_probe_n_times): A simple buffer probe test. More to
4735         come, foolios.
4736
4737         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4738         have-data::buffer, not have-data.
4739         (gst_pad_add_event_probe): Likewise for have-data::event.
4740         (gst_pad_add_data_probe): More docs. The part about 'resolving the
4741         peer' isn't quite right yet though.
4742         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
4743         (gst_pad_remove_data_probe): Change to take the guint handler_id
4744         as their arg, not the function+data, which is more glib-like.
4745
4746         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4747         the signal emission to indicate if the data is a buffer or an
4748         event.
4749         (gst_pad_get_type): Initialize buffer and event quarks.
4750         (gst_pad_class_init): have-data is now a detailed signal, yes it
4751         is.
4752
4753 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4754
4755         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4756         * gst/gstutils.c: (gst_util_set_value_from_string),
4757         (gst_util_set_object_arg):
4758           Don't put functional code in g_return_if_fail() or
4759           g_return_val_if_fail() statements, otherwise things will 
4760           break when G_DISABLE_CHECKS is defined during compilation.
4761
4762 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4763
4764         * docs/gst/tmpl/.cvsignore:
4765         * docs/gst/tmpl/gstvalue.sgml:
4766         * gst/gstvalue.c:
4767         * gst/gstvalue.h:
4768           inlied another one and added  some obvious docs
4769
4770 2005-09-21  Wim Taymans  <wim@fluendo.com>
4771
4772         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4773         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4774         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4775         (gst_fdsrc_get_property), (gst_fdsrc_create):
4776         * gst/elements/gstfdsrc.h:
4777         Properly implement fdsrc. Removed signal and timeout,
4778         better implemented somewhere else.
4779
4780 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4781
4782         * docs/gst/tmpl/.cvsignore:
4783         * docs/gst/tmpl/gstimplementsinterface.sgml:
4784         * gst/gstinterface.c:
4785           inlined more docs
4786
4787 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4788
4789         * docs/gst/gstreamer-sections.txt:
4790         * docs/gst/tmpl/.cvsignore:
4791         * docs/gst/tmpl/gstenumtypes.sgml:
4792           remove obsolete doc file
4793
4794 2005-09-21  David Schleef  <ds@schleef.org>
4795
4796         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4797         little beer, fix a little leak.
4798
4799 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4800
4801         * docs/gst/gstreamer-docs.sgml:
4802         * docs/gst/gstreamer-sections.txt:
4803         * docs/gst/tmpl/.cvsignore:
4804         * gst/Makefile.am:
4805         * gst/gst.h:
4806         * gst/gstbin.c:
4807         * gst/gstelement.h:
4808         * gst/gstindex.c: (gst_index_class_init):
4809         * gst/gstindex.h:
4810         * gst/gstindexfactory.c: (gst_index_factory_get_type),
4811         (gst_index_factory_class_init), (gst_index_factory_init),
4812         (gst_index_factory_finalize), (gst_index_factory_new),
4813         (gst_index_factory_destroy), (gst_index_factory_find),
4814         (gst_index_factory_create), (gst_index_factory_make):
4815         * gst/gstindexfactory.h:
4816         * gst/gstpluginfeature.c:
4817         * gst/gstpluginfeature.h:
4818         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4819           more docs inlined, splitted gstindex.{c,h}
4820
4821 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4822
4823         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4824           fix a leak
4825
4826 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4827
4828         * gst/elements/gstfilesink.c: (gst_file_sink_init):
4829           Set sync to FALSE by default.
4830
4831 2005-09-20  Wim Taymans  <wim@fluendo.com>
4832
4833         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4834         (gst_base_sink_init):
4835         Make sync property settable from subclass.
4836
4837         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4838         (gst_fake_sink_change_state):
4839         Set sync to FALSE by default.
4840
4841 2005-09-20  Wim Taymans  <wim@fluendo.com>
4842
4843         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4844         * tools/gst-launch.c: (main):
4845         The timeout handler should have lower priority than the source
4846         so we don't timeout before popping a message with 0 timeout.
4847         Dump error messages after failed state change.
4848
4849 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4850
4851         * tools/gst-inspect.c: (print_element_properties_info):
4852           Fix two typos.
4853
4854 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4855
4856         * check/gst/gstevent.c:
4857         * gst/elements/gstfakesink.c:
4858         * gst/elements/gstfakesink.h:
4859           remove the sync property from fakesink.
4860           has the side effect of setting sync TRUE
4861           for fakesink, which is a change.  Anyone who knows how
4862           to fix this nicely in a GObject-y way, feel free.
4863
4864 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4865
4866         * docs/gst/gstreamer-docs.sgml:
4867           remove probe refsection
4868
4869 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4870
4871         * check/Makefile.am:
4872           disable valgrinding the controller test again
4873         * docs/gst/gstreamer-sections.txt:
4874           update for api-changes
4875
4876 2005-09-20  Wim Taymans  <wim@fluendo.com>
4877
4878         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4879         (gst_base_sink_set_property), (gst_base_sink_get_property),
4880         (gst_base_sink_do_sync):
4881         * gst/base/gstbasesink.h:
4882         Added sync property to basesink to disable clock sync.
4883
4884 2005-09-20  Andy Wingo  <wingo@pobox.com>
4885
4886         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
4887         eating the caller's refcount.
4888
4889         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
4890         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
4891         refcount.
4892
4893         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
4894         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
4895         of GLib 2.8 public, so we can know which refcount to check in
4896         tests.
4897
4898         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
4899         (gst_object_init): Only set the gst refcount if we're going ahead
4900         with the refcount hack.
4901
4902 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4903
4904         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4905         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4906           more leaks plumbed, added more debug-logging
4907         * gst/gstmacros.h:
4908           whitespace fix
4909
4910 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4911
4912         * gst/gstmessage.c:
4913           remove include of gstmemchunk.h
4914
4915 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4916
4917         * gst/gstclock.c: (_gst_clock_id_free):
4918           Commit from the Political Party For More Atomic CVS Commits,
4919           so that people don't waste too much of their day fishing
4920           out obvious leaks out of massive commits.
4921           Oh, and fix a pretty damn obvious leak in the memchunk
4922           removal code.
4923
4924 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4925
4926         * check/Makefile.am:
4927         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4928           plug mem-leak, re-add to valgrindable tests
4929
4930 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4931
4932         * gst/gstplugin.h:
4933           unbreak the build for those who have chronic arthritis
4934           and typing "make check" is just too taxing on the hands
4935
4936 2005-09-20  Andy Wingo  <wingo@pobox.com>
4937
4938         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
4939         really want it out, you should fix plugins at the same time.
4940
4941 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
4942
4943         * configure.ac:
4944         * docs/gst/gstreamer-sections.txt:
4945         * gst/gstobject.c:
4946           added missing symbols to api docs
4947           disable ref-count hack if we have glib >= 2.8
4948
4949 2005-09-19  David Schleef  <ds@schleef.org>
4950
4951         * docs/gst/Makefile.am: Ignore a few more internal headers
4952         * docs/gst/gstreamer-docs.sgml: Remove old sections
4953         * docs/gst/gstreamer-sections.txt: Remove old sections
4954         * docs/gst/tmpl/gstobject.sgml: update
4955         * docs/gst/tmpl/gstplugin.sgml: update
4956         * docs/gst/tmpl/gstpluginfeature.sgml: update
4957         * docs/random/ds/0.9-suggested-changes: update.
4958         * gst/Makefile.am: remove memchunk and trashstack, since they're
4959           not used.
4960         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
4961         * gst/gst.h: don't include some headers
4962         * gst/gstchildproxy.c: add gstmarshal.h
4963         * gst/gstclock.c: Don't use memchunks
4964         * gst/gstminiobject.c: Add some docs
4965         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
4966         * gst/gstobject.h: same
4967         * gst/gstplugin.c: include gstmacros.h
4968         * gst/gstplugin.h: don't include gstmacros.h, since it's private
4969         * gst/gstquery.c: don't use memchunks
4970         * gst/gstregistry.c: rename gst_registry_deinit()
4971         * gst/gstregistry.h: same
4972
4973 2005-09-19  David Schleef  <ds@schleef.org>
4974
4975         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
4976         * docs/libs/gstreamer-libs-sections.txt:
4977         * docs/libs/tmpl/gstgetbits.sgml:
4978         * docs/libs/tmpl/gstputbits.sgml:
4979
4980 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4981
4982         * win32/gstenumtypes.c:
4983         * win32/gstenumtypes.h:
4984           Update.
4985
4986 2005-09-19  Wim Taymans  <wim@fluendo.com>
4987
4988         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
4989         Automatically PAUSE and RESUME a pipeline when a flushing seek
4990         is performed.
4991
4992 2005-09-19  Andy Wingo  <wingo@pobox.com>
4993
4994         * gst/gstregistry.h: Spacing fixen.
4995
4996 2005-09-19  Wim Taymans  <wim@fluendo.com>
4997
4998         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
4999         Handle state change failure more correctly.
5000
5001 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5002
5003         * check/Makefile.am:
5004         * check/pipelines/cleanup.c: (run_pipeline):
5005         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5006         (GST_START_TEST):
5007           enable cleanup again after fixing the leak
5008         * docs/README:
5009           some more info on docs
5010
5011 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5012
5013         * check/Makefile.am:
5014           re-enable tests now that leaks are plugged
5015         * check/gst/gst.c:
5016         * check/gst/gstbin.c:
5017         * check/gst/gstpipeline.c:
5018           add some more tests while fixing leaks
5019         * common/check.mak:
5020           make sure binaries are uptodate when valgrinding/gdbing
5021         * gst/gst.c:
5022         * gst/gstelementfactory.c:
5023           remove a ref too many, and add a FIXME for when we get
5024           round to disposing of classes
5025         * gst/gstplugin.c:
5026           fix the refcounting when loading a plugin from a file and
5027           the code pretends that the pointer is the same even though
5028           of course it can change
5029         * gst/gstpluginfeature.c:
5030           unref plugins marked cached (a bit confusing as a name)
5031           as the docs state should be done
5032           various doc additions to explain refcounting
5033         * gst/gstregistry.c:
5034         * gst/gstregistryxml.c:
5035           debugging
5036
5037 2005-09-19  Wim Taymans  <wim@fluendo.com>
5038
5039         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5040         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5041         (send_messages), (GST_START_TEST), (gstbus_suite):
5042         * check/gst/gstpipeline.c: (GST_START_TEST):
5043         * check/pipelines/cleanup.c: (run_pipeline):
5044         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5045         (GST_START_TEST):
5046         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5047         (gst_bus_source_check), (gst_bus_source_dispatch),
5048         (gst_bus_create_watch), (gst_bus_add_watch_full),
5049         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5050         * gst/gstbus.h:
5051         * tools/gst-launch.c: (event_loop):
5052         * tools/gst-md5sum.c: (event_loop):
5053         GstBusHandler -> GstBusFunc, return value has the same meaning as
5054         any other GSource (FALSE == remove source).
5055         _add_watch() and _add_watch_full() now take a MessageType mask to
5056         only handle specific types of messages.
5057         _poll() returns the GstMessage instead of the message type to avoid
5058         race conditions.
5059         _have_pending() takes a MessageType mask now too.
5060         Added testsuite for multiple bus watches.
5061         Fix testsuites and applications for new bus API.
5062
5063 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5064
5065         * check/Makefile.am:
5066           mark a bunch of the tests as to fix until we fix them
5067
5068 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5069
5070         * common/check.mak:
5071           use GST_PLUGIN settings for valgrind tests as well, so we're
5072           valgrinding the correct thing
5073         * gst/gst.c: (init_post):
5074           plug another leak
5075
5076 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5077
5078         * gst/gst.c: (init_post), (gst_deinit):
5079         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5080         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5081         * gst/gstindex.c: (gst_index_factory_class_init),
5082         (gst_index_factory_finalize):
5083         * gst/gstobject.c: (gst_object_dispose):
5084         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5085         (gst_plugin_load_file), (gst_plugin_desc_free):
5086         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5087         (gst_plugin_feature_finalize):
5088         * gst/gstregistry.c: (gst_registry_class_init),
5089         (gst_registry_init), (gst_registry_finalize),
5090         (gst_registry_get_default), (gst_registry_deinit):
5091         * gst/gstregistry.h:
5092         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5093           various cleanups and memleak plugging.  make valgrind is happy now.
5094
5095 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5096
5097         * common/check.mak:
5098           add a check-valgrind target
5099
5100 2005-09-18  David Schleef  <ds@schleef.org>
5101
5102         * tools/gst-inspect.c: Revert the GOption code.
5103
5104 2005-09-17  David Schleef  <ds@schleef.org>
5105
5106         * check/Makefile.am: Fix environment variables.
5107         * check/gst/gstplugin.c: Fix for API changes.
5108         * tools/gst-inspect.c: Fix for API changes.
5109         * tools/gst-xmlinspect.c: Fix for API changes.
5110         * gst/gstelementfactory.c:
5111         * gst/gstplugin.c:
5112         * gst/gstplugin.h:
5113         * gst/gstpluginfeature.c:
5114         * gst/gstpluginfeature.h:
5115         * gst/gstregistry.c:
5116         * gst/gstregistry.h:
5117         * gst/gstregistryxml.c:
5118         * gst/gsttypefind.c:
5119         * gst/gsttypefindfactory.c:
5120         * gst/indexers/gstfileindex.c:
5121         * gst/indexers/gstmemindex.c:
5122         * gst/schedulers/Makefile.am:
5123           Change registry to keep track of both plugins and features,
5124           removing the feature tracking from plugins themselves.
5125
5126 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5127
5128         * check/Makefile.am:
5129         * tools/gst-register.1.in:
5130           remove gst-register
5131
5132 2005-09-15  David Schleef  <ds@schleef.org>
5133
5134         * check/gst/gstplugin.c:
5135         * gst/gstelementfactory.c:
5136         * gst/gstplugin.c:
5137         * gst/gstpluginfeature.c:
5138         * gst/gstregistry.c:
5139           Getting tired of debugging.  Disabled all the unreffing of
5140           plugins and features, which fixes the segfaults, but of
5141           course leaks like crazy.  At least playbin works.
5142
5143 2005-09-15  David Schleef  <ds@schleef.org>
5144
5145         * check/gst/gstplugin.c: (register_check_elements),
5146         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5147         More testing
5148         * gst/elements/gsttypefindelement.c: Fix refcounting.
5149         * gst/gsttypefind.c:
5150         * gst/gsttypefindfactory.c:
5151         * gst/gsttypefindfactory.h:
5152
5153 2005-09-15  David Schleef  <ds@schleef.org>
5154
5155         * gst/gstindex.c: get refcounting correct.
5156         * gst/gstregistry.c: Handle the case where a feature/plugin is
5157           not found.
5158
5159 2005-09-15  David Schleef  <ds@schleef.org>
5160
5161         * check/Makefile.am:
5162         * check/gst/gstplugin.c: Add test
5163         * gst/gstplugin.c: Fix problems noticed by testsuite
5164         * gst/gstplugin.h:
5165         * gst/gstregistry.c: 
5166         * gst/gstregistry.h:
5167
5168 2005-09-15  David Schleef  <ds@schleef.org>
5169
5170         * gst/gstplugin.c: Implement semi-decent recounting and locking
5171           in plugins and plugin features.
5172         * gst/gstplugin.h:
5173         * gst/gstpluginfeature.c:
5174         * gst/gstpluginfeature.h:
5175         * gst/gstregistry.c:
5176
5177 2005-09-15  Michael Smith <msmith@fluendo.com>
5178
5179         * gst/gstregistry.c: (gst_registry_get_feature_list):
5180           Implement this. Makes oggdemux work; decodebin still broken.
5181
5182 2005-09-14  David Schleef  <ds@schleef.org>
5183
5184         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5185           #316076)
5186         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5187         * gst/check/Makefile.am:
5188         * libs/gst/controller/Makefile.am:
5189         * libs/gst/dataprotocol/Makefile.am:
5190
5191 2005-09-14  David Schleef  <ds@schleef.org>
5192
5193         * configure.ac: Remove getbits library.  Nothing uses it, and
5194           it should be in something like liboil if someone did want
5195           to use it.
5196         * libs/gst/Makefile.am:
5197         * libs/gst/getbits/Makefile.am:
5198         * libs/gst/getbits/gbtest.c:
5199         * libs/gst/getbits/getbits.c:
5200         * libs/gst/getbits/getbits.h:
5201         * libs/gst/getbits/gstgetbits_generic.c:
5202         * libs/gst/getbits/gstgetbits_i386.s:
5203         * libs/gst/getbits/gstgetbits_inl.h:
5204
5205 2005-09-14  David Schleef  <ds@schleef.org>
5206
5207         * gst/Makefile.am: Dist glib-compat.h
5208
5209 2005-09-14  David Schleef  <ds@schleef.org>
5210
5211         * configure.ac: Remove gst/registries, since it's no longer used.
5212         * gst/registries/Makefile.am:
5213         * gst/registries/gstlibxmlregistry.c:
5214         * gst/registries/gstlibxmlregistry.h:
5215         * gst/registries/gstxmlregistry.c:
5216         * gst/registries/gstxmlregistry.h:
5217         * gst/registries/registrytest.c:
5218
5219 2005-09-14  David Schleef  <ds@schleef.org>
5220
5221         * gst/glib-compat.h:
5222         * gst/gstregistryxml.c:
5223           Convergence is near.  Seriously.
5224
5225 2005-09-14  David Schleef  <ds@schleef.org>
5226
5227         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5228         * gst/glib-compat.h:
5229           Attempt #4 to appease the buildbots.
5230
5231 2005-09-14  David Schleef  <ds@schleef.org>
5232
5233         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5234           Attempt #3.
5235
5236 2005-09-14  David Schleef  <ds@schleef.org>
5237
5238         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5239         Attempt #2.
5240
5241 2005-09-14  David Schleef  <ds@schleef.org>
5242
5243         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5244           the new functions.
5245
5246 2005-09-14  David Schleef  <ds@schleef.org>
5247
5248         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5249         * gst/glib-compat.h: Add some functions that are in newer versions
5250           of glib than we care to require.
5251         * gst/gstregistryxml.c: Use them.
5252
5253 2005-09-14  David Schleef  <ds@schleef.org>
5254
5255         * po/POTFILES.in: remove gst-register.c
5256
5257 2005-09-14  David Schleef  <ds@schleef.org>
5258
5259         * docs/gst/gstreamer-docs.sgml:
5260         * docs/gst/gstreamer-sections.txt:
5261         * docs/gst/gstreamer.types:
5262         * docs/gst/tmpl/gstelement.sgml:
5263         * docs/gst/tmpl/gstplugin.sgml:
5264         * docs/gst/tmpl/gstpluginfeature.sgml:
5265           Documentation updates for registry changes.
5266
5267 2005-09-14  David Schleef  <ds@schleef.org>
5268
5269         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5270           because we don't require glib-2.8.
5271
5272 2005-09-14  David Schleef  <ds@schleef.org>
5273
5274         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5275           registries directory.
5276
5277 2005-09-14  David Schleef  <ds@schleef.org>
5278
5279         * check/Makefile.am:
5280         * check/generic/states.c:
5281         * gst/Makefile.am:
5282         * gst/gst.c:
5283         * gst/gst.h:
5284         * gst/gst_private.h:
5285         * gst/gstelementfactory.c:
5286         * gst/gstindex.c:
5287         * gst/gstinfo.c:
5288         * gst/gstplugin.c:
5289         * gst/gstplugin.h:
5290         * gst/gstpluginfeature.c:
5291         * gst/gstpluginfeature.h:
5292         * gst/gstregistry.c:
5293         * gst/gstregistry.h:
5294         * gst/gstregistrypool.c: remove
5295         * gst/gstregistrypool.h: remove
5296         * gst/gsttypefind.c:
5297         * gst/gsttypefindfactory.c:
5298         * gst/gsturi.c:
5299         * tools/Makefile.am:
5300         * tools/gst-compprep.c:
5301         * tools/gst-inspect.c:
5302         * tools/gst-register.c: remove
5303         * tools/gst-xmlinspect.c:
5304           Registry rewrite.  Changes registry from being a file created
5305           by a tool into a simple cache file created automatically by 
5306           libgstreamer.  Removed gst-register (because it's no longer
5307           needed).  Remove registry pools, because we only have one
5308           registry implementation (XML).  Fix up other subsystems as
5309           necessary.
5310
5311 2005-09-13  Michael Smith <msmith@fluendo.com>
5312
5313         * gst/gstconfig.h.in:
5314           Don't Use windows linking attributes for MinGW. Fixes #316157
5315
5316 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5317
5318         * gst/gstutils.c: (set_state_async_thread_func),
5319         (gst_element_set_state_async):
5320           Apparently people think it's better if this function doesn't
5321           try to set the state to whatever state was asked for on the first
5322           call to this function for any object.  Seriously.
5323
5324 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5325
5326         * check/gst/gstpipeline.c: (GST_START_TEST):
5327         * docs/gst/gstreamer-sections.txt:
5328         * gst/gstutils.c: (set_state_async_thread_func),
5329         (gst_element_set_state_async):
5330         * gst/gstutils.h:
5331           add a "gst_element_set_state_async" method that
5332           sets the state and starts a thread to make sure the state
5333           change completes as best as it can
5334
5335 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5336
5337         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5338           codify design+behaviour in testsuite after discussion
5339
5340 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5341
5342         * docs/gst/tmpl/gstelement.sgml:
5343         * docs/manual/appendix-quotes.xml:
5344           add a quote
5345         * gst/gstelement.c: (gst_element_set_state):
5346           add some debug
5347
5348 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5349
5350         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5351         (gst_base_transform_prepare_output_buf),
5352         (gst_base_transform_handle_buffer):
5353         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5354         (gst_capsfilter_prepare_buf):
5355           Remove the requirement for sub-classes to call the parent
5356           implementation of prepare_output_buffer with a wrapper function.
5357           
5358         * gst/gsttaglist.h:
5359         * gst/gsttagsetter.h:
5360           Fix #define wrapper
5361
5362 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5363
5364         * docs/gst/gstreamer-sections.txt:
5365           more doc cleanups
5366
5367 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5368
5369         * docs/gst/gstreamer-sections.txt:
5370         * docs/gst/tmpl/gstelement.sgml:
5371         * docs/gst/tmpl/gstplugin.sgml:
5372         * gst/gstminiobject.c:
5373         * gst/gstvalue.h:
5374           docs now stop throwing warnings
5375
5376 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5377
5378         * docs/gst/gstreamer-sections.txt:
5379         * docs/gst/gstreamer.types:
5380         * docs/gst/tmpl/gstpad.sgml:
5381         * docs/gst/tmpl/gsttypes.sgml:
5382         * gst/base/gstadapter.h:
5383         * gst/base/gstbasesink.h:
5384         * gst/base/gstbasesrc.h:
5385         * gst/gstbin.h:
5386         * gst/gstbuffer.h:
5387         * gst/gstbus.h:
5388         * gst/gstcaps.h:
5389         * gst/gstclock.h:
5390         * gst/gstelement.h:
5391         * gst/gstevent.h:
5392         * gst/gstmessage.h:
5393         * gst/gstpad.h:
5394         * gst/gststructure.c:
5395         * gst/registries/gstlibxmlregistry.h:
5396           various documentation fixes
5397
5398 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5399
5400         * docs/gst/gstreamer-sections.txt:
5401         * docs/gst/tmpl/gstvalue.sgml:
5402           rearrange gstvalue section
5403         * gst/gstutils.c: (gst_element_state_get_name):
5404           NONE -> VOID
5405         * gst/gstvalue.c: (_gst_value_initialize):
5406         * gst/gstvalue.h:
5407           doc updates
5408
5409 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5410
5411         * check/gst-libs/controller.c:
5412           Header include fix.
5413         * gst/base/gstbasetransform.c:
5414         (gst_base_transform_default_prepare_buf),
5415         (gst_base_transform_handle_buffer):
5416         * gst/base/gstbasetransform.h:
5417           Some more basetransform changes and fixes to enable sub-classes
5418           that modify buffer metadata only.
5419         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5420         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5421         (gst_capsfilter_prepare_buf):
5422           If the output pad has fixed allowed caps and input buffers 
5423           don't have any, set the fixed caps on outgoing buffers.
5424
5425 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5426         * check/elements/identity.c: (GST_START_TEST):
5427           Make the error a little clearer when the test fails because
5428           identity made a copy of the buffer.
5429         * docs/gst/gstreamer-sections.txt:
5430           New symbols in gstbasetransform.h
5431         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5432         (gst_base_transform_init), (gst_base_transform_transform_size),
5433         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5434         (gst_base_transform_default_prepare_buf),
5435         (gst_base_transform_get_unit_size),
5436         (gst_base_transform_buffer_alloc),
5437         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5438         (gst_base_transform_change_state),
5439         (gst_base_transform_set_passthrough),
5440         (gst_base_transform_set_in_place),
5441         (gst_base_transform_is_in_place):
5442         * gst/base/gstbasetransform.h:
5443           Change BaseTransform to separate in_place operate from same_caps
5444           output. in_place implies that the element can perform the transform
5445           on incoming buffers in-place, even if the caps on the output are
5446           different.
5447           Sub-class elements can now implement special buffer allocation
5448           methods for outgoing buffers if they wish to.
5449           Big documentation addition.
5450         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5451         * gst/elements/gstelements.c:
5452           Changes for basetransform modifications.
5453         * gst/elements/Makefile.am:
5454         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5455           Compile fix. Extra debug output.
5456
5457 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5458
5459         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5460         (gst_pad_suite):
5461           add tests for valid pad naming
5462         * gst/check/gstcheck.c: (gst_check_log_message_func),
5463         (gst_check_log_critical_func):
5464           add ASSERT_WARNING
5465           remove printing of code, it is fragile when the code contains
5466           % and the line number is enough info
5467         * gst/check/gstcheck.h:
5468         * gst/gstpad.c: (gst_pad_template_new):
5469           fix memleaks
5470
5471 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5472
5473         * configure.ac:
5474           say what CHECK flags we use
5475         * docs/libs/gstreamer-libs.types:
5476         * libs/gst/controller/Makefile.am:
5477         * libs/gst/controller/gst-controller.c:
5478         * libs/gst/controller/gst-controller.h:
5479         * libs/gst/controller/gst-helper.c:
5480         * libs/gst/controller/gst-interpolation.c:
5481         * libs/gst/controller/gstcontroller.c:
5482         * libs/gst/controller/gsthelper.c:
5483         * libs/gst/controller/gstinterpolation.c:
5484         * tools/gst-inspect.c: (print_plugin_info):
5485           we don't use dashes in header names
5486
5487 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5488
5489         * check/Makefile.am:
5490         * check/gst/.cvsignore:
5491         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5492         (gst_pipeline_suite), (main):
5493           adding a test for pipelines and state changes
5494         * gst/gstutils.c: (get_state_func):
5495           add some debugging
5496         * gstreamer.spec.in:
5497           fix up spec file
5498
5499 2005-09-08  Michael Smith <msmith@fluendo.com>
5500
5501         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5502         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5503         (gst_file_src_is_seekable), (gst_file_src_get_size),
5504         (gst_file_src_start):
5505         * gst/elements/gstfilesrc.h:
5506           Various fixes for unseekable, unmmapable, and non-normal files, so
5507           that fallback to read() rather than mmap() works.
5508         * gst/gstevent.c: (gst_event_new_newsegment):
5509           Allow newsegment events with segment_start == segment_end, as will
5510           correctly happen if you use filesrc on a zero-size file, for
5511           example.
5512
5513 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5514
5515         * gst/gstplugin.c: (gst_plugin_load_file):
5516           Call g_module_close when we don't load the module
5517
5518         * gst/registries/gstlibxmlregistry.c:
5519         (gst_xml_registry_get_property):
5520           Port leak fix from 0.8
5521
5522 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5523
5524         * docs/gst/gstreamer-docs.sgml:
5525         * docs/gst/tmpl/.cvsignore:
5526         * docs/gst/tmpl/gsttrace.sgml:
5527         * docs/gst/tmpl/gsttrashstack.sgml:
5528         * gst/Makefile.am:
5529         * gst/gst.h:
5530         * gst/gstelement.h:
5531         * gst/gstevent.h:
5532         * gst/gstmessage.c:
5533         * gst/gstmessage.h:
5534         * gst/gsttag.c:
5535         * gst/gsttag.h:
5536         * gst/gsttaginterface.c:
5537         * gst/gsttaginterface.h:
5538         * gst/gsttaglist.c:
5539         * gst/gsttaglist.h:
5540         * gst/gsttagsetter.c:
5541         * gst/gsttagsetter.h:
5542         * gst/gsttrace.c:
5543         * gst/gsttrace.h:
5544         * gst/gsttrashstack.c:
5545           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5546           inlined docs for gsttrace, gsttrashstack
5547
5548 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5549
5550         * gst/Makefile.am:
5551         * gst/elements/gstbufferstore.h:
5552         * gst/elements/gsttypefindelement.c:
5553         * gst/elements/gsttypefindelement.h:
5554         * gst/gst.h:
5555         * gst/gsttypefind.c:
5556         * gst/gsttypefind.h:
5557         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5558         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5559         (gst_type_find_factory_dispose),
5560         (gst_type_find_factory_unload_thyself),
5561         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5562         (gst_type_find_factory_get_caps),
5563         (gst_type_find_factory_get_extensions),
5564         (gst_type_find_factory_call_function):
5565         * gst/gsttypefindfactory.h:
5566         * gst/registries/gstlibxmlregistry.c:
5567         * gst/registries/gstxmlregistry.c:
5568           splitted gsttypefind into gsttypefind, gsttypefindfactory
5569
5570 2005-09-07  Andy Wingo  <wingo@pobox.com>
5571
5572         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5573         condition whereby the pad's task function is entered before the
5574         pad_mode variable was set.
5575
5576 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5577
5578         * gst/gstpad.c: (gst_pad_alloc_buffer):
5579           Catch misbehaving pad_alloc functions that don't
5580           set up caps and do it for them.
5581
5582 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5583
5584         * check/pipelines/simple_launch_lines.c: (run_pipeline):
5585           test for pipe!=NULL
5586         * docs/gst/tmpl/.cvsignore:
5587         * docs/gst/tmpl/gstmemchunk.sgml:
5588         * docs/gst/tmpl/gstparse.sgml:
5589         * docs/gst/tmpl/gsttaglist.sgml:
5590         * docs/gst/tmpl/gsttagsetter.sgml:
5591         * docs/gst/tmpl/gsttypefind.sgml:
5592         * docs/gst/tmpl/gsttypefindfactory.sgml:
5593         * gst/gstmemchunk.c:
5594         * gst/gstparse.c:
5595         * gst/gsttag.c:
5596         * gst/gsttaginterface.c:
5597         * gst/gsttypefind.c:
5598         * gst/gsttypefind.h:
5599           inlined more docs
5600
5601 === release 0.9.2 ===
5602
5603 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5604
5605         * NEWS:
5606         * RELEASE:
5607         * configure.ac:
5608           releasing 0.9.2, "South"
5609
5610 2005-09-05  Andy Wingo  <wingo@pobox.com>
5611
5612         * gst/registries/gstxmlregistry.h:
5613         * gst/registries/gstxmlregistry.c: Um... resurrect...
5614         
5615         * gst/registries/gstxmlregistry.h:
5616         * gst/registries/gstxmlregistry.c: and update to newer API.
5617         Incidentally they should be a bit faster now that they don't have
5618         to parse the caps.
5619         
5620 2005-09-05  Andy Wingo  <wingo@pobox.com>
5621
5622         * gst/registries/gstxmlregistry.h:
5623         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5624         replaced by the libxml registry a while back
5625
5626 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5627
5628         * docs/gst/tmpl/gstplugin.sgml:
5629         * gst/elements/gstelements.c:
5630         * gst/gst.c:
5631         * gst/gstplugin.c: (gst_plugin_register_func),
5632         (gst_plugin_desc_copy), (gst_plugin_desc_free),
5633         (gst_plugin_get_source):
5634         * gst/gstplugin.h:
5635         * gst/registries/gstlibxmlregistry.c: (load_plugin),
5636         (gst_xml_registry_save_plugin):
5637         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5638         (gst_xml_registry_save_plugin):
5639         * tools/gst-inspect.c: (print_plugin_info):
5640           add a "source" plugin description field, to represent the source
5641           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
5642           will set it to PACKAGE, which is automake's idea of the name of
5643           the source project.
5644
5645 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5646
5647         * Makefile.am:
5648         * autogen.sh:
5649         * configure.ac:
5650         * docs/Makefile.am:
5651         * docs/faq/Makefile.am:
5652         * docs/gst/tmpl/gstelement.sgml:
5653         * docs/gst/tmpl/gsttypes.sgml:
5654         * docs/htmlinstall.mak:
5655         * docs/manual/Makefile.am:
5656         * docs/pwg/Makefile.am:
5657           reorganize doc build a little
5658           split out docbook and gtk-doc stuff
5659           have two separate --enable's and enable them through autogen
5660           but disable by default in configure (to be similar to other
5661           projects)
5662         * gstreamer.spec.in:
5663           clean up docs install
5664         * po/af.po:
5665         * po/az.po:
5666         * po/ca.po:
5667         * po/cs.po:
5668         * po/de.po:
5669         * po/en_GB.po:
5670         * po/fr.po:
5671         * po/it.po:
5672         * po/nb.po:
5673         * po/nl.po:
5674         * po/ru.po:
5675         * po/sq.po:
5676         * po/sr.po:
5677         * po/sv.po:
5678         * po/tr.po:
5679         * po/uk.po:
5680         * po/vi.po:
5681           translation updates
5682
5683 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5684
5685         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5686           Add comment.
5687           
5688         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5689         (gst_fake_sink_change_state):
5690           Make state change function thread-safe.
5691           
5692         * gst/gstpad.c: (gst_pad_alloc_buffer):
5693           Set offset on generic buffer allocated by fallback.
5694
5695 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
5696
5697         * docs/gst/gstreamer-sections.txt:
5698         * docs/gst/tmpl/gstelement.sgml:
5699         * gst/gstpad.c:
5700         * libs/gst/controller/gst-controller.c:
5701         (gst_controlled_property_set_interpolation_mode),
5702         (gst_controlled_property_new),
5703         (gst_controller_find_controlled_property):
5704          run the wingo-magic script against the docs
5705
5706 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5707
5708         * docs/gst/gstreamer-docs.sgml:
5709         * docs/gst/gstreamer-sections.txt:
5710         * docs/gst/tmpl/.cvsignore:
5711         * docs/gst/tmpl/gstelementdetails.sgml:
5712         * docs/gst/tmpl/gstelementfactory.sgml:
5713         * gst/gst.c:
5714         * gst/gstbus.c:
5715         * gst/gstelementfactory.c:
5716         * gst/gstelementfactory.h:
5717           merged elementdetails docs into elementfactory docs
5718           inlined both
5719
5720 2005-09-02  Andy Wingo  <wingo@pobox.com>
5721
5722         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5723         consider this enum an enum and not a flags.
5724
5725 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5726
5727         * docs/gst/gstreamer-docs.sgml:
5728         * docs/gst/tmpl/.cvsignore:
5729         * docs/gst/tmpl/gstghostpad.sgml:
5730         * docs/gst/tmpl/gstiterator.sgml:
5731         * docs/gst/tmpl/gstmacros.sgml:
5732         * docs/gst/tmpl/gstrealpad.sgml:
5733         * docs/gst/tmpl/gstregistry.sgml:
5734         * docs/gst/tmpl/gstregistrypool.sgml:
5735         * docs/gst/tmpl/gststructure.sgml:
5736         * docs/gst/tmpl/gstsystemclock.sgml:
5737         * docs/gst/tmpl/gsttrace.sgml:
5738         * gst/gstghostpad.c:
5739         * gst/gstmacros.h:
5740         * gst/gstmemchunk.c:
5741         * gst/gstmemchunk.h:
5742         * gst/gstqueue.c:
5743         * gst/gstregistry.c:
5744         * gst/gstregistrypool.c:
5745         * gst/gststructure.c:
5746         * gst/gstsystemclock.c:
5747           more docs inlined
5748
5749 2005-09-02  Andy Wingo  <wingo@pobox.com>
5750
5751         * gst/gstelement.h (GstState): Renamed from GstElementState,
5752         changed to be a normal enum instead of flags.
5753         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5754         munged to be GST_STATE_CHANGE_*.
5755         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5756         work with the new state representation.
5757         (GstStateChange): New enumeration of possible state transitions.
5758         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5759         (GstElementClass::change_state): Pass the GstStateChange along as
5760         an argument. Helps language bindings, so they don't have to use
5761         tricky lock-needing macros like GST_STATE_CHANGE ().
5762
5763         * scripts/update-states (file): New script. Run it on a file to
5764         update it for state naming and API changes. Updates files in
5765         place.
5766
5767         * All files updated for the new API.
5768
5769 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5770
5771         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5772         * gst/gstutils.c: (gst_util_set_value_from_string),
5773         (gst_util_set_object_arg):
5774           fix a bunch of unchecked return values
5775         * tools/gst-complete.c: (main):
5776         * gstreamer.spec.in:
5777           clean up a little
5778
5779 2005-09-01  Wim Taymans  <wim@fluendo.com>
5780
5781         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5782         (gst_base_sink_event), (gst_base_sink_do_sync),
5783         (gst_base_sink_handle_event):
5784         * gst/base/gstbasesink.h:
5785         Handle newsegments more correctly.
5786
5787         * gst/gstbus.c:
5788         Fix docs.
5789
5790         * gst/gstevent.c: (gst_event_new_newsegment):
5791         A newsegment cannot have a start_time of -1
5792
5793 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5794
5795         * win32/gstenumtypes.c:
5796         * win32/gstenumtypes.h:
5797           Update
5798
5799 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5800
5801         * libs/gst/controller/gst-controller.c:
5802         (gst_controlled_property_set_interpolation_mode),
5803         (gst_controlled_property_new):
5804          fixed boolean again
5805
5806 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5807
5808         * docs/faq/gst-uninstalled:
5809           add -good
5810         * gst/gstevent.c:
5811         * gst/gstevent.h:
5812           remove wrong docs
5813         * gst/gstutils.c: (gst_element_link_filtered):
5814         * gst/gstutils.h:
5815           add gst_element_link_filtered
5816
5817 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5818
5819         * docs/gst/gstreamer-docs.sgml:
5820         * docs/gst/gstreamer-sections.txt:
5821         * docs/gst/tmpl/.cvsignore:
5822         * docs/gst/tmpl/gsterror.sgml:
5823         * docs/gst/tmpl/gstfilter.sgml:
5824         * docs/gst/tmpl/gsturihandler.sgml:
5825         * docs/gst/tmpl/gsturitype.sgml:
5826         * docs/gst/tmpl/gstutils.sgml:
5827         * docs/gst/tmpl/gstxml.sgml:
5828         * gst/gsterror.c:
5829         * gst/gsterror.h:
5830         * gst/gstfilter.c:
5831         * gst/gsturi.c:
5832         * gst/gsturitype.c:
5833         * gst/gstutils.c:
5834         * gst/gstxml.c:
5835           inlined more docs, fixed double id-ref
5836
5837 2005-08-31  Wim Taymans  <wim@fluendo.com>
5838
5839         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5840         (gst_base_transform_handle_buffer):
5841         Passthrough elements don't need the caps as they don't care.
5842
5843 2005-08-31  Wim Taymans  <wim@fluendo.com>
5844
5845         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5846         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
5847         Don't leak refcounts on buffers.
5848
5849 2005-08-31  Wim Taymans  <wim@fluendo.com>
5850
5851         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
5852         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5853         (gst_base_transform_chain), (gst_base_transform_change_state):
5854         * gst/base/gstbasetransform.h:
5855         Handle the case where we are not negotiated more gracefully.
5856
5857 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
5858
5859         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
5860         (gst_file_src_map_region):
5861           Set READONLY flag on mmap'ed buffers, otherwise
5862           gst_buffer_make_writable() won't work properly (#314708).
5863
5864 2005-08-31  Wim Taymans  <wim@fluendo.com>
5865
5866         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
5867         passthrough elements can even do inplace on non writable
5868         buffers (as they don't touch them).
5869
5870 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5871
5872         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5873         (gst_test_mono_source_set_property),
5874         (gst_test_mono_source_class_init), (GST_START_TEST),
5875         (gst_controller_suite):
5876           more tests (hehe I have the most)
5877         * gst/gstbus.c:
5878           describe popping messages whenusing mulltiple sources
5879         * libs/gst/controller/gst-controller.c:
5880         (gst_controlled_property_set_interpolation_mode),
5881         (gst_controlled_property_new):
5882         * libs/gst/controller/gst-controller.h:
5883         * libs/gst/controller/gst-interpolation.c:
5884           implement boolean properties
5885
5886 2005-08-31  Wim Taymans  <wim@fluendo.com>
5887
5888         * gst/gstminiobject.c: (gst_mini_object_ref):
5889         Cannot assert that the refcount has to be positive
5890         since a disposed object can be resurrected.
5891
5892 2005-08-31  Wim Taymans  <wim@fluendo.com>
5893
5894         * gst/gstpad.c: (gst_pad_init):
5895         Revert change, need to first fix badly behaving 
5896         apps.
5897
5898 2005-08-30  Wim Taymans  <wim@fluendo.com>
5899
5900         * check/elements/fakesrc.c: (setup_fakesrc):
5901         * check/elements/identity.c: (setup_identity):
5902         Activate pads before using them.
5903
5904 2005-08-30  Wim Taymans  <wim@fluendo.com>
5905
5906         * gst/base/gstadapter.c: (gst_adapter_flush):
5907         Flushing out 0 bytes is ok for this function.
5908
5909         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5910         no newsegment gives a warning and sets the start/stop to 
5911         invalid.
5912
5913         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
5914         (gst_base_transform_set_passthrough):
5915         Some debug info.
5916
5917         * gst/gstminiobject.c: (gst_mini_object_ref):
5918         Check refcount here too.
5919
5920         * gst/gstpad.c: (gst_pad_init):
5921         Pads are initially flushing and refusing data.
5922
5923         * gst/gstutils.c: (gst_element_link_pads_filtered):
5924         When adding a capsfilter element make sure it has the
5925         same state as the parent bin.
5926
5927 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5928
5929         * docs/gst/tmpl/.cvsignore:
5930         * docs/gst/tmpl/gstformat.sgml:
5931         * docs/gst/tmpl/gstversion.sgml:
5932         * gst/gstbus.h:
5933         * gst/gstformat.c:
5934         * gst/gstformat.h:
5935         * gst/gstversion.h.in:
5936           more docs and two more inlined
5937
5938 2005-08-30  Wim Taymans  <wim@fluendo.com>
5939
5940         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
5941         Don't sync to clock.
5942
5943 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5944
5945         * docs/gst/gstreamer-sections.txt:
5946           ultral33t func10ns deserve to appear in the docs actually
5947         * docs/gst/tmpl/.cvsignore:
5948         * docs/gst/tmpl/gstcompat.sgml:
5949         * docs/gst/tmpl/gstconfig.sgml:
5950         * gst/check/gstcheck.c:
5951         * gst/gstcompat.h:
5952         * gst/gstconfig.h.in:
5953           inlined more docs
5954
5955 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5956
5957         * docs/gst/tmpl/.cvsignore:
5958         * docs/gst/tmpl/gstquery.sgml:
5959         * docs/gst/tmpl/gstutils.sgml:
5960         * gst/gstquery.c:
5961         * gst/gstquery.h:
5962           inlined and extended docs
5963
5964 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5965
5966         * check/gst-libs/controller.c: (GST_START_TEST),
5967         (gst_controller_suite):
5968           more tests
5969         * docs/gst/tmpl/gstutils.sgml:
5970         * docs/libs/gstreamer-libs-sections.txt:
5971         * docs/libs/tmpl/gstdataprotocol.sgml:
5972           include path fixes
5973         * examples/controller/audio-example.c: (main):
5974           controller example works now
5975         * gst/gstclock.h:
5976           doc fixes
5977         * tools/gst-inspect.c: (print_element_properties_info):
5978           show param spec flags
5979
5980 2005-08-29  Andy Wingo  <wingo@pobox.com>
5981
5982         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
5983
5984 2005-08-28  Andy Wingo  <wingo@pobox.com>
5985
5986         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
5987         as having two arguments instead of just one. Allows superclasses
5988         to access information on subclasses -- see the terrible for() loop
5989         in gtype.c:g_type_create_instance for the reason why. All callers
5990         changed.
5991
5992 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
5993
5994         * docs/design/part-messages.txt:
5995           update info
5996         * docs/gst/tmpl/.cvsignore:
5997         * docs/gst/tmpl/gstcaps.sgml:
5998         * docs/gst/tmpl/gstclock.sgml:
5999         * gst/gstbus.c:
6000         * gst/gstcaps.c:
6001         * gst/gstcaps.h:
6002         * gst/gstclock.c:
6003         * gst/gstclock.h:
6004         * gst/gstmessage.c:
6005           added descriptions for bus and message
6006           inline caps and clock docs
6007
6008 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6009
6010         * gst/gstmessage.c:
6011         * gst/gstmessage.h:
6012           doc fixes
6013
6014 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6015
6016         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6017           fix div-by-zero
6018
6019 2005-08-26  Andy Wingo  <wingo@pobox.com>
6020
6021         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6022         element_set_state's return val.
6023         (test_2_elements): Add test that's been disabled for months.
6024
6025         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6026         can-activate-pull properties.
6027
6028         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6029         can-activate-pull properties. Implement is_seekable so fakesrc can
6030         operate in pull mode.
6031
6032         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6033         properties.
6034         (gst_base_sink_activate, gst_base_sink_activate_pull)
6035         (gst_base_sink_activate_push): Make activation mode choosing work.
6036         Cleanups.
6037         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6038         is right. Make pull mode work. Post an eos before pausing in pull
6039         mode.
6040         (gst_base_sink_change_state): Pay attention to the core's
6041         change_state() return val.
6042         
6043         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6044         has-getrange properties. Cleanups.
6045         
6046         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6047         has_getrange and replace with can_activate_pull and
6048         can_activate_push.
6049
6050         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6051         locking comments. Remove has_loop, has_chain and replace with
6052         can_activate_pull and can_activate_push.
6053
6054 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6055
6056         * configure.ac:
6057         * examples/Makefile.am:
6058         * examples/metadata/Makefile.am:
6059         * examples/metadata/read-metadata.c: (message_loop),
6060         (have_pad_handler), (make_pipeline), (print_tag), (main):
6061           Add metadata reading example that loops over a list of filenames,
6062           dumping any tags found.
6063
6064         * gst/gstbus.c: (gst_bus_dispose):
6065         * gst/gstelement.c: (gst_element_dispose):
6066           Release a few potentially-held references in dispose.
6067
6068 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6069
6070         * docs/gst/tmpl/gstminiobject.sgml:
6071           do *not* add tmpl/*.sgml files to CVS!
6072
6073 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6074
6075         * libs/gst/bytestream/.cvsignore:
6076         * libs/gst/bytestream/Makefile.am:
6077         * libs/gst/bytestream/adapter.c:
6078         * libs/gst/bytestream/adapter.h:
6079         * libs/gst/bytestream/bytestream.c:
6080         * libs/gst/bytestream/bytestream.h:
6081         * libs/gst/bytestream/filepad.c:
6082         * libs/gst/bytestream/filepad.h:
6083           removing obsolete files
6084
6085 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6086
6087         * docs/gst/gstreamer-docs.sgml:
6088         * docs/libs/gstreamer-libs-docs.sgml:
6089           disabed additional index entries again, as this makes docs-gen just
6090           slow and they aren't useful yet
6091         * docs/libs/gstreamer-libs-sections.txt:
6092           little -section.txt cleanup for libs
6093
6094 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6095
6096         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6097         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6098           fix up some debugging
6099         (gst_base_transform_get_unit_size),
6100         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6101         (gst_base_transform_handle_buffer):
6102         * gst/base/gstbasetransform.h:
6103           handle and store timed NEWSEGMENT events so that subclasses that
6104           calculate time by counting samples have a segment_start time they
6105           need to add to their timestamps - see audioresample
6106
6107 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6108
6109         * gst/gstbin.h:
6110           removed ';' from the end of macro defs
6111         * docs/gst/gstreamer-docs.sgml:
6112         * docs/gst/gstreamer-sections.txt:
6113         * docs/gst/tmpl/.cvsignore:
6114         * gst/gstbus.h:
6115         * gst/gstelement.c: (gst_element_class_init),
6116         (gst_element_set_state), (activate_pads),
6117         (gst_element_save_thyself):
6118         * gst/gstevent.c: (gst_event_new_newsegment):
6119         * gst/gstevent.h:
6120         * gst/gstiterator.c:
6121         * gst/gstiterator.h:
6122         * gst/gstpad.c:
6123         * gst/gstprobe.h:
6124         * gst/gstutils.c: (gst_pad_query_convert):
6125         * gst/gstutils.h:
6126           fixed parameter name mismatches between source, header and docs
6127           added some more docs, resolved the last batch of unused elements in
6128           docs (now someone needs to doc them)
6129
6130 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6131
6132         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6133         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6134           don't walk through the plugins backwards.  Where is all this
6135           reversed logic coming from ?
6136
6137 2005-08-25  Wim Taymans  <wim@fluendo.com>
6138
6139         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6140         (gst_base_transform_transform_size),
6141         (gst_base_transform_configure_caps),
6142         (gst_base_transform_get_unit_size),
6143         (gst_base_transform_buffer_alloc),
6144         (gst_base_transform_change_state):
6145         * gst/base/gstbasetransform.h:
6146         Cache caps unit_size.
6147         Make sure we cannot negotiate up and downstream at the
6148         same time.
6149
6150 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6151
6152         * gst/gst.c: (init_pre), (init_post):
6153           register the installed plugin path after the env var
6154         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6155         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6156           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6157           directories, so the tests can prefer uninstalled over installed
6158
6159 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6160
6161         * gst/base/gstbasetransform.h:
6162           comment
6163         * gst/gstpad.c:
6164           add to docs
6165
6166 2005-08-25  Wim Taymans  <wim@fluendo.com>
6167
6168         * gst/gstbin.c: (bin_bus_handler):
6169         Be a bit more conservative about the posted message.
6170         
6171         * gst/gstbus.c: (gst_bus_post):
6172         Some cleanups, warn wrong return values.
6173
6174 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6175
6176         * check/gst/gstbin.c: (GST_START_TEST):
6177         * gst/gstbin.c: (bin_bus_handler):
6178         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6179         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6180         (gst_message_new_warning), (gst_message_new_tag),
6181         (gst_message_new_state_changed), (gst_message_new_segment_start),
6182         (gst_message_new_segment_done), (gst_message_new_custom):
6183         * gst/gstmessage.h:
6184         * tools/gst-launch.c: (event_loop):
6185         * tools/gst-md5sum.c: (event_loop):
6186           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6187
6188 2005-08-25  Wim Taymans  <wim@fluendo.com>
6189
6190         * check/generic/states.c: (GST_START_TEST):
6191         Cleanup can be done at the end.
6192
6193         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6194         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6195         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6196         Oh boy.. Thanks for finding this, Thomas. 
6197
6198 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6199
6200         * docs/gst/gstreamer.types:
6201           added missing types
6202
6203 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6204
6205         * docs/gst/gstreamer-docs.sgml:
6206         * docs/gst/gstreamer-sections.txt:
6207         * docs/gst/tmpl/.cvsignore:
6208         * gst/gstbin.c:
6209         * gst/gstiterator.c:
6210         * gst/gstutils.c:
6211         * gst/registries/gstxmlregistry.h:
6212           added missing classes and symbols (123 more to go)
6213           removed removed symbols from section file
6214           fixed many doc-comments
6215
6216 2005-08-24  Wim Taymans  <wim@fluendo.com>
6217
6218         * check/generic/states.c: (GST_START_TEST):
6219         Make sure all tasks are stopped.
6220
6221         * check/gst/gstbin.c: (GST_START_TEST):
6222         Unref after usage for proper valgrinding.
6223
6224         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6225         Really wait for the task to stop before destroying the
6226         mutex.
6227
6228         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6229         (gst_queue_src_activate_push):
6230         Small cleanups. Don't stop the task when we did not start
6231         it.
6232
6233         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6234         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6235         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6236         (gst_task_join):
6237         * gst/gsttask.h:
6238         Protect the stream lock with the object lock.
6239         Disallow setting the stream lock when running.
6240         Add cleanup_all to wait for the threadpool to finish.
6241         Remove code to autoallocate a mutex if none was provided.
6242         Add _join() to wait for a task to stop.
6243         Protect the thread pool with a global lock.
6244
6245 2005-08-24  Wim Taymans  <wim@fluendo.com>
6246
6247         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6248         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6249         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6250         * gst/base/gstbasesink.h:
6251         Handle newsegment events correctly.
6252         Drop buffers out of the segment range.
6253
6254 2005-08-22  Andy Wingo  <wingo@pobox.com>
6255
6256         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6257         macro, implements an interface and gstimplementsinterface for a
6258         new type.
6259
6260 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6261
6262         * check/Makefile.am:
6263         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6264           add a test that does a bunch of state changes on elements
6265           needs some fixing for valgrind
6266         * check/states/sinks.c: (gst_object_suite):
6267           whitespace
6268         * gst/gstcaps.h:
6269           add prototype for gst_caps_is_equal_fixed
6270         * gst/gstplugin.c:
6271         * gst/gstregistrypool.c:
6272           doc fixes
6273
6274 2005-08-24  Andy Wingo  <wingo@pobox.com>
6275
6276         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6277         convert a negative value. Doesn't make much sense. Mostly this is
6278         here to force callers to ensure -1 maps to -1.
6279
6280 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6281
6282         * docs/pwg/advanced-types.xml:
6283           Well done to Michael for catching my deliberate introduction
6284           of this spelling mistake. 
6285         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6286         * gst/gstelement.h:
6287           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6288           unlink pads before removing the element from the bin.
6289
6290 2005-08-24  Andy Wingo  <wingo@pobox.com>
6291
6292         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6293         the same thing as GST_DEBUG=*:4.
6294         (parse_debug_level, parse_debug_category): New helper parsers.
6295
6296 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6297
6298         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6299         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6300         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6301         (gst_base_transform_buffer_alloc),
6302         (gst_base_transform_handle_buffer):
6303           use gboolean return values and pointers to size so we can use the
6304           full GST_BUFFER_SIZE range (guint) for buffer sizes
6305           use GstPadDirection for transform_caps
6306         * gst/base/gstbasetransform.h:
6307           rename get_size to get_unit_size since that's what it is
6308         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6309           use GstPadDirection for transform_caps
6310         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6311         * gst/gstutils.h:
6312           cleanup and debugging
6313
6314 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6315
6316         * gst/gstelement.c: (gst_element_class_init),
6317         (gst_element_set_state), (activate_pads),
6318         (gst_element_save_thyself):
6319         * tools/gst-compprep.c: (main):
6320         * tools/gst-inspect.c: (print_element_properties_info):
6321         * tools/gst-xmlinspect.c: (print_element_properties):
6322           Fixed long standing mem-leak
6323
6324 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6325
6326         * check/gst/gstbin.c: (GST_START_TEST):
6327         * gst/gstbin.c: (bin_bus_handler):
6328         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6329         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6330         (gst_message_new_warning), (gst_message_new_tag),
6331         (gst_message_new_state_changed), (gst_message_new_segment_start),
6332         (gst_message_new_segment_done), (gst_message_new_custom):
6333         * gst/gstmessage.h:
6334         * tools/gst-launch.c: (event_loop):
6335         * tools/gst-md5sum.c: (event_loop):
6336           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6337           that applications can sensibly post custom messages with references
6338           to their own objects.
6339
6340 2005-08-24  Andy Wingo  <wingo@pobox.com>
6341
6342         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6343         already.
6344
6345 2005-08-24  Wim Taymans  <wim@fluendo.com>
6346
6347         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6348         (gst_base_transform_transform_caps),
6349         (gst_base_transform_transform_size),
6350         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6351         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6352         (gst_base_transform_handle_buffer):
6353         * gst/base/gstbasetransform.h:
6354         Many fixes and new features added by Thomas. Can now also do
6355         transforms with variable sizes and a custom fixate_caps function.
6356
6357 2005-08-24  Wim Taymans  <wim@fluendo.com>
6358
6359         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6360         Some debugging.
6361
6362         * gst/gstclock.h:
6363         Cast to ClockTime before formatting to time.
6364
6365         * gst/gstutils.h:
6366         Cleanups.
6367
6368 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6369
6370         * check/gst-libs/controller.c: (GST_START_TEST),
6371         (gst_controller_suite):
6372         * docs/gst/tmpl/gstcaps.sgml:
6373         * docs/gst/tmpl/gstghostpad.sgml:
6374         * docs/gst/tmpl/gstquery.sgml:
6375         * docs/gst/tmpl/gstutils.sgml:
6376         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6377         (gst_object_sink_values), (gst_object_get_value_arrays),
6378         (gst_object_get_value_array):
6379           gracefully handle helper method calls to objects that are not beeing
6380           controlled, added test case for that          
6381
6382 2005-08-23  Wim Taymans  <wim@fluendo.com>
6383
6384         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6385         (gst_event_new_newsegment), (gst_event_parse_newsegment),
6386         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6387         (gst_event_parse_qos), (gst_event_new_seek),
6388         (gst_event_parse_seek):
6389         * gst/gstevent.h:
6390         Some more debugging output and doc cleanups.
6391
6392         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6393         Fix possible deadlock.
6394
6395 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6396
6397         * docs/gst/gstreamer-docs.sgml:
6398         * docs/gst/gstreamer-sections.txt:
6399         * docs/gst/gstreamer.types:
6400         * docs/gst/tmpl/.cvsignore:
6401         * gst/gstbin.h:
6402         * gst/gstbus.c:
6403         * gst/gstelement.c:
6404         * gst/gstevent.h:
6405           added 100 symbols from gstreamer-unused.txt to the right sections
6406           fixed more broken comments
6407           added GstBus to docs
6408
6409 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6410
6411         * docs/gst/gstreamer-sections.txt:
6412         * docs/gst/tmpl/.cvsignore:
6413         * docs/gst/tmpl/gstbin.sgml:
6414         * docs/gst/tmpl/gstbuffer.sgml:
6415         * gst/base/gstbasesrc.c:
6416         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6417         * gst/gstbuffer.c:
6418         * gst/gstbuffer.h:
6419         * tools/gst-launch.1.in:
6420           inlined more doc comments, added missing comments and fixed comments
6421           fixed typos
6422
6423 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6424
6425         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6426           some debugging
6427         * gst/gstcaps.h:
6428           whitespace fixes
6429         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6430           more debugging
6431         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6432         * gst/gststructure.h:
6433           add a fixate function for booleans; add a FIXME that these func
6434           names should probably be gst_structure_fixate_*
6435
6436 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6437
6438         * docs/gst/gstreamer-docs.sgml:
6439         * docs/gst/gstreamer-sections.txt:
6440         * gst/Makefile.am:
6441         * gst/gstbin.c: (gst_bin_get_type),
6442         (gst_bin_child_proxy_get_child_by_index),
6443         (gst_bin_child_proxy_get_children_count),
6444         (gst_bin_child_proxy_init):
6445         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6446         (gst_child_proxy_get_child_by_index),
6447         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6448         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6449         (gst_child_proxy_get), (gst_child_proxy_set_property),
6450         (gst_child_proxy_set_valist), (gst_child_proxy_set),
6451         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6452         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6453         * gst/gstchildproxy.h:
6454         * gst/parse/grammar.y:
6455         * tools/gst-inspect.c: (print_interfaces),
6456         (print_element_properties_info), (print_element_info):
6457           ported gstchildproxy over from 0.8
6458           ported gst-inspect fixes and enhancements over from 0.8
6459
6460 2005-08-22  Wim Taymans  <wim@fluendo.com>
6461
6462         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6463         (gst_base_transform_handle_buffer):
6464         Also call the transform function if we have ANY caps.
6465
6466         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6467         Fix debug info.
6468
6469 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6470
6471         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6472           Don't pretend to handle seek events if the source is not seekable
6473
6474 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6475
6476         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6477           Remove extra parameter to debug output
6478
6479         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6480         (gst_base_src_do_seek), (gst_base_src_activate_push):
6481           Fix seek event handling.
6482
6483         * gst/gstpipeline.c: (gst_pipeline_change_state):
6484         * gst/gstqueue.c: (gst_queue_handle_sink_event),
6485         (gst_queue_src_activate_push):
6486           Don't start the src pad task on FLUSH_STOP if the pad
6487           isn't linked.
6488           Debug changes.
6489
6490 2005-08-22  Wim Taymans  <wim@fluendo.com>
6491
6492         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6493         Added check for gst_static_caps_get() refcounting.
6494
6495 2005-08-22  Wim Taymans  <wim@fluendo.com>
6496
6497         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6498         Make _static_caps_get() refcounting sane.
6499         
6500         * gst/gstelement.c: (gst_element_set_state):
6501         Add g_return_val_if_fail() to protect against segfaults.
6502
6503 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
6504
6505         * docs/gst/tmpl/gstevent.sgml:
6506         * gst/gstevent.c:
6507         * gst/gstevent.h:
6508           inlined remaining docs, added missing doc comments
6509
6510 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6511
6512         * check/gst/gstbin.c: (GST_START_TEST):
6513           since we don't know when preroll is done, use refcount range
6514           check for the sink
6515         * gst/check/gstcheck.h:
6516           add macro for checking refcount range
6517
6518 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6519
6520         * check/Makefile.am:
6521           clean up environment for when registry gets built versus
6522           when actual tests are run; valgrind seems to not report
6523           leaks if GST_PLUGIN_PATH is set to some specific values
6524         * check/gst/gstbin.c: (GST_START_TEST):
6525           add more refcounting checks; maybe this exposes a
6526           preroll lock bug ?
6527         * common/check.mak:
6528         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6529         * gst/check/gstcheck.h:
6530         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6531         (gst_bin_change_state):
6532         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6533           add/fix debugging/whitespace
6534
6535 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6536
6537         * check/gst/gstevent.c: (event_probe), (test_event),
6538         (GST_START_TEST):
6539          Er, don't call gst_bin_watch_for_state_change you idiot.
6540
6541 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6542
6543         * check/Makefile.am:
6544           Use CHECK_CFLAGS and CHECK_LIBS
6545         * check/gst/gstevent.c: (event_probe), (test_event),
6546         (GST_START_TEST):
6547           Don't leak events.
6548         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6549         (gst_base_src_start), (gst_base_src_stop),
6550         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6551         (gst_base_src_change_state):
6552           Sprinkle gst_base_src_stop liberally around error paths to fix
6553           problems reusing a source after failed state changes.
6554         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6555         (helper_find_suggest), (gst_type_find_helper):
6556           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6557         * gst/gstevent.h:
6558         * docs/gst/tmpl/gstevent.sgml:
6559           Migrate part of the docs from the SGML file. Wait for ensonic to
6560           tell me how I did it wrong ;)
6561         * tools/gst-typefind.c: (main):
6562           Extra robustness to state changes between files.
6563
6564 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6565
6566         * check/Makefile.am:
6567           don't valgrind the controller test - it's leaking - Stefan, HELP
6568         * gst/check/gstcheck.c: (gst_check_message_error),
6569         (gst_check_chain_func), (gst_check_setup_element),
6570         (gst_check_teardown_element), (gst_check_setup_src_pad),
6571         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6572         (gst_check_teardown_sink_pad):
6573         * gst/check/gstcheck.h:
6574           add a bunch of methods to set up elements, and src and sink pads
6575         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6576         * check/elements/identity.c: (setup_identity), (cleanup_identity),
6577         (GST_START_TEST):
6578           use them
6579         * gst/gstmessage.c:
6580         * gst/gsttag.h:
6581           whitespace/doc fixes
6582
6583 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6584
6585         * gst/gstelement.h:
6586           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6587           be handled by the application and not always printed as well
6588
6589 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6590
6591         * check/Makefile.am:
6592           set GST_TOOLS_DIR
6593         * gst/check/gstcheck.c: (gst_check_message_error):
6594         * gst/check/gstcheck.h:
6595           add a fail_unless_equals_int
6596           add fail_unless for error messages
6597
6598 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6599
6600         * check/Makefile.am:
6601         * check/gst.supp:
6602         * common/Makefile.am:
6603         * common/check.mak:
6604         * common/gst.supp:
6605           factor out some of the common stuff so we can use it
6606
6607 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6608
6609         * check/Makefile.am:
6610         * check/gst/gstiterator.c: (GST_START_TEST):
6611         * check/gst/gstsystemclock.c: (GST_START_TEST),
6612         (gst_systemclock_suite):
6613         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6614         * gst/gstclock.c:
6615           valgrind more tests
6616
6617 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6618
6619         * check/elements/.cvsignore:
6620         * check/elements/gstfakesrc.c:
6621           rename to name of element
6622         * check/elements/identity.c: (chain_func), (event_func),
6623         (setup_identity), (cleanup_identity), (GST_START_TEST),
6624         (identity_suite), (main):
6625           add a test for identity
6626         * check/Makefile.am:
6627         * pkgconfig/Makefile.am:
6628         * pkgconfig/gstreamer-check.pc.in:
6629         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6630         * gst/check:
6631         * gst/Makefile.am:
6632         * configure.ac:
6633           move the check stuff to a library that gets installed
6634         * check/gst-libs/controller.c: (GST_START_TEST):
6635         * check/gst-libs/gdp.c:
6636         * check/gst/gst.c: (GST_START_TEST):
6637         * check/gst/gstbin.c:
6638         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6639         * check/gst/gstbus.c:
6640         * check/gst/gstcaps.c: (GST_START_TEST):
6641         * check/gst/gstelement.c:
6642         * check/gst/gstghostpad.c:
6643         * check/gst/gstiterator.c:
6644         * check/gst/gstmessage.c:
6645         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6646         * check/gst/gstobject.c:
6647         * check/gst/gstpad.c: (GST_START_TEST):
6648         * check/gst/gststructure.c: (GST_START_TEST):
6649         * check/gst/gstsystemclock.c: (GST_START_TEST),
6650         (gst_systemclock_suite):
6651         * check/gst/gsttag.c: (gst_tag_suite):
6652         * check/gst/gstvalue.c:
6653         * check/pipelines/cleanup.c:
6654         * check/pipelines/simple_launch_lines.c:
6655         * check/states/sinks.c:
6656           change include statement
6657
6658         * docs/gst/gstreamer-sections.txt:
6659         * docs/gst/tmpl/gstpad.sgml:
6660           document more pad stuff
6661         * gst/gstminiobject.c: (gst_mini_object_ref),
6662         (gst_mini_object_unref):
6663           debug refcounting
6664
6665 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
6666
6667         * docs/gst/tmpl/gst.sgml:
6668         * gst/gst.c:
6669           eliminate another tmpl file, fix spelling in the long-description
6670
6671 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6672
6673         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6674         (test_event), (timediff), (gstevents_suite):
6675           Should fix build on 64-bit arch's
6676
6677 2005-08-18  Andy Wingo  <wingo@pobox.com>
6678
6679         Make sure that when a pipeline goes to PLAYING, that data has
6680         actually hit the sink.
6681
6682         * check/states/sinks.c (test_sink): A sink that doesn't get any
6683         data shouldn't return SUCCESS for going to either PLAYING or
6684         PAUSED. Test also the return values on the way back down.
6685
6686         * gst/gstelement.c (gst_element_set_state): When changing the
6687         state of an element currently changing state asynchronously, go to
6688         lost-state after commiting the pending state. Makes future calls
6689         to get_state continue to return ASYNC.
6690
6691         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6692         ASYNC when going to PLAYING if we still don't have preroll, as can
6693         happen with live sources.
6694
6695 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6696
6697         * docs/pwg/advanced-types.xml:
6698           Hack long paragraph into 2 chunks as a workaround for buggy
6699           jadetex version in sid and breezy that loops infinitely and
6700           eats all RAM.
6701
6702 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6703
6704         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6705         (test_event), (timediff), (gstevents_suite):
6706           Provide more error margin in clock measurements to allow for 
6707           g_get_current_time inaccuracies.
6708
6709 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6710
6711         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6712         (test_event), (timediff), (gstevents_suite):
6713            Fix error message output so I might be able to tell why the
6714            test works here but fails on the build farm.
6715
6716 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6717
6718         * check/Makefile.am:
6719         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6720         (test_event), (timediff), (gstevents_suite), (main):
6721           I wrote a test!
6722
6723         * docs/design/part-seeking.txt:
6724           Spelling correction
6725
6726         * docs/gst/tmpl/gstevent.sgml:
6727         * docs/gst/tmpl/gstfakesrc.sgml:
6728           Docs updates.
6729
6730         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6731           Treat a buffer-without-newsegment the same as a receiving 
6732           a newsegment not in time format, and disable syncing to the clock
6733           with a warning.
6734
6735         * gst/gstbus.c: (gst_bus_set_sync_handler):
6736           Assert if anyone tries to replace the existing sync_handler for bus, 
6737           as only the owner should be setting it.
6738
6739         * gst/gstevent.h:
6740           Have a fixed set of custom event enums with events identified by
6741           their structure name (as in 0.8), rather than a free-for-all
6742           allowing collisions between enum values from different plugins.
6743
6744         * gst/gstpad.c: (gst_pad_class_init):
6745           Docs change.
6746           
6747         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6748           Handle out-of-band downstream events from the sending thread.
6749
6750 2005-08-17  Andy Wingo  <wingo@pobox.com>
6751
6752         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6753         play-timeout==0 to mean no timeout at all. In that case, don't
6754         bother with a get_state or a warning, just return directly, even
6755         if it's ASYNC.
6756
6757         * gst/base/gstbasetransform.c: Debug changes.
6758
6759         * gst/gstutils.h:
6760         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6761         ensure bins post state change messages. A bit of a hack but I can't
6762         think of a way to avoid it.
6763
6764         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6765
6766 2005-08-16  Andy Wingo  <wingo@pobox.com>
6767
6768         * gst/base/gstadapter.h:
6769         * gst/base/gstadapter.c (gst_adapter_take): New function, like
6770         peek() but you own the data. Not terribly efficient atm.
6771
6772 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6773
6774         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6775         (gst_element_found_tags):
6776         * gst/gstutils.h:
6777           Add two utility functions for tag handling.
6778
6779 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6780
6781         * docs/manual/advanced-dataaccess.xml:
6782         * docs/manual/basics-helloworld.xml:
6783           Fix docs to use _bin_add() before _link(), which fixes the examples
6784           with recent core versions (reported by Madhan Raj M
6785           <raj_madan@rediffmail.com>, #313199).
6786
6787 2005-08-16  Wim Taymans  <wim@fluendo.com>
6788
6789         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6790         Added subtract checks.
6791
6792         * docs/design/part-events.txt:
6793         Some more docs about newsegment
6794
6795         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6796         Fix FIXME
6797
6798         * gst/gstcaps.c: (gst_caps_to_string):
6799         Add comments, cleanups.
6800         
6801         * gst/gstelement.c: (gst_element_save_thyself):
6802         cleanups
6803         
6804         * gst/gstvalue.c: (gst_value_collect_int_range),
6805         (gst_string_unwrap), (gst_value_union_int_int_range),
6806         (gst_value_union_int_range_int_range),
6807         (gst_value_intersect_int_int_range),
6808         (gst_value_intersect_int_range_int_range),
6809         (gst_value_intersect_double_double_range),
6810         (gst_value_intersect_double_range_double_range),
6811         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6812         (gst_value_subtract_int_range_int),
6813         (gst_value_subtract_double_range_double),
6814         (gst_value_subtract_double_range_double_range),
6815         (gst_value_subtract_from_list), (gst_value_subtract_list),
6816         (gst_value_can_compare), (gst_value_compare_fraction):
6817         Cleanups, add comments, remove unneeded asserts.
6818
6819 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6820
6821         * tools/gst-launch.c: (event_loop):
6822           don't convert NULL structures to strings
6823
6824 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
6825
6826         * docs/gst/gstreamer-sections.txt:
6827           made some defines private
6828         * docs/gst/tmpl/gstconfig.sgml:
6829         * docs/gst/tmpl/gstqueue.sgml:
6830         * docs/gst/tmpl/gsttaglist.sgml:
6831         * docs/gst/tmpl/gsttypes.sgml:
6832         * docs/gst/tmpl/gstutils.sgml:
6833         * docs/pwg/appendix-porting.xml:
6834         * gst/base/gstbasesink.h:
6835         * gst/base/gstbasesrc.c:
6836         * gst/base/gstbasesrc.h:
6837         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6838         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6839         * gst/gstelement.c: (gst_element_class_init):
6840         * gst/gstpad.c: (gst_pad_class_init):
6841         * gst/gstqueue.c: (gst_queue_class_init):
6842         * gst/gstxml.c: (gst_xml_class_init):
6843           documented all undocumented signal inline
6844         * libs/gst/controller/gst-controller.h:
6845           added padding
6846
6847 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6848
6849         * docs/pwg/appendix-porting.xml:
6850           Document _set_link_function -> _set_setcaps_function.
6851
6852 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6853
6854         * check/Makefile.am:
6855           add a .check target for running the check
6856         * check/gst-libs/controller.c: (GST_START_TEST):
6857           cosmetic fixups
6858         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6859           complete checks for gstbuffer; would be nice if I could get the
6860           gcov stuff to work so I can see if I actually completed gstbuffer.c
6861         * check/gstcheck.h:
6862           add ASSERT_BUFFER_REFCOUNT
6863
6864 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
6865
6866         * docs/gst/gstreamer-sections.txt:
6867         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
6868         * gst/gsttag.h:
6869           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
6870           spew out a warning if a tag that is already registered
6871           is re-registered, unless it is re-registered with a 
6872           different type (#308438).
6873
6874 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
6875
6876         * docs/pwg/appendix-porting.xml:
6877         * docs/pwg/building-state.xml:
6878           Add some paragraphs about state changes in 0.9 to the PWG
6879           and the porting guide, in particular about the new meaning
6880           of GST_STATE_PAUSED and how to write state change functions
6881           with concurrent access by multiple threads in mind.
6882
6883 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
6884
6885         * docs/gst/gstreamer-docs.sgml:
6886         * docs/libs/gstreamer-libs-docs.sgml:
6887           added deprecation and since indexes
6888         * libs/gst/controller/gst-controller.c:
6889         * libs/gst/controller/gst-helper.c:
6890           added since tags
6891
6892
6893 2005-08-11  Wim Taymans  <wim@fluendo.com>
6894
6895         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
6896         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
6897         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
6898         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
6899         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
6900         (gst_ghost_pad_set_target):
6901         Actually implement (re)setting the target on a ghostpad
6902         as described in the docs.
6903
6904 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6905
6906         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
6907           Check whether GST_DEBUG_NO_COLOR environment variable is
6908           set and disable coloured debug output if that is the case.
6909
6910 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6911
6912         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6913         (gst_type_find_helper):
6914           The memory returned by gst_type_find_peek() needs to
6915           stay valid until the end of a typefind function, and
6916           typefind functions may keep results from different 
6917           offsets around, so we can't just unref the buffer from
6918           the previous _peek(), but have to save all buffers 
6919           returned by _peek() until typefinding is done and only
6920           free them then.
6921
6922 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
6923
6924         * docs/gst/gstreamer-sections.txt:
6925         * gst/gstutils.h:
6926           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
6927
6928 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6929
6930         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6931           Fix a pretty good memleak.
6932
6933 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6934
6935         * gst/gstiterator.h:
6936           Fix wrong include and 'make distcheck'.
6937
6938 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6939
6940         * gst/gstbin.c: (bin_bus_handler):
6941           Use gst_element_post_message() instead.
6942
6943 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6944
6945         * gst/base/gstadapter.h:
6946         * gst/base/gstbasesink.h:
6947         * gst/base/gstbasesrc.h:
6948         * gst/base/gstbasetransform.h:
6949         * gst/base/gstcollectpads.h:
6950         * gst/base/gstpushsrc.h:
6951         * gst/gstiterator.h:
6952           Add padding to our base elements' class and instance structs and
6953           to GstIterator (you will need to rebuild all plugins and apps!)
6954
6955 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6956
6957         * gst/gstbin.c: (bin_bus_handler):
6958           Make default message forwarding from child->bus to bin->bus
6959           threadsafe and make it not emit warnings if the parent has no bus.
6960
6961 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6962
6963         * gst/gstelement.c: (activate_pads):
6964           On paused->ready, set pad->caps to NULL, as is the documented
6965           behaviour in this state change. Fixes playback of series of
6966           media files when visualization is enabled in Totem.
6967
6968 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6969
6970         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6971           Allow NULL as filter-caps (which means "any").
6972
6973 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
6974
6975         * docs/libs/gstreamer-libs-sections.txt:
6976         * libs/gst/controller/gst-controller.c:
6977         * libs/gst/controller/gst-controller.h:
6978         * libs/gst/controller/gst-helper.c:
6979           adding more entries to the docs and fix small doc-bugs
6980
6981 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
6982
6983         * docs/gst/gstreamer-docs.sgml:
6984         * docs/gst/gstreamer-sections.txt:
6985         * docs/gst/gstreamer.types:
6986         * docs/gst/tmpl/gstbasesink.sgml:
6987         * docs/gst/tmpl/gstbasesrc.sgml:
6988         * docs/gst/tmpl/gstbasetransform.sgml:
6989         * docs/gst/tmpl/gstfakesrc.sgml:
6990         * gst/base/gstcollectpads.c:
6991         * gst/base/gstcollectpads.h:
6992         * libs/gst/controller/gst-controller.c:
6993         * libs/gst/controller/gst-controller.h:
6994         * libs/gst/controller/gst-helper.c:
6995         * libs/gst/controller/gst-interpolation.c:
6996         * libs/gst/controller/lib.c:
6997           added long/short desc for controller docs
6998           added collectpads base class docs
6999           added correct includes to base-class docs
7000
7001 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7002
7003         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7004         (gst_test_mono_source_set_property),
7005         (gst_test_mono_source_class_init), (GST_START_TEST),
7006         (gst_controller_suite):
7007         * docs/gst/gstreamer-docs.sgml:
7008         * docs/gst/gstreamer-sections.txt:
7009         * docs/gst/gstreamer.types:
7010         * docs/libs/gstreamer-libs-docs.sgml:
7011         * docs/libs/gstreamer-libs-sections.txt:
7012         * gst/base/gstadapter.c:
7013         * libs/gst/controller/gst-controller.c:
7014         (gst_controlled_property_new), (gst_controlled_property_free),
7015         (gst_controller_new_valist),
7016         (gst_controller_remove_properties_valist),
7017         (gst_controller_sink_values), (_gst_controller_finalize):
7018         * libs/gst/controller/gst-controller.h:
7019         * libs/gst/controller/gst-helper.c:
7020         (gst_object_control_properties), (gst_object_uncontrol_properties),
7021         (gst_object_get_controller), (gst_object_set_controller),
7022         (gst_object_sink_values), (gst_object_get_value_arrays),
7023         (gst_object_get_value_array):
7024           more tests (and fixes) for the controller
7025           more docs for the controller
7026           integrated companies docs for the adapter 
7027
7028 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7029
7030         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7031         (GST_START_TEST), (fakesrc_suite):
7032           add tests for sizetype
7033
7034 2005-08-04  Andy Wingo  <wingo@pobox.com>
7035
7036         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7037         fixes buffer_alloc proxying among other things.
7038
7039         * gst/base/gstbasetransform.c:
7040         * gst/base/gstbasetransform.h:
7041         Revert patch to gstbasetransform from 7-28 removing
7042         delay_configure.
7043
7044         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7045         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7046         Semantics changed, should return not the size of the output buffer
7047         but the byte size of a buffer with a given caps.
7048
7049         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7050         debug object.
7051         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7052         out) are not the pad caps until setcaps finishes.
7053         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7054         not-in-place case as well. Deal with changing from in-place to
7055         not-in-place within calling pad_alloc_buffer. Still a bit
7056         concerned about the overhead here...
7057
7058 2005-08-03  Andy Wingo  <wingo@pobox.com>
7059
7060         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7061         fixating is an error.
7062
7063 2005-08-04  Edward Hervey  <edward@fluendo.com>
7064
7065         * gst/base/gstadapter.h: 
7066         Added gst_adapter_get_type() to the header
7067
7068 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7069
7070         * check/Makefile.am:
7071         * check/gst-libs/controller.c:
7072         * libs/gst/controller/gst-controller.c:
7073         (gst_controller_new_valist):
7074           added check test suite for the controller
7075         * gst/base/gstpushsrc.c:
7076           fixed a doc typo
7077
7078 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7079
7080         * docs/gst/Makefile.am:
7081         * docs/gst/gstreamer-docs.sgml:
7082         * docs/gst/gstreamer-sections.txt:
7083         * docs/gst/gstreamer.types:
7084         * docs/gst/tmpl/gstfakesrc.sgml:
7085         * gst/base/README:
7086         * gst/base/gstbasesink.c:
7087         * gst/base/gstbasesink.h:
7088         * gst/base/gstbasesrc.c:
7089         * gst/base/gstbasesrc.h:
7090         * gst/base/gstbasetransform.c:
7091         * gst/base/gstpushsrc.c:
7092         * gst/base/gstpushsrc.h:
7093           add short/long description docs to base classes
7094           add pushsrc to the docs
7095           remove consolidated doc fragments
7096
7097 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7098
7099         * configure.ac:
7100         * docs/libs/Makefile.am:
7101         * docs/libs/gstreamer-libs-docs.sgml:
7102         * docs/libs/gstreamer-libs-sections.txt:
7103         * docs/libs/gstreamer-libs.types:
7104         * examples/Makefile.am:
7105         * examples/controller/.cvsignore:
7106         * examples/controller/Makefile.am:
7107         * examples/controller/audio-example.c: (main):
7108         * libs/gst/Makefile.am:
7109         * libs/gst/controller/.cvsignore:
7110         * libs/gst/controller/Makefile.am:
7111         * libs/gst/controller/gst-controller.c:
7112         (on_object_controlled_property_changed), (gst_timed_value_compare),
7113         (gst_timed_value_find),
7114         (gst_controlled_property_set_interpolation_mode),
7115         (gst_controlled_property_new), (gst_controlled_property_free),
7116         (gst_controller_find_controlled_property),
7117         (gst_controller_new_valist), (gst_controller_new),
7118         (gst_controller_remove_properties_valist),
7119         (gst_controller_remove_properties), (gst_controller_set),
7120         (gst_controller_set_from_list), (gst_controller_unset),
7121         (gst_controller_get), (gst_controller_get_all),
7122         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7123         (gst_controller_get_value_array),
7124         (gst_controller_set_interpolation_mode),
7125         (_gst_controller_finalize), (_gst_controller_init),
7126         (_gst_controller_class_init), (gst_controller_get_type):
7127         * libs/gst/controller/gst-controller.h:
7128         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7129         (g_object_uncontrol_properties), (g_object_get_controller),
7130         (g_object_set_controller), (g_object_sink_values),
7131         (g_object_get_value_arrays), (g_object_get_value_array):
7132         * libs/gst/controller/gst-interpolation.c:
7133         (gst_controlled_property_find_timed_value_node),
7134         (interpolate_none_get), (interpolate_trigger_get),
7135         (interpolate_trigger_get_value_array):
7136         * libs/gst/controller/lib.c: (gst_controller_init):
7137         * pkgconfig/Makefile.am:
7138         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7139         * pkgconfig/gstreamer-control.pc.in:
7140         * testsuite/Makefile.am:
7141         * testsuite/controller/.cvsignore:
7142         * testsuite/controller/Makefile.am:
7143         * testsuite/controller/interpolator.c: (main):
7144           added controller code
7145           removed dparam pc files
7146
7147 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7148         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7149         (gst_collectpads_stop):
7150           Broadcast the condition when shutting down, to make sure we wake all
7151           threads up. Shut down pads on finalize, for safety.
7152
7153 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7154         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7155         (gst_base_transform_handle_buffer),
7156         (gst_base_transform_change_state):
7157           Handle PAUSED->READY->PAUSED transition after negotiation
7158           occurred already.
7159         * gst/gstmessage.c: (gst_message_init):
7160           Extra piece of debug for new messages.
7161
7162 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7163
7164         * configure.ac:
7165         * docs/gst/tmpl/gstbasesrc.sgml:
7166         * docs/gst/tmpl/gstelement.sgml:
7167         * docs/gst/tmpl/gstevent.sgml:
7168         * docs/gst/tmpl/gstfakesrc.sgml:
7169         * docs/gst/tmpl/gstformat.sgml:
7170         * docs/gst/tmpl/gstghostpad.sgml:
7171         * docs/gst/tmpl/gstpad.sgml:
7172         * docs/gst/tmpl/gstquery.sgml:
7173         * docs/gst/tmpl/gststructure.sgml:
7174         * docs/gst/tmpl/gsttaglist.sgml:
7175         * docs/gst/tmpl/gstvalue.sgml:
7176         * docs/libs/gstreamer-libs-docs.sgml:
7177         * docs/libs/gstreamer-libs-sections.txt:
7178         * docs/libs/gstreamer-libs.types:
7179         * libs/gst/Makefile.am:
7180         * libs/gst/control/.cvsignore:
7181         * libs/gst/control/Makefile.am:
7182         * libs/gst/control/control.c:
7183         * libs/gst/control/control.h:
7184         * libs/gst/control/dparam.c:
7185         * libs/gst/control/dparam.h:
7186         * libs/gst/control/dparam_smooth.c:
7187         * libs/gst/control/dparam_smooth.h:
7188         * libs/gst/control/dparamcommon.h:
7189         * libs/gst/control/dparammanager.c:
7190         * libs/gst/control/dparammanager.h:
7191         * libs/gst/control/dplinearinterp.c:
7192         * libs/gst/control/dplinearinterp.h:
7193         * libs/gst/control/unitconvert.c:
7194         * libs/gst/control/unitconvert.h:
7195         * testsuite/Makefile.am:
7196         * testsuite/dynparams/.cvsignore:
7197         * testsuite/dynparams/Makefile.am:
7198         * testsuite/dynparams/dparamstest.c:
7199         * tools/Makefile.am:
7200         * tools/gst-inspect.c: (print_element_info), (main):
7201         * tools/gst-xmlinspect.c: (print_element_info), (main):
7202           deactivate and remove dparams (libgstcontrol)
7203
7204 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7205
7206         * gst/elements/gsttypefindelement.c:
7207         (gst_type_find_element_have_type), (gst_type_find_element_init),
7208         (stop_typefinding), (gst_type_find_element_handle_event),
7209         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7210         * gst/elements/gsttypefindelement.h:
7211           Set caps on all outgoing buffers, not just the first one.
7212
7213 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7214
7215         * gst/elements/gsttypefindelement.c:
7216         (gst_type_find_element_have_type),
7217         (gst_type_find_element_check_set_buffer_caps),
7218         (gst_type_find_element_init), (stop_typefinding),
7219         (gst_type_find_element_handle_event),
7220         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7221         * gst/elements/gsttypefindelement.h:
7222           Set caps on first outgoing buffer when we've found the type.
7223
7224 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7225
7226         * docs/gst/gstreamer-docs.sgml:
7227         * docs/gst/gstreamer-sections.txt:
7228         * docs/gst/tmpl/gstscheduler.sgml:
7229         * docs/gst/tmpl/gstschedulerfactory.sgml:
7230           Remove some old cruft from docs.
7231
7232 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7233
7234         * gst/gstpad.h:
7235           Fix inline docs for GstPadLinkReturn.
7236           
7237         * gst/gststructure.c: (gst_structure_has_name):
7238         * gst/gststructure.h:
7239         * docs/gst/gstreamer-sections.txt:
7240           New API: gst_structure_has_name().
7241
7242 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7243
7244         * configure.ac:
7245           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7246           and _LARGEFILE_SOURCE in config.h as required. Do not 
7247           export those flags in our .pc files any longer (#142209).
7248
7249           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7250
7251         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7252         (gst_file_sink_do_seek), (gst_file_sink_event),
7253         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7254           Redo seek/tell calls with large file support in mind; add some
7255           debugging messages; add log message that tells us when large
7256           file support is unavailable or not enabled for some reason.
7257
7258         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7259           Add log message that tells us when large file support 
7260           is unavailable or not enabled for some reason.
7261
7262 2005-07-29  Wim Taymans  <wim@fluendo.com>
7263
7264         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7265         Added test for removing an element with ghostpad from a bin.
7266         Fixed test as current implementation does the right thing.
7267
7268         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7269         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7270         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7271         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7272         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7273         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7274         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7275         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7276         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7277         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7278         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7279         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7280         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7281         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7282         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7283         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7284         * gst/gstghostpad.h:
7285         Clean up ghostpads, remove properties for internal stuff.
7286         Make threadsafe.
7287         Fix refcounting.
7288         Prepare for switching targets, not all use cases work yet.
7289
7290 2005-07-29  Wim Taymans  <wim@fluendo.com>
7291
7292         * docs/design/part-gstghostpad.txt:
7293         Small update.
7294
7295         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7296         (gst_bin_remove_func):
7297         Unlinking pads while holding the bin LOCK is not a good
7298         idea.
7299
7300         * gst/gstpad.c: (gst_pad_class_init),
7301         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7302         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7303         No prob setting template after creating the pad.
7304
7305 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7306
7307         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7308         (gst_bus_peek), (gst_bus_source_dispatch),
7309         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7310         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7311           gst_bus_poll may be called from other threads. Handle
7312           this nicely by not making poll_data disappear off the
7313           stack once gst_bus_poll returns.
7314           gst_bus_peek now increments the refcount on the returned
7315           message.
7316
7317 2005-07-29  Wim Taymans  <wim@fluendo.com>
7318
7319         * docs/design/part-gstghostpad.txt:
7320         Overview of current GhostPad datastructures and use
7321         cases for changing the target.
7322
7323 2005-07-28  Wim Taymans  <wim@fluendo.com>
7324
7325         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7326         Added checks for hierarchy consistency whan adding linked
7327         elements to bins.
7328
7329         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7330         Added check to test element scheduling without bin/pipeline.
7331
7332         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7333         First add elements to bin, then link.
7334         
7335         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7336         (gst_bin_remove_func):
7337         Unlink pads from elements added/removed from bin to maintain
7338         hierarchy consistency.
7339
7340 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7341
7342         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7343         (gst_base_transform_handle_buffer):
7344         * gst/base/gstbasetransform.h:
7345           Remove broken delay_configure (fixes renegotiation of software
7346           scaling pipelines); remove some leftover printf()s.
7347
7348 2005-07-28  Wim Taymans  <wim@fluendo.com>
7349
7350         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7351         Added some more tests for wrong hierarchy
7352
7353         * docs/design/part-overview.txt:
7354         Some updates.
7355
7356         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7357         Cleanups.
7358
7359         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7360         (gst_element_dispose):
7361         Some more cleanups.
7362
7363         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7364         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7365         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7366         (gst_pad_set_caps), (gst_pad_send_event):
7367         Check for correct hierarchy when linking pads. Moving to
7368         strict requirement for ghostpads when linking elements in
7369         different bins.
7370
7371         * gst/gstpad.h:
7372         Clean ups. Added WRONG_HIERARCHY return value.
7373
7374 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7375
7376         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7377           Better debug if no transform is possible.
7378
7379 2005-07-27  Wim Taymans  <wim@fluendo.com>
7380
7381         * docs/random/wtay/network-transp:
7382         Some old doc I had.
7383
7384 2005-07-27  Wim Taymans  <wim@fluendo.com>
7385
7386         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7387         (gst_dp_event_from_packet):
7388         Fix serialization of seek events.
7389
7390 2005-07-27  Wim Taymans  <wim@fluendo.com>
7391
7392         * check/gst-libs/gdp.c: (GST_START_TEST):
7393         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7394         Fix compilation and fix event serialization.
7395
7396 2005-07-27  Wim Taymans  <wim@fluendo.com>
7397
7398         * CHANGES-0.9:
7399         * docs/design/part-TODO.txt:
7400         * docs/design/part-events.txt:
7401         Some docs updates
7402
7403         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7404         (gst_base_sink_event), (gst_base_sink_do_sync),
7405         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7406         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7407         (gst_base_src_do_seek), (gst_base_src_event_handler),
7408         (gst_base_src_loop):
7409         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7410         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7411         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7412         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7413         (gst_base_transform_set_passthrough),
7414         (gst_base_transform_is_passthrough):
7415         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7416         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7417         Event updates.
7418
7419         * gst/gstbuffer.h:
7420         Use faster casts.
7421
7422         * gst/gstelement.c: (gst_element_seek):
7423         * gst/gstelement.h:
7424         Update gst_element_seek.
7425
7426         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7427         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7428         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7429         (gst_event_new_eos), (gst_event_new_newsegment),
7430         (gst_event_parse_newsegment), (gst_event_new_tag),
7431         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7432         (gst_event_parse_qos), (gst_event_new_seek),
7433         (gst_event_parse_seek), (gst_event_new_navigation):
7434         * gst/gstevent.h:
7435         Make GstEvent use GstStructure. Add parsing code, make sure the
7436         API is sufficiently generic.
7437         Mark possible directions of events and serialization.
7438
7439         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7440         (_gst_message_copy), (gst_message_new_segment_start),
7441         (gst_message_new_segment_done), (gst_message_new_custom),
7442         (gst_message_parse_segment_start),
7443         (gst_message_parse_segment_done):
7444         Small cleanups.
7445
7446         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7447         (gst_pad_set_caps), (gst_pad_send_event):
7448         Update for new events. 
7449         Catch events sent in wrong directions.
7450
7451         * gst/gstqueue.c: (gst_queue_link_src),
7452         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7453         (gst_queue_handle_src_query):
7454         Event updates.
7455
7456         * gst/gsttag.c:
7457         * gst/gsttag.h:
7458         Remove event code from this file.
7459
7460         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7461         (gst_dp_event_from_packet):
7462         Event updates.
7463
7464 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7465
7466         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7467         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7468         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7469           Make debugging actually useful.
7470
7471 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7472
7473         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7474         (gst_pad_fixate_caps):
7475           Implement default fixation once again, so that gst_pad_fixate()
7476           actually does anything at all. This probably needs to be some
7477           sort of a last resort, and use profile-based fixation first, but
7478           since that doesn't exist yet, this is the best we have. Fixes
7479           visualization in Totem.
7480
7481 2005-07-22  Wim Taymans  <wim@fluendo.com>
7482
7483         * docs/design/part-events.txt:
7484         Small update.
7485
7486         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7487         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7488         (gst_base_sink_activate_pull):
7489         Some more comments.
7490
7491         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7492         (gst_fake_src_create):
7493         Fix handoff marshall.
7494
7495         * gst/elements/gstidentity.c: (gst_identity_class_init),
7496         (gst_identity_transform_ip):
7497         We're a real inplace element.
7498
7499         * gst/gstbus.c: (gst_bus_post):
7500         Added some comments.
7501
7502         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7503         * tests/muxing/case1.c: (main):
7504         * tests/sched/dynamic-pipeline.c: (main):
7505         * tests/sched/interrupt1.c: (main):
7506         * tests/sched/interrupt2.c: (main):
7507         * tests/sched/interrupt3.c: (main):
7508         * tests/sched/runxml.c: (main):
7509         * tests/sched/sched-stress.c: (main):
7510         * tests/seeking/seeking1.c: (event_received), (main):
7511         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7512         (main):
7513         * tests/threadstate/threadstate3.c: (main):
7514         * tests/threadstate/threadstate4.c: (main):
7515         * tests/threadstate/threadstate5.c: (main):
7516         Fix the tests.
7517
7518 2005-07-21  Wim Taymans  <wim@fluendo.com>
7519
7520         * docs/design/part-seeking.txt:
7521         Some small additions.
7522
7523         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7524         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7525         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7526         * gst/base/gstbasesink.h:
7527         discont values are gint64, handle the math correctly.
7528
7529         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7530         Make the basesrc report error if the source pad is not linked.
7531
7532         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7533         (gst_queue_loop), (gst_queue_handle_src_query),
7534         (gst_queue_src_activate_push):
7535         Make queue collect data even if the srcpad is not linked.
7536         Start pushing out data as soon as it is linked.
7537
7538         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7539         * gst/gstutils.h:
7540         Added gst_flow_get_name() to ease error reporting.
7541
7542 2005-07-20  Wim Taymans  <wim@fluendo.com>
7543
7544         * gst/gstmessage.c: (gst_message_new_segment_start),
7545         (gst_message_new_segment_done), (gst_message_parse_segment_start),
7546         (gst_message_parse_segment_done):
7547         * gst/gstmessage.h:
7548         Added a bunch of messages for advanced seeking.
7549
7550         * gst/parse/grammar.y:
7551         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7552         (gst_dpman_state_changed):
7553         Fix some new-pad -> pad-added signals
7554
7555 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7556
7557         * docs/manual/appendix-porting.xml:
7558         * docs/pwg/appendix-porting.xml:
7559           Document new-pad/state-change signal renames and the FixedList
7560           type rename.
7561
7562 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7563
7564         * docs/manual/advanced-autoplugging.xml:
7565         * docs/manual/basics-helloworld.xml:
7566         * docs/manual/basics-pads.xml:
7567         * docs/random/ds/0.9-suggested-changes:
7568         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7569         * gst/gstelement.h:
7570         * gst/gstevent.h:
7571         * gst/gstformat.h:
7572         * gst/gstquery.h:
7573         * gst/gststructure.c: (gst_structure_value_get_generic_type),
7574         (gst_structure_parse_array), (gst_structure_parse_value):
7575         * gst/gstvalue.c: (gst_type_is_fixed),
7576         (gst_value_list_prepend_value), (gst_value_list_append_value),
7577         (gst_value_list_get_size), (gst_value_list_get_value),
7578         (gst_value_transform_array_string), (gst_value_serialize_array),
7579         (gst_value_deserialize_array), (gst_value_intersect_array),
7580         (gst_value_is_fixed), (_gst_value_initialize):
7581         * gst/gstvalue.h:
7582           GstElement::new-pad -> pad-added, GstElement::state-change ->
7583           state-changed, GstValueFixedList -> GstValueArray, add format and
7584           flags as their own arguments in gst_element_seek() (should improve
7585           "bindeability"), remove function generators since they don't work
7586           under a whole bunch of compilers (they were deprecated already
7587           anyway).
7588
7589 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7590
7591         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7592         (_gst_debug_register_funcptr):
7593         * gst/gstinfo.h:
7594           Fix illegal cast on some platforms (#309253).
7595
7596 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7597
7598         * gst/gstmessage.c: (gst_message_new_custom):
7599         * gst/gstmessage.h:
7600           Add _new_custom, make _new_application a macro to _new_custom.
7601
7602 2005-07-20  Wim Taymans  <wim@fluendo.com>
7603
7604         * gst/base/gstbasesrc.c: (gst_base_src_init),
7605         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7606         * gst/base/gstbasesrc.h:
7607         Add a gboolean to decide when to push out a discont.
7608
7609         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7610         (gst_queue_loop), (gst_queue_handle_src_query),
7611         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7612         (gst_queue_set_property), (gst_queue_get_property):
7613         Some cleanups.
7614
7615         * tests/threadstate/threadstate1.c: (main):
7616         Make a thread test compile and run... very silly..
7617
7618
7619 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7620
7621         * docs/manual/appendix-porting.xml:
7622           Mention removal of libgstgconf-0.9.la and existence of gconf
7623           elements.
7624
7625 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7626
7627         * docs/pwg/advanced-clock.xml:
7628         * docs/pwg/appendix-porting.xml:
7629         * docs/pwg/intro-preface.xml:
7630         * docs/pwg/other-base.xml:
7631         * docs/pwg/other-manager.xml:
7632         * docs/pwg/other-nton.xml:
7633         * docs/pwg/other-ntoone.xml:
7634         * docs/pwg/other-oneton.xml:
7635         * docs/pwg/pwg.xml:
7636           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7637           demuxer), remove n-to-n (was never written), fix some code examples
7638           and links and update the porting section to include all this.
7639
7640 2005-07-19  Wim Taymans  <wim@fluendo.com>
7641
7642         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7643         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7644         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7645         (gst_queue_src_activate_push), (gst_queue_change_state),
7646         (gst_queue_get_property):
7647         * gst/gstqueue.h:
7648         Propagate GstFlowReturn more intelligently upstream and output
7649         an ERROR/EOS when streaming stopped due to fatal error.
7650
7651 2005-07-19  Wim Taymans  <wim@fluendo.com>
7652
7653         * tools/gst-launch.c: (check_intr), (event_loop), (main):
7654         Don't block forever for the state change to complete, the
7655         pipeline already did with a sensible timeout.
7656
7657 2005-07-19  Wim Taymans  <wim@fluendo.com>
7658
7659         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7660         Make sure we never call the create function is we
7661         got deactivated.
7662
7663 2005-07-19  Andy Wingo  <wingo@pobox.com>
7664
7665         * gst/parse/parse.l: Attempt to solve bug #172815.
7666
7667 2005-07-19  Wim Taymans  <wim@fluendo.com>
7668
7669         * docs/design/part-clocks.txt:
7670         * docs/design/part-events.txt:
7671         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7672         Small docs updates.
7673         Only update the seeking values when we are not
7674         busy streaming.
7675
7676 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7677
7678         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7679           Oops, ignore the result of gst_pad_push_event here.
7680
7681 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7682
7683         * gst/base/gstbasesrc.c: (gst_base_src_loop),
7684         (gst_base_src_activate_push):
7685           Send discont event from the loop function, as pads
7686           aren't activated yet in the activate_push handler.
7687
7688         * gst/gstbin.c: (bin_bus_handler):
7689           Don't leak element name.
7690
7691 2005-07-18  Andy Wingo  <wingo@pobox.com>
7692
7693         * configure.ac: Use AS_LIBTOOL_TAGS.
7694
7695 2005-07-18  Wim Taymans  <wim@fluendo.com>
7696
7697         * docs/gst/gstreamer.types:
7698         Remove deleted types.
7699
7700 2005-07-18  Wim Taymans  <wim@fluendo.com>
7701
7702         * check/elements/gstfakesrc.c: (GST_START_TEST):
7703         * configure.ac:
7704         * gst/Makefile.am:
7705         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7706         (init_popt_callback):
7707         * gst/gst.h:
7708         * gst/gst_private.h:
7709         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7710         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7711         * gst/gstbin.h:
7712         * gst/gstbus.h:
7713         * gst/gstconfig.h.in:
7714         * gst/gstelement.c: (gst_element_class_init),
7715         (gst_element_set_base_time), (gst_element_get_base_time),
7716         (iterator_fold_with_resync), (gst_element_change_state),
7717         (gst_element_dispose), (gst_element_get_bus):
7718         * gst/gstelement.h:
7719         * gst/gstelementfactory.h:
7720         * gst/gsterror.c: (_gst_core_errors_init):
7721         * gst/gsterror.h:
7722         * gst/gstevent.h:
7723         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7724         * gst/gstindex.c:
7725         * gst/gstinfo.c: (_gst_debug_init):
7726         * gst/gstmessage.c: (_gst_message_copy):
7727         * gst/gstmessage.h:
7728         * gst/gstminiobject.h:
7729         * gst/gstobject.c:
7730         * gst/gstobject.h:
7731         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7732         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7733         * gst/gstpad.h:
7734         * gst/gstparse.h:
7735         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7736         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7737         (gst_pipeline_get_last_stream_time):
7738         * gst/gstpipeline.h:
7739         * gst/gstpluginfeature.h:
7740         * gst/gstquery.h:
7741         * gst/gstscheduler.c:
7742         * gst/gstscheduler.h:
7743         * gst/gststructure.h:
7744         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7745         (gst_task_finalize), (gst_task_func), (gst_task_create),
7746         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7747         (gst_task_stop), (gst_task_pause):
7748         * gst/gsttask.h:
7749         * gst/gsttypefind.h:
7750         * gst/gsttypes.h:
7751         * gst/registries/gstlibxmlregistry.c: (load_feature),
7752         (gst_xml_registry_load), (gst_xml_registry_save_feature):
7753         * gst/registries/gstxmlregistry.c:
7754         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7755         * gst/schedulers/threadscheduler.c:
7756         * libs/gst/control/dparammanager.h:
7757         * tools/gst-inspect.c: (print_element_list),
7758         (print_plugin_features), (print_element_features):
7759         * tools/gst-xmlinspect.c: (print_element_list),
7760         (print_plugin_info), (main):
7761         Removed plugable schedulers.
7762         Removed Scheduler/Manager from elements.
7763         Removed gsttypes.h, rearranged includes.
7764         Removed dependency pad<->element, element<>pipeline, and
7765         various others,  fix includes.
7766         implement gst_pad_get_parent() with gst_object_get_parent()
7767         Make GstTask sefcontained.
7768         Fix _get_state() on GstBin, it did not return ASYNC with a 0
7769         timeout.
7770         Fix endless loop in iterator_fold_with_resync.
7771
7772
7773 2005-07-18  Wim Taymans  <wim@fluendo.com>
7774
7775         * gst/Makefile.am:
7776         * gst/gstarch.h:
7777         Remove old file.
7778
7779 2005-07-18  Wim Taymans  <wim@fluendo.com>
7780
7781         * gst/Makefile.am:
7782         No more cothreads.h
7783
7784 2005-07-18  Wim Taymans  <wim@fluendo.com>
7785
7786         * gst/cothreads.c:
7787         * gst/cothreads.h:
7788         Let's remove these.
7789
7790 2005-07-18  Wim Taymans  <wim@fluendo.com>
7791
7792         * docs/design/part-dynamic.txt:
7793         * docs/design/part-events.txt:
7794         * docs/design/part-seeking.txt:
7795         Some more docs in the works.
7796
7797         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7798         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7799         (gst_base_transform_setcaps), (gst_base_transform_get_size),
7800         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7801         (gst_base_transform_handle_buffer),
7802         (gst_base_transform_sink_activate_push),
7803         (gst_base_transform_src_activate_pull),
7804         (gst_base_transform_set_passthrough),
7805         (gst_base_transform_is_passthrough):
7806         Refcounting fixes.
7807
7808         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7809         Cleanups.
7810
7811         * gst/gstevent.c: (gst_event_finalize):
7812         Set SRC to NULL.
7813
7814         * gst/gstutils.c: (gst_element_unlink),
7815         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7816         (gst_pad_proxy_setcaps):
7817         * gst/gstutils.h:
7818         Add _get_parent_element() to get a pads parent as an element.
7819
7820 2005-07-18  Wim Taymans  <wim@fluendo.com>
7821
7822         * check/gst/gstbin.c: (GST_START_TEST):
7823         Remove bogus test.
7824
7825 2005-07-18  Wim Taymans  <wim@fluendo.com>
7826
7827         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7828         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7829         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7830         (gst_base_sink_event), (gst_base_sink_do_sync),
7831         (gst_base_sink_chain), (gst_base_sink_loop),
7832         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7833         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7834         Refcounting fixes.
7835         Fix logic for returning ASYNC when not prerolled.
7836
7837 2005-07-18  Wim Taymans  <wim@fluendo.com>
7838
7839         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7840         Fix nasty refcount bug.
7841
7842 2005-07-16 Philippe Khalaf <burger@speedy.org>
7843
7844         * gst/elements/gstfdsrc.c:
7845         * gst/elements/gstfdsrc.h:
7846         * gst/elements/gstelements.c:
7847         * gst/elements/Makefile.am:
7848         Ported fdsrc to 0.9.
7849
7850 2005-07-16  Wim Taymans  <wim@fluendo.com>
7851
7852         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7853         (gst_base_sink_do_sync):
7854         Fix compile error.
7855
7856 2005-07-16  Wim Taymans  <wim@fluendo.com>
7857
7858         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7859         (gst_base_sink_event), (gst_base_sink_get_times),
7860         (gst_base_sink_do_sync), (gst_base_sink_change_state):
7861         * gst/base/gstbasesink.h:
7862         Store and use discont values when syncing buffers as described
7863         in design docs.
7864         
7865         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7866         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
7867         (gst_base_src_activate_push):
7868         Push discont event when starting.
7869
7870         * gst/elements/gstidentity.c: (gst_identity_transform):
7871         Small cleanups.
7872
7873         * gst/gstbin.c: (gst_bin_change_state):
7874         Small cleanups in base_time  distribution.
7875
7876         * gst/gstelement.c: (gst_element_set_base_time),
7877         (gst_element_get_base_time), (gst_element_change_state):
7878         * gst/gstelement.h:
7879         Added methods for the base_time of the element.
7880         Some MT fixes.
7881
7882         * gst/gstpipeline.c: (gst_pipeline_send_event),
7883         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7884         (gst_pipeline_get_last_stream_time):
7885         * gst/gstpipeline.h:
7886         MT fixes.
7887         Handle seeking as described in design doc, remove stream_time
7888         hack.
7889         Cleanups clock and stream_time selection code. Added accessors
7890         for the stream_time.
7891         
7892
7893 2005-07-16  Andy Wingo  <wingo@pobox.com>
7894
7895         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
7896         (#305291).
7897
7898 2005-07-16  Wim Taymans  <wim@fluendo.com>
7899
7900         * check/gst/gstbin.c: (GST_START_TEST):
7901         Make elements silent as the deep_notify refs the
7902         parent, which might make the test fail.
7903
7904         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7905         Don't hold the lock for too long.
7906
7907 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
7908
7909         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7910           Don't unref the caps we passed to gst_caps_make_writable() after
7911           passing them. gst_caps_make_writable() will do that for us.
7912
7913 2005-07-15  Andy Wingo  <wingo@pobox.com>
7914
7915         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
7916         (#157311).
7917
7918         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
7919         own marshalling function for the handoff signal. Properly type the
7920         buffer as a buffer. Fixes some warnings. Should do a more general
7921         solution.
7922         (gst_identity_class_init): Plug into the right marshaller.
7923
7924 2005-07-15  Wim Taymans  <wim@fluendo.com>
7925
7926         * docs/design/part-TODO.txt:
7927         * docs/design/part-clocks.txt:
7928         * docs/design/part-element-sink.txt:
7929         * docs/design/part-events.txt:
7930         * docs/design/part-gstpipeline.txt:
7931         Updated docs, mostly DISCONT related.
7932
7933 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
7934
7935         * docs/pwg/building-pads.xml:
7936           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
7937
7938 2005-07-15  Andy Wingo  <wingo@pobox.com>
7939
7940         * tools/gst-typefind.c: Update, add copyright block.
7941
7942         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
7943         Normalize and truncate caps before fixation.
7944
7945         * gst/gstcaps.h:
7946         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
7947         discards all but the first structure from its argument.
7948
7949 2005-07-15  Wim Taymans  <wim@fluendo.com>
7950
7951         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7952         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
7953         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7954         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7955         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
7956         (gst_base_transform_chain), (gst_base_transform_change_state),
7957         (gst_base_transform_set_passthrough),
7958         (gst_base_transform_is_passthrough):
7959         * gst/base/gstbasetransform.h:
7960         Make passthrough work using the bufferpools.
7961         Changed API a bit, subclasses have to write into a buffer
7962         provided by the base class.
7963         More debug info in nego functions.
7964         
7965         * gst/elements/gstidentity.c: (gst_identity_init),
7966         (gst_identity_transform):
7967         Port to new base class.
7968
7969 2005-07-15  Wim Taymans  <wim@fluendo.com>
7970
7971         * gst/gstmessage.c: (gst_message_new_state_changed):
7972         * tools/gst-launch.c: (event_loop), (main):
7973         Totally dump messages in -launch with the -m option.
7974         Fix message name for State messages,
7975
7976 2005-07-14  Wim Taymans  <wim@fluendo.com>
7977
7978         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7979         Post error messages on errors.
7980
7981 2005-07-14  Wim Taymans  <wim@fluendo.com>
7982
7983         * gst/gstcaps.c: (gst_caps_do_simplify):
7984         Remove debug info.
7985
7986         * gst/gsterror.h:
7987         Define error for stream stopped.
7988
7989         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7990         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
7991         Do proper return values.
7992
7993         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7994         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
7995         (gst_pad_get_range):
7996         Better return values.
7997
7998         * gst/gstpad.h:
7999         Reorganise return values, add macro to check for fatal errors.
8000
8001         * gst/gstqueue.c: (gst_queue_chain):
8002         Return proper GstFlowReturn values,
8003
8004 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8005
8006         * docs/gst/gstreamer-sections.txt:
8007         * docs/gst/gstreamer.types:
8008         * docs/gst/tmpl/gst.sgml:
8009         * docs/gst/tmpl/gstbasesink.sgml:
8010         * docs/gst/tmpl/gstbasesrc.sgml:
8011         * docs/gst/tmpl/gstbasetransform.sgml:
8012         * docs/gst/tmpl/gstbin.sgml:
8013         * docs/gst/tmpl/gstbuffer.sgml:
8014         * docs/gst/tmpl/gstcaps.sgml:
8015         * docs/gst/tmpl/gstclock.sgml:
8016         * docs/gst/tmpl/gstcompat.sgml:
8017         * docs/gst/tmpl/gstconfig.sgml:
8018         * docs/gst/tmpl/gstelement.sgml:
8019         * docs/gst/tmpl/gstelementdetails.sgml:
8020         * docs/gst/tmpl/gstelementfactory.sgml:
8021         * docs/gst/tmpl/gstenumtypes.sgml:
8022         * docs/gst/tmpl/gsterror.sgml:
8023         * docs/gst/tmpl/gstevent.sgml:
8024         * docs/gst/tmpl/gstfakesink.sgml:
8025         * docs/gst/tmpl/gstfakesrc.sgml:
8026         * docs/gst/tmpl/gstfilesink.sgml:
8027         * docs/gst/tmpl/gstfilesrc.sgml:
8028         * docs/gst/tmpl/gstfilter.sgml:
8029         * docs/gst/tmpl/gstformat.sgml:
8030         * docs/gst/tmpl/gstghostpad.sgml:
8031         * docs/gst/tmpl/gstimplementsinterface.sgml:
8032         * docs/gst/tmpl/gstindex.sgml:
8033         * docs/gst/tmpl/gstindexfactory.sgml:
8034         * docs/gst/tmpl/gstinfo.sgml:
8035         * docs/gst/tmpl/gstiterator.sgml:
8036         * docs/gst/tmpl/gstmacros.sgml:
8037         * docs/gst/tmpl/gstmemchunk.sgml:
8038         * docs/gst/tmpl/gstminiobject.sgml:
8039         * docs/gst/tmpl/gstobject.sgml:
8040         * docs/gst/tmpl/gstpad.sgml:
8041         * docs/gst/tmpl/gstpadtemplate.sgml:
8042         * docs/gst/tmpl/gstparse.sgml:
8043         * docs/gst/tmpl/gstpipeline.sgml:
8044         * docs/gst/tmpl/gstplugin.sgml:
8045         * docs/gst/tmpl/gstpluginfeature.sgml:
8046         * docs/gst/tmpl/gstquery.sgml:
8047         * docs/gst/tmpl/gstqueue.sgml:
8048         * docs/gst/tmpl/gstregistry.sgml:
8049         * docs/gst/tmpl/gstregistrypool.sgml:
8050         * docs/gst/tmpl/gstscheduler.sgml:
8051         * docs/gst/tmpl/gstschedulerfactory.sgml:
8052         * docs/gst/tmpl/gststructure.sgml:
8053         * docs/gst/tmpl/gstsystemclock.sgml:
8054         * docs/gst/tmpl/gsttaglist.sgml:
8055         * docs/gst/tmpl/gsttagsetter.sgml:
8056         * docs/gst/tmpl/gsttrace.sgml:
8057         * docs/gst/tmpl/gsttrashstack.sgml:
8058         * docs/gst/tmpl/gsttypefind.sgml:
8059         * docs/gst/tmpl/gsttypefindfactory.sgml:
8060         * docs/gst/tmpl/gsttypes.sgml:
8061         * docs/gst/tmpl/gsturihandler.sgml:
8062         * docs/gst/tmpl/gsturitype.sgml:
8063         * docs/gst/tmpl/gstutils.sgml:
8064         * docs/gst/tmpl/gstvalue.sgml:
8065         * docs/gst/tmpl/gstversion.sgml:
8066         * docs/gst/tmpl/gstxml.sgml:
8067         * docs/libs/tmpl/gstcontrol.sgml:
8068         * docs/libs/tmpl/gstdataprotocol.sgml:
8069         * docs/libs/tmpl/gstdparam.sgml:
8070         * docs/libs/tmpl/gstdplinint.sgml:
8071         * docs/libs/tmpl/gstdpman.sgml:
8072         * docs/libs/tmpl/gstdpsmooth.sgml:
8073         * docs/libs/tmpl/gstgetbits.sgml:
8074         * docs/libs/tmpl/gstunitconvert.sgml:
8075         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8076         (gst_push_src_base_init), (gst_push_src_class_init),
8077         (gst_push_src_init), (gst_push_src_create):
8078         * gst/base/gstpushsrc.h:
8079         * gst/elements/gstelements.c:
8080         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8081         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8082         (gst_fake_sink_init), (gst_fake_sink_set_property),
8083         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8084         (gst_fake_sink_event), (gst_fake_sink_preroll),
8085         (gst_fake_sink_render), (gst_fake_sink_change_state):
8086         * gst/elements/gstfakesink.h:
8087         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8088         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8089         (gst_fake_src_base_init), (gst_fake_src_class_init),
8090         (gst_fake_src_init), (gst_fake_src_event_handler),
8091         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8092         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8093         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8094         (gst_fake_src_create_buffer), (gst_fake_src_create),
8095         (gst_fake_src_start), (gst_fake_src_stop):
8096         * gst/elements/gstfakesrc.h:
8097         * gst/elements/gstfilesink.c: (_do_init),
8098         (gst_file_sink_base_init), (gst_file_sink_class_init),
8099         (gst_file_sink_init), (gst_file_sink_dispose),
8100         (gst_file_sink_set_location), (gst_file_sink_set_property),
8101         (gst_file_sink_get_property), (gst_file_sink_open_file),
8102         (gst_file_sink_close_file), (gst_file_sink_query),
8103         (gst_file_sink_event), (gst_file_sink_render),
8104         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8105         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8106         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8107         * gst/elements/gstfilesink.h:
8108         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8109         (gst_file_src_class_init), (gst_file_src_init),
8110         (gst_file_src_finalize), (gst_file_src_set_location),
8111         (gst_file_src_set_property), (gst_file_src_get_property),
8112         (gst_file_src_map_region), (gst_file_src_map_small_region),
8113         (gst_file_src_create_mmap), (gst_file_src_create_read),
8114         (gst_file_src_create), (gst_file_src_is_seekable),
8115         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8116         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8117         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8118         (gst_file_src_uri_handler_init):
8119         * gst/elements/gstfilesrc.h:
8120           more autistic cleanliness in functions/names/defines
8121
8122 2005-07-13  Andy Wingo  <wingo@pobox.com>
8123
8124         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8125         source couldn't negotiate.
8126
8127         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8128         connections again.
8129
8130         * gst/gstutils.h:
8131         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8132         function. I am channeling Hades. Put your boots on suckers!!!
8133
8134 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8135
8136         * testsuite/caps/Makefile.am:
8137         * testsuite/caps/value_compare.c:
8138         * testsuite/caps/value_intersect.c:
8139         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8140           move two testsuite apps over to the check dir
8141
8142 2005-07-12  Wim Taymans  <wim@fluendo.com>
8143
8144         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8145         Added more debug info in the negotiate process.
8146
8147         * gst/gstmessage.h:
8148         Prepare for segment playback.
8149
8150         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8151         Better debugging.
8152
8153         * gst/gstutils.c:
8154         Some more docs.
8155
8156         * tools/gst-launch.c: (main):
8157         NULL pipeline on errors.
8158
8159 2005-07-12  Andy Wingo  <wingo@pobox.com>
8160
8161         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8162         not it comes from a malloc region. Make sure our copy gets freed.
8163
8164 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8165
8166         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8167         * check/gst/gstmessage.c: (GST_START_TEST):
8168         * check/gst/gststructure.c: (GST_START_TEST),
8169         (gst_structure_suite), (main):
8170           more testing
8171         * gst/gstelement.c: (gst_element_message_full):
8172           clean up GError and debug string now that they get copied
8173         * gst/gstmessage.c: (gst_message_new_error),
8174         (gst_message_new_warning), (gst_message_parse_error),
8175         (gst_message_parse_warning):
8176           use GST_TYPE_G_ERROR for structure_new, and take copies of
8177           arguments, so that we don't mess up refcounting
8178
8179 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8180
8181         * check/Makefile.am:
8182           add per-test valgrind targets
8183         * check/gst-libs/gdp.c: (GST_START_TEST),
8184         (gst_data_protocol_suite), (main):
8185           clean up
8186
8187 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8188
8189         * check/Makefile.am:
8190           instate more valgrindable tests
8191         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8192         (GST_START_TEST), (fakesrc_suite):
8193         * check/gst/gstpad.c: (GST_START_TEST):
8194         * check/gst/gststructure.c: (GST_START_TEST):
8195           fix test leaks
8196         * docs/gst/tmpl/gstminiobject.sgml:
8197         * gst/gstpad.c: (gst_pad_finalize):
8198           fix the static mutex leak
8199
8200 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8201
8202         * check/Makefile.am:
8203           add two more tests for valgrinding
8204         * check/gst/gstvalue.c: (GST_START_TEST):
8205           test refcount of deserialized buffer, found a leak
8206         * docs/gst/gstreamer-docs.sgml:
8207         * docs/gst/gstreamer-sections.txt:
8208         * docs/gst/gstreamer.types:
8209         * docs/gst/tmpl/gstminiobject.sgml:
8210           add miniobject to docs
8211         * gst/gstminiobject.c:
8212           add some docs
8213         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8214         (gst_string_unwrap):
8215           fix a hard-to-find invalid write for one of the tests
8216           fix a leak for deserialized buffers
8217
8218 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8219
8220         * docs/pwg/advanced-events.xml:
8221         * docs/pwg/advanced-request.xml:
8222         * docs/pwg/advanced-scheduling.xml:
8223         * docs/pwg/appendix-porting.xml:
8224         * docs/pwg/building-boiler.xml:
8225         * docs/pwg/intro-preface.xml:
8226         * docs/pwg/other-ntoone.xml:
8227           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8228           of example code and explanation for pad activation, loop() and
8229           getrange() functions and a bit more. Remove old comments pointing
8230           to loop-functions.
8231         * examples/pwg/Makefile.am:
8232           Add loop/getrange examples.
8233
8234 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8235
8236         * configure.ac:
8237           check for valgrind binary + some fixes
8238         * check/gst.supp:
8239           valgrind suppressions for the tests
8240         * check/Makefile.am:
8241           add a valgrind: target that valgrinds the unit tests
8242         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8243         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8244         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8245         * check/gst/gstghostpad.c:
8246           added some cleanup
8247         * check/gst/gstdata.c:
8248           removed
8249         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8250         (thread_unref), (gst_mini_object_suite), (main):
8251           added
8252         * gst/gst.c: (gst_deinit):
8253         * gst/gst.h:
8254           add a method to clean up.
8255         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8256         (gst_system_clock_obtain):
8257           allow for disposing the system clock.
8258         * tools/gst-launch.c: (main):
8259           deinit
8260
8261 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8262
8263         * docs/gst/tmpl/gstbasesrc.sgml:
8264         * docs/gst/tmpl/gstfakesrc.sgml:
8265         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8266         (gst_base_src_init), (gst_base_src_set_property),
8267         (gst_base_src_get_property), (gst_base_src_get_range),
8268         (gst_base_src_start):
8269         * gst/base/gstbasesrc.h:
8270           add num-buffers property
8271         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8272         (gst_fakesrc_init), (gst_fakesrc_set_property),
8273         (gst_fakesrc_get_property), (gst_fakesrc_create),
8274         (gst_fakesrc_start):
8275           remove num-buffers property
8276
8277 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8278
8279         * docs/gst/gstreamer-sections.txt:
8280         * docs/gst/tmpl/gstbasesink.sgml:
8281         * docs/gst/tmpl/gstbasesrc.sgml:
8282         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8283         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8284         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8285         (gst_base_sink_set_property), (gst_base_sink_get_property),
8286         (gst_base_sink_handle_object), (gst_base_sink_event),
8287         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8288         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8289         (gst_base_sink_loop), (gst_base_sink_deactivate),
8290         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8291         (gst_base_sink_change_state):
8292         * gst/base/gstbasesink.h:
8293         * gst/base/gstbasesrc.h:
8294         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8295         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8296         (gst_filesink_init):
8297           more macro splitting
8298
8299 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8300
8301         * gst/gstelement.c: (gst_element_get_bus):
8302           add debug
8303         * tools/gst-launch.c: (check_intr), (event_loop):
8304           fix bus leaks
8305
8306 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8307
8308         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8309           fix a caps leak
8310
8311 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8312
8313         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8314         (gst_base_src_finalize):
8315           add finalize method and clean up properly
8316         * gst/gstpipeline.c: (gst_pipeline_dispose):
8317           add debug
8318
8319 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8320
8321         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8322         (gst_bin_suite):
8323           add more things to check
8324         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8325         * gst/gstelement.c:
8326           more debug
8327
8328 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8329
8330         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8331         (GST_START_TEST), (fakesrc_suite):
8332         * check/gst-libs/gdp.c: (GST_START_TEST):
8333         * check/gst/gst.c: (GST_START_TEST):
8334         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8335         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8336         * check/gst/gstbus.c: (GST_START_TEST):
8337         * check/gst/gstcaps.c: (GST_START_TEST):
8338         * check/gst/gstdata.c: (GST_START_TEST):
8339         * check/gst/gstelement.c: (GST_START_TEST):
8340         * check/gst/gstghostpad.c: (GST_START_TEST):
8341         * check/gst/gstiterator.c: (GST_START_TEST):
8342         * check/gst/gstmessage.c: (GST_START_TEST):
8343         * check/gst/gstobject.c: (GST_START_TEST):
8344         * check/gst/gstpad.c: (GST_START_TEST):
8345         * check/gst/gststructure.c: (GST_START_TEST):
8346         * check/gst/gstsystemclock.c: (GST_START_TEST),
8347         (gst_systemclock_suite):
8348         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8349         * check/gst/gstvalue.c: (GST_START_TEST):
8350         * check/pipelines/cleanup.c: (GST_START_TEST):
8351         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8352         * check/states/sinks.c: (GST_START_TEST):
8353         * check/gstcheck.c: (gst_check_init):
8354         * check/gstcheck.h:
8355           add debugging category
8356           use GST_START_TEST now, so we add a debug line
8357
8358 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8359
8360         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8361           add test for state change message on a bin
8362         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8363           add another test
8364         * gst/gstbin.c: (gst_bin_init):
8365         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8366         * gst/gstelement.c: (gst_element_post_message),
8367         (gst_element_set_state):
8368         * gst/gstelementfactory.c: (gst_element_factory_create):
8369         * gst/gstmessage.c: (gst_message_new):
8370         * gst/gstscheduler.c:
8371           various debugging additions and cleanups
8372
8373 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8374
8375         * check/Makefile.am:
8376         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8377         (main):
8378           adding tests for elements
8379         * gst/gstelement.c: (gst_element_dispose):
8380
8381 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8382
8383         * gst/registries/gstlibxmlregistry.c: (load_feature):
8384           plug more leaks.  A simple gst_init() now is leakfree, yay.
8385
8386 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8387
8388         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8389         (gst_xml_registry_load):
8390           plug another memleak
8391
8392 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8393
8394         * configure.ac:
8395           use GST_SET_ERROR_CFLAGS
8396         * docs/faq/cvs.xml:
8397           change to ERROR_CFLAGS
8398
8399 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8400
8401         * configure.ac:
8402           make GST_ERROR_CFLAGS overridable and re-enable Werror
8403         * docs/faq/cvs.xml:
8404           add a note about error CFLAGS
8405         * docs/gst/tmpl/gstfakesrc.sgml:
8406         * gst/elements/gstfakesrc.c:
8407           comment out some unused code
8408         * gst/gst.c: (split_and_iterate):
8409         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8410         (load_feature):
8411           plug some memleaks
8412
8413 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8414
8415         * common/Makefile.am:
8416         * common/gtk-doc.mak:
8417         * docs/gst/Makefile.am:
8418           factor out gtk-doc.mak
8419
8420 2005-07-07  Wim Taymans  <wim@fluendo.com>
8421
8422         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8423         (gst_thread_scheduler_dispose):
8424         Unlock the STREAM_LOCK completely.
8425
8426 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8427
8428         * check/Makefile.am:
8429         * check/elements/.cvsignore:
8430         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8431         (START_TEST), (fakesrc_suite), (main):
8432         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8433         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8434         (gst_fakesrc_create), (gst_fakesrc_start):
8435         * gst/elements/gstfakesrc.h:
8436           adding a first element test
8437
8438 2005-07-07  Andy Wingo  <wingo@pobox.com>
8439
8440         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8441         debug message.
8442
8443 2005-07-07  Wim Taymans  <wim@fluendo.com>
8444
8445         * gst/gstquery.c:
8446         * gst/gstquery.h:
8447         Remove old types
8448
8449 2005-07-07  Wim Taymans  <wim@fluendo.com>
8450
8451         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8452         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8453         Allow subclasses to implement their own negotiation.
8454
8455 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8456
8457         * docs/design/part-gstbin.txt:
8458         * docs/design/part-gstpipeline.txt:
8459           Update design notes to reflect the movement of
8460           responsibility for bus handling from GstPipeline to
8461           GstBin
8462
8463 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8464
8465         * configure.ac:
8466           Remove unnecessary queue2/3/4 examples.
8467
8468 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8469
8470         * examples/Makefile.am:
8471         * examples/helloworld/helloworld.c: (event_loop), (main):
8472         * examples/queue/queue.c: (event_loop), (main):
8473         * examples/queue2/queue2.c: (main):
8474           Update a couple of the examples to work again.
8475
8476         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8477         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8478          Spelling corrections and extra debug.
8479         
8480         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8481         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8482         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8483         * gst/gstbin.h:
8484         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8485         (gst_pipeline_change_state):
8486         * gst/gstpipeline.h:
8487           Move the bus handler for children to the GstBin, and create a
8488           separate bus for receiving messages from children to the one the
8489           bus sends 'upwards' on.
8490
8491 2005-07-06  Wim Taymans  <wim@fluendo.com>
8492
8493         * gst/base/README:
8494         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8495         (gst_base_sink_handle_object), (gst_base_sink_loop),
8496         (gst_base_sink_change_state):
8497         * gst/base/gstbasesink.h:
8498         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8499         (gst_base_src_init), (gst_base_src_setcaps),
8500         (gst_base_src_getcaps), (gst_base_src_loop),
8501         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8502         (gst_base_src_start), (gst_base_src_change_state):
8503         * gst/base/gstbasesrc.h:
8504         Make basesrc negotiate.
8505         Handle the case where preroll fails in basesink.
8506         Update README.
8507
8508 2005-07-06  Wim Taymans  <wim@fluendo.com>
8509
8510         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8511         Implement the fixate function.
8512         Clean up acceptcaps.
8513
8514 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8515
8516         * docs/pwg/building-filterfactory.xml:
8517         * docs/pwg/pwg.xml:
8518           Remove never-written filter-factory chapter; I'll add the various
8519           base classes to part 4 ("other element types") later on.
8520
8521 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8522
8523         * docs/pwg/advanced-negotiation.xml:
8524         * docs/pwg/building-boiler.xml:
8525         * docs/pwg/building-pads.xml:
8526         * docs/pwg/pwg.xml:
8527         * examples/pwg/Makefile.am:
8528           Add a chapter on caps negotiation, simplify the original code
8529           samples a bit w.r.t. caps negotiation, add link to the advanced
8530           section. Add a bunch of examples showing different use cases of
8531           different types of caps negotiation. Upstream renegotiation isn't
8532           fully documented yet since nobody knows how that works.
8533
8534 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8535
8536         * check/gst/gstpad.c:
8537         * check/gstcheck.c:
8538         * gst/gstpad.c: (gst_pad_get_internal_links_default):
8539           if pad has no parent, return NULL as list of internal links
8540
8541 2005-07-05  Andy Wingo  <wingo@pobox.com>
8542
8543         * gst/elements/gstfilesrc.c:
8544         * gst/elements/gstfakesrc.c: 
8545         * gst/base/gstpushsrc.c:
8546         * gst/base/gstbasesrc.h: 
8547         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8548         
8549 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
8550
8551         * Makefile.am:
8552           better report generation target (lcov needs a patch)
8553
8554 2005-07-05  Andy Wingo  <wingo@pobox.com>
8555
8556         * gst/elements, testsuite: Null if we got it...
8557
8558 2005-07-05  Wim Taymans  <wim@fluendo.com>
8559
8560         * configure.ac:
8561         * libs/gst/dataprotocol/Makefile.am:
8562         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8563         * libs/gst/dataprotocol/dataprotocol.h:
8564         * pkgconfig/Makefile.am:
8565         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8566         * pkgconfig/gstreamer-dataprotocol.pc.in:
8567         Ported dataprotol to 0.9. 
8568         Added pkgconfig files.
8569
8570 2005-07-05  Andy Wingo  <wingo@pobox.com>
8571
8572         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8573         Default to returning TRUE for the case when tranform_caps returns
8574         a fixed caps, like for identity or volume.
8575
8576         * check/gst/gstbus.c (pound_bus_with_messages): 
8577         * check/gst/gstmessage.c (START_TEST): 
8578         * check/pipelines/simple_launch_lines.c (got_handoff): Application
8579         message API change.
8580
8581         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8582         logic weaks here: always run transform_caps, trying passthrough
8583         operation only if the original caps intersects with the transform.
8584
8585         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8586         source and sink caps.
8587
8588         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8589         Intersect the peer caps with the pad template before going into
8590         transform_caps.
8591         (gst_base_transform_transform_caps): More debugging.
8592
8593         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8594         src argument.
8595
8596 2005-07-04  Edward Hervey  <edward@fluendo.com>
8597
8598         * gst/gstutils.c:
8599         * gst/gstutils.h:
8600         (gst_pad_add_*_probe): now returns the signal id for better wrapping
8601         in bindings.
8602
8603 2005-07-04  Andy Wingo  <wingo@pobox.com>
8604
8605         * check/gst/gstpad.c: Only set explicit caps on pads.
8606
8607 2005-07-01  Andy Wingo  <wingo@pobox.com>
8608
8609         * tests/network-clock.scm: Commentary update.
8610
8611         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8612         Didn't really make sense, not implementable with basetransform,
8613         etc.
8614         (gst_identity_transform): Unref inbuf via make_writable. Feeble
8615         attempt at implementing the sync property, needs an unlock method.
8616
8617         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8618         New func, by default returns the same caps (the identity
8619         transformation).
8620         (gst_base_transform_getcaps): Uses transform_caps to return
8621         something sensible.
8622         (gst_base_transform_setcaps): Complicated logic to get caps on
8623         both pads, even if they are different, and to call set_caps once
8624         for every time both pads get their caps set.
8625         (gst_base_transform_handle_buffer): Give the ref to the transform
8626         function. Allows in-place modification of the buffer.
8627
8628         * gst/base/gstbasetransform.h (transform_caps): New class method.
8629         Given caps on one side, what can I do on the other.
8630         (set_caps): Take two caps, one for each side of the element.
8631
8632         * gst/gstpad.h:
8633         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8634         caps in place. This is safe because we can check the mutability of
8635         the caps, and a good idea because fixate functions are just called
8636         as a matter of last resort. (Not actually implemented.)
8637         (gst_pad_set_caps): If the caps we're setting is actually the same
8638         as the existing pad caps, just update the pointer without calling
8639         setcaps. Assert that caps is either NULL or fixed, as per the
8640         docs.
8641
8642         * gst/gstghostpad.c: Update for fixate changes.
8643
8644 2005-07-02  Andy Wingo  <wingo@pobox.com>
8645
8646         * gst/gstcaps.c:
8647         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8648         two refcounts makes it immutable, which is enough. Doc more.
8649
8650 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
8651
8652         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8653           Put the mini_object into GValue as a mini_object,
8654           not a gpointer, since that's how we declared
8655           the signal.
8656
8657 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8658
8659         * examples/pwg/Makefile.am:
8660           Fix buildbot again.
8661
8662 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8663
8664         * docs/pwg/building-testapp.xml:
8665           Add extra check.
8666         * examples/pwg/Makefile.am:
8667           Fix buildbot.
8668
8669 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8670
8671         * configure.ac:
8672         * examples/Makefile.am:
8673         * examples/pwg/Makefile.am:
8674         * examples/pwg/extract.pl:
8675           Enable building the PWG examples.
8676         * docs/pwg/advanced-interfaces.xml:
8677           Add URI interface stub.
8678         * docs/pwg/advanced-types.xml:
8679         * docs/pwg/other-autoplugger.xml:
8680         * docs/pwg/appendix-porting.xml:
8681         * docs/pwg/pwg.xml:
8682           Add porting guide (mostly stubs), remove autoplugging (see ADM).
8683         * docs/pwg/building-boiler.xml:
8684         * docs/pwg/building-chainfn.xml:
8685         * docs/pwg/building-pads.xml:
8686         * docs/pwg/building-props.xml:
8687         * docs/pwg/building-state.xml:
8688         * docs/pwg/building-testapp.xml:
8689           Update the building-*.xml parts for 0.9 changes. All examples
8690           code blocks compile in examples/pwg/*.
8691
8692 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8693
8694         * docs/manual/advanced-autoplugging.xml:
8695         * docs/manual/appendix-checklist.xml:
8696         * docs/manual/appendix-integration.xml:
8697         * docs/manual/highlevel-components.xml:
8698           Fix playbin/decodebin examples, update docs a bit, mention bus
8699           instead of signals in various places, mention kmplayer and
8700           kaffeine since they have a working GStreamer backend in the KDE
8701           section.
8702
8703 2005-06-30  Wim Taymans  <wim@fluendo.com>
8704
8705         * CHANGES-0.9:
8706         * docs/design/draft-ghostpads.txt:
8707         * docs/design/draft-push-pull.txt:
8708         * docs/design/draft-query.txt:
8709         * docs/design/part-TODO.txt:
8710         * docs/design/part-query.txt:
8711         Added CHANGES-0.9 doc, updated status of other docs.
8712         
8713         * gst/gstquery.h:
8714         Remove "hmm" macro
8715
8716 2005-06-30  Wim Taymans  <wim@fluendo.com>
8717
8718         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8719         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8720         (gst_base_sink_change_state):
8721         * gst/base/gstbasesink.h:
8722         Some tweaks, only EOS and a buffer complete a preroll.
8723
8724 2005-06-30  Andy Wingo  <wingo@pobox.com>
8725
8726         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8727         activate_push down to the internal pad as well.
8728
8729 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
8730
8731         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8732
8733         * gst/gsttaginterface.c:
8734           Some documentation fixes (#307394 and #307397).
8735
8736 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
8737
8738         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8739
8740         * gst/gstvalue.c: (gst_value_intersect_list):
8741           Fix memleak (#309125).
8742
8743 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8744
8745         * docs/manual/advanced-dataaccess.xml:
8746           Fix fakesrc example to compile; doesn't work, bug somewhere...?
8747         * docs/manual/basics-pads.xml:
8748           Add reference for filtered caps to above chapter.
8749
8750 2005-06-30  Wim Taymans  <wim@fluendo.com>
8751
8752         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8753         (gst_bin_change_state):
8754         Probes are gone.
8755         Lame attempt at making the state change function a bit
8756         more readable.
8757
8758 2005-06-30  Wim Taymans  <wim@fluendo.com>
8759
8760         * docs/design/part-clocks.txt:
8761         * docs/design/part-element-sink.txt:
8762         * docs/design/part-events.txt:
8763         * docs/design/part-preroll.txt:
8764         * docs/design/part-states.txt:
8765         Some more tweeks and additions to the docs.
8766
8767 2005-06-30  Wim Taymans  <wim@fluendo.com>
8768
8769         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8770         (default_have_data), (gst_pad_class_init), (gst_pad_init),
8771         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8772         (gst_pad_check_pull_range), (gst_pad_get_range),
8773         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8774         * gst/gstpad.h:
8775         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8776         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8777         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8778         (gst_pad_remove_buffer_probe):
8779         Removed atomic operations, use existing LOCK.
8780         Move exception handling out of main code path.
8781
8782 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8783
8784         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8785         (silly_return_true_function), (gst_pad_class_init),
8786         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8787         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8788         (gst_pad_send_event):
8789           Fix accumulator, add default value by using _emitv() instead
8790           of _emit() for signal emission.
8791
8792 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8793
8794         * docs/manual/advanced-dataaccess.xml:
8795         * examples/manual/Makefile.am:
8796           Add probe example.
8797         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8798           Make work (??).
8799
8800 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
8801
8802         * gst/elements/gstfilesink.c: (gst_filesink_render):
8803           Simplify code so that we don't have to handle short
8804           writes and return GST_FLOW_ERROR if an error occured.
8805
8806 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8807
8808         * docs/gst/gstreamer-docs.sgml:
8809           Remove probes more.
8810
8811 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8812
8813         * docs/gst/gstreamer-sections.txt:
8814         * docs/gst/tmpl/gstpad.sgml:
8815         * docs/gst/tmpl/gstprobe.sgml:
8816         * gst/Makefile.am:
8817         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8818         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8819         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8820         (gst_pad_push_event), (gst_pad_send_event):
8821         * gst/gstpad.h:
8822         * gst/gstutils.c: (gst_pad_add_data_probe),
8823         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8824         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8825         (gst_pad_remove_buffer_probe):
8826         * gst/gstutils.h:
8827           Remove old probes, add new g-signal-based probes and some utility
8828           functions.
8829
8830 2005-06-29  Edward Hervey  <edward@fluendo.com>
8831
8832         * gst/gstelementfactory.c:
8833         * gst/gstutils.h:
8834         * gst/gstutils.c:
8835         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8836         the definition to the header file.
8837
8838 2005-06-29  Andy Wingo  <wingo@pobox.com>
8839
8840         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8841         plugins from the source directory.
8842
8843 2005-06-29  Wim Taymans  <wim@fluendo.com>
8844
8845         * docs/gst/tmpl/gstbuffer.sgml:
8846         * docs/gst/tmpl/gstclock.sgml:
8847         Some fixings for blantently wrong text.
8848
8849 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8850
8851         * check/Makefile.am:
8852         * gst/gst.c: (add_path_func), (init_pre):
8853         * gst/gstregistry.c: (gst_registry_add_path):
8854           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
8855           only scan the GST_PLUGIN_PATH locations, and not add
8856           system locations
8857
8858 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8859
8860         * docs/gst/gstreamer-sections.txt:
8861         * docs/gst/tmpl/gstbasesrc.sgml:
8862         * gst/gstelement.c:
8863         * gst/gstelement.h:
8864         * gst/gstevent.c:
8865         * gst/gstutils.c:
8866           doc fixes
8867
8868 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8869
8870         * docs/manual/advanced-autoplugging.xml:
8871           Fix autoplugging example.
8872
8873 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8874
8875         * docs/manual/advanced-autoplugging.xml:
8876         * docs/manual/mime-world.fig:
8877           Try to get autoplugging working, fix type detection. Fix text
8878           in hello-world image.
8879
8880 2005-06-29  Wim Taymans  <wim@fluendo.com>
8881
8882         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8883         (gst_base_sink_change_state):
8884         Small debug line.
8885
8886         * gst/gstclock.h:
8887         map SIGNAL and BROADCAST to the right function.
8888
8889         * gst/gstobject.h:
8890         Remove redundant braces.
8891
8892         * gst/gstpad.c: (gst_pad_set_caps):
8893         Don't call setcaps function when reseting caps to NULL.
8894
8895         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8896         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
8897         (gst_system_clock_id_unschedule):
8898         Use BROADCAST as this is what we do.
8899
8900 2005-06-29  Wim Taymans  <wim@fluendo.com>
8901
8902         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8903         We are actually prerolling before commiting the state
8904         change. 
8905
8906 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8907
8908         * docs/manual/advanced-clocks.xml:
8909         * docs/manual/advanced-interfaces.xml:
8910         * docs/manual/advanced-metadata.xml:
8911         * docs/manual/advanced-position.xml:
8912         * docs/manual/advanced-schedulers.xml:
8913         * docs/manual/advanced-threads.xml:
8914         * docs/manual/appendix-porting.xml:
8915         * docs/manual/basics-bins.xml:
8916         * docs/manual/basics-bus.xml:
8917         * docs/manual/basics-elements.xml:
8918         * docs/manual/basics-helloworld.xml:
8919         * docs/manual/basics-pads.xml:
8920         * docs/manual/highlevel-components.xml:
8921         * docs/manual/manual.xml:
8922         * docs/manual/thread.fig:
8923           Update (until threads/scheduling) Application Development Manual;
8924           remove GstThread, add GstBus, add simple porting checklist, add
8925           documentation for tag writing, clocks, make all examples until this
8926           part compile and run.
8927         * examples/manual/Makefile.am:
8928           Update from changes to Application Development Manual; add bus
8929           example, remove thread example.
8930
8931 2005-06-28  Wim Taymans  <wim@fluendo.com>
8932
8933         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
8934         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
8935         (gst_bus_source_dispatch):
8936         Add debugging messages.
8937         Make internal methods static.
8938         Handle the case where the bus is flushed in the handler.
8939         
8940         * gst/gstelement.c: (gst_element_get_bus):
8941         Fix refcount in _get_bus();
8942
8943         * gst/gstpipeline.c: (gst_pipeline_change_state),
8944         (gst_pipeline_get_clock_func):
8945         Clock refcounting fixes.
8946         Handle the case where preroll timed out more gracefully.
8947         
8948         * gst/gstsystemclock.c: (gst_system_clock_dispose):
8949         Clean up the internal thread in dispose. This is needed
8950         for subclasses that actually get disposed.
8951         
8952         * gst/schedulers/threadscheduler.c:
8953         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8954         (gst_thread_scheduler_dispose):
8955         Free thread pool in dispose.
8956
8957 2005-06-28  Andy Wingo  <wingo@pobox.com>
8958
8959         * tests/network-clock-utils.scm (debug, print-event): New utils.
8960
8961         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
8962         (*packet-loss*): Unified loss probability.
8963         (network-time): Report out-of-band events.
8964
8965         * tests/plot-data: Add support for out-of-band events. Hack it
8966         into this script instead of passing it down the pipe; should fix
8967         this later.
8968
8969 2005-06-28  Wim Taymans  <wim@fluendo.com>
8970
8971         * docs/gst/gstreamer.types:
8972         * docs/gst/tmpl/gstbasesrc.sgml:
8973         * docs/gst/tmpl/gstpad.sgml:
8974         Docs fixes.
8975
8976 2005-06-28  Wim Taymans  <wim@fluendo.com>
8977
8978         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8979         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
8980         (gst_proxy_pad_do_fixatecaps):
8981         Correctly proxy the check_pull_range function.
8982
8983 2005-06-28  Andy Wingo  <wingo@pobox.com>
8984
8985         * tests/network-clock.scm: Removed need for slib.
8986         
8987 2005-06-28  Wim Taymans  <wim@fluendo.com>
8988
8989         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
8990         (gst_basesink_preroll_queue_flush):
8991         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
8992         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
8993         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8994         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8995         (gst_proxy_pad_set_property):
8996         * gst/gstpad.c:
8997         * gst/gstpad.h:
8998         * gst/gstqueue.c: (gst_queue_init):
8999         The deprecated pad loop function is removed now.
9000
9001 2005-06-28  Andy Wingo  <wingo@pobox.com>
9002
9003         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9004         New parameters, simulate network packet loss.
9005
9006         * tests/network-clock-utils.scm: Initialize the RNG.
9007
9008 2005-06-28  Wim Taymans  <wim@fluendo.com>
9009
9010         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9011         (gst_basesink_event), (gst_basesink_deactivate):
9012         Flushing the preroll queue always needs to unlock the waiters.
9013
9014 2005-06-28  Edward Hervey  <edward@fluendo.com>
9015
9016         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9017         Wheen a seek was successful on a pipeline, set the stream_time to the
9018         seek offset in order to have a synchronized stream_time.
9019
9020 2005-06-28  Wim Taymans  <wim@fluendo.com>
9021
9022         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9023         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9024         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9025         (gst_proxy_pad_do_fixatecaps):
9026         Call wrapper function instead of just calling the function
9027         pointers. This takes care of any locking and whatmore.
9028
9029 2005-06-28  Wim Taymans  <wim@fluendo.com>
9030
9031         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9032         (gst_pad_pull_range):
9033         * gst/gstpad.h:
9034         CONNECTED -> LINKED.
9035
9036 2005-06-28  Andy Wingo  <wingo@pobox.com>
9037
9038         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9039         source-munging commit!!!
9040
9041         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9042         (gst_object_sink): Take gpointer arguments, not GstObject --
9043         avoids casts. Like GLib.
9044
9045         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9046         activate.
9047
9048 2005-06-27  Andy Wingo  <wingo@pobox.com>
9049
9050         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9051         remaining buffer.
9052
9053         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9054         returns a sorted copy of the trace list.
9055         (gst_alloc_trace_print_live): New API, only prints traces with
9056         live objects. Sort the list.
9057         (gst_alloc_trace_print_all): Sort the list.
9058         (gst_alloc_trace_print): Align columns.
9059
9060         * gst/elements/gstttypefindelement.c:
9061         * gst/elements/gsttee.c:
9062         * gst/base/gstbasesrc.c:
9063         * gst/base/gstbasesink.c:
9064         * gst/base/gstbasetransform.c:
9065         * gst/gstqueue.c: Adapt for pad activation changes.
9066
9067         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9068         sched.
9069         (gst_pipeline_dispose): Drop ref on sched.
9070
9071         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9072         (gst_pad_activate_default): Push mode by default.
9073         (pre_activate_switch, post_activate_switch): New stubs, things to
9074         do before and after switching activation modes on pads.
9075         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9076         the pad's activate function to choose which mode to activate.
9077         Shortcut on deactivation and call the right function directly.
9078         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9079         mode.
9080         (gst_pad_activate_push): New API, same for push mode.
9081         (gst_pad_set_activate_function) 
9082         (gst_pad_set_activatepull_function) 
9083         (gst_pad_set_activatepush_function): Setters for new API.
9084
9085         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9086         Trace all miniobjects.
9087         (gst_mini_object_make_writable): Unref the arg if we copy, like
9088         gst_caps_make_writable.
9089
9090         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9091
9092         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9093         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9094         Adapt for new pad API.
9095
9096         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9097
9098         * gst/gstelement.h:
9099         * gst/gstelement.c (gst_element_iterate_src_pads) 
9100         (gst_element_iterate_sink_pads): New API functions.
9101         
9102         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9103         should fold into gstiterator.c in some form.
9104         (gst_element_pads_activate): Simplified via use of fold and
9105         delegation of decisions to gstpad->activate.
9106
9107         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9108         help in debugging.
9109
9110         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9111         class once in init, like gstmessage. Didn't run into this issue
9112         but it seems correct. Don't initialize a trace, gstminiobject does
9113         that.
9114
9115         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9116         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9117         to the bus.
9118         (assert_live_count): New util function, uses alloc traces to check
9119         cleanup.
9120
9121         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9122         To be modified when unlink drops the internal pad.
9123
9124 2005-06-27  Wim Taymans  <wim@fluendo.com>
9125
9126         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9127         (gst_bin_change_state):
9128         Cleanup the get_state() function a little, make sure it
9129         iterates the same set of elements.
9130         Added stub iterate_state_order().
9131
9132 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9133
9134         * docs/gst/gstreamer-docs.sgml:
9135         * docs/gst/gstreamer-sections.txt:
9136         * docs/gst/gstreamer.types:
9137         * docs/gst/tmpl/gstbasesink.sgml:
9138         * docs/gst/tmpl/gstbasesrc.sgml:
9139         * docs/gst/tmpl/gstbasetransform.sgml:
9140         * docs/gst/tmpl/gstelement.sgml:
9141         * docs/gst/tmpl/gstiterator.sgml:
9142         * gst/base/gstbasesrc.c:
9143         * gst/base/gstbasesrc.h:
9144         * gst/base/gstbasetransform.h:
9145         * gst/gstelement.c:
9146         * gst/gstiterator.h:
9147           adding basetransform and iterator docs
9148
9149 2005-06-27  Andy Wingo  <wingo@pobox.com>
9150
9151         * docs/design/part-activation.txt: Notes on how activation should
9152         work -- not quite implemented yet.
9153
9154 2005-06-25  Wim Taymans  <wim@fluendo.com>
9155
9156         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9157         At least get the chain function correct, needs more
9158         fixing.
9159
9160 2005-06-25  Wim Taymans  <wim@fluendo.com>
9161
9162         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9163         (gst_basesink_handle_object), (gst_basesink_event),
9164         (gst_basesink_do_sync), (gst_basesink_handle_event),
9165         (gst_basesink_change_state):
9166         * gst/gsttask.h:
9167         Right, two problems here: ghostpads don't take locks and
9168         glib _rec_mutex_lock_full() with depth==0 still locks.
9169         Catch illegal locking and g_warn them.
9170
9171 2005-06-25  Wim Taymans  <wim@fluendo.com>
9172
9173         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9174         Have to check for completion now...
9175
9176 2005-06-25  Wim Taymans  <wim@fluendo.com>
9177
9178         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9179         (gst_basesink_handle_object), (gst_basesink_event),
9180         (gst_basesink_do_sync), (gst_basesink_handle_event),
9181         (gst_basesink_change_state):
9182         * gst/gstpad.h:
9183         Unlock STREAM_LOCK whatever the recursion was.
9184
9185 2005-06-25  Wim Taymans  <wim@fluendo.com>
9186
9187         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9188         (gst_basesink_preroll_queue_empty),
9189         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9190         (gst_basesink_event), (gst_basesink_do_sync),
9191         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9192         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9193         (gst_basesink_change_state):
9194         Reworked the base sink, handle event and buffer serialisation
9195         correctly and removed possible deadlock.
9196         Handle EOS correctly.
9197
9198 2005-06-25  Wim Taymans  <wim@fluendo.com>
9199
9200         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9201         (gst_pipeline_change_state):
9202         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9203         Allow elements to post EOS in the state change function.
9204         Fix up -launch, make it exit the poll loop when the
9205         pipeline actually changed state.
9206         Fix up warning parsing in -launch.
9207
9208 2005-06-25  Wim Taymans  <wim@fluendo.com>
9209
9210         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9211         (gst_tee_sink_activate):
9212         Core takes STREAM_LOCK for us now.
9213
9214 2005-06-25  Wim Taymans  <wim@fluendo.com>
9215
9216         * gst/gstelement.c: (gst_element_get_state_func),
9217         (gst_element_set_state):
9218         * gst/gstelement.h:
9219         * gst/gstmessage.c: (gst_message_parse_error),
9220         (gst_message_parse_warning):
9221         Keep track of current target state while performing a state
9222         change so that subclasses can do something interesting.
9223         Fix parsing of warning/error messages when GError is NULL.
9224
9225 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9226
9227         * docs/gst/Makefile.am:
9228         * docs/gst/gstreamer-docs.sgml:
9229         * docs/gst/gstreamer-sections.txt:
9230         * docs/gst/gstreamer.types:
9231         * docs/gst/tmpl/gstbasesink.sgml:
9232         * docs/gst/tmpl/gstbasesrc.sgml:
9233         * docs/gst/tmpl/gstbin.sgml:
9234         * docs/gst/tmpl/gstcompat.sgml:
9235         * docs/gst/tmpl/gstfakesink.sgml:
9236         * docs/gst/tmpl/gstfakesrc.sgml:
9237         * docs/gst/tmpl/gstfilesink.sgml:
9238         * docs/gst/tmpl/gstfilesrc.sgml:
9239         * docs/gst/tmpl/gstindex.sgml:
9240         * docs/manual/appendix-quotes.xml:
9241         * gst/base/gstbasesrc.h:
9242         * gst/elements/gstfakesrc.h:
9243         * gst/gstmessage.h:
9244           start pulling in base classes and elements in our docs
9245
9246 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9247
9248         * docs/gst/Makefile.am:
9249         * docs/libs/Makefile.am:
9250           fixed make distcheck with gtk-doc 1.3
9251
9252 2005-06-23  Wim Taymans  <wim@fluendo.com>
9253
9254         * gst/gstelement.c: (gst_element_get_state_func),
9255         (gst_element_set_state), (gst_element_change_state):
9256         When the state did not change, also report NO_PREROLL
9257         when it matters.
9258
9259 2005-06-23  Wim Taymans  <wim@fluendo.com>
9260
9261         * gst/gstpad.c: (gst_pad_event_default):
9262         * gst/gstqueue.c: (gst_queue_loop):
9263         No unsafe task pausing please.
9264
9265 2005-06-23  Wim Taymans  <wim@fluendo.com>
9266
9267         * gst/schedulers/threadscheduler.c:
9268         (gst_thread_scheduler_task_start),
9269         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9270         Ref the task before pushing it on the threadpool. This
9271         makes sure that we have a ref when the threadfunction is
9272         actually called.
9273
9274 2005-06-23  Andy Wingo  <wingo@pobox.com>
9275
9276         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9277         offset is greater than the file's size.
9278
9279         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9280         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9281         * gst/gstobject.c (gst_object_class_init): Make the class lock
9282         recursive. Wim won't let me drop deep_notify. Decodebin works
9283         again, whoopdy doo.
9284
9285         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9286         internal pad, and hacks accordingly. Doesn't do it on the target
9287         pad because we change its caps. Probably catches all cases of
9288         interest tho.
9289         (gst_ghost_pad_set_property): Connect to notify::caps as
9290         appropritate.
9291
9292         * tests/network-clock.scm (plot-simulation): Pipe data to the
9293         elite python skript.
9294
9295         * tests/network-clock-utils.scm (define-parameter): New macro,
9296         defines a parameter that can be set via the command line.
9297         (set-parameter!, parse-parameter-arguments): Command line args
9298         parser.
9299
9300         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9301         stdin.
9302
9303 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9304
9305         * gst/elements/gsttypefindelement.c:
9306         (gst_type_find_element_handle_event):
9307           Don't restart typefinding on a discont.
9308         * gst/gstelement.c: (gst_element_set_state):
9309           Debug spelling fix.
9310         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9311           Allow changing mode of an active pad.
9312           Debug output fixes.
9313         * gst/registries/gstlibxmlregistry.c: (load_feature):
9314           Don't cast a static pad template to a normal pad template.
9315
9316 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9317
9318         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9319         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9320           remove gst_strtoll completely, since it didn't actually do
9321           anything more than what g_ascii_strtoull already does.
9322           check for range errors when deserializing
9323           do a cast for the unsigned cases; but further fixing needs
9324           a decision on what the interpretation of "(int)" and
9325           deserialization should be for values that fall outside the
9326           type's boundaries (ie, refuse, or interpret as casting)
9327
9328 2005-06-23  Wim Taymans  <wim@fluendo.com>
9329
9330         * check/Makefile.am:
9331         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9332         * docs/design/part-live-source.txt:
9333         * docs/design/part-states.txt:
9334         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9335         (gst_basesrc_set_live), (gst_basesrc_is_live),
9336         (gst_basesrc_get_range), (gst_basesrc_activate),
9337         (gst_basesrc_change_state):
9338         * gst/base/gstbasesrc.h:
9339         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9340         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9341         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9342         * gst/gstelement.c: (gst_element_get_state_func),
9343         (gst_element_set_state):
9344         * gst/gstelement.h:
9345         * gst/gsttypes.h:
9346         * tools/gst-launch.c: (event_loop), (main):
9347         Added support for live sources and other elements that
9348         cannot do preroll.
9349         Updated design docs, added live-source design doc.
9350         Implemented live source functionality in basesrc
9351         Fix error condition in _bin_get_state()
9352         Implement live source handling in -launch.
9353         Added check for live sources.
9354         Fixed case in GstBin where elements were changed state
9355         multiple times.
9356
9357
9358 2005-06-23  Andy Wingo  <wingo@pobox.com>
9359
9360         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9361         borken refcounting.
9362
9363         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9364         gst_caps_replace takes care of this for us.
9365
9366         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9367         gst_pad_set_caps on the target, not just its setcaps() function.
9368
9369         * tests/network-clock.scm: 
9370         * tests/network-clock-utils.scm: A network clock simulator.
9371         Something of an algorithmic testbed before doing something in C.
9372
9373 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9374
9375         * check/Makefile.am:
9376         * check/gst/capslist.h:
9377           copy over from 0.8, and add two with bitmasks specified with
9378           (int) 0xFF...
9379         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9380           add test to parse everything from capslist.h
9381         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9382         (main):
9383           add test for structure deserialization
9384         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9385           add tests for deserialization of strings to int types
9386         * gst/gststructure.c: (gst_structure_nth_field_name):
9387         * gst/gststructure.h:
9388           add a way to get the name of a field referenced by index
9389         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9390           instead of checking if the resulting long long lies between
9391           min and max, we check if the long long would fit into
9392           a number of bytes for the final type.
9393           This fixes cases where a string represents 2^32 - 1, which
9394           when cast to int would be the (valid) -1, but is bigger than
9395           G_MAXINT
9396
9397 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9398
9399         * gst/parse/grammar.y:
9400           add a log line for type deserialization
9401
9402 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9403
9404         * check/gst/gstvalue.c: (START_TEST):
9405         * gst/gstvalue.c: (gst_value_deserialize):
9406           return long long, not int, so gint64 deserialization actually
9407           works.  Is there any flag that makes the compiler check this ?
9408           Fixes #308559
9409
9410 2005-06-22  Wim Taymans  <wim@fluendo.com>
9411
9412         * gst/gstbuffer.h:
9413         Added convenience macros for setting buffers in GValue.
9414
9415 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9416
9417         * check/gst/.cvsignore:
9418         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9419           add a test deserializing int64, and comment part out because
9420           it fails, yay !
9421
9422 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9423
9424         * check/Makefile.am:
9425         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9426         * testsuite/Makefile.am:
9427         * testsuite/caps/Makefile.am:
9428         * testsuite/caps/value_serialize.c:
9429         * testsuite/test_gst_init.c:
9430           move a value_serialize test over
9431
9432 2005-06-20  Wim Taymans  <wim@fluendo.com>
9433
9434         * gst/gstpad.c:
9435         Small doc updates.
9436         
9437         * gst/gstvalue.c: (gst_value_compare_buffer),
9438         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9439         (gst_value_compare_flags), (gst_value_serialize_flags),
9440         (gst_value_deserialize_flags), (_gst_value_initialize):
9441         Fix serialisation of buffers, they are not boxed types anymore
9442
9443 2005-06-20  Wim Taymans  <wim@fluendo.com>
9444
9445         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9446         Testcase to show error in buffer-on-caps serialisation.
9447
9448 2005-06-20  Andy Wingo  <wingo@pobox.com>
9449
9450         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9451         will be adding to later.
9452
9453         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9454         if its socks fill with rocks.
9455         (gst_system_clock_obtain): Set the name on object construction.
9456         Avoid double-checked locking.
9457
9458 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
9459
9460         * gst/gsturi.c: (gst_element_make_from_uri):
9461           Fix potential endless loop.
9462
9463 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9464
9465         * check/Makefile.am:
9466           add gsttag
9467         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9468         (main):
9469           move over from testsuite dir and clean up
9470         * configure.ac:
9471         * gst/gsttag.c:
9472         * testsuite/Makefile.am:
9473         * testsuite/tags/.cvsignore:
9474         * testsuite/tags/Makefile.am:
9475         * testsuite/tags/merge.c:
9476           remove testsuite/tags
9477
9478 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9479
9480         * docs/gst/gstreamer-sections.txt:
9481         * docs/gst/tmpl/gstenumtypes.sgml:
9482         * win32/gstenumtypes.c:
9483           clean up documentation build a little
9484
9485 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9486
9487         * check/gstcheck.h:
9488           add macros for checking refcounts on objects and caps
9489         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9490           add some more unit tests
9491         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9492         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9493           fix leaked refcounts (I hope :)) so unittest works
9494         * gst/gstpad.h:
9495           whitespace removal
9496
9497 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9498
9499         * configure.ac: back to HEAD
9500
9501 === release 0.9.1 ===
9502
9503 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9504
9505         * NEWS:
9506         * RELEASE:
9507           updated
9508
9509 2005-06-17  Andy Wingo  <wingo@pobox.com>
9510
9511         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9512         assert; it's always possible that the pad gets deactivated in
9513         between the checks in gstpad.c and the implementation. Rely on
9514         finish_preroll() to return a FLUSHING or similar instead of on the
9515         assert.
9516         
9517         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9518         clock and post an EOS message if we come out of finish_preroll in
9519         the playing state.
9520
9521 2005-06-16  David Schleef  <ds@schleef.org>
9522
9523         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9524         (gst_capsfilter_set_property): Allow NULL as possible value
9525         for filter_caps property, indicating GST_CAPS_ANY.
9526
9527 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9528
9529         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9530           fix debug output
9531         * gst/schedulers/Makefile.am:
9532           use libgst prefix
9533         * gstreamer.spec.in:
9534           fix spec for it
9535
9536 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9537
9538         * gstreamer.spec.in:
9539           clean up
9540
9541 2005-06-08  Andy Wingo  <wingo@pobox.com>
9542
9543         * gst/gstutils.c: RPAD fixes all around.
9544         (gst_element_link_pads): Refcounting fixes.
9545
9546         * tools/gst-inspect.c:
9547         * tools/gst-xmlinspect.c:
9548         * parse/grammar.y:
9549         * gst/base/gsttypefindhelper.c:
9550         * gst/base/gstbasesink.c:
9551         * gst/gstqueue.c: RPAD fixes.
9552
9553         * gst/gstghostpad.h:
9554         * gst/gstghostpad.c: New ghost pad implementation as full proxy
9555         pads. The tricky thing is they provide both source and sink
9556         interfaces, since they proxy the internal pad for the external
9557         pad, and vice versa. Implement with lower-level ProxyPad objects,
9558         with the interior proxy pad as a child of the exterior ghost pad.
9559         Should write a doc on this.
9560         
9561         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9562         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9563         gst_object API.
9564         
9565         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9566         pads are real pads. No ghost pads in this file. Not documenting
9567         the myriad s/RPAD/PAD/ and REALIZE fixes.
9568         (gst_pad_class_init): Add properties for "direction" and
9569         "template". Both are construct-only, so they can't change during
9570         the life of the pad. Fixes properly deriving from GstPad.
9571         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9572         derived objects, just set properties when creating the objects via
9573         g_object_new.
9574         (gst_pad_get_parent): Implement as a function, return NULL if the
9575         parent is not an element.
9576         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9577         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9578         
9579         * gst/gstobject.c (gst_object_class_init): Make name a construct
9580         property. Don't set it in the object init.
9581
9582         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9583         with UNKNOWN direction.
9584         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9585         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9586         (gst_element_remove_pad): Remove ghost-pad special cases.
9587         (gst_element_pads_activate): Remove rpad cruft.
9588
9589         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9590         catch the pad's-parent-not-an-element case.
9591
9592         * gst/gst.h: Include gstghostpad.h.
9593
9594         * gst/gst.c (init_post): No more real, ghost pads.
9595
9596         * gst/Makefile.am: Add gstghostpad.[ch].
9597
9598         * check/Makefile.am:
9599         * check/gst/gstbin.c:
9600         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9601         into a bin creates ghost pads, and that the refcounts are right.
9602         Partly moved from gstbin.c.
9603
9604 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9605
9606         * check/gst-libs/.cvsignore:
9607         * check/gst/.cvsignore:
9608         * check/pipelines/.cvsignore:
9609           ignore more
9610         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9611         (START_TEST), (cleanup_suite), (main):
9612           add some tests related to cleanup after running pipelines
9613
9614 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9615
9616         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9617           add a testsuite for GstBuffer
9618
9619 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9620
9621         * gst/gstminiobject.h:
9622           add defines for accessing the refcount
9623
9624 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
9625
9626         * Makefile.am: added support for html unit test coverage reports
9627
9628 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
9629
9630         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9631           Free existing caps if the capsfilter changes. Add a FIXME about
9632           setting those caps on the pads.
9633
9634         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9635           Before adding a ghost pad to a parent bin, check that there isn't
9636           already one for the element on the bin. Prevents infinite recursion
9637           when using decodebin in parse pipelines. Andy says he'll rewrite the
9638           way this works anyway, so ignore the hack.
9639
9640 2005-06-02  Andy Wingo  <wingo@pobox.com>
9641
9642         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9643         file size, pass it on to the type find helper.
9644
9645         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9646         segment_start and segment_end properly according to the seek
9647         method. Segment_end is still a bit flaky because offset can be
9648         negative for CUR and END cases, but it takes -1 as an "unset"
9649         value.
9650
9651 2005-06-02  Wim Taymans  <wim@fluendo.com>
9652
9653         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9654         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9655         (gst_basesink_activate):
9656         * gst/base/gstbasesink.h:
9657         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9658         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9659         (gst_pad_query), (gst_pad_start_task):
9660         * gst/gstpad.h:
9661         * gst/gstqueue.c: (gst_queue_bufferalloc),
9662         (gst_queue_handle_sink_event), (gst_queue_chain):
9663         Bufferalloc: return GstFlowReturn to more accuratly report
9664         why allocation failed.
9665
9666 2005-06-02  Wim Taymans  <wim@fluendo.com>
9667
9668         * gst/gstpipeline.c: (gst_pipeline_send_event):
9669         Take snapshot of state without blocking.
9670
9671 2005-06-02  Wim Taymans  <wim@fluendo.com>
9672
9673         * docs/design/part-TODO.txt:
9674         * docs/design/part-caps.txt:
9675         * docs/design/part-clocks.txt:
9676         * docs/design/part-negotiation.txt:
9677         * docs/design/part-preroll.txt:
9678         Small doc updates 
9679
9680 2005-05-30  Wim Taymans  <wim@fluendo.com>
9681
9682         * gst/elements/gstidentity.c: (gst_identity_event),
9683         (gst_identity_transform), (gst_identity_get_property):
9684         Protect last_message property as it is accessed from
9685         multiple threads.
9686
9687 2005-05-30  Wim Taymans  <wim@fluendo.com>
9688
9689         * gst/gstelement.c: (gst_element_init),
9690         (gst_element_pads_activate), (gst_element_change_state):
9691         Slicker pad activation code.
9692
9693 2005-05-30  Wim Taymans  <wim@fluendo.com>
9694
9695         * gst/Makefile.am:
9696         * gst/gstelement.h:
9697         * gst/gstelementfactory.h:
9698         * gst/gsttypes.h:
9699         Move elementfactory methods to separate .h file.
9700
9701 2005-05-30  Wim Taymans  <wim@fluendo.com>
9702
9703         * docs/design/part-overview.txt:
9704         * gst/gstsystemclock.h:
9705         Small typo fixes, doc updates.
9706
9707 2005-05-30  Wim Taymans  <wim@fluendo.com>
9708
9709         * gst/gst.c: (gst_init_get_popt_table), (init_post),
9710         (init_popt_callback):
9711         Remove cpu-opt flag.
9712
9713 2005-05-30  Wim Taymans  <wim@fluendo.com>
9714
9715         * gst/gstbuffer.c: (gst_subbuffer_finalize),
9716         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9717         * gst/gstbuffer.h:
9718         Avoid typechecking in places where not needed.
9719         Added accessor for malloc_data.
9720
9721 2005-05-30  Wim Taymans  <wim@fluendo.com>
9722
9723         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9724         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9725         (gst_pad_configure_sink), (gst_pad_configure_src),
9726         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9727         (gst_pad_start_task):
9728         Propagate errors from _set_caps() in configure_src/sink
9729         functions instead of returning TRUE.
9730         FLUSH events can travel up and downstream
9731
9732
9733 2005-05-30  Wim Taymans  <wim@fluendo.com>
9734
9735         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9736         (gst_basesink_activate):
9737         Handle EOS in preroll.
9738
9739 2005-05-30  Wim Taymans  <wim@fluendo.com>
9740
9741         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9742         (gst_queue_loop), (gst_queue_handle_src_event):
9743         Remove old pieces of code
9744         Flushing the queue in an upstream event is a very bad idea.
9745
9746 2005-05-26  Andy Wingo  <wingo@pobox.com>
9747
9748         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9749         gst_value_set_mini_object so as to add a ref on the object (which
9750         will be removed when the value is unset).
9751
9752         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9753         arg type in ::handoff.
9754
9755         * gst/gstelement.c (gst_element_change_state): Also deactivate
9756         pads in READY->NULL, just in case the element didn't make it to
9757         PAUSED. Wingo tested, Wim approved.
9758
9759 2005-05-26  Wim Taymans  <wim@fluendo.com>
9760
9761         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9762         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9763         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9764         A flushing pad cannot be used to alloc_buffer from.
9765
9766 2005-05-26  Wim Taymans  <wim@fluendo.com>
9767
9768         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9769         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9770         (gst_bus_source_dispatch), (gst_bus_source_finalize),
9771         (gst_bus_create_watch), (gst_bus_add_watch_full):
9772         * gst/gstbus.h:
9773         Implement a real GSource and use g_main_context_wakeup() to
9774         signal new messages instead of the socketpair.
9775
9776 2005-05-25  Wim Taymans  <wim@fluendo.com>
9777
9778         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9779         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9780         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9781         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9782         (gst_pad_send_event), (gst_pad_start_task):
9783         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9784         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9785         (gst_queue_sink_activate), (gst_queue_src_activate),
9786         (gst_queue_change_state):
9787         * gst/gstqueue.h:
9788         Fix state changes for non sinks. We now change sinks, then elements
9789         with unconnected srcpads, then the rest.
9790         More efficient queue unlocking in flush and state changes.
9791         Set the pad activate mode even if it does not have an activate
9792         function.
9793
9794 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9795
9796         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9797           Don't go in pull mode for non-seekable sources.
9798         * gst/elements/gsttypefindelement.h:
9799         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9800         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9801         (free_entry), (stop_typefinding),
9802         (gst_type_find_element_handle_event), (find_peek),
9803         (gst_type_find_element_chain), (do_pull_typefind),
9804         (gst_type_find_element_change_state):
9805           Allow typefinding (w/o seeking) in push-mode, simplified version
9806           of what was in 0.8.
9807         * gst/gstutils.c: (gst_buffer_join):
9808         * gst/gstutils.h:
9809           gst_buffer_join() from 0.8.
9810
9811 2005-05-25  Wim Taymans  <wim@fluendo.com>
9812
9813         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9814         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9815         (gst_pad_send_event), (gst_pad_start_task):
9816         Disable attempt at mode switching until it is figured out.
9817
9818 2005-05-25  Wim Taymans  <wim@fluendo.com>
9819
9820         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9821         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9822         (gst_basesink_finish_preroll), (gst_basesink_chain),
9823         (gst_basesink_loop), (gst_basesink_activate),
9824         (gst_basesink_change_state):
9825         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9826         (gst_basesrc_get_range), (gst_basesrc_loop),
9827         (gst_basesrc_activate):
9828         * gst/elements/gsttee.c: (gst_tee_sink_activate):
9829         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9830         (gst_real_pad_init), (gst_real_pad_set_property),
9831         (gst_real_pad_get_property), (gst_pad_set_active),
9832         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9833         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9834         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9835         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9836         (gst_pad_event_default_dispatch), (gst_pad_event_default),
9837         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9838         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9839         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9840         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9841         (gst_pad_stop_task):
9842         * gst/gstpad.h:
9843         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9844         (gst_queue_loop), (gst_queue_src_activate):
9845         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
9846         (gst_task_get_state):
9847         * gst/gsttask.h:
9848         * gst/schedulers/threadscheduler.c:
9849         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
9850         Implement gst_pad_pause/start/stop_task(), take STREAM lock
9851         in task function.
9852         Remove ACTIVE pad flag, use FLUSHING everywhere
9853         Added _pad_chain(), _pad_get_range() to call chain/getrange 
9854         functions.
9855         Add locks around IS_FLUSHING when reading.
9856         Take STREAM lock in chain(), get_range() functions so plugins
9857         don't need to take it anymore.
9858         
9859
9860
9861 2005-05-25  Wim Taymans  <wim@fluendo.com>
9862
9863         * tools/gst-launch.c: (event_loop):
9864         Unref message after using its contents instead of
9865         before.
9866
9867 2005-05-24  Wim Taymans  <wim@fluendo.com>
9868
9869         * docs/design/draft-ghostpads.txt:
9870         * docs/design/draft-push-pull.txt:
9871         * docs/design/draft-query.txt:
9872         * docs/design/part-overview.txt:
9873         Docs updates, added general overview doc.
9874
9875 2005-05-21  David Schleef  <ds@schleef.org>
9876
9877         * docs/gst/tmpl/old/GstBin.sgml:
9878         * docs/gst/tmpl/old/GstBuffer.sgml:
9879         * docs/gst/tmpl/old/GstCaps.sgml:
9880         * docs/gst/tmpl/old/GstClock.sgml:
9881         * docs/gst/tmpl/old/GstCompat.sgml:
9882         * docs/gst/tmpl/old/GstData.sgml:
9883         * docs/gst/tmpl/old/GstElement.sgml:
9884         * docs/gst/tmpl/old/GstEvent.sgml:
9885         * docs/gst/tmpl/old/GstIndex.sgml:
9886         * docs/gst/tmpl/old/GstStructure.sgml:
9887         * docs/gst/tmpl/old/GstTag.sgml:
9888         * docs/gst/tmpl/old/cothreads.sgml:
9889         * docs/gst/tmpl/old/cothreads_compat.sgml:
9890         * docs/gst/tmpl/old/gettext.sgml:
9891         * docs/gst/tmpl/old/gobject2gtk.sgml:
9892         * docs/gst/tmpl/old/grammar.tab.sgml:
9893         * docs/gst/tmpl/old/gst-i18n-app.sgml:
9894         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9895         * docs/gst/tmpl/old/gst_private.sgml:
9896         * docs/gst/tmpl/old/gstaggregator.sgml:
9897         * docs/gst/tmpl/old/gstarch.sgml:
9898         * docs/gst/tmpl/old/gstatomic_impl.sgml:
9899         * docs/gst/tmpl/old/gstbufferstore.sgml:
9900         * docs/gst/tmpl/old/gstdata_private.sgml:
9901         * docs/gst/tmpl/old/gstdisksink.sgml:
9902         * docs/gst/tmpl/old/gstdisksrc.sgml:
9903         * docs/gst/tmpl/old/gstelementfactory.sgml:
9904         * docs/gst/tmpl/old/gstextratypes.sgml:
9905         * docs/gst/tmpl/old/gstfakesink.sgml:
9906         * docs/gst/tmpl/old/gstfakesrc.sgml:
9907         * docs/gst/tmpl/old/gstfdsink.sgml:
9908         * docs/gst/tmpl/old/gstfdsrc.sgml:
9909         * docs/gst/tmpl/old/gstfilesink.sgml:
9910         * docs/gst/tmpl/old/gstfilesrc.sgml:
9911         * docs/gst/tmpl/old/gsthttpsrc.sgml:
9912         * docs/gst/tmpl/old/gstidentity.sgml:
9913         * docs/gst/tmpl/old/gstindexfactory.sgml:
9914         * docs/gst/tmpl/old/gstmarshal.sgml:
9915         * docs/gst/tmpl/old/gstmd5sink.sgml:
9916         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9917         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9918         * docs/gst/tmpl/old/gstpadtemplate.sgml:
9919         * docs/gst/tmpl/old/gstpipefilter.sgml:
9920         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9921         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9922         * docs/gst/tmpl/old/gstshaper.sgml:
9923         * docs/gst/tmpl/old/gstspider.sgml:
9924         * docs/gst/tmpl/old/gstspideridentity.sgml:
9925         * docs/gst/tmpl/old/gststatistics.sgml:
9926         * docs/gst/tmpl/old/gsttee.sgml:
9927         * docs/gst/tmpl/old/gsttimecache.sgml:
9928         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9929         * docs/gst/tmpl/old/gstxmlregistry.sgml:
9930         * docs/gst/tmpl/old/gthread-cothreads.sgml:
9931         * docs/gst/tmpl/old/types.sgml:
9932           I didn't intend to add these or check them in.
9933
9934 2005-05-19  David Schleef  <ds@schleef.org>
9935
9936         * configure.ac: Use -no-common everywhere.  In a sane world, it
9937           would be the default in libtool, because without it, you can't
9938           build DLLs on Windows.
9939         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
9940         * docs/gst/gstreamer-sections.txt:
9941         * docs/gst/tmpl/gstcpu.sgml:
9942         * docs/gst/tmpl/gstdata.sgml:
9943         * docs/gst/tmpl/gstthread.sgml:
9944
9945 2005-05-19  David Schleef  <ds@schleef.org>
9946
9947         * gst/gstminiobject.c: (gst_value_set_mini_object),
9948         (gst_value_take_mini_object), (gst_value_get_mini_object):
9949         * gst/gstminiobject.h: Add GValue set/get functions.
9950
9951 2005-05-19  Wim Taymans  <wim@fluendo.com>
9952
9953         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
9954         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
9955         (gst_subbuffer_init), (gst_buffer_is_span_fast):
9956         * gst/gstbuffer.h:
9957         * gst/gstbus.c: (gst_bus_post):
9958         * gst/gstelement.c: (gst_element_get_random_pad):
9959         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
9960         Make subbufer unref the parent in finalize.
9961         some more debugging info.
9962
9963
9964 2005-05-19  Wim Taymans  <wim@fluendo.com>
9965
9966         * gst/base/gstbasesink.c: (gst_basesink_class_init),
9967         (gst_basesink_init), (gst_basesink_finalize),
9968         (gst_basesink_activate), (gst_basesink_change_state):
9969         Don't free preroll queue too early.
9970
9971 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9972
9973         * gst/Makefile.am:
9974         * gst/ROADMAP:
9975           Hi, I'm outdated. Please shoot me.
9976
9977 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9978
9979         * gst/gstpipeline.c: (gst_pipeline_send_event):
9980           Do not access variables after they have been deleted.
9981
9982 2005-05-19  Wim Taymans  <wim@fluendo.com>
9983
9984         * tools/gst-inspect.c: (print_plugin_features):
9985         A plugin feature does unfortunatly not use the
9986         object name yet...
9987
9988 2005-05-18  Wim Taymans  <wim@fluendo.com>
9989
9990         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
9991         Port _span() functions to new subbuffers.
9992
9993 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9994
9995         * gst/gstbin.c: (gst_bin_add_func):
9996           Fix clock settery in bins when adding kids after the clock has
9997           been selected.
9998
9999 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10000
10001         * gst/elements/gstidentity.c: (gst_identity_class_init):
10002           Workaround until signals support GstMiniObject.
10003
10004 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10005
10006         * gst/gstbuffer.c:
10007         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10008
10009 2005-05-18  Wim Taymans  <wim@fluendo.com>
10010
10011         * gst/base/Makefile.am:
10012         * gst/base/gstadapter.c: (gst_adapter_base_init),
10013         (gst_adapter_class_init), (gst_adapter_init),
10014         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10015         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10016         (gst_adapter_flush), (gst_adapter_available),
10017         (gst_adapter_available_fast):
10018         * gst/base/gstadapter.h:
10019         Ported and added adapter to the base classes.
10020
10021 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10022
10023         * gst/gst.c:
10024         * gst/gstmessage.c:
10025           Make sure the class is reffed/unreffed once before threads can be
10026           used.  Fixes #304551.
10027
10028 2005-05-17  Wim Taymans  <wim@fluendo.com>
10029
10030         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10031         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10032         * gst/gstminiobject.c: (gst_mini_object_get_type),
10033         (gst_mini_object_free):
10034         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10035         (gst_pad_push), (gst_pad_push_event):
10036         * gst/gstqueue.c: (gst_queue_change_state):
10037         Don't queue buffers in basesink when we are flushing.
10038         Unref buffer when flushing in basesink.
10039         Flush queue when going to READY
10040         Unref buffer when _push() returns an error.
10041         Don't free MiniObject instance when refcount is incremented
10042         in _finalize() so that we can recover objects.
10043
10044 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10045
10046         * docs/manual/advanced-schedulers.xml:
10047         * docs/manual/appendix-checklist.xml:
10048         * docs/pwg/advanced-clock.xml:
10049         * docs/pwg/advanced-interfaces.xml:
10050         * docs/pwg/advanced-request.xml:
10051         * docs/pwg/advanced-types.xml:
10052         * docs/pwg/intro-preface.xml:
10053         * examples/plugins/example.c: (gst_example_get_type),
10054         (gst_example_class_init), (gst_example_chain),
10055         (gst_example_set_property), (gst_example_get_property),
10056         (gst_example_change_state), (plugin_init):
10057         * examples/plugins/example.h:
10058           small doc fixes
10059
10060 2005-05-17  Wim Taymans  <wim@fluendo.com>
10061
10062         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10063         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10064         * gst/gstqueue.c: (gst_queue_change_state):
10065         Clear queue when going to READY.
10066         Remove IN_SETCAPS flag too.
10067
10068 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10069
10070         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10071           Remove implicit cast from gboolean to GstElementStateReturn;
10072           make sure we still return failure in paused => ready case if
10073           the parent class fails to change state and our own stop 
10074           vfunc succeeds.
10075
10076 2005-05-17  Wim Taymans  <wim@fluendo.com>
10077
10078         * tools/gst-launch.c: (event_loop):
10079         Message was unreffed too soon.
10080
10081 2005-05-16  Andy Wingo  <wingo@pobox.com>
10082
10083         * gst/gstbin.c (sink_iterator_filter): Err... um...
10084
10085         * check/gst/gstbin.c (test_ghost_pads): New test for the
10086         ghosting-if-elements-not-in-same-bin behavior.
10087
10088 2005-05-16  David Schleef  <ds@schleef.org>
10089
10090         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10091         accessing refcount directly.
10092
10093 2005-05-15  David Schleef  <ds@schleef.org>
10094
10095         * check/Makefile.am: remove GstData checks
10096         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10097         * gst/Makefile.am: add miniobject, remove data
10098         * gst/gst.h: add miniobject, remove data
10099         * gst/gstdata.c: remove
10100         * gst/gstdata.h: remove
10101         * gst/gstdata_private.h: remove
10102         * gst/gsttypes.h: remove GstEvent and GstMessage
10103         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10104         * gst/gstmarshal.list: change BOXED -> OBJECT
10105
10106         Implement GstMiniObject.
10107         * gst/gstminiobject.c:
10108         * gst/gstminiobject.h:
10109
10110         Modify to be subclasses of GstMiniObject.
10111         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10112         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10113         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10114         (gst_subbuffer_get_type), (gst_subbuffer_init),
10115         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10116         (gst_buffer_span):
10117         * gst/gstbuffer.h:
10118         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10119         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10120         (_gst_event_copy), (gst_event_new):
10121         * gst/gstevent.h:
10122         * gst/gstmessage.c: (_gst_message_initialize),
10123         (gst_message_get_type), (gst_message_class_init),
10124         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10125         (gst_message_new), (gst_message_new_error),
10126         (gst_message_new_warning), (gst_message_new_tag),
10127         (gst_message_new_state_changed), (gst_message_new_application):
10128         * gst/gstmessage.h:
10129         * gst/gstprobe.c: (gst_probe_perform),
10130         (gst_probe_dispatcher_dispatch):
10131         * gst/gstprobe.h:
10132         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10133         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10134         (_gst_query_copy), (gst_query_new):
10135
10136         Update elements for GstData -> GstMiniObject changes
10137         * gst/gstquery.h:
10138         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10139         (gst_queue_chain), (gst_queue_loop):
10140         * gst/elements/gstbufferstore.c:
10141         (gst_buffer_store_add_buffer_func),
10142         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10143         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10144         (gst_fakesink_render):
10145         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10146         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10147         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10148         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10149         (gst_filesrc_create_read):
10150         * gst/elements/gstidentity.c: (gst_identity_class_init):
10151         * gst/elements/gsttypefindelement.c:
10152         (gst_type_find_element_src_event), (free_entry_buffers),
10153         (gst_type_find_element_handle_event):
10154         * libs/gst/dataprotocol/dataprotocol.c:
10155         (gst_dp_header_from_buffer):
10156         * libs/gst/dataprotocol/dataprotocol.h:
10157         * libs/gst/dataprotocol/dp-private.h:
10158
10159 2005-05-15  David Schleef  <ds@schleef.org>
10160
10161         * gst/elements/gstelements.c: Don't include headers that were
10162         just removed.
10163
10164 2005-05-15  David Schleef  <ds@schleef.org>
10165
10166         * gst/elements/Makefile.am: Remove some elements that don't
10167         need to be in the core (or even exist at all).
10168         * gst/elements/gstaggregator.c:
10169         * gst/elements/gstaggregator.h:
10170         * gst/elements/gstmd5sink.c:
10171         * gst/elements/gstmd5sink.h:
10172         * gst/elements/gstmultifilesrc.c:
10173         * gst/elements/gstmultifilesrc.h:
10174         * gst/elements/gstpipefilter.c:
10175         * gst/elements/gstpipefilter.h:
10176         * gst/elements/gstshaper.c:
10177         * gst/elements/gstshaper.h:
10178         * gst/elements/gststatistics.c:
10179         * gst/elements/gststatistics.h:
10180         * po/POTFILES.in: Remove above files.
10181
10182 2005-05-14  Andy Wingo  <wingo@pobox.com>
10183
10184         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10185         so as to get the refs right.
10186         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10187         unreffing objects that don't pass the filter.
10188
10189         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10190         gst_element_set_bus.
10191         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10192         normal cases, this will destroy the bus.
10193
10194         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10195         object.
10196
10197         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10198         has no sinks.
10199
10200 2005-05-13  Andy Wingo  <wingo@pobox.com>
10201
10202         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10203         gst_pad_link, call pad_link_maybe_ghosting,
10204         (pad_link_maybe_ghosting): Links pads, making sure that the
10205         elements being linked are in the same bin.
10206         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10207         Helpers for pad_link_maybe_ghosting.
10208
10209 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10210
10211         * configure.ac:
10212           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10213
10214 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10215
10216         * docs/design/part-element-source.txt:
10217           Mention GstPushSrc
10218
10219 2005-05-12  Wim Taymans  <wim@fluendo.com>
10220
10221         * gst/base/gstbasesink.c: (gst_basesink_init),
10222         (gst_basesink_activate):
10223         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10224         (gst_basesrc_is_seekable):
10225         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10226         (bin_element_is_sink), (gst_bin_change_state):
10227         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10228         * gst/gstelement.h:
10229         Identify sinks by their flag to avoid overly complicated
10230         checks (fow now).
10231         Do state changes even for elements not reachable from the
10232         sinks.
10233         BaseSink is a sink now :)
10234         Some more debugging info in the basesrc.
10235
10236
10237 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10238
10239         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10240           Implement _query on a bin, similar to _send_event.
10241
10242 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10243
10244         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10245           Discont event offset format should be GST_FORMAT_BYTES,
10246           not GST_FORMAT_TIME.
10247
10248 2005-05-12  Wim Taymans  <wim@fluendo.com>
10249
10250         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10251         Same fix as Ronald's but without the signal. 
10252
10253 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10254
10255         * gst/gstutils.c: (gst_element_query_position):
10256           No, an element is not a pad.
10257
10258 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10259
10260         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10261         (gst_bin_get_state):
10262           If a child is removed from a bin while we remove the child from
10263           the bin and while we're retrieving its state, signal this to the
10264           get_state function so we abort the wait (instead of waiting for
10265           a timeout) and can immediately re-iterate over all other elements.
10266
10267 2005-05-12  Wim Taymans  <wim@fluendo.com>
10268
10269         * gst/base/Makefile.am:
10270         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10271         (gst_basesrc_start):
10272         * gst/base/gstbasesrc.h:
10273         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10274         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10275         (gst_pushsrc_init), (gst_pushsrc_create):
10276         * gst/base/gstpushsrc.h:
10277         Added is_seekable to BaseSrc
10278         Added simple PushSrc.
10279
10280 2005-05-11  Wim Taymans  <wim@fluendo.com>
10281
10282         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10283         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10284         (gst_element_link_pads), (gst_element_query_position),
10285         (gst_element_query_convert), (intersect_caps_func),
10286         (gst_pad_query_position), (gst_pad_query_convert):
10287         Fix refcounting in utils function.
10288         No point in trying to activate a pad when it's added, it could
10289         be added from the state change function and then we deadlock, the
10290         element has to decide what to do.
10291
10292 2005-05-10  Andy Wingo  <wingo@pobox.com>
10293
10294         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10295         *all* the arguments.
10296
10297         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10298         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10299         lock (according to the docs -- if this is wrong change the docs).
10300
10301         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10302         flush messages in the NULL state.
10303
10304         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10305         message immediately and return.
10306         (gst_bus_set_flushing): New function. If a bus is flushing, it
10307         flushes out any queued messages and immediately unrefs new
10308         messages. This is so when an element goes to NULL, all of the
10309         unhandled messages coming from it can be freed, and their
10310         references to the element dropped. In other words: message source
10311         ref considered harmful :P
10312
10313         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10314         we're finished with it.
10315
10316         * gst/gstmessage.c (gst_message_new_state_changed): 
10317
10318 2005-05-10  Wim Taymans  <wim@fluendo.com>
10319
10320         * gst/gstvalue.c: (gst_value_compare_flags),
10321         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10322         (_gst_value_initialize):
10323         Added flags serialize/deserialize/compare code.
10324
10325 2005-05-09  Andy Wingo  <wingo@pobox.com>
10326
10327         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10328         Intersect the peer's caps with our caps.
10329
10330 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10331
10332         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10333         * gst/elements/gsttypefindelement.c: (find_peek):
10334           Handle negative offsets better. Fixes decodebin.
10335
10336 2005-05-09  Wim Taymans  <wim@fluendo.com>
10337
10338         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10339         (gst_base_transform_event):
10340         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10341         Implement accept_caps.
10342         Fix silly lock/unlock mismatch in base class.
10343
10344 2005-05-09  Wim Taymans  <wim@fluendo.com>
10345
10346         * docs/design/draft-push-pull.txt:
10347         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10348         * gst/elements/gstfilesink.c: (gst_filesink_init),
10349         (gst_filesink_query):
10350         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10351         (gst_type_find_handle_src_query), (find_element_get_length):
10352         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10353         * gst/gstelement.h:
10354         * gst/gstmessage.c:
10355         * gst/gstmessage.h:
10356         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10357         (gst_real_pad_get_caps_unlocked),
10358         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10359         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10360         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10361         (gst_real_pad_dispose), (gst_real_pad_finalize),
10362         (gst_pad_load_and_link), (gst_pad_save_thyself),
10363         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10364         (gst_pad_check_pull_range), (gst_pad_pull_range),
10365         (gst_pad_template_get_type), (gst_pad_template_class_init),
10366         (gst_pad_template_init), (gst_pad_template_dispose),
10367         (name_is_valid), (gst_static_pad_template_get),
10368         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10369         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10370         (gst_pad_get_element_private), (gst_pad_start_task),
10371         (gst_pad_pause_task), (gst_pad_stop_task),
10372         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10373         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10374         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10375         (gst_ghost_pad_new):
10376         * gst/gstpad.h:
10377         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10378         (gst_query_new_position), (gst_query_set_position),
10379         (gst_query_parse_position), (gst_query_new_convert),
10380         (gst_query_set_convert), (gst_query_parse_convert):
10381         * gst/gstquery.h:
10382         * gst/gstqueryutils.c:
10383         * gst/gstqueryutils.h:
10384         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10385         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10386         (gst_queue_handle_src_query):
10387         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10388         (gst_element_query_position), (gst_element_query_convert),
10389         (intersect_caps_func), (gst_pad_query_position),
10390         (gst_pad_query_convert):
10391         * gst/gstutils.h:
10392         * tools/gst-inspect.c: (print_pad_info):
10393         * tools/gst-xmlinspect.c: (print_element_info):
10394         Remove old query functions. Ported old code.
10395         Added position/convert helper functions to gstutils.
10396         Reordered gstpad.c code, grouping relevant things.
10397         Remove gst_message_new(), always need to speficy a specific
10398         message.
10399
10400
10401 2005-05-09  Andy Wingo  <wingo@pobox.com>
10402
10403         * gst/gstiterator.h: Add some includes.
10404
10405         * gst/gstqueryutils.h: Include more headers.
10406
10407         * gst/gstpad.h:
10408         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10409         some uses of gst_pad_query.
10410
10411         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10412         NULL out parameters.
10413         (gst_query_new_position): New proc, allocates a new position
10414         query.
10415
10416         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10417         gstqueryutils.c to the build.
10418
10419         * gst/gststructure.c (gst_structure_set_valist): Implement with
10420         the generic G_VALUE_COLLECT.
10421         
10422 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10423
10424         * gst/Makefile.am: (gst_headers):
10425         Added gstqueryutils.h to the list of headers to install, that was
10426         a 'nachty' move wingo :)
10427
10428 2005-05-06  Andy Wingo  <wingo@pobox.com>
10429
10430         * gst/gstquery.h
10431         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10432         GstData, init a memchunk.
10433         (standard_definitions): Add a few query types, deprecate a few.
10434         (gst_query_get_type): New proc.
10435         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10436         implementation.
10437         (gst_query_new_application, gst_query_get_structure): New public
10438         procs.
10439
10440         * docs/design/draft-query.txt: Removed LINKS from the query types,
10441         because all the rest can be dispatched to other pads -- seemed
10442         ugly to have a query that couldn't be dispatched. internal_links
10443         is fine as a pad method.
10444
10445         * gst/gstpad.h: Add query2 as a pad method, add the new functions
10446         in gstpad.c, but maintain binary compatibility for the moment.
10447         Will fix before 0.9 is out.
10448
10449         * gst/gstqueryutils.c: 
10450         * gst/gstqueryutils.h: New files, implement 3 methods for each
10451         query type: parse_query, parse_response, and set. Probably need an
10452         allocator as well.
10453
10454         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10455
10456         * gst/elements/gstfilesink.c (gst_filesink_query2):
10457         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10458         query_types, and formats methods.
10459
10460         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10461         (gst_pad_set_query2_function): New functions.
10462         (gst_real_pad_init): Set query2_default as the default query2
10463         function. Basically just dispatches to internally linked pads.
10464
10465         Needs review!
10466         
10467         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10468         without using the atomic operations. Only one thread can possibly
10469         be accessing the data at this point. Changed so as to avoid
10470         gst_atomic operations.
10471
10472 2005-05-06  Wim Taymans  <wim@fluendo.com>
10473
10474         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10475         Also set caps if we use the fallback buffer alloc.
10476
10477 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
10478
10479         * docs/gst/Makefile.am:
10480         * docs/gst/gstreamer-docs.sgml:
10481         * docs/gst/gstreamer-sections.txt:
10482         * docs/gst/tmpl/gstatomic.sgml:
10483         * docs/gst/tmpl/gstmemchunk.sgml:
10484         * testsuite/elements/struct_i386.h:
10485         * win32/GStreamer.vcproj:
10486         * win32/Makefile:
10487           Purge GstAtomic stuff from docs and win32 makefiles as well
10488
10489 2005-05-06  Wim Taymans  <wim@fluendo.com>
10490
10491         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10492         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10493         * gst/gstpad.c: (gst_pad_peer_get_caps):
10494         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10495         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10496         (gst_queue_src_activate), (gst_queue_change_state):
10497         * gst/gstqueue.h:
10498         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10499         (intersect_caps_func):
10500         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10501         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10502         Some fixes for the peer_get_caps() change.
10503
10504 2005-05-06  Wim Taymans  <wim@fluendo.com>
10505
10506         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10507         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10508         (gst_basesink_activate):
10509         Actually do something with error codes returned from the push
10510         functions.
10511
10512 2005-05-06  Wim Taymans  <wim@fluendo.com>
10513
10514         * docs/design/part-element-sink.txt:
10515         * docs/design/part-element-source.txt:
10516         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10517         (gst_basesink_event), (gst_basesink_activate):
10518         * gst/base/gstbasesink.h:
10519         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10520         (gst_basesrc_activate):
10521         * gst/base/gstbasesrc.h:
10522         * gst/gstelement.c: (gst_element_pads_activate):
10523         Some more documentation.
10524         Fixed scheduling decision in _pads_activate().
10525
10526 2005-05-05  Andy Wingo  <wingo@pobox.com>
10527
10528         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10529         the test suite.
10530
10531 2005-05-05  Wim Taymans  <wim@fluendo.com>
10532
10533         * gst/base/Makefile.am:
10534         * gst/base/gstbasesink.h:
10535         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10536         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10537         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10538         (gst_collectpads_class_init), (gst_collectpads_init),
10539         (gst_collectpads_finalize), (gst_collectpads_new),
10540         (gst_collectpads_set_function), (gst_collectpads_add_pad),
10541         (find_pad), (gst_collectpads_remove_pad),
10542         (gst_collectpads_is_active), (gst_collectpads_collect),
10543         (gst_collectpads_collect_range), (gst_collectpads_start),
10544         (gst_collectpads_stop), (gst_collectpads_peek),
10545         (gst_collectpads_pop), (gst_collectpads_available),
10546         (gst_collectpads_read), (gst_collectpads_flush),
10547         (gst_collectpads_chain):
10548         * gst/base/gstcollectpads.h:
10549         * gst/elements/Makefile.am:
10550         * gst/elements/gstelements.c:
10551         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10552         (gst_fakesink_get_times), (gst_fakesink_event),
10553         (gst_fakesink_preroll), (gst_fakesink_render):
10554         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10555         (gst_filesink_init), (gst_filesink_set_location),
10556         (gst_filesink_open_file), (gst_filesink_close_file),
10557         (gst_filesink_pad_query), (gst_filesink_event),
10558         (gst_filesink_render), (gst_filesink_change_state):
10559         * gst/elements/gstfilesink.h:
10560         Added object to help in making collect pad based elements.
10561         Ported filesink.
10562         Make event function in sink baseclass return gboolean.
10563
10564 2005-05-05  Wim Taymans  <wim@fluendo.com>
10565
10566         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10567         (gst_bin_get_by_name):
10568         * gst/gstbuffer.h:
10569         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10570         (gst_clock_finalize):
10571         * gst/gstdata.c: (gst_data_replace):
10572         * gst/gstdata.h:
10573         * gst/gstelement.c: (gst_element_request_pad),
10574         (gst_element_pads_activate):
10575         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10576         (gst_object_unref):
10577         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10578         (gst_pad_set_checkgetrange_function),
10579         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10580         (gst_pad_check_pull_range), (gst_pad_pull_range),
10581         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10582         (gst_pad_pause_task), (gst_pad_stop_task):
10583         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10584         (gst_element_request_pad), (gst_pad_proxy_getcaps):
10585         Fix name lookup in GstBin.
10586         Added _data_replace() function and _buffer_replace()
10587         Use finalize method to clean up clock.
10588         Fix refcounting on request pads.
10589         Fix pad schedule mode error.
10590         Some more object refcounting debug info,
10591
10592
10593 2005-05-04  Andy Wingo <wingo@pobox.com>
10594
10595         * check/Makefile.am:
10596         * docs/gst/tmpl/gstatomic.sgml:
10597         * docs/gst/tmpl/gstplugin.sgml:
10598         * gst/base/gstbasesink.c: (gst_basesink_activate):
10599         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10600         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10601         (gst_basesrc_query), (gst_basesrc_set_property),
10602         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10603         (gst_basesrc_activate):
10604         * gst/base/gstbasesrc.h:
10605         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10606         (gst_base_transform_src_activate):
10607         * gst/elements/gstelements.c:
10608         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10609         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10610         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10611         * gst/elements/gsttypefindelement.c: (find_element_get_length),
10612         (gst_type_find_element_checkgetrange),
10613         (gst_type_find_element_activate):
10614         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10615         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10616         (gst_caps_load_thyself):
10617         * gst/gstelement.c: (gst_element_pads_activate),
10618         (gst_element_save_thyself), (gst_element_restore_thyself):
10619         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10620         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10621         * gst/gstpad.h:
10622         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10623         (gst_xml_parse_file), (gst_xml_parse_memory),
10624         (gst_xml_get_element), (gst_xml_make_element):
10625         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10626         (_file_index_id_save_xml), (gst_file_index_commit):
10627         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10628         (read_enum), (load_pad_template), (load_feature), (load_plugin),
10629         (load_paths):
10630         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10631         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10632         * tools/gst-complete.c: (main):
10633         * tools/gst-compprep.c: (main):
10634         * tools/gst-inspect.c: (print_element_properties_info):
10635         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10636         * tools/gst-xmlinspect.c: (print_element_properties):
10637         GCC 4 fixen.
10638         
10639 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10640
10641         * gst/gstplugin.c: (gst_plugin_check_module),
10642         (gst_plugin_check_file), (gst_plugin_load_file):
10643             apply patch from #172526 to make register work on MacOSX
10644
10645 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10646
10647         * docs/gst/tmpl/gstconfig.sgml:
10648         * gst/gstconfig.h.in:
10649           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
10650         * testsuite/debug/printf_extension.c: (main):
10651           Do not use GST_PTR_FORMAT on pointers to types with
10652           sizeof < sizeof(gpointer).  Fixes test on 64-bit
10653         * testsuite/elements/property.h:
10654           use correct printf format
10655
10656 2005-05-02  Wim Taymans  <wim@fluendo.com>
10657
10658         * docs/design/draft-push-pull.txt:
10659         * docs/design/draft-query.txt:
10660         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10661         (gst_basesrc_start):
10662         Added draft for new query API.
10663         Added draft for better selecting scheduling methods.
10664         Make basesrc ignore length if the subclass does not support
10665         it.
10666
10667 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10668
10669         * gst/Makefile.am:
10670           possible fixes for automake-1.5 - _LIBADD is reserved
10671
10672 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10673
10674         * docs/faq/Makefile.am:
10675         * docs/manual/Makefile.am:
10676         * docs/manuals.mak:
10677         * docs/pwg/Makefile.am:
10678         * gst/Makefile.am:
10679           possible fixes for automake-1.5
10680
10681 2005-04-28  Wim Taymans  <wim@fluendo.com>
10682
10683         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10684         (gst_basesink_pad_getcaps), (gst_basesink_init),
10685         (gst_basesink_do_sync):
10686         * gst/gstclock.c: (gst_clock_entry_new):
10687         * gst/gstevent.c: (gst_event_discont_get_value):
10688         * gst/gstpipeline.c: (pipeline_bus_handler),
10689         (gst_pipeline_change_state):
10690         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10691         Better debugging of clocking info.
10692         Allow NULL values when getting discont values.
10693
10694 2005-04-27  Wim Taymans  <wim@fluendo.com>
10695
10696         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10697         * check/gst/gstpad.c: (gst_pad_suite):
10698         Increase timeout for checks.
10699
10700 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10701
10702         * check/Makefile.am:
10703           fix the broken rule for cleanup.  Apparently this rule is
10704           only needed on FC2, so maybe this warrants further autotool
10705           inspection.
10706
10707 2005-04-26  Wim Taymans  <wim@fluendo.com>
10708
10709         * gst/gsttrashstack.h:
10710         Ooohh. a nasty one! After having a failed pop() from the stack,
10711         it's possible that the stack is empty. In that case, don't
10712         follow the NULL pointer.
10713
10714 2005-04-25  Wim Taymans  <wim@fluendo.com>
10715
10716         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10717         (gst_pad_set_checkgetrange_function),
10718         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10719         (gst_pad_check_pull_range), (gst_pad_pull_range),
10720         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10721         (gst_pad_pause_task), (gst_pad_stop_task):
10722         * gst/gstplugin.c: (gst_plugin_load):
10723         * gst/gstplugin.h:
10724         Remove gst_library_load as it does more harm than good with
10725         the new g_module flags.
10726         Revert bogus caps template check in pad linking, pad caps
10727         are important when linking not the template, which is more
10728         general than the current caps.
10729
10730 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10731
10732         * gst/autoplug/.cvsignore:
10733         * gst/autoplug/Makefile.am:
10734         * gst/autoplug/gstsearchfuncs.c:
10735         * gst/autoplug/gstsearchfuncs.h:
10736         * gst/autoplug/gstspider.c:
10737         * gst/autoplug/gstspider.h:
10738         * gst/autoplug/gstspideridentity.c:
10739         * gst/autoplug/gstspideridentity.h:
10740         * gst/autoplug/spidertest.c:
10741           Die, spider, die.
10742
10743 2005-04-25  Wim Taymans  <wim@fluendo.com>
10744
10745         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10746         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10747         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10748         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10749         * gst/gstpad.h:
10750         Added stubs for unimplemented functions. 
10751
10752 2005-04-24  David Schleef  <ds@schleef.org>
10753
10754         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
10755         please fix.
10756
10757 2005-04-24  David Schleef  <ds@schleef.org>
10758
10759         Convert everything from GstAtomicInt to g_atomic_int_*, and
10760         remove gstatomic.
10761         * gst/Makefile.am:
10762         * gst/gstatomic.c:
10763         * gst/gstatomic.h:
10764         * gst/gstatomic_impl.h:
10765         * gst/gstbuffer.c:
10766         * gst/gstcaps.c:
10767         * gst/gstcaps.h:
10768         * gst/gstclock.c:
10769         * gst/gstclock.h:
10770         * gst/gstdata.c:
10771         * gst/gstdata.h:
10772         * gst/gstdata_private.h:
10773         * gst/gstevent.c:
10774         * gst/gstinfo.c:
10775         * gst/gstinfo.h:
10776         * gst/gstmessage.c:
10777         * gst/gstobject.c:
10778         * gst/gstobject.h:
10779         * gst/gststructure.c:
10780         * gst/gststructure.h:
10781         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10782         * gst/gstutils.h:
10783
10784 2005-04-24  David Schleef  <ds@schleef.org>
10785
10786         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10787         make the regressions tests work.  Remove some code that is no
10788         longer true.
10789         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10790         Disable warning for pads without templates.
10791
10792 2005-04-24  David Schleef  <ds@schleef.org>
10793
10794         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
10795         functions that handle filtered links.
10796         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10797         removed functions.
10798         * gst/gstutils.c: Fix/remove utility functions that handle
10799         filtered caps.
10800         * gst/gstutils.h:
10801         * gst/gstvalue.c: Add serialization/deserialization of caps
10802         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
10803         requires fixing so that the filter caps notation creates
10804         a capsfilter element and sets the filter_caps property.  I
10805         think everyone probably wants to keep the shorthand notation.
10806         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10807         * docs/gst/tmpl/gstpad.sgml:
10808
10809         * gst/elements/gstelements.c: Register capsfilter element.
10810         * gst/Makefile.am: fix spacing
10811         * docs/random/ds/0.9-suggested-changes: random
10812
10813 2005-04-23  David Schleef  <ds@schleef.org>
10814
10815         * gst/elements/Makefile.am:
10816         * gst/elements/gstcapsfilter.c: New element that acts like an
10817         identity, but filters caps.  Will eventually replace filtered
10818         caps in pad linking.
10819         * gst/gstutils.c: (gst_element_create_all_pads): New function
10820         to create all the ALWAYS pads that are registered with an
10821         element class.  This functionality should eventually be
10822         merged in with GstElement initialization.
10823         * gst/gstutils.h:
10824         * testsuite/trigger/README: part of trigger test code that should
10825         have been checked in a long time ago.
10826
10827 2005-04-23  David Schleef  <ds@schleef.org>
10828
10829         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
10830         needed with new versions of libtool (nobody will confirm this),
10831         and hard to carry around.
10832         * gst/autoplug/Makefile.am:
10833         * gst/base/Makefile.am:
10834         * gst/elements/Makefile.am:
10835         * gst/indexers/Makefile.am:
10836         * gst/schedulers/Makefile.am:
10837         * libs/gst/bytestream/Makefile.am:
10838         * libs/gst/control/Makefile.am:
10839         * libs/gst/dataprotocol/Makefile.am:
10840         * libs/gst/getbits/Makefile.am:
10841
10842 2005-04-21  Wim Taymans  <wim@fluendo.com>
10843
10844         * docs/design/draft-push-pull.txt:
10845         * docs/design/part-MT-refcounting.txt:
10846         * docs/design/part-TODO.txt:
10847         * docs/design/part-caps.txt:
10848         * docs/design/part-events.txt:
10849         * docs/design/part-gstbus.txt:
10850         * docs/design/part-gstpipeline.txt:
10851         * docs/design/part-messages.txt:
10852         * docs/design/part-push-pull.txt:
10853         * docs/design/part-query.txt:
10854         Some more docs.
10855
10856 2005-04-21  Wim Taymans  <wim@fluendo.com>
10857
10858         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
10859         (gst_message_new), (gst_message_new_error),
10860         (gst_message_new_warning), (gst_message_new_tag),
10861         (gst_message_new_state_changed), (gst_message_new_application),
10862         (gst_message_get_structure):
10863         * gst/gstmessage.h:
10864         * gst/gststructure.c: (gst_structure_set_parent_refcount),
10865         (gst_structure_copy_conditional):
10866         Use parent refcount in GstMessage to ensure GstStructure
10867         consistency.
10868         Cleaned up headers a bit.
10869         
10870
10871 2005-04-20  Wim Taymans  <wim@fluendo.com>
10872
10873         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10874         (gst_basesink_pad_getcaps), (gst_basesink_init),
10875         (gst_basesink_chain_unlocked):
10876         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
10877         (gst_type_find_helper):
10878         * gst/elements/gsttypefindelement.c:
10879         (gst_type_find_element_have_type), (gst_type_find_element_init),
10880         (stop_typefinding), (gst_type_find_element_handle_event),
10881         (find_suggest), (gst_type_find_element_chain),
10882         (gst_type_find_element_checkgetrange),
10883         (gst_type_find_element_getrange), (do_typefind),
10884         (gst_type_find_element_activate):
10885         * gst/gstbuffer.c: (_gst_buffer_sub_free),
10886         (gst_buffer_default_free), (gst_buffer_default_copy),
10887         (gst_buffer_set_caps):
10888         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
10889         (gst_caps_replace):
10890         * gst/gstmessage.c: (gst_message_new),
10891         (gst_message_new_state_changed):
10892         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10893         (gst_pad_set_checkgetrange_function),
10894         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
10895         (gst_pad_set_caps), (gst_pad_check_pull_range),
10896         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
10897         * gst/gstpad.h:
10898         * gst/gsttypefind.c: (gst_type_find_register):
10899         Make gst_caps_replace() work like other _replace() functions.
10900         Use _caps_replace() where possible.
10901         Make sure _message_new() initialises its field.
10902         Add gst_static_pad_template_get_caps()
10903
10904
10905 2005-04-18  Andy Wingo  <wingo@pobox.com>
10906
10907         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
10908         on the peer, not the pad. I think that was a typo. Pass an extra
10909         arg to see if random access is possible. Activate the pads as
10910         PULL_RANGE if possible.
10911
10912         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
10913
10914         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
10915         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
10916         to PROP_....
10917
10918 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10919
10920         * docs/faq/using.xml:
10921           Add note on gstreamer-properties (#154996).
10922
10923 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10924
10925         * docs/random/bbb/optional-properties:
10926           Some analysis on optional properties.
10927
10928 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10929
10930         * docs/gst/tmpl/gstelementfactory.sgml:
10931         * gst/gstelement.h:
10932         * gst/gstelementfactory.c: (gst_element_factory_init),
10933         (gst_element_factory_cleanup), (gst_element_register),
10934         (__gst_element_factory_add_static_pad_template),
10935         (gst_element_factory_get_static_pad_templates),
10936         (gst_element_factory_can_src_caps),
10937         (gst_element_factory_can_sink_caps):
10938         * gst/registries/Makefile.am:
10939         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
10940         (gst_xml_registry_class_init), (gst_xml_registry_init),
10941         (gst_xml_registry_new), (gst_xml_registry_set_property),
10942         (gst_xml_registry_get_property), (get_time), (make_dir),
10943         (gst_xml_registry_get_perms_func),
10944         (plugin_times_older_than_recurse), (plugin_times_older_than),
10945         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
10946         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
10947         (add_to_char_array), (read_string), (read_uint), (read_enum),
10948         (load_pad_template), (load_feature), (load_plugin), (load_paths),
10949         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
10950         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
10951         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
10952         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
10953         (gst_xml_registry_rebuild):
10954         * gst/registries/gstlibxmlregistry.h:
10955         * tools/gst-compprep.c: (main):
10956         * tools/gst-inspect.c: (print_pad_templates_info):
10957         * tools/gst-xmlinspect.c: (print_element_info):
10958           Use libxml2 for registry parsing, use staticpadtemplates in
10959           elementfactories. Makes gst_init() +/- 10x faster.
10960
10961 2005-04-12  Wim Taymans  <wim@fluendo.com>
10962
10963         * gst/base/Makefile.am:
10964         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10965         (gst_basesink_pad_getcaps), (gst_basesink_init),
10966         (gst_basesink_event), (gst_basesink_change_state):
10967         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10968         (gst_basesrc_init), (gst_basesrc_query),
10969         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10970         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10971         (gst_basesrc_check_get_range), (gst_basesrc_loop),
10972         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10973         (gst_basesrc_stop), (gst_basesrc_activate),
10974         (gst_basesrc_change_state):
10975         * gst/base/gsttypefindhelper.c: (helper_find_peek),
10976         (helper_find_suggest), (gst_type_find_helper):
10977         * gst/base/gsttypefindhelper.h:
10978         * gst/elements/Makefile.am:
10979         * gst/elements/gstelements.c:
10980         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10981         (gst_fakesink_get_times), (gst_fakesink_event),
10982         (gst_fakesink_preroll), (gst_fakesink_render):
10983         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10984         (gst_fakesrc_init), (gst_fakesrc_event_handler),
10985         (gst_fakesrc_get_property), (gst_fakesrc_create),
10986         (gst_fakesrc_start), (gst_fakesrc_stop):
10987         * gst/elements/gstfakesrc.h:
10988         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
10989         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10990         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10991         (gst_filesrc_create_read), (gst_filesrc_create),
10992         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
10993         (gst_filesrc_start):
10994         * gst/elements/gsttypefindelement.c:
10995         (gst_type_find_element_have_type), (gst_type_find_element_init),
10996         (start_typefinding), (stop_typefinding), (push_buffer_store),
10997         (gst_type_find_element_handle_event),
10998         (gst_type_find_element_chain),
10999         (gst_type_find_element_checkgetrange),
11000         (gst_type_find_element_getrange), (do_typefind),
11001         (gst_type_find_element_activate),
11002         (gst_type_find_element_change_state):
11003         * gst/elements/gsttypefindelement.h:
11004         * gst/gstpipeline.c: (pipeline_bus_handler):
11005         Added typefind helper.
11006         Small preroll fix in the base sink.
11007         Disable typefind code in basesrc.
11008         Crude port of typefindelement.
11009         Fakesrc cleanups.
11010
11011
11012 2005-04-11  Wim Taymans  <wim@fluendo.com>
11013
11014         * check/gst/gstbus.c: (gstbus_suite):
11015         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11016         * check/gstcheck.h:
11017           Fix up the timeout so that the test does not fail.
11018
11019 2005-04-06  Wim Taymans  <wim@fluendo.com>
11020
11021         * gst/base/README:
11022         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11023         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11024         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11025         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11026         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11027         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11028         (gst_basesrc_stop), (gst_basesrc_activate),
11029         (gst_basesrc_change_state), (basesrc_find_peek),
11030         (basesrc_find_suggest), (gst_basesrc_type_find):
11031         * gst/base/gstbasesrc.h:
11032         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11033         (gst_filesrc_class_init), (gst_filesrc_init),
11034         (gst_filesrc_finalize), (gst_filesrc_set_location),
11035         (gst_filesrc_set_property), (gst_filesrc_get_property),
11036         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11037         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11038         (gst_filesrc_create_read), (gst_filesrc_create),
11039         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11040         * gst/elements/gstfilesrc.h:
11041         * gst/gstelement.c: (gst_element_get_state_func),
11042         (gst_element_lost_state), (gst_element_pads_activate):
11043         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11044         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11045         (gst_pad_pull_range):
11046         * gst/gstpad.h:
11047         More work on the generic source base class, implement seeking,
11048         query.
11049         Make filesrc extend the base source class.
11050         Added gst_pad_set_checkgetrange_function to GstPad.
11051
11052 2005-04-06  Andy Wingo  <wingo@pobox.com>
11053
11054         * pkgconfig/gstreamer-base.pc.in:
11055         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11056
11057         * pkgconfig/Makefile.am:
11058         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11059
11060 2005-04-04  Wim Taymans  <wim@fluendo.com>
11061
11062         * gst/base/Makefile.am:
11063         * gst/base/README:
11064         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11065         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11066         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11067         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11068         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11069         (gst_basesrc_base_init), (gst_basesrc_class_init),
11070         (gst_basesrc_init), (gst_basesrc_get_formats),
11071         (gst_basesrc_get_query_types), (gst_basesrc_query),
11072         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11073         (gst_basesrc_set_property), (gst_basesrc_get_property),
11074         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11075         (gst_basesrc_loop), (gst_basesrc_activate),
11076         (gst_basesrc_change_state):
11077         * gst/base/gstbasesrc.h:
11078         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11079         (gst_fakesrc_class_init), (gst_fakesrc_init),
11080         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11081         (gst_fakesrc_get_property), (gst_fakesrc_create):
11082         * gst/elements/gstfakesrc.h:
11083         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11084         (gst_filesrc_open_file), (gst_filesrc_loop),
11085         (gst_filesrc_activate), (filesrc_find_peek),
11086         (gst_filesrc_type_find):
11087         Made base source class, make fakesrc extend it.
11088         Add comments to basesink class.
11089         Some filesrc cleanup.
11090
11091 2005-03-31  David Schleef  <ds@schleef.org>
11092
11093         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11094         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11095         expected to link against libgstreamer.
11096         * gst/base/Makefile.am: link against libgstreamer
11097         * gst/elements/Makefile.am: same
11098
11099 2005-03-31  Andy Wingo  <wingo@pobox.com>
11100
11101         * tests/instantiate/Makefile.am:
11102         * tests/instantiate/caps.c: Add test to test speed of caps copy
11103         and free.
11104
11105         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11106         GMemChunk to be fair.
11107
11108         * gst/gsttrashstack.h: Remove warning about using the fallback
11109         trash stack implementation, it's still faster than malloc.
11110
11111 2005-03-30  Andy Wingo  <wingo@pobox.com>
11112
11113         * tests/complexity.c: Add a copyright.
11114
11115 2005-03-31  Wim Taymans  <wim@fluendo.com>
11116
11117         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11118         (gst_base_transform_class_init), (gst_base_transform_init),
11119         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11120         (gst_base_transform_get_property),
11121         (gst_base_transform_sink_activate),
11122         (gst_base_transform_src_activate),
11123         (gst_base_transform_change_state):
11124         * gst/base/gstbasetransform.h:
11125         * gst/elements/gstidentity.c: (gst_identity_class_init),
11126         (gst_identity_event), (gst_identity_check_perfect),
11127         (gst_identity_transform), (gst_identity_start),
11128         (gst_identity_stop):
11129         Added start/stop methods to transform base class so subclasses 
11130         don't need to deal with state changes even.
11131
11132 2005-03-31  Wim Taymans  <wim@fluendo.com>
11133
11134         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11135         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11136         * gst/gstevent.h:
11137         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11138         (gst_pad_pull_range):
11139         Added rate to the discont event to prepare for variable speed
11140         and reverse playback.
11141
11142 2005-03-29  David Schleef  <ds@schleef.org>
11143
11144         * configure.ac:
11145         * testsuite/trigger/Makefile.am:
11146         * testsuite/trigger/trigger.c: A little example program to show
11147         how trigger-based elements can work.
11148
11149 2005-03-29  Wim Taymans  <wim@fluendo.com>
11150
11151         * gst/base/Makefile.am:
11152         * gst/base/README:
11153         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11154         (gst_basesink_base_init), (gst_basesink_class_init),
11155         (gst_basesink_pad_getcaps), (gst_basesink_init),
11156         (gst_basesink_activate), (gst_basesink_change_state):
11157         * gst/base/gstbasesink.h:
11158         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11159         (gst_base_transform_base_init), (gst_base_transform_finalize),
11160         (gst_base_transform_class_init), (gst_base_transform_init),
11161         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11162         (gst_base_transform_event), (gst_base_transform_getrange),
11163         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11164         (gst_base_transform_set_property),
11165         (gst_base_transform_get_property),
11166         (gst_base_transform_sink_activate),
11167         (gst_base_transform_src_activate),
11168         (gst_base_transform_change_state):
11169         * gst/base/gstbasetransform.h:
11170         * gst/elements/gstidentity.c: (gst_identity_finalize),
11171         (gst_identity_class_init), (gst_identity_init),
11172         (gst_identity_event), (gst_identity_check_perfect),
11173         (gst_identity_transform), (gst_identity_set_property),
11174         (gst_identity_get_property), (gst_identity_change_state):
11175         * gst/elements/gstidentity.h:
11176         * gst/gstelement.c: (gst_element_get_state_func),
11177         (gst_element_lost_state), (gst_element_pads_activate):
11178         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11179         (gst_pad_check_pull_range), (gst_pad_pull_range):
11180         * gst/gstpad.h:
11181         Simplify pad activation.
11182         Added function to check if pull_range can be performed.
11183         Error out when pulling inactive or flushing pads.
11184         Removed const from refcounted types as it does not make sense.
11185         Simplify pad templates in basesink
11186         Added base class for simple 1-to-1 transforms.
11187         Make identity subclass the base transform.
11188
11189 2005-03-29  Andy Wingo  <wingo@pobox.com>
11190
11191         * docs/libs/gstreamer-libs-overrides.txt: 
11192         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11193         really don't understand what's going on, but like whatever. I want
11194         green buildbot!
11195
11196         * docs/gst/Makefile.am:
11197         * docs/libs/Makefile.am: Dist the overrides files.
11198
11199         * check/Makefile.am (clean-local): Remove .libs directories.
11200
11201         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11202         elements to EXTRA_DIST, so po/ files are happy.
11203
11204         * po/POTFILES.in: Er, remove it here.
11205
11206         * po/POTFILES: Remove gstspider.c.
11207
11208         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11209
11210         * docs/libs/gstreamer-libs-docs.sgml: 
11211         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11212         bytestream.
11213
11214         * tests/complexity.c (main): Set the length of the preroll queue
11215         on the sinks to prevent a lockup.
11216
11217         * libs/gst/dataprotocol/Makefile.am: 
11218         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11219         the same as the one in check/gst-libs/gdp.c.
11220
11221         * po/, docs/gst/: Commit automatic changes to docs and po files.
11222
11223         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11224         the versioned libgstbase.
11225
11226         * check/Makefile.am: Depend on an unversioned gst-register, seems
11227         to make autoconf happier.
11228
11229         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11230
11231 2005-03-28  Wim Taymans  <wim@fluendo.com>
11232
11233         * configure.ac:
11234         * docs/design/part-gstelement.txt:
11235         * docs/design/part-negotiation.txt:
11236         * docs/design/part-preroll.txt:
11237         * docs/design/part-scheduling.txt:
11238         * docs/design/part-states.txt:
11239         * gst/Makefile.am:
11240         * gst/base/Makefile.am:
11241         * gst/base/README:
11242         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11243         (gst_basesink_base_init), (gst_basesink_class_init),
11244         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11245         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11246         (gst_basesink_set_pad_functions),
11247         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11248         (gst_basesink_set_property), (gst_basesink_get_property),
11249         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11250         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11251         (gst_basesink_preroll_queue_push),
11252         (gst_basesink_preroll_queue_empty),
11253         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11254         (gst_basesink_event), (gst_basesink_get_times),
11255         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11256         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11257         (gst_basesink_loop), (gst_basesink_activate),
11258         (gst_basesink_change_state):
11259         * gst/base/gstbasesink.h:
11260         * gst/elements/Makefile.am:
11261         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11262         (gst_fakesink_class_init), (gst_fakesink_init),
11263         (gst_fakesink_set_property), (gst_fakesink_get_property),
11264         (gst_fakesink_get_times), (gst_fakesink_event),
11265         (gst_fakesink_preroll), (gst_fakesink_render),
11266         (gst_fakesink_change_state):
11267         * gst/elements/gstfakesink.h:
11268         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11269         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11270         * gst/gstelement.c: (gst_element_add_pad),
11271         (gst_element_get_state_func), (gst_element_abort_state),
11272         (gst_element_commit_state), (gst_element_lost_state),
11273         (gst_element_set_state), (gst_element_pads_activate):
11274         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11275         * gst/gstpipeline.c: (gst_pipeline_send_event),
11276         (gst_pipeline_change_state):
11277         Added state change code.
11278         Added/updated docs.
11279         Added sink base class, make fakesink extend the base class.
11280         Small cleanups in GstPipeline.
11281
11282 2005-03-26  David Schleef  <ds@schleef.org>
11283
11284         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11285         is broken and should be implemented in a different library.
11286         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11287         * gst/gst.h: remove gstcpu.h
11288         * gst/gstcpu.c: remove
11289         * gst/gstcpu.h: remove
11290         * gst/Makefile.am.future: Remove this file.  It's ancient.
11291
11292 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11293
11294         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11295         (gst_bin_send_event):
11296           Add default event/set_manager handlers. The set_manager handler
11297           takes care that the manager is distributed over kids that were
11298           already in the bin before the manager was set. The event handler
11299           is a utility virtual function that sends the event over all sinks,
11300           so that gst_element_send_event (bin, event); has the expected
11301           behaviour.
11302         * gst/gstpad.c: (gst_pad_event_default):
11303           Re-install default event handling for discontinuities, so that
11304           seeking works without requiring hacks in applications or extra
11305           code in sinks.
11306         * gst/gstpipeline.c: (gst_pipeline_class_init),
11307         (gst_pipeline_send_event):
11308           Half hack, half utility: set a pipeline to PAUSED for seek events,
11309           since that is the only way we can guarantee a/v sync. Means that
11310           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11311           and it "just works".
11312
11313 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11314
11315         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11316           Lock/unlock mismatch.
11317
11318 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11319
11320         * docs/faq/gst-uninstalled:
11321           add gst-plugins-base
11322         * docs/gst/Makefile.am:
11323           don't error out until docs are fixed
11324         * docs/gst/gstreamer.types:
11325           remove thread
11326
11327 2005-03-22  Wim Taymans  <wim@fluendo.com>
11328
11329         * check/Makefile.am:
11330         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11331         * gst/gststructure.c: (gst_structure_set_valist),
11332         (gst_structure_copy_conditional):
11333         Activated more tests.
11334         Added message test.
11335         Added G_TYPE_POINTER to GstStructure.
11336         
11337
11338 2005-03-22  Wim Taymans  <wim@fluendo.com>
11339
11340         * docs/design/part-TODO.txt:
11341         * docs/design/part-events.txt:
11342         * docs/design/part-gstbin.txt:
11343         * docs/design/part-gstbus.txt:
11344         * docs/design/part-gstpipeline.txt:
11345         * docs/design/part-messages.txt:
11346         * gst/gstbus.c:
11347         * gst/gstmessage.c:
11348         Docs updates
11349
11350 2005-03-21  Wim Taymans  <wim@fluendo.com>
11351
11352         * gst/gstbus.c: (gst_bus_post):
11353         Fix copy-and-paste error.
11354
11355 2005-03-21  Wim Taymans  <wim@fluendo.com>
11356
11357         * check/Makefile.am:
11358         * gst/Makefile.am:
11359         * gst/elements/Makefile.am:
11360         * gst/elements/gstelements.c:
11361         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11362         (gst_fakesink_event), (gst_fakesink_chain):
11363         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11364         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11365         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11366         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11367         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11368         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11369         (gst_fakesrc_loop), (gst_fakesrc_activate),
11370         (gst_fakesrc_change_state):
11371         * gst/elements/gstfakesrc.h:
11372         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11373         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11374         (gst_filesrc_open_file), (gst_filesrc_loop),
11375         (gst_filesrc_activate), (gst_filesrc_change_state),
11376         (filesrc_find_peek), (filesrc_find_suggest),
11377         (gst_filesrc_type_find):
11378         * gst/elements/gstidentity.c: (gst_identity_finalize),
11379         (gst_identity_class_init), (gst_identity_init),
11380         (gst_identity_proxy_getcaps), (identity_queue_push),
11381         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11382         (gst_identity_getrange), (gst_identity_chain),
11383         (gst_identity_sink_loop), (gst_identity_src_loop),
11384         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11385         (gst_identity_set_property), (gst_identity_get_property),
11386         (gst_identity_change_state):
11387         * gst/elements/gstidentity.h:
11388         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11389         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11390         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11391         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11392         (gst_tee_sink_activate):
11393         * gst/elements/gsttee.h:
11394         * gst/gst.c: (gst_register_core_elements), (init_post):
11395         * gst/gst.h:
11396         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11397         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11398         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11399         (gst_bin_change_state):
11400         * gst/gstbin.h:
11401         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11402         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11403         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11404         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11405         (gst_bus_set_sync_handler), (gst_bus_create_watch),
11406         (bus_watch_callback), (bus_watch_destroy),
11407         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11408         (poll_timeout), (gst_bus_poll):
11409         * gst/gstbus.h:
11410         * gst/gstcaps.h:
11411         * gst/gstdata.h:
11412         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11413         (gst_element_post_message), (gst_element_message_full),
11414         (gst_element_get_state_func), (gst_element_get_state),
11415         (gst_element_abort_state), (gst_element_commit_state),
11416         (gst_element_lost_state), (gst_element_set_state),
11417         (gst_element_pads_activate), (gst_element_change_state),
11418         (gst_element_dispose), (gst_element_set_manager_func),
11419         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11420         (gst_element_set_manager), (gst_element_get_manager),
11421         (gst_element_set_bus), (gst_element_get_bus),
11422         (gst_element_set_scheduler), (gst_element_get_scheduler):
11423         * gst/gstelement.h:
11424         * gst/gstevent.c: (gst_event_new_segment_seek),
11425         (gst_event_new_flush):
11426         * gst/gstevent.h:
11427         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11428         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11429         (gst_message_new_eos), (gst_message_new_error),
11430         (gst_message_new_warning), (gst_message_new_tag),
11431         (gst_message_new_state_changed), (gst_message_new_application),
11432         (gst_message_get_structure), (gst_message_parse_tag),
11433         (gst_message_parse_state_changed), (gst_message_parse_error),
11434         (gst_message_parse_warning):
11435         * gst/gstmessage.h:
11436         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11437         (gst_real_pad_set_property), (gst_pad_set_active),
11438         (gst_pad_is_active), (gst_pad_set_blocked_async),
11439         (gst_pad_set_blocked), (gst_pad_is_blocked),
11440         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11441         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11442         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11443         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11444         (gst_pad_link_filtered), (gst_pad_relink_filtered),
11445         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11446         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11447         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11448         (gst_pad_set_caps), (gst_pad_configure_sink),
11449         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11450         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11451         (gst_real_pad_dispose), (gst_real_pad_finalize),
11452         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11453         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11454         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11455         * gst/gstpad.h:
11456         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11457         (pipeline_bus_handler), (gst_pipeline_change_state),
11458         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11459         * gst/gstpipeline.h:
11460         * gst/gstprobe.h:
11461         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11462         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11463         (gst_queue_link_src), (gst_queue_bufferalloc),
11464         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11465         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11466         (gst_queue_loop), (gst_queue_handle_src_event),
11467         (gst_queue_handle_src_query), (gst_queue_src_activate),
11468         (gst_queue_change_state):
11469         * gst/gstqueue.h:
11470         * gst/gstscheduler.c: (gst_scheduler_init),
11471         (gst_scheduler_dispose), (gst_scheduler_create_task),
11472         (gst_scheduler_factory_create):
11473         * gst/gstscheduler.h:
11474         * gst/gststructure.c: (gst_structure_get_type),
11475         (gst_structure_copy_conditional):
11476         * gst/gststructure.h:
11477         * gst/gsttaginterface.h:
11478         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11479         (gst_task_init), (gst_task_dispose), (gst_task_create),
11480         (gst_task_get_state), (gst_task_start), (gst_task_stop),
11481         (gst_task_pause):
11482         * gst/gsttask.h:
11483         * gst/gstthread.c:
11484         * gst/gstthread.h:
11485         * gst/gsttypes.h:
11486         * gst/schedulers/Makefile.am:
11487         * gst/schedulers/cothreads_compat.h:
11488         * gst/schedulers/entryscheduler.c:
11489         * gst/schedulers/faircothreads.c:
11490         * gst/schedulers/faircothreads.h:
11491         * gst/schedulers/fairscheduler.c:
11492         * gst/schedulers/gstbasicscheduler.c:
11493         * gst/schedulers/gstoptimalscheduler.c:
11494         * gst/schedulers/gthread-cothreads.h:
11495         * gst/schedulers/threadscheduler.c:
11496         (gst_thread_scheduler_task_get_type),
11497         (gst_thread_scheduler_task_class_init),
11498         (gst_thread_scheduler_task_init),
11499         (gst_thread_scheduler_task_start),
11500         (gst_thread_scheduler_task_stop),
11501         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11502         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11503         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11504         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11505         (plugin_init):
11506         * libs/gst/Makefile.am:
11507         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11508         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11509         (gst_file_pad_parent_set):
11510         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11511         (gst_dp_event_from_packet):
11512         * tests/complexity.c: (main):
11513         * tests/mass_elements.c: (main):
11514         * testsuite/states/locked.c: (message_received), (main):
11515         * testsuite/states/parent.c: (main):
11516         * tools/gst-inspect.c: (print_element_flag_info),
11517         (print_implementation_info), (print_pad_info):
11518         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11519         (main):
11520         * tools/gst-md5sum.c: (event_loop), (main):
11521         * tools/gst-typefind.c: (main):
11522         * tools/gst-xmlinspect.c: (print_element_info):
11523         Next big merge.
11524         Added GstBus for mainloop integration.
11525         Added GstMessage for sending notifications on the bus.
11526         Added GstTask as an abstraction for pipeline entry points.
11527         Removed GstThread.
11528         Removed Schedulers.
11529         Simplified GstQueue for multithreaded core.
11530         Made _link threadsafe, removed old capsnego.
11531         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11532         Added pad blocking functions.
11533         Reworked scheduling functions in GstPad to prepare for
11534         scheduling updates soon.
11535         Moved events out of data stream.
11536         Simplified GstEvent types.
11537         Added return values to push/pull.
11538         Removed clocking from GstElement.
11539         Added prototypes for state change function for next merge.
11540         Removed iterate from bins and state change management.
11541         Fixed some elements, disabled others for now.
11542         Fixed -inspect and -launch.
11543         Added check for GstBus.
11544
11545 2005-03-10  Wim Taymans  <wim@fluendo.com>
11546
11547         * docs/design/part-MT-refcounting.txt:
11548         * docs/design/part-clocks.txt:
11549         * docs/design/part-gstelement.txt:
11550         * docs/design/part-gstobject.txt:
11551         * docs/design/part-standards.txt:
11552         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11553         (gst_bin_remove_func), (gst_bin_remove):
11554         * gst/gstbin.h:
11555         * gst/gstbuffer.c:
11556         * gst/gstcaps.h:
11557         * testsuite/clock/clock1.c: (main):
11558         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11559         (main):
11560         * testsuite/dlopen/loadgst.c: (do_test):
11561         * testsuite/refcounting/bin.c: (add_remove_test1),
11562         (add_remove_test2), (main):
11563         * testsuite/refcounting/element.c: (main):
11564         * testsuite/refcounting/element_pad.c: (main):
11565         * testsuite/refcounting/pad.c: (main):
11566         * tools/gst-launch.c: (sigint_handler_sighandler):
11567         * tools/gst-typefind.c: (main):
11568         Doc updates.
11569         Added doc about clock.
11570         removed gst_bin_iterate_recurse_up(), marked methods
11571         for removal.
11572         Fix more testsuites.
11573
11574 2005-03-09  Wim Taymans  <wim@fluendo.com>
11575
11576         * gst/gstpad.c: (gst_pad_get_direction),
11577         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11578         (gst_pad_collect_valist):
11579         * testsuite/bins/interface.c: (main):
11580         * testsuite/caps/audioscale.c: (test_caps):
11581         * testsuite/caps/caps.c: (test1), (test2), (test3):
11582         * testsuite/caps/deserialize.c: (main):
11583         * testsuite/caps/enumcaps.c: (main):
11584         * testsuite/caps/filtercaps.c: (main):
11585         * testsuite/caps/intersect2.c: (main):
11586         * testsuite/caps/random.c: (main):
11587         * testsuite/caps/renegotiate.c: (my_fixate), (main):
11588         * testsuite/caps/sets.c: (check_caps):
11589         * testsuite/caps/simplify.c: (check_caps), (main):
11590         * testsuite/caps/subtract.c: (check_caps):
11591         Fix _pad_get_direction wrt ghostpads.
11592         Fix caps testsuite.
11593
11594 2005-03-09  Wim Taymans  <wim@fluendo.com>
11595
11596         * check/Makefile.am:
11597         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11598         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11599         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11600         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11601         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11602         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11603         (gst_bin_remove), (gst_bin_iterate_recurse_up),
11604         (bin_element_is_sink), (gst_bin_iterate_sinks),
11605         (gst_bin_iterate_all_by_interface):
11606         * gst/gstbin.h:
11607         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11608         (gst_element_change_state), (gst_element_dispose),
11609         (gst_element_finalize), (gst_element_set_loop_function):
11610         * gst/gstelement.h:
11611         * gst/gstiterator.c: (find_custom_fold_func):
11612         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11613         (gst_pad_collectv), (gst_pad_collect_valist),
11614         (gst_pad_template_new):
11615         * gst/gstpipeline.c: (gst_pipeline_class_init),
11616         (gst_pipeline_dispose), (gst_pipeline_set_property),
11617         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11618         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11619         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11620         * gst/gstutils.h:
11621         * gst/schedulers/entryscheduler.c:
11622         * gst/schedulers/gstbasicscheduler.c:
11623         (gst_basic_scheduler_cothreaded_chain),
11624         (gst_basic_scheduler_chain_add_element):
11625         * testsuite/bins/interface.c: (main):
11626         Added GstBin test.
11627         Added GstSystemClock test.
11628         Implemented clock distribution code in GstBin.
11629         Implemented iterate sinks method for future use.
11630         Rearranged gstelement.h
11631         Fix GstIterator comparison bug.
11632         Moved some code to GstPipeline, mostly clocking related.
11633
11634 2005-03-09  Wim Taymans  <wim@fluendo.com>
11635
11636         * configure.ac:
11637         * gst/gst_private.h:
11638         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11639         (gst_bin_remove_func), (gst_bin_remove),
11640         (gst_bin_get_by_name_recurse_up):
11641         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11642         (gst_clock_id_compare_func), (gst_clock_id_wait),
11643         (gst_clock_id_wait_async), (gst_clock_init),
11644         (gst_clock_adjust_unlocked), (gst_clock_get_time):
11645         * gst/gstelement.h:
11646         * gst/gstinfo.c: (_gst_debug_init):
11647         * gst/gstobject.h:
11648         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11649         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11650         * gst/gstpad.h:
11651         Bump version number, we're now 0.9.0
11652         Add future debugging category.
11653         Fix NULL _unref() in _get_by_name_recurse_up
11654         Rearrange gstpad.h.
11655         Update some docs.
11656
11657 2005-03-08  Wim Taymans  <wim@fluendo.com>
11658
11659         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11660         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11661         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11662         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11663         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11664         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11665         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11666         * gst/elements/gstidentity.c: (gst_identity_class_init):
11667         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11668         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11669         * gst/elements/gstshaper.c: (gst_shaper_class_init):
11670         * gst/elements/gststatistics.c: (gst_statistics_class_init):
11671         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11672         (gst_tee_link):
11673         * gst/gstelement.c: (gst_element_class_init),
11674         (gst_element_base_class_init), (gst_element_init),
11675         (gst_element_get_random_pad), (gst_element_wait_state_change),
11676         (gst_element_change_state), (gst_element_dispose),
11677         (gst_element_finalize), (gst_element_set_loop_function):
11678         * gst/gstelement.h:
11679         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11680         * gst/gstthread.c: (gst_thread_class_init),
11681         (gst_thread_release_children_locks), (gst_thread_change_state):
11682         * gst/schedulers/gstbasicscheduler.c:
11683         (gst_basic_scheduler_loopfunc_wrapper),
11684         (gst_basic_scheduler_chain_wrapper),
11685         (gst_basic_scheduler_src_wrapper),
11686         (gst_basic_scheduler_remove_element):
11687         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11688         Remove threadsafe properties. Fix elements because GObject
11689         complains when installing a property before declaring a
11690         set/get_property handler.
11691         Rearrange gstelement.h file, use STATE macros for state locks.
11692         Free mutexes in the finalize method instead of dispose.
11693
11694 2005-03-08  Wim Taymans  <wim@fluendo.com>
11695
11696         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11697         * gst/gstthread.c: (gst_thread_release_children_locks):
11698         Added parentage check.
11699         Fix build og GstThread again.
11700
11701 2005-03-08  Wim Taymans  <wim@fluendo.com>
11702
11703         * docs/design/part-MT-refcounting.txt:
11704         * docs/design/part-conventions.txt:
11705         * docs/design/part-gstobject.txt:
11706         * docs/design/part-relations.txt:
11707         * docs/design/part-standards.txt:
11708         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11709         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11710         (gst_bin_get_by_name), (gst_bin_get_by_interface),
11711         (gst_bin_iterate_all_by_interface):
11712         * gst/gstbuffer.h:
11713         * gst/gstclock.h:
11714         * gst/gstelement.c: (gst_element_class_init),
11715         (gst_element_change_state), (gst_element_set_loop_function):
11716         * gst/gstelement.h:
11717         * gst/gstiterator.c:
11718         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11719         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11720         (gst_object_dispatch_properties_changed), (gst_object_set_name),
11721         (gst_object_set_parent), (gst_object_unparent),
11722         (gst_object_check_uniqueness):
11723         * gst/gstobject.h:
11724         Docs updates, clean up some headers.
11725
11726 2005-03-07  Wim Taymans  <wim@fluendo.com>
11727
11728         * check/.cvsignore:
11729         * check/Makefile.am:
11730         * check/gst-libs/.cvsignore:
11731         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11732         * check/gst/.cvsignore:
11733         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11734         (START_TEST), (gstbus_suite), (main):
11735         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11736         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11737         (gst_data_suite), (main):
11738         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11739         (add_fold_func), (gstiterator_suite), (main):
11740         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11741         (thread_name_object), (thread_name_object_default),
11742         (gst_object_name_compare), (gst_object_suite), (main):
11743         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11744         (gst_pad_suite), (main):
11745         * check/gstcheck.c: (gst_check_log_message_func),
11746         (gst_check_log_critical_func), (gst_check_init):
11747         * check/gstcheck.h:
11748         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11749         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11750         Added checks.
11751
11752 2005-03-07  Wim Taymans  <wim@fluendo.com>
11753
11754         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11755         (gst_list_iterator_next), (gst_list_iterator_resync),
11756         (gst_list_iterator_free), (gst_iterator_new_list),
11757         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11758         (gst_iterator_free), (gst_iterator_push), (filter_next),
11759         (filter_resync), (filter_uninit), (filter_free),
11760         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11761         (gst_iterator_foreach), (find_custom_fold_func),
11762         (gst_iterator_find_custom):
11763         * gst/gstiterator.h:
11764         Added missing files.
11765
11766 2005-03-07  Wim Taymans  <wim@fluendo.com>
11767
11768         * Makefile.am:
11769         * configure.ac:
11770         * docs/design/part-MT-refcounting.txt:
11771         * docs/design/part-conventions.txt:
11772         * docs/design/part-gstobject.txt:
11773         * docs/design/part-relations.txt:
11774         * examples/mixer/mixer.c: (main):
11775         * examples/thread/thread.c: (eos), (main):
11776         * gst/Makefile.am:
11777         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11778         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11779         (gst_spider_plug_from_srcpad):
11780         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11781         (gst_spider_identity_change_state),
11782         (gst_spider_identity_sink_loop_type_finding):
11783         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11784         * gst/elements/gstidentity.c: (gst_identity_init):
11785         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11786         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11787         * gst/elements/gsttypefindelement.c: (free_entry):
11788         * gst/gst.c:
11789         * gst/gst.h:
11790         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11791         (gst_bin_set_clock_func), (gst_bin_auto_clock),
11792         (gst_bin_set_index), (gst_bin_set_element_sched),
11793         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11794         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11795         (gst_bin_iterate_elements), (iterate_child_recurse),
11796         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11797         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11798         (compare_interface), (gst_bin_get_by_interface),
11799         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11800         * gst/gstbin.h:
11801         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11802         (gst_buffer_default_free), (gst_buffer_default_copy),
11803         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11804         (gst_buffer_create_sub):
11805         * gst/gstbuffer.h:
11806         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11807         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11808         (gst_caps_unref), (gst_static_caps_get),
11809         (gst_caps_remove_and_get_structure), (gst_caps_append),
11810         (gst_caps_append_structure), (gst_caps_remove_structure),
11811         (gst_caps_copy_nth), (gst_caps_set_simple),
11812         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11813         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11814         (gst_caps_structure_intersect_field), (gst_caps_intersect),
11815         (gst_caps_structure_subtract_field), (gst_caps_subtract),
11816         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11817         (gst_caps_structure_figure_out_union),
11818         (gst_caps_switch_structures), (gst_caps_do_simplify),
11819         (gst_caps_replace), (gst_caps_from_string),
11820         (gst_caps_copy_conditional):
11821         * gst/gstcaps.h:
11822         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11823         (_gst_clock_id_free), (gst_clock_id_unref),
11824         (gst_clock_id_compare_func), (gst_clock_id_wait),
11825         (gst_clock_id_wait_async), (gst_clock_class_init),
11826         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11827         (gst_clock_get_time), (gst_clock_set_time_adjust),
11828         (gst_clock_set_property), (gst_clock_get_property):
11829         * gst/gstclock.h:
11830         * gst/gstcompat.h:
11831         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11832         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11833         * gst/gstdata.h:
11834         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11835         (gst_element_requires_clock), (gst_element_provides_clock),
11836         (gst_element_set_clock), (gst_element_clock_wait),
11837         (gst_element_wait), (gst_element_set_time_delay),
11838         (gst_element_is_indexable), (gst_element_add_pad),
11839         (gst_element_add_ghost_pad), (gst_element_remove_pad),
11840         (pad_compare_name), (gst_element_get_static_pad),
11841         (gst_element_request_pad), (gst_element_get_request_pad),
11842         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11843         (gst_element_class_get_pad_template_list),
11844         (gst_element_class_get_pad_template), (gst_element_error_func),
11845         (gst_element_get_random_pad), (gst_element_get_event_masks),
11846         (gst_element_send_event), (gst_element_seek),
11847         (gst_element_get_query_types), (gst_element_query),
11848         (gst_element_get_formats), (gst_element_convert),
11849         (gst_element_is_locked_state), (gst_element_set_locked_state),
11850         (gst_element_sync_state_with_parent), (gst_element_change_state),
11851         (gst_element_finalize), (gst_element_yield),
11852         (gst_element_interrupt), (gst_element_set_scheduler),
11853         (gst_element_get_scheduler), (gst_element_set_loop_function):
11854         * gst/gstelement.h:
11855         * gst/gstevent.h:
11856         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
11857         (gst_format_get_by_nick), (gst_format_get_details),
11858         (gst_format_iterate_definitions):
11859         * gst/gstformat.h:
11860         * gst/gstindex.c: (gst_index_gtype_resolver):
11861         * gst/gstinfo.c:
11862         * gst/gstinfo.h:
11863         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
11864         (gst_mem_chunk_free):
11865         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
11866         (gst_object_ref), (gst_object_unref), (gst_object_sink),
11867         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
11868         (gst_object_dispatch_properties_changed),
11869         (gst_object_set_name_default), (gst_object_set_name),
11870         (gst_object_get_name), (gst_object_set_name_prefix),
11871         (gst_object_get_name_prefix), (gst_object_set_parent),
11872         (gst_object_get_parent), (gst_object_unparent),
11873         (gst_object_check_uniqueness), (gst_object_save_thyself),
11874         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
11875         (gst_object_set_property), (gst_object_get_property),
11876         (gst_object_get_path_string):
11877         * gst/gstobject.h:
11878         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11879         (gst_real_pad_init), (gst_real_pad_get_property),
11880         (gst_pad_custom_new), (gst_pad_get_direction),
11881         (gst_pad_set_active), (gst_pad_is_active),
11882         (gst_pad_set_event_function), (gst_pad_is_linked),
11883         (gst_pad_link_free), (gst_pad_link_intersect),
11884         (gst_pad_link_fixate), (gst_pad_set_caps),
11885         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
11886         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
11887         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
11888         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
11889         (gst_pad_get_caps), (gst_pad_peer_get_caps),
11890         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
11891         (gst_pad_realize), (gst_pad_get_allowed_caps),
11892         (gst_real_pad_dispose), (gst_real_pad_finalize),
11893         (gst_pad_collectv), (gst_pad_collect_valist),
11894         (gst_pad_template_dispose), (gst_pad_template_new),
11895         (gst_pad_get_internal_links):
11896         * gst/gstpad.h:
11897         * gst/gstpipeline.c: (gst_pipeline_dispose),
11898         (gst_pipeline_change_state):
11899         * gst/gstpipeline.h:
11900         * gst/gstplugin.c:
11901         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
11902         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
11903         * gst/gstpluginfeature.h:
11904         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
11905         * gst/gstquery.c: (_gst_query_type_initialize),
11906         (gst_query_type_register), (gst_query_type_get_by_nick),
11907         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
11908         * gst/gstquery.h:
11909         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
11910         * gst/gstscheduler.c: (gst_scheduler_add_element),
11911         (gst_scheduler_factory_create):
11912         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11913         (gst_structure_free), (gst_structure_set_name),
11914         (gst_structure_id_set_value), (gst_structure_set_value),
11915         (gst_structure_set_valist), (gst_structure_remove_field),
11916         (gst_structure_remove_fields),
11917         (gst_structure_remove_fields_valist),
11918         (gst_structure_remove_all_fields), (gst_structure_foreach),
11919         (gst_structure_map_in_place),
11920         (gst_caps_structure_fixate_field_nearest_int),
11921         (gst_caps_structure_fixate_field_nearest_double):
11922         * gst/gststructure.h:
11923         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11924         (gst_system_clock_init), (gst_system_clock_dispose),
11925         (gst_system_clock_async_thread),
11926         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
11927         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
11928         * gst/gstsystemclock.h:
11929         * gst/gsttag.c: (gst_tag_list_add_value_internal),
11930         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
11931         * gst/gsttaginterface.c:
11932         * gst/gstthread.c: (gst_thread_dispose),
11933         (gst_thread_release_children_locks), (gst_thread_change_state),
11934         (gst_thread_main_loop):
11935         * gst/gsttrashstack.h:
11936         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
11937         * gst/gsttypes.h:
11938         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11939         (gst_element_request_pad), (gst_element_get_pad_from_template),
11940         (gst_element_request_compatible_pad),
11941         (gst_element_get_compatible_pad_filtered),
11942         (gst_element_get_compatible_pad), (gst_element_state_get_name),
11943         (gst_element_link_pads_filtered), (gst_element_link_filtered),
11944         (gst_element_link_many), (gst_element_link),
11945         (gst_element_link_pads), (gst_element_unlink_pads),
11946         (gst_element_unlink_many), (gst_element_unlink),
11947         (gst_pad_can_link_filtered), (gst_pad_can_link),
11948         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
11949         (gst_object_default_error), (gst_bin_add_many),
11950         (gst_bin_remove_many), (gst_element_populate_std_props),
11951         (gst_element_class_install_std_props), (gst_buffer_merge),
11952         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
11953         (link_fold_func), (gst_pad_proxy_setcaps):
11954         * gst/gstutils.h:
11955         * gst/gstvalue.c: (gst_value_deserialize_string):
11956         * gst/parse/grammar.y:
11957         * gst/schedulers/gstbasicscheduler.c:
11958         (gst_basic_scheduler_cothreaded_chain),
11959         (gst_basic_scheduler_chain_recursive_add),
11960         (gst_basic_scheduler_pad_link):
11961         * gst/schedulers/gstoptimalscheduler.c:
11962         (get_group_schedule_function),
11963         (gst_opt_scheduler_state_transition),
11964         (gst_opt_scheduler_add_element), (element_get_reachables_func):
11965         * libs/gst/bytestream/bytestream.c:
11966         * libs/gst/dataprotocol/dataprotocol.c:
11967         (gst_dp_header_from_buffer):
11968         * po/nb.po:
11969         * po/ru.po:
11970         * tests/threadstate/threadstate2.c: (eos):
11971         * tools/gst-compprep.c: (main):
11972         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
11973         (print_pad_info), (print_children_info):
11974         * tools/gst-launch.c: (idle_func), (main):
11975         * tools/gst-md5sum.c: (idle_func), (main):
11976         * tools/gst-xmlinspect.c: (print_element_info):
11977         First THREADED backport attempt, focusing on adding locks and
11978         making sure the API is threadsafe. Needs more work. More docs
11979         follow this week.
11980
11981 2005-02-24  Andy Wingo  <wingo@pobox.com>
11982
11983         * tests/bench-complexity.scm:
11984         * tests/complexity.gnuplot: New files, good for running complexity
11985         benchmarks.
11986
11987         * tests/Makefile.am:
11988         * tests/complexity.c: New test, sets up N elements, at each level
11989         teeing into M streams per element. Eeeenteresting.
11990
11991         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
11992         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
11993         running bench-mass_elements.scm.
11994
11995         * tests/bench-mass_elements.scm: New script, runs mass_elements
11996         for various numbers of identities, outputting the results to a
11997         file. Requires guile 1.6. Just for testing.
11998
11999 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12000
12001         * gst/schedulers/fairscheduler.c:
12002           compile with debug disabled
12003
12004 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12005
12006         * configure.ac:
12007           hunting season on 0.9 is now OPEN