gst/gstbin.c: Don't leak clock messages.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
2
3         * gst/gstbin.c: (gst_bin_handle_message_func):
4         Don't leak clock messages.
5
6 2005-11-25  Wim Taymans  <wim@fluendo.com>
7
8         * gst/gstutils.c: (gst_util_uint64_scale_int64),
9         (gst_util_uint64_scale_int):
10         Optimisations, remove unneeded vars.
11
12 2005-11-25  Wim Taymans  <wim@fluendo.com>
13
14         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15         Added more checks for the high precision uint64 cases.
16
17         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19         Implement high precission (guint64 * guint64) / guint64.
20
21 2005-11-24  Wim Taymans  <wim@fluendo.com>
22
23         * gst/base/gstbasesrc.c: (gst_base_src_query):
24         Fix wrong percentage query.
25
26         * gst/gstutils.c: (gst_util_uint64_scale),
27         (gst_util_uint64_scale_int):
28         Add some more common cases that can be handled 
29         efficiently to _scale.
30
31 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
32
33         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
34         (gst_mini_object_suite):
35           don't use check calls from threads; check probably isn't
36           threadsafe and using a lock to make it threadsafe would
37           defeat the purpose of this check
38         * gst/check/gstcheck.c:
39         * gst/check/gstcheck.h:
40           use GST_DEBUG some more
41
42 2005-11-24  Wim Taymans  <wim@fluendo.com>
43
44         * gst/gstutils.c: (gst_util_uint64_scale),
45         (gst_util_uint64_scale_int):
46         Chain trivial case to _scale_int.
47
48 2005-11-24  Wim Taymans  <wim@fluendo.com>
49
50         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
51         Added test for scaling.
52
53         * gst/gstclock.h:
54         Small doc fix.
55
56         * gst/gstutils.c: (gst_util_uint64_scale_int):
57         Implemented high precision scaling code.
58
59 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
60
61         * gst/gstinfo.h:
62           do not crash on pad==NULL
63
64 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
65
66         Patch by: Stefan Kost
67
68         * common/gtk-doc.mak:
69         * docs/gst/Makefile.am:
70         * docs/libs/Makefile.am:
71           Fix distcheck issues for the libraries docs build
72           Closes #319599.
73
74 2005-11-24  Michael Smith <msmith@fluendo.com>
75
76         * docs/manual/basics-helloworld.xml:
77           Fix bug #315027: memory leak in example code in docs.
78
79 2005-11-24  Michael Smith <msmith@fluendo.com>
80
81         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
82           Unlock the PREROLL_LOCK in a failure case.
83
84 2005-11-24  Wim Taymans  <wim@fluendo.com>
85
86         * docs/gst/gstreamer-sections.txt:
87         * gst/base/gstadapter.h:
88         * gst/base/gstbasesink.h:
89         * gst/base/gstbasesrc.h:
90         * gst/base/gstbasetransform.h:
91         * gst/base/gstpushsrc.h:
92         * gst/elements/gstfakesink.h:
93         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
94         * gst/elements/gstfakesrc.h:
95         * gst/elements/gstfilesink.h:
96         * gst/elements/gstfilesrc.h:
97         * gst/gst.c:
98         * gst/gstbin.c:
99         * gst/gstbuffer.c: (_gst_buffer_copy):
100         * gst/gstbus.h:
101         * gst/gstcaps.c:
102         * gst/gstchildproxy.c:
103         * gst/gstclock.c:
104         * gst/gstelement.c:
105         * gst/gstelementfactory.c:
106         * gst/gstelementfactory.h:
107         * gst/gstevent.c:
108         * gst/gstghostpad.h:
109         * gst/gstindex.h:
110         * gst/gstinterface.h:
111         * gst/gstminiobject.c:
112         * gst/gstminiobject.h:
113         * gst/gstpad.c:
114         * gst/gstpad.h:
115         * gst/gstpadtemplate.h:
116         * gst/gstpipeline.h:
117         * gst/gstpluginfeature.h:
118         * gst/gstquery.h:
119         * gst/gstqueue.h:
120         * gst/gsttaglist.c:
121         * gst/gsttaglist.h:
122         * gst/gsttagsetter.c:
123         * gst/gsttagsetter.h:
124         * gst/gsttrace.c:
125         * gst/gsttrace.h:
126         * gst/gsttypefind.h:
127         * gst/gsturi.h:
128         * gst/gstvalue.c:
129         * gst/net/gstnetclientclock.c:
130         * gst/net/gstnetclientclock.h:
131         * gst/net/gstnettimepacket.c:
132         * gst/net/gstnettimeprovider.c:
133         * gst/net/gstnettimeprovider.h:
134         Doc fixes.
135
136 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
137
138         * configure.ac: back to HEAD
139
140 === release 0.9.6 ===
141
142 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
143
144         * configure.ac:
145           releasing 0.9.6, "Always On Time"
146
147 2005-11-23  Wim Taymans  <wim@fluendo.com>
148
149         * docs/gst/gstreamer-sections.txt:
150         * gst/glib-compat.c:
151         * gst/gsttagsetter.c:
152         * gst/gstvalue.c:
153         * gst/net/gstnetclientclock.c:
154         * gst/net/gstnettimepacket.h:
155         Doc updates.
156
157 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
158
159         * docs/faq/using.xml:
160         * docs/libs/tmpl/gstcontrol.sgml:
161         * docs/manual/advanced-dparams.xml:
162         * docs/manual/appendix-checklist.xml:
163         * docs/manual/basics-elements.xml:
164         * docs/pwg/other-source.xml:
165         * docs/random/moving-plugins:
166         * gst/gstpad.c:
167         * tools/gst-launch.1.in:
168           remove mentions of sinesrc
169
170 2005-11-23  Michael Smith <msmith@fluendo.com>
171
172         * docs/gst/gstreamer-sections.txt:
173           Update for new API and API changes.
174         * gst/gstobject.h:
175           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
176         * gst/gstvalue.c:
177           Documentation typo fix.
178         * gst/net/gstnettimepacket.c:
179           Documentation fixes for arguments.
180
181 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
182
183         * gst/gststructure.c: (gst_structure_get_fraction),
184         (gst_structure_parse_value),
185         (gst_structure_fixate_field_nearest_fraction):
186         * gst/gststructure.h:
187         * gst/gstutils.c: (gst_util_uint64_scale_int):
188         * gst/gstutils.h:
189         * scripts/update-funcnames:
190         API Changes. 
191         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
192         Make gst_structure_fixate_field_nearest_fraction take a numerator
193         and denominator argument instead of a GValue
194         add gst_structure_get_fraction helper function.
195
196 2005-11-23  Wim Taymans  <wim@fluendo.com>
197
198         * docs/design/part-TODO.txt:
199         Update TODO.
200
201         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
202         * gst/net/gstnetclientclock.h:
203         Use parent fields for timeout and window_size.
204
205 2005-11-23  Andy Wingo  <wingo@pobox.com>
206
207         * check/net/gstnetclientclock.c (test_functioning): Adjust to
208         rate_num/rate_denom change.
209
210         * gst/net/gstnetclientclock.c
211         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
212         OBJECT_LOCK. Don't call add_observation with the lock.
213
214         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
215         fraction.
216         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
217         rate fraction.
218         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
219         deal with rate as a fraction whose numerator and denominator are
220         GstClockTime values.
221         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
222         master; the other fields are protected by the SLAVE_LOCK.
223         (do_linear_regression): Note that this must be called with the
224         SLAVE_LOCK.
225         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
226         OBJECT_LOCK. Call set_calibration instead of touching the
227         variables directly.
228         (gst_clock_set_property, gst_clock_get_property): Protect
229         master/slave parameters with the SLAVE_LOCK.
230
231         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
232         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
233         note that all of the instance variables that add_observation and
234         the set_master functions use are protected by that lock and not
235         the OBJECT_LOCK.
236         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
237
238         * gst/gstclock.c (gst_clock_add_observation): No longer requires
239         the caller to take the object lock.
240
241 2005-11-23  Wim Taymans  <wim@fluendo.com>
242
243         * gst/gsterror.c: (_gst_core_errors_init):
244         * gst/gsterror.h:
245         Add error for clock stuff.
246
247         * gst/gstpipeline.c: (gst_pipeline_change_state),
248         (gst_pipeline_set_clock):
249         Post clock error when clock cannot be used in a pipeline.
250
251 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
252
253         * docs/gst/gstreamer-sections.txt:
254           make two symbols from gstinfo private for the docs
255         * gst/base/gstcollectpads.h:
256         * gst/gstutils.c:
257           fix doc typos, update docs
258
259 2005-11-22  Wim Taymans  <wim@fluendo.com>
260
261         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
262         (gst_base_sink_wait), (gst_base_sink_do_sync),
263         (gst_base_sink_handle_event):
264         * gst/base/gstbasesink.h:
265         No need to store the clock, the parent element class already
266         has it.
267
268         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
269         Updates for clock_set returning a gboolean
270
271         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
272         (gst_clock_id_wait_async), (gst_clock_class_init),
273         (gst_clock_init), (gst_clock_finalize),
274         (gst_clock_get_internal_time), (gst_clock_get_time),
275         (gst_clock_slave_callback), (gst_clock_set_master),
276         (gst_clock_get_master), (do_linear_regression),
277         (gst_clock_add_observation), (gst_clock_set_property),
278         (gst_clock_get_property):
279         * gst/gstclock.h:
280         Implement master/slave. When setting a clock as a slave, a
281         periodic timeout is scheduled to sample master and slave times.
282         Then the slave clock is recalibrated to match offset and rate
283         of the master clock.
284         Update logging a bit.
285         Add flag so that a clock can state that is cannot be slaved to
286         another clock.
287
288         * gst/gstelement.c: (gst_element_set_clock):
289         * gst/gstelement.h:
290         The set clock returns a gboolean for when an element cannot
291         deal with the selected clock in the pipeline. 
292
293         * gst/gstpipeline.c: (gst_pipeline_change_state),
294         (gst_pipeline_set_clock):
295         * gst/gstpipeline.h:
296         Handle the case where the selected clock cannot be set on
297         the pipeline.
298
299         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
300         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
301         (gst_net_client_clock_set_property),
302         (gst_net_client_clock_get_property),
303         (gst_net_client_clock_observe_times):
304         * gst/net/gstnetclientclock.h:
305         Use regression code in GstClock parent, remove duplicated
306         functionality.
307
308 2005-11-22  Michael Smith <msmith@fluendo.com>
309
310         * gst/gstutils.c: (gst_util_clock_time_scale):
311         * gst/gstutils.h:
312         * docs/gst/gstreamer-sections.txt:
313           Rename method to have extra underscore.
314
315 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
316
317         * gst/elements/Makefile.am:
318         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
319         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
320         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
321         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
322         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
323         * gst/elements/gstfakesrc.h:
324         * gst/gstqueue.c: (queue_leaky_get_type):
325           correctly fix GEnumValues so that nick is the short lowercase
326           dashed tag
327         * tools/gst-inspect.c: (print_element_properties_info):
328           also show the nick, since it's useful to use from parse_launch
329           syntax
330           Fixes #322139
331
332 2005-11-22  Michael Smith <msmith@fluendo.com>
333
334         * gst/gstutils.c: (gst_util_clocktime_scale):
335         * gst/gstutils.h:
336         * docs/gst/gstreamer-sections.txt:
337           Add util method for scaling a clocktime by a fraction. Useful 
338           implementation is left as an exercise for the reader.
339
340 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
341
342         * gst/gstvalue.c: (gst_value_collect_fraction_range):
343         If needed, allocate storage in the destination value during
344         collection.
345
346 2005-11-22  Edward Hervey  <edward@fluendo.com>
347
348         * docs/gst/gstreamer-sections.txt:
349         * gst/Makefile.am:
350         * gst/gst.h:
351         * gst/gsturitype.c:
352         * gst/gsturitype.h:
353         * gst/gstutils.c: (gst_util_set_object_arg):
354         * tools/gst-compprep.c: (main):
355         * tools/gst-inspect.c: (print_element_properties_info):
356         Removed GstURI, closes bug #321061
357
358 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
359
360         * check/gst/gststructure.c: (GST_START_TEST):
361         * gst/gststructure.c: (gst_structure_parse_value):
362           Oops, broke automatic string type parsing.
363           Add a test to catch it in future.
364
365 2005-11-22  Andy Wingo  <wingo@pobox.com>
366
367         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
368         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
369         Actually rename the function implementations. Grr.
370
371 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
372
373         * check/gst/capslist.h:
374           Comment test cases
375         * check/gst/gststructure.c: (GST_START_TEST),
376         (gst_structure_suite):
377           Test automatic value type detection in gst_structure_from_string.
378         * gst/gststructure.c: (gst_structure_parse_value):
379           Add fraction as a type we try and guess automatically in
380           caps/structure strings.
381
382 2005-11-22  Andy Wingo  <wingo@pobox.com>
383
384         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
385
386         * gst/gsttagsetter.h:
387         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
388         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
389         (gst_tag_setter_add_tag_valist)
390         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
391         _add_values, _add_valist, and _add_valist_values. Since this is an
392         interface the function suffixes should be more explicit so
393         language binding don't end up with element.add_valist ->
394         gst_tag_setter_add_valist, for example. Fixes #322069.
395
396 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
397
398         * check/gst/gstcaps.c: (GST_START_TEST):
399           Extend caps string tests to check that a caps to string
400           conversion is reversible and produces the same caps.
401
402         * gst/gststructure.c: (gst_structure_value_get_generic_type):
403           Output "fraction" as the generic type fraction range, so caps
404           serialisation and deserialisation works.
405         * check/gst/capslist.h:
406         * gst/gstvalue.c: (gst_value_deserialize_fraction):
407           Support 'MIN' and 'MAX' for deserialising fractions.
408
409 2005-11-22  Andy Wingo  <wingo@pobox.com>
410
411         * gst/gstevent.h (gst_event_new_new_segment)
412         (gst_event_parse_new_segment, gst_event_new_buffer_size)
413         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
414         Renamed from *_newsegment, *_buffersize, *_notarget.
415
416         * scripts/update-funcnames: New script, performs the changes
417         listed above.
418
419 2005-11-22  Wim Taymans  <wim@fluendo.com>
420
421         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
422         Make sure the GstFlowReturn is returned.
423
424         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
425         (gst_bus_add_signal_watch):
426         * gst/gstbus.h:
427         add gst_bus_add_signal_watch_full.
428
429         * gst/gstplugin.c: (gst_plugin_load_file):
430         Small style cleanup.
431
432 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
433
434         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
435           Block the fakesrc srcpad when we send an event, to avoid
436           contention on the stream_lock causing random test failures.
437
438 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
439
440         * check/gst/gstvalue.c: (GST_START_TEST):
441         * gst/gstvalue.c: (gst_value_fraction_subtract):
442           Fix subtraction.
443
444 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
445
446         * gst/gst.h:
447           include "gstchildproxy.h"
448         * gst/gstchildproxy.h:
449         * libs/gst/controller/gstcontroller.h:
450           use G_GNUC_NULL_TERMINATED
451
452 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
453
454         * check/gst/capslist.h:
455         * check/gst/gstcaps.c: (GST_START_TEST):
456         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
457         * gst/gststructure.c: (gst_structure_parse_range),
458         (gst_structure_fixate_field_nearest_fraction):
459         * gst/gststructure.h:
460         * gst/gstvalue.c: (gst_value_init_fraction_range),
461         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
462         (gst_value_collect_fraction_range),
463         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
464         (gst_value_set_fraction_range_full),
465         (gst_value_get_fraction_range_min),
466         (gst_value_get_fraction_range_max),
467         (gst_value_serialize_fraction_range),
468         (gst_value_transform_fraction_range_string),
469         (gst_value_compare_fraction_range),
470         (gst_value_deserialize_fraction_range),
471         (gst_value_intersect_fraction_fraction_range),
472         (gst_value_intersect_fraction_range_fraction_range),
473         (gst_value_subtract_fraction_fraction_range),
474         (gst_value_subtract_fraction_range_fraction),
475         (gst_value_subtract_fraction_range_fraction_range),
476         (gst_value_collect_fraction), (gst_value_fraction_multiply),
477         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
478         (gst_value_transform_string_fraction), (_gst_value_initialize):
479         * gst/gstvalue.h:
480           Implement fraction ranges and extend GstFraction to support
481           arithmetic subtraction, as well as deserialization from integer
482           strings such as "100"
483           Add a testsuite as for int and double range set operations
484
485 2005-11-21  Andy Wingo  <wingo@pobox.com>
486
487         * gst/gsttaglist.h: 
488         * gst/gstcaps.h: 
489         * gst/gststructure.h: Add glib-compat.h.
490
491 2005-11-21  Wim Taymans  <wim@fluendo.com>
492
493         * gst/gstbin.c: (gst_bin_change_state_func):
494         Fix for #321595
495
496 2005-11-21  Wim Taymans  <wim@fluendo.com>
497
498         * gst/gstsegment.h:
499         And add a nice define too.
500
501 2005-11-21  Wim Taymans  <wim@fluendo.com>
502
503         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
504         (gst_segment_new), (gst_segment_free), (gst_segment_init),
505         (gst_segment_set_duration), (gst_segment_set_last_stop),
506         (gst_segment_set_seek), (gst_segment_set_newsegment),
507         (gst_segment_to_stream_time), (gst_segment_to_running_time),
508         (gst_segment_clip):
509         * gst/gstsegment.h:
510         Make binding friendly.
511
512 2005-11-21  Andy Wingo  <wingo@pobox.com>
513
514         * gst/gsttagsetter.h: 
515         * gst/gsttaglist.h: 
516         * gst/gststructure.h: 
517         * gst/gstcaps.h: 
518         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
519         #319940.
520
521         * gst/gsterror.c (_gst_core_errors_init):
522         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
523         category.
524
525         * gst/Makefile.am (gst_headers): Add glib-compat.h.
526         (noinst_HEADERS): noinst the -private.
527
528 2005-11-21  Michael Smith <msmith@fluendo.com>
529
530         * gst/gstplugin.h:
531         * gst/gstregistry.h:
532           Remove unimplemented declarations for which we can see no sensible
533           use.
534
535 2005-11-21  Andy Wingo  <wingo@pobox.com>
536
537         * gst/gst.h: Include glib-compat.h.
538
539         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
540
541         * gst/glib-compat.c: Include the public and the private header.
542
543         * gst/glib-compat-private.h: Copied here from glib-compat.h.
544
545         * gst/gstvalue.c: 
546         * gst/gstpad.c: 
547         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
548
549         * check/gst/gstevent.c (create_custom_events): Check that
550         FLUSH_STOP is serialized.
551
552         * check/elements/identity.c (event_func): 
553         * check/elements/fakesrc.c (event_func): No stream lock, the core
554         takes it.
555
556         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
557         stream lock taking, yay.
558
559         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
560         ensure that core takes the stream lock.
561
562         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
563         lock name change.
564
565         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
566         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
567         it already. For the flush start we do take it though so we get the
568         right preroll state change messages.
569
570         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
571         the stream lock here, the core does it for us.
572
573         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
574         GST_STREAM_GET_LOCK.
575         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
576         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
577         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
578         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
579         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
580         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
581
582         * gst/gstpad.c: Update for stream lock name change.
583
584         * gst/base/gstbasesink.c: Update for preroll lock name change.
585
586 2005-11-21  Wim Taymans  <wim@fluendo.com>
587
588         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
589         (gst_clock_get_master):
590         * gst/gstclock.h:
591         * gst/gstsystemclock.c: (gst_system_clock_init):
592         Convert Clock flags to object flags.
593         Added methods to manage master/slave clocks.
594
595 2005-11-21  Wim Taymans  <wim@fluendo.com>
596
597         * check/gst/gstsegment.c: (GST_START_TEST):
598         * docs/design/part-TODO.txt:
599         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
600         (gst_base_sink_event), (gst_base_sink_do_sync),
601         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
602         (gst_base_sink_query), (gst_base_sink_change_state):
603         * gst/base/gstbasesink.h:
604         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
605         (gst_base_src_default_newsegment),
606         (gst_base_src_configure_segment), (gst_base_src_do_seek),
607         (gst_base_src_get_range), (gst_base_src_loop),
608         (gst_base_src_change_state):
609         * gst/base/gstbasesrc.h:
610         * gst/base/gstbasetransform.c:
611         (gst_base_transform_prepare_output_buf),
612         (gst_base_transform_event), (gst_base_transform_change_state):
613         * gst/base/gstbasetransform.h:
614         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
615         (gst_collect_pads_event):
616         * gst/base/gstcollectpads.h:
617         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
618         (gst_fake_src_create):
619         * gst/elements/gstfakesrc.h:
620         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
621         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
622         (gst_segment_set_last_stop), (gst_segment_set_seek),
623         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
624         (gst_segment_to_running_time), (gst_segment_clip):
625         * gst/gstsegment.h:
626         More segment updates, replace code in plugins with segment
627         helper functions.
628
629 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
630
631         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
632         Don't ignore sscanf results
633
634 2005-11-21  Andy Wingo  <wingo@pobox.com>
635
636         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
637
638         * *.h:
639         * *.c: Ran scripts/update-macros. Oh yes.
640
641         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
642         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
643         GST_GET_LOCK, etc.
644
645         * scripts/update-macros: New script. Run it on your files to
646         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
647         well.
648
649 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
650
651         * docs/gst/Makefile.am:
652         * docs/gst/gstreamer-docs.sgml:
653         * docs/gst/gstreamer-sections.txt:
654         * docs/gst/gstreamer.types:
655         * gst/gstinfo.h:
656           more docs fixes, add new api to the docs
657
658 2005-11-21  Andy Wingo  <wingo@pobox.com>
659
660         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
661         state_broadcast call.
662
663         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
664
665 2005-11-21  Julien MOUTTE  <julien@moutte.net>
666
667         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
668         function calls for arrays.
669
670 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
671
672         * docs/random/ensonic/media-device-daemon.txt:
673           wild idea, can this be done?
674         * docs/gst/gstreamer-sections.txt:
675         * gst/gsterror.h:
676         * gst/gstfilter.c:
677         * gst/gstfilter.h:
678         * gst/gstplugin.h:
679         * gst/gstpluginfeature.c:
680         * gst/gsttrace.c:
681         * gst/gstvalue.c:
682         * gst/gstvalue.h:
683           doc fixes and additions
684
685 2005-11-21  Andy Wingo  <wingo@pobox.com>
686
687         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
688         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
689         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
690         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
691         private to the basesrc implementation.
692
693         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
694         behalf of event function if necessary. It should no longer be
695         necessary to take the stream lock in pad's event functions. Fixes
696         #320299.
697
698 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
699         * docs/gst/gstreamer-sections.txt:
700         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
701         (gst_structure_fixate_field_nearest_double),
702         (gst_structure_fixate_field_boolean):
703         * gst/gststructure.h:
704         * win32/common/libgstreamer.def:
705         * win32/gstreamer.def:
706
707         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
708         (#322027)
709
710 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
711
712         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
713         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
714         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
715         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
716         (gst_fdsrc_uri_handler_init):
717         * gst/elements/gstfdsrc.h:
718           Port fd:// URI handler from 0.8 to fdsrc
719
720 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
721
722         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
723         (gst_value_serialize_fourcc):
724         * gst/gstvalue.h:
725           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
726           consistent with our other format defines (#320324).
727
728 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
729
730         * gst/gstvalue.c: (gst_value_is_fixed):
731           Revert previous commit. Value lists are by definition
732           not fixed, as they are a list of possible values.
733
734 2005-11-21  Andy Wingo  <wingo@pobox.com>
735
736         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
737         during the stable series if we need it. Fixes #319178.
738
739         * gst/gstevent.c (gst_event_new_filler): Removed.
740
741         * check/gst/gstevent.c: Update comment about filler events.
742
743 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
744
745         * gst/gstvalue.c: (gst_value_is_fixed):
746           Should handle both value arrays and value lists.
747
748 2005-11-21  Andy Wingo  <wingo@pobox.com>
749
750         patch by: Alessandro Dessina <alessandro nnva org>
751
752         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
753         functions to access arrays. Fixes #321962.
754
755 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
756
757         * docs/gst/gstreamer.types:
758           gst_collectpads_get_type => gst_collect_pads_get_type.
759           
760         * gst/base/gstbasetransform.c:
761           Remove unused SIGNAL_HANDOFF enum.
762
763 2005-11-21  Andy Wingo  <wingo@pobox.com>
764
765         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
766         the event type (upstream, downstream, serialized). Renamed
767         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
768         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
769         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
770
771         * gst/gstevent.c: Update for new CUSTOM event names.
772
773         * check/gst/gstevent.c: Update check for new CUSTOM event names.
774
775         * gst/gstevent.h:
776         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
777         bug #319392.
778
779 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
780
781         * docs/gst/gstreamer-sections.txt:
782         * win32/common/libgstbase.def:
783         * win32/libgstbase.def:
784         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
785         (gst_collect_pads_class_init), (gst_collect_pads_init),
786         (gst_collect_pads_finalize), (gst_collect_pads_new),
787         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
788         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
789         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
790         (gst_collect_pads_start), (gst_collect_pads_stop),
791         (gst_collect_pads_peek), (gst_collect_pads_pop),
792         (gst_collect_pads_available), (gst_collect_pads_read),
793         (gst_collect_pads_flush), (gst_collect_pads_event),
794         (gst_collect_pads_chain):
795         * gst/base/gstcollectpads.h:
796           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
797           unimplemented functions as unimplemented. Add padding to
798           GstCollectData. (#320766, #320423)
799
800 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
801
802         * gst/gstmessage.c:
803           Improve docs for DURATION message (usage of duration parameter)
804           (#320113)
805
806 2005-11-20  Wim Taymans  <wim@fluendo.com>
807
808         * check/Makefile.am:
809         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
810         (main):
811         * gst/Makefile.am:
812         * gst/gst.h:
813         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
814         (gst_segment_set_seek), (gst_segment_set_newsegment),
815         (gst_segment_to_stream_time), (gst_segment_to_running_time),
816         (gst_segment_clip):
817         * gst/gstsegment.h:
818         Added segment helper structure and methods. Not fully implemented
819         yet.
820         Added segment check.
821
822 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
823
824         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
825           Add a deserialisation test for fractions
826         * examples/metadata/read-metadata.c: (message_loop),
827         (make_pipeline), (main):
828           Fix up metadata reading sample.
829         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
830           Debug format fix
831         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
832           Don't try and fixate empty caps
833         * gst/gst_private.h:
834           Wrap in G_BEGIN_DECLS/G_END_DECLS
835         * gst/gstvalue.c: (gst_value_collect_fraction),
836         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
837         (gst_value_transform_string_fraction),
838         (gst_value_compare_fraction):
839           Add some extra guards to ensure that we don't end up 
840           with an invalid denominator of 0 in a gstfraction and
841           that fractions always get reduced.
842
843 2005-11-20  Wim Taymans  <wim@fluendo.com>
844
845         * docs/gst/gstreamer-sections.txt:
846         * gst/gstbuffer.h:
847         * gst/gstelement.c:
848         * gst/gstformat.c:
849         * gst/gstformat.h:
850         * gst/gstindex.h:
851         * gst/gstquery.c:
852         * gst/gstquery.h:
853         * gst/gstvalue.c:
854         Doc fixes.
855
856 2005-11-20  Wim Taymans  <wim@fluendo.com>
857
858         * docs/design/part-TODO.txt:
859         * gst/gstcaps.h:
860         Make a proper enum of the flag.
861
862 2005-11-19  Wim Taymans  <wim@fluendo.com>
863
864         * docs/design/part-TODO.txt:
865         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
866         (gst_format_to_quark), (gst_format_register):
867         * gst/gstformat.h:
868         * gst/gstquery.c: (_gst_query_initialize),
869         (gst_query_type_get_name), (gst_query_type_to_quark),
870         (gst_query_type_register):
871         * gst/gstquery.h:
872         Add type to quark and type to string conversions.
873
874 2005-11-19  Andy Wingo  <wingo@pobox.com>
875
876         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
877         #320097.
878
879 2005-11-19  Wim Taymans  <wim@fluendo.com>
880
881         * docs/design/part-TODO.txt:
882         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
883         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
884         (gst_bin_handle_message_func):
885         * gst/gstbin.h:
886         Make message handling overridable.
887
888 2005-11-19  Andy Wingo  <wingo@pobox.com>
889
890         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
891
892         * gst/gstclock.h:
893         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
894         be a GstClockTime.
895         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
896         is a GstClockTime. Fixes #321710.
897
898         * gst/gstclock.h (GstClock): Remove offset property. Add
899         internal_calibration and external_calibration. Fix padding. Pad
900         also by GstClockTime so we don't run into problems.
901
902         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
903         (gst_clock_get_rate_offset): Remove.
904         (gst_clock_set_time_adjust): Remove. Fixes #321712.
905
906         * gst/gstutils.h:
907         * gst/gstutils.c (g_static_rec_cond_wait)
908         (g_static_rec_cond_timed_wait): Removed, no longer needed.
909
910         * gst/gstbin.c: Remove terrible continue_state prototype.
911
912         * gst/gstelement.h (gst_element_continue_state): Make public.
913
914         * gst/gstelement.h:
915         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
916         by continue_state. Fixes #319389.
917
918         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
919         Really fixes #168438. However I don't see anywhere where the
920         filter function is called... stupid GStreamer...
921         
922         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
923         don't have a dispose function, so it won't get called when the
924         object is unreffed, but oh well!
925
926         * gst/gstindex.c (gst_index_set_filter_full): New API function,
927         allows a destroy function to be set so user_data can be freed.
928         Fixes #168438.
929         (gst_index_set_filter): Call gst_index_set_filter_full.
930
931         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
932
933         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
934         string should produce an error, given the lack of a way to
935         represent NULL strings. Fixes #165650.
936         
937         * gst/gstvalue.h: 
938         * gst/gstvalue.c (gst_value_array_append_value) 
939         (gst_value_array_prepend_value, gst_value_array_get_size) 
940         (gst_value_array_get_value): New API, copied from
941         gst_value_list_*, only operates on arrays.
942         (gst_value_list_append_value, gst_value_list_prepend_value) 
943         (gst_value_list_concat, gst_value_list_get_size) 
944         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
945
946         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
947         init_list, because it works on both.
948         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
949         (gst_value_copy_list_or_array): Renamed from copy_list.
950         (gst_value_free_list_or_array): Renamed from free_list.
951         (gst_value_collect_list_or_array): Renamed from collect_list.
952         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
953         (gst_value_list_or_array_peek_pointer): Renamed from
954         list_peek_pointer.
955         (_gst_value_array_value_table, _gst_value_list_value_table):
956         Update value table functions.
957         (gst_value_compare_list_or_array): Renamed from compare_list.
958
959         * gsttaglist.h: Whoops, foreach function returns void. Also fix
960         some constness.
961
962         * gst/gsttaglist.c:
963         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
964         GstTagList*. Fixes #143472.
965
966         * gst/gststructure.h: Clarify what the foreach/map functions can
967         or can't do to their arguments.
968
969 2005-11-18  Wim Taymans  <wim@fluendo.com>
970
971         * gst/gstclock.c: (gst_clock_set_calibration),
972         (gst_clock_get_calibration):
973         Doc and API fixes.
974         Calibration can be set with internal time equal to current
975         internal time too.
976
977 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
978
979         * gst/gsterror.c:
980         * gst/gsterror.h:
981           document
982
983 2005-11-18  Andy Wingo  <wingo@pobox.com>
984
985         * configure.ac: 
986         * pkgconfig/gstreamer-net.pc.in:
987         * pkgconfig/gstreamer-net-uninstalled.pc.in:
988         * pkgconfig/Makefile.am: Add net pkgconfig files.
989
990 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
991
992         * gst/gstcaps.c:
993         * gst/gstghostpad.c:
994         * gst/gsttrace.c:
995         * gst/gstvalue.c:
996         * gst/gstvalue.h:
997           docs fixes
998
999 2005-11-18  Andy Wingo  <wingo@pobox.com>
1000
1001         * gst/net/gstnetclientclock.c: Turn off debugging.
1002
1003         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1004         times connverge somewhat. Can't make a real test.
1005
1006         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1007         integer arithmetic. Return the minimum of the domain, which can be
1008         set as "internal" for gst_clock_set_calibration.
1009         (gst_net_client_clock_observe_times): Call _set_calibration.
1010         (gst_net_client_clock_new): Call _set_calibration instead of
1011         rate_offset.
1012
1013         * check/net/gstnetclientclock.c (test_functioning): Use the right
1014         adjustment api.
1015
1016         * gst/gstclock.h:
1017         * gst/gstclock.c (gst_clock_get_calibration) 
1018         (gst_clock_set_calibration): New functions, obsolete the ones I
1019         added yesterday. Doh. Precision issues mean we have to extrapolate
1020         from a point in the more recent past than 1970.
1021         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1022         obsolete.
1023         (gst_clock_adjust_unlocked): Use the right calibration data.
1024
1025 2005-11-18  Edward Hervey  <edward@fluendo.com>
1026
1027         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1028         Also reset the ->current_* values in READY->PAUSED
1029
1030 2005-11-18  Andy Wingo  <wingo@pobox.com>
1031
1032         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1033         Whoops, check the right fd. Also add some debugging.
1034         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1035         (do_linear_regression): Add a crapload of debugging. Subtract off
1036         the minimum values from the input series to discard unneeded bits.
1037         Use only int arithmetic. There is still double arithmetic when
1038         calculating the intercept that needs fixing. Return boolean to
1039         indicate success; FALSE would mean the domain or range is too
1040         great. Still needs fixes.
1041
1042 2005-11-18  Wim Taymans  <wim@fluendo.com>
1043
1044         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1045         For the current position in stream time, we need to subtract
1046         accumulated time.
1047         
1048         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1049         Release lock before calling the callback function of async
1050         entries.
1051
1052 2005-11-18  Andy Wingo  <wingo@pobox.com>
1053
1054         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1055         Port goes all the way to MAXUINT16.
1056
1057         * gst/net/gstnettimeprovider.c: Make the port range the same as
1058         for the kernel: 0 assigns, otherwise ports are less than
1059         MAXUINT16.
1060
1061         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1062         port change.
1063
1064         * check/net/gstnetclientclock.c (test_functioning): Add the start
1065         of another test. 
1066
1067 2005-11-18  Wim Taymans  <wim@fluendo.com>
1068
1069         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1070         (gst_bin_remove_func), (bin_bus_handler):
1071         * gst/gstbin.h:
1072         Removing a clock provider from a bin, triggers a clock lost message
1073         so that a new clock will be selected.
1074         Adding a clock to a bin triggers a clock provider message.
1075         Make sure we reselect a clock when we received a clock lost message.
1076         Keep a reference to the element that provided the clock.
1077
1078 2005-11-18  Andy Wingo  <wingo@pobox.com>
1079
1080         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1081         the clock initially so it produces values around the base time.
1082         (gst_net_client_clock_class_init): Typo fix.
1083         (gst_net_client_clock_thread): Add note on when the socket gets
1084         closed.
1085
1086 2005-11-17  Wim Taymans  <wim@fluendo.com>
1087
1088         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1089         Free remote and local time arrays.
1090
1091 2005-11-17  Wim Taymans  <wim@fluendo.com>
1092
1093         * gst/net/gstnetclientclock.c: (do_linear_regression),
1094         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1095         Fix compilation, uninitialized vars and a forgotten continue.
1096
1097 2005-11-17  Andy Wingo  <wingo@pobox.com>
1098
1099         * check/Makefile.am (check_PROGRAMS): 
1100         * check/net/gstnetclientclock.c: Add a most minimal test for the
1101         net client clock. More to come later.
1102
1103         * gst/net/gstnet.h: 
1104         * gst/net/Makefile.am: Add netclientclock.
1105
1106         * gst/net/gstnetclientclock.h:
1107         * gst/net/gstnetclientclock.c: New files, implement an untested
1108         GstClock that takes its time from a network time provider.
1109         Implements the algorithm in network-clock.scm.
1110
1111         * tests/network-clock.scm (*window-size*): Rename from
1112         *queue-length*.
1113         * tests/network-clock.scm (network-time): 
1114         * tests/network-clock-utils.scm (q-push): Update callers.
1115
1116 2005-11-17  Wim Taymans  <wim@fluendo.com>
1117
1118         * gst/gstbin.c: (gst_bin_provide_clock_func),
1119         (gst_bin_sort_iterator_new):
1120         And unref the child too..
1121
1122 2005-11-17  Wim Taymans  <wim@fluendo.com>
1123
1124         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1125         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1126         Refactor the sort iterator so it can be used while holding the
1127         LOCK too.
1128         Make clock selection select a clock closest to the source.
1129
1130 2005-11-17  Michael Smith <msmith@fluendo.com>
1131
1132         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1133         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1134         * gst/gstclock.h:
1135           Anonymous structs are a gcc (and some other compilers) extension, so
1136           don't use them. Since this is only for ABI-compatibility, and our
1137           API/ABI freeze is over in a few days, this whole thing will only
1138           last a few days, so don't bother trying to think up a meaningful
1139           name for the struct.
1140
1141 2005-11-17  Andy Wingo  <wingo@pobox.com>
1142
1143         * gst/gstclock.h (GstClock): Add rate and offset properties,
1144         preserving ABI stability. Add rate/offset accessors. Will file bug
1145         for the freeze break.
1146
1147         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1148         and offset, trying to keep precision and avoiding
1149         underflow/overflow.
1150         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1151         functions. Make gst_clock_set_time_adjust obsolete.
1152         (gst_clock_set_time_adjust): Note that this function is obsolete.
1153         Will file bug soon.
1154
1155         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1156         greppable by using GST_PADDING-1+1.
1157
1158 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1159
1160         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1161
1162         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1163           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1164
1165         * gst/gstpadtemplate.h:
1166         * gst/gstpluginfeature.h:
1167           Don't use c++ style comments in headers (#321638).
1168
1169 2005-11-16  Andy Wingo  <wingo@pobox.com>
1170
1171         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1172         buffer.
1173
1174         * check/net/gstnettimeprovider.c: Check to see that the time
1175         provider actually provides times. Works, yo!
1176
1177 2005-11-16  Wim Taymans  <wim@fluendo.com>
1178
1179         * check/Makefile.am:
1180         Enable more tests.
1181
1182         * check/elements/fakesrc.c: (GST_START_TEST):
1183         Set element to NULL before disposing it.
1184
1185 2005-11-16  Andy Wingo  <wingo@pobox.com>
1186
1187         * gst/net/Makefile.am:
1188         * gst/net/gstnet.h:
1189         * gst/net/gstnettimeprovider.c: 
1190         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1191         provider, include it from gstnet.h, and add it to the build.
1192
1193         * gst/net/gstnettimepacket.h: 
1194         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1195         sending and receiving.
1196
1197 2005-11-16  Wim Taymans  <wim@fluendo.com>
1198
1199         * check/Makefile.am:
1200         Enable valgrind check.
1201
1202         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1203         (gst_fake_src_alloc_buffer):
1204         Fix memleak.
1205
1206 2005-11-16  Wim Taymans  <wim@fluendo.com>
1207
1208         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1209         Call parent finalize too.
1210
1211 2005-11-16  Wim Taymans  <wim@fluendo.com>
1212
1213         * check/Makefile.am:
1214         Enable valgrind check that should work fine now.
1215
1216         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1217         * gst/gstqueue.c: (gst_queue_init):
1218         Fix memleaks in pad allocation.
1219
1220 2005-11-16  Andy Wingo  <wingo@pobox.com>
1221
1222         * gst/net/Makefile.am:
1223         * gst/net/gstnet.h: New part of core to hold network elements and
1224         objects. Put in core because it exposes API that applications want
1225         to use. The library is named libgstnet-tempname right now because
1226         of the existing libgstnet in gst-plugins-base. Solution is
1227         probably to rename the one in plugins-base; will file a bug for
1228         the freeze break.
1229
1230         * gst/net/gstnettimeprovider.c: 
1231         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1232         get_time call over the network.
1233
1234         * configure.ac: 
1235         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1236
1237         * check/Makefile.am:
1238         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1239         get additions shortly.
1240
1241 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1242
1243         * gst/gstpad.c: (gst_pad_new_from_static_template):
1244         * gst/gstpad.h:
1245           add gst_pad_new_from_static_template functions
1246         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1247         (gst_check_setup_sink_pad):
1248         * gst/elements/gsttee.c: (gst_tee_init):
1249           and use them
1250
1251 2005-11-16  Wim Taymans  <wim@fluendo.com>
1252
1253         * gst/gstpad.c: (gst_pad_pause_task):
1254         Removed warning, it's not really an error either.
1255
1256 2005-11-16  Wim Taymans  <wim@fluendo.com>
1257
1258         * gst/base/gstbasetransform.c:
1259         (gst_base_transform_prepare_output_buf),
1260         (gst_base_transform_event):
1261         Check if the caps are NULL, this can happen if the element
1262         is shutting down and the pad caps are set to NULL.
1263
1264 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1265
1266         * gst/elements/gsttee.c: (gst_tee_init):
1267           fix pad template leak in tee
1268
1269 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1270
1271         * gst/glib-compat.c: (g_value_dup_gst_object):
1272         * gst/glib-compat.h:
1273         * gst/gstpad.c: (gst_pad_set_property):
1274           use gst_object_ref when setting the pad template; this will
1275           trigger the pad template leaks on GLib 2.6 and the slaves
1276
1277 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1278
1279         * gst/glib-compat.c: (gst_flags_get_first_value):
1280         * gst/glib-compat.h:
1281         * gst/gstregistryxml.c:
1282           remove functions copied from GLib 2.6
1283
1284 2005-11-16  Michael Smith <msmith@fluendo.com>
1285
1286         * gst/Makefile.am:
1287           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1288           do, but only breaks with newer valgrind versions. We're not a
1289           valgrind tool, we have no link-time dependencies on libcoregrind.
1290
1291 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1292
1293         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1294           some debug changes
1295         * gst/gstmessage.h:
1296           typo fixes
1297
1298 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1299
1300         * gst/base/gstbasesrc.c: (gst_base_src_init):
1301         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1302         * gst/gstqueue.c: (gst_queue_init):
1303         * gst/gstregistryxml.c: (load_feature):
1304           Revert all these unrefs, they don't even pass make check !
1305
1306 2005-11-15  Johan Dahlin  <johan@gnome.org>
1307
1308         * gst/base/gstbasesrc.c: (gst_base_src_init):
1309         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1310         * gst/gstqueue.c: (gst_queue_init): 
1311         Free pad templates, fixes a couple of leaks.
1312
1313 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1314
1315         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1316
1317         * gst/gstpad.c: (gst_pad_get_property):
1318           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1319           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1320           (#321452)
1321
1322 2005-11-15  Wim Taymans  <wim@fluendo.com>
1323
1324         * gst/gstevent.c:
1325         Small doc update.
1326
1327 2005-11-15  Andy Wingo  <wingo@pobox.com>
1328
1329         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1330
1331         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1332         using GST_CLOCK_TIME_NONE to disable base time management.
1333         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1334         time if it was NONE before.
1335         (gst_pipeline_change_state): Only munge the base time if
1336         stream_time != GST_CLOCK_TIME_NONE.
1337
1338         * check/gst/gstpipeline.c (test_base_time): Punt around the
1339         problem of the probe not being called, because that's not the
1340         issue I'm looking at. Add a check that setting stream_time to NONE
1341         disables base time management.
1342         
1343 2005-11-15  Wim Taymans  <wim@fluendo.com>
1344
1345         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1346         segment_stop == -1 at startup.
1347
1348         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1349         (gst_base_transform_change_state):
1350         Init segment values at start.
1351
1352 2005-11-15  Wim Taymans  <wim@fluendo.com>
1353
1354         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1355         0 segment values are 0 in any format.
1356
1357         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1358         * gst/base/gstbasetransform.h:
1359         Parse newsegment correctly in basetransform
1360
1361         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1362         Sync to clock using updated segment values.
1363
1364 2005-11-15  Andy Wingo  <wingo@pobox.com>
1365
1366         * check/gst/gstpipeline.c (test_base_time): Add check that the
1367         base time and stream time are reset correctly.
1368
1369 2005-11-15  Wim Taymans  <wim@fluendo.com>
1370
1371         * docs/design/part-TODO.txt:
1372         Some more TODO items.
1373
1374 2005-11-15  Andy Wingo  <wingo@pobox.com>
1375
1376         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1377         error if the user selected "no clock" as the clocking method.
1378
1379         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1380         timestamps with live capture.
1381
1382         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1383         is 0 but we are a live source, timestamp the buffers using the
1384         element's clock.
1385
1386 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1387
1388         * docs/gst/gstreamer-sections.txt:
1389         * gst/gsterror.c:
1390         * gst/gstghostpad.c:
1391         * gst/gstobject.h:
1392         * gst/gstxml.c:
1393           more section docs
1394
1395 2005-11-14  Wim Taymans  <wim@fluendo.com>
1396
1397         * common/gst.supp:
1398           add suppressions from Wim's Debian machine
1399
1400 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1401
1402         * common/gst.supp:
1403           add suppressions from Andy's AMD64 Ubuntu machine
1404
1405 2005-11-14  Andy Wingo  <wingo@pobox.com>
1406
1407         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1408         STATE_LOCK not necessary. Fixes #311489.
1409
1410         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1411         #305291.
1412
1413         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1414         this function is not implemented.
1415
1416 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1417
1418         * gst/base/gstbasetransform.c:
1419         (gst_base_transform_prepare_output_buf):
1420         Ref the source pad caps while we need them.
1421         Fixes (#321386)
1422
1423 2005-11-11  Wim Taymans  <wim@fluendo.com>
1424
1425         * docs/gst/gstreamer-sections.txt:
1426         Added some docs for GstCollectData.
1427
1428         * gst/base/gstadapter.c:
1429         Some small code example fix.
1430
1431         * gst/base/gstcollectpads.c:
1432         * gst/base/gstcollectpads.h:
1433         Document some more.
1434
1435 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1436
1437         * configure.ac: back to HEAD
1438
1439 === release 0.9.5 ===
1440
1441 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
1442
1443         * configure.ac:
1444           releasing 0.9.5, "Bike Lunch Day"
1445
1446 2005-11-11  Wim Taymans  <wim@fluendo.com>
1447
1448         * gst/gstbuffer.c: (_gst_buffer_copy):
1449         Copy more flags.
1450
1451         * gst/gstcaps.c: (gst_caps_is_equal):
1452         Fix some docs.
1453         Make _is_equal fast in the trivial cases.
1454
1455         * gst/gstminiobject.c:
1456         * gst/gstminiobject.h:
1457         More docs. Spifify .h file.
1458
1459         * gst/gstutils.c:
1460         Small doc update.
1461
1462 2005-11-11  Wim Taymans  <wim@fluendo.com>
1463
1464         * gst/base/gstbasetransform.c:
1465         (gst_base_transform_prepare_output_buf),
1466         (gst_base_transform_handle_buffer):
1467         Small cleanups.
1468         If we're processing a buffer and need to allocate an output
1469         buffer, we cannot accept a format change. If we did get a 
1470         format change, we have to alloc a buffer ourselves of the 
1471         right size.
1472
1473 2005-11-11  Wim Taymans  <wim@fluendo.com>
1474
1475         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1476         While checking the flag for reentrancy in the gstcaps function
1477         is nice to detect recursive invocations, it also makes it 
1478         impossible to call getcaps from multiple threads, which must be
1479         possible. So, checking for recursive calls has to go.
1480
1481 2005-11-11  Michael Smith <msmith@fluendo.com>
1482
1483         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1484           Don't sync on buffers that fall partially outside our current
1485           segment. Prevents an assertion failure/abort playing some files.
1486
1487 2005-11-10  Andy Wingo  <wingo@pobox.com>
1488
1489         * check/gst/gstbin.c (test_message_state_changed_children): Style
1490         fix..
1491
1492         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1493         gst_bus_poll with the signal watch. Ensures that poll and a signal
1494         watch see the same messages.
1495
1496         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1497         a poll and a watch at the same time get the same messages.
1498
1499 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1500
1501         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1502         * gst/gstcaps.c: (gst_caps_intersect):
1503           Don't call gst_caps_do_simplify - it doesn't respect order of caps
1504           and it's not needed.
1505
1506 2005-11-10  Wim Taymans  <wim@fluendo.com>
1507
1508         * docs/design/part-TODO.txt:
1509         Updated todo.
1510
1511 2005-11-10  Wim Taymans  <wim@fluendo.com>
1512
1513         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1514         * gst/base/gstbasesrc.c: (gst_base_src_wait),
1515         (gst_base_src_do_sync), (gst_base_src_get_range):
1516         Implement clock sync in base class.
1517
1518 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1519
1520         patch by: Tim-Philipp Müller <tim at centricular dot net>
1521
1522         * gst/gststructure.c: (gst_structure_parse_field),
1523         (gst_structure_from_string):
1524           Forward-port a 0.8 patch to handle escaped spaces in structure string,
1525           so that gst_parse_launch() can deal with spaces in filtered link
1526           caps (fixes #164479)
1527         * check/gst/capslist.h:
1528         * check/gst/gststructure.c: (GST_START_TEST):
1529           add unit tests for this change
1530
1531 2005-11-10  Wim Taymans  <wim@fluendo.com>
1532
1533         * docs/gst/gstreamer-sections.txt:
1534         * gst/gstelement.c:
1535         * gst/gstelement.h:
1536         Fix docs, move some STATE macros to private.
1537
1538 2005-11-10  Wim Taymans  <wim@fluendo.com>
1539
1540         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1541         Added check for bug #317341
1542
1543         * gst/gstbuffer.c:
1544         * gst/gstbuffer.h:
1545         Some more spiffifying.
1546
1547         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1548         Call peer linkfunction if we are a source pad. Totally fixes
1549         #317341
1550
1551         * gst/gstpad.c:
1552         Update docs, source pads should call the peer linkfunction
1553         so they can atomically perform the pad link.
1554
1555 2005-11-09  Wim Taymans  <wim@fluendo.com>
1556
1557         * gst/gstbuffer.c:
1558         * gst/gstbuffer.h:
1559         Uber-spiffy-spiffify some more.
1560
1561 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
1562
1563         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1564         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1565         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1566         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1567         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1568         * gst/gstpad.c: (gst_pad_init):
1569           Use GST_DEBUG_FUNCPTR() more extensively.
1570
1571 2005-11-09  Wim Taymans  <wim@fluendo.com>
1572
1573         * gst/gstobject.c: (gst_object_class_init):
1574         * gst/gstobject.h:
1575         Documentation fixes.
1576
1577 2005-11-09  Edward Hervey  <edward@fluendo.com>
1578
1579         * gst/gsttypefindfactory.c:
1580         Fix docs.
1581         
1582 2005-11-09  Edward Hervey  <edward@fluendo.com>
1583
1584         * gst/base/gsttypefindhelper.c:
1585         * gst/gsttypefind.c:
1586         * gst/gsttypefind.h:
1587         Fix docs.
1588
1589 2005-11-09  Wim Taymans  <wim@fluendo.com>
1590
1591         * gst/gstiterator.c:
1592         Fix revision data.
1593
1594         * gst/gsttask.c:
1595         * gst/gsttask.h:
1596         Fix docs.
1597
1598 2005-11-09  Wim Taymans  <wim@fluendo.com>
1599
1600         * gst/gstevent.h:
1601         * gst/gsturi.h:
1602         Fix docs.
1603
1604 2005-11-09  Wim Taymans  <wim@fluendo.com>
1605
1606         * docs/gst/gstreamer-sections.txt:
1607         Moved the message async delivery private lock and cond
1608         to the private section.
1609
1610         * gst/gstmessage.c:
1611         * gst/gstmessage.h:
1612         Fixed docs.
1613
1614 2005-11-09  Edward Hervey  <edward@fluendo.com>
1615
1616         * docs/gst/gstreamer-sections.txt:
1617         * gst/gsturi.c:
1618         * gst/gsturi.h:
1619         Document GstURIHandler
1620
1621 2005-11-09  Wim Taymans  <wim@fluendo.com>
1622
1623         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1624         (gst_iterator_find_custom):
1625         * gst/gstiterator.h:
1626         Fix iterator docs.
1627
1628 2005-11-09  Wim Taymans  <wim@fluendo.com>
1629
1630         * gst/gstbin.h:
1631         Document another field.
1632
1633         * gst/gststructure.c:
1634         * gst/gststructure.h:
1635         Document.
1636
1637 2005-11-09  Wim Taymans  <wim@fluendo.com>
1638
1639         * gst/gstbin.h:
1640         Documented structs.
1641
1642 2005-11-09  Wim Taymans  <wim@fluendo.com>
1643
1644         * docs/gst/gstreamer-sections.txt:
1645         Added some new macros.
1646
1647         * gst/gstclock.c:
1648         * gst/gstclock.h:
1649         * gst/gstobject.h:
1650         Docs updates.
1651
1652 2005-11-09  Wim Taymans  <wim@fluendo.com>
1653
1654         * docs/design/part-TODO.txt:
1655         Some more items for the TODO
1656
1657         * gst/gstcaps.c:
1658         * gst/gstcaps.h:
1659         Document GstCaps.
1660
1661 2005-11-09  Andy Wingo  <wingo@pobox.com>
1662
1663         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1664         to work on something else now tho...
1665
1666         * gst/base/gstadapter.c: More adapter docs.
1667
1668         * gst/elements/gstfilesink.c (gst_file_sink_start) 
1669         (gst_file_sink_stop): New functions, replace the state change
1670         handler.
1671         (gst_file_sink_class_init): Hook up the start and stop functions.
1672         (gst_file_sink_base_init): Don't set the state change handler any
1673         more. It was a bit ugly too, being set from here...
1674         (gst_file_sink_get_property, gst_file_sink_set_property):
1675         Cleanups...
1676         (gst_file_sink_set_location): More robust check that doesn't call
1677         GST_STATE. Ugggggg.
1678
1679 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
1680
1681         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1682           Hold STREAM_LOCK while pushing newsegment or tag events as well.
1683
1684 2005-11-08  Wim Taymans  <wim@fluendo.com>
1685
1686         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1687         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1688         (gst_base_sink_chain), (gst_base_sink_change_state):
1689         * gst/base/gstbasesink.h:
1690         * gst/base/gstbasesrc.h:
1691         * gst/gstelement.h:
1692         * gst/gstevent.h:
1693         Avoid excessive typechecking in macros.
1694
1695         * gst/gstminiobject.c: (gst_mini_object_get_type),
1696         (gst_mini_object_init), (gst_mini_object_new),
1697         (gst_mini_object_free):
1698         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1699         (gst_object_finalize):
1700         Remove cruft code, optimize alloc_trace.
1701
1702 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1703
1704         * docs/faq/gst-uninstalled:
1705           fix up PS1 for systems that try to reset it
1706
1707 2005-11-07  Wim Taymans  <wim@fluendo.com>
1708
1709         * gst/base/gstbasesrc.c: (gst_base_src_init),
1710         (gst_base_src_get_range):
1711         Set the segment_end to -1 initially. Fixed typefind.
1712
1713 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1714
1715         * gst/base/gstadapter.c:
1716           Debug category should be 'adapter', not 'GstAdapter'.
1717           
1718         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1719         (gst_collectpads_class_init), (gst_collectpads_init),
1720         (gst_collectpads_peek), (gst_collectpads_pop),
1721         (gst_collectpads_event), (gst_collectpads_chain):
1722           Add debug category and some debugging output. Use boilerplate
1723           macros. Remove some extraneous words from docs.
1724
1725 2005-11-05  Andy Wingo  <wingo@pobox.com>
1726
1727         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1728         macro.
1729
1730 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1731
1732         * docs/gst/gstreamer-sections.txt:
1733         * gst/gstcaps.h:
1734         * gst/gstinfo.c:
1735         * gst/gstminiobject.h:
1736         * gst/gstobject.h:
1737         * gst/gstutils.h:
1738           more docs added
1739
1740 2005-11-04  Wim Taymans  <wim@fluendo.com>
1741
1742         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1743         Small update to stop at the configured segment_end
1744         position.
1745
1746 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1747
1748         * gst/gstregistry.c:
1749         * gst/gstregistry.h:
1750           added missing docs
1751
1752 2005-11-04  Edward Hervey  <edward@fluendo.com>
1753
1754         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1755         Check if we are doing a segment seek and have arrived at the
1756         end of that segment.
1757
1758 2005-11-04  Wim Taymans  <wim@fluendo.com>
1759
1760         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1761         Don't leak a mutex unlock in case of an error.
1762
1763         * gst/gstbus.h:
1764         Doc fixes.
1765
1766 2005-11-04  Wim Taymans  <wim@fluendo.com>
1767
1768         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1769         (gst_bus_post):
1770         Get the context to wake up only once.
1771
1772 2005-11-03  Wim Taymans  <wim@fluendo.com>
1773
1774         * check/states/sinks.c: (GST_START_TEST):
1775         Uncomment fixed check.
1776
1777         * docs/design/part-TODO.txt:
1778         Updated TODO.
1779
1780         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1781         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1782         (gst_base_sink_get_position):
1783         If we are going to PLAYING, post the right pending state
1784         when we post the intermediate paused message.
1785
1786         * gst/gstelement.c: (gst_element_continue_state),
1787         (gst_element_set_state_func), (gst_element_change_state):
1788         Don't post state changes that were between the same state
1789         and were not ASYNC.
1790
1791 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1792
1793         * docs/gst/gstreamer-sections.txt:
1794         * gst/gstcaps.h:
1795         * gst/gstinfo.c:
1796         * gst/gstminiobject.h:
1797         * gst/gstobject.h:
1798         * gst/gstutils.h:
1799           more docs and doc style fixes
1800
1801 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1802
1803         * docs/gst/gstreamer-sections.txt:
1804         * gst/gstelement.c:
1805         * gst/gstminiobject.c:
1806         doc fixes
1807
1808 2005-11-03  Andy Wingo  <wingo@pobox.com>
1809
1810         * check/states/sinks.c (test_livesrc_sink): Add checks that the
1811         state-changed messages actually have the right order and the right
1812         values.
1813
1814 2005-11-03  Wim Taymans  <wim@fluendo.com>
1815
1816         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1817         Added some more checks. Specifically the case where NO_PREROLL
1818         elements are in the pipeline.
1819
1820         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1821         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1822         (gst_base_sink_get_position):
1823         Post READY->PAUSED state change messages too.
1824         Fix bug where VOID was posted as pending state...
1825
1826         * gst/gstbin.c: (gst_bin_recalc_state):
1827         use _element_continue_state() to continue the state change.
1828
1829         * gst/gstelement.c: (gst_element_continue_state),
1830         (gst_element_commit_state), (gst_element_set_state_func),
1831         (gst_element_change_state), (gst_element_change_state_func):
1832         Lots of state change cleanups, assign the STATE_RETURN in
1833         a new continue_state() function that also propagates the
1834         last return value from a state change to the app.
1835         Update some debug statements with proper category.
1836
1837 2005-11-03  Wim Taymans  <wim@fluendo.com>
1838
1839         * docs/design/part-events.txt:
1840         * docs/design/part-gstpipeline.txt:
1841         * docs/design/part-messages.txt:
1842         * docs/design/part-overview.txt:
1843         * docs/design/part-seeking.txt:
1844         * docs/design/part-states.txt:
1845         * docs/design/part-trickmodes.txt:
1846         * docs/manual/advanced-position.xml:
1847         Small docs updates.
1848
1849         * gst/gstobject.h:
1850         People think !! is ugly, this looks better.
1851
1852         * gst/gstpad.c: (gst_pad_set_blocked_async):
1853         Remove !! since it's fixed elsewhere now.
1854
1855 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1856
1857         * gst/gstminiobject.h:
1858         * gst/gstobject.h:
1859           Add !! to _FLAG_IS_SET macros to make the result boolean.
1860
1861 2005-11-03  Edward Hervey  <edward@fluendo.com>
1862
1863         * gst/gstpad.c: (gst_pad_set_blocked_async):
1864         comparing a flag and a gboolean rarely returns coherent results...
1865         Added two characters (!!) to make that work correctly.
1866         
1867 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1868
1869         * gst/gstbus.c: (gst_bus_class_init):
1870           Fix some typos.
1871           
1872         * gst/gstqueue.c: (gst_queue_loop):
1873           Don't assume a miniobject that isn't a buffer is an
1874           event (it could be that there is a refcounting
1875           problem somewhere and the pointer is stale and
1876           refers to an already destroyed miniobject).
1877
1878 2005-11-03  Julien MOUTTE  <julien@moutte.net>
1879
1880         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1881
1882 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1883
1884         * docs/manual/advanced-position.xml:
1885           Update seek example and explanations to current 0.9 API.
1886
1887         * gst/elements/gsttypefindelement.c:
1888         (gst_type_find_element_activate):
1889           Remove FIXME comment now that the found caps
1890           are unreffed.
1891
1892 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1893
1894         * gst/gstregistryxml.c: (load_feature):
1895           Add another GST_STR_NULL instance
1896
1897 2005-11-02  Edward Hervey  <edward@fluendo.com>
1898
1899         * gst/gstpad.c: (handle_pad_block):
1900         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
1901         
1902 2005-11-02  Wim Taymans  <wim@fluendo.com>
1903
1904         * gst/gstbin.c:
1905         Fix typo in docs.
1906
1907         * gst/gstelement.c: (gst_element_commit_state):
1908         Remove unused value.
1909
1910         * gst/gstiterator.c:
1911         Mention that the returned element is reffed in the docs.
1912
1913 2005-11-02  Wim Taymans  <wim@fluendo.com>
1914
1915         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
1916         (gst_pad_push), (gst_pad_push_event):
1917         Unlock blocked pads when they are flushed.
1918
1919 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1920
1921         * docs/README:
1922         * docs/gst/gstreamer-sections.txt:
1923         * gst/gstbin.c:
1924           doc updates
1925         * gst/gstregistry.c: (gst_registry_scan_path_level):
1926           fix for a nasty little missed situation where an installed plug-in
1927           which was in the cache did not get overridden by an uninstalled one
1928           which was earlier in the plugin path because the newly created plugin
1929           for the uninstalled one (not in the registry) didn't get its
1930           ->registered set to TRUE
1931
1932 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1933
1934         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
1935         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
1936         (gst_collectpads_is_active), (gst_collectpads_collect),
1937         (gst_collectpads_collect_range), (gst_collectpads_start),
1938         (gst_collectpads_stop), (gst_collectpads_peek),
1939         (gst_collectpads_pop), (gst_collectpads_available),
1940         (gst_collectpads_read), (gst_collectpads_flush):
1941           Guard public API with assertions.
1942         
1943         * gst/gstpad.c:
1944           Fix docs for gst_pad_set_link_function().
1945
1946 2005-11-02  Johan Dahlin  <johan@gnome.org>
1947
1948         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
1949         Unref found_caps after we used it.
1950
1951 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1952
1953         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
1954           Don't try to ref NULL.
1955
1956 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1957
1958         * win32/common/config.h.in:
1959           provide a GST_FUNCTION that just gives a string for now
1960
1961 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1962
1963         * win32/common/gstenumtypes.c: (register_gst_object_flags),
1964         (gst_object_flags_get_type), (register_gst_bin_flags),
1965         (gst_bin_flags_get_type), (register_gst_buffer_flag),
1966         (gst_buffer_flag_get_type), (register_gst_bus_flags),
1967         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1968         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
1969         (gst_clock_return_get_type), (register_gst_clock_entry_type),
1970         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1971         (gst_clock_flags_get_type), (register_gst_state),
1972         (gst_state_get_type), (register_gst_state_change_return),
1973         (gst_state_change_return_get_type), (register_gst_state_change),
1974         (gst_state_change_get_type), (register_gst_element_flags),
1975         (gst_element_flags_get_type), (register_gst_core_error),
1976         (gst_core_error_get_type), (register_gst_library_error),
1977         (gst_library_error_get_type), (register_gst_resource_error),
1978         (gst_resource_error_get_type), (register_gst_stream_error),
1979         (gst_stream_error_get_type), (register_gst_event_type),
1980         (gst_event_type_get_type), (register_gst_seek_type),
1981         (gst_seek_type_get_type), (register_gst_seek_flags),
1982         (gst_seek_flags_get_type), (register_gst_format),
1983         (gst_format_get_type), (register_gst_index_certainty),
1984         (gst_index_certainty_get_type), (register_gst_index_entry_type),
1985         (gst_index_entry_type_get_type),
1986         (register_gst_index_lookup_method),
1987         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1988         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1989         (gst_index_resolver_method_get_type), (register_gst_index_flags),
1990         (gst_index_flags_get_type), (register_gst_debug_level),
1991         (gst_debug_level_get_type), (register_gst_debug_color_flags),
1992         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1993         (gst_iterator_result_get_type), (register_gst_iterator_item),
1994         (gst_iterator_item_get_type), (register_gst_message_type),
1995         (gst_message_type_get_type), (register_gst_mini_object_flags),
1996         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1997         (gst_pad_link_return_get_type), (register_gst_flow_return),
1998         (gst_flow_return_get_type), (register_gst_activate_mode),
1999         (gst_activate_mode_get_type), (register_gst_pad_direction),
2000         (gst_pad_direction_get_type), (register_gst_pad_flags),
2001         (gst_pad_flags_get_type), (register_gst_pad_presence),
2002         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2003         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2004         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2005         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2006         (gst_plugin_flags_get_type), (register_gst_rank),
2007         (gst_rank_get_type), (register_gst_query_type),
2008         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2009         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2010         (gst_tag_flag_get_type), (register_gst_task_state),
2011         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2012         (gst_alloc_trace_flags_get_type),
2013         (register_gst_type_find_probability),
2014         (gst_type_find_probability_get_type), (register_gst_uri_type),
2015         (gst_uri_type_get_type), (register_gst_parse_error),
2016         (gst_parse_error_get_type):
2017         * win32/common/gstversion.h:
2018           update win32 copies
2019
2020 2005-11-01  Luca Ognibene  <luogni@tin.it>
2021
2022         * gst/gst.c:
2023           fix docs. popt is dead, long live GOption.
2024
2025 2005-10-31  Wim Taymans  <wim@fluendo.com>
2026
2027         * gst/gstbuffer.h:
2028         Small doc fix.
2029
2030 2005-10-31  Andy Wingo  <wingo@pobox.com>
2031
2032         * Boo!
2033
2034         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2035
2036         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2037         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2038         the possibility of deadlocks here if code calling notify() or
2039         set() has a lock that can be taken in another notify handler (ABBA
2040         with class lock and e.g. python GIL state lock).
2041
2042 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2043
2044         * gst/gstbus.c: Doc updates.
2045
2046 2005-10-28  Wim Taymans  <wim@fluendo.com>
2047
2048         * docs/design/part-TODO.txt:
2049         * gst/gstiterator.c:
2050         * gst/gstsystemclock.c:
2051         * gst/gstsystemclock.h:
2052         Doc updates.
2053
2054 2005-10-28  Edward Hervey  <edward@fluendo.com>
2055
2056         * docs/gst/gstreamer-docs.sgml:
2057         * docs/gst/gstreamer-sections.txt:
2058         the GstURIType documentation page is private, it only defines GstURIType
2059         which should be defined in the GstURIHandler page
2060         
2061 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2062
2063         * gst/gstbin.c: (gst_bin_class_init):
2064         * gst/gstbin.h:
2065         * gst/gstutils.c:
2066         Documentation updates.
2067
2068 2005-10-28  Wim Taymans  <wim@fluendo.com>
2069
2070         * docs/gst/gstreamer-sections.txt:
2071         * gst/gstclock.c:
2072         * gst/gstclock.h:
2073         Documented the clocks.
2074
2075 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2076
2077         * docs/gst/gstreamer-sections.txt:
2078           move some macros to private sections
2079         * gst/gstminiobject.c:
2080         * gst/gstminiobject.h:
2081           add descriptions provided by ds and some more
2082         * gst/gstpad.h:
2083           mark macro as to be removed
2084
2085 2005-10-28  Wim Taymans  <wim@fluendo.com>
2086
2087         * docs/design/part-TODO.txt:
2088         Add an item to TODO.
2089
2090         * gst/gstiterator.c: (gst_iterator_fold),
2091         (gst_iterator_find_custom):
2092         * gst/gstiterator.h:
2093         Add iterator docs.
2094
2095 2005-10-28  Wim Taymans  <wim@fluendo.com>
2096
2097         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2098         (gst_base_transform_init):
2099         Don't leak class.
2100
2101         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2102         An EOS event marks the queue as completely filled.
2103
2104 2005-10-27  Wim Taymans  <wim@fluendo.com>
2105
2106         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2107         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2108         Some more debugging.
2109
2110         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2111         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2112         (gst_base_transform_event), (gst_base_transform_getrange),
2113         (gst_base_transform_chain):
2114         * gst/base/gstbasetransform.h:
2115         Fix debugging,
2116         Protect transform and concurrent buffer alloc with a new lock.
2117         Try not to break ABI/API.
2118
2119 2005-10-27  Wim Taymans  <wim@fluendo.com>
2120
2121         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2122         (gst_base_src_init), (gst_base_src_query),
2123         (gst_base_src_default_newsegment),
2124         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2125         (gst_base_src_send_event), (gst_base_src_event_handler),
2126         (gst_base_src_pad_get_range), (gst_base_src_loop),
2127         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2128         (gst_base_src_start), (gst_base_src_deactivate),
2129         (gst_base_src_activate_push), (gst_base_src_change_state):
2130         Move some stuff around and cleanup things.
2131
2132 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2133
2134         * gst/base/gstbasesrc.c: (gst_base_src_query):
2135           Add missing break statements.
2136
2137 2005-10-27  Wim Taymans  <wim@fluendo.com>
2138
2139         * check/gst/gstbin.c: (GST_START_TEST):
2140         An extra refcount is taken in basesrc.
2141
2142         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2143         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2144         (gst_base_src_loop):
2145         Small cleanups, check for flushing after being unlocked from the 
2146         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2147         Don't send out EOS when going to READY.
2148
2149 2005-10-27  Wim Taymans  <wim@fluendo.com>
2150
2151         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2152         (gst_base_sink_get_position):
2153         Some more debug.
2154
2155         * gst/gstbin.c: (message_check), (bin_replace_message),
2156         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2157         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2158         (bin_query_duration_init), (bin_query_duration_fold),
2159         (bin_query_duration_done), (bin_query_generic_fold),
2160         (gst_bin_query):
2161         * tools/gst-launch.c: (main):
2162         Remove old option.
2163
2164 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2165
2166         * examples/controller/audio-example.c: (main):
2167         * examples/queue/queue.c: (event_loop):
2168         * gst/base/gstbasetransform.h:
2169         * gst/gstelement.c: (gst_element_send_event):
2170         * gst/gstevent.h:
2171         * gst/gstpad.c: (gst_pad_send_event):
2172           fixing examples
2173           fixing docs typos
2174           changing log priority in error situations
2175
2176 2005-10-25  Wim Taymans  <wim@fluendo.com>
2177
2178         * gst/gstbin.c: (message_check), (bin_replace_message),
2179         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2180         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2181         (bin_query_duration_init), (bin_query_duration_fold),
2182         (bin_query_duration_done), (bin_query_generic_fold),
2183         (gst_bin_query):
2184         Some doc and debug updates.
2185         Cache previously requested query DURATION for speed. invalidate
2186         cached duration if element posts a DURATION message.
2187
2188 2005-10-25  Wim Taymans  <wim@fluendo.com>
2189
2190         * docs/design/part-TODO.txt:
2191         Update TODO.
2192
2193         * gst/gstbin.c: (message_check), (bin_replace_message),
2194         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2195         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2196         (bin_query_duration_init), (bin_query_duration_fold),
2197         (bin_query_duration_done), (bin_query_generic_fold),
2198         (gst_bin_query):
2199         Handle SEGMENT_START/DONE messages correctly.
2200         More evolved query algorithm that handles duration queries
2201         correctly.
2202
2203         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2204         (gst_element_get_state_func), (gst_element_abort_state),
2205         (gst_element_commit_state), (gst_element_lost_state):
2206         Some more debugging.
2207
2208         * gst/gstmessage.h:
2209         Added doc.
2210
2211 2005-10-25  Wim Taymans  <wim@fluendo.com>
2212
2213         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2214         Don't use invalid stream_time.
2215
2216         * gst/gstevent.c: (gst_event_new_newsegment):
2217         stream_time in newsegment cannot be undefined.
2218
2219 2005-10-24  Wim Taymans  <wim@fluendo.com>
2220
2221         * gst/gstbus.c:
2222         Doc fix.
2223
2224         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2225         (gst_queue_loop):
2226         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2227
2228 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2229
2230         * docs/libs/tmpl/gstdparam.sgml:
2231         * docs/libs/tmpl/gstdplinint.sgml:
2232         * docs/libs/tmpl/gstdpman.sgml:
2233         * docs/libs/tmpl/gstdpsmooth.sgml:
2234         * docs/libs/tmpl/gstunitconvert.sgml:
2235           these are obsolete
2236
2237 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2238
2239         * configure.ac:
2240           back to HEAD
2241
2242 === release 0.9.4 ===
2243
2244 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2245
2246         * configure.ac:
2247           releasing 0.9.4, "Tyrannosaurus Rex"
2248
2249 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2250
2251         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2252         (gst_file_sink_get_current_offset):
2253           Use fseeko() and ftello() if available. When falling back on
2254           lseek() to get the current offset, fflush() first to make sure
2255           everything is up-to-date and we get the right offset.
2256
2257 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2258
2259         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2260         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2261         * gst/gsterror.c: (_gst_stream_errors_init):
2262         * gst/gsterror.h:
2263         * gst/gstqueue.c: (gst_queue_loop):
2264         * po/POTFILES.in:
2265           remove prematurely added error category and clean up the instances
2266
2267 2005-10-21  Wim Taymans  <wim@fluendo.com>
2268
2269         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2270         (gst_base_sink_get_position), (gst_base_sink_query),
2271         (gst_base_sink_change_state):
2272         Simply set the right flag when going to playing, that's all
2273         we need to do instead of calling a function inside the object
2274         lock (that could take the lock as well and deadlock)
2275
2276 2005-10-21  Wim Taymans  <wim@fluendo.com>
2277
2278         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2279         (gst_base_src_loop):
2280         Don't warn, the peer element knows what to do best when
2281         the seek failed, it might try something else.
2282
2283 2005-10-21  Wim Taymans  <wim@fluendo.com>
2284
2285         * gst/base/gstbasesrc.c: (gst_base_src_init),
2286         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2287         Fix seeking.
2288
2289 2005-10-21  Wim Taymans  <wim@fluendo.com>
2290
2291         * docs/design/part-segments.txt:
2292         More docs.
2293
2294         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2295         Correctly set caps, even on the subbufer.
2296
2297 2005-10-21  Wim Taymans  <wim@fluendo.com>
2298
2299         * docs/gst/gstreamer-docs.sgml:
2300         * docs/gst/gstreamer-sections.txt:
2301         * gst/gstelement.h:
2302         * gst/gstevent.c:
2303         * gst/gstevent.h:
2304         * gst/gstmessage.h:
2305         * gst/gstpad.h:
2306         * gst/gstparse.h:
2307         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2308         * gst/gsttask.h:
2309         * gst/gstutils.c:
2310         * gst/gstutils.h:
2311         And 2% more doc coverage.
2312
2313 2005-10-21  Andy Wingo  <wingo@pobox.com>
2314
2315         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2316         position reporting.
2317
2318 2005-10-20  Wim Taymans  <wim@fluendo.com>
2319
2320         * gst/gsterror.c: (gst_error_get_message):
2321         * gst/gstparse.h:
2322         * gst/gstquery.h:
2323         * gst/gststructure.c:
2324         * gst/gsttrace.c:
2325         * gst/gstutils.c:
2326         More docs.
2327
2328 2005-10-20  Wim Taymans  <wim@fluendo.com>
2329
2330         * gst/gstbuffer.h:
2331         * gst/gstpad.c:
2332         * gst/gstparse.c:
2333         Another 1% more coverage.
2334
2335 2005-10-20  Wim Taymans  <wim@fluendo.com>
2336
2337         * docs/gst/gstreamer-sections.txt:
2338         * gst/gstelement.c: (gst_element_get_state_func),
2339         (gst_element_abort_state), (gst_element_commit_state),
2340         (gst_element_lost_state):
2341         * gst/gstevent.h:
2342         * gst/gstquery.c: (gst_query_set_position),
2343         (gst_query_parse_position), (gst_query_set_duration),
2344         (gst_query_parse_duration), (gst_query_new_convert):
2345         * gst/gstutils.c:
2346         Yay! 1% more docs coverage.
2347
2348 2005-10-20  Wim Taymans  <wim@fluendo.com>
2349
2350         * gst/gstpad.h:
2351         * gst/gstquery.c: (gst_query_set_position),
2352         (gst_query_parse_position), (gst_query_set_duration),
2353         (gst_query_parse_duration), (gst_query_new_convert):
2354         * gst/gstquery.h:
2355         * gst/gstutils.c: (gst_element_query_convert):
2356         * gst/gstutils.h:
2357         Docs and consistency fixes.
2358
2359 2005-10-20  Wim Taymans  <wim@fluendo.com>
2360
2361         * gst/gsttask.c:
2362         * gst/gsttask.h:
2363         More docs.
2364
2365 2005-10-20  Wim Taymans  <wim@fluendo.com>
2366
2367         * gst/gstbin.c: (message_check), (bin_replace_message),
2368         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2369         (update_degree), (gst_bin_sort_iterator_next),
2370         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2371         Reworked the message handling a bit, cache the messages instead of
2372         only the senders. alows us to do more in the future.
2373
2374 2005-10-20  Wim Taymans  <wim@fluendo.com>
2375
2376         * docs/design/part-TODO.txt:
2377         Update TODO
2378
2379         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2380         (gst_base_sink_query):
2381         Don't use clock time to report position when in EOS.
2382
2383 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2384
2385         * tools/gst-inspect.c: (print_interfaces),
2386         (print_element_properties_info), (print_element_info):
2387           Fix interface output with gst-inspect -a; don't print
2388           newlines after double/float properties.
2389
2390 2005-10-20  Wim Taymans  <wim@fluendo.com>
2391
2392         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2393         (gst_base_sink_query):
2394         Speed up current position calculation.
2395
2396         * gst/base/gstbasesrc.c: (gst_base_src_query),
2397         (gst_base_src_default_newsegment):
2398         Correctly set stream position in newsegment.
2399
2400         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2401         (update_degree), (gst_bin_sort_iterator_next),
2402         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2403         * gst/gstmessage.c: (gst_message_new_custom):
2404         Clean up debugging info
2405
2406         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2407         (gst_queue_loop), (gst_queue_handle_src_query):
2408         Pause task faster.
2409
2410 2005-10-19  Wim Taymans  <wim@fluendo.com>
2411
2412         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2413         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2414         Fix query handling again.
2415
2416 2005-10-19  Wim Taymans  <wim@fluendo.com>
2417
2418         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2419         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2420         * gst/base/gstbasesrc.c: (gst_base_src_query):
2421         * gst/elements/gstfilesink.c: (gst_file_sink_query):
2422         * gst/elements/gsttypefindelement.c:
2423         (gst_type_find_handle_src_query), (find_element_get_length),
2424         (gst_type_find_element_activate):
2425         API change fix.
2426
2427         * gst/gstquery.c: (gst_query_new_position),
2428         (gst_query_set_position), (gst_query_parse_position),
2429         (gst_query_new_duration), (gst_query_set_duration),
2430         (gst_query_parse_duration), (gst_query_set_segment),
2431         (gst_query_parse_segment):
2432         * gst/gstquery.h:
2433         Bundling query position/duration is not a good idea since duration
2434         does not change much and we don't want to recalculate it for every
2435         position query, so they are separated again..
2436         Base value in segment query is not needed.
2437
2438         * gst/gstqueue.c: (gst_queue_handle_src_query):
2439         * gst/gstutils.c: (gst_element_query_position),
2440         (gst_element_query_duration), (gst_pad_query_position),
2441         (gst_pad_query_duration):
2442         * gst/gstutils.h:
2443         Updates for query API change.
2444         Added some docs here and there.
2445
2446 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
2447
2448         * check/gst/gstbin.c: (GST_START_TEST):
2449         * check/gst/gstghostpad.c: (GST_START_TEST):
2450         * check/pipelines/cleanup.c: (GST_START_TEST):
2451           wait on thread to die so we can check refcount correctly
2452
2453 2005-10-18  Wim Taymans  <wim@fluendo.com>
2454
2455         * check/pipelines/stress.c: (GST_START_TEST):
2456         Make check a little more time consuming.
2457
2458 2005-10-18  Wim Taymans  <wim@fluendo.com>
2459
2460         * check/Makefile.am:
2461         * check/pipelines/stress.c: (GST_START_TEST),
2462         (simple_launch_lines_suite), (main):
2463         Small state change torture test.
2464
2465         * docs/design/part-states.txt:
2466         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2467         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2468         (gst_base_sink_change_state):
2469         Never take state lock from streaming thread, clean up ugly
2470         hacks. Unfortunatly core does not yet support nice ways to
2471         async commit state.
2472         
2473         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2474         (bin_bus_handler):
2475         Start state recalc if a STATE_DIRTY message is posted, but only
2476         on the toplevel bin.
2477
2478         * gst/gstelement.c: (gst_element_sync_state_with_parent),
2479         (gst_element_get_state_func), (gst_element_abort_state),
2480         (gst_element_commit_state), (gst_element_lost_state),
2481         (gst_element_set_state_func), (gst_element_change_state):
2482         * gst/gstelement.h:
2483         State variables are now protected with the LOCK, the state
2484         lock is only used to serialize _set_state().
2485
2486 2005-10-18  Wim Taymans  <wim@fluendo.com>
2487
2488         * check/gst/gstbin.c: (GST_START_TEST):
2489         * check/gst/gstmessage.c: (GST_START_TEST):
2490         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2491         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2492         (bin_bus_handler):
2493         * gst/gstelement.c: (gst_element_abort_state),
2494         (gst_element_commit_state), (gst_element_lost_state):
2495         * gst/gstmessage.c: (gst_message_new_state_changed),
2496         (gst_message_new_state_dirty), (gst_message_new_segment_start),
2497         (gst_message_new_segment_done), (gst_message_new_duration),
2498         (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         Seriously, this is better than a previous commit as we only need
2504         to notify the fact that an element changed state in a streaming
2505         thread, marking the state of the parents dirty, hence the 
2506         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2507         message.
2508
2509 2005-10-18  Wim Taymans  <wim@fluendo.com>
2510
2511         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2512         (gst_bin_recalc_func):
2513         * gst/gstelement.c: (gst_element_set_clock),
2514         (gst_element_abort_state), (gst_element_lost_state):
2515         Cleanups, prepare for state change fixes.
2516
2517 2005-10-18  Wim Taymans  <wim@fluendo.com>
2518
2519         * gst/gstbin.h:
2520         * gst/gstelement.c: (gst_element_class_init),
2521         (gst_element_set_state), (gst_element_set_state_func):
2522         * gst/gstelement.h:
2523         Pending ABI changes.
2524         GThreadPool in GstBinClass to monitor async state changes.
2525         state_cookie in GstElement to detect concurrent gst/set state.
2526         set_state is now virtual too in case a very complicated element
2527         has to be constructed.
2528
2529 2005-10-18  Wim Taymans  <wim@fluendo.com>
2530
2531         * check/gst/gstbin.c: (GST_START_TEST):
2532         * check/gst/gstmessage.c: (GST_START_TEST):
2533         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2534         * gst/gstbin.c: (bin_bus_handler):
2535         * gst/gstelement.c: (gst_element_commit_state),
2536         (gst_element_lost_state):
2537         * gst/gstmessage.c: (gst_message_new_state_changed),
2538         (gst_message_new_segment_start), (gst_message_new_segment_done),
2539         (gst_message_new_duration), (gst_message_parse_state_changed),
2540         (gst_message_parse_segment_start),
2541         (gst_message_parse_segment_done), (gst_message_parse_duration):
2542         * gst/gstmessage.h:
2543         * tools/gst-launch.c: (event_loop):
2544         Make messages future proof.
2545         state-change gets a flag if it was a message comming from the
2546         streaming thread.
2547         segment-start/stop can also be specified in other formats.
2548         A message to notify an app that a pipeline changed playback 
2549         duration.
2550         Also fix a GstMessage leak in -launch
2551
2552 2005-10-18  Andy Wingo  <wingo@pobox.com>
2553
2554         * gst/gstelement.c (gst_element_dispose): More helpful message.
2555
2556 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2557
2558         reviewed by: <delete if not using a buddy>
2559
2560         * common/gtk-doc.mak:
2561
2562 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2563
2564         * gst/gstregistry.c: (gst_registry_scan_path_level):
2565           unref a plug-in we get that was already initialized
2566
2567 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
2568
2569         * docs/gst/gstreamer-sections.txt:
2570         * docs/libs/gstreamer-libs-sections.txt:
2571         * gst/gstelement.h:
2572           add new api entries
2573           hide internal macro
2574
2575 2005-10-17  Andy Wingo  <wingo@pobox.com>
2576
2577         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2578         cleanup.
2579
2580         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2581
2582         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2583
2584         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2585         (gst_element_get_state_func): Better debug message.
2586         (gst_element_commit_state): s/INFO/DEBUG/.
2587         (gst_element_lost_state, gst_element_change_state): 
2588
2589         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2590         (gst_message_new_custom): s/INFO/LOG/.
2591
2592 2005-10-17  Michael Smith <msmith@fluendo.com>
2593
2594         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2595           Check if end time is valid using end time, not start time.
2596
2597 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
2598
2599         * check/gst-libs/controller.c: (GST_START_TEST),
2600         (gst_controller_suite):
2601         * libs/gst/controller/gstcontroller.c:
2602         (gst_controlled_property_set_interpolation_mode):
2603         * libs/gst/controller/gstcontroller.h:
2604         * libs/gst/controller/gstinterpolation.c:
2605         * testsuite/controller/.cvsignore:
2606         * testsuite/controller/Makefile.am:
2607         * testsuite/controller/interpolator.c:
2608           merge controller testsuites
2609           fix broken tests
2610           remove mem-chunk from docs
2611
2612 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2613
2614         * gst/gstmemchunk.c:
2615         * gst/gstmemchunk.h:
2616         * gst/gsttrashstack.c:
2617         * gst/gsttrashstack.h:
2618           out.  get out.  you're fired.  to the Attic !
2619
2620 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2621
2622         * gst/gstcaps.c: (gst_caps_intersect):
2623           fix signedness issues in a (hopefully) correct way
2624         * gst/gstelement.c: (gst_element_pads_activate):
2625           some debugging
2626         * gst/gstobject.c: (gst_object_set_parent):
2627           some debugging
2628
2629 2005-10-17  Julien MOUTTE  <julien@moutte.net>
2630
2631         * gst/gstvalue.h: Fix prototypes.
2632
2633 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2634
2635         * docs/gst/gstreamer-sections.txt:
2636         * gst/gst.c: (gst_version_string):
2637         * gst/gst.h:
2638         * gst/gstversion.h.in:
2639         * win32/common/libgstreamer.def:
2640           add gst_version_string ()
2641
2642 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2643
2644         * configure.ac:
2645           clean up further
2646         * gst/gst.c: (init_post):
2647         * win32/common/config.h.in:
2648           it's PLUGINDIR now
2649         * gst/gstcaps.c: (gst_caps_intersect):
2650           use gint64, the range could be bigger than a guint
2651
2652 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2653
2654         * gst/gstclock.h:
2655           document potential problem in 2038
2656
2657 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2658
2659         * gst/gstcaps.c: (gst_caps_intersect):
2660           Fix guint j diving under 0
2661
2662 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2663
2664         * configure.ac:
2665         * win32/common/config.h:
2666         * win32/common/config.h.in:
2667           check for process.h, declares getpid() on Windows
2668         * gst/gstinfo.c:
2669           include process.h if we have it
2670         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2671         * gst/gstmemchunk.h:
2672           fix signedness issues
2673         * win32/common/libgstreamer.def:
2674           fix get_type's
2675
2676 2005-10-16  Julien MOUTTE  <julien@moutte.net>
2677
2678         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2679         fix. Because of unsigned ints, caps intersection was going nuts and
2680         trying to access structures with G_MAXUINT index. That fixes
2681         videotestsrc ! ffmpegcolorspace ! fakesink
2682         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2683         consistency.
2684
2685 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2686
2687         * configure.ac:
2688           use the gettext macro
2689         * gst/elements/gstelements.c:
2690         * gst/gst.c:
2691         * gst/indexers/gstindexers.c:
2692           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2693         * win32/common/config.h:
2694           updated config.h
2695         * win32/common/config.h.in:
2696           add the template to generate config.h
2697         * win32/common/gstenumtypes.c:
2698         * win32/common/gstversion.h:
2699           updated copies
2700
2701 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2702
2703         * gst/gst.c: (gst_version):
2704         * gst/gstversion.h.in:
2705           add the nano
2706
2707 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2708
2709         * gst/gstevent.h:
2710           Oops, add missing closing bracket.
2711
2712 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2713
2714         * configure.ac:
2715           use common m4's for argument checking
2716
2717 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2718
2719         * docs/gst/gstreamer-sections.txt:
2720         * gst/gstevent.h:
2721           Add GST_EVENT_TYPE_NAME() macro.
2722
2723 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2724
2725         * gst/gstinfo.c:
2726         * gst/gstpluginfeature.c:
2727         * gst/gsttask.c:
2728           privatize more symbols
2729
2730 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2731
2732         * configure.ac:
2733           add srcdir, builddir includes to GST_ALL_CFLAGS, since
2734           everything that uses GStreamer API should have the includes
2735
2736 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2737
2738         * docs/gst/gstreamer-sections.txt:
2739         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2740         * gst/gstvalue.h:
2741           give each value a _get_type, removes the DATA exports
2742
2743 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2744
2745         * gst/gst.c:
2746         * gst/gst.h:
2747           remove _gst_registry_auto_load, not used anymore
2748         * gst/gstbin.c: (gst_bin_get_type):
2749         * gst/gstbin.h:
2750         * gst/gstelement.c: (gst_element_get_type):
2751         * gst/gstelement.h:
2752         * gst/gstobject.c: (gst_object_get_type):
2753         * gst/gstobject.h:
2754         * gst/gstpad.c: (gst_pad_get_type):
2755         * gst/gstpad.h:
2756           make _get_type functions similar, fixes data export from library
2757
2758 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2759
2760         * configure.ac:
2761           correctly make conditionals
2762         * gst/elements/Makefile.am:
2763         * gst/elements/gstelements.c:
2764           fix typo causing fdsrc not to build
2765
2766 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2767
2768         * testsuite/Makefile.am:
2769         * testsuite/bytestream/.cvsignore:
2770         * testsuite/bytestream/Makefile.am:
2771         * testsuite/bytestream/filepadsink.c:
2772         * testsuite/bytestream/gstbstest.c:
2773         * testsuite/bytestream/test1.c:
2774         * testsuite/bytestream/testfile1:
2775         * testsuite/caps/normalisation.c:
2776         * testsuite/caps/random.c: (main):
2777         * testsuite/cleanup/.cvsignore:
2778         * testsuite/cleanup/Makefile.am:
2779         * testsuite/cleanup/cleanup1.c:
2780         * testsuite/cleanup/cleanup2.c:
2781         * testsuite/cleanup/cleanup3.c:
2782         * testsuite/cleanup/cleanup4.c:
2783         * testsuite/cleanup/cleanup5.c:
2784         * testsuite/controller/interpolator.c:
2785         * testsuite/debug/printf_extension.c: (main):
2786         * testsuite/elements/tee.c:
2787         * testsuite/negotiation/.cvsignore:
2788         * testsuite/negotiation/Makefile.am:
2789         * testsuite/negotiation/pad_link.c:
2790         * testsuite/pad/Makefile.am:
2791         * testsuite/pad/chainnopull.c:
2792         * testsuite/pad/getnopush.c:
2793         * testsuite/pad/link.c:
2794         * testsuite/refcounting/sched.c: (create_pipeline):
2795         * testsuite/registry/Makefile.am:
2796         * testsuite/registry/gst-print-formats.c:
2797         * testsuite/schedulers/.cvsignore:
2798         * testsuite/schedulers/142183-2.c:
2799         * testsuite/schedulers/142183.c:
2800         * testsuite/schedulers/143777-2.c:
2801         * testsuite/schedulers/143777.c:
2802         * testsuite/schedulers/147713.c:
2803         * testsuite/schedulers/147819.c:
2804         * testsuite/schedulers/147894-2.c:
2805         * testsuite/schedulers/147894.c:
2806         * testsuite/schedulers/Makefile.am:
2807         * testsuite/schedulers/group_link.c:
2808         * testsuite/schedulers/queue_link.c:
2809         * testsuite/schedulers/relink.c:
2810         * testsuite/schedulers/unlink.c:
2811         * testsuite/schedulers/unref.c:
2812         * testsuite/schedulers/useless_iteration.c:
2813         * testsuite/states/bin.c:
2814           clean out/remove some stuff from the testsuite directories
2815
2816 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2817
2818         * configure.ac:
2819           check for some headers
2820         * gst/elements/Makefile.am:
2821         * gst/elements/gstelements.c:
2822           don't compile fdsrc without sys/socket.h
2823         * gst/indexers/Makefile.am:
2824         * gst/indexers/gstindexers.c: (plugin_init):
2825           don't compile fileindex without mmap
2826
2827 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2828
2829         * configure.ac:
2830           reorganize
2831           clean up
2832           document more
2833           remove cruft
2834         * check/Makefile.am:
2835         * docs/gst/Makefile.am:
2836         * examples/helloworld/Makefile.am:
2837         * gst/Makefile.am:
2838         * gst/base/Makefile.am:
2839         * gst/check/Makefile.am:
2840         * gst/elements/Makefile.am:
2841         * gst/indexers/Makefile.am:
2842         * gst/parse/Makefile.am:
2843         * libs/gst/controller/Makefile.am:
2844         * libs/gst/dataprotocol/Makefile.am:
2845         * examples/helloworld/helloworld.c: (event_loop):
2846           compile fixes, though it's not being compiled currently
2847
2848 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2849
2850         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2851           Add some simple tests for the new taglist date API.
2852
2853 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2854
2855         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2856         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2857           Beautify 'last-message' output: print 'none' for buffer timestamps
2858           and durations if none is set; improve alignment with next messages.
2859
2860 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2861
2862         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2863         * gst/gstpluginfeature.h:
2864         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2865         * gst/gstregistry.h:
2866         * docs/gst/gstreamer-sections.txt:
2867           Add new API to check plugin feature version requirements.
2868
2869         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2870           Some basic tests for the above.         
2871
2872 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2873
2874         * gst/gststructure.c: (gst_structure_to_string):
2875           guard against NULL printf - happens when for example
2876           a message structure with GstClock gets serialized
2877
2878 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2879
2880         * gst/base/gstcollectpads.c: (gst_collectpads_event):
2881           Fix presumable copy'n'pasto.
2882
2883 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2884
2885         * gst/elements/gstfakesrc.h:
2886         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
2887         * gst/elements/gsttypefindelement.c:
2888           fix some signedness
2889         * gst/elements/gstfilesink.c: (gst_file_sink_render):
2890           I wonder if this could actually write +2GB files before
2891
2892 2005-10-13  Andy Wingo  <wingo@pobox.com>
2893
2894         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
2895         Fix Timmeke Waymans bug.
2896         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
2897         string of the proper length to gst_caps_from_string. There's a
2898         potential for, before this fix, that this could cause someone
2899         connecting over the network to cause a segfault if the payload is
2900         not NUL-terminated.
2901
2902 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
2903
2904         * docs/design/draft-push-pull.txt:
2905         * docs/design/part-overview.txt:
2906         * docs/random/TODO-pre-0.9:
2907         * docs/random/old/ChangeLog.gstreamer:
2908         * gst/base/gstpushsrc.c:
2909         * gst/gstclock.c:
2910           fixed typos
2911
2912 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2913
2914         * gst/glib-compat.c: (gst_flags_get_first_value):
2915         * gst/glib-compat.h:
2916         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
2917         (gst_value_compare_double), (gst_value_serialize_flags):
2918           GLib 2.6 g_flags_get_first_value has a bug that triggers an
2919           infinite loop
2920
2921 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2922
2923         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2924         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2925           fix up debugging
2926         * tools/gst-launch.c: (event_loop):
2927           print out clock nicely
2928
2929 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2930
2931         * docs/gst/gstreamer-sections.txt:
2932         * gst/gsttaglist.h:
2933         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
2934         (gst_tag_list_get_date_index):
2935           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
2936           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
2937
2938 2005-10-13  Julien MOUTTE  <julien@moutte.net>
2939
2940         * gst/base/gstcollectpads.c: (gst_collectpads_event),
2941         (gst_collectpads_chain):
2942         * gst/base/gstcollectpads.h: Handle newsegment and store informations
2943         in CollectData.
2944
2945 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
2946
2947         * docs/gst/gstreamer-sections.txt:
2948         * gst/gst.c:
2949         * gst/gsterror.h:
2950         * tools/gst-inspect.c: (main):
2951         * tools/gst-launch.c: (main):
2952         * tools/gst-run.c: (main):
2953         * tools/gst-xmlinspect.c: (main):
2954           fix GOption context leaks
2955           doc fixes
2956
2957 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2958
2959         * gst/gstbus.c:
2960           use HAVE_UNISTD_H
2961         * win32/common/config.h:
2962           update config
2963         * win32/vs6/grammar.dsp:
2964         * win32/vs6/libgstelements.dsp:
2965         * win32/vs6/libgstreamer.dsp:
2966           update vs6 files
2967
2968 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2969
2970         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2971         * gst/base/gstbasesrc.c: (gst_base_src_query):
2972           fix more guint64<->gdouble conversions
2973
2974 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2975
2976         * Makefile.am:
2977           add win32-update target
2978         * win32/common/gstconfig.h:
2979         * win32/common/gstenumtypes.c:
2980         * win32/common/gstenumtypes.h:
2981         * win32/common/gstversion.h:
2982           add files that visual studio can't generate
2983
2984 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2985
2986         * Makefile.am:
2987           add a win32-update target
2988         * configure.ac:
2989
2990 2005-10-12  Wim Taymans  <wim@fluendo.com>
2991
2992         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2993         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
2994         * gst/gstelement.c: (gst_element_commit_state),
2995         (gst_element_set_state):
2996         Protect flags with proper lock.
2997         unref provided cached clock in dispose.
2998
2999 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3000
3001         * gst/gst.c:
3002         * gst/gstminiobject.h:
3003         * gst/gstpad.h:
3004         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3005           removed unused flags from miniobject
3006           doc fixes
3007
3008 2005-10-12  Wim Taymans  <wim@fluendo.com>
3009
3010         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3011         (gst_file_sink_event), (gst_file_sink_render):
3012         Flush before seeking.
3013
3014 2005-10-12  Andy Wingo  <wingo@pobox.com>
3015
3016         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3017         always been the case.
3018
3019 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3020
3021         * check/gst/gstbin.c: (GST_START_TEST):
3022         * docs/gst/gstreamer-sections.txt:
3023         * gst/base/gstbasesink.c: (gst_base_sink_init):
3024         * gst/base/gstbasesrc.c: (gst_base_src_init),
3025         (gst_base_src_get_range), (gst_base_src_check_get_range),
3026         (gst_base_src_start), (gst_base_src_stop):
3027         * gst/base/gstbasesrc.h:
3028         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3029         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3030         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3031         (bin_bus_handler):
3032         * gst/gstbin.h:
3033         * gst/gstbuffer.h:
3034         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3035         * gst/gstbus.h:
3036         * gst/gstelement.c: (gst_element_is_locked_state),
3037         (gst_element_set_locked_state), (gst_element_commit_state),
3038         (gst_element_set_state):
3039         * gst/gstelement.h:
3040         * gst/gstindex.c: (gst_index_init):
3041         * gst/gstindex.h:
3042         * gst/gstminiobject.h:
3043         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3044         (gst_object_set_parent):
3045         * gst/gstobject.h:
3046         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3047         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3048         * gst/gstpad.h:
3049         * gst/gstpadtemplate.h:
3050         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3051         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3052         * gst/gstpipeline.h:
3053         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3054         (gst_file_index_commit):
3055         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3056         * testsuite/pad/link.c: (gst_test_src_init),
3057         (gst_test_filter_init), (gst_test_sink_init):
3058         * testsuite/states/locked.c: (main):
3059           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3060           moved bitshift from macro to enum definition
3061
3062 2005-10-12  Wim Taymans  <wim@fluendo.com>
3063
3064         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3065         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3066         (gst_file_sink_render):
3067         Some more debugging info.
3068
3069 2005-10-12  Wim Taymans  <wim@fluendo.com>
3070
3071         * docs/design/part-states.txt:
3072         * tools/gst-launch.c: (main):
3073         Some doc updates.
3074         Revert non-intentional change.
3075
3076 2005-10-12  Wim Taymans  <wim@fluendo.com>
3077
3078         * check/gst/gstbin.c: (GST_START_TEST):
3079         * check/gst/gstelement.c: (GST_START_TEST):
3080         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3081         * check/gst/gstghostpad.c: (GST_START_TEST):
3082         * check/gst/gstpipeline.c: (GST_START_TEST):
3083         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3084         * check/states/sinks.c: (GST_START_TEST):
3085         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3086         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3087         (gst_bin_remove_func), (gst_bin_get_state_func),
3088         (gst_bin_recalc_state), (gst_bin_change_state_func),
3089         (bin_bus_handler):
3090         * gst/gstelement.c: (gst_element_get_state_func),
3091         (gst_element_get_state), (gst_element_abort_state),
3092         (gst_element_commit_state), (gst_element_set_state),
3093         (gst_element_change_state), (gst_element_change_state_func):
3094         * gst/gstelement.h:
3095         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3096         (gst_pipeline_provide_clock_func):
3097         * gst/gstutils.c: (gst_element_link_pads_filtered):
3098         * tools/gst-launch.c: (main):
3099         * tools/gst-typefind.c: (main):
3100         Use GstClockTime in _get_state() instead of GTimeVal.
3101         Remove old code in gstutils.c
3102
3103 2005-10-12  Andy Wingo  <wingo@pobox.com>
3104
3105         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3106         removed.
3107
3108         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3109         there is no task. Shouldn't affect any code, as nothing in our
3110         plugins checks this return value.
3111         (gst_pad_stop_task): Also take the stream lock if the pad has no
3112         task. Docs updated.
3113
3114 2005-10-12  Wim Taymans  <wim@fluendo.com>
3115
3116         * gst/gstpad.c: (pre_activate), (post_activate),
3117         (gst_pad_activate_pull), (gst_pad_activate_push):
3118         Cleanup activation code. Reset old state if
3119         activation failed.
3120
3121 2005-10-12  Wim Taymans  <wim@fluendo.com>
3122
3123         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3124         (gst_base_sink_change_state):
3125         No need to prerol after receiving EOS.
3126
3127         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3128         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3129         * gst/elements/gstidentity.c: (gst_identity_event):
3130         Print events more verbosely.
3131
3132 2005-10-12  Wim Taymans  <wim@fluendo.com>
3133
3134         * check/Makefile.am:
3135         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3136         * check/states/sinks2.c:
3137         Moved sinks2 testcode in sinks check.
3138
3139         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3140         (gst_bin_remove_func), (gst_bin_recalc_state),
3141         (gst_bin_change_state_func), (bin_bus_handler):
3142         Fix potential race condition when _get_state() iterated over an
3143         ASYNC element right before it posted a state completion.
3144
3145         * gst/gstclock.h:
3146         Do proper cast here.
3147
3148         * gst/gstevent.c: (gst_event_new_newsegment),
3149         (gst_event_parse_newsegment):
3150         A playback rate of 0.0 is not allowed.
3151
3152 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3153
3154         * win32/common/config.h:
3155         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3156         (_trewinddir), (_ttelldir), (_tseekdir):
3157         * win32/common/dirent.h:
3158         * win32/common/gtchar.h:
3159         * win32/common/libgstbase.def:
3160         * win32/common/libgstreamer.def:
3161         * win32/vs6/grammar.dsp:
3162         * win32/vs6/gst_inspect.dsp:
3163         * win32/vs6/gst_launch.dsp:
3164         * win32/vs6/gstreamer.dsw:
3165         * win32/vs6/libgstbase.dsp:
3166         * win32/vs6/libgstelements.dsp:
3167         * win32/vs6/libgstreamer.dsp:
3168           Visual Studio 6 project files, and a new common directory.
3169           Phear.
3170
3171 2005-10-11  Wim Taymans  <wim@fluendo.com>
3172
3173         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3174         (gst_base_sink_do_sync), (gst_base_sink_query),
3175         (gst_base_sink_change_state):
3176         * gst/base/gstbasesink.h:
3177         Correctly parse newsegment info.
3178
3179 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3180
3181         * gst/gst.c: (init_post):
3182           split plugin paths correctly
3183
3184 2005-10-11  Wim Taymans  <wim@fluendo.com>
3185
3186         * check/gst/gstevent.c: (GST_START_TEST):
3187         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3188         (gst_base_sink_change_state):
3189         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3190         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3191         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3192         * gst/gstevent.c: (gst_event_new_newsegment),
3193         (gst_event_parse_newsegment):
3194         * gst/gstevent.h:
3195         Added extra flag to newsegment for future API freeze.
3196         Updated check and base elements.
3197
3198 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3199
3200         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3201         (gst_collectpads_add_pad), (gst_collectpads_pop),
3202         (gst_collectpads_event), (gst_collectpads_chain):
3203         * gst/base/gstcollectpads.h: Handle EOS correctly.
3204
3205 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3206
3207         * tools/gst-launch.c: (main):
3208           more null protecting
3209
3210 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3211
3212         * gst/gst-i18n-lib.h:
3213           check for ENABLE_NLS, not GETTEXT_PACKAGE
3214         * gst/gstregistry.c: (gst_registry_add_plugin),
3215         (gst_registry_scan_path_level),
3216         (_gst_registry_remove_cache_plugins):
3217           protect possibly NULL strings
3218         * gst/parse/types.h:
3219           config.h already included before
3220         * tools/gst-inspect.c: (main):
3221           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3222           check for ENABLE_NLS, not GETTEXT_PACKAGE
3223         * tools/gst-launch.c: (main):
3224           check for ENABLE_NLS, not GETTEXT_PACKAGE
3225
3226 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3227
3228         * configure.ac:
3229           if we don't have glib, fail before testing 2.8
3230         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3231           fix a leak, should fix plugins-base testsuite
3232
3233 2005-10-11  Andy Wingo  <wingo@pobox.com>
3234
3235         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3236         take the mode we're going to as an arg. Go head and set the mode
3237         and flushing flags now, so that if the activate function starts a
3238         thread all the flags will be in the right state.
3239         (post_activate): Renamed also. Just handle making sure streaming
3240         finishes for the deactivation case, and setting the deactivated
3241         mode.
3242         (gst_pad_set_active): Complain loudly if deactivation fails.
3243         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3244         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3245         remove the terrible hack.
3246
3247 2005-10-11  Wim Taymans  <wim@fluendo.com>
3248
3249         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3250         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3251         (gst_bin_recalc_state), (gst_bin_change_state_func),
3252         (gst_bin_dispose), (bin_bus_handler):
3253         * gst/gstbin.h:
3254         Prepare to make current EOS message queue more generic.
3255         Fix some typos.
3256
3257         * gst/gstevent.c: (gst_event_new_newsegment),
3258         (gst_event_parse_newsegment):
3259         * gst/gstevent.h:
3260         Rename base to stream_time.
3261
3262         * gst/gstmessage.h:
3263         Fix typo in docs.
3264
3265 2005-10-11  Wim Taymans  <wim@fluendo.com>
3266
3267         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3268         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3269         (gst_bin_change_state_func), (bin_bus_handler):
3270         * gst/gstbin.h:
3271         Work on proper clock selection.
3272
3273 2005-10-11  Edward Hervey  <edward@fluendo.com>
3274
3275         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3276         * libs/gst/controller/gstcontroller.h:
3277         Added GList* version of _remove_properties() in order to be able to wrap
3278         it in bindings.
3279
3280 2005-10-11  Wim Taymans  <wim@fluendo.com>
3281
3282         * docs/design/part-states.txt:
3283         Some more docs.
3284
3285         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3286         (gst_bin_change_state_func), (bin_bus_handler):
3287         Doc updates. Don't distribute the same clock over and over again.
3288
3289         * gst/gstclock.c:
3290         * gst/gstclock.h:
3291         Doc updates.
3292
3293         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3294         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3295         (gst_pad_send_event):
3296         * gst/gstpad.h:
3297         Make probe emission threadsafe again.
3298         Register quarks and move _get_name() from utils.
3299         Doc updates.
3300
3301         * gst/gstpipeline.c: (gst_pipeline_class_init),
3302         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3303         Only redistribute the clock of it changed.
3304
3305         * gst/gstsystemclock.h:
3306         Doc updates. 
3307
3308         * gst/gstutils.c:
3309         * gst/gstutils.h:
3310         Moved the _flow_get_name() to GstPad.
3311
3312 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3313
3314         * check/gst-libs/gdp.c: (GST_START_TEST):
3315         * check/gst/gstcaps.c: (GST_START_TEST):
3316         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3317         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3318         (gst_dp_packet_from_caps):
3319           fix more valgrind warnings before turning up the heat
3320
3321 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3322
3323         * gst/parse/grammar.y:
3324           some cleanup before the hacking
3325
3326 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3327
3328         * gst/base/gstbasesrc.c: (gst_base_src_query):
3329           use conversions
3330         * gst/gstutils.c: (gst_guint64_to_gdouble),
3331         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3332         * gst/gstutils.h:
3333           externalize, basesrc uses it
3334           obviously the implementation needs testing
3335
3336 2005-10-10  Wim Taymans  <wim@fluendo.com>
3337
3338         * tests/sched/Makefile.am:
3339         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3340         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3341
3342 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3343
3344         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3345           apparently converting from guint64 to double is not implemented
3346           on MSVC
3347
3348 2005-10-10  Wim Taymans  <wim@fluendo.com>
3349
3350         * check/Makefile.am:
3351         * check/generic/states.c: (GST_START_TEST):
3352         * check/gst/gstbin.c: (GST_START_TEST):
3353         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3354         * check/states/sinks.c: (GST_START_TEST):
3355         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3356         (main):
3357         Check fixes, use API as stated in design docs, remove hacks.
3358
3359         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3360         (gst_base_sink_change_state):
3361         Catch stopping our task while we're shutting down.
3362
3363         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3364         (gst_bin_remove_func), (gst_bin_get_state_func),
3365         (gst_bin_recalc_state), (gst_bin_change_state_func),
3366         (bin_bus_handler):
3367         * gst/gstbin.h:
3368         * gst/gstelement.c: (gst_element_init),
3369         (gst_element_get_state_func), (gst_element_abort_state),
3370         (gst_element_commit_state), (gst_element_lost_state),
3371         (gst_element_set_state), (gst_element_change_state),
3372         (gst_element_change_state_func):
3373         * gst/gstelement.h:
3374         New state change algorithm (see #318116)
3375
3376         * gst/gstpipeline.c: (gst_pipeline_class_init),
3377         (gst_pipeline_init), (gst_pipeline_set_property),
3378         (gst_pipeline_get_property), (do_pipeline_seek),
3379         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3380         * gst/gstpipeline.h:
3381         Remove crude state change hacks.
3382
3383         * gst/gstutils.h:
3384         Remove crude hacks.
3385
3386         * tools/gst-launch.c: (main):
3387         Fixes for state change. Needs some more work to fully use the
3388         new stuff.
3389
3390 2005-10-10  Andy Wingo  <wingo@pobox.com>
3391
3392         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3393
3394         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3395         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3396         issue.
3397
3398 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3399
3400         * gst/gstiterator.c: (gst_iterator_new):
3401           Fix my previous commit: GTypes passed to gst_iterator_new()
3402           can be fundamental types.
3403
3404 2005-10-10  Wim Taymans  <wim@fluendo.com>
3405
3406         * gst/gstelement.c: (gst_element_iterate_pad_list),
3407         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3408         (gst_element_iterate_sink_pads):
3409         Use src/sink pads lists for the respective iterators instead
3410         of filtering.
3411
3412 2005-10-10  Andy Wingo  <wingo@pobox.com>
3413
3414         Merged in popt removal + GOption addition patch from Ronald, bug
3415         #169772.
3416
3417         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3418         GstElement macros around, remove popt-related symbols, add goption
3419         stuff.
3420
3421         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3422         
3423         * docs/gst/Makefile.am:
3424         * docs/libs/Makefile.am: No POPT_CFLAGS.
3425         
3426         * examples/manual/Makefile.am:
3427         * docs/manual/basics-init.xml: Doc updates with an example.
3428         
3429         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3430         (gst_init), (parse_one_option), (parse_goption_arg):
3431         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3432         bit of hand merging and debugging to get the GOption stuff working
3433         tho.
3434         
3435         * tests/Makefile.am:
3436         * tools/Makefile.am:
3437         * tools/gst-inspect.c: (main):
3438         * tools/gst-launch.c: (main):
3439         * tools/gst-run.c: (main):
3440         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3441
3442 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3443
3444         * gst/gstiterator.c: (gst_iterator_new):
3445           Add assertions to make sure passed GType is likely to really
3446           be a GType (as the compiler won't catch it if the size and
3447           GType arguments get mixed up, see #318447).
3448
3449 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
3450
3451         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3452
3453         * gst/gstbin.c: (gst_bin_iterate_sorted):
3454           Pass GType and size arguments to gst_iterator_new() in the right
3455           order (maybe we should make _new() take the GType as first argument
3456           just like _new_list()?) (#318447).
3457           
3458
3459 2005-10-10  Wim Taymans  <wim@fluendo.com>
3460
3461         * gst/gstelement.c: (gst_element_finalize):
3462         And free the GStaticRecMutex too
3463
3464 2005-10-10  Andy Wingo  <wingo@pobox.com>
3465
3466         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3467         Allocate and free the mutex properly.
3468
3469         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3470         New macros.
3471         (GstElement): The state_lock is now recursive. Rebuild your
3472         plugins, suckers. Old macros adapted.
3473
3474         * docs/gst/gstreamer-sections.txt: Doc updates.
3475
3476         * gst/gstutils.h:
3477         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
3478         (g_static_rec_cond_wait): Ported from state changes patch, while
3479         we wait on bug #317802 to be solved in a well-distributed GLib.
3480
3481         * gst/gstelement.c (gst_element_change_state_func): Renamed from
3482         gst_element_change_state, variable name changes.
3483         (gst_element_change_state): Split out of gst_element_set_state in
3484         preparation for the state change merge. Doesn't pay attention to
3485         the 'transition' argument.
3486         (gst_element_set_state): Updates, hopefully purely cosmetic.
3487         (gst_element_sync_state_with_parent): MT-safety. Ported from the
3488         state change patch.
3489         (gst_element_get_state_func): Renamed from get_state, cosmetic
3490         changes.
3491
3492 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3493
3494         * gst/elements/gstelements.c:
3495         * win32/GStreamer.vcproj:
3496         * win32/config.h:
3497         * win32/dirent.c: (_tseekdir):
3498         * win32/gst-inspect.vcproj:
3499         * win32/gst-launch.vcproj:
3500         * win32/gstconfig.h:
3501         * win32/gstelements.vcproj:
3502         * win32/gstenumtypes.c: (gst_object_flags_get_type):
3503         * win32/gstreamer.def:
3504         * win32/msvc71.sln:
3505           updates for the win32 build (patch from Sebastien Moutte)
3506
3507 2005-10-10  Andy Wingo  <wingo@pobox.com>
3508
3509         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3510         gst_bin_get_state, cleaned up (but no logic changes).
3511         (bin_element_is_sink): Comment updates.
3512         (sink_iterator_filter): Remove needless cast.
3513         (gst_bin_iterate_sinks): Doc update.
3514         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3515         cleaned up (but no logic changes).
3516
3517         * check/states/sinks.c (test_src_sink): Cleanups from the state
3518         change patch.
3519         (test_livesrc_sink): Sync on the state.
3520
3521         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3522         the state change patch.
3523
3524         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3525         change patch.
3526
3527         * check/gst/gstbin.c: Merge in some style fixes and additional
3528         checks from Wim's state change patch.
3529
3530 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3531
3532         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3533         (gst_type_find_helper):
3534           Check whether we have the requested data already in our list of
3535           cached buffers before pulling a new buffer; also make the buffer
3536           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3537
3538 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3539
3540         * gst/gstcaps.c:
3541         * gst/gstevent.c:
3542           doc updates
3543         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3544           don't use long long, it's not portable.  Replacing with
3545           gint64 seems to work; let's hope no skeletons fall out of the closet.
3546
3547 2005-10-10  Andy Wingo  <wingo@pobox.com>
3548
3549         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3550
3551 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
3552
3553         * docs/gst/gstreamer-sections.txt:
3554         * gst/gstevent.c:
3555         * gst/gstevent.h:
3556         * gst/gstinfo.c:
3557         * gst/gstinfo.h:
3558         * gst/gstmessage.c: (gst_message_parse_state_changed):
3559         * gst/gstpad.c:
3560         * gst/gstpad.h:
3561           more docs, fix compilation
3562
3563 2005-10-09  Philippe Khalaf <burger@speedy.org>
3564         * gst/gstmessage.c:
3565           Fixed a few forgotten variables on previous commit
3566
3567 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3568
3569         * gst/base/gsttypefindhelper.c: (helper_find_peek):
3570           Fix evil typefind crasher: getrange() might return a short
3571           buffer at the end of a file, but gst_type_find_peek() must
3572           either return the full data as requested or NULL, but
3573           never a short buffer.
3574
3575 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3576
3577         * gst/gstmessage.c: (gst_message_new_state_changed),
3578         (gst_message_parse_state_changed):
3579         * gst/gstmessage.h:
3580           don't use "new", it's a C++ keyword
3581
3582 2005-10-08  Wim Taymans  <wim@fluendo.com>
3583
3584         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3585         * gst/gstelement.c: (gst_element_post_message):
3586         * gst/gstpipeline.c: (gst_pipeline_change_state):
3587         Small docs and debug updates.
3588
3589 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3590
3591         * docs/gst/gstreamer-sections.txt:
3592         * gst/gstelementfactory.c:
3593         * gst/gstevent.c:
3594         * gst/gsttaglist.c:
3595           more docs
3596
3597 2005-10-08  Wim Taymans  <wim@fluendo.com>
3598
3599         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3600         (gst_bin_dispose), (bin_bus_handler):
3601         Fix typos, add comments.
3602         Clear EOS list when going to PAUSED from any direction and do it
3603         in a threadsafe way.
3604         Get base time in a threadsafe way too.
3605         Fix confusing debug in the change_state function.
3606         Various other small cleanups.
3607         
3608         * gst/gstelement.c: (gst_element_post_message):
3609         Fix very verbose bus posting code.
3610
3611         * gst/gstpipeline.c: (gst_pipeline_class_init),
3612         (gst_pipeline_set_property), (gst_pipeline_get_property),
3613         (gst_pipeline_change_state):
3614         Small ARG_ -> PROP_ cleanup
3615
3616 2005-10-08  Wim Taymans  <wim@fluendo.com>
3617
3618         * gst/gstbin.c: (is_eos), (bin_bus_handler):
3619         Do a less CPU demanding EOS check because we can.
3620
3621 2005-10-08  Wim Taymans  <wim@fluendo.com>
3622
3623         * libs/gst/dataprotocol/dataprotocol.c:
3624         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3625         (gst_dp_packet_from_event):
3626         * libs/gst/dataprotocol/dataprotocol.h:
3627         * libs/gst/dataprotocol/dp-private.h:
3628         It's about time we bump the version number.
3629         Since event types don't fit in the guint8 anymore describing
3630         the payload type, make payload type 16 bits wide.
3631
3632 2005-10-08  Wim Taymans  <wim@fluendo.com>
3633
3634         * docs/design/part-TODO.txt:
3635         * docs/design/part-clocks.txt:
3636         * docs/design/part-events.txt:
3637         * docs/design/part-gstbin.txt:
3638         * docs/design/part-gstelement.txt:
3639         * docs/design/part-gstpipeline.txt:
3640         * docs/design/part-live-source.txt:
3641         * docs/design/part-messages.txt:
3642         * docs/design/part-overview.txt:
3643         * docs/design/part-states.txt:
3644         Many doc updates.
3645
3646 2005-10-08  Wim Taymans  <wim@fluendo.com>
3647
3648         * gst/gstevent.c:
3649         * gst/gstevent.h:
3650         Fix event quark registration.
3651         Add some space between events so we can insert them in the
3652         right groups.
3653
3654 2005-10-08  Wim Taymans  <wim@fluendo.com>
3655
3656         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3657         (gst_base_sink_handle_buffer):
3658         Better log message.
3659
3660         * gst/gstbus.h:
3661         * gst/gstelement.h:
3662         More docs.
3663
3664         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3665         (gst_queue_set_property), (gst_queue_get_property):
3666         * gst/gstqueue.h:
3667         Remove old unused properties.
3668
3669 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3670         * docs/gst/gstreamer-sections.txt:
3671         * gst/gstmessage.c:
3672         * gst/gstmessage.h:
3673         * gst/gstminiobject.c:
3674         * gst/gstminiobject.h:
3675         * gst/gstobject.h:
3676         * gst/gstpad.h:
3677         * gst/gstutils.h:
3678           lots of new docs and doc fixes
3679
3680 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3681
3682         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3683         * gst/gstplugin.h:
3684         * gst/gstregistry.c: (gst_registry_lookup_locked),
3685         (gst_registry_scan_path_level):
3686         * gst/gstregistryxml.c: (load_plugin):
3687           Only ever load one plugin for a given plugin basename.
3688           This ensures correct overriding of GST_PLUGIN_PATH over
3689           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3690           system installed plugins.
3691
3692 2005-10-08  Wim Taymans  <wim@fluendo.com>
3693
3694         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3695         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3696         Prepare for doing QOS.
3697
3698 2005-10-08  Wim Taymans  <wim@fluendo.com>
3699
3700         * check/gst/gstbin.c: (GST_START_TEST):
3701         * check/pipelines/cleanup.c: (GST_START_TEST):
3702         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3703         Allow new clock message too.
3704
3705 2005-10-08  Wim Taymans  <wim@fluendo.com>
3706
3707         * gst/gstmessage.c: (gst_message_new_error),
3708         (gst_message_new_warning), (gst_message_new_tag),
3709         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3710         (gst_message_new_clock_lost), (gst_message_new_new_clock),
3711         (gst_message_new_segment_start), (gst_message_new_segment_done),
3712         (gst_message_parse_state_changed),
3713         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3714         (gst_message_parse_new_clock):
3715         * gst/gstmessage.h:
3716         Also carry the clock in question.
3717
3718 2005-10-08  Wim Taymans  <wim@fluendo.com>
3719
3720         * gst/gstmessage.c: (gst_message_new_custom),
3721         (gst_message_new_eos), (gst_message_new_error),
3722         (gst_message_new_warning), (gst_message_new_tag),
3723         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3724         (gst_message_new_new_clock), (gst_message_new_segment_start),
3725         (gst_message_new_segment_done), (gst_message_parse_state_changed),
3726         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3727         * gst/gstmessage.h:
3728         Clean up.
3729         Added clock related messages.
3730
3731         * gst/gstpipeline.c: (gst_pipeline_change_state):
3732         Post message when the clock changed.
3733
3734         * tools/gst-launch.c: (event_loop):
3735         Print new clock.
3736
3737 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3738
3739         * tools/gst-inspect.c: (print_element_properties_info):
3740           Can't pass NULL strings to g_print() on windows.
3741
3742 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3743
3744         * docs/Makefile.am:
3745         * docs/gst/Makefile.am:
3746         * docs/gst/gstreamer-docs.sgml:
3747         * docs/gst/running.xml:
3748         * docs/version.entities.in:
3749           add a chapter on running GStreamer.
3750           document GST_DEBUG and GST_PLUGIN* env vars
3751
3752 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3753
3754         * Makefile.am:
3755           remove include dir
3756         * configure.ac:
3757           remove PLUGINS_BUILDDIR stuff
3758         * gst/gst.c: (init_post):
3759           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3760         * idiottest.mak:
3761           remove, it was condescending and not needed
3762
3763 2005-10-08  Wim Taymans  <wim@fluendo.com>
3764
3765         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3766         (gst_base_sink_handle_object), (gst_base_sink_event),
3767         (gst_base_sink_wait), (gst_base_sink_handle_event),
3768         (gst_base_sink_change_state):
3769         * gst/base/gstbasesink.h:
3770         Repost EOS message while going to PLAYING if still EOS.
3771         Make sure that when receiving a FLUSH_START we don't attempt
3772         to sync on the clock anymore.
3773
3774 2005-10-08  Wim Taymans  <wim@fluendo.com>
3775
3776         * tools/gst-launch.c: (event_loop):
3777         Better message printout.
3778
3779 2005-10-08  Wim Taymans  <wim@fluendo.com>
3780
3781         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3782         (gst_bin_child_proxy_get_children_count):
3783         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3784         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3785         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3786         (gst_child_proxy_set_valist):
3787         * gst/parse/grammar.y:
3788         Make ChildProxy threadsafe and fix mem leaks.
3789
3790 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3791
3792         * gst/gst.c: (init_post):
3793           debug the GST_PLUGIN_ env vars
3794
3795 2005-10-08  Wim Taymans  <wim@fluendo.com>
3796
3797         * check/gst/gstbin.c: (GST_START_TEST):
3798         * check/gst/gstmessage.c: (GST_START_TEST):
3799         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3800         * gst/gstelement.c: (gst_element_commit_state),
3801         (gst_element_lost_state):
3802         * gst/gstmessage.c: (gst_message_new_state_changed),
3803         (gst_message_parse_state_changed):
3804         * gst/gstmessage.h:
3805         * tools/gst-launch.c: (event_loop):
3806         Added extra field to STATE_CHANGE message with the pending
3807         state, which will be different from the new state soon.
3808
3809 2005-10-08  Wim Taymans  <wim@fluendo.com>
3810
3811         * gst/gstbus.c: (gst_bus_pop):
3812         * gst/gstclock.c:
3813         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3814         Small cleanups and doc updates.
3815
3816 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3817
3818         * gst/gst.c: (init_pre):
3819         * gst/gstbin.c: (gst_bin_add_func):
3820           log distributing clocks and base time
3821         * gst/gstregistry.c: (gst_registry_add_plugin),
3822         (gst_registry_scan_path_level), (gst_registry_scan_path):
3823           clean up the debugging output a little
3824         * gst/gstutils.c: (gst_element_state_get_name):
3825           warn about a memleak (I've actually seen this be used, though
3826           it was probably a bug)
3827
3828 2005-10-07  Wim Taymans  <wim@fluendo.com>
3829
3830         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3831         (gst_base_src_init), (gst_base_src_default_newsegment),
3832         (gst_base_src_newsegment), (gst_base_src_do_seek),
3833         (gst_base_src_loop), (gst_base_src_start):
3834         * gst/base/gstbasesrc.h:
3835         Make the newsegment event customizable by subclasses.
3836
3837 2005-10-07  Wim Taymans  <wim@fluendo.com>
3838
3839         * gst/gstevent.c: (gst_event_new_buffersize),
3840         (gst_event_parse_buffersize):
3841         * gst/gstevent.h:
3842         New event for future idea.
3843
3844 2005-10-07  Andy Wingo  <wingo@pobox.com>
3845
3846         * gst/gstelement.c (gst_element_post_message): Doc update.
3847
3848         * docs/gst/gstreamer-sections.txt: Update.
3849
3850         * gst/gstmessage.c (gst_message_new_application): Made into a
3851         function like honest API calls.
3852         (gst_message_new_element): New message type.
3853
3854         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3855
3856         * check/elements/fakesrc.c (test_no_preroll): New check, checks
3857         that setting a live fakesrc to PAUSED returns NO_PREROLL both
3858         times.
3859
3860         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3861         NO_PREROLL from gst_element_change_state to fall through.
3862
3863 2005-10-07  Wim Taymans  <wim@fluendo.com>
3864
3865         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3866         (gst_ghost_pad_do_activate_push):
3867         Activating a ghostpad with no internal pad in push mode
3868         is ok.
3869
3870 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3871
3872         * gst/gstobject.h:
3873           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3874           Fixes compilation on Windows.
3875
3876 2005-10-07  Michael Smith <msmith@fluendo.com>
3877
3878         * tools/gst-inspect.c:
3879           Print out feature and plugin count at the end when printing out
3880           all features.
3881
3882 2005-10-04  Michael Smith <msmith@fluendo.com>
3883
3884         * gst/gsterror.c: (_gst_stream_errors_init):
3885           Add another error string used in a few existing plugins.
3886
3887         * gst/gstplugin.c:
3888         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3889         * tools/gst-inspect.c: (print_element_info):
3890           When a feature disappears from a plugin (and the feature exists in
3891           the cached registry file), things went horribly wrong. This isn't a
3892           complete fix, we should actually be removing the 'missing' features
3893           from the features list when we load the actual plugin. That's not
3894           yet implemented. 
3895
3896 2005-10-04  Johan Dahlin  <johan@gnome.org>
3897
3898         * check/gst/gstiterator.c: (GST_START_TEST):
3899         * gst/gstbin.c: (gst_bin_iterate_elements),
3900         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
3901         * gst/gstelement.c: (gst_element_iterate_pads):
3902         * gst/gstformat.c: (gst_format_iterate_definitions):
3903         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
3904         (gst_iterator_new_list), (gst_iterator_filter):
3905         * gst/gstiterator.h:
3906         * gst/gstquery.c: (gst_query_type_iterate_definitions):
3907         Add a GType to GstIterator, update callsites and tests.
3908
3909 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3910
3911         * gst/gstpad.c: (gst_pad_event_default_dispatch):
3912           give events a chance to be handled by event probes when the pad
3913           is not linked
3914
3915 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3916
3917         * gst/gstevent.c: (gst_event_type_get_name),
3918         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
3919         * gst/gstevent.h:
3920           add string representations for event types
3921
3922 2005-10-06  Wim Taymans  <wim@fluendo.com>
3923
3924         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
3925         Don't use NULL pointers.
3926
3927 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3928
3929         * gst/gst_private.h:
3930         * gst/gstbus.c:
3931         * gst/gstelement.c:
3932         * gst/gstinfo.c:
3933         * gst/gstpluginfeature.c:
3934           widen the debug category in output to fit the biggest one we have
3935           add a bus category and use it
3936           play with the colors
3937           fix up some categories
3938
3939 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3940
3941         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
3942           add push activation of sink ghost pads.
3943           Andye, please verify
3944
3945 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3946
3947         * gst/gstutils.c: (gst_element_link_pads):
3948           fix a bug in the case where neither element has a pad
3949         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3950           add a test for that case
3951
3952 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3953
3954         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
3955           emit have-data before checking for peers.  This allows
3956           for probe handlers to connect elements.  This helps autopluggers.
3957         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
3958         (gst_pad_suite):
3959           add six checks, linked/unlinked with no/true/false probe
3960
3961 2005-10-04  Wim Taymans  <wim@fluendo.com>
3962
3963         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
3964         (gst_fake_sink_event), (gst_fake_sink_preroll),
3965         (gst_fake_sink_render), (gst_fake_sink_change_state):
3966         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
3967         (gst_fake_src_get_property), (gst_fake_src_create),
3968         (gst_fake_src_stop):
3969         * gst/elements/gstidentity.c: (gst_identity_stop):
3970         Protect last_message with lock.
3971
3972 2005-10-04  Edward Hervey  <edward@fluendo.com>
3973
3974         * gst/gstformat.h: 
3975         Added precision in the comments for GST_FORMAT_DEFAULT
3976
3977 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
3978
3979         * tools/gst-launch.c: (main):
3980           Don't try to run erroneous pipelines.
3981
3982 2005-10-04  Julien MOUTTE  <julien@moutte.net>
3983
3984         * gst/gstbus.c: We don't need this header.
3985
3986 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3987
3988         * configure.ac:
3989           back to development
3990
3991 === release 0.9.3 ===
3992
3993 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3994
3995         * README:
3996         * configure.ac:
3997           Releasing 0.9.3, "Unregistered"
3998
3999 2005-10-03  Andy Wingo  <wingo@pobox.com>
4000
4001         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4002         whereby calling a pad's activatepush() function can start a thread
4003         that starts to push or pull before the pad gets the FLUSHING flag
4004         unset. Hack around it by holding the stream lock until the flag is
4005         set. Need to replace this with a proper solution. Together with
4006         the ghost pad fixes, this fixes mp3 playing/tagreading.
4007
4008         * docs/design/part-gstghostpad.txt: Add a note about activation of
4009         proxy pads outside of ghost pads.
4010
4011         * gst/gstghostpad.c: Implement the ghost pad activation design.
4012
4013 2005-10-02  Andy Wingo  <wingo@pobox.com>
4014
4015         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4016         It is volatile, after all.
4017
4018         * docs/design/part-gstghostpad.txt: Flesh out activation with
4019         ghost pads.
4020
4021         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4022         GST_DEBUG_FUNCPTR.
4023
4024 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4025
4026         * configure.ac:
4027           Fix (unused) AM_CONDITIONAL tests.
4028
4029 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4030
4031         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4032
4033         * gst/gstutils.c: (gst_pad_query_convert):
4034           Add assertion that makes sure src_val is >=0, just like
4035           gst_query_new_convert() has. (#315895)
4036
4037 2005-09-30  Edward Hervey  <edward@fluendo.com>
4038
4039         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4040         Let's not iterate pads we're not interested in, it avoids getting 
4041         sky-high refcounts on sinkpad.
4042
4043 2005-09-30  Wim Taymans  <wim@fluendo.com>
4044
4045         * gst/gstelement.c: (gst_element_set_state),
4046         (gst_element_change_state):
4047         Small tweak, element in ASYNC remains ASYNC.
4048
4049 2005-09-30  Wim Taymans  <wim@fluendo.com>
4050
4051         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4052         Only error is an error.
4053
4054         * gst/gstbin.c: (gst_bin_change_state):
4055         Better debugging.
4056
4057         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4058         Also call pad_block in pad alloc.
4059
4060         * gst/gstutils.c: (gst_flow_get_name):
4061         Better debugging.
4062
4063 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4064
4065         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4066         (gst_base_src_get_range):
4067           Fix documentation typos. Add some more debug info.
4068
4069 2005-09-29  David Schleef  <ds@schleef.org>
4070
4071         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4072           more end-user friendly.
4073         * tools/gst-inspect.c: (main): Check if command-line argument is
4074           a file and attempt to load that file as a plugin.
4075
4076 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4077
4078         * check/gst/gstbin.c:
4079         * check/states/sinks.c:
4080           fix tests for the new warning
4081         * check/gst/gstpipeline.c:
4082           add a test for pipeline and bus interaction
4083         * gst/gstelement.c:
4084           elements should be NULL if they get disposed; add a warning if not
4085
4086 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4087
4088         * gst/gstobject.c:
4089           for 2.6 refcounting, make debug log more correct by printing
4090           the actual refcounts at the time of swap (Wim)
4091
4092 2005-09-29  Andy Wingo  <wingo@pobox.com>
4093
4094         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4095         removes signal watches previously added via
4096         gst_bus_add_signal_watch.
4097         (gst_bus_add_signal_watch): Don't return the source id, just store
4098         it on the bus if there wasn't an id already.
4099
4100         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4101         add_signal_watch and remove_signal_watch.
4102
4103 2005-09-29  Edward Hervey  <edward@fluendo.com>
4104
4105         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4106         Better if we actually iterate the list :)
4107
4108 2005-09-29  Wim Taymans  <wim@fluendo.com>
4109
4110         * check/gst/gstbin.c: (GST_START_TEST):
4111         Change for new bus API.
4112
4113         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4114         (send_messages), (GST_START_TEST), (gstbus_suite):
4115         Change for new bus signal API.
4116
4117         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4118         (gst_bus_source_prepare), (gst_bus_source_check),
4119         (gst_bus_create_watch), (gst_bus_add_watch_full),
4120         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4121         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4122         * gst/gstbus.h:
4123         Remove support for multiple GSources operating on different
4124         message types as it is too complex and unneeded when using
4125         signals.
4126         Added support for receiving signals from the bus.
4127
4128 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4129
4130         * docs/libs/tmpl/gstdataprotocol.sgml:
4131         * docs/manual/advanced-dataaccess.xml:
4132         * gst/elements/gstcapsfilter.c:
4133         * gst/gstutils.c:
4134           rename filter-caps to caps property
4135
4136 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4137
4138         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4139           More robust fraction string parsing.
4140
4141         * docs/pwg/appendix-porting.xml:
4142           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4143
4144 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4145
4146         * gst/gstcaps.c: (gst_caps_do_simplify):
4147           Thou shalt not free a structure and then continue using it
4148           in the next loop iteration.
4149
4150         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4151         (gst_caps_suite):
4152           Add test case for caps simplification.
4153
4154 2005-09-29  Wim Taymans  <wim@fluendo.com>
4155
4156         * check/gst/gstbin.c: (GST_START_TEST):
4157         Oops.
4158
4159 2005-09-29  Wim Taymans  <wim@fluendo.com>
4160
4161         * check/gst/gstbin.c: (GST_START_TEST):
4162         Add bus to bin.
4163
4164         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4165         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4166         (find_element), (gst_bin_sort_iterator_next),
4167         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4168         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4169         (gst_bin_change_state), (gst_bin_dispose):
4170         A bin does not have a bus, it gets the bus from the parent.
4171
4172         * gst/gstelement.c: (gst_element_requires_clock),
4173         (gst_element_provides_clock), (gst_element_is_indexable),
4174         (gst_element_is_locked_state), (gst_element_change_state),
4175         (gst_element_set_bus_func):
4176         Small cleanups.
4177
4178         * gst/gstpipeline.c: (gst_pipeline_class_init),
4179         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4180         The pipeline provides a bus.
4181
4182 2005-09-28  Johan Dahlin  <johan@gnome.org>
4183
4184         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4185         gst_structure_get_enum instead of gst_structure_get_int
4186
4187         * gst/gststructure.c (gst_structure_get_enum): Impl.
4188
4189         * gst/gststructure.h (gst_structure_get_enum): Add
4190
4191         * docs/gst/gstreamer-sections.txt: Ditto
4192
4193         * gst/gstmessage.c (gst_message_new_state_changed): Use
4194         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4195         which does introspection.
4196         Reviewed by Christian Schaller
4197
4198 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4199
4200         * gst/gstinfo.c: (gst_debug_log_default):
4201           don't do dummy g_strdup()s
4202         * libs/gst/controller/gstcontroller.c:
4203         (on_object_controlled_property_changed),
4204         (gst_controlled_property_new), (gst_controller_new_valist),
4205         (gst_controller_new_list),
4206         (gst_controller_remove_properties_valist), (gst_controller_set),
4207         (gst_controller_get), (gst_controller_sync_values),
4208         (gst_controller_get_value_array), (_gst_controller_class_init),
4209         (gst_controller_get_type):
4210         * libs/gst/controller/gstcontroller.h:
4211         * libs/gst/controller/gstinterpolation.c:
4212         (gst_controlled_property_find_timed_value_node):
4213           convert // to /**/ comments
4214
4215 2005-09-28  Wim Taymans  <wim@fluendo.com>
4216
4217         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4218         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4219         (gst_bus_sync_signal_handler):
4220         * gst/gstbus.h:
4221         Added async-message and sync-message signals to the bus.
4222         Added helper BusFunc to emit signals for all posted messages.
4223
4224         * gst/gstmessage.c: (gst_message_type_get_name),
4225         (gst_message_type_to_quark), (gst_message_get_type):
4226         * gst/gstmessage.h:
4227         Register quarks for message names.
4228
4229 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4230
4231         * docs/libs/gstreamer-libs-sections.txt:
4232         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4233         (gst_controller_new_list):
4234         * libs/gst/controller/gstcontroller.h:
4235           added another constructor for language bindings
4236
4237 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4238
4239         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4240           add another check
4241         * gst/gstbus.c:
4242           add some doc
4243         * gst/gstinfo.c: (_gst_debug_init):
4244           slightly more readable color for refcount debugging
4245
4246 2005-09-28  Wim Taymans  <wim@fluendo.com>
4247
4248         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4249         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4250         (find_element), (gst_bin_sort_iterator_next),
4251         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4252         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4253         (gst_bin_change_state), (gst_bin_dispose):
4254         Small doc fixes. get_clock -> provide_clock.
4255
4256         * gst/gstelement.c: (gst_element_class_init),
4257         (gst_element_provides_clock), (gst_element_provide_clock),
4258         (gst_element_get_clock), (gst_element_commit_state),
4259         (gst_element_lost_state):
4260         * gst/gstelement.h:
4261         Make get/set_clock() symetric. Add provide_clock vmethod since
4262         that is actually what this function does.
4263
4264         * gst/gstpipeline.c: (gst_pipeline_class_init),
4265         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4266         (gst_pipeline_get_clock):
4267         get_clock -> provide_clock.
4268
4269 2005-09-28  Andy Wingo  <wingo@pobox.com>
4270
4271         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4272         lieu of real docs...
4273
4274         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4275
4276 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4277
4278         * gst/elements/gstcapsfilter.c:
4279         * gst/elements/gstfakesink.c:
4280         * gst/elements/gstfakesrc.c:
4281         * gst/elements/gstfdsink.c:
4282         * gst/elements/gstfdsrc.c:
4283         * gst/elements/gstfilesink.c:
4284         * gst/elements/gstfilesrc.c:
4285         * gst/elements/gstidentity.c:
4286         * gst/elements/gsttee.c:
4287         * gst/elements/gsttypefindelement.c:
4288           Make element details static.
4289
4290 2005-09-28  Wim Taymans  <wim@fluendo.com>
4291
4292         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4293         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4294         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4295         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4296         (gst_bin_change_state), (gst_bin_dispose):
4297         Some documentation updates.
4298         Clean up dispose handlers.
4299
4300         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4301         * gst/gstpad.c: (gst_pad_dispose):
4302         Clean up dispose handler.
4303
4304         * gst/gstpipeline.c: (gst_pipeline_change_state):
4305         Removed spurious UNLOCK.
4306
4307 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4308
4309         * docs/gst/gstreamer-sections.txt:
4310         * gst/base/gstbasesrc.h:
4311         * gst/gstelement.h:
4312         * gst/gstevent.h:
4313         * gst/gstobject.h:
4314         * gst/gstpad.h:
4315         * gst/gstpipeline.c:
4316         * gst/gstpipeline.h:
4317         * gst/gstutils.h:
4318         * gst/gstxml.h:
4319           added two new functions to the docs
4320                 documents all undocumented GstXXXFlags
4321                 completed some incomplete docs 
4322
4323 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4324
4325         * gst/gstbin.c: (gst_bin_dispose):
4326         * gst/gstelement.c: (gst_element_dispose):
4327           remove now useless and leaky resurrection code in dispose
4328         * gst/base/gstbasesrc.c: (gst_base_src_init):
4329         * gst/gstelementfactory.c: (gst_element_factory_create):
4330         * gst/gstobject.c: (gst_object_set_parent):
4331           add some debugging
4332
4333 2005-09-27  Wim Taymans  <wim@fluendo.com>
4334
4335         * docs/design/part-TODO.txt:
4336         Update TODO.
4337
4338         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4339         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4340         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4341         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4342         (gst_bin_change_state):
4343         * gst/gstelement.h:
4344         Remove element variable, we keep element info in the iterator now.
4345
4346 2005-09-27  Andy Wingo  <wingo@pobox.com>
4347
4348         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4349         values.
4350
4351 2005-09-27  Wim Taymans  <wim@fluendo.com>
4352
4353         * check/gst/gstbin.c: (GST_START_TEST):
4354         Enable check that works now.
4355
4356         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4357         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4358         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4359         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4360         (gst_bin_change_state):
4361         * gst/gstbin.h:
4362         Redid the state change algorithm using a topological sort algo.
4363         Handles all cases correctly.
4364         Exposed iterator for state change order.
4365
4366         * gst/gstelement.h:
4367         Temp storage for state changes. Need to get rid of this soon.
4368
4369 2005-09-27  Wim Taymans  <wim@fluendo.com>
4370
4371         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4372         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4373         (link_fold_func), (gst_pad_proxy_setcaps):
4374         Leak fixes, the fold functions need to unref the passed object and
4375         _get_parent_*() returns ref to parent.
4376
4377 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4378
4379         * check/gst/gstbuffer.c: (test_make_writable):
4380           Plug leak in test case and fix 'make check-valgrind'
4381
4382 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4383
4384         * gst/gstbuffer.c: (gst_subbuffer_init):
4385           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4386           works correctly in all circumstances (we could have just copied
4387           the parent buffer's readonly flag, but conceptually it seems
4388           cleaner to mark all subbuffers as read-only). (based on patch
4389           by Alessandro Decina, #314710).
4390         
4391         * check/gst/gstbuffer.c: (create_read_only_buffer),
4392         (test_make_writable), (test_subbuffer_make_writable),
4393         (gst_test_suite):
4394           Add some tests for gst_buffer_make_writable().
4395
4396 2005-09-27  Wim Taymans  <wim@fluendo.com>
4397
4398         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4399         use gst_object_has_ancestor().
4400
4401         * gst/gstobject.c: (gst_object_has_ancestor):
4402         * gst/gstobject.h:
4403         gst_object_has_ancestor() copied from gstbin.c as it is a
4404         usefull function.
4405
4406         * tests/instantiate/create.c: (create_all_elements):
4407         * tests/lat.c: (handoff_src), (handoff_sink):
4408         * tests/sched/runxml.c: (main):
4409         * tests/seeking/seeking1.c: (main):
4410         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4411         (main):
4412         Fix compilation of some tests.
4413
4414 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4415
4416         * gst/gsterror.h:
4417           Remove comment. GST_TYPE_G_ERROR is here to stay,
4418           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4419           (#316961, #300610).
4420
4421 2005-09-26  Wim Taymans  <wim@fluendo.com>
4422
4423         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4424         Added check that shows error in state change order.
4425
4426 2005-09-26  Wim Taymans  <wim@fluendo.com>
4427
4428         * gst/gstbin.c: (gst_bin_change_state):
4429         Make state change function use 3 queues again, we were
4430         adding elements in the wrong order.
4431
4432         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4433         Some debug info,
4434
4435         * gst/gstpad.c: (gst_pad_dispose):
4436         Added some debug info first.
4437
4438 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4439
4440         * docs/design/draft-push-pull.txt:
4441         * docs/design/part-events.txt:
4442         * docs/design/part-overview.txt:
4443         * docs/design/part-scheduling.txt:
4444           Replace all _pull_region() with _pull_range()
4445           
4446 2005-09-26  Andy Wingo  <wingo@pobox.com>
4447
4448         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4449
4450         * check/gst-libs/controller.c: Update for controller api change.
4451
4452         * configure.ac: 
4453         * tests/Makefile.am:
4454         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4455         over by GLib bug 118439.
4456         
4457         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4458         routines to a function.
4459
4460         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4461
4462         * libs/gst/controller/gsthelper.c:
4463         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4464         (gst_object_sync_values): Renamed from sink_values. Ugh.
4465
4466         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4467
4468         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4469         Renamed from controller_key, as it is exported.
4470
4471         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4472
4473 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4474
4475         * gst/Makefile.am:
4476         * gst/gst.h:
4477         * gst/gstpad.h:
4478         * gst/gstpadtemplate.h:
4479         * gst/gstquery.c:
4480         * gst/gstquery.h:
4481         * gst/gstqueryutils.c:
4482         * gst/gstqueryutils.h:
4483           remove queryutils headers after moving the two used functions
4484           to gstquery.  also fixes build problem for gstsiddec
4485
4486 2005-09-26  Michael Smith <msmith@fluendo.com>
4487
4488         * tools/gst-launch.1.in:
4489         Correct documentation in manpage of debug syntax
4490
4491 2005-09-26  Wim Taymans  <wim@fluendo.com>
4492
4493         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4494         (gst_base_src_is_seekable), (gst_base_src_change_state):
4495         Some more debugging info.
4496
4497 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4498
4499         * docs/gst/gstreamer-sections.txt:
4500         * gst/base/gstbasetransform.h:
4501         * gst/gstindex.h:
4502           added more docs
4503
4504 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4505
4506         * docs/gst/.cvsignore:
4507         * docs/gst/tmpl/.cvsignore:
4508         * docs/gst/tmpl/gstpipeline.sgml:
4509         * docs/gst/tmpl/gstplugin.sgml:
4510         * gst/gstpipeline.c:
4511         * gst/gstplugin.c:
4512         * gst/gstplugin.h:
4513           inlined the last two docs files
4514           removed the tmpl directory from cvs (no more conflicts here!)
4515
4516 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4517
4518         * docs/gst/gstreamer-sections.txt:
4519         * docs/gst/tmpl/.cvsignore:
4520         * docs/gst/tmpl/gstpad.sgml:
4521         * docs/gst/tmpl/gstpadtemplate.sgml:
4522         * gst/Makefile.am:
4523         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4524         (gst_pad_finalize), (gst_pad_set_pad_template):
4525         * gst/gstpad.h:
4526         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4527         (gst_pad_template_class_init), (gst_pad_template_init),
4528         (gst_pad_template_dispose), (name_is_valid),
4529         (gst_static_pad_template_get), (gst_pad_template_new),
4530         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4531         (gst_pad_template_pad_created):
4532         * gst/gstpadtemplate.h:
4533           inlined two more docs
4534           factored gstpadtemplate out of gstpad
4535
4536 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4537
4538         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4539         (test_children_state_change_order_semi_sink):
4540           Fix test case: we can't rely on a fixed state change order when
4541           going from READY => PAUSED because the sink might commit its 
4542           new state first when the first buffer created by the source 
4543           reaches the sink before the source has finished its change state.
4544           (Test case still fails at times, see #316856, comment 5 onwards)
4545
4546 2005-09-24  Wim Taymans  <wim@fluendo.com>
4547
4548         * docs/design/part-events.txt:
4549         * docs/design/part-gstbus.txt:
4550         * docs/design/part-gstpipeline.txt:
4551         * docs/design/part-messages.txt:
4552         * docs/design/part-overview.txt:
4553         * docs/design/part-segments.txt:
4554         * gst/gstbin.c:
4555         * gst/gstbuffer.c:
4556         * gst/gstclock.c:
4557         * gst/gstelement.c:
4558         * gst/gstevent.c:
4559         * gst/gstfilter.c:
4560         * gst/gstiterator.c:
4561         Various documentation updates.
4562
4563 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4564
4565         * gst/gstclock.h:
4566           Well, that's embarassing.  Luckily we weren't using
4567           GST_CLOCK_DIFF anywhere.
4568
4569 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4570
4571         * common/gtk-doc.mak:
4572           don't fail on building XML, FC4 slave shows a bunch of doc
4573           missing bits that I don't get
4574         * gst/gstpad.c:
4575         * gst/gstpipeline.c:
4576         * gst/gststructure.c:
4577           some doc updates
4578
4579 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4580
4581         * docs/design/part-gstbin.txt:
4582         * docs/design/part-gstbus.txt:
4583         * gst/gstbus.c:
4584           Add blurb about how the bus goes into flushing mode and
4585           drops all messages when its bin goes from READY into NULL 
4586           state.
4587
4588 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4589
4590         * docs/gst/gstreamer-sections.txt:
4591         * gst/gststructure.c: (gst_structure_get_clock_time):
4592         * gst/gststructure.h:
4593           add a method to get a GstClockTime out of a structure
4594
4595 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4596
4597         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4598         (test_children_state_change_order_semi_sink), (gst_bin_suite):
4599           Added test to check state change order in bins (can still be made
4600           to fail here under heavy disk load; bails out with 'Push on pad
4601           fakesink:sink0, but it was not activated in push mode').
4602
4603         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4604           Fix state change order when there is only a semi sink (#316856)
4605
4606         * gst/gstbus.c: (gst_bus_class_init):
4607           Use _class_peek_parent(), not _class_ref(); fix docs to say
4608           'default main context' instead of 'mainloop' where that is
4609           what's meant.
4610
4611         * gst/gstelement.c: (gst_element_commit_state),
4612         (gst_element_set_state):
4613           Fix typos in debug messages
4614
4615 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4616
4617         * docs/README:
4618         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4619         * gst/gstpluginfeature.c:
4620         * gst/gstutils.c:
4621           various doc updates
4622         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4623           change an assert into an error until it gets fixed properly
4624
4625 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
4626
4627         * docs/gst/gstreamer-sections.txt:
4628         * docs/gst/tmpl/.cvsignore:
4629         * docs/gst/tmpl/gstelement.sgml:
4630         * docs/gst/tmpl/gstinfo.sgml:
4631         * docs/gst/tmpl/gstobject.sgml:
4632         * gst/gstelement.c:
4633         * gst/gstelement.h:
4634         * gst/gstinfo.c:
4635         * gst/gstinfo.h:
4636         * gst/gstobject.c: (gst_object_class_init):
4637         * gst/gstobject.h:
4638           inlined 3 more biiiig doc files and added some missing docs on the fly
4639
4640 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4641
4642         * check/gst/.cvsignore:
4643         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4644         * gst/gstregistryxml.c: (load_plugin),
4645         (gst_registry_xml_save_plugin):
4646           put back source in registry.  add checks for find_plugin.
4647         * testsuite/states/bin.c: (assert_state), (empty_bin),
4648         (test_adding_one_element), (main):
4649         * testsuite/states/locked.c: (main):
4650           some compile/run fixes
4651
4652 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4653
4654         * check/gst/gstvalue.c: (GST_START_TEST):
4655           fix leaks in the test itself
4656
4657 2005-09-22  Wim Taymans  <wim@fluendo.com>
4658
4659         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4660         (gst_base_sink_send_event), (gst_base_sink_peer_query),
4661         (gst_base_sink_query):
4662         Prepare for more accurate position reporting and query
4663         handling.
4664
4665         * gst/gstelement.c: (gst_element_send_event),
4666         (gst_element_set_state):
4667         Add some comment.
4668
4669 2005-09-22  Wim Taymans  <wim@fluendo.com>
4670
4671         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4672         (gst_query_parse_segment):
4673         * gst/gstquery.h:
4674         More documentation.
4675         Add segment query for future use.
4676
4677 2005-09-22  Wim Taymans  <wim@fluendo.com>
4678
4679         * gst/gstbin.c: (gst_bin_add_func):
4680         Some more debug info.
4681
4682         * gst/gstelement.c: (gst_element_send_event):
4683         Simplify send_event
4684
4685         * gst/gstelement.h:
4686         Don't know how flags got broken.
4687
4688         * gst/gstquery.h:
4689         Added new query.
4690
4691 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4692
4693         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4694           Add simplistic test suite for GST_TYPE_DATE serialisation and
4695           deserialisation.
4696
4697 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4698
4699         * docs/gst/gstreamer-sections.txt:
4700         * gst/gststructure.c: (gst_structure_set_valist),
4701         (gst_structure_get_date):
4702         * gst/gststructure.h:
4703         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4704         (gst_date_copy), (gst_value_compare_date),
4705         (gst_value_serialize_date), (gst_value_deserialize_date),
4706         (gst_value_transform_date_string),
4707         (gst_value_transform_string_date), (_gst_value_initialize):
4708         * gst/gstvalue.h:
4709           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4710           bunch of utility functions along with a hack that checks that
4711           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4712           is required. Part of the grand scheme in #170777.
4713
4714 2005-09-22  Andy Wingo  <wingo@pobox.com>
4715
4716         * gst/gstconfig.h.in: Psych out gtk-doc.
4717
4718         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4719
4720         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4721
4722         * tools/gst-inspect.c (print_element_list): Plug some
4723         inconsequential leaks.
4724
4725         * gst/gstregistry.c (gst_registry_get_default): Doc.
4726
4727         * check/gst/gstplugin.c: 
4728         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4729         * gst/gstelementfactory.c (gst_element_factory_create): 
4730         * gst/gstindexfactory.c (gst_index_factory_create): Update for
4731         refcount changes.
4732
4733         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4734         (gst_plugin_feature_load): Doc, don't eat refs.
4735
4736         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4737         (gst_plugin_list_free): Doc.
4738         (gst_plugin_load_file): Doc updates.
4739
4740         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4741         accessors returning refcounted objects, return a ref.
4742
4743         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4744         accessor for caps. IDEMPOTENCE. Oh yes.
4745
4746 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
4747
4748         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4749
4750         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4751         (_gst_debug_register_funcptr):
4752           Add mutex to serialise access to the hash table with
4753           the function pointer => function name string mapping;
4754           make that hash table static scope (#316809).
4755
4756         * gst/registries/.cvsignore:
4757           Remove left-over file.
4758
4759 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4760
4761         * docs/pwg/appendix-porting.xml:
4762           And something about newsegment events and caps-on-buffers to
4763           the porting guide (feel free to improve).
4764
4765 2005-09-21  Andy Wingo  <wingo@pobox.com>
4766
4767         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4768         data and event probes on the same pad.
4769         (test_buffer_probe_once): Test that removing probes from within
4770         the probe functions works.
4771
4772 2005-09-21  Andy Wingo  <wingo@pobox.com>
4773
4774         * check/gst/gstutils.c: New file.
4775         (test_buffer_probe_n_times): A simple buffer probe test. More to
4776         come, foolios.
4777
4778         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4779         have-data::buffer, not have-data.
4780         (gst_pad_add_event_probe): Likewise for have-data::event.
4781         (gst_pad_add_data_probe): More docs. The part about 'resolving the
4782         peer' isn't quite right yet though.
4783         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
4784         (gst_pad_remove_data_probe): Change to take the guint handler_id
4785         as their arg, not the function+data, which is more glib-like.
4786
4787         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4788         the signal emission to indicate if the data is a buffer or an
4789         event.
4790         (gst_pad_get_type): Initialize buffer and event quarks.
4791         (gst_pad_class_init): have-data is now a detailed signal, yes it
4792         is.
4793
4794 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4795
4796         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4797         * gst/gstutils.c: (gst_util_set_value_from_string),
4798         (gst_util_set_object_arg):
4799           Don't put functional code in g_return_if_fail() or
4800           g_return_val_if_fail() statements, otherwise things will 
4801           break when G_DISABLE_CHECKS is defined during compilation.
4802
4803 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4804
4805         * docs/gst/tmpl/.cvsignore:
4806         * docs/gst/tmpl/gstvalue.sgml:
4807         * gst/gstvalue.c:
4808         * gst/gstvalue.h:
4809           inlied another one and added  some obvious docs
4810
4811 2005-09-21  Wim Taymans  <wim@fluendo.com>
4812
4813         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4814         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4815         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4816         (gst_fdsrc_get_property), (gst_fdsrc_create):
4817         * gst/elements/gstfdsrc.h:
4818         Properly implement fdsrc. Removed signal and timeout,
4819         better implemented somewhere else.
4820
4821 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4822
4823         * docs/gst/tmpl/.cvsignore:
4824         * docs/gst/tmpl/gstimplementsinterface.sgml:
4825         * gst/gstinterface.c:
4826           inlined more docs
4827
4828 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4829
4830         * docs/gst/gstreamer-sections.txt:
4831         * docs/gst/tmpl/.cvsignore:
4832         * docs/gst/tmpl/gstenumtypes.sgml:
4833           remove obsolete doc file
4834
4835 2005-09-21  David Schleef  <ds@schleef.org>
4836
4837         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4838         little beer, fix a little leak.
4839
4840 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4841
4842         * docs/gst/gstreamer-docs.sgml:
4843         * docs/gst/gstreamer-sections.txt:
4844         * docs/gst/tmpl/.cvsignore:
4845         * gst/Makefile.am:
4846         * gst/gst.h:
4847         * gst/gstbin.c:
4848         * gst/gstelement.h:
4849         * gst/gstindex.c: (gst_index_class_init):
4850         * gst/gstindex.h:
4851         * gst/gstindexfactory.c: (gst_index_factory_get_type),
4852         (gst_index_factory_class_init), (gst_index_factory_init),
4853         (gst_index_factory_finalize), (gst_index_factory_new),
4854         (gst_index_factory_destroy), (gst_index_factory_find),
4855         (gst_index_factory_create), (gst_index_factory_make):
4856         * gst/gstindexfactory.h:
4857         * gst/gstpluginfeature.c:
4858         * gst/gstpluginfeature.h:
4859         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4860           more docs inlined, splitted gstindex.{c,h}
4861
4862 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4863
4864         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4865           fix a leak
4866
4867 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4868
4869         * gst/elements/gstfilesink.c: (gst_file_sink_init):
4870           Set sync to FALSE by default.
4871
4872 2005-09-20  Wim Taymans  <wim@fluendo.com>
4873
4874         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4875         (gst_base_sink_init):
4876         Make sync property settable from subclass.
4877
4878         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4879         (gst_fake_sink_change_state):
4880         Set sync to FALSE by default.
4881
4882 2005-09-20  Wim Taymans  <wim@fluendo.com>
4883
4884         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4885         * tools/gst-launch.c: (main):
4886         The timeout handler should have lower priority than the source
4887         so we don't timeout before popping a message with 0 timeout.
4888         Dump error messages after failed state change.
4889
4890 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4891
4892         * tools/gst-inspect.c: (print_element_properties_info):
4893           Fix two typos.
4894
4895 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4896
4897         * check/gst/gstevent.c:
4898         * gst/elements/gstfakesink.c:
4899         * gst/elements/gstfakesink.h:
4900           remove the sync property from fakesink.
4901           has the side effect of setting sync TRUE
4902           for fakesink, which is a change.  Anyone who knows how
4903           to fix this nicely in a GObject-y way, feel free.
4904
4905 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4906
4907         * docs/gst/gstreamer-docs.sgml:
4908           remove probe refsection
4909
4910 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4911
4912         * check/Makefile.am:
4913           disable valgrinding the controller test again
4914         * docs/gst/gstreamer-sections.txt:
4915           update for api-changes
4916
4917 2005-09-20  Wim Taymans  <wim@fluendo.com>
4918
4919         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4920         (gst_base_sink_set_property), (gst_base_sink_get_property),
4921         (gst_base_sink_do_sync):
4922         * gst/base/gstbasesink.h:
4923         Added sync property to basesink to disable clock sync.
4924
4925 2005-09-20  Andy Wingo  <wingo@pobox.com>
4926
4927         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
4928         eating the caller's refcount.
4929
4930         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
4931         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
4932         refcount.
4933
4934         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
4935         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
4936         of GLib 2.8 public, so we can know which refcount to check in
4937         tests.
4938
4939         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
4940         (gst_object_init): Only set the gst refcount if we're going ahead
4941         with the refcount hack.
4942
4943 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4944
4945         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4946         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4947           more leaks plumbed, added more debug-logging
4948         * gst/gstmacros.h:
4949           whitespace fix
4950
4951 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4952
4953         * gst/gstmessage.c:
4954           remove include of gstmemchunk.h
4955
4956 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4957
4958         * gst/gstclock.c: (_gst_clock_id_free):
4959           Commit from the Political Party For More Atomic CVS Commits,
4960           so that people don't waste too much of their day fishing
4961           out obvious leaks out of massive commits.
4962           Oh, and fix a pretty damn obvious leak in the memchunk
4963           removal code.
4964
4965 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4966
4967         * check/Makefile.am:
4968         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4969           plug mem-leak, re-add to valgrindable tests
4970
4971 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4972
4973         * gst/gstplugin.h:
4974           unbreak the build for those who have chronic arthritis
4975           and typing "make check" is just too taxing on the hands
4976
4977 2005-09-20  Andy Wingo  <wingo@pobox.com>
4978
4979         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
4980         really want it out, you should fix plugins at the same time.
4981
4982 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
4983
4984         * configure.ac:
4985         * docs/gst/gstreamer-sections.txt:
4986         * gst/gstobject.c:
4987           added missing symbols to api docs
4988           disable ref-count hack if we have glib >= 2.8
4989
4990 2005-09-19  David Schleef  <ds@schleef.org>
4991
4992         * docs/gst/Makefile.am: Ignore a few more internal headers
4993         * docs/gst/gstreamer-docs.sgml: Remove old sections
4994         * docs/gst/gstreamer-sections.txt: Remove old sections
4995         * docs/gst/tmpl/gstobject.sgml: update
4996         * docs/gst/tmpl/gstplugin.sgml: update
4997         * docs/gst/tmpl/gstpluginfeature.sgml: update
4998         * docs/random/ds/0.9-suggested-changes: update.
4999         * gst/Makefile.am: remove memchunk and trashstack, since they're
5000           not used.
5001         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5002         * gst/gst.h: don't include some headers
5003         * gst/gstchildproxy.c: add gstmarshal.h
5004         * gst/gstclock.c: Don't use memchunks
5005         * gst/gstminiobject.c: Add some docs
5006         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5007         * gst/gstobject.h: same
5008         * gst/gstplugin.c: include gstmacros.h
5009         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5010         * gst/gstquery.c: don't use memchunks
5011         * gst/gstregistry.c: rename gst_registry_deinit()
5012         * gst/gstregistry.h: same
5013
5014 2005-09-19  David Schleef  <ds@schleef.org>
5015
5016         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5017         * docs/libs/gstreamer-libs-sections.txt:
5018         * docs/libs/tmpl/gstgetbits.sgml:
5019         * docs/libs/tmpl/gstputbits.sgml:
5020
5021 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5022
5023         * win32/gstenumtypes.c:
5024         * win32/gstenumtypes.h:
5025           Update.
5026
5027 2005-09-19  Wim Taymans  <wim@fluendo.com>
5028
5029         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5030         Automatically PAUSE and RESUME a pipeline when a flushing seek
5031         is performed.
5032
5033 2005-09-19  Andy Wingo  <wingo@pobox.com>
5034
5035         * gst/gstregistry.h: Spacing fixen.
5036
5037 2005-09-19  Wim Taymans  <wim@fluendo.com>
5038
5039         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5040         Handle state change failure more correctly.
5041
5042 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5043
5044         * check/Makefile.am:
5045         * check/pipelines/cleanup.c: (run_pipeline):
5046         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5047         (GST_START_TEST):
5048           enable cleanup again after fixing the leak
5049         * docs/README:
5050           some more info on docs
5051
5052 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5053
5054         * check/Makefile.am:
5055           re-enable tests now that leaks are plugged
5056         * check/gst/gst.c:
5057         * check/gst/gstbin.c:
5058         * check/gst/gstpipeline.c:
5059           add some more tests while fixing leaks
5060         * common/check.mak:
5061           make sure binaries are uptodate when valgrinding/gdbing
5062         * gst/gst.c:
5063         * gst/gstelementfactory.c:
5064           remove a ref too many, and add a FIXME for when we get
5065           round to disposing of classes
5066         * gst/gstplugin.c:
5067           fix the refcounting when loading a plugin from a file and
5068           the code pretends that the pointer is the same even though
5069           of course it can change
5070         * gst/gstpluginfeature.c:
5071           unref plugins marked cached (a bit confusing as a name)
5072           as the docs state should be done
5073           various doc additions to explain refcounting
5074         * gst/gstregistry.c:
5075         * gst/gstregistryxml.c:
5076           debugging
5077
5078 2005-09-19  Wim Taymans  <wim@fluendo.com>
5079
5080         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5081         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5082         (send_messages), (GST_START_TEST), (gstbus_suite):
5083         * check/gst/gstpipeline.c: (GST_START_TEST):
5084         * check/pipelines/cleanup.c: (run_pipeline):
5085         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5086         (GST_START_TEST):
5087         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5088         (gst_bus_source_check), (gst_bus_source_dispatch),
5089         (gst_bus_create_watch), (gst_bus_add_watch_full),
5090         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5091         * gst/gstbus.h:
5092         * tools/gst-launch.c: (event_loop):
5093         * tools/gst-md5sum.c: (event_loop):
5094         GstBusHandler -> GstBusFunc, return value has the same meaning as
5095         any other GSource (FALSE == remove source).
5096         _add_watch() and _add_watch_full() now take a MessageType mask to
5097         only handle specific types of messages.
5098         _poll() returns the GstMessage instead of the message type to avoid
5099         race conditions.
5100         _have_pending() takes a MessageType mask now too.
5101         Added testsuite for multiple bus watches.
5102         Fix testsuites and applications for new bus API.
5103
5104 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5105
5106         * check/Makefile.am:
5107           mark a bunch of the tests as to fix until we fix them
5108
5109 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5110
5111         * common/check.mak:
5112           use GST_PLUGIN settings for valgrind tests as well, so we're
5113           valgrinding the correct thing
5114         * gst/gst.c: (init_post):
5115           plug another leak
5116
5117 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5118
5119         * gst/gst.c: (init_post), (gst_deinit):
5120         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5121         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5122         * gst/gstindex.c: (gst_index_factory_class_init),
5123         (gst_index_factory_finalize):
5124         * gst/gstobject.c: (gst_object_dispose):
5125         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5126         (gst_plugin_load_file), (gst_plugin_desc_free):
5127         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5128         (gst_plugin_feature_finalize):
5129         * gst/gstregistry.c: (gst_registry_class_init),
5130         (gst_registry_init), (gst_registry_finalize),
5131         (gst_registry_get_default), (gst_registry_deinit):
5132         * gst/gstregistry.h:
5133         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5134           various cleanups and memleak plugging.  make valgrind is happy now.
5135
5136 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5137
5138         * common/check.mak:
5139           add a check-valgrind target
5140
5141 2005-09-18  David Schleef  <ds@schleef.org>
5142
5143         * tools/gst-inspect.c: Revert the GOption code.
5144
5145 2005-09-17  David Schleef  <ds@schleef.org>
5146
5147         * check/Makefile.am: Fix environment variables.
5148         * check/gst/gstplugin.c: Fix for API changes.
5149         * tools/gst-inspect.c: Fix for API changes.
5150         * tools/gst-xmlinspect.c: Fix for API changes.
5151         * gst/gstelementfactory.c:
5152         * gst/gstplugin.c:
5153         * gst/gstplugin.h:
5154         * gst/gstpluginfeature.c:
5155         * gst/gstpluginfeature.h:
5156         * gst/gstregistry.c:
5157         * gst/gstregistry.h:
5158         * gst/gstregistryxml.c:
5159         * gst/gsttypefind.c:
5160         * gst/gsttypefindfactory.c:
5161         * gst/indexers/gstfileindex.c:
5162         * gst/indexers/gstmemindex.c:
5163         * gst/schedulers/Makefile.am:
5164           Change registry to keep track of both plugins and features,
5165           removing the feature tracking from plugins themselves.
5166
5167 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5168
5169         * check/Makefile.am:
5170         * tools/gst-register.1.in:
5171           remove gst-register
5172
5173 2005-09-15  David Schleef  <ds@schleef.org>
5174
5175         * check/gst/gstplugin.c:
5176         * gst/gstelementfactory.c:
5177         * gst/gstplugin.c:
5178         * gst/gstpluginfeature.c:
5179         * gst/gstregistry.c:
5180           Getting tired of debugging.  Disabled all the unreffing of
5181           plugins and features, which fixes the segfaults, but of
5182           course leaks like crazy.  At least playbin works.
5183
5184 2005-09-15  David Schleef  <ds@schleef.org>
5185
5186         * check/gst/gstplugin.c: (register_check_elements),
5187         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5188         More testing
5189         * gst/elements/gsttypefindelement.c: Fix refcounting.
5190         * gst/gsttypefind.c:
5191         * gst/gsttypefindfactory.c:
5192         * gst/gsttypefindfactory.h:
5193
5194 2005-09-15  David Schleef  <ds@schleef.org>
5195
5196         * gst/gstindex.c: get refcounting correct.
5197         * gst/gstregistry.c: Handle the case where a feature/plugin is
5198           not found.
5199
5200 2005-09-15  David Schleef  <ds@schleef.org>
5201
5202         * check/Makefile.am:
5203         * check/gst/gstplugin.c: Add test
5204         * gst/gstplugin.c: Fix problems noticed by testsuite
5205         * gst/gstplugin.h:
5206         * gst/gstregistry.c: 
5207         * gst/gstregistry.h:
5208
5209 2005-09-15  David Schleef  <ds@schleef.org>
5210
5211         * gst/gstplugin.c: Implement semi-decent recounting and locking
5212           in plugins and plugin features.
5213         * gst/gstplugin.h:
5214         * gst/gstpluginfeature.c:
5215         * gst/gstpluginfeature.h:
5216         * gst/gstregistry.c:
5217
5218 2005-09-15  Michael Smith <msmith@fluendo.com>
5219
5220         * gst/gstregistry.c: (gst_registry_get_feature_list):
5221           Implement this. Makes oggdemux work; decodebin still broken.
5222
5223 2005-09-14  David Schleef  <ds@schleef.org>
5224
5225         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5226           #316076)
5227         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5228         * gst/check/Makefile.am:
5229         * libs/gst/controller/Makefile.am:
5230         * libs/gst/dataprotocol/Makefile.am:
5231
5232 2005-09-14  David Schleef  <ds@schleef.org>
5233
5234         * configure.ac: Remove getbits library.  Nothing uses it, and
5235           it should be in something like liboil if someone did want
5236           to use it.
5237         * libs/gst/Makefile.am:
5238         * libs/gst/getbits/Makefile.am:
5239         * libs/gst/getbits/gbtest.c:
5240         * libs/gst/getbits/getbits.c:
5241         * libs/gst/getbits/getbits.h:
5242         * libs/gst/getbits/gstgetbits_generic.c:
5243         * libs/gst/getbits/gstgetbits_i386.s:
5244         * libs/gst/getbits/gstgetbits_inl.h:
5245
5246 2005-09-14  David Schleef  <ds@schleef.org>
5247
5248         * gst/Makefile.am: Dist glib-compat.h
5249
5250 2005-09-14  David Schleef  <ds@schleef.org>
5251
5252         * configure.ac: Remove gst/registries, since it's no longer used.
5253         * gst/registries/Makefile.am:
5254         * gst/registries/gstlibxmlregistry.c:
5255         * gst/registries/gstlibxmlregistry.h:
5256         * gst/registries/gstxmlregistry.c:
5257         * gst/registries/gstxmlregistry.h:
5258         * gst/registries/registrytest.c:
5259
5260 2005-09-14  David Schleef  <ds@schleef.org>
5261
5262         * gst/glib-compat.h:
5263         * gst/gstregistryxml.c:
5264           Convergence is near.  Seriously.
5265
5266 2005-09-14  David Schleef  <ds@schleef.org>
5267
5268         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5269         * gst/glib-compat.h:
5270           Attempt #4 to appease the buildbots.
5271
5272 2005-09-14  David Schleef  <ds@schleef.org>
5273
5274         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5275           Attempt #3.
5276
5277 2005-09-14  David Schleef  <ds@schleef.org>
5278
5279         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5280         Attempt #2.
5281
5282 2005-09-14  David Schleef  <ds@schleef.org>
5283
5284         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5285           the new functions.
5286
5287 2005-09-14  David Schleef  <ds@schleef.org>
5288
5289         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5290         * gst/glib-compat.h: Add some functions that are in newer versions
5291           of glib than we care to require.
5292         * gst/gstregistryxml.c: Use them.
5293
5294 2005-09-14  David Schleef  <ds@schleef.org>
5295
5296         * po/POTFILES.in: remove gst-register.c
5297
5298 2005-09-14  David Schleef  <ds@schleef.org>
5299
5300         * docs/gst/gstreamer-docs.sgml:
5301         * docs/gst/gstreamer-sections.txt:
5302         * docs/gst/gstreamer.types:
5303         * docs/gst/tmpl/gstelement.sgml:
5304         * docs/gst/tmpl/gstplugin.sgml:
5305         * docs/gst/tmpl/gstpluginfeature.sgml:
5306           Documentation updates for registry changes.
5307
5308 2005-09-14  David Schleef  <ds@schleef.org>
5309
5310         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5311           because we don't require glib-2.8.
5312
5313 2005-09-14  David Schleef  <ds@schleef.org>
5314
5315         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5316           registries directory.
5317
5318 2005-09-14  David Schleef  <ds@schleef.org>
5319
5320         * check/Makefile.am:
5321         * check/generic/states.c:
5322         * gst/Makefile.am:
5323         * gst/gst.c:
5324         * gst/gst.h:
5325         * gst/gst_private.h:
5326         * gst/gstelementfactory.c:
5327         * gst/gstindex.c:
5328         * gst/gstinfo.c:
5329         * gst/gstplugin.c:
5330         * gst/gstplugin.h:
5331         * gst/gstpluginfeature.c:
5332         * gst/gstpluginfeature.h:
5333         * gst/gstregistry.c:
5334         * gst/gstregistry.h:
5335         * gst/gstregistrypool.c: remove
5336         * gst/gstregistrypool.h: remove
5337         * gst/gsttypefind.c:
5338         * gst/gsttypefindfactory.c:
5339         * gst/gsturi.c:
5340         * tools/Makefile.am:
5341         * tools/gst-compprep.c:
5342         * tools/gst-inspect.c:
5343         * tools/gst-register.c: remove
5344         * tools/gst-xmlinspect.c:
5345           Registry rewrite.  Changes registry from being a file created
5346           by a tool into a simple cache file created automatically by 
5347           libgstreamer.  Removed gst-register (because it's no longer
5348           needed).  Remove registry pools, because we only have one
5349           registry implementation (XML).  Fix up other subsystems as
5350           necessary.
5351
5352 2005-09-13  Michael Smith <msmith@fluendo.com>
5353
5354         * gst/gstconfig.h.in:
5355           Don't Use windows linking attributes for MinGW. Fixes #316157
5356
5357 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5358
5359         * gst/gstutils.c: (set_state_async_thread_func),
5360         (gst_element_set_state_async):
5361           Apparently people think it's better if this function doesn't
5362           try to set the state to whatever state was asked for on the first
5363           call to this function for any object.  Seriously.
5364
5365 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5366
5367         * check/gst/gstpipeline.c: (GST_START_TEST):
5368         * docs/gst/gstreamer-sections.txt:
5369         * gst/gstutils.c: (set_state_async_thread_func),
5370         (gst_element_set_state_async):
5371         * gst/gstutils.h:
5372           add a "gst_element_set_state_async" method that
5373           sets the state and starts a thread to make sure the state
5374           change completes as best as it can
5375
5376 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5377
5378         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5379           codify design+behaviour in testsuite after discussion
5380
5381 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5382
5383         * docs/gst/tmpl/gstelement.sgml:
5384         * docs/manual/appendix-quotes.xml:
5385           add a quote
5386         * gst/gstelement.c: (gst_element_set_state):
5387           add some debug
5388
5389 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5390
5391         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5392         (gst_base_transform_prepare_output_buf),
5393         (gst_base_transform_handle_buffer):
5394         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5395         (gst_capsfilter_prepare_buf):
5396           Remove the requirement for sub-classes to call the parent
5397           implementation of prepare_output_buffer with a wrapper function.
5398           
5399         * gst/gsttaglist.h:
5400         * gst/gsttagsetter.h:
5401           Fix #define wrapper
5402
5403 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5404
5405         * docs/gst/gstreamer-sections.txt:
5406           more doc cleanups
5407
5408 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5409
5410         * docs/gst/gstreamer-sections.txt:
5411         * docs/gst/tmpl/gstelement.sgml:
5412         * docs/gst/tmpl/gstplugin.sgml:
5413         * gst/gstminiobject.c:
5414         * gst/gstvalue.h:
5415           docs now stop throwing warnings
5416
5417 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5418
5419         * docs/gst/gstreamer-sections.txt:
5420         * docs/gst/gstreamer.types:
5421         * docs/gst/tmpl/gstpad.sgml:
5422         * docs/gst/tmpl/gsttypes.sgml:
5423         * gst/base/gstadapter.h:
5424         * gst/base/gstbasesink.h:
5425         * gst/base/gstbasesrc.h:
5426         * gst/gstbin.h:
5427         * gst/gstbuffer.h:
5428         * gst/gstbus.h:
5429         * gst/gstcaps.h:
5430         * gst/gstclock.h:
5431         * gst/gstelement.h:
5432         * gst/gstevent.h:
5433         * gst/gstmessage.h:
5434         * gst/gstpad.h:
5435         * gst/gststructure.c:
5436         * gst/registries/gstlibxmlregistry.h:
5437           various documentation fixes
5438
5439 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5440
5441         * docs/gst/gstreamer-sections.txt:
5442         * docs/gst/tmpl/gstvalue.sgml:
5443           rearrange gstvalue section
5444         * gst/gstutils.c: (gst_element_state_get_name):
5445           NONE -> VOID
5446         * gst/gstvalue.c: (_gst_value_initialize):
5447         * gst/gstvalue.h:
5448           doc updates
5449
5450 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5451
5452         * check/gst-libs/controller.c:
5453           Header include fix.
5454         * gst/base/gstbasetransform.c:
5455         (gst_base_transform_default_prepare_buf),
5456         (gst_base_transform_handle_buffer):
5457         * gst/base/gstbasetransform.h:
5458           Some more basetransform changes and fixes to enable sub-classes
5459           that modify buffer metadata only.
5460         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5461         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5462         (gst_capsfilter_prepare_buf):
5463           If the output pad has fixed allowed caps and input buffers 
5464           don't have any, set the fixed caps on outgoing buffers.
5465
5466 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5467         * check/elements/identity.c: (GST_START_TEST):
5468           Make the error a little clearer when the test fails because
5469           identity made a copy of the buffer.
5470         * docs/gst/gstreamer-sections.txt:
5471           New symbols in gstbasetransform.h
5472         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5473         (gst_base_transform_init), (gst_base_transform_transform_size),
5474         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5475         (gst_base_transform_default_prepare_buf),
5476         (gst_base_transform_get_unit_size),
5477         (gst_base_transform_buffer_alloc),
5478         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5479         (gst_base_transform_change_state),
5480         (gst_base_transform_set_passthrough),
5481         (gst_base_transform_set_in_place),
5482         (gst_base_transform_is_in_place):
5483         * gst/base/gstbasetransform.h:
5484           Change BaseTransform to separate in_place operate from same_caps
5485           output. in_place implies that the element can perform the transform
5486           on incoming buffers in-place, even if the caps on the output are
5487           different.
5488           Sub-class elements can now implement special buffer allocation
5489           methods for outgoing buffers if they wish to.
5490           Big documentation addition.
5491         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5492         * gst/elements/gstelements.c:
5493           Changes for basetransform modifications.
5494         * gst/elements/Makefile.am:
5495         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5496           Compile fix. Extra debug output.
5497
5498 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5499
5500         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5501         (gst_pad_suite):
5502           add tests for valid pad naming
5503         * gst/check/gstcheck.c: (gst_check_log_message_func),
5504         (gst_check_log_critical_func):
5505           add ASSERT_WARNING
5506           remove printing of code, it is fragile when the code contains
5507           % and the line number is enough info
5508         * gst/check/gstcheck.h:
5509         * gst/gstpad.c: (gst_pad_template_new):
5510           fix memleaks
5511
5512 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5513
5514         * configure.ac:
5515           say what CHECK flags we use
5516         * docs/libs/gstreamer-libs.types:
5517         * libs/gst/controller/Makefile.am:
5518         * libs/gst/controller/gst-controller.c:
5519         * libs/gst/controller/gst-controller.h:
5520         * libs/gst/controller/gst-helper.c:
5521         * libs/gst/controller/gst-interpolation.c:
5522         * libs/gst/controller/gstcontroller.c:
5523         * libs/gst/controller/gsthelper.c:
5524         * libs/gst/controller/gstinterpolation.c:
5525         * tools/gst-inspect.c: (print_plugin_info):
5526           we don't use dashes in header names
5527
5528 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5529
5530         * check/Makefile.am:
5531         * check/gst/.cvsignore:
5532         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5533         (gst_pipeline_suite), (main):
5534           adding a test for pipelines and state changes
5535         * gst/gstutils.c: (get_state_func):
5536           add some debugging
5537         * gstreamer.spec.in:
5538           fix up spec file
5539
5540 2005-09-08  Michael Smith <msmith@fluendo.com>
5541
5542         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5543         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5544         (gst_file_src_is_seekable), (gst_file_src_get_size),
5545         (gst_file_src_start):
5546         * gst/elements/gstfilesrc.h:
5547           Various fixes for unseekable, unmmapable, and non-normal files, so
5548           that fallback to read() rather than mmap() works.
5549         * gst/gstevent.c: (gst_event_new_newsegment):
5550           Allow newsegment events with segment_start == segment_end, as will
5551           correctly happen if you use filesrc on a zero-size file, for
5552           example.
5553
5554 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5555
5556         * gst/gstplugin.c: (gst_plugin_load_file):
5557           Call g_module_close when we don't load the module
5558
5559         * gst/registries/gstlibxmlregistry.c:
5560         (gst_xml_registry_get_property):
5561           Port leak fix from 0.8
5562
5563 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5564
5565         * docs/gst/gstreamer-docs.sgml:
5566         * docs/gst/tmpl/.cvsignore:
5567         * docs/gst/tmpl/gsttrace.sgml:
5568         * docs/gst/tmpl/gsttrashstack.sgml:
5569         * gst/Makefile.am:
5570         * gst/gst.h:
5571         * gst/gstelement.h:
5572         * gst/gstevent.h:
5573         * gst/gstmessage.c:
5574         * gst/gstmessage.h:
5575         * gst/gsttag.c:
5576         * gst/gsttag.h:
5577         * gst/gsttaginterface.c:
5578         * gst/gsttaginterface.h:
5579         * gst/gsttaglist.c:
5580         * gst/gsttaglist.h:
5581         * gst/gsttagsetter.c:
5582         * gst/gsttagsetter.h:
5583         * gst/gsttrace.c:
5584         * gst/gsttrace.h:
5585         * gst/gsttrashstack.c:
5586           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5587           inlined docs for gsttrace, gsttrashstack
5588
5589 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5590
5591         * gst/Makefile.am:
5592         * gst/elements/gstbufferstore.h:
5593         * gst/elements/gsttypefindelement.c:
5594         * gst/elements/gsttypefindelement.h:
5595         * gst/gst.h:
5596         * gst/gsttypefind.c:
5597         * gst/gsttypefind.h:
5598         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5599         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5600         (gst_type_find_factory_dispose),
5601         (gst_type_find_factory_unload_thyself),
5602         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5603         (gst_type_find_factory_get_caps),
5604         (gst_type_find_factory_get_extensions),
5605         (gst_type_find_factory_call_function):
5606         * gst/gsttypefindfactory.h:
5607         * gst/registries/gstlibxmlregistry.c:
5608         * gst/registries/gstxmlregistry.c:
5609           splitted gsttypefind into gsttypefind, gsttypefindfactory
5610
5611 2005-09-07  Andy Wingo  <wingo@pobox.com>
5612
5613         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5614         condition whereby the pad's task function is entered before the
5615         pad_mode variable was set.
5616
5617 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5618
5619         * gst/gstpad.c: (gst_pad_alloc_buffer):
5620           Catch misbehaving pad_alloc functions that don't
5621           set up caps and do it for them.
5622
5623 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5624
5625         * check/pipelines/simple_launch_lines.c: (run_pipeline):
5626           test for pipe!=NULL
5627         * docs/gst/tmpl/.cvsignore:
5628         * docs/gst/tmpl/gstmemchunk.sgml:
5629         * docs/gst/tmpl/gstparse.sgml:
5630         * docs/gst/tmpl/gsttaglist.sgml:
5631         * docs/gst/tmpl/gsttagsetter.sgml:
5632         * docs/gst/tmpl/gsttypefind.sgml:
5633         * docs/gst/tmpl/gsttypefindfactory.sgml:
5634         * gst/gstmemchunk.c:
5635         * gst/gstparse.c:
5636         * gst/gsttag.c:
5637         * gst/gsttaginterface.c:
5638         * gst/gsttypefind.c:
5639         * gst/gsttypefind.h:
5640           inlined more docs
5641
5642 === release 0.9.2 ===
5643
5644 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5645
5646         * NEWS:
5647         * RELEASE:
5648         * configure.ac:
5649           releasing 0.9.2, "South"
5650
5651 2005-09-05  Andy Wingo  <wingo@pobox.com>
5652
5653         * gst/registries/gstxmlregistry.h:
5654         * gst/registries/gstxmlregistry.c: Um... resurrect...
5655         
5656         * gst/registries/gstxmlregistry.h:
5657         * gst/registries/gstxmlregistry.c: and update to newer API.
5658         Incidentally they should be a bit faster now that they don't have
5659         to parse the caps.
5660         
5661 2005-09-05  Andy Wingo  <wingo@pobox.com>
5662
5663         * gst/registries/gstxmlregistry.h:
5664         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5665         replaced by the libxml registry a while back
5666
5667 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5668
5669         * docs/gst/tmpl/gstplugin.sgml:
5670         * gst/elements/gstelements.c:
5671         * gst/gst.c:
5672         * gst/gstplugin.c: (gst_plugin_register_func),
5673         (gst_plugin_desc_copy), (gst_plugin_desc_free),
5674         (gst_plugin_get_source):
5675         * gst/gstplugin.h:
5676         * gst/registries/gstlibxmlregistry.c: (load_plugin),
5677         (gst_xml_registry_save_plugin):
5678         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5679         (gst_xml_registry_save_plugin):
5680         * tools/gst-inspect.c: (print_plugin_info):
5681           add a "source" plugin description field, to represent the source
5682           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
5683           will set it to PACKAGE, which is automake's idea of the name of
5684           the source project.
5685
5686 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5687
5688         * Makefile.am:
5689         * autogen.sh:
5690         * configure.ac:
5691         * docs/Makefile.am:
5692         * docs/faq/Makefile.am:
5693         * docs/gst/tmpl/gstelement.sgml:
5694         * docs/gst/tmpl/gsttypes.sgml:
5695         * docs/htmlinstall.mak:
5696         * docs/manual/Makefile.am:
5697         * docs/pwg/Makefile.am:
5698           reorganize doc build a little
5699           split out docbook and gtk-doc stuff
5700           have two separate --enable's and enable them through autogen
5701           but disable by default in configure (to be similar to other
5702           projects)
5703         * gstreamer.spec.in:
5704           clean up docs install
5705         * po/af.po:
5706         * po/az.po:
5707         * po/ca.po:
5708         * po/cs.po:
5709         * po/de.po:
5710         * po/en_GB.po:
5711         * po/fr.po:
5712         * po/it.po:
5713         * po/nb.po:
5714         * po/nl.po:
5715         * po/ru.po:
5716         * po/sq.po:
5717         * po/sr.po:
5718         * po/sv.po:
5719         * po/tr.po:
5720         * po/uk.po:
5721         * po/vi.po:
5722           translation updates
5723
5724 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5725
5726         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5727           Add comment.
5728           
5729         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5730         (gst_fake_sink_change_state):
5731           Make state change function thread-safe.
5732           
5733         * gst/gstpad.c: (gst_pad_alloc_buffer):
5734           Set offset on generic buffer allocated by fallback.
5735
5736 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
5737
5738         * docs/gst/gstreamer-sections.txt:
5739         * docs/gst/tmpl/gstelement.sgml:
5740         * gst/gstpad.c:
5741         * libs/gst/controller/gst-controller.c:
5742         (gst_controlled_property_set_interpolation_mode),
5743         (gst_controlled_property_new),
5744         (gst_controller_find_controlled_property):
5745          run the wingo-magic script against the docs
5746
5747 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5748
5749         * docs/gst/gstreamer-docs.sgml:
5750         * docs/gst/gstreamer-sections.txt:
5751         * docs/gst/tmpl/.cvsignore:
5752         * docs/gst/tmpl/gstelementdetails.sgml:
5753         * docs/gst/tmpl/gstelementfactory.sgml:
5754         * gst/gst.c:
5755         * gst/gstbus.c:
5756         * gst/gstelementfactory.c:
5757         * gst/gstelementfactory.h:
5758           merged elementdetails docs into elementfactory docs
5759           inlined both
5760
5761 2005-09-02  Andy Wingo  <wingo@pobox.com>
5762
5763         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5764         consider this enum an enum and not a flags.
5765
5766 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5767
5768         * docs/gst/gstreamer-docs.sgml:
5769         * docs/gst/tmpl/.cvsignore:
5770         * docs/gst/tmpl/gstghostpad.sgml:
5771         * docs/gst/tmpl/gstiterator.sgml:
5772         * docs/gst/tmpl/gstmacros.sgml:
5773         * docs/gst/tmpl/gstrealpad.sgml:
5774         * docs/gst/tmpl/gstregistry.sgml:
5775         * docs/gst/tmpl/gstregistrypool.sgml:
5776         * docs/gst/tmpl/gststructure.sgml:
5777         * docs/gst/tmpl/gstsystemclock.sgml:
5778         * docs/gst/tmpl/gsttrace.sgml:
5779         * gst/gstghostpad.c:
5780         * gst/gstmacros.h:
5781         * gst/gstmemchunk.c:
5782         * gst/gstmemchunk.h:
5783         * gst/gstqueue.c:
5784         * gst/gstregistry.c:
5785         * gst/gstregistrypool.c:
5786         * gst/gststructure.c:
5787         * gst/gstsystemclock.c:
5788           more docs inlined
5789
5790 2005-09-02  Andy Wingo  <wingo@pobox.com>
5791
5792         * gst/gstelement.h (GstState): Renamed from GstElementState,
5793         changed to be a normal enum instead of flags.
5794         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5795         munged to be GST_STATE_CHANGE_*.
5796         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5797         work with the new state representation.
5798         (GstStateChange): New enumeration of possible state transitions.
5799         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5800         (GstElementClass::change_state): Pass the GstStateChange along as
5801         an argument. Helps language bindings, so they don't have to use
5802         tricky lock-needing macros like GST_STATE_CHANGE ().
5803
5804         * scripts/update-states (file): New script. Run it on a file to
5805         update it for state naming and API changes. Updates files in
5806         place.
5807
5808         * All files updated for the new API.
5809
5810 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5811
5812         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5813         * gst/gstutils.c: (gst_util_set_value_from_string),
5814         (gst_util_set_object_arg):
5815           fix a bunch of unchecked return values
5816         * tools/gst-complete.c: (main):
5817         * gstreamer.spec.in:
5818           clean up a little
5819
5820 2005-09-01  Wim Taymans  <wim@fluendo.com>
5821
5822         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5823         (gst_base_sink_event), (gst_base_sink_do_sync),
5824         (gst_base_sink_handle_event):
5825         * gst/base/gstbasesink.h:
5826         Handle newsegments more correctly.
5827
5828         * gst/gstbus.c:
5829         Fix docs.
5830
5831         * gst/gstevent.c: (gst_event_new_newsegment):
5832         A newsegment cannot have a start_time of -1
5833
5834 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5835
5836         * win32/gstenumtypes.c:
5837         * win32/gstenumtypes.h:
5838           Update
5839
5840 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5841
5842         * libs/gst/controller/gst-controller.c:
5843         (gst_controlled_property_set_interpolation_mode),
5844         (gst_controlled_property_new):
5845          fixed boolean again
5846
5847 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5848
5849         * docs/faq/gst-uninstalled:
5850           add -good
5851         * gst/gstevent.c:
5852         * gst/gstevent.h:
5853           remove wrong docs
5854         * gst/gstutils.c: (gst_element_link_filtered):
5855         * gst/gstutils.h:
5856           add gst_element_link_filtered
5857
5858 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5859
5860         * docs/gst/gstreamer-docs.sgml:
5861         * docs/gst/gstreamer-sections.txt:
5862         * docs/gst/tmpl/.cvsignore:
5863         * docs/gst/tmpl/gsterror.sgml:
5864         * docs/gst/tmpl/gstfilter.sgml:
5865         * docs/gst/tmpl/gsturihandler.sgml:
5866         * docs/gst/tmpl/gsturitype.sgml:
5867         * docs/gst/tmpl/gstutils.sgml:
5868         * docs/gst/tmpl/gstxml.sgml:
5869         * gst/gsterror.c:
5870         * gst/gsterror.h:
5871         * gst/gstfilter.c:
5872         * gst/gsturi.c:
5873         * gst/gsturitype.c:
5874         * gst/gstutils.c:
5875         * gst/gstxml.c:
5876           inlined more docs, fixed double id-ref
5877
5878 2005-08-31  Wim Taymans  <wim@fluendo.com>
5879
5880         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5881         (gst_base_transform_handle_buffer):
5882         Passthrough elements don't need the caps as they don't care.
5883
5884 2005-08-31  Wim Taymans  <wim@fluendo.com>
5885
5886         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5887         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
5888         Don't leak refcounts on buffers.
5889
5890 2005-08-31  Wim Taymans  <wim@fluendo.com>
5891
5892         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
5893         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5894         (gst_base_transform_chain), (gst_base_transform_change_state):
5895         * gst/base/gstbasetransform.h:
5896         Handle the case where we are not negotiated more gracefully.
5897
5898 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
5899
5900         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
5901         (gst_file_src_map_region):
5902           Set READONLY flag on mmap'ed buffers, otherwise
5903           gst_buffer_make_writable() won't work properly (#314708).
5904
5905 2005-08-31  Wim Taymans  <wim@fluendo.com>
5906
5907         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
5908         passthrough elements can even do inplace on non writable
5909         buffers (as they don't touch them).
5910
5911 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5912
5913         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5914         (gst_test_mono_source_set_property),
5915         (gst_test_mono_source_class_init), (GST_START_TEST),
5916         (gst_controller_suite):
5917           more tests (hehe I have the most)
5918         * gst/gstbus.c:
5919           describe popping messages whenusing mulltiple sources
5920         * libs/gst/controller/gst-controller.c:
5921         (gst_controlled_property_set_interpolation_mode),
5922         (gst_controlled_property_new):
5923         * libs/gst/controller/gst-controller.h:
5924         * libs/gst/controller/gst-interpolation.c:
5925           implement boolean properties
5926
5927 2005-08-31  Wim Taymans  <wim@fluendo.com>
5928
5929         * gst/gstminiobject.c: (gst_mini_object_ref):
5930         Cannot assert that the refcount has to be positive
5931         since a disposed object can be resurrected.
5932
5933 2005-08-31  Wim Taymans  <wim@fluendo.com>
5934
5935         * gst/gstpad.c: (gst_pad_init):
5936         Revert change, need to first fix badly behaving 
5937         apps.
5938
5939 2005-08-30  Wim Taymans  <wim@fluendo.com>
5940
5941         * check/elements/fakesrc.c: (setup_fakesrc):
5942         * check/elements/identity.c: (setup_identity):
5943         Activate pads before using them.
5944
5945 2005-08-30  Wim Taymans  <wim@fluendo.com>
5946
5947         * gst/base/gstadapter.c: (gst_adapter_flush):
5948         Flushing out 0 bytes is ok for this function.
5949
5950         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5951         no newsegment gives a warning and sets the start/stop to 
5952         invalid.
5953
5954         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
5955         (gst_base_transform_set_passthrough):
5956         Some debug info.
5957
5958         * gst/gstminiobject.c: (gst_mini_object_ref):
5959         Check refcount here too.
5960
5961         * gst/gstpad.c: (gst_pad_init):
5962         Pads are initially flushing and refusing data.
5963
5964         * gst/gstutils.c: (gst_element_link_pads_filtered):
5965         When adding a capsfilter element make sure it has the
5966         same state as the parent bin.
5967
5968 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5969
5970         * docs/gst/tmpl/.cvsignore:
5971         * docs/gst/tmpl/gstformat.sgml:
5972         * docs/gst/tmpl/gstversion.sgml:
5973         * gst/gstbus.h:
5974         * gst/gstformat.c:
5975         * gst/gstformat.h:
5976         * gst/gstversion.h.in:
5977           more docs and two more inlined
5978
5979 2005-08-30  Wim Taymans  <wim@fluendo.com>
5980
5981         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
5982         Don't sync to clock.
5983
5984 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5985
5986         * docs/gst/gstreamer-sections.txt:
5987           ultral33t func10ns deserve to appear in the docs actually
5988         * docs/gst/tmpl/.cvsignore:
5989         * docs/gst/tmpl/gstcompat.sgml:
5990         * docs/gst/tmpl/gstconfig.sgml:
5991         * gst/check/gstcheck.c:
5992         * gst/gstcompat.h:
5993         * gst/gstconfig.h.in:
5994           inlined more docs
5995
5996 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5997
5998         * docs/gst/tmpl/.cvsignore:
5999         * docs/gst/tmpl/gstquery.sgml:
6000         * docs/gst/tmpl/gstutils.sgml:
6001         * gst/gstquery.c:
6002         * gst/gstquery.h:
6003           inlined and extended docs
6004
6005 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6006
6007         * check/gst-libs/controller.c: (GST_START_TEST),
6008         (gst_controller_suite):
6009           more tests
6010         * docs/gst/tmpl/gstutils.sgml:
6011         * docs/libs/gstreamer-libs-sections.txt:
6012         * docs/libs/tmpl/gstdataprotocol.sgml:
6013           include path fixes
6014         * examples/controller/audio-example.c: (main):
6015           controller example works now
6016         * gst/gstclock.h:
6017           doc fixes
6018         * tools/gst-inspect.c: (print_element_properties_info):
6019           show param spec flags
6020
6021 2005-08-29  Andy Wingo  <wingo@pobox.com>
6022
6023         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6024
6025 2005-08-28  Andy Wingo  <wingo@pobox.com>
6026
6027         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6028         as having two arguments instead of just one. Allows superclasses
6029         to access information on subclasses -- see the terrible for() loop
6030         in gtype.c:g_type_create_instance for the reason why. All callers
6031         changed.
6032
6033 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6034
6035         * docs/design/part-messages.txt:
6036           update info
6037         * docs/gst/tmpl/.cvsignore:
6038         * docs/gst/tmpl/gstcaps.sgml:
6039         * docs/gst/tmpl/gstclock.sgml:
6040         * gst/gstbus.c:
6041         * gst/gstcaps.c:
6042         * gst/gstcaps.h:
6043         * gst/gstclock.c:
6044         * gst/gstclock.h:
6045         * gst/gstmessage.c:
6046           added descriptions for bus and message
6047           inline caps and clock docs
6048
6049 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6050
6051         * gst/gstmessage.c:
6052         * gst/gstmessage.h:
6053           doc fixes
6054
6055 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6056
6057         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6058           fix div-by-zero
6059
6060 2005-08-26  Andy Wingo  <wingo@pobox.com>
6061
6062         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6063         element_set_state's return val.
6064         (test_2_elements): Add test that's been disabled for months.
6065
6066         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6067         can-activate-pull properties.
6068
6069         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6070         can-activate-pull properties. Implement is_seekable so fakesrc can
6071         operate in pull mode.
6072
6073         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6074         properties.
6075         (gst_base_sink_activate, gst_base_sink_activate_pull)
6076         (gst_base_sink_activate_push): Make activation mode choosing work.
6077         Cleanups.
6078         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6079         is right. Make pull mode work. Post an eos before pausing in pull
6080         mode.
6081         (gst_base_sink_change_state): Pay attention to the core's
6082         change_state() return val.
6083         
6084         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6085         has-getrange properties. Cleanups.
6086         
6087         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6088         has_getrange and replace with can_activate_pull and
6089         can_activate_push.
6090
6091         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6092         locking comments. Remove has_loop, has_chain and replace with
6093         can_activate_pull and can_activate_push.
6094
6095 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6096
6097         * configure.ac:
6098         * examples/Makefile.am:
6099         * examples/metadata/Makefile.am:
6100         * examples/metadata/read-metadata.c: (message_loop),
6101         (have_pad_handler), (make_pipeline), (print_tag), (main):
6102           Add metadata reading example that loops over a list of filenames,
6103           dumping any tags found.
6104
6105         * gst/gstbus.c: (gst_bus_dispose):
6106         * gst/gstelement.c: (gst_element_dispose):
6107           Release a few potentially-held references in dispose.
6108
6109 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6110
6111         * docs/gst/tmpl/gstminiobject.sgml:
6112           do *not* add tmpl/*.sgml files to CVS!
6113
6114 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6115
6116         * libs/gst/bytestream/.cvsignore:
6117         * libs/gst/bytestream/Makefile.am:
6118         * libs/gst/bytestream/adapter.c:
6119         * libs/gst/bytestream/adapter.h:
6120         * libs/gst/bytestream/bytestream.c:
6121         * libs/gst/bytestream/bytestream.h:
6122         * libs/gst/bytestream/filepad.c:
6123         * libs/gst/bytestream/filepad.h:
6124           removing obsolete files
6125
6126 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6127
6128         * docs/gst/gstreamer-docs.sgml:
6129         * docs/libs/gstreamer-libs-docs.sgml:
6130           disabed additional index entries again, as this makes docs-gen just
6131           slow and they aren't useful yet
6132         * docs/libs/gstreamer-libs-sections.txt:
6133           little -section.txt cleanup for libs
6134
6135 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6136
6137         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6138         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6139           fix up some debugging
6140         (gst_base_transform_get_unit_size),
6141         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6142         (gst_base_transform_handle_buffer):
6143         * gst/base/gstbasetransform.h:
6144           handle and store timed NEWSEGMENT events so that subclasses that
6145           calculate time by counting samples have a segment_start time they
6146           need to add to their timestamps - see audioresample
6147
6148 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6149
6150         * gst/gstbin.h:
6151           removed ';' from the end of macro defs
6152         * docs/gst/gstreamer-docs.sgml:
6153         * docs/gst/gstreamer-sections.txt:
6154         * docs/gst/tmpl/.cvsignore:
6155         * gst/gstbus.h:
6156         * gst/gstelement.c: (gst_element_class_init),
6157         (gst_element_set_state), (activate_pads),
6158         (gst_element_save_thyself):
6159         * gst/gstevent.c: (gst_event_new_newsegment):
6160         * gst/gstevent.h:
6161         * gst/gstiterator.c:
6162         * gst/gstiterator.h:
6163         * gst/gstpad.c:
6164         * gst/gstprobe.h:
6165         * gst/gstutils.c: (gst_pad_query_convert):
6166         * gst/gstutils.h:
6167           fixed parameter name mismatches between source, header and docs
6168           added some more docs, resolved the last batch of unused elements in
6169           docs (now someone needs to doc them)
6170
6171 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6172
6173         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6174         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6175           don't walk through the plugins backwards.  Where is all this
6176           reversed logic coming from ?
6177
6178 2005-08-25  Wim Taymans  <wim@fluendo.com>
6179
6180         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6181         (gst_base_transform_transform_size),
6182         (gst_base_transform_configure_caps),
6183         (gst_base_transform_get_unit_size),
6184         (gst_base_transform_buffer_alloc),
6185         (gst_base_transform_change_state):
6186         * gst/base/gstbasetransform.h:
6187         Cache caps unit_size.
6188         Make sure we cannot negotiate up and downstream at the
6189         same time.
6190
6191 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6192
6193         * gst/gst.c: (init_pre), (init_post):
6194           register the installed plugin path after the env var
6195         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6196         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6197           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6198           directories, so the tests can prefer uninstalled over installed
6199
6200 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6201
6202         * gst/base/gstbasetransform.h:
6203           comment
6204         * gst/gstpad.c:
6205           add to docs
6206
6207 2005-08-25  Wim Taymans  <wim@fluendo.com>
6208
6209         * gst/gstbin.c: (bin_bus_handler):
6210         Be a bit more conservative about the posted message.
6211         
6212         * gst/gstbus.c: (gst_bus_post):
6213         Some cleanups, warn wrong return values.
6214
6215 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6216
6217         * check/gst/gstbin.c: (GST_START_TEST):
6218         * gst/gstbin.c: (bin_bus_handler):
6219         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6220         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6221         (gst_message_new_warning), (gst_message_new_tag),
6222         (gst_message_new_state_changed), (gst_message_new_segment_start),
6223         (gst_message_new_segment_done), (gst_message_new_custom):
6224         * gst/gstmessage.h:
6225         * tools/gst-launch.c: (event_loop):
6226         * tools/gst-md5sum.c: (event_loop):
6227           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6228
6229 2005-08-25  Wim Taymans  <wim@fluendo.com>
6230
6231         * check/generic/states.c: (GST_START_TEST):
6232         Cleanup can be done at the end.
6233
6234         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6235         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6236         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6237         Oh boy.. Thanks for finding this, Thomas. 
6238
6239 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6240
6241         * docs/gst/gstreamer.types:
6242           added missing types
6243
6244 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6245
6246         * docs/gst/gstreamer-docs.sgml:
6247         * docs/gst/gstreamer-sections.txt:
6248         * docs/gst/tmpl/.cvsignore:
6249         * gst/gstbin.c:
6250         * gst/gstiterator.c:
6251         * gst/gstutils.c:
6252         * gst/registries/gstxmlregistry.h:
6253           added missing classes and symbols (123 more to go)
6254           removed removed symbols from section file
6255           fixed many doc-comments
6256
6257 2005-08-24  Wim Taymans  <wim@fluendo.com>
6258
6259         * check/generic/states.c: (GST_START_TEST):
6260         Make sure all tasks are stopped.
6261
6262         * check/gst/gstbin.c: (GST_START_TEST):
6263         Unref after usage for proper valgrinding.
6264
6265         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6266         Really wait for the task to stop before destroying the
6267         mutex.
6268
6269         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6270         (gst_queue_src_activate_push):
6271         Small cleanups. Don't stop the task when we did not start
6272         it.
6273
6274         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6275         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6276         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6277         (gst_task_join):
6278         * gst/gsttask.h:
6279         Protect the stream lock with the object lock.
6280         Disallow setting the stream lock when running.
6281         Add cleanup_all to wait for the threadpool to finish.
6282         Remove code to autoallocate a mutex if none was provided.
6283         Add _join() to wait for a task to stop.
6284         Protect the thread pool with a global lock.
6285
6286 2005-08-24  Wim Taymans  <wim@fluendo.com>
6287
6288         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6289         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6290         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6291         * gst/base/gstbasesink.h:
6292         Handle newsegment events correctly.
6293         Drop buffers out of the segment range.
6294
6295 2005-08-22  Andy Wingo  <wingo@pobox.com>
6296
6297         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6298         macro, implements an interface and gstimplementsinterface for a
6299         new type.
6300
6301 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6302
6303         * check/Makefile.am:
6304         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6305           add a test that does a bunch of state changes on elements
6306           needs some fixing for valgrind
6307         * check/states/sinks.c: (gst_object_suite):
6308           whitespace
6309         * gst/gstcaps.h:
6310           add prototype for gst_caps_is_equal_fixed
6311         * gst/gstplugin.c:
6312         * gst/gstregistrypool.c:
6313           doc fixes
6314
6315 2005-08-24  Andy Wingo  <wingo@pobox.com>
6316
6317         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6318         convert a negative value. Doesn't make much sense. Mostly this is
6319         here to force callers to ensure -1 maps to -1.
6320
6321 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6322
6323         * docs/pwg/advanced-types.xml:
6324           Well done to Michael for catching my deliberate introduction
6325           of this spelling mistake. 
6326         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6327         * gst/gstelement.h:
6328           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6329           unlink pads before removing the element from the bin.
6330
6331 2005-08-24  Andy Wingo  <wingo@pobox.com>
6332
6333         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6334         the same thing as GST_DEBUG=*:4.
6335         (parse_debug_level, parse_debug_category): New helper parsers.
6336
6337 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6338
6339         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6340         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6341         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6342         (gst_base_transform_buffer_alloc),
6343         (gst_base_transform_handle_buffer):
6344           use gboolean return values and pointers to size so we can use the
6345           full GST_BUFFER_SIZE range (guint) for buffer sizes
6346           use GstPadDirection for transform_caps
6347         * gst/base/gstbasetransform.h:
6348           rename get_size to get_unit_size since that's what it is
6349         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6350           use GstPadDirection for transform_caps
6351         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6352         * gst/gstutils.h:
6353           cleanup and debugging
6354
6355 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6356
6357         * gst/gstelement.c: (gst_element_class_init),
6358         (gst_element_set_state), (activate_pads),
6359         (gst_element_save_thyself):
6360         * tools/gst-compprep.c: (main):
6361         * tools/gst-inspect.c: (print_element_properties_info):
6362         * tools/gst-xmlinspect.c: (print_element_properties):
6363           Fixed long standing mem-leak
6364
6365 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6366
6367         * check/gst/gstbin.c: (GST_START_TEST):
6368         * gst/gstbin.c: (bin_bus_handler):
6369         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6370         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6371         (gst_message_new_warning), (gst_message_new_tag),
6372         (gst_message_new_state_changed), (gst_message_new_segment_start),
6373         (gst_message_new_segment_done), (gst_message_new_custom):
6374         * gst/gstmessage.h:
6375         * tools/gst-launch.c: (event_loop):
6376         * tools/gst-md5sum.c: (event_loop):
6377           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6378           that applications can sensibly post custom messages with references
6379           to their own objects.
6380
6381 2005-08-24  Andy Wingo  <wingo@pobox.com>
6382
6383         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6384         already.
6385
6386 2005-08-24  Wim Taymans  <wim@fluendo.com>
6387
6388         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6389         (gst_base_transform_transform_caps),
6390         (gst_base_transform_transform_size),
6391         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6392         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6393         (gst_base_transform_handle_buffer):
6394         * gst/base/gstbasetransform.h:
6395         Many fixes and new features added by Thomas. Can now also do
6396         transforms with variable sizes and a custom fixate_caps function.
6397
6398 2005-08-24  Wim Taymans  <wim@fluendo.com>
6399
6400         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6401         Some debugging.
6402
6403         * gst/gstclock.h:
6404         Cast to ClockTime before formatting to time.
6405
6406         * gst/gstutils.h:
6407         Cleanups.
6408
6409 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6410
6411         * check/gst-libs/controller.c: (GST_START_TEST),
6412         (gst_controller_suite):
6413         * docs/gst/tmpl/gstcaps.sgml:
6414         * docs/gst/tmpl/gstghostpad.sgml:
6415         * docs/gst/tmpl/gstquery.sgml:
6416         * docs/gst/tmpl/gstutils.sgml:
6417         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6418         (gst_object_sink_values), (gst_object_get_value_arrays),
6419         (gst_object_get_value_array):
6420           gracefully handle helper method calls to objects that are not beeing
6421           controlled, added test case for that          
6422
6423 2005-08-23  Wim Taymans  <wim@fluendo.com>
6424
6425         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6426         (gst_event_new_newsegment), (gst_event_parse_newsegment),
6427         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6428         (gst_event_parse_qos), (gst_event_new_seek),
6429         (gst_event_parse_seek):
6430         * gst/gstevent.h:
6431         Some more debugging output and doc cleanups.
6432
6433         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6434         Fix possible deadlock.
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         * docs/gst/gstreamer.types:
6441         * docs/gst/tmpl/.cvsignore:
6442         * gst/gstbin.h:
6443         * gst/gstbus.c:
6444         * gst/gstelement.c:
6445         * gst/gstevent.h:
6446           added 100 symbols from gstreamer-unused.txt to the right sections
6447           fixed more broken comments
6448           added GstBus to docs
6449
6450 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6451
6452         * docs/gst/gstreamer-sections.txt:
6453         * docs/gst/tmpl/.cvsignore:
6454         * docs/gst/tmpl/gstbin.sgml:
6455         * docs/gst/tmpl/gstbuffer.sgml:
6456         * gst/base/gstbasesrc.c:
6457         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6458         * gst/gstbuffer.c:
6459         * gst/gstbuffer.h:
6460         * tools/gst-launch.1.in:
6461           inlined more doc comments, added missing comments and fixed comments
6462           fixed typos
6463
6464 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6465
6466         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6467           some debugging
6468         * gst/gstcaps.h:
6469           whitespace fixes
6470         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6471           more debugging
6472         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6473         * gst/gststructure.h:
6474           add a fixate function for booleans; add a FIXME that these func
6475           names should probably be gst_structure_fixate_*
6476
6477 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6478
6479         * docs/gst/gstreamer-docs.sgml:
6480         * docs/gst/gstreamer-sections.txt:
6481         * gst/Makefile.am:
6482         * gst/gstbin.c: (gst_bin_get_type),
6483         (gst_bin_child_proxy_get_child_by_index),
6484         (gst_bin_child_proxy_get_children_count),
6485         (gst_bin_child_proxy_init):
6486         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6487         (gst_child_proxy_get_child_by_index),
6488         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6489         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6490         (gst_child_proxy_get), (gst_child_proxy_set_property),
6491         (gst_child_proxy_set_valist), (gst_child_proxy_set),
6492         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6493         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6494         * gst/gstchildproxy.h:
6495         * gst/parse/grammar.y:
6496         * tools/gst-inspect.c: (print_interfaces),
6497         (print_element_properties_info), (print_element_info):
6498           ported gstchildproxy over from 0.8
6499           ported gst-inspect fixes and enhancements over from 0.8
6500
6501 2005-08-22  Wim Taymans  <wim@fluendo.com>
6502
6503         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6504         (gst_base_transform_handle_buffer):
6505         Also call the transform function if we have ANY caps.
6506
6507         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6508         Fix debug info.
6509
6510 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6511
6512         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6513           Don't pretend to handle seek events if the source is not seekable
6514
6515 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6516
6517         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6518           Remove extra parameter to debug output
6519
6520         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6521         (gst_base_src_do_seek), (gst_base_src_activate_push):
6522           Fix seek event handling.
6523
6524         * gst/gstpipeline.c: (gst_pipeline_change_state):
6525         * gst/gstqueue.c: (gst_queue_handle_sink_event),
6526         (gst_queue_src_activate_push):
6527           Don't start the src pad task on FLUSH_STOP if the pad
6528           isn't linked.
6529           Debug changes.
6530
6531 2005-08-22  Wim Taymans  <wim@fluendo.com>
6532
6533         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6534         Added check for gst_static_caps_get() refcounting.
6535
6536 2005-08-22  Wim Taymans  <wim@fluendo.com>
6537
6538         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6539         Make _static_caps_get() refcounting sane.
6540         
6541         * gst/gstelement.c: (gst_element_set_state):
6542         Add g_return_val_if_fail() to protect against segfaults.
6543
6544 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
6545
6546         * docs/gst/tmpl/gstevent.sgml:
6547         * gst/gstevent.c:
6548         * gst/gstevent.h:
6549           inlined remaining docs, added missing doc comments
6550
6551 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6552
6553         * check/gst/gstbin.c: (GST_START_TEST):
6554           since we don't know when preroll is done, use refcount range
6555           check for the sink
6556         * gst/check/gstcheck.h:
6557           add macro for checking refcount range
6558
6559 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6560
6561         * check/Makefile.am:
6562           clean up environment for when registry gets built versus
6563           when actual tests are run; valgrind seems to not report
6564           leaks if GST_PLUGIN_PATH is set to some specific values
6565         * check/gst/gstbin.c: (GST_START_TEST):
6566           add more refcounting checks; maybe this exposes a
6567           preroll lock bug ?
6568         * common/check.mak:
6569         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6570         * gst/check/gstcheck.h:
6571         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6572         (gst_bin_change_state):
6573         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6574           add/fix debugging/whitespace
6575
6576 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6577
6578         * check/gst/gstevent.c: (event_probe), (test_event),
6579         (GST_START_TEST):
6580          Er, don't call gst_bin_watch_for_state_change you idiot.
6581
6582 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6583
6584         * check/Makefile.am:
6585           Use CHECK_CFLAGS and CHECK_LIBS
6586         * check/gst/gstevent.c: (event_probe), (test_event),
6587         (GST_START_TEST):
6588           Don't leak events.
6589         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6590         (gst_base_src_start), (gst_base_src_stop),
6591         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6592         (gst_base_src_change_state):
6593           Sprinkle gst_base_src_stop liberally around error paths to fix
6594           problems reusing a source after failed state changes.
6595         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6596         (helper_find_suggest), (gst_type_find_helper):
6597           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6598         * gst/gstevent.h:
6599         * docs/gst/tmpl/gstevent.sgml:
6600           Migrate part of the docs from the SGML file. Wait for ensonic to
6601           tell me how I did it wrong ;)
6602         * tools/gst-typefind.c: (main):
6603           Extra robustness to state changes between files.
6604
6605 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6606
6607         * check/Makefile.am:
6608           don't valgrind the controller test - it's leaking - Stefan, HELP
6609         * gst/check/gstcheck.c: (gst_check_message_error),
6610         (gst_check_chain_func), (gst_check_setup_element),
6611         (gst_check_teardown_element), (gst_check_setup_src_pad),
6612         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6613         (gst_check_teardown_sink_pad):
6614         * gst/check/gstcheck.h:
6615           add a bunch of methods to set up elements, and src and sink pads
6616         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6617         * check/elements/identity.c: (setup_identity), (cleanup_identity),
6618         (GST_START_TEST):
6619           use them
6620         * gst/gstmessage.c:
6621         * gst/gsttag.h:
6622           whitespace/doc fixes
6623
6624 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6625
6626         * gst/gstelement.h:
6627           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6628           be handled by the application and not always printed as well
6629
6630 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6631
6632         * check/Makefile.am:
6633           set GST_TOOLS_DIR
6634         * gst/check/gstcheck.c: (gst_check_message_error):
6635         * gst/check/gstcheck.h:
6636           add a fail_unless_equals_int
6637           add fail_unless for error messages
6638
6639 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6640
6641         * check/Makefile.am:
6642         * check/gst.supp:
6643         * common/Makefile.am:
6644         * common/check.mak:
6645         * common/gst.supp:
6646           factor out some of the common stuff so we can use it
6647
6648 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6649
6650         * check/Makefile.am:
6651         * check/gst/gstiterator.c: (GST_START_TEST):
6652         * check/gst/gstsystemclock.c: (GST_START_TEST),
6653         (gst_systemclock_suite):
6654         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6655         * gst/gstclock.c:
6656           valgrind more tests
6657
6658 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6659
6660         * check/elements/.cvsignore:
6661         * check/elements/gstfakesrc.c:
6662           rename to name of element
6663         * check/elements/identity.c: (chain_func), (event_func),
6664         (setup_identity), (cleanup_identity), (GST_START_TEST),
6665         (identity_suite), (main):
6666           add a test for identity
6667         * check/Makefile.am:
6668         * pkgconfig/Makefile.am:
6669         * pkgconfig/gstreamer-check.pc.in:
6670         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6671         * gst/check:
6672         * gst/Makefile.am:
6673         * configure.ac:
6674           move the check stuff to a library that gets installed
6675         * check/gst-libs/controller.c: (GST_START_TEST):
6676         * check/gst-libs/gdp.c:
6677         * check/gst/gst.c: (GST_START_TEST):
6678         * check/gst/gstbin.c:
6679         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6680         * check/gst/gstbus.c:
6681         * check/gst/gstcaps.c: (GST_START_TEST):
6682         * check/gst/gstelement.c:
6683         * check/gst/gstghostpad.c:
6684         * check/gst/gstiterator.c:
6685         * check/gst/gstmessage.c:
6686         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6687         * check/gst/gstobject.c:
6688         * check/gst/gstpad.c: (GST_START_TEST):
6689         * check/gst/gststructure.c: (GST_START_TEST):
6690         * check/gst/gstsystemclock.c: (GST_START_TEST),
6691         (gst_systemclock_suite):
6692         * check/gst/gsttag.c: (gst_tag_suite):
6693         * check/gst/gstvalue.c:
6694         * check/pipelines/cleanup.c:
6695         * check/pipelines/simple_launch_lines.c:
6696         * check/states/sinks.c:
6697           change include statement
6698
6699         * docs/gst/gstreamer-sections.txt:
6700         * docs/gst/tmpl/gstpad.sgml:
6701           document more pad stuff
6702         * gst/gstminiobject.c: (gst_mini_object_ref),
6703         (gst_mini_object_unref):
6704           debug refcounting
6705
6706 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
6707
6708         * docs/gst/tmpl/gst.sgml:
6709         * gst/gst.c:
6710           eliminate another tmpl file, fix spelling in the long-description
6711
6712 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6713
6714         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6715         (test_event), (timediff), (gstevents_suite):
6716           Should fix build on 64-bit arch's
6717
6718 2005-08-18  Andy Wingo  <wingo@pobox.com>
6719
6720         Make sure that when a pipeline goes to PLAYING, that data has
6721         actually hit the sink.
6722
6723         * check/states/sinks.c (test_sink): A sink that doesn't get any
6724         data shouldn't return SUCCESS for going to either PLAYING or
6725         PAUSED. Test also the return values on the way back down.
6726
6727         * gst/gstelement.c (gst_element_set_state): When changing the
6728         state of an element currently changing state asynchronously, go to
6729         lost-state after commiting the pending state. Makes future calls
6730         to get_state continue to return ASYNC.
6731
6732         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6733         ASYNC when going to PLAYING if we still don't have preroll, as can
6734         happen with live sources.
6735
6736 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6737
6738         * docs/pwg/advanced-types.xml:
6739           Hack long paragraph into 2 chunks as a workaround for buggy
6740           jadetex version in sid and breezy that loops infinitely and
6741           eats all RAM.
6742
6743 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6744
6745         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6746         (test_event), (timediff), (gstevents_suite):
6747           Provide more error margin in clock measurements to allow for 
6748           g_get_current_time inaccuracies.
6749
6750 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6751
6752         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6753         (test_event), (timediff), (gstevents_suite):
6754            Fix error message output so I might be able to tell why the
6755            test works here but fails on the build farm.
6756
6757 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6758
6759         * check/Makefile.am:
6760         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6761         (test_event), (timediff), (gstevents_suite), (main):
6762           I wrote a test!
6763
6764         * docs/design/part-seeking.txt:
6765           Spelling correction
6766
6767         * docs/gst/tmpl/gstevent.sgml:
6768         * docs/gst/tmpl/gstfakesrc.sgml:
6769           Docs updates.
6770
6771         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6772           Treat a buffer-without-newsegment the same as a receiving 
6773           a newsegment not in time format, and disable syncing to the clock
6774           with a warning.
6775
6776         * gst/gstbus.c: (gst_bus_set_sync_handler):
6777           Assert if anyone tries to replace the existing sync_handler for bus, 
6778           as only the owner should be setting it.
6779
6780         * gst/gstevent.h:
6781           Have a fixed set of custom event enums with events identified by
6782           their structure name (as in 0.8), rather than a free-for-all
6783           allowing collisions between enum values from different plugins.
6784
6785         * gst/gstpad.c: (gst_pad_class_init):
6786           Docs change.
6787           
6788         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6789           Handle out-of-band downstream events from the sending thread.
6790
6791 2005-08-17  Andy Wingo  <wingo@pobox.com>
6792
6793         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6794         play-timeout==0 to mean no timeout at all. In that case, don't
6795         bother with a get_state or a warning, just return directly, even
6796         if it's ASYNC.
6797
6798         * gst/base/gstbasetransform.c: Debug changes.
6799
6800         * gst/gstutils.h:
6801         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6802         ensure bins post state change messages. A bit of a hack but I can't
6803         think of a way to avoid it.
6804
6805         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6806
6807 2005-08-16  Andy Wingo  <wingo@pobox.com>
6808
6809         * gst/base/gstadapter.h:
6810         * gst/base/gstadapter.c (gst_adapter_take): New function, like
6811         peek() but you own the data. Not terribly efficient atm.
6812
6813 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6814
6815         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6816         (gst_element_found_tags):
6817         * gst/gstutils.h:
6818           Add two utility functions for tag handling.
6819
6820 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6821
6822         * docs/manual/advanced-dataaccess.xml:
6823         * docs/manual/basics-helloworld.xml:
6824           Fix docs to use _bin_add() before _link(), which fixes the examples
6825           with recent core versions (reported by Madhan Raj M
6826           <raj_madan@rediffmail.com>, #313199).
6827
6828 2005-08-16  Wim Taymans  <wim@fluendo.com>
6829
6830         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6831         Added subtract checks.
6832
6833         * docs/design/part-events.txt:
6834         Some more docs about newsegment
6835
6836         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6837         Fix FIXME
6838
6839         * gst/gstcaps.c: (gst_caps_to_string):
6840         Add comments, cleanups.
6841         
6842         * gst/gstelement.c: (gst_element_save_thyself):
6843         cleanups
6844         
6845         * gst/gstvalue.c: (gst_value_collect_int_range),
6846         (gst_string_unwrap), (gst_value_union_int_int_range),
6847         (gst_value_union_int_range_int_range),
6848         (gst_value_intersect_int_int_range),
6849         (gst_value_intersect_int_range_int_range),
6850         (gst_value_intersect_double_double_range),
6851         (gst_value_intersect_double_range_double_range),
6852         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6853         (gst_value_subtract_int_range_int),
6854         (gst_value_subtract_double_range_double),
6855         (gst_value_subtract_double_range_double_range),
6856         (gst_value_subtract_from_list), (gst_value_subtract_list),
6857         (gst_value_can_compare), (gst_value_compare_fraction):
6858         Cleanups, add comments, remove unneeded asserts.
6859
6860 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6861
6862         * tools/gst-launch.c: (event_loop):
6863           don't convert NULL structures to strings
6864
6865 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
6866
6867         * docs/gst/gstreamer-sections.txt:
6868           made some defines private
6869         * docs/gst/tmpl/gstconfig.sgml:
6870         * docs/gst/tmpl/gstqueue.sgml:
6871         * docs/gst/tmpl/gsttaglist.sgml:
6872         * docs/gst/tmpl/gsttypes.sgml:
6873         * docs/gst/tmpl/gstutils.sgml:
6874         * docs/pwg/appendix-porting.xml:
6875         * gst/base/gstbasesink.h:
6876         * gst/base/gstbasesrc.c:
6877         * gst/base/gstbasesrc.h:
6878         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6879         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6880         * gst/gstelement.c: (gst_element_class_init):
6881         * gst/gstpad.c: (gst_pad_class_init):
6882         * gst/gstqueue.c: (gst_queue_class_init):
6883         * gst/gstxml.c: (gst_xml_class_init):
6884           documented all undocumented signal inline
6885         * libs/gst/controller/gst-controller.h:
6886           added padding
6887
6888 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6889
6890         * docs/pwg/appendix-porting.xml:
6891           Document _set_link_function -> _set_setcaps_function.
6892
6893 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6894
6895         * check/Makefile.am:
6896           add a .check target for running the check
6897         * check/gst-libs/controller.c: (GST_START_TEST):
6898           cosmetic fixups
6899         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6900           complete checks for gstbuffer; would be nice if I could get the
6901           gcov stuff to work so I can see if I actually completed gstbuffer.c
6902         * check/gstcheck.h:
6903           add ASSERT_BUFFER_REFCOUNT
6904
6905 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
6906
6907         * docs/gst/gstreamer-sections.txt:
6908         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
6909         * gst/gsttag.h:
6910           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
6911           spew out a warning if a tag that is already registered
6912           is re-registered, unless it is re-registered with a 
6913           different type (#308438).
6914
6915 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
6916
6917         * docs/pwg/appendix-porting.xml:
6918         * docs/pwg/building-state.xml:
6919           Add some paragraphs about state changes in 0.9 to the PWG
6920           and the porting guide, in particular about the new meaning
6921           of GST_STATE_PAUSED and how to write state change functions
6922           with concurrent access by multiple threads in mind.
6923
6924 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
6925
6926         * docs/gst/gstreamer-docs.sgml:
6927         * docs/libs/gstreamer-libs-docs.sgml:
6928           added deprecation and since indexes
6929         * libs/gst/controller/gst-controller.c:
6930         * libs/gst/controller/gst-helper.c:
6931           added since tags
6932
6933
6934 2005-08-11  Wim Taymans  <wim@fluendo.com>
6935
6936         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
6937         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
6938         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
6939         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
6940         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
6941         (gst_ghost_pad_set_target):
6942         Actually implement (re)setting the target on a ghostpad
6943         as described in the docs.
6944
6945 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6946
6947         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
6948           Check whether GST_DEBUG_NO_COLOR environment variable is
6949           set and disable coloured debug output if that is the case.
6950
6951 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6952
6953         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6954         (gst_type_find_helper):
6955           The memory returned by gst_type_find_peek() needs to
6956           stay valid until the end of a typefind function, and
6957           typefind functions may keep results from different 
6958           offsets around, so we can't just unref the buffer from
6959           the previous _peek(), but have to save all buffers 
6960           returned by _peek() until typefinding is done and only
6961           free them then.
6962
6963 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
6964
6965         * docs/gst/gstreamer-sections.txt:
6966         * gst/gstutils.h:
6967           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
6968
6969 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6970
6971         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6972           Fix a pretty good memleak.
6973
6974 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6975
6976         * gst/gstiterator.h:
6977           Fix wrong include and 'make distcheck'.
6978
6979 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6980
6981         * gst/gstbin.c: (bin_bus_handler):
6982           Use gst_element_post_message() instead.
6983
6984 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6985
6986         * gst/base/gstadapter.h:
6987         * gst/base/gstbasesink.h:
6988         * gst/base/gstbasesrc.h:
6989         * gst/base/gstbasetransform.h:
6990         * gst/base/gstcollectpads.h:
6991         * gst/base/gstpushsrc.h:
6992         * gst/gstiterator.h:
6993           Add padding to our base elements' class and instance structs and
6994           to GstIterator (you will need to rebuild all plugins and apps!)
6995
6996 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6997
6998         * gst/gstbin.c: (bin_bus_handler):
6999           Make default message forwarding from child->bus to bin->bus
7000           threadsafe and make it not emit warnings if the parent has no bus.
7001
7002 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7003
7004         * gst/gstelement.c: (activate_pads):
7005           On paused->ready, set pad->caps to NULL, as is the documented
7006           behaviour in this state change. Fixes playback of series of
7007           media files when visualization is enabled in Totem.
7008
7009 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7010
7011         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7012           Allow NULL as filter-caps (which means "any").
7013
7014 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7015
7016         * docs/libs/gstreamer-libs-sections.txt:
7017         * libs/gst/controller/gst-controller.c:
7018         * libs/gst/controller/gst-controller.h:
7019         * libs/gst/controller/gst-helper.c:
7020           adding more entries to the docs and fix small doc-bugs
7021
7022 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7023
7024         * docs/gst/gstreamer-docs.sgml:
7025         * docs/gst/gstreamer-sections.txt:
7026         * docs/gst/gstreamer.types:
7027         * docs/gst/tmpl/gstbasesink.sgml:
7028         * docs/gst/tmpl/gstbasesrc.sgml:
7029         * docs/gst/tmpl/gstbasetransform.sgml:
7030         * docs/gst/tmpl/gstfakesrc.sgml:
7031         * gst/base/gstcollectpads.c:
7032         * gst/base/gstcollectpads.h:
7033         * libs/gst/controller/gst-controller.c:
7034         * libs/gst/controller/gst-controller.h:
7035         * libs/gst/controller/gst-helper.c:
7036         * libs/gst/controller/gst-interpolation.c:
7037         * libs/gst/controller/lib.c:
7038           added long/short desc for controller docs
7039           added collectpads base class docs
7040           added correct includes to base-class docs
7041
7042 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7043
7044         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7045         (gst_test_mono_source_set_property),
7046         (gst_test_mono_source_class_init), (GST_START_TEST),
7047         (gst_controller_suite):
7048         * docs/gst/gstreamer-docs.sgml:
7049         * docs/gst/gstreamer-sections.txt:
7050         * docs/gst/gstreamer.types:
7051         * docs/libs/gstreamer-libs-docs.sgml:
7052         * docs/libs/gstreamer-libs-sections.txt:
7053         * gst/base/gstadapter.c:
7054         * libs/gst/controller/gst-controller.c:
7055         (gst_controlled_property_new), (gst_controlled_property_free),
7056         (gst_controller_new_valist),
7057         (gst_controller_remove_properties_valist),
7058         (gst_controller_sink_values), (_gst_controller_finalize):
7059         * libs/gst/controller/gst-controller.h:
7060         * libs/gst/controller/gst-helper.c:
7061         (gst_object_control_properties), (gst_object_uncontrol_properties),
7062         (gst_object_get_controller), (gst_object_set_controller),
7063         (gst_object_sink_values), (gst_object_get_value_arrays),
7064         (gst_object_get_value_array):
7065           more tests (and fixes) for the controller
7066           more docs for the controller
7067           integrated companies docs for the adapter 
7068
7069 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7070
7071         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7072         (GST_START_TEST), (fakesrc_suite):
7073           add tests for sizetype
7074
7075 2005-08-04  Andy Wingo  <wingo@pobox.com>
7076
7077         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7078         fixes buffer_alloc proxying among other things.
7079
7080         * gst/base/gstbasetransform.c:
7081         * gst/base/gstbasetransform.h:
7082         Revert patch to gstbasetransform from 7-28 removing
7083         delay_configure.
7084
7085         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7086         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7087         Semantics changed, should return not the size of the output buffer
7088         but the byte size of a buffer with a given caps.
7089
7090         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7091         debug object.
7092         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7093         out) are not the pad caps until setcaps finishes.
7094         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7095         not-in-place case as well. Deal with changing from in-place to
7096         not-in-place within calling pad_alloc_buffer. Still a bit
7097         concerned about the overhead here...
7098
7099 2005-08-03  Andy Wingo  <wingo@pobox.com>
7100
7101         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7102         fixating is an error.
7103
7104 2005-08-04  Edward Hervey  <edward@fluendo.com>
7105
7106         * gst/base/gstadapter.h: 
7107         Added gst_adapter_get_type() to the header
7108
7109 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7110
7111         * check/Makefile.am:
7112         * check/gst-libs/controller.c:
7113         * libs/gst/controller/gst-controller.c:
7114         (gst_controller_new_valist):
7115           added check test suite for the controller
7116         * gst/base/gstpushsrc.c:
7117           fixed a doc typo
7118
7119 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7120
7121         * docs/gst/Makefile.am:
7122         * docs/gst/gstreamer-docs.sgml:
7123         * docs/gst/gstreamer-sections.txt:
7124         * docs/gst/gstreamer.types:
7125         * docs/gst/tmpl/gstfakesrc.sgml:
7126         * gst/base/README:
7127         * gst/base/gstbasesink.c:
7128         * gst/base/gstbasesink.h:
7129         * gst/base/gstbasesrc.c:
7130         * gst/base/gstbasesrc.h:
7131         * gst/base/gstbasetransform.c:
7132         * gst/base/gstpushsrc.c:
7133         * gst/base/gstpushsrc.h:
7134           add short/long description docs to base classes
7135           add pushsrc to the docs
7136           remove consolidated doc fragments
7137
7138 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7139
7140         * configure.ac:
7141         * docs/libs/Makefile.am:
7142         * docs/libs/gstreamer-libs-docs.sgml:
7143         * docs/libs/gstreamer-libs-sections.txt:
7144         * docs/libs/gstreamer-libs.types:
7145         * examples/Makefile.am:
7146         * examples/controller/.cvsignore:
7147         * examples/controller/Makefile.am:
7148         * examples/controller/audio-example.c: (main):
7149         * libs/gst/Makefile.am:
7150         * libs/gst/controller/.cvsignore:
7151         * libs/gst/controller/Makefile.am:
7152         * libs/gst/controller/gst-controller.c:
7153         (on_object_controlled_property_changed), (gst_timed_value_compare),
7154         (gst_timed_value_find),
7155         (gst_controlled_property_set_interpolation_mode),
7156         (gst_controlled_property_new), (gst_controlled_property_free),
7157         (gst_controller_find_controlled_property),
7158         (gst_controller_new_valist), (gst_controller_new),
7159         (gst_controller_remove_properties_valist),
7160         (gst_controller_remove_properties), (gst_controller_set),
7161         (gst_controller_set_from_list), (gst_controller_unset),
7162         (gst_controller_get), (gst_controller_get_all),
7163         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7164         (gst_controller_get_value_array),
7165         (gst_controller_set_interpolation_mode),
7166         (_gst_controller_finalize), (_gst_controller_init),
7167         (_gst_controller_class_init), (gst_controller_get_type):
7168         * libs/gst/controller/gst-controller.h:
7169         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7170         (g_object_uncontrol_properties), (g_object_get_controller),
7171         (g_object_set_controller), (g_object_sink_values),
7172         (g_object_get_value_arrays), (g_object_get_value_array):
7173         * libs/gst/controller/gst-interpolation.c:
7174         (gst_controlled_property_find_timed_value_node),
7175         (interpolate_none_get), (interpolate_trigger_get),
7176         (interpolate_trigger_get_value_array):
7177         * libs/gst/controller/lib.c: (gst_controller_init):
7178         * pkgconfig/Makefile.am:
7179         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7180         * pkgconfig/gstreamer-control.pc.in:
7181         * testsuite/Makefile.am:
7182         * testsuite/controller/.cvsignore:
7183         * testsuite/controller/Makefile.am:
7184         * testsuite/controller/interpolator.c: (main):
7185           added controller code
7186           removed dparam pc files
7187
7188 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7189         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7190         (gst_collectpads_stop):
7191           Broadcast the condition when shutting down, to make sure we wake all
7192           threads up. Shut down pads on finalize, for safety.
7193
7194 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7195         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7196         (gst_base_transform_handle_buffer),
7197         (gst_base_transform_change_state):
7198           Handle PAUSED->READY->PAUSED transition after negotiation
7199           occurred already.
7200         * gst/gstmessage.c: (gst_message_init):
7201           Extra piece of debug for new messages.
7202
7203 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7204
7205         * configure.ac:
7206         * docs/gst/tmpl/gstbasesrc.sgml:
7207         * docs/gst/tmpl/gstelement.sgml:
7208         * docs/gst/tmpl/gstevent.sgml:
7209         * docs/gst/tmpl/gstfakesrc.sgml:
7210         * docs/gst/tmpl/gstformat.sgml:
7211         * docs/gst/tmpl/gstghostpad.sgml:
7212         * docs/gst/tmpl/gstpad.sgml:
7213         * docs/gst/tmpl/gstquery.sgml:
7214         * docs/gst/tmpl/gststructure.sgml:
7215         * docs/gst/tmpl/gsttaglist.sgml:
7216         * docs/gst/tmpl/gstvalue.sgml:
7217         * docs/libs/gstreamer-libs-docs.sgml:
7218         * docs/libs/gstreamer-libs-sections.txt:
7219         * docs/libs/gstreamer-libs.types:
7220         * libs/gst/Makefile.am:
7221         * libs/gst/control/.cvsignore:
7222         * libs/gst/control/Makefile.am:
7223         * libs/gst/control/control.c:
7224         * libs/gst/control/control.h:
7225         * libs/gst/control/dparam.c:
7226         * libs/gst/control/dparam.h:
7227         * libs/gst/control/dparam_smooth.c:
7228         * libs/gst/control/dparam_smooth.h:
7229         * libs/gst/control/dparamcommon.h:
7230         * libs/gst/control/dparammanager.c:
7231         * libs/gst/control/dparammanager.h:
7232         * libs/gst/control/dplinearinterp.c:
7233         * libs/gst/control/dplinearinterp.h:
7234         * libs/gst/control/unitconvert.c:
7235         * libs/gst/control/unitconvert.h:
7236         * testsuite/Makefile.am:
7237         * testsuite/dynparams/.cvsignore:
7238         * testsuite/dynparams/Makefile.am:
7239         * testsuite/dynparams/dparamstest.c:
7240         * tools/Makefile.am:
7241         * tools/gst-inspect.c: (print_element_info), (main):
7242         * tools/gst-xmlinspect.c: (print_element_info), (main):
7243           deactivate and remove dparams (libgstcontrol)
7244
7245 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7246
7247         * gst/elements/gsttypefindelement.c:
7248         (gst_type_find_element_have_type), (gst_type_find_element_init),
7249         (stop_typefinding), (gst_type_find_element_handle_event),
7250         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7251         * gst/elements/gsttypefindelement.h:
7252           Set caps on all outgoing buffers, not just the first one.
7253
7254 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7255
7256         * gst/elements/gsttypefindelement.c:
7257         (gst_type_find_element_have_type),
7258         (gst_type_find_element_check_set_buffer_caps),
7259         (gst_type_find_element_init), (stop_typefinding),
7260         (gst_type_find_element_handle_event),
7261         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7262         * gst/elements/gsttypefindelement.h:
7263           Set caps on first outgoing buffer when we've found the type.
7264
7265 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7266
7267         * docs/gst/gstreamer-docs.sgml:
7268         * docs/gst/gstreamer-sections.txt:
7269         * docs/gst/tmpl/gstscheduler.sgml:
7270         * docs/gst/tmpl/gstschedulerfactory.sgml:
7271           Remove some old cruft from docs.
7272
7273 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7274
7275         * gst/gstpad.h:
7276           Fix inline docs for GstPadLinkReturn.
7277           
7278         * gst/gststructure.c: (gst_structure_has_name):
7279         * gst/gststructure.h:
7280         * docs/gst/gstreamer-sections.txt:
7281           New API: gst_structure_has_name().
7282
7283 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7284
7285         * configure.ac:
7286           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7287           and _LARGEFILE_SOURCE in config.h as required. Do not 
7288           export those flags in our .pc files any longer (#142209).
7289
7290           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7291
7292         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7293         (gst_file_sink_do_seek), (gst_file_sink_event),
7294         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7295           Redo seek/tell calls with large file support in mind; add some
7296           debugging messages; add log message that tells us when large
7297           file support is unavailable or not enabled for some reason.
7298
7299         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7300           Add log message that tells us when large file support 
7301           is unavailable or not enabled for some reason.
7302
7303 2005-07-29  Wim Taymans  <wim@fluendo.com>
7304
7305         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7306         Added test for removing an element with ghostpad from a bin.
7307         Fixed test as current implementation does the right thing.
7308
7309         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7310         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7311         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7312         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7313         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7314         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7315         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7316         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7317         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7318         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7319         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7320         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7321         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7322         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7323         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7324         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7325         * gst/gstghostpad.h:
7326         Clean up ghostpads, remove properties for internal stuff.
7327         Make threadsafe.
7328         Fix refcounting.
7329         Prepare for switching targets, not all use cases work yet.
7330
7331 2005-07-29  Wim Taymans  <wim@fluendo.com>
7332
7333         * docs/design/part-gstghostpad.txt:
7334         Small update.
7335
7336         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7337         (gst_bin_remove_func):
7338         Unlinking pads while holding the bin LOCK is not a good
7339         idea.
7340
7341         * gst/gstpad.c: (gst_pad_class_init),
7342         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7343         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7344         No prob setting template after creating the pad.
7345
7346 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7347
7348         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7349         (gst_bus_peek), (gst_bus_source_dispatch),
7350         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7351         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7352           gst_bus_poll may be called from other threads. Handle
7353           this nicely by not making poll_data disappear off the
7354           stack once gst_bus_poll returns.
7355           gst_bus_peek now increments the refcount on the returned
7356           message.
7357
7358 2005-07-29  Wim Taymans  <wim@fluendo.com>
7359
7360         * docs/design/part-gstghostpad.txt:
7361         Overview of current GhostPad datastructures and use
7362         cases for changing the target.
7363
7364 2005-07-28  Wim Taymans  <wim@fluendo.com>
7365
7366         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7367         Added checks for hierarchy consistency whan adding linked
7368         elements to bins.
7369
7370         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7371         Added check to test element scheduling without bin/pipeline.
7372
7373         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7374         First add elements to bin, then link.
7375         
7376         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7377         (gst_bin_remove_func):
7378         Unlink pads from elements added/removed from bin to maintain
7379         hierarchy consistency.
7380
7381 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7382
7383         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7384         (gst_base_transform_handle_buffer):
7385         * gst/base/gstbasetransform.h:
7386           Remove broken delay_configure (fixes renegotiation of software
7387           scaling pipelines); remove some leftover printf()s.
7388
7389 2005-07-28  Wim Taymans  <wim@fluendo.com>
7390
7391         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7392         Added some more tests for wrong hierarchy
7393
7394         * docs/design/part-overview.txt:
7395         Some updates.
7396
7397         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7398         Cleanups.
7399
7400         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7401         (gst_element_dispose):
7402         Some more cleanups.
7403
7404         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7405         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7406         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7407         (gst_pad_set_caps), (gst_pad_send_event):
7408         Check for correct hierarchy when linking pads. Moving to
7409         strict requirement for ghostpads when linking elements in
7410         different bins.
7411
7412         * gst/gstpad.h:
7413         Clean ups. Added WRONG_HIERARCHY return value.
7414
7415 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7416
7417         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7418           Better debug if no transform is possible.
7419
7420 2005-07-27  Wim Taymans  <wim@fluendo.com>
7421
7422         * docs/random/wtay/network-transp:
7423         Some old doc I had.
7424
7425 2005-07-27  Wim Taymans  <wim@fluendo.com>
7426
7427         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7428         (gst_dp_event_from_packet):
7429         Fix serialization of seek events.
7430
7431 2005-07-27  Wim Taymans  <wim@fluendo.com>
7432
7433         * check/gst-libs/gdp.c: (GST_START_TEST):
7434         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7435         Fix compilation and fix event serialization.
7436
7437 2005-07-27  Wim Taymans  <wim@fluendo.com>
7438
7439         * CHANGES-0.9:
7440         * docs/design/part-TODO.txt:
7441         * docs/design/part-events.txt:
7442         Some docs updates
7443
7444         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7445         (gst_base_sink_event), (gst_base_sink_do_sync),
7446         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7447         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7448         (gst_base_src_do_seek), (gst_base_src_event_handler),
7449         (gst_base_src_loop):
7450         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7451         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7452         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7453         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7454         (gst_base_transform_set_passthrough),
7455         (gst_base_transform_is_passthrough):
7456         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7457         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7458         Event updates.
7459
7460         * gst/gstbuffer.h:
7461         Use faster casts.
7462
7463         * gst/gstelement.c: (gst_element_seek):
7464         * gst/gstelement.h:
7465         Update gst_element_seek.
7466
7467         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7468         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7469         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7470         (gst_event_new_eos), (gst_event_new_newsegment),
7471         (gst_event_parse_newsegment), (gst_event_new_tag),
7472         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7473         (gst_event_parse_qos), (gst_event_new_seek),
7474         (gst_event_parse_seek), (gst_event_new_navigation):
7475         * gst/gstevent.h:
7476         Make GstEvent use GstStructure. Add parsing code, make sure the
7477         API is sufficiently generic.
7478         Mark possible directions of events and serialization.
7479
7480         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7481         (_gst_message_copy), (gst_message_new_segment_start),
7482         (gst_message_new_segment_done), (gst_message_new_custom),
7483         (gst_message_parse_segment_start),
7484         (gst_message_parse_segment_done):
7485         Small cleanups.
7486
7487         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7488         (gst_pad_set_caps), (gst_pad_send_event):
7489         Update for new events. 
7490         Catch events sent in wrong directions.
7491
7492         * gst/gstqueue.c: (gst_queue_link_src),
7493         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7494         (gst_queue_handle_src_query):
7495         Event updates.
7496
7497         * gst/gsttag.c:
7498         * gst/gsttag.h:
7499         Remove event code from this file.
7500
7501         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7502         (gst_dp_event_from_packet):
7503         Event updates.
7504
7505 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7506
7507         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7508         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7509         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7510           Make debugging actually useful.
7511
7512 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7513
7514         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7515         (gst_pad_fixate_caps):
7516           Implement default fixation once again, so that gst_pad_fixate()
7517           actually does anything at all. This probably needs to be some
7518           sort of a last resort, and use profile-based fixation first, but
7519           since that doesn't exist yet, this is the best we have. Fixes
7520           visualization in Totem.
7521
7522 2005-07-22  Wim Taymans  <wim@fluendo.com>
7523
7524         * docs/design/part-events.txt:
7525         Small update.
7526
7527         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7528         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7529         (gst_base_sink_activate_pull):
7530         Some more comments.
7531
7532         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7533         (gst_fake_src_create):
7534         Fix handoff marshall.
7535
7536         * gst/elements/gstidentity.c: (gst_identity_class_init),
7537         (gst_identity_transform_ip):
7538         We're a real inplace element.
7539
7540         * gst/gstbus.c: (gst_bus_post):
7541         Added some comments.
7542
7543         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7544         * tests/muxing/case1.c: (main):
7545         * tests/sched/dynamic-pipeline.c: (main):
7546         * tests/sched/interrupt1.c: (main):
7547         * tests/sched/interrupt2.c: (main):
7548         * tests/sched/interrupt3.c: (main):
7549         * tests/sched/runxml.c: (main):
7550         * tests/sched/sched-stress.c: (main):
7551         * tests/seeking/seeking1.c: (event_received), (main):
7552         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7553         (main):
7554         * tests/threadstate/threadstate3.c: (main):
7555         * tests/threadstate/threadstate4.c: (main):
7556         * tests/threadstate/threadstate5.c: (main):
7557         Fix the tests.
7558
7559 2005-07-21  Wim Taymans  <wim@fluendo.com>
7560
7561         * docs/design/part-seeking.txt:
7562         Some small additions.
7563
7564         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7565         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7566         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7567         * gst/base/gstbasesink.h:
7568         discont values are gint64, handle the math correctly.
7569
7570         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7571         Make the basesrc report error if the source pad is not linked.
7572
7573         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7574         (gst_queue_loop), (gst_queue_handle_src_query),
7575         (gst_queue_src_activate_push):
7576         Make queue collect data even if the srcpad is not linked.
7577         Start pushing out data as soon as it is linked.
7578
7579         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7580         * gst/gstutils.h:
7581         Added gst_flow_get_name() to ease error reporting.
7582
7583 2005-07-20  Wim Taymans  <wim@fluendo.com>
7584
7585         * gst/gstmessage.c: (gst_message_new_segment_start),
7586         (gst_message_new_segment_done), (gst_message_parse_segment_start),
7587         (gst_message_parse_segment_done):
7588         * gst/gstmessage.h:
7589         Added a bunch of messages for advanced seeking.
7590
7591         * gst/parse/grammar.y:
7592         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7593         (gst_dpman_state_changed):
7594         Fix some new-pad -> pad-added signals
7595
7596 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7597
7598         * docs/manual/appendix-porting.xml:
7599         * docs/pwg/appendix-porting.xml:
7600           Document new-pad/state-change signal renames and the FixedList
7601           type rename.
7602
7603 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7604
7605         * docs/manual/advanced-autoplugging.xml:
7606         * docs/manual/basics-helloworld.xml:
7607         * docs/manual/basics-pads.xml:
7608         * docs/random/ds/0.9-suggested-changes:
7609         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7610         * gst/gstelement.h:
7611         * gst/gstevent.h:
7612         * gst/gstformat.h:
7613         * gst/gstquery.h:
7614         * gst/gststructure.c: (gst_structure_value_get_generic_type),
7615         (gst_structure_parse_array), (gst_structure_parse_value):
7616         * gst/gstvalue.c: (gst_type_is_fixed),
7617         (gst_value_list_prepend_value), (gst_value_list_append_value),
7618         (gst_value_list_get_size), (gst_value_list_get_value),
7619         (gst_value_transform_array_string), (gst_value_serialize_array),
7620         (gst_value_deserialize_array), (gst_value_intersect_array),
7621         (gst_value_is_fixed), (_gst_value_initialize):
7622         * gst/gstvalue.h:
7623           GstElement::new-pad -> pad-added, GstElement::state-change ->
7624           state-changed, GstValueFixedList -> GstValueArray, add format and
7625           flags as their own arguments in gst_element_seek() (should improve
7626           "bindeability"), remove function generators since they don't work
7627           under a whole bunch of compilers (they were deprecated already
7628           anyway).
7629
7630 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7631
7632         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7633         (_gst_debug_register_funcptr):
7634         * gst/gstinfo.h:
7635           Fix illegal cast on some platforms (#309253).
7636
7637 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7638
7639         * gst/gstmessage.c: (gst_message_new_custom):
7640         * gst/gstmessage.h:
7641           Add _new_custom, make _new_application a macro to _new_custom.
7642
7643 2005-07-20  Wim Taymans  <wim@fluendo.com>
7644
7645         * gst/base/gstbasesrc.c: (gst_base_src_init),
7646         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7647         * gst/base/gstbasesrc.h:
7648         Add a gboolean to decide when to push out a discont.
7649
7650         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7651         (gst_queue_loop), (gst_queue_handle_src_query),
7652         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7653         (gst_queue_set_property), (gst_queue_get_property):
7654         Some cleanups.
7655
7656         * tests/threadstate/threadstate1.c: (main):
7657         Make a thread test compile and run... very silly..
7658
7659
7660 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7661
7662         * docs/manual/appendix-porting.xml:
7663           Mention removal of libgstgconf-0.9.la and existence of gconf
7664           elements.
7665
7666 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7667
7668         * docs/pwg/advanced-clock.xml:
7669         * docs/pwg/appendix-porting.xml:
7670         * docs/pwg/intro-preface.xml:
7671         * docs/pwg/other-base.xml:
7672         * docs/pwg/other-manager.xml:
7673         * docs/pwg/other-nton.xml:
7674         * docs/pwg/other-ntoone.xml:
7675         * docs/pwg/other-oneton.xml:
7676         * docs/pwg/pwg.xml:
7677           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7678           demuxer), remove n-to-n (was never written), fix some code examples
7679           and links and update the porting section to include all this.
7680
7681 2005-07-19  Wim Taymans  <wim@fluendo.com>
7682
7683         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7684         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7685         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7686         (gst_queue_src_activate_push), (gst_queue_change_state),
7687         (gst_queue_get_property):
7688         * gst/gstqueue.h:
7689         Propagate GstFlowReturn more intelligently upstream and output
7690         an ERROR/EOS when streaming stopped due to fatal error.
7691
7692 2005-07-19  Wim Taymans  <wim@fluendo.com>
7693
7694         * tools/gst-launch.c: (check_intr), (event_loop), (main):
7695         Don't block forever for the state change to complete, the
7696         pipeline already did with a sensible timeout.
7697
7698 2005-07-19  Wim Taymans  <wim@fluendo.com>
7699
7700         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7701         Make sure we never call the create function is we
7702         got deactivated.
7703
7704 2005-07-19  Andy Wingo  <wingo@pobox.com>
7705
7706         * gst/parse/parse.l: Attempt to solve bug #172815.
7707
7708 2005-07-19  Wim Taymans  <wim@fluendo.com>
7709
7710         * docs/design/part-clocks.txt:
7711         * docs/design/part-events.txt:
7712         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7713         Small docs updates.
7714         Only update the seeking values when we are not
7715         busy streaming.
7716
7717 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7718
7719         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7720           Oops, ignore the result of gst_pad_push_event here.
7721
7722 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7723
7724         * gst/base/gstbasesrc.c: (gst_base_src_loop),
7725         (gst_base_src_activate_push):
7726           Send discont event from the loop function, as pads
7727           aren't activated yet in the activate_push handler.
7728
7729         * gst/gstbin.c: (bin_bus_handler):
7730           Don't leak element name.
7731
7732 2005-07-18  Andy Wingo  <wingo@pobox.com>
7733
7734         * configure.ac: Use AS_LIBTOOL_TAGS.
7735
7736 2005-07-18  Wim Taymans  <wim@fluendo.com>
7737
7738         * docs/gst/gstreamer.types:
7739         Remove deleted types.
7740
7741 2005-07-18  Wim Taymans  <wim@fluendo.com>
7742
7743         * check/elements/gstfakesrc.c: (GST_START_TEST):
7744         * configure.ac:
7745         * gst/Makefile.am:
7746         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7747         (init_popt_callback):
7748         * gst/gst.h:
7749         * gst/gst_private.h:
7750         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7751         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7752         * gst/gstbin.h:
7753         * gst/gstbus.h:
7754         * gst/gstconfig.h.in:
7755         * gst/gstelement.c: (gst_element_class_init),
7756         (gst_element_set_base_time), (gst_element_get_base_time),
7757         (iterator_fold_with_resync), (gst_element_change_state),
7758         (gst_element_dispose), (gst_element_get_bus):
7759         * gst/gstelement.h:
7760         * gst/gstelementfactory.h:
7761         * gst/gsterror.c: (_gst_core_errors_init):
7762         * gst/gsterror.h:
7763         * gst/gstevent.h:
7764         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7765         * gst/gstindex.c:
7766         * gst/gstinfo.c: (_gst_debug_init):
7767         * gst/gstmessage.c: (_gst_message_copy):
7768         * gst/gstmessage.h:
7769         * gst/gstminiobject.h:
7770         * gst/gstobject.c:
7771         * gst/gstobject.h:
7772         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7773         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7774         * gst/gstpad.h:
7775         * gst/gstparse.h:
7776         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7777         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7778         (gst_pipeline_get_last_stream_time):
7779         * gst/gstpipeline.h:
7780         * gst/gstpluginfeature.h:
7781         * gst/gstquery.h:
7782         * gst/gstscheduler.c:
7783         * gst/gstscheduler.h:
7784         * gst/gststructure.h:
7785         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7786         (gst_task_finalize), (gst_task_func), (gst_task_create),
7787         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7788         (gst_task_stop), (gst_task_pause):
7789         * gst/gsttask.h:
7790         * gst/gsttypefind.h:
7791         * gst/gsttypes.h:
7792         * gst/registries/gstlibxmlregistry.c: (load_feature),
7793         (gst_xml_registry_load), (gst_xml_registry_save_feature):
7794         * gst/registries/gstxmlregistry.c:
7795         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7796         * gst/schedulers/threadscheduler.c:
7797         * libs/gst/control/dparammanager.h:
7798         * tools/gst-inspect.c: (print_element_list),
7799         (print_plugin_features), (print_element_features):
7800         * tools/gst-xmlinspect.c: (print_element_list),
7801         (print_plugin_info), (main):
7802         Removed plugable schedulers.
7803         Removed Scheduler/Manager from elements.
7804         Removed gsttypes.h, rearranged includes.
7805         Removed dependency pad<->element, element<>pipeline, and
7806         various others,  fix includes.
7807         implement gst_pad_get_parent() with gst_object_get_parent()
7808         Make GstTask sefcontained.
7809         Fix _get_state() on GstBin, it did not return ASYNC with a 0
7810         timeout.
7811         Fix endless loop in iterator_fold_with_resync.
7812
7813
7814 2005-07-18  Wim Taymans  <wim@fluendo.com>
7815
7816         * gst/Makefile.am:
7817         * gst/gstarch.h:
7818         Remove old file.
7819
7820 2005-07-18  Wim Taymans  <wim@fluendo.com>
7821
7822         * gst/Makefile.am:
7823         No more cothreads.h
7824
7825 2005-07-18  Wim Taymans  <wim@fluendo.com>
7826
7827         * gst/cothreads.c:
7828         * gst/cothreads.h:
7829         Let's remove these.
7830
7831 2005-07-18  Wim Taymans  <wim@fluendo.com>
7832
7833         * docs/design/part-dynamic.txt:
7834         * docs/design/part-events.txt:
7835         * docs/design/part-seeking.txt:
7836         Some more docs in the works.
7837
7838         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7839         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7840         (gst_base_transform_setcaps), (gst_base_transform_get_size),
7841         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7842         (gst_base_transform_handle_buffer),
7843         (gst_base_transform_sink_activate_push),
7844         (gst_base_transform_src_activate_pull),
7845         (gst_base_transform_set_passthrough),
7846         (gst_base_transform_is_passthrough):
7847         Refcounting fixes.
7848
7849         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7850         Cleanups.
7851
7852         * gst/gstevent.c: (gst_event_finalize):
7853         Set SRC to NULL.
7854
7855         * gst/gstutils.c: (gst_element_unlink),
7856         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7857         (gst_pad_proxy_setcaps):
7858         * gst/gstutils.h:
7859         Add _get_parent_element() to get a pads parent as an element.
7860
7861 2005-07-18  Wim Taymans  <wim@fluendo.com>
7862
7863         * check/gst/gstbin.c: (GST_START_TEST):
7864         Remove bogus test.
7865
7866 2005-07-18  Wim Taymans  <wim@fluendo.com>
7867
7868         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7869         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7870         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7871         (gst_base_sink_event), (gst_base_sink_do_sync),
7872         (gst_base_sink_chain), (gst_base_sink_loop),
7873         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7874         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7875         Refcounting fixes.
7876         Fix logic for returning ASYNC when not prerolled.
7877
7878 2005-07-18  Wim Taymans  <wim@fluendo.com>
7879
7880         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7881         Fix nasty refcount bug.
7882
7883 2005-07-16 Philippe Khalaf <burger@speedy.org>
7884
7885         * gst/elements/gstfdsrc.c:
7886         * gst/elements/gstfdsrc.h:
7887         * gst/elements/gstelements.c:
7888         * gst/elements/Makefile.am:
7889         Ported fdsrc to 0.9.
7890
7891 2005-07-16  Wim Taymans  <wim@fluendo.com>
7892
7893         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7894         (gst_base_sink_do_sync):
7895         Fix compile error.
7896
7897 2005-07-16  Wim Taymans  <wim@fluendo.com>
7898
7899         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7900         (gst_base_sink_event), (gst_base_sink_get_times),
7901         (gst_base_sink_do_sync), (gst_base_sink_change_state):
7902         * gst/base/gstbasesink.h:
7903         Store and use discont values when syncing buffers as described
7904         in design docs.
7905         
7906         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7907         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
7908         (gst_base_src_activate_push):
7909         Push discont event when starting.
7910
7911         * gst/elements/gstidentity.c: (gst_identity_transform):
7912         Small cleanups.
7913
7914         * gst/gstbin.c: (gst_bin_change_state):
7915         Small cleanups in base_time  distribution.
7916
7917         * gst/gstelement.c: (gst_element_set_base_time),
7918         (gst_element_get_base_time), (gst_element_change_state):
7919         * gst/gstelement.h:
7920         Added methods for the base_time of the element.
7921         Some MT fixes.
7922
7923         * gst/gstpipeline.c: (gst_pipeline_send_event),
7924         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7925         (gst_pipeline_get_last_stream_time):
7926         * gst/gstpipeline.h:
7927         MT fixes.
7928         Handle seeking as described in design doc, remove stream_time
7929         hack.
7930         Cleanups clock and stream_time selection code. Added accessors
7931         for the stream_time.
7932         
7933
7934 2005-07-16  Andy Wingo  <wingo@pobox.com>
7935
7936         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
7937         (#305291).
7938
7939 2005-07-16  Wim Taymans  <wim@fluendo.com>
7940
7941         * check/gst/gstbin.c: (GST_START_TEST):
7942         Make elements silent as the deep_notify refs the
7943         parent, which might make the test fail.
7944
7945         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7946         Don't hold the lock for too long.
7947
7948 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
7949
7950         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7951           Don't unref the caps we passed to gst_caps_make_writable() after
7952           passing them. gst_caps_make_writable() will do that for us.
7953
7954 2005-07-15  Andy Wingo  <wingo@pobox.com>
7955
7956         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
7957         (#157311).
7958
7959         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
7960         own marshalling function for the handoff signal. Properly type the
7961         buffer as a buffer. Fixes some warnings. Should do a more general
7962         solution.
7963         (gst_identity_class_init): Plug into the right marshaller.
7964
7965 2005-07-15  Wim Taymans  <wim@fluendo.com>
7966
7967         * docs/design/part-TODO.txt:
7968         * docs/design/part-clocks.txt:
7969         * docs/design/part-element-sink.txt:
7970         * docs/design/part-events.txt:
7971         * docs/design/part-gstpipeline.txt:
7972         Updated docs, mostly DISCONT related.
7973
7974 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
7975
7976         * docs/pwg/building-pads.xml:
7977           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
7978
7979 2005-07-15  Andy Wingo  <wingo@pobox.com>
7980
7981         * tools/gst-typefind.c: Update, add copyright block.
7982
7983         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
7984         Normalize and truncate caps before fixation.
7985
7986         * gst/gstcaps.h:
7987         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
7988         discards all but the first structure from its argument.
7989
7990 2005-07-15  Wim Taymans  <wim@fluendo.com>
7991
7992         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7993         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
7994         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7995         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7996         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
7997         (gst_base_transform_chain), (gst_base_transform_change_state),
7998         (gst_base_transform_set_passthrough),
7999         (gst_base_transform_is_passthrough):
8000         * gst/base/gstbasetransform.h:
8001         Make passthrough work using the bufferpools.
8002         Changed API a bit, subclasses have to write into a buffer
8003         provided by the base class.
8004         More debug info in nego functions.
8005         
8006         * gst/elements/gstidentity.c: (gst_identity_init),
8007         (gst_identity_transform):
8008         Port to new base class.
8009
8010 2005-07-15  Wim Taymans  <wim@fluendo.com>
8011
8012         * gst/gstmessage.c: (gst_message_new_state_changed):
8013         * tools/gst-launch.c: (event_loop), (main):
8014         Totally dump messages in -launch with the -m option.
8015         Fix message name for State messages,
8016
8017 2005-07-14  Wim Taymans  <wim@fluendo.com>
8018
8019         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8020         Post error messages on errors.
8021
8022 2005-07-14  Wim Taymans  <wim@fluendo.com>
8023
8024         * gst/gstcaps.c: (gst_caps_do_simplify):
8025         Remove debug info.
8026
8027         * gst/gsterror.h:
8028         Define error for stream stopped.
8029
8030         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8031         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8032         Do proper return values.
8033
8034         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8035         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8036         (gst_pad_get_range):
8037         Better return values.
8038
8039         * gst/gstpad.h:
8040         Reorganise return values, add macro to check for fatal errors.
8041
8042         * gst/gstqueue.c: (gst_queue_chain):
8043         Return proper GstFlowReturn values,
8044
8045 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8046
8047         * docs/gst/gstreamer-sections.txt:
8048         * docs/gst/gstreamer.types:
8049         * docs/gst/tmpl/gst.sgml:
8050         * docs/gst/tmpl/gstbasesink.sgml:
8051         * docs/gst/tmpl/gstbasesrc.sgml:
8052         * docs/gst/tmpl/gstbasetransform.sgml:
8053         * docs/gst/tmpl/gstbin.sgml:
8054         * docs/gst/tmpl/gstbuffer.sgml:
8055         * docs/gst/tmpl/gstcaps.sgml:
8056         * docs/gst/tmpl/gstclock.sgml:
8057         * docs/gst/tmpl/gstcompat.sgml:
8058         * docs/gst/tmpl/gstconfig.sgml:
8059         * docs/gst/tmpl/gstelement.sgml:
8060         * docs/gst/tmpl/gstelementdetails.sgml:
8061         * docs/gst/tmpl/gstelementfactory.sgml:
8062         * docs/gst/tmpl/gstenumtypes.sgml:
8063         * docs/gst/tmpl/gsterror.sgml:
8064         * docs/gst/tmpl/gstevent.sgml:
8065         * docs/gst/tmpl/gstfakesink.sgml:
8066         * docs/gst/tmpl/gstfakesrc.sgml:
8067         * docs/gst/tmpl/gstfilesink.sgml:
8068         * docs/gst/tmpl/gstfilesrc.sgml:
8069         * docs/gst/tmpl/gstfilter.sgml:
8070         * docs/gst/tmpl/gstformat.sgml:
8071         * docs/gst/tmpl/gstghostpad.sgml:
8072         * docs/gst/tmpl/gstimplementsinterface.sgml:
8073         * docs/gst/tmpl/gstindex.sgml:
8074         * docs/gst/tmpl/gstindexfactory.sgml:
8075         * docs/gst/tmpl/gstinfo.sgml:
8076         * docs/gst/tmpl/gstiterator.sgml:
8077         * docs/gst/tmpl/gstmacros.sgml:
8078         * docs/gst/tmpl/gstmemchunk.sgml:
8079         * docs/gst/tmpl/gstminiobject.sgml:
8080         * docs/gst/tmpl/gstobject.sgml:
8081         * docs/gst/tmpl/gstpad.sgml:
8082         * docs/gst/tmpl/gstpadtemplate.sgml:
8083         * docs/gst/tmpl/gstparse.sgml:
8084         * docs/gst/tmpl/gstpipeline.sgml:
8085         * docs/gst/tmpl/gstplugin.sgml:
8086         * docs/gst/tmpl/gstpluginfeature.sgml:
8087         * docs/gst/tmpl/gstquery.sgml:
8088         * docs/gst/tmpl/gstqueue.sgml:
8089         * docs/gst/tmpl/gstregistry.sgml:
8090         * docs/gst/tmpl/gstregistrypool.sgml:
8091         * docs/gst/tmpl/gstscheduler.sgml:
8092         * docs/gst/tmpl/gstschedulerfactory.sgml:
8093         * docs/gst/tmpl/gststructure.sgml:
8094         * docs/gst/tmpl/gstsystemclock.sgml:
8095         * docs/gst/tmpl/gsttaglist.sgml:
8096         * docs/gst/tmpl/gsttagsetter.sgml:
8097         * docs/gst/tmpl/gsttrace.sgml:
8098         * docs/gst/tmpl/gsttrashstack.sgml:
8099         * docs/gst/tmpl/gsttypefind.sgml:
8100         * docs/gst/tmpl/gsttypefindfactory.sgml:
8101         * docs/gst/tmpl/gsttypes.sgml:
8102         * docs/gst/tmpl/gsturihandler.sgml:
8103         * docs/gst/tmpl/gsturitype.sgml:
8104         * docs/gst/tmpl/gstutils.sgml:
8105         * docs/gst/tmpl/gstvalue.sgml:
8106         * docs/gst/tmpl/gstversion.sgml:
8107         * docs/gst/tmpl/gstxml.sgml:
8108         * docs/libs/tmpl/gstcontrol.sgml:
8109         * docs/libs/tmpl/gstdataprotocol.sgml:
8110         * docs/libs/tmpl/gstdparam.sgml:
8111         * docs/libs/tmpl/gstdplinint.sgml:
8112         * docs/libs/tmpl/gstdpman.sgml:
8113         * docs/libs/tmpl/gstdpsmooth.sgml:
8114         * docs/libs/tmpl/gstgetbits.sgml:
8115         * docs/libs/tmpl/gstunitconvert.sgml:
8116         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8117         (gst_push_src_base_init), (gst_push_src_class_init),
8118         (gst_push_src_init), (gst_push_src_create):
8119         * gst/base/gstpushsrc.h:
8120         * gst/elements/gstelements.c:
8121         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8122         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8123         (gst_fake_sink_init), (gst_fake_sink_set_property),
8124         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8125         (gst_fake_sink_event), (gst_fake_sink_preroll),
8126         (gst_fake_sink_render), (gst_fake_sink_change_state):
8127         * gst/elements/gstfakesink.h:
8128         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8129         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8130         (gst_fake_src_base_init), (gst_fake_src_class_init),
8131         (gst_fake_src_init), (gst_fake_src_event_handler),
8132         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8133         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8134         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8135         (gst_fake_src_create_buffer), (gst_fake_src_create),
8136         (gst_fake_src_start), (gst_fake_src_stop):
8137         * gst/elements/gstfakesrc.h:
8138         * gst/elements/gstfilesink.c: (_do_init),
8139         (gst_file_sink_base_init), (gst_file_sink_class_init),
8140         (gst_file_sink_init), (gst_file_sink_dispose),
8141         (gst_file_sink_set_location), (gst_file_sink_set_property),
8142         (gst_file_sink_get_property), (gst_file_sink_open_file),
8143         (gst_file_sink_close_file), (gst_file_sink_query),
8144         (gst_file_sink_event), (gst_file_sink_render),
8145         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8146         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8147         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8148         * gst/elements/gstfilesink.h:
8149         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8150         (gst_file_src_class_init), (gst_file_src_init),
8151         (gst_file_src_finalize), (gst_file_src_set_location),
8152         (gst_file_src_set_property), (gst_file_src_get_property),
8153         (gst_file_src_map_region), (gst_file_src_map_small_region),
8154         (gst_file_src_create_mmap), (gst_file_src_create_read),
8155         (gst_file_src_create), (gst_file_src_is_seekable),
8156         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8157         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8158         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8159         (gst_file_src_uri_handler_init):
8160         * gst/elements/gstfilesrc.h:
8161           more autistic cleanliness in functions/names/defines
8162
8163 2005-07-13  Andy Wingo  <wingo@pobox.com>
8164
8165         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8166         source couldn't negotiate.
8167
8168         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8169         connections again.
8170
8171         * gst/gstutils.h:
8172         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8173         function. I am channeling Hades. Put your boots on suckers!!!
8174
8175 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8176
8177         * testsuite/caps/Makefile.am:
8178         * testsuite/caps/value_compare.c:
8179         * testsuite/caps/value_intersect.c:
8180         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8181           move two testsuite apps over to the check dir
8182
8183 2005-07-12  Wim Taymans  <wim@fluendo.com>
8184
8185         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8186         Added more debug info in the negotiate process.
8187
8188         * gst/gstmessage.h:
8189         Prepare for segment playback.
8190
8191         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8192         Better debugging.
8193
8194         * gst/gstutils.c:
8195         Some more docs.
8196
8197         * tools/gst-launch.c: (main):
8198         NULL pipeline on errors.
8199
8200 2005-07-12  Andy Wingo  <wingo@pobox.com>
8201
8202         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8203         not it comes from a malloc region. Make sure our copy gets freed.
8204
8205 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8206
8207         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8208         * check/gst/gstmessage.c: (GST_START_TEST):
8209         * check/gst/gststructure.c: (GST_START_TEST),
8210         (gst_structure_suite), (main):
8211           more testing
8212         * gst/gstelement.c: (gst_element_message_full):
8213           clean up GError and debug string now that they get copied
8214         * gst/gstmessage.c: (gst_message_new_error),
8215         (gst_message_new_warning), (gst_message_parse_error),
8216         (gst_message_parse_warning):
8217           use GST_TYPE_G_ERROR for structure_new, and take copies of
8218           arguments, so that we don't mess up refcounting
8219
8220 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8221
8222         * check/Makefile.am:
8223           add per-test valgrind targets
8224         * check/gst-libs/gdp.c: (GST_START_TEST),
8225         (gst_data_protocol_suite), (main):
8226           clean up
8227
8228 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8229
8230         * check/Makefile.am:
8231           instate more valgrindable tests
8232         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8233         (GST_START_TEST), (fakesrc_suite):
8234         * check/gst/gstpad.c: (GST_START_TEST):
8235         * check/gst/gststructure.c: (GST_START_TEST):
8236           fix test leaks
8237         * docs/gst/tmpl/gstminiobject.sgml:
8238         * gst/gstpad.c: (gst_pad_finalize):
8239           fix the static mutex leak
8240
8241 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8242
8243         * check/Makefile.am:
8244           add two more tests for valgrinding
8245         * check/gst/gstvalue.c: (GST_START_TEST):
8246           test refcount of deserialized buffer, found a leak
8247         * docs/gst/gstreamer-docs.sgml:
8248         * docs/gst/gstreamer-sections.txt:
8249         * docs/gst/gstreamer.types:
8250         * docs/gst/tmpl/gstminiobject.sgml:
8251           add miniobject to docs
8252         * gst/gstminiobject.c:
8253           add some docs
8254         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8255         (gst_string_unwrap):
8256           fix a hard-to-find invalid write for one of the tests
8257           fix a leak for deserialized buffers
8258
8259 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8260
8261         * docs/pwg/advanced-events.xml:
8262         * docs/pwg/advanced-request.xml:
8263         * docs/pwg/advanced-scheduling.xml:
8264         * docs/pwg/appendix-porting.xml:
8265         * docs/pwg/building-boiler.xml:
8266         * docs/pwg/intro-preface.xml:
8267         * docs/pwg/other-ntoone.xml:
8268           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8269           of example code and explanation for pad activation, loop() and
8270           getrange() functions and a bit more. Remove old comments pointing
8271           to loop-functions.
8272         * examples/pwg/Makefile.am:
8273           Add loop/getrange examples.
8274
8275 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8276
8277         * configure.ac:
8278           check for valgrind binary + some fixes
8279         * check/gst.supp:
8280           valgrind suppressions for the tests
8281         * check/Makefile.am:
8282           add a valgrind: target that valgrinds the unit tests
8283         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8284         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8285         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8286         * check/gst/gstghostpad.c:
8287           added some cleanup
8288         * check/gst/gstdata.c:
8289           removed
8290         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8291         (thread_unref), (gst_mini_object_suite), (main):
8292           added
8293         * gst/gst.c: (gst_deinit):
8294         * gst/gst.h:
8295           add a method to clean up.
8296         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8297         (gst_system_clock_obtain):
8298           allow for disposing the system clock.
8299         * tools/gst-launch.c: (main):
8300           deinit
8301
8302 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8303
8304         * docs/gst/tmpl/gstbasesrc.sgml:
8305         * docs/gst/tmpl/gstfakesrc.sgml:
8306         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8307         (gst_base_src_init), (gst_base_src_set_property),
8308         (gst_base_src_get_property), (gst_base_src_get_range),
8309         (gst_base_src_start):
8310         * gst/base/gstbasesrc.h:
8311           add num-buffers property
8312         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8313         (gst_fakesrc_init), (gst_fakesrc_set_property),
8314         (gst_fakesrc_get_property), (gst_fakesrc_create),
8315         (gst_fakesrc_start):
8316           remove num-buffers property
8317
8318 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8319
8320         * docs/gst/gstreamer-sections.txt:
8321         * docs/gst/tmpl/gstbasesink.sgml:
8322         * docs/gst/tmpl/gstbasesrc.sgml:
8323         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8324         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8325         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8326         (gst_base_sink_set_property), (gst_base_sink_get_property),
8327         (gst_base_sink_handle_object), (gst_base_sink_event),
8328         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8329         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8330         (gst_base_sink_loop), (gst_base_sink_deactivate),
8331         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8332         (gst_base_sink_change_state):
8333         * gst/base/gstbasesink.h:
8334         * gst/base/gstbasesrc.h:
8335         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8336         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8337         (gst_filesink_init):
8338           more macro splitting
8339
8340 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8341
8342         * gst/gstelement.c: (gst_element_get_bus):
8343           add debug
8344         * tools/gst-launch.c: (check_intr), (event_loop):
8345           fix bus leaks
8346
8347 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8348
8349         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8350           fix a caps leak
8351
8352 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8353
8354         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8355         (gst_base_src_finalize):
8356           add finalize method and clean up properly
8357         * gst/gstpipeline.c: (gst_pipeline_dispose):
8358           add debug
8359
8360 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8361
8362         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8363         (gst_bin_suite):
8364           add more things to check
8365         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8366         * gst/gstelement.c:
8367           more debug
8368
8369 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8370
8371         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8372         (GST_START_TEST), (fakesrc_suite):
8373         * check/gst-libs/gdp.c: (GST_START_TEST):
8374         * check/gst/gst.c: (GST_START_TEST):
8375         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8376         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8377         * check/gst/gstbus.c: (GST_START_TEST):
8378         * check/gst/gstcaps.c: (GST_START_TEST):
8379         * check/gst/gstdata.c: (GST_START_TEST):
8380         * check/gst/gstelement.c: (GST_START_TEST):
8381         * check/gst/gstghostpad.c: (GST_START_TEST):
8382         * check/gst/gstiterator.c: (GST_START_TEST):
8383         * check/gst/gstmessage.c: (GST_START_TEST):
8384         * check/gst/gstobject.c: (GST_START_TEST):
8385         * check/gst/gstpad.c: (GST_START_TEST):
8386         * check/gst/gststructure.c: (GST_START_TEST):
8387         * check/gst/gstsystemclock.c: (GST_START_TEST),
8388         (gst_systemclock_suite):
8389         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8390         * check/gst/gstvalue.c: (GST_START_TEST):
8391         * check/pipelines/cleanup.c: (GST_START_TEST):
8392         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8393         * check/states/sinks.c: (GST_START_TEST):
8394         * check/gstcheck.c: (gst_check_init):
8395         * check/gstcheck.h:
8396           add debugging category
8397           use GST_START_TEST now, so we add a debug line
8398
8399 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8400
8401         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8402           add test for state change message on a bin
8403         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8404           add another test
8405         * gst/gstbin.c: (gst_bin_init):
8406         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8407         * gst/gstelement.c: (gst_element_post_message),
8408         (gst_element_set_state):
8409         * gst/gstelementfactory.c: (gst_element_factory_create):
8410         * gst/gstmessage.c: (gst_message_new):
8411         * gst/gstscheduler.c:
8412           various debugging additions and cleanups
8413
8414 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8415
8416         * check/Makefile.am:
8417         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8418         (main):
8419           adding tests for elements
8420         * gst/gstelement.c: (gst_element_dispose):
8421
8422 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8423
8424         * gst/registries/gstlibxmlregistry.c: (load_feature):
8425           plug more leaks.  A simple gst_init() now is leakfree, yay.
8426
8427 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8428
8429         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8430         (gst_xml_registry_load):
8431           plug another memleak
8432
8433 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8434
8435         * configure.ac:
8436           use GST_SET_ERROR_CFLAGS
8437         * docs/faq/cvs.xml:
8438           change to ERROR_CFLAGS
8439
8440 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8441
8442         * configure.ac:
8443           make GST_ERROR_CFLAGS overridable and re-enable Werror
8444         * docs/faq/cvs.xml:
8445           add a note about error CFLAGS
8446         * docs/gst/tmpl/gstfakesrc.sgml:
8447         * gst/elements/gstfakesrc.c:
8448           comment out some unused code
8449         * gst/gst.c: (split_and_iterate):
8450         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8451         (load_feature):
8452           plug some memleaks
8453
8454 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8455
8456         * common/Makefile.am:
8457         * common/gtk-doc.mak:
8458         * docs/gst/Makefile.am:
8459           factor out gtk-doc.mak
8460
8461 2005-07-07  Wim Taymans  <wim@fluendo.com>
8462
8463         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8464         (gst_thread_scheduler_dispose):
8465         Unlock the STREAM_LOCK completely.
8466
8467 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8468
8469         * check/Makefile.am:
8470         * check/elements/.cvsignore:
8471         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8472         (START_TEST), (fakesrc_suite), (main):
8473         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8474         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8475         (gst_fakesrc_create), (gst_fakesrc_start):
8476         * gst/elements/gstfakesrc.h:
8477           adding a first element test
8478
8479 2005-07-07  Andy Wingo  <wingo@pobox.com>
8480
8481         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8482         debug message.
8483
8484 2005-07-07  Wim Taymans  <wim@fluendo.com>
8485
8486         * gst/gstquery.c:
8487         * gst/gstquery.h:
8488         Remove old types
8489
8490 2005-07-07  Wim Taymans  <wim@fluendo.com>
8491
8492         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8493         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8494         Allow subclasses to implement their own negotiation.
8495
8496 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8497
8498         * docs/design/part-gstbin.txt:
8499         * docs/design/part-gstpipeline.txt:
8500           Update design notes to reflect the movement of
8501           responsibility for bus handling from GstPipeline to
8502           GstBin
8503
8504 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8505
8506         * configure.ac:
8507           Remove unnecessary queue2/3/4 examples.
8508
8509 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8510
8511         * examples/Makefile.am:
8512         * examples/helloworld/helloworld.c: (event_loop), (main):
8513         * examples/queue/queue.c: (event_loop), (main):
8514         * examples/queue2/queue2.c: (main):
8515           Update a couple of the examples to work again.
8516
8517         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8518         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8519          Spelling corrections and extra debug.
8520         
8521         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8522         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8523         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8524         * gst/gstbin.h:
8525         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8526         (gst_pipeline_change_state):
8527         * gst/gstpipeline.h:
8528           Move the bus handler for children to the GstBin, and create a
8529           separate bus for receiving messages from children to the one the
8530           bus sends 'upwards' on.
8531
8532 2005-07-06  Wim Taymans  <wim@fluendo.com>
8533
8534         * gst/base/README:
8535         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8536         (gst_base_sink_handle_object), (gst_base_sink_loop),
8537         (gst_base_sink_change_state):
8538         * gst/base/gstbasesink.h:
8539         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8540         (gst_base_src_init), (gst_base_src_setcaps),
8541         (gst_base_src_getcaps), (gst_base_src_loop),
8542         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8543         (gst_base_src_start), (gst_base_src_change_state):
8544         * gst/base/gstbasesrc.h:
8545         Make basesrc negotiate.
8546         Handle the case where preroll fails in basesink.
8547         Update README.
8548
8549 2005-07-06  Wim Taymans  <wim@fluendo.com>
8550
8551         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8552         Implement the fixate function.
8553         Clean up acceptcaps.
8554
8555 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8556
8557         * docs/pwg/building-filterfactory.xml:
8558         * docs/pwg/pwg.xml:
8559           Remove never-written filter-factory chapter; I'll add the various
8560           base classes to part 4 ("other element types") later on.
8561
8562 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8563
8564         * docs/pwg/advanced-negotiation.xml:
8565         * docs/pwg/building-boiler.xml:
8566         * docs/pwg/building-pads.xml:
8567         * docs/pwg/pwg.xml:
8568         * examples/pwg/Makefile.am:
8569           Add a chapter on caps negotiation, simplify the original code
8570           samples a bit w.r.t. caps negotiation, add link to the advanced
8571           section. Add a bunch of examples showing different use cases of
8572           different types of caps negotiation. Upstream renegotiation isn't
8573           fully documented yet since nobody knows how that works.
8574
8575 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8576
8577         * check/gst/gstpad.c:
8578         * check/gstcheck.c:
8579         * gst/gstpad.c: (gst_pad_get_internal_links_default):
8580           if pad has no parent, return NULL as list of internal links
8581
8582 2005-07-05  Andy Wingo  <wingo@pobox.com>
8583
8584         * gst/elements/gstfilesrc.c:
8585         * gst/elements/gstfakesrc.c: 
8586         * gst/base/gstpushsrc.c:
8587         * gst/base/gstbasesrc.h: 
8588         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8589         
8590 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
8591
8592         * Makefile.am:
8593           better report generation target (lcov needs a patch)
8594
8595 2005-07-05  Andy Wingo  <wingo@pobox.com>
8596
8597         * gst/elements, testsuite: Null if we got it...
8598
8599 2005-07-05  Wim Taymans  <wim@fluendo.com>
8600
8601         * configure.ac:
8602         * libs/gst/dataprotocol/Makefile.am:
8603         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8604         * libs/gst/dataprotocol/dataprotocol.h:
8605         * pkgconfig/Makefile.am:
8606         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8607         * pkgconfig/gstreamer-dataprotocol.pc.in:
8608         Ported dataprotol to 0.9. 
8609         Added pkgconfig files.
8610
8611 2005-07-05  Andy Wingo  <wingo@pobox.com>
8612
8613         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8614         Default to returning TRUE for the case when tranform_caps returns
8615         a fixed caps, like for identity or volume.
8616
8617         * check/gst/gstbus.c (pound_bus_with_messages): 
8618         * check/gst/gstmessage.c (START_TEST): 
8619         * check/pipelines/simple_launch_lines.c (got_handoff): Application
8620         message API change.
8621
8622         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8623         logic weaks here: always run transform_caps, trying passthrough
8624         operation only if the original caps intersects with the transform.
8625
8626         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8627         source and sink caps.
8628
8629         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8630         Intersect the peer caps with the pad template before going into
8631         transform_caps.
8632         (gst_base_transform_transform_caps): More debugging.
8633
8634         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8635         src argument.
8636
8637 2005-07-04  Edward Hervey  <edward@fluendo.com>
8638
8639         * gst/gstutils.c:
8640         * gst/gstutils.h:
8641         (gst_pad_add_*_probe): now returns the signal id for better wrapping
8642         in bindings.
8643
8644 2005-07-04  Andy Wingo  <wingo@pobox.com>
8645
8646         * check/gst/gstpad.c: Only set explicit caps on pads.
8647
8648 2005-07-01  Andy Wingo  <wingo@pobox.com>
8649
8650         * tests/network-clock.scm: Commentary update.
8651
8652         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8653         Didn't really make sense, not implementable with basetransform,
8654         etc.
8655         (gst_identity_transform): Unref inbuf via make_writable. Feeble
8656         attempt at implementing the sync property, needs an unlock method.
8657
8658         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8659         New func, by default returns the same caps (the identity
8660         transformation).
8661         (gst_base_transform_getcaps): Uses transform_caps to return
8662         something sensible.
8663         (gst_base_transform_setcaps): Complicated logic to get caps on
8664         both pads, even if they are different, and to call set_caps once
8665         for every time both pads get their caps set.
8666         (gst_base_transform_handle_buffer): Give the ref to the transform
8667         function. Allows in-place modification of the buffer.
8668
8669         * gst/base/gstbasetransform.h (transform_caps): New class method.
8670         Given caps on one side, what can I do on the other.
8671         (set_caps): Take two caps, one for each side of the element.
8672
8673         * gst/gstpad.h:
8674         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8675         caps in place. This is safe because we can check the mutability of
8676         the caps, and a good idea because fixate functions are just called
8677         as a matter of last resort. (Not actually implemented.)
8678         (gst_pad_set_caps): If the caps we're setting is actually the same
8679         as the existing pad caps, just update the pointer without calling
8680         setcaps. Assert that caps is either NULL or fixed, as per the
8681         docs.
8682
8683         * gst/gstghostpad.c: Update for fixate changes.
8684
8685 2005-07-02  Andy Wingo  <wingo@pobox.com>
8686
8687         * gst/gstcaps.c:
8688         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8689         two refcounts makes it immutable, which is enough. Doc more.
8690
8691 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
8692
8693         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8694           Put the mini_object into GValue as a mini_object,
8695           not a gpointer, since that's how we declared
8696           the signal.
8697
8698 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8699
8700         * examples/pwg/Makefile.am:
8701           Fix buildbot again.
8702
8703 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8704
8705         * docs/pwg/building-testapp.xml:
8706           Add extra check.
8707         * examples/pwg/Makefile.am:
8708           Fix buildbot.
8709
8710 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8711
8712         * configure.ac:
8713         * examples/Makefile.am:
8714         * examples/pwg/Makefile.am:
8715         * examples/pwg/extract.pl:
8716           Enable building the PWG examples.
8717         * docs/pwg/advanced-interfaces.xml:
8718           Add URI interface stub.
8719         * docs/pwg/advanced-types.xml:
8720         * docs/pwg/other-autoplugger.xml:
8721         * docs/pwg/appendix-porting.xml:
8722         * docs/pwg/pwg.xml:
8723           Add porting guide (mostly stubs), remove autoplugging (see ADM).
8724         * docs/pwg/building-boiler.xml:
8725         * docs/pwg/building-chainfn.xml:
8726         * docs/pwg/building-pads.xml:
8727         * docs/pwg/building-props.xml:
8728         * docs/pwg/building-state.xml:
8729         * docs/pwg/building-testapp.xml:
8730           Update the building-*.xml parts for 0.9 changes. All examples
8731           code blocks compile in examples/pwg/*.
8732
8733 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8734
8735         * docs/manual/advanced-autoplugging.xml:
8736         * docs/manual/appendix-checklist.xml:
8737         * docs/manual/appendix-integration.xml:
8738         * docs/manual/highlevel-components.xml:
8739           Fix playbin/decodebin examples, update docs a bit, mention bus
8740           instead of signals in various places, mention kmplayer and
8741           kaffeine since they have a working GStreamer backend in the KDE
8742           section.
8743
8744 2005-06-30  Wim Taymans  <wim@fluendo.com>
8745
8746         * CHANGES-0.9:
8747         * docs/design/draft-ghostpads.txt:
8748         * docs/design/draft-push-pull.txt:
8749         * docs/design/draft-query.txt:
8750         * docs/design/part-TODO.txt:
8751         * docs/design/part-query.txt:
8752         Added CHANGES-0.9 doc, updated status of other docs.
8753         
8754         * gst/gstquery.h:
8755         Remove "hmm" macro
8756
8757 2005-06-30  Wim Taymans  <wim@fluendo.com>
8758
8759         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8760         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8761         (gst_base_sink_change_state):
8762         * gst/base/gstbasesink.h:
8763         Some tweaks, only EOS and a buffer complete a preroll.
8764
8765 2005-06-30  Andy Wingo  <wingo@pobox.com>
8766
8767         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8768         activate_push down to the internal pad as well.
8769
8770 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
8771
8772         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8773
8774         * gst/gsttaginterface.c:
8775           Some documentation fixes (#307394 and #307397).
8776
8777 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
8778
8779         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8780
8781         * gst/gstvalue.c: (gst_value_intersect_list):
8782           Fix memleak (#309125).
8783
8784 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8785
8786         * docs/manual/advanced-dataaccess.xml:
8787           Fix fakesrc example to compile; doesn't work, bug somewhere...?
8788         * docs/manual/basics-pads.xml:
8789           Add reference for filtered caps to above chapter.
8790
8791 2005-06-30  Wim Taymans  <wim@fluendo.com>
8792
8793         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8794         (gst_bin_change_state):
8795         Probes are gone.
8796         Lame attempt at making the state change function a bit
8797         more readable.
8798
8799 2005-06-30  Wim Taymans  <wim@fluendo.com>
8800
8801         * docs/design/part-clocks.txt:
8802         * docs/design/part-element-sink.txt:
8803         * docs/design/part-events.txt:
8804         * docs/design/part-preroll.txt:
8805         * docs/design/part-states.txt:
8806         Some more tweeks and additions to the docs.
8807
8808 2005-06-30  Wim Taymans  <wim@fluendo.com>
8809
8810         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8811         (default_have_data), (gst_pad_class_init), (gst_pad_init),
8812         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8813         (gst_pad_check_pull_range), (gst_pad_get_range),
8814         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8815         * gst/gstpad.h:
8816         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8817         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8818         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8819         (gst_pad_remove_buffer_probe):
8820         Removed atomic operations, use existing LOCK.
8821         Move exception handling out of main code path.
8822
8823 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8824
8825         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8826         (silly_return_true_function), (gst_pad_class_init),
8827         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8828         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8829         (gst_pad_send_event):
8830           Fix accumulator, add default value by using _emitv() instead
8831           of _emit() for signal emission.
8832
8833 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8834
8835         * docs/manual/advanced-dataaccess.xml:
8836         * examples/manual/Makefile.am:
8837           Add probe example.
8838         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8839           Make work (??).
8840
8841 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
8842
8843         * gst/elements/gstfilesink.c: (gst_filesink_render):
8844           Simplify code so that we don't have to handle short
8845           writes and return GST_FLOW_ERROR if an error occured.
8846
8847 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8848
8849         * docs/gst/gstreamer-docs.sgml:
8850           Remove probes more.
8851
8852 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8853
8854         * docs/gst/gstreamer-sections.txt:
8855         * docs/gst/tmpl/gstpad.sgml:
8856         * docs/gst/tmpl/gstprobe.sgml:
8857         * gst/Makefile.am:
8858         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8859         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8860         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8861         (gst_pad_push_event), (gst_pad_send_event):
8862         * gst/gstpad.h:
8863         * gst/gstutils.c: (gst_pad_add_data_probe),
8864         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8865         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8866         (gst_pad_remove_buffer_probe):
8867         * gst/gstutils.h:
8868           Remove old probes, add new g-signal-based probes and some utility
8869           functions.
8870
8871 2005-06-29  Edward Hervey  <edward@fluendo.com>
8872
8873         * gst/gstelementfactory.c:
8874         * gst/gstutils.h:
8875         * gst/gstutils.c:
8876         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8877         the definition to the header file.
8878
8879 2005-06-29  Andy Wingo  <wingo@pobox.com>
8880
8881         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8882         plugins from the source directory.
8883
8884 2005-06-29  Wim Taymans  <wim@fluendo.com>
8885
8886         * docs/gst/tmpl/gstbuffer.sgml:
8887         * docs/gst/tmpl/gstclock.sgml:
8888         Some fixings for blantently wrong text.
8889
8890 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8891
8892         * check/Makefile.am:
8893         * gst/gst.c: (add_path_func), (init_pre):
8894         * gst/gstregistry.c: (gst_registry_add_path):
8895           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
8896           only scan the GST_PLUGIN_PATH locations, and not add
8897           system locations
8898
8899 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8900
8901         * docs/gst/gstreamer-sections.txt:
8902         * docs/gst/tmpl/gstbasesrc.sgml:
8903         * gst/gstelement.c:
8904         * gst/gstelement.h:
8905         * gst/gstevent.c:
8906         * gst/gstutils.c:
8907           doc fixes
8908
8909 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8910
8911         * docs/manual/advanced-autoplugging.xml:
8912           Fix autoplugging example.
8913
8914 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8915
8916         * docs/manual/advanced-autoplugging.xml:
8917         * docs/manual/mime-world.fig:
8918           Try to get autoplugging working, fix type detection. Fix text
8919           in hello-world image.
8920
8921 2005-06-29  Wim Taymans  <wim@fluendo.com>
8922
8923         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8924         (gst_base_sink_change_state):
8925         Small debug line.
8926
8927         * gst/gstclock.h:
8928         map SIGNAL and BROADCAST to the right function.
8929
8930         * gst/gstobject.h:
8931         Remove redundant braces.
8932
8933         * gst/gstpad.c: (gst_pad_set_caps):
8934         Don't call setcaps function when reseting caps to NULL.
8935
8936         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8937         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
8938         (gst_system_clock_id_unschedule):
8939         Use BROADCAST as this is what we do.
8940
8941 2005-06-29  Wim Taymans  <wim@fluendo.com>
8942
8943         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8944         We are actually prerolling before commiting the state
8945         change. 
8946
8947 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8948
8949         * docs/manual/advanced-clocks.xml:
8950         * docs/manual/advanced-interfaces.xml:
8951         * docs/manual/advanced-metadata.xml:
8952         * docs/manual/advanced-position.xml:
8953         * docs/manual/advanced-schedulers.xml:
8954         * docs/manual/advanced-threads.xml:
8955         * docs/manual/appendix-porting.xml:
8956         * docs/manual/basics-bins.xml:
8957         * docs/manual/basics-bus.xml:
8958         * docs/manual/basics-elements.xml:
8959         * docs/manual/basics-helloworld.xml:
8960         * docs/manual/basics-pads.xml:
8961         * docs/manual/highlevel-components.xml:
8962         * docs/manual/manual.xml:
8963         * docs/manual/thread.fig:
8964           Update (until threads/scheduling) Application Development Manual;
8965           remove GstThread, add GstBus, add simple porting checklist, add
8966           documentation for tag writing, clocks, make all examples until this
8967           part compile and run.
8968         * examples/manual/Makefile.am:
8969           Update from changes to Application Development Manual; add bus
8970           example, remove thread example.
8971
8972 2005-06-28  Wim Taymans  <wim@fluendo.com>
8973
8974         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
8975         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
8976         (gst_bus_source_dispatch):
8977         Add debugging messages.
8978         Make internal methods static.
8979         Handle the case where the bus is flushed in the handler.
8980         
8981         * gst/gstelement.c: (gst_element_get_bus):
8982         Fix refcount in _get_bus();
8983
8984         * gst/gstpipeline.c: (gst_pipeline_change_state),
8985         (gst_pipeline_get_clock_func):
8986         Clock refcounting fixes.
8987         Handle the case where preroll timed out more gracefully.
8988         
8989         * gst/gstsystemclock.c: (gst_system_clock_dispose):
8990         Clean up the internal thread in dispose. This is needed
8991         for subclasses that actually get disposed.
8992         
8993         * gst/schedulers/threadscheduler.c:
8994         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8995         (gst_thread_scheduler_dispose):
8996         Free thread pool in dispose.
8997
8998 2005-06-28  Andy Wingo  <wingo@pobox.com>
8999
9000         * tests/network-clock-utils.scm (debug, print-event): New utils.
9001
9002         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9003         (*packet-loss*): Unified loss probability.
9004         (network-time): Report out-of-band events.
9005
9006         * tests/plot-data: Add support for out-of-band events. Hack it
9007         into this script instead of passing it down the pipe; should fix
9008         this later.
9009
9010 2005-06-28  Wim Taymans  <wim@fluendo.com>
9011
9012         * docs/gst/gstreamer.types:
9013         * docs/gst/tmpl/gstbasesrc.sgml:
9014         * docs/gst/tmpl/gstpad.sgml:
9015         Docs fixes.
9016
9017 2005-06-28  Wim Taymans  <wim@fluendo.com>
9018
9019         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9020         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9021         (gst_proxy_pad_do_fixatecaps):
9022         Correctly proxy the check_pull_range function.
9023
9024 2005-06-28  Andy Wingo  <wingo@pobox.com>
9025
9026         * tests/network-clock.scm: Removed need for slib.
9027         
9028 2005-06-28  Wim Taymans  <wim@fluendo.com>
9029
9030         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9031         (gst_basesink_preroll_queue_flush):
9032         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9033         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9034         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9035         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9036         (gst_proxy_pad_set_property):
9037         * gst/gstpad.c:
9038         * gst/gstpad.h:
9039         * gst/gstqueue.c: (gst_queue_init):
9040         The deprecated pad loop function is removed now.
9041
9042 2005-06-28  Andy Wingo  <wingo@pobox.com>
9043
9044         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9045         New parameters, simulate network packet loss.
9046
9047         * tests/network-clock-utils.scm: Initialize the RNG.
9048
9049 2005-06-28  Wim Taymans  <wim@fluendo.com>
9050
9051         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9052         (gst_basesink_event), (gst_basesink_deactivate):
9053         Flushing the preroll queue always needs to unlock the waiters.
9054
9055 2005-06-28  Edward Hervey  <edward@fluendo.com>
9056
9057         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9058         Wheen a seek was successful on a pipeline, set the stream_time to the
9059         seek offset in order to have a synchronized stream_time.
9060
9061 2005-06-28  Wim Taymans  <wim@fluendo.com>
9062
9063         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9064         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9065         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9066         (gst_proxy_pad_do_fixatecaps):
9067         Call wrapper function instead of just calling the function
9068         pointers. This takes care of any locking and whatmore.
9069
9070 2005-06-28  Wim Taymans  <wim@fluendo.com>
9071
9072         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9073         (gst_pad_pull_range):
9074         * gst/gstpad.h:
9075         CONNECTED -> LINKED.
9076
9077 2005-06-28  Andy Wingo  <wingo@pobox.com>
9078
9079         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9080         source-munging commit!!!
9081
9082         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9083         (gst_object_sink): Take gpointer arguments, not GstObject --
9084         avoids casts. Like GLib.
9085
9086         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9087         activate.
9088
9089 2005-06-27  Andy Wingo  <wingo@pobox.com>
9090
9091         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9092         remaining buffer.
9093
9094         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9095         returns a sorted copy of the trace list.
9096         (gst_alloc_trace_print_live): New API, only prints traces with
9097         live objects. Sort the list.
9098         (gst_alloc_trace_print_all): Sort the list.
9099         (gst_alloc_trace_print): Align columns.
9100
9101         * gst/elements/gstttypefindelement.c:
9102         * gst/elements/gsttee.c:
9103         * gst/base/gstbasesrc.c:
9104         * gst/base/gstbasesink.c:
9105         * gst/base/gstbasetransform.c:
9106         * gst/gstqueue.c: Adapt for pad activation changes.
9107
9108         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9109         sched.
9110         (gst_pipeline_dispose): Drop ref on sched.
9111
9112         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9113         (gst_pad_activate_default): Push mode by default.
9114         (pre_activate_switch, post_activate_switch): New stubs, things to
9115         do before and after switching activation modes on pads.
9116         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9117         the pad's activate function to choose which mode to activate.
9118         Shortcut on deactivation and call the right function directly.
9119         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9120         mode.
9121         (gst_pad_activate_push): New API, same for push mode.
9122         (gst_pad_set_activate_function) 
9123         (gst_pad_set_activatepull_function) 
9124         (gst_pad_set_activatepush_function): Setters for new API.
9125
9126         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9127         Trace all miniobjects.
9128         (gst_mini_object_make_writable): Unref the arg if we copy, like
9129         gst_caps_make_writable.
9130
9131         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9132
9133         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9134         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9135         Adapt for new pad API.
9136
9137         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9138
9139         * gst/gstelement.h:
9140         * gst/gstelement.c (gst_element_iterate_src_pads) 
9141         (gst_element_iterate_sink_pads): New API functions.
9142         
9143         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9144         should fold into gstiterator.c in some form.
9145         (gst_element_pads_activate): Simplified via use of fold and
9146         delegation of decisions to gstpad->activate.
9147
9148         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9149         help in debugging.
9150
9151         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9152         class once in init, like gstmessage. Didn't run into this issue
9153         but it seems correct. Don't initialize a trace, gstminiobject does
9154         that.
9155
9156         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9157         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9158         to the bus.
9159         (assert_live_count): New util function, uses alloc traces to check
9160         cleanup.
9161
9162         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9163         To be modified when unlink drops the internal pad.
9164
9165 2005-06-27  Wim Taymans  <wim@fluendo.com>
9166
9167         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9168         (gst_bin_change_state):
9169         Cleanup the get_state() function a little, make sure it
9170         iterates the same set of elements.
9171         Added stub iterate_state_order().
9172
9173 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9174
9175         * docs/gst/gstreamer-docs.sgml:
9176         * docs/gst/gstreamer-sections.txt:
9177         * docs/gst/gstreamer.types:
9178         * docs/gst/tmpl/gstbasesink.sgml:
9179         * docs/gst/tmpl/gstbasesrc.sgml:
9180         * docs/gst/tmpl/gstbasetransform.sgml:
9181         * docs/gst/tmpl/gstelement.sgml:
9182         * docs/gst/tmpl/gstiterator.sgml:
9183         * gst/base/gstbasesrc.c:
9184         * gst/base/gstbasesrc.h:
9185         * gst/base/gstbasetransform.h:
9186         * gst/gstelement.c:
9187         * gst/gstiterator.h:
9188           adding basetransform and iterator docs
9189
9190 2005-06-27  Andy Wingo  <wingo@pobox.com>
9191
9192         * docs/design/part-activation.txt: Notes on how activation should
9193         work -- not quite implemented yet.
9194
9195 2005-06-25  Wim Taymans  <wim@fluendo.com>
9196
9197         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9198         At least get the chain function correct, needs more
9199         fixing.
9200
9201 2005-06-25  Wim Taymans  <wim@fluendo.com>
9202
9203         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9204         (gst_basesink_handle_object), (gst_basesink_event),
9205         (gst_basesink_do_sync), (gst_basesink_handle_event),
9206         (gst_basesink_change_state):
9207         * gst/gsttask.h:
9208         Right, two problems here: ghostpads don't take locks and
9209         glib _rec_mutex_lock_full() with depth==0 still locks.
9210         Catch illegal locking and g_warn them.
9211
9212 2005-06-25  Wim Taymans  <wim@fluendo.com>
9213
9214         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9215         Have to check for completion now...
9216
9217 2005-06-25  Wim Taymans  <wim@fluendo.com>
9218
9219         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9220         (gst_basesink_handle_object), (gst_basesink_event),
9221         (gst_basesink_do_sync), (gst_basesink_handle_event),
9222         (gst_basesink_change_state):
9223         * gst/gstpad.h:
9224         Unlock STREAM_LOCK whatever the recursion was.
9225
9226 2005-06-25  Wim Taymans  <wim@fluendo.com>
9227
9228         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9229         (gst_basesink_preroll_queue_empty),
9230         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9231         (gst_basesink_event), (gst_basesink_do_sync),
9232         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9233         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9234         (gst_basesink_change_state):
9235         Reworked the base sink, handle event and buffer serialisation
9236         correctly and removed possible deadlock.
9237         Handle EOS correctly.
9238
9239 2005-06-25  Wim Taymans  <wim@fluendo.com>
9240
9241         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9242         (gst_pipeline_change_state):
9243         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9244         Allow elements to post EOS in the state change function.
9245         Fix up -launch, make it exit the poll loop when the
9246         pipeline actually changed state.
9247         Fix up warning parsing in -launch.
9248
9249 2005-06-25  Wim Taymans  <wim@fluendo.com>
9250
9251         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9252         (gst_tee_sink_activate):
9253         Core takes STREAM_LOCK for us now.
9254
9255 2005-06-25  Wim Taymans  <wim@fluendo.com>
9256
9257         * gst/gstelement.c: (gst_element_get_state_func),
9258         (gst_element_set_state):
9259         * gst/gstelement.h:
9260         * gst/gstmessage.c: (gst_message_parse_error),
9261         (gst_message_parse_warning):
9262         Keep track of current target state while performing a state
9263         change so that subclasses can do something interesting.
9264         Fix parsing of warning/error messages when GError is NULL.
9265
9266 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9267
9268         * docs/gst/Makefile.am:
9269         * docs/gst/gstreamer-docs.sgml:
9270         * docs/gst/gstreamer-sections.txt:
9271         * docs/gst/gstreamer.types:
9272         * docs/gst/tmpl/gstbasesink.sgml:
9273         * docs/gst/tmpl/gstbasesrc.sgml:
9274         * docs/gst/tmpl/gstbin.sgml:
9275         * docs/gst/tmpl/gstcompat.sgml:
9276         * docs/gst/tmpl/gstfakesink.sgml:
9277         * docs/gst/tmpl/gstfakesrc.sgml:
9278         * docs/gst/tmpl/gstfilesink.sgml:
9279         * docs/gst/tmpl/gstfilesrc.sgml:
9280         * docs/gst/tmpl/gstindex.sgml:
9281         * docs/manual/appendix-quotes.xml:
9282         * gst/base/gstbasesrc.h:
9283         * gst/elements/gstfakesrc.h:
9284         * gst/gstmessage.h:
9285           start pulling in base classes and elements in our docs
9286
9287 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9288
9289         * docs/gst/Makefile.am:
9290         * docs/libs/Makefile.am:
9291           fixed make distcheck with gtk-doc 1.3
9292
9293 2005-06-23  Wim Taymans  <wim@fluendo.com>
9294
9295         * gst/gstelement.c: (gst_element_get_state_func),
9296         (gst_element_set_state), (gst_element_change_state):
9297         When the state did not change, also report NO_PREROLL
9298         when it matters.
9299
9300 2005-06-23  Wim Taymans  <wim@fluendo.com>
9301
9302         * gst/gstpad.c: (gst_pad_event_default):
9303         * gst/gstqueue.c: (gst_queue_loop):
9304         No unsafe task pausing please.
9305
9306 2005-06-23  Wim Taymans  <wim@fluendo.com>
9307
9308         * gst/schedulers/threadscheduler.c:
9309         (gst_thread_scheduler_task_start),
9310         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9311         Ref the task before pushing it on the threadpool. This
9312         makes sure that we have a ref when the threadfunction is
9313         actually called.
9314
9315 2005-06-23  Andy Wingo  <wingo@pobox.com>
9316
9317         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9318         offset is greater than the file's size.
9319
9320         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9321         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9322         * gst/gstobject.c (gst_object_class_init): Make the class lock
9323         recursive. Wim won't let me drop deep_notify. Decodebin works
9324         again, whoopdy doo.
9325
9326         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9327         internal pad, and hacks accordingly. Doesn't do it on the target
9328         pad because we change its caps. Probably catches all cases of
9329         interest tho.
9330         (gst_ghost_pad_set_property): Connect to notify::caps as
9331         appropritate.
9332
9333         * tests/network-clock.scm (plot-simulation): Pipe data to the
9334         elite python skript.
9335
9336         * tests/network-clock-utils.scm (define-parameter): New macro,
9337         defines a parameter that can be set via the command line.
9338         (set-parameter!, parse-parameter-arguments): Command line args
9339         parser.
9340
9341         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9342         stdin.
9343
9344 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9345
9346         * gst/elements/gsttypefindelement.c:
9347         (gst_type_find_element_handle_event):
9348           Don't restart typefinding on a discont.
9349         * gst/gstelement.c: (gst_element_set_state):
9350           Debug spelling fix.
9351         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9352           Allow changing mode of an active pad.
9353           Debug output fixes.
9354         * gst/registries/gstlibxmlregistry.c: (load_feature):
9355           Don't cast a static pad template to a normal pad template.
9356
9357 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9358
9359         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9360         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9361           remove gst_strtoll completely, since it didn't actually do
9362           anything more than what g_ascii_strtoull already does.
9363           check for range errors when deserializing
9364           do a cast for the unsigned cases; but further fixing needs
9365           a decision on what the interpretation of "(int)" and
9366           deserialization should be for values that fall outside the
9367           type's boundaries (ie, refuse, or interpret as casting)
9368
9369 2005-06-23  Wim Taymans  <wim@fluendo.com>
9370
9371         * check/Makefile.am:
9372         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9373         * docs/design/part-live-source.txt:
9374         * docs/design/part-states.txt:
9375         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9376         (gst_basesrc_set_live), (gst_basesrc_is_live),
9377         (gst_basesrc_get_range), (gst_basesrc_activate),
9378         (gst_basesrc_change_state):
9379         * gst/base/gstbasesrc.h:
9380         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9381         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9382         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9383         * gst/gstelement.c: (gst_element_get_state_func),
9384         (gst_element_set_state):
9385         * gst/gstelement.h:
9386         * gst/gsttypes.h:
9387         * tools/gst-launch.c: (event_loop), (main):
9388         Added support for live sources and other elements that
9389         cannot do preroll.
9390         Updated design docs, added live-source design doc.
9391         Implemented live source functionality in basesrc
9392         Fix error condition in _bin_get_state()
9393         Implement live source handling in -launch.
9394         Added check for live sources.
9395         Fixed case in GstBin where elements were changed state
9396         multiple times.
9397
9398
9399 2005-06-23  Andy Wingo  <wingo@pobox.com>
9400
9401         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9402         borken refcounting.
9403
9404         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9405         gst_caps_replace takes care of this for us.
9406
9407         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9408         gst_pad_set_caps on the target, not just its setcaps() function.
9409
9410         * tests/network-clock.scm: 
9411         * tests/network-clock-utils.scm: A network clock simulator.
9412         Something of an algorithmic testbed before doing something in C.
9413
9414 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9415
9416         * check/Makefile.am:
9417         * check/gst/capslist.h:
9418           copy over from 0.8, and add two with bitmasks specified with
9419           (int) 0xFF...
9420         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9421           add test to parse everything from capslist.h
9422         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9423         (main):
9424           add test for structure deserialization
9425         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9426           add tests for deserialization of strings to int types
9427         * gst/gststructure.c: (gst_structure_nth_field_name):
9428         * gst/gststructure.h:
9429           add a way to get the name of a field referenced by index
9430         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9431           instead of checking if the resulting long long lies between
9432           min and max, we check if the long long would fit into
9433           a number of bytes for the final type.
9434           This fixes cases where a string represents 2^32 - 1, which
9435           when cast to int would be the (valid) -1, but is bigger than
9436           G_MAXINT
9437
9438 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9439
9440         * gst/parse/grammar.y:
9441           add a log line for type deserialization
9442
9443 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9444
9445         * check/gst/gstvalue.c: (START_TEST):
9446         * gst/gstvalue.c: (gst_value_deserialize):
9447           return long long, not int, so gint64 deserialization actually
9448           works.  Is there any flag that makes the compiler check this ?
9449           Fixes #308559
9450
9451 2005-06-22  Wim Taymans  <wim@fluendo.com>
9452
9453         * gst/gstbuffer.h:
9454         Added convenience macros for setting buffers in GValue.
9455
9456 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9457
9458         * check/gst/.cvsignore:
9459         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9460           add a test deserializing int64, and comment part out because
9461           it fails, yay !
9462
9463 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9464
9465         * check/Makefile.am:
9466         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9467         * testsuite/Makefile.am:
9468         * testsuite/caps/Makefile.am:
9469         * testsuite/caps/value_serialize.c:
9470         * testsuite/test_gst_init.c:
9471           move a value_serialize test over
9472
9473 2005-06-20  Wim Taymans  <wim@fluendo.com>
9474
9475         * gst/gstpad.c:
9476         Small doc updates.
9477         
9478         * gst/gstvalue.c: (gst_value_compare_buffer),
9479         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9480         (gst_value_compare_flags), (gst_value_serialize_flags),
9481         (gst_value_deserialize_flags), (_gst_value_initialize):
9482         Fix serialisation of buffers, they are not boxed types anymore
9483
9484 2005-06-20  Wim Taymans  <wim@fluendo.com>
9485
9486         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9487         Testcase to show error in buffer-on-caps serialisation.
9488
9489 2005-06-20  Andy Wingo  <wingo@pobox.com>
9490
9491         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9492         will be adding to later.
9493
9494         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9495         if its socks fill with rocks.
9496         (gst_system_clock_obtain): Set the name on object construction.
9497         Avoid double-checked locking.
9498
9499 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
9500
9501         * gst/gsturi.c: (gst_element_make_from_uri):
9502           Fix potential endless loop.
9503
9504 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9505
9506         * check/Makefile.am:
9507           add gsttag
9508         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9509         (main):
9510           move over from testsuite dir and clean up
9511         * configure.ac:
9512         * gst/gsttag.c:
9513         * testsuite/Makefile.am:
9514         * testsuite/tags/.cvsignore:
9515         * testsuite/tags/Makefile.am:
9516         * testsuite/tags/merge.c:
9517           remove testsuite/tags
9518
9519 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9520
9521         * docs/gst/gstreamer-sections.txt:
9522         * docs/gst/tmpl/gstenumtypes.sgml:
9523         * win32/gstenumtypes.c:
9524           clean up documentation build a little
9525
9526 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9527
9528         * check/gstcheck.h:
9529           add macros for checking refcounts on objects and caps
9530         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9531           add some more unit tests
9532         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9533         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9534           fix leaked refcounts (I hope :)) so unittest works
9535         * gst/gstpad.h:
9536           whitespace removal
9537
9538 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9539
9540         * configure.ac: back to HEAD
9541
9542 === release 0.9.1 ===
9543
9544 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9545
9546         * NEWS:
9547         * RELEASE:
9548           updated
9549
9550 2005-06-17  Andy Wingo  <wingo@pobox.com>
9551
9552         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9553         assert; it's always possible that the pad gets deactivated in
9554         between the checks in gstpad.c and the implementation. Rely on
9555         finish_preroll() to return a FLUSHING or similar instead of on the
9556         assert.
9557         
9558         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9559         clock and post an EOS message if we come out of finish_preroll in
9560         the playing state.
9561
9562 2005-06-16  David Schleef  <ds@schleef.org>
9563
9564         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9565         (gst_capsfilter_set_property): Allow NULL as possible value
9566         for filter_caps property, indicating GST_CAPS_ANY.
9567
9568 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9569
9570         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9571           fix debug output
9572         * gst/schedulers/Makefile.am:
9573           use libgst prefix
9574         * gstreamer.spec.in:
9575           fix spec for it
9576
9577 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9578
9579         * gstreamer.spec.in:
9580           clean up
9581
9582 2005-06-08  Andy Wingo  <wingo@pobox.com>
9583
9584         * gst/gstutils.c: RPAD fixes all around.
9585         (gst_element_link_pads): Refcounting fixes.
9586
9587         * tools/gst-inspect.c:
9588         * tools/gst-xmlinspect.c:
9589         * parse/grammar.y:
9590         * gst/base/gsttypefindhelper.c:
9591         * gst/base/gstbasesink.c:
9592         * gst/gstqueue.c: RPAD fixes.
9593
9594         * gst/gstghostpad.h:
9595         * gst/gstghostpad.c: New ghost pad implementation as full proxy
9596         pads. The tricky thing is they provide both source and sink
9597         interfaces, since they proxy the internal pad for the external
9598         pad, and vice versa. Implement with lower-level ProxyPad objects,
9599         with the interior proxy pad as a child of the exterior ghost pad.
9600         Should write a doc on this.
9601         
9602         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9603         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9604         gst_object API.
9605         
9606         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9607         pads are real pads. No ghost pads in this file. Not documenting
9608         the myriad s/RPAD/PAD/ and REALIZE fixes.
9609         (gst_pad_class_init): Add properties for "direction" and
9610         "template". Both are construct-only, so they can't change during
9611         the life of the pad. Fixes properly deriving from GstPad.
9612         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9613         derived objects, just set properties when creating the objects via
9614         g_object_new.
9615         (gst_pad_get_parent): Implement as a function, return NULL if the
9616         parent is not an element.
9617         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9618         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9619         
9620         * gst/gstobject.c (gst_object_class_init): Make name a construct
9621         property. Don't set it in the object init.
9622
9623         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9624         with UNKNOWN direction.
9625         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9626         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9627         (gst_element_remove_pad): Remove ghost-pad special cases.
9628         (gst_element_pads_activate): Remove rpad cruft.
9629
9630         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9631         catch the pad's-parent-not-an-element case.
9632
9633         * gst/gst.h: Include gstghostpad.h.
9634
9635         * gst/gst.c (init_post): No more real, ghost pads.
9636
9637         * gst/Makefile.am: Add gstghostpad.[ch].
9638
9639         * check/Makefile.am:
9640         * check/gst/gstbin.c:
9641         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9642         into a bin creates ghost pads, and that the refcounts are right.
9643         Partly moved from gstbin.c.
9644
9645 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9646
9647         * check/gst-libs/.cvsignore:
9648         * check/gst/.cvsignore:
9649         * check/pipelines/.cvsignore:
9650           ignore more
9651         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9652         (START_TEST), (cleanup_suite), (main):
9653           add some tests related to cleanup after running pipelines
9654
9655 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9656
9657         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9658           add a testsuite for GstBuffer
9659
9660 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9661
9662         * gst/gstminiobject.h:
9663           add defines for accessing the refcount
9664
9665 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
9666
9667         * Makefile.am: added support for html unit test coverage reports
9668
9669 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
9670
9671         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9672           Free existing caps if the capsfilter changes. Add a FIXME about
9673           setting those caps on the pads.
9674
9675         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9676           Before adding a ghost pad to a parent bin, check that there isn't
9677           already one for the element on the bin. Prevents infinite recursion
9678           when using decodebin in parse pipelines. Andy says he'll rewrite the
9679           way this works anyway, so ignore the hack.
9680
9681 2005-06-02  Andy Wingo  <wingo@pobox.com>
9682
9683         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9684         file size, pass it on to the type find helper.
9685
9686         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9687         segment_start and segment_end properly according to the seek
9688         method. Segment_end is still a bit flaky because offset can be
9689         negative for CUR and END cases, but it takes -1 as an "unset"
9690         value.
9691
9692 2005-06-02  Wim Taymans  <wim@fluendo.com>
9693
9694         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9695         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9696         (gst_basesink_activate):
9697         * gst/base/gstbasesink.h:
9698         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9699         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9700         (gst_pad_query), (gst_pad_start_task):
9701         * gst/gstpad.h:
9702         * gst/gstqueue.c: (gst_queue_bufferalloc),
9703         (gst_queue_handle_sink_event), (gst_queue_chain):
9704         Bufferalloc: return GstFlowReturn to more accuratly report
9705         why allocation failed.
9706
9707 2005-06-02  Wim Taymans  <wim@fluendo.com>
9708
9709         * gst/gstpipeline.c: (gst_pipeline_send_event):
9710         Take snapshot of state without blocking.
9711
9712 2005-06-02  Wim Taymans  <wim@fluendo.com>
9713
9714         * docs/design/part-TODO.txt:
9715         * docs/design/part-caps.txt:
9716         * docs/design/part-clocks.txt:
9717         * docs/design/part-negotiation.txt:
9718         * docs/design/part-preroll.txt:
9719         Small doc updates 
9720
9721 2005-05-30  Wim Taymans  <wim@fluendo.com>
9722
9723         * gst/elements/gstidentity.c: (gst_identity_event),
9724         (gst_identity_transform), (gst_identity_get_property):
9725         Protect last_message property as it is accessed from
9726         multiple threads.
9727
9728 2005-05-30  Wim Taymans  <wim@fluendo.com>
9729
9730         * gst/gstelement.c: (gst_element_init),
9731         (gst_element_pads_activate), (gst_element_change_state):
9732         Slicker pad activation code.
9733
9734 2005-05-30  Wim Taymans  <wim@fluendo.com>
9735
9736         * gst/Makefile.am:
9737         * gst/gstelement.h:
9738         * gst/gstelementfactory.h:
9739         * gst/gsttypes.h:
9740         Move elementfactory methods to separate .h file.
9741
9742 2005-05-30  Wim Taymans  <wim@fluendo.com>
9743
9744         * docs/design/part-overview.txt:
9745         * gst/gstsystemclock.h:
9746         Small typo fixes, doc updates.
9747
9748 2005-05-30  Wim Taymans  <wim@fluendo.com>
9749
9750         * gst/gst.c: (gst_init_get_popt_table), (init_post),
9751         (init_popt_callback):
9752         Remove cpu-opt flag.
9753
9754 2005-05-30  Wim Taymans  <wim@fluendo.com>
9755
9756         * gst/gstbuffer.c: (gst_subbuffer_finalize),
9757         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9758         * gst/gstbuffer.h:
9759         Avoid typechecking in places where not needed.
9760         Added accessor for malloc_data.
9761
9762 2005-05-30  Wim Taymans  <wim@fluendo.com>
9763
9764         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9765         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9766         (gst_pad_configure_sink), (gst_pad_configure_src),
9767         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9768         (gst_pad_start_task):
9769         Propagate errors from _set_caps() in configure_src/sink
9770         functions instead of returning TRUE.
9771         FLUSH events can travel up and downstream
9772
9773
9774 2005-05-30  Wim Taymans  <wim@fluendo.com>
9775
9776         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9777         (gst_basesink_activate):
9778         Handle EOS in preroll.
9779
9780 2005-05-30  Wim Taymans  <wim@fluendo.com>
9781
9782         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9783         (gst_queue_loop), (gst_queue_handle_src_event):
9784         Remove old pieces of code
9785         Flushing the queue in an upstream event is a very bad idea.
9786
9787 2005-05-26  Andy Wingo  <wingo@pobox.com>
9788
9789         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9790         gst_value_set_mini_object so as to add a ref on the object (which
9791         will be removed when the value is unset).
9792
9793         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9794         arg type in ::handoff.
9795
9796         * gst/gstelement.c (gst_element_change_state): Also deactivate
9797         pads in READY->NULL, just in case the element didn't make it to
9798         PAUSED. Wingo tested, Wim approved.
9799
9800 2005-05-26  Wim Taymans  <wim@fluendo.com>
9801
9802         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9803         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9804         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9805         A flushing pad cannot be used to alloc_buffer from.
9806
9807 2005-05-26  Wim Taymans  <wim@fluendo.com>
9808
9809         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9810         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9811         (gst_bus_source_dispatch), (gst_bus_source_finalize),
9812         (gst_bus_create_watch), (gst_bus_add_watch_full):
9813         * gst/gstbus.h:
9814         Implement a real GSource and use g_main_context_wakeup() to
9815         signal new messages instead of the socketpair.
9816
9817 2005-05-25  Wim Taymans  <wim@fluendo.com>
9818
9819         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9820         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9821         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9822         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9823         (gst_pad_send_event), (gst_pad_start_task):
9824         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9825         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9826         (gst_queue_sink_activate), (gst_queue_src_activate),
9827         (gst_queue_change_state):
9828         * gst/gstqueue.h:
9829         Fix state changes for non sinks. We now change sinks, then elements
9830         with unconnected srcpads, then the rest.
9831         More efficient queue unlocking in flush and state changes.
9832         Set the pad activate mode even if it does not have an activate
9833         function.
9834
9835 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9836
9837         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9838           Don't go in pull mode for non-seekable sources.
9839         * gst/elements/gsttypefindelement.h:
9840         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9841         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9842         (free_entry), (stop_typefinding),
9843         (gst_type_find_element_handle_event), (find_peek),
9844         (gst_type_find_element_chain), (do_pull_typefind),
9845         (gst_type_find_element_change_state):
9846           Allow typefinding (w/o seeking) in push-mode, simplified version
9847           of what was in 0.8.
9848         * gst/gstutils.c: (gst_buffer_join):
9849         * gst/gstutils.h:
9850           gst_buffer_join() from 0.8.
9851
9852 2005-05-25  Wim Taymans  <wim@fluendo.com>
9853
9854         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9855         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9856         (gst_pad_send_event), (gst_pad_start_task):
9857         Disable attempt at mode switching until it is figured out.
9858
9859 2005-05-25  Wim Taymans  <wim@fluendo.com>
9860
9861         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9862         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9863         (gst_basesink_finish_preroll), (gst_basesink_chain),
9864         (gst_basesink_loop), (gst_basesink_activate),
9865         (gst_basesink_change_state):
9866         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9867         (gst_basesrc_get_range), (gst_basesrc_loop),
9868         (gst_basesrc_activate):
9869         * gst/elements/gsttee.c: (gst_tee_sink_activate):
9870         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9871         (gst_real_pad_init), (gst_real_pad_set_property),
9872         (gst_real_pad_get_property), (gst_pad_set_active),
9873         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9874         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9875         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9876         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9877         (gst_pad_event_default_dispatch), (gst_pad_event_default),
9878         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9879         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9880         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9881         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9882         (gst_pad_stop_task):
9883         * gst/gstpad.h:
9884         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9885         (gst_queue_loop), (gst_queue_src_activate):
9886         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
9887         (gst_task_get_state):
9888         * gst/gsttask.h:
9889         * gst/schedulers/threadscheduler.c:
9890         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
9891         Implement gst_pad_pause/start/stop_task(), take STREAM lock
9892         in task function.
9893         Remove ACTIVE pad flag, use FLUSHING everywhere
9894         Added _pad_chain(), _pad_get_range() to call chain/getrange 
9895         functions.
9896         Add locks around IS_FLUSHING when reading.
9897         Take STREAM lock in chain(), get_range() functions so plugins
9898         don't need to take it anymore.
9899         
9900
9901
9902 2005-05-25  Wim Taymans  <wim@fluendo.com>
9903
9904         * tools/gst-launch.c: (event_loop):
9905         Unref message after using its contents instead of
9906         before.
9907
9908 2005-05-24  Wim Taymans  <wim@fluendo.com>
9909
9910         * docs/design/draft-ghostpads.txt:
9911         * docs/design/draft-push-pull.txt:
9912         * docs/design/draft-query.txt:
9913         * docs/design/part-overview.txt:
9914         Docs updates, added general overview doc.
9915
9916 2005-05-21  David Schleef  <ds@schleef.org>
9917
9918         * docs/gst/tmpl/old/GstBin.sgml:
9919         * docs/gst/tmpl/old/GstBuffer.sgml:
9920         * docs/gst/tmpl/old/GstCaps.sgml:
9921         * docs/gst/tmpl/old/GstClock.sgml:
9922         * docs/gst/tmpl/old/GstCompat.sgml:
9923         * docs/gst/tmpl/old/GstData.sgml:
9924         * docs/gst/tmpl/old/GstElement.sgml:
9925         * docs/gst/tmpl/old/GstEvent.sgml:
9926         * docs/gst/tmpl/old/GstIndex.sgml:
9927         * docs/gst/tmpl/old/GstStructure.sgml:
9928         * docs/gst/tmpl/old/GstTag.sgml:
9929         * docs/gst/tmpl/old/cothreads.sgml:
9930         * docs/gst/tmpl/old/cothreads_compat.sgml:
9931         * docs/gst/tmpl/old/gettext.sgml:
9932         * docs/gst/tmpl/old/gobject2gtk.sgml:
9933         * docs/gst/tmpl/old/grammar.tab.sgml:
9934         * docs/gst/tmpl/old/gst-i18n-app.sgml:
9935         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9936         * docs/gst/tmpl/old/gst_private.sgml:
9937         * docs/gst/tmpl/old/gstaggregator.sgml:
9938         * docs/gst/tmpl/old/gstarch.sgml:
9939         * docs/gst/tmpl/old/gstatomic_impl.sgml:
9940         * docs/gst/tmpl/old/gstbufferstore.sgml:
9941         * docs/gst/tmpl/old/gstdata_private.sgml:
9942         * docs/gst/tmpl/old/gstdisksink.sgml:
9943         * docs/gst/tmpl/old/gstdisksrc.sgml:
9944         * docs/gst/tmpl/old/gstelementfactory.sgml:
9945         * docs/gst/tmpl/old/gstextratypes.sgml:
9946         * docs/gst/tmpl/old/gstfakesink.sgml:
9947         * docs/gst/tmpl/old/gstfakesrc.sgml:
9948         * docs/gst/tmpl/old/gstfdsink.sgml:
9949         * docs/gst/tmpl/old/gstfdsrc.sgml:
9950         * docs/gst/tmpl/old/gstfilesink.sgml:
9951         * docs/gst/tmpl/old/gstfilesrc.sgml:
9952         * docs/gst/tmpl/old/gsthttpsrc.sgml:
9953         * docs/gst/tmpl/old/gstidentity.sgml:
9954         * docs/gst/tmpl/old/gstindexfactory.sgml:
9955         * docs/gst/tmpl/old/gstmarshal.sgml:
9956         * docs/gst/tmpl/old/gstmd5sink.sgml:
9957         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9958         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9959         * docs/gst/tmpl/old/gstpadtemplate.sgml:
9960         * docs/gst/tmpl/old/gstpipefilter.sgml:
9961         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9962         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9963         * docs/gst/tmpl/old/gstshaper.sgml:
9964         * docs/gst/tmpl/old/gstspider.sgml:
9965         * docs/gst/tmpl/old/gstspideridentity.sgml:
9966         * docs/gst/tmpl/old/gststatistics.sgml:
9967         * docs/gst/tmpl/old/gsttee.sgml:
9968         * docs/gst/tmpl/old/gsttimecache.sgml:
9969         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9970         * docs/gst/tmpl/old/gstxmlregistry.sgml:
9971         * docs/gst/tmpl/old/gthread-cothreads.sgml:
9972         * docs/gst/tmpl/old/types.sgml:
9973           I didn't intend to add these or check them in.
9974
9975 2005-05-19  David Schleef  <ds@schleef.org>
9976
9977         * configure.ac: Use -no-common everywhere.  In a sane world, it
9978           would be the default in libtool, because without it, you can't
9979           build DLLs on Windows.
9980         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
9981         * docs/gst/gstreamer-sections.txt:
9982         * docs/gst/tmpl/gstcpu.sgml:
9983         * docs/gst/tmpl/gstdata.sgml:
9984         * docs/gst/tmpl/gstthread.sgml:
9985
9986 2005-05-19  David Schleef  <ds@schleef.org>
9987
9988         * gst/gstminiobject.c: (gst_value_set_mini_object),
9989         (gst_value_take_mini_object), (gst_value_get_mini_object):
9990         * gst/gstminiobject.h: Add GValue set/get functions.
9991
9992 2005-05-19  Wim Taymans  <wim@fluendo.com>
9993
9994         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
9995         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
9996         (gst_subbuffer_init), (gst_buffer_is_span_fast):
9997         * gst/gstbuffer.h:
9998         * gst/gstbus.c: (gst_bus_post):
9999         * gst/gstelement.c: (gst_element_get_random_pad):
10000         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10001         Make subbufer unref the parent in finalize.
10002         some more debugging info.
10003
10004
10005 2005-05-19  Wim Taymans  <wim@fluendo.com>
10006
10007         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10008         (gst_basesink_init), (gst_basesink_finalize),
10009         (gst_basesink_activate), (gst_basesink_change_state):
10010         Don't free preroll queue too early.
10011
10012 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10013
10014         * gst/Makefile.am:
10015         * gst/ROADMAP:
10016           Hi, I'm outdated. Please shoot me.
10017
10018 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10019
10020         * gst/gstpipeline.c: (gst_pipeline_send_event):
10021           Do not access variables after they have been deleted.
10022
10023 2005-05-19  Wim Taymans  <wim@fluendo.com>
10024
10025         * tools/gst-inspect.c: (print_plugin_features):
10026         A plugin feature does unfortunatly not use the
10027         object name yet...
10028
10029 2005-05-18  Wim Taymans  <wim@fluendo.com>
10030
10031         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10032         Port _span() functions to new subbuffers.
10033
10034 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10035
10036         * gst/gstbin.c: (gst_bin_add_func):
10037           Fix clock settery in bins when adding kids after the clock has
10038           been selected.
10039
10040 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10041
10042         * gst/elements/gstidentity.c: (gst_identity_class_init):
10043           Workaround until signals support GstMiniObject.
10044
10045 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10046
10047         * gst/gstbuffer.c:
10048         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10049
10050 2005-05-18  Wim Taymans  <wim@fluendo.com>
10051
10052         * gst/base/Makefile.am:
10053         * gst/base/gstadapter.c: (gst_adapter_base_init),
10054         (gst_adapter_class_init), (gst_adapter_init),
10055         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10056         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10057         (gst_adapter_flush), (gst_adapter_available),
10058         (gst_adapter_available_fast):
10059         * gst/base/gstadapter.h:
10060         Ported and added adapter to the base classes.
10061
10062 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10063
10064         * gst/gst.c:
10065         * gst/gstmessage.c:
10066           Make sure the class is reffed/unreffed once before threads can be
10067           used.  Fixes #304551.
10068
10069 2005-05-17  Wim Taymans  <wim@fluendo.com>
10070
10071         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10072         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10073         * gst/gstminiobject.c: (gst_mini_object_get_type),
10074         (gst_mini_object_free):
10075         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10076         (gst_pad_push), (gst_pad_push_event):
10077         * gst/gstqueue.c: (gst_queue_change_state):
10078         Don't queue buffers in basesink when we are flushing.
10079         Unref buffer when flushing in basesink.
10080         Flush queue when going to READY
10081         Unref buffer when _push() returns an error.
10082         Don't free MiniObject instance when refcount is incremented
10083         in _finalize() so that we can recover objects.
10084
10085 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10086
10087         * docs/manual/advanced-schedulers.xml:
10088         * docs/manual/appendix-checklist.xml:
10089         * docs/pwg/advanced-clock.xml:
10090         * docs/pwg/advanced-interfaces.xml:
10091         * docs/pwg/advanced-request.xml:
10092         * docs/pwg/advanced-types.xml:
10093         * docs/pwg/intro-preface.xml:
10094         * examples/plugins/example.c: (gst_example_get_type),
10095         (gst_example_class_init), (gst_example_chain),
10096         (gst_example_set_property), (gst_example_get_property),
10097         (gst_example_change_state), (plugin_init):
10098         * examples/plugins/example.h:
10099           small doc fixes
10100
10101 2005-05-17  Wim Taymans  <wim@fluendo.com>
10102
10103         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10104         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10105         * gst/gstqueue.c: (gst_queue_change_state):
10106         Clear queue when going to READY.
10107         Remove IN_SETCAPS flag too.
10108
10109 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10110
10111         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10112           Remove implicit cast from gboolean to GstElementStateReturn;
10113           make sure we still return failure in paused => ready case if
10114           the parent class fails to change state and our own stop 
10115           vfunc succeeds.
10116
10117 2005-05-17  Wim Taymans  <wim@fluendo.com>
10118
10119         * tools/gst-launch.c: (event_loop):
10120         Message was unreffed too soon.
10121
10122 2005-05-16  Andy Wingo  <wingo@pobox.com>
10123
10124         * gst/gstbin.c (sink_iterator_filter): Err... um...
10125
10126         * check/gst/gstbin.c (test_ghost_pads): New test for the
10127         ghosting-if-elements-not-in-same-bin behavior.
10128
10129 2005-05-16  David Schleef  <ds@schleef.org>
10130
10131         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10132         accessing refcount directly.
10133
10134 2005-05-15  David Schleef  <ds@schleef.org>
10135
10136         * check/Makefile.am: remove GstData checks
10137         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10138         * gst/Makefile.am: add miniobject, remove data
10139         * gst/gst.h: add miniobject, remove data
10140         * gst/gstdata.c: remove
10141         * gst/gstdata.h: remove
10142         * gst/gstdata_private.h: remove
10143         * gst/gsttypes.h: remove GstEvent and GstMessage
10144         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10145         * gst/gstmarshal.list: change BOXED -> OBJECT
10146
10147         Implement GstMiniObject.
10148         * gst/gstminiobject.c:
10149         * gst/gstminiobject.h:
10150
10151         Modify to be subclasses of GstMiniObject.
10152         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10153         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10154         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10155         (gst_subbuffer_get_type), (gst_subbuffer_init),
10156         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10157         (gst_buffer_span):
10158         * gst/gstbuffer.h:
10159         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10160         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10161         (_gst_event_copy), (gst_event_new):
10162         * gst/gstevent.h:
10163         * gst/gstmessage.c: (_gst_message_initialize),
10164         (gst_message_get_type), (gst_message_class_init),
10165         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10166         (gst_message_new), (gst_message_new_error),
10167         (gst_message_new_warning), (gst_message_new_tag),
10168         (gst_message_new_state_changed), (gst_message_new_application):
10169         * gst/gstmessage.h:
10170         * gst/gstprobe.c: (gst_probe_perform),
10171         (gst_probe_dispatcher_dispatch):
10172         * gst/gstprobe.h:
10173         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10174         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10175         (_gst_query_copy), (gst_query_new):
10176
10177         Update elements for GstData -> GstMiniObject changes
10178         * gst/gstquery.h:
10179         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10180         (gst_queue_chain), (gst_queue_loop):
10181         * gst/elements/gstbufferstore.c:
10182         (gst_buffer_store_add_buffer_func),
10183         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10184         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10185         (gst_fakesink_render):
10186         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10187         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10188         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10189         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10190         (gst_filesrc_create_read):
10191         * gst/elements/gstidentity.c: (gst_identity_class_init):
10192         * gst/elements/gsttypefindelement.c:
10193         (gst_type_find_element_src_event), (free_entry_buffers),
10194         (gst_type_find_element_handle_event):
10195         * libs/gst/dataprotocol/dataprotocol.c:
10196         (gst_dp_header_from_buffer):
10197         * libs/gst/dataprotocol/dataprotocol.h:
10198         * libs/gst/dataprotocol/dp-private.h:
10199
10200 2005-05-15  David Schleef  <ds@schleef.org>
10201
10202         * gst/elements/gstelements.c: Don't include headers that were
10203         just removed.
10204
10205 2005-05-15  David Schleef  <ds@schleef.org>
10206
10207         * gst/elements/Makefile.am: Remove some elements that don't
10208         need to be in the core (or even exist at all).
10209         * gst/elements/gstaggregator.c:
10210         * gst/elements/gstaggregator.h:
10211         * gst/elements/gstmd5sink.c:
10212         * gst/elements/gstmd5sink.h:
10213         * gst/elements/gstmultifilesrc.c:
10214         * gst/elements/gstmultifilesrc.h:
10215         * gst/elements/gstpipefilter.c:
10216         * gst/elements/gstpipefilter.h:
10217         * gst/elements/gstshaper.c:
10218         * gst/elements/gstshaper.h:
10219         * gst/elements/gststatistics.c:
10220         * gst/elements/gststatistics.h:
10221         * po/POTFILES.in: Remove above files.
10222
10223 2005-05-14  Andy Wingo  <wingo@pobox.com>
10224
10225         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10226         so as to get the refs right.
10227         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10228         unreffing objects that don't pass the filter.
10229
10230         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10231         gst_element_set_bus.
10232         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10233         normal cases, this will destroy the bus.
10234
10235         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10236         object.
10237
10238         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10239         has no sinks.
10240
10241 2005-05-13  Andy Wingo  <wingo@pobox.com>
10242
10243         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10244         gst_pad_link, call pad_link_maybe_ghosting,
10245         (pad_link_maybe_ghosting): Links pads, making sure that the
10246         elements being linked are in the same bin.
10247         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10248         Helpers for pad_link_maybe_ghosting.
10249
10250 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10251
10252         * configure.ac:
10253           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10254
10255 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10256
10257         * docs/design/part-element-source.txt:
10258           Mention GstPushSrc
10259
10260 2005-05-12  Wim Taymans  <wim@fluendo.com>
10261
10262         * gst/base/gstbasesink.c: (gst_basesink_init),
10263         (gst_basesink_activate):
10264         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10265         (gst_basesrc_is_seekable):
10266         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10267         (bin_element_is_sink), (gst_bin_change_state):
10268         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10269         * gst/gstelement.h:
10270         Identify sinks by their flag to avoid overly complicated
10271         checks (fow now).
10272         Do state changes even for elements not reachable from the
10273         sinks.
10274         BaseSink is a sink now :)
10275         Some more debugging info in the basesrc.
10276
10277
10278 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10279
10280         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10281           Implement _query on a bin, similar to _send_event.
10282
10283 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10284
10285         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10286           Discont event offset format should be GST_FORMAT_BYTES,
10287           not GST_FORMAT_TIME.
10288
10289 2005-05-12  Wim Taymans  <wim@fluendo.com>
10290
10291         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10292         Same fix as Ronald's but without the signal. 
10293
10294 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10295
10296         * gst/gstutils.c: (gst_element_query_position):
10297           No, an element is not a pad.
10298
10299 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10300
10301         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10302         (gst_bin_get_state):
10303           If a child is removed from a bin while we remove the child from
10304           the bin and while we're retrieving its state, signal this to the
10305           get_state function so we abort the wait (instead of waiting for
10306           a timeout) and can immediately re-iterate over all other elements.
10307
10308 2005-05-12  Wim Taymans  <wim@fluendo.com>
10309
10310         * gst/base/Makefile.am:
10311         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10312         (gst_basesrc_start):
10313         * gst/base/gstbasesrc.h:
10314         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10315         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10316         (gst_pushsrc_init), (gst_pushsrc_create):
10317         * gst/base/gstpushsrc.h:
10318         Added is_seekable to BaseSrc
10319         Added simple PushSrc.
10320
10321 2005-05-11  Wim Taymans  <wim@fluendo.com>
10322
10323         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10324         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10325         (gst_element_link_pads), (gst_element_query_position),
10326         (gst_element_query_convert), (intersect_caps_func),
10327         (gst_pad_query_position), (gst_pad_query_convert):
10328         Fix refcounting in utils function.
10329         No point in trying to activate a pad when it's added, it could
10330         be added from the state change function and then we deadlock, the
10331         element has to decide what to do.
10332
10333 2005-05-10  Andy Wingo  <wingo@pobox.com>
10334
10335         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10336         *all* the arguments.
10337
10338         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10339         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10340         lock (according to the docs -- if this is wrong change the docs).
10341
10342         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10343         flush messages in the NULL state.
10344
10345         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10346         message immediately and return.
10347         (gst_bus_set_flushing): New function. If a bus is flushing, it
10348         flushes out any queued messages and immediately unrefs new
10349         messages. This is so when an element goes to NULL, all of the
10350         unhandled messages coming from it can be freed, and their
10351         references to the element dropped. In other words: message source
10352         ref considered harmful :P
10353
10354         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10355         we're finished with it.
10356
10357         * gst/gstmessage.c (gst_message_new_state_changed): 
10358
10359 2005-05-10  Wim Taymans  <wim@fluendo.com>
10360
10361         * gst/gstvalue.c: (gst_value_compare_flags),
10362         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10363         (_gst_value_initialize):
10364         Added flags serialize/deserialize/compare code.
10365
10366 2005-05-09  Andy Wingo  <wingo@pobox.com>
10367
10368         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10369         Intersect the peer's caps with our caps.
10370
10371 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10372
10373         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10374         * gst/elements/gsttypefindelement.c: (find_peek):
10375           Handle negative offsets better. Fixes decodebin.
10376
10377 2005-05-09  Wim Taymans  <wim@fluendo.com>
10378
10379         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10380         (gst_base_transform_event):
10381         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10382         Implement accept_caps.
10383         Fix silly lock/unlock mismatch in base class.
10384
10385 2005-05-09  Wim Taymans  <wim@fluendo.com>
10386
10387         * docs/design/draft-push-pull.txt:
10388         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10389         * gst/elements/gstfilesink.c: (gst_filesink_init),
10390         (gst_filesink_query):
10391         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10392         (gst_type_find_handle_src_query), (find_element_get_length):
10393         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10394         * gst/gstelement.h:
10395         * gst/gstmessage.c:
10396         * gst/gstmessage.h:
10397         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10398         (gst_real_pad_get_caps_unlocked),
10399         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10400         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10401         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10402         (gst_real_pad_dispose), (gst_real_pad_finalize),
10403         (gst_pad_load_and_link), (gst_pad_save_thyself),
10404         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10405         (gst_pad_check_pull_range), (gst_pad_pull_range),
10406         (gst_pad_template_get_type), (gst_pad_template_class_init),
10407         (gst_pad_template_init), (gst_pad_template_dispose),
10408         (name_is_valid), (gst_static_pad_template_get),
10409         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10410         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10411         (gst_pad_get_element_private), (gst_pad_start_task),
10412         (gst_pad_pause_task), (gst_pad_stop_task),
10413         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10414         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10415         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10416         (gst_ghost_pad_new):
10417         * gst/gstpad.h:
10418         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10419         (gst_query_new_position), (gst_query_set_position),
10420         (gst_query_parse_position), (gst_query_new_convert),
10421         (gst_query_set_convert), (gst_query_parse_convert):
10422         * gst/gstquery.h:
10423         * gst/gstqueryutils.c:
10424         * gst/gstqueryutils.h:
10425         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10426         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10427         (gst_queue_handle_src_query):
10428         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10429         (gst_element_query_position), (gst_element_query_convert),
10430         (intersect_caps_func), (gst_pad_query_position),
10431         (gst_pad_query_convert):
10432         * gst/gstutils.h:
10433         * tools/gst-inspect.c: (print_pad_info):
10434         * tools/gst-xmlinspect.c: (print_element_info):
10435         Remove old query functions. Ported old code.
10436         Added position/convert helper functions to gstutils.
10437         Reordered gstpad.c code, grouping relevant things.
10438         Remove gst_message_new(), always need to speficy a specific
10439         message.
10440
10441
10442 2005-05-09  Andy Wingo  <wingo@pobox.com>
10443
10444         * gst/gstiterator.h: Add some includes.
10445
10446         * gst/gstqueryutils.h: Include more headers.
10447
10448         * gst/gstpad.h:
10449         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10450         some uses of gst_pad_query.
10451
10452         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10453         NULL out parameters.
10454         (gst_query_new_position): New proc, allocates a new position
10455         query.
10456
10457         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10458         gstqueryutils.c to the build.
10459
10460         * gst/gststructure.c (gst_structure_set_valist): Implement with
10461         the generic G_VALUE_COLLECT.
10462         
10463 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10464
10465         * gst/Makefile.am: (gst_headers):
10466         Added gstqueryutils.h to the list of headers to install, that was
10467         a 'nachty' move wingo :)
10468
10469 2005-05-06  Andy Wingo  <wingo@pobox.com>
10470
10471         * gst/gstquery.h
10472         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10473         GstData, init a memchunk.
10474         (standard_definitions): Add a few query types, deprecate a few.
10475         (gst_query_get_type): New proc.
10476         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10477         implementation.
10478         (gst_query_new_application, gst_query_get_structure): New public
10479         procs.
10480
10481         * docs/design/draft-query.txt: Removed LINKS from the query types,
10482         because all the rest can be dispatched to other pads -- seemed
10483         ugly to have a query that couldn't be dispatched. internal_links
10484         is fine as a pad method.
10485
10486         * gst/gstpad.h: Add query2 as a pad method, add the new functions
10487         in gstpad.c, but maintain binary compatibility for the moment.
10488         Will fix before 0.9 is out.
10489
10490         * gst/gstqueryutils.c: 
10491         * gst/gstqueryutils.h: New files, implement 3 methods for each
10492         query type: parse_query, parse_response, and set. Probably need an
10493         allocator as well.
10494
10495         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10496
10497         * gst/elements/gstfilesink.c (gst_filesink_query2):
10498         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10499         query_types, and formats methods.
10500
10501         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10502         (gst_pad_set_query2_function): New functions.
10503         (gst_real_pad_init): Set query2_default as the default query2
10504         function. Basically just dispatches to internally linked pads.
10505
10506         Needs review!
10507         
10508         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10509         without using the atomic operations. Only one thread can possibly
10510         be accessing the data at this point. Changed so as to avoid
10511         gst_atomic operations.
10512
10513 2005-05-06  Wim Taymans  <wim@fluendo.com>
10514
10515         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10516         Also set caps if we use the fallback buffer alloc.
10517
10518 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
10519
10520         * docs/gst/Makefile.am:
10521         * docs/gst/gstreamer-docs.sgml:
10522         * docs/gst/gstreamer-sections.txt:
10523         * docs/gst/tmpl/gstatomic.sgml:
10524         * docs/gst/tmpl/gstmemchunk.sgml:
10525         * testsuite/elements/struct_i386.h:
10526         * win32/GStreamer.vcproj:
10527         * win32/Makefile:
10528           Purge GstAtomic stuff from docs and win32 makefiles as well
10529
10530 2005-05-06  Wim Taymans  <wim@fluendo.com>
10531
10532         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10533         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10534         * gst/gstpad.c: (gst_pad_peer_get_caps):
10535         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10536         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10537         (gst_queue_src_activate), (gst_queue_change_state):
10538         * gst/gstqueue.h:
10539         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10540         (intersect_caps_func):
10541         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10542         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10543         Some fixes for the peer_get_caps() change.
10544
10545 2005-05-06  Wim Taymans  <wim@fluendo.com>
10546
10547         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10548         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10549         (gst_basesink_activate):
10550         Actually do something with error codes returned from the push
10551         functions.
10552
10553 2005-05-06  Wim Taymans  <wim@fluendo.com>
10554
10555         * docs/design/part-element-sink.txt:
10556         * docs/design/part-element-source.txt:
10557         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10558         (gst_basesink_event), (gst_basesink_activate):
10559         * gst/base/gstbasesink.h:
10560         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10561         (gst_basesrc_activate):
10562         * gst/base/gstbasesrc.h:
10563         * gst/gstelement.c: (gst_element_pads_activate):
10564         Some more documentation.
10565         Fixed scheduling decision in _pads_activate().
10566
10567 2005-05-05  Andy Wingo  <wingo@pobox.com>
10568
10569         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10570         the test suite.
10571
10572 2005-05-05  Wim Taymans  <wim@fluendo.com>
10573
10574         * gst/base/Makefile.am:
10575         * gst/base/gstbasesink.h:
10576         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10577         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10578         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10579         (gst_collectpads_class_init), (gst_collectpads_init),
10580         (gst_collectpads_finalize), (gst_collectpads_new),
10581         (gst_collectpads_set_function), (gst_collectpads_add_pad),
10582         (find_pad), (gst_collectpads_remove_pad),
10583         (gst_collectpads_is_active), (gst_collectpads_collect),
10584         (gst_collectpads_collect_range), (gst_collectpads_start),
10585         (gst_collectpads_stop), (gst_collectpads_peek),
10586         (gst_collectpads_pop), (gst_collectpads_available),
10587         (gst_collectpads_read), (gst_collectpads_flush),
10588         (gst_collectpads_chain):
10589         * gst/base/gstcollectpads.h:
10590         * gst/elements/Makefile.am:
10591         * gst/elements/gstelements.c:
10592         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10593         (gst_fakesink_get_times), (gst_fakesink_event),
10594         (gst_fakesink_preroll), (gst_fakesink_render):
10595         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10596         (gst_filesink_init), (gst_filesink_set_location),
10597         (gst_filesink_open_file), (gst_filesink_close_file),
10598         (gst_filesink_pad_query), (gst_filesink_event),
10599         (gst_filesink_render), (gst_filesink_change_state):
10600         * gst/elements/gstfilesink.h:
10601         Added object to help in making collect pad based elements.
10602         Ported filesink.
10603         Make event function in sink baseclass return gboolean.
10604
10605 2005-05-05  Wim Taymans  <wim@fluendo.com>
10606
10607         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10608         (gst_bin_get_by_name):
10609         * gst/gstbuffer.h:
10610         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10611         (gst_clock_finalize):
10612         * gst/gstdata.c: (gst_data_replace):
10613         * gst/gstdata.h:
10614         * gst/gstelement.c: (gst_element_request_pad),
10615         (gst_element_pads_activate):
10616         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10617         (gst_object_unref):
10618         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10619         (gst_pad_set_checkgetrange_function),
10620         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10621         (gst_pad_check_pull_range), (gst_pad_pull_range),
10622         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10623         (gst_pad_pause_task), (gst_pad_stop_task):
10624         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10625         (gst_element_request_pad), (gst_pad_proxy_getcaps):
10626         Fix name lookup in GstBin.
10627         Added _data_replace() function and _buffer_replace()
10628         Use finalize method to clean up clock.
10629         Fix refcounting on request pads.
10630         Fix pad schedule mode error.
10631         Some more object refcounting debug info,
10632
10633
10634 2005-05-04  Andy Wingo <wingo@pobox.com>
10635
10636         * check/Makefile.am:
10637         * docs/gst/tmpl/gstatomic.sgml:
10638         * docs/gst/tmpl/gstplugin.sgml:
10639         * gst/base/gstbasesink.c: (gst_basesink_activate):
10640         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10641         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10642         (gst_basesrc_query), (gst_basesrc_set_property),
10643         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10644         (gst_basesrc_activate):
10645         * gst/base/gstbasesrc.h:
10646         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10647         (gst_base_transform_src_activate):
10648         * gst/elements/gstelements.c:
10649         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10650         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10651         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10652         * gst/elements/gsttypefindelement.c: (find_element_get_length),
10653         (gst_type_find_element_checkgetrange),
10654         (gst_type_find_element_activate):
10655         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10656         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10657         (gst_caps_load_thyself):
10658         * gst/gstelement.c: (gst_element_pads_activate),
10659         (gst_element_save_thyself), (gst_element_restore_thyself):
10660         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10661         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10662         * gst/gstpad.h:
10663         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10664         (gst_xml_parse_file), (gst_xml_parse_memory),
10665         (gst_xml_get_element), (gst_xml_make_element):
10666         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10667         (_file_index_id_save_xml), (gst_file_index_commit):
10668         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10669         (read_enum), (load_pad_template), (load_feature), (load_plugin),
10670         (load_paths):
10671         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10672         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10673         * tools/gst-complete.c: (main):
10674         * tools/gst-compprep.c: (main):
10675         * tools/gst-inspect.c: (print_element_properties_info):
10676         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10677         * tools/gst-xmlinspect.c: (print_element_properties):
10678         GCC 4 fixen.
10679         
10680 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10681
10682         * gst/gstplugin.c: (gst_plugin_check_module),
10683         (gst_plugin_check_file), (gst_plugin_load_file):
10684             apply patch from #172526 to make register work on MacOSX
10685
10686 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10687
10688         * docs/gst/tmpl/gstconfig.sgml:
10689         * gst/gstconfig.h.in:
10690           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
10691         * testsuite/debug/printf_extension.c: (main):
10692           Do not use GST_PTR_FORMAT on pointers to types with
10693           sizeof < sizeof(gpointer).  Fixes test on 64-bit
10694         * testsuite/elements/property.h:
10695           use correct printf format
10696
10697 2005-05-02  Wim Taymans  <wim@fluendo.com>
10698
10699         * docs/design/draft-push-pull.txt:
10700         * docs/design/draft-query.txt:
10701         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10702         (gst_basesrc_start):
10703         Added draft for new query API.
10704         Added draft for better selecting scheduling methods.
10705         Make basesrc ignore length if the subclass does not support
10706         it.
10707
10708 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10709
10710         * gst/Makefile.am:
10711           possible fixes for automake-1.5 - _LIBADD is reserved
10712
10713 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10714
10715         * docs/faq/Makefile.am:
10716         * docs/manual/Makefile.am:
10717         * docs/manuals.mak:
10718         * docs/pwg/Makefile.am:
10719         * gst/Makefile.am:
10720           possible fixes for automake-1.5
10721
10722 2005-04-28  Wim Taymans  <wim@fluendo.com>
10723
10724         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10725         (gst_basesink_pad_getcaps), (gst_basesink_init),
10726         (gst_basesink_do_sync):
10727         * gst/gstclock.c: (gst_clock_entry_new):
10728         * gst/gstevent.c: (gst_event_discont_get_value):
10729         * gst/gstpipeline.c: (pipeline_bus_handler),
10730         (gst_pipeline_change_state):
10731         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10732         Better debugging of clocking info.
10733         Allow NULL values when getting discont values.
10734
10735 2005-04-27  Wim Taymans  <wim@fluendo.com>
10736
10737         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10738         * check/gst/gstpad.c: (gst_pad_suite):
10739         Increase timeout for checks.
10740
10741 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10742
10743         * check/Makefile.am:
10744           fix the broken rule for cleanup.  Apparently this rule is
10745           only needed on FC2, so maybe this warrants further autotool
10746           inspection.
10747
10748 2005-04-26  Wim Taymans  <wim@fluendo.com>
10749
10750         * gst/gsttrashstack.h:
10751         Ooohh. a nasty one! After having a failed pop() from the stack,
10752         it's possible that the stack is empty. In that case, don't
10753         follow the NULL pointer.
10754
10755 2005-04-25  Wim Taymans  <wim@fluendo.com>
10756
10757         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10758         (gst_pad_set_checkgetrange_function),
10759         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10760         (gst_pad_check_pull_range), (gst_pad_pull_range),
10761         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10762         (gst_pad_pause_task), (gst_pad_stop_task):
10763         * gst/gstplugin.c: (gst_plugin_load):
10764         * gst/gstplugin.h:
10765         Remove gst_library_load as it does more harm than good with
10766         the new g_module flags.
10767         Revert bogus caps template check in pad linking, pad caps
10768         are important when linking not the template, which is more
10769         general than the current caps.
10770
10771 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10772
10773         * gst/autoplug/.cvsignore:
10774         * gst/autoplug/Makefile.am:
10775         * gst/autoplug/gstsearchfuncs.c:
10776         * gst/autoplug/gstsearchfuncs.h:
10777         * gst/autoplug/gstspider.c:
10778         * gst/autoplug/gstspider.h:
10779         * gst/autoplug/gstspideridentity.c:
10780         * gst/autoplug/gstspideridentity.h:
10781         * gst/autoplug/spidertest.c:
10782           Die, spider, die.
10783
10784 2005-04-25  Wim Taymans  <wim@fluendo.com>
10785
10786         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10787         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10788         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10789         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10790         * gst/gstpad.h:
10791         Added stubs for unimplemented functions. 
10792
10793 2005-04-24  David Schleef  <ds@schleef.org>
10794
10795         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
10796         please fix.
10797
10798 2005-04-24  David Schleef  <ds@schleef.org>
10799
10800         Convert everything from GstAtomicInt to g_atomic_int_*, and
10801         remove gstatomic.
10802         * gst/Makefile.am:
10803         * gst/gstatomic.c:
10804         * gst/gstatomic.h:
10805         * gst/gstatomic_impl.h:
10806         * gst/gstbuffer.c:
10807         * gst/gstcaps.c:
10808         * gst/gstcaps.h:
10809         * gst/gstclock.c:
10810         * gst/gstclock.h:
10811         * gst/gstdata.c:
10812         * gst/gstdata.h:
10813         * gst/gstdata_private.h:
10814         * gst/gstevent.c:
10815         * gst/gstinfo.c:
10816         * gst/gstinfo.h:
10817         * gst/gstmessage.c:
10818         * gst/gstobject.c:
10819         * gst/gstobject.h:
10820         * gst/gststructure.c:
10821         * gst/gststructure.h:
10822         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10823         * gst/gstutils.h:
10824
10825 2005-04-24  David Schleef  <ds@schleef.org>
10826
10827         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10828         make the regressions tests work.  Remove some code that is no
10829         longer true.
10830         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10831         Disable warning for pads without templates.
10832
10833 2005-04-24  David Schleef  <ds@schleef.org>
10834
10835         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
10836         functions that handle filtered links.
10837         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10838         removed functions.
10839         * gst/gstutils.c: Fix/remove utility functions that handle
10840         filtered caps.
10841         * gst/gstutils.h:
10842         * gst/gstvalue.c: Add serialization/deserialization of caps
10843         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
10844         requires fixing so that the filter caps notation creates
10845         a capsfilter element and sets the filter_caps property.  I
10846         think everyone probably wants to keep the shorthand notation.
10847         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10848         * docs/gst/tmpl/gstpad.sgml:
10849
10850         * gst/elements/gstelements.c: Register capsfilter element.
10851         * gst/Makefile.am: fix spacing
10852         * docs/random/ds/0.9-suggested-changes: random
10853
10854 2005-04-23  David Schleef  <ds@schleef.org>
10855
10856         * gst/elements/Makefile.am:
10857         * gst/elements/gstcapsfilter.c: New element that acts like an
10858         identity, but filters caps.  Will eventually replace filtered
10859         caps in pad linking.
10860         * gst/gstutils.c: (gst_element_create_all_pads): New function
10861         to create all the ALWAYS pads that are registered with an
10862         element class.  This functionality should eventually be
10863         merged in with GstElement initialization.
10864         * gst/gstutils.h:
10865         * testsuite/trigger/README: part of trigger test code that should
10866         have been checked in a long time ago.
10867
10868 2005-04-23  David Schleef  <ds@schleef.org>
10869
10870         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
10871         needed with new versions of libtool (nobody will confirm this),
10872         and hard to carry around.
10873         * gst/autoplug/Makefile.am:
10874         * gst/base/Makefile.am:
10875         * gst/elements/Makefile.am:
10876         * gst/indexers/Makefile.am:
10877         * gst/schedulers/Makefile.am:
10878         * libs/gst/bytestream/Makefile.am:
10879         * libs/gst/control/Makefile.am:
10880         * libs/gst/dataprotocol/Makefile.am:
10881         * libs/gst/getbits/Makefile.am:
10882
10883 2005-04-21  Wim Taymans  <wim@fluendo.com>
10884
10885         * docs/design/draft-push-pull.txt:
10886         * docs/design/part-MT-refcounting.txt:
10887         * docs/design/part-TODO.txt:
10888         * docs/design/part-caps.txt:
10889         * docs/design/part-events.txt:
10890         * docs/design/part-gstbus.txt:
10891         * docs/design/part-gstpipeline.txt:
10892         * docs/design/part-messages.txt:
10893         * docs/design/part-push-pull.txt:
10894         * docs/design/part-query.txt:
10895         Some more docs.
10896
10897 2005-04-21  Wim Taymans  <wim@fluendo.com>
10898
10899         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
10900         (gst_message_new), (gst_message_new_error),
10901         (gst_message_new_warning), (gst_message_new_tag),
10902         (gst_message_new_state_changed), (gst_message_new_application),
10903         (gst_message_get_structure):
10904         * gst/gstmessage.h:
10905         * gst/gststructure.c: (gst_structure_set_parent_refcount),
10906         (gst_structure_copy_conditional):
10907         Use parent refcount in GstMessage to ensure GstStructure
10908         consistency.
10909         Cleaned up headers a bit.
10910         
10911
10912 2005-04-20  Wim Taymans  <wim@fluendo.com>
10913
10914         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10915         (gst_basesink_pad_getcaps), (gst_basesink_init),
10916         (gst_basesink_chain_unlocked):
10917         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
10918         (gst_type_find_helper):
10919         * gst/elements/gsttypefindelement.c:
10920         (gst_type_find_element_have_type), (gst_type_find_element_init),
10921         (stop_typefinding), (gst_type_find_element_handle_event),
10922         (find_suggest), (gst_type_find_element_chain),
10923         (gst_type_find_element_checkgetrange),
10924         (gst_type_find_element_getrange), (do_typefind),
10925         (gst_type_find_element_activate):
10926         * gst/gstbuffer.c: (_gst_buffer_sub_free),
10927         (gst_buffer_default_free), (gst_buffer_default_copy),
10928         (gst_buffer_set_caps):
10929         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
10930         (gst_caps_replace):
10931         * gst/gstmessage.c: (gst_message_new),
10932         (gst_message_new_state_changed):
10933         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10934         (gst_pad_set_checkgetrange_function),
10935         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
10936         (gst_pad_set_caps), (gst_pad_check_pull_range),
10937         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
10938         * gst/gstpad.h:
10939         * gst/gsttypefind.c: (gst_type_find_register):
10940         Make gst_caps_replace() work like other _replace() functions.
10941         Use _caps_replace() where possible.
10942         Make sure _message_new() initialises its field.
10943         Add gst_static_pad_template_get_caps()
10944
10945
10946 2005-04-18  Andy Wingo  <wingo@pobox.com>
10947
10948         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
10949         on the peer, not the pad. I think that was a typo. Pass an extra
10950         arg to see if random access is possible. Activate the pads as
10951         PULL_RANGE if possible.
10952
10953         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
10954
10955         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
10956         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
10957         to PROP_....
10958
10959 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10960
10961         * docs/faq/using.xml:
10962           Add note on gstreamer-properties (#154996).
10963
10964 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10965
10966         * docs/random/bbb/optional-properties:
10967           Some analysis on optional properties.
10968
10969 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10970
10971         * docs/gst/tmpl/gstelementfactory.sgml:
10972         * gst/gstelement.h:
10973         * gst/gstelementfactory.c: (gst_element_factory_init),
10974         (gst_element_factory_cleanup), (gst_element_register),
10975         (__gst_element_factory_add_static_pad_template),
10976         (gst_element_factory_get_static_pad_templates),
10977         (gst_element_factory_can_src_caps),
10978         (gst_element_factory_can_sink_caps):
10979         * gst/registries/Makefile.am:
10980         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
10981         (gst_xml_registry_class_init), (gst_xml_registry_init),
10982         (gst_xml_registry_new), (gst_xml_registry_set_property),
10983         (gst_xml_registry_get_property), (get_time), (make_dir),
10984         (gst_xml_registry_get_perms_func),
10985         (plugin_times_older_than_recurse), (plugin_times_older_than),
10986         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
10987         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
10988         (add_to_char_array), (read_string), (read_uint), (read_enum),
10989         (load_pad_template), (load_feature), (load_plugin), (load_paths),
10990         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
10991         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
10992         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
10993         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
10994         (gst_xml_registry_rebuild):
10995         * gst/registries/gstlibxmlregistry.h:
10996         * tools/gst-compprep.c: (main):
10997         * tools/gst-inspect.c: (print_pad_templates_info):
10998         * tools/gst-xmlinspect.c: (print_element_info):
10999           Use libxml2 for registry parsing, use staticpadtemplates in
11000           elementfactories. Makes gst_init() +/- 10x faster.
11001
11002 2005-04-12  Wim Taymans  <wim@fluendo.com>
11003
11004         * gst/base/Makefile.am:
11005         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11006         (gst_basesink_pad_getcaps), (gst_basesink_init),
11007         (gst_basesink_event), (gst_basesink_change_state):
11008         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11009         (gst_basesrc_init), (gst_basesrc_query),
11010         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11011         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11012         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11013         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11014         (gst_basesrc_stop), (gst_basesrc_activate),
11015         (gst_basesrc_change_state):
11016         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11017         (helper_find_suggest), (gst_type_find_helper):
11018         * gst/base/gsttypefindhelper.h:
11019         * gst/elements/Makefile.am:
11020         * gst/elements/gstelements.c:
11021         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11022         (gst_fakesink_get_times), (gst_fakesink_event),
11023         (gst_fakesink_preroll), (gst_fakesink_render):
11024         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11025         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11026         (gst_fakesrc_get_property), (gst_fakesrc_create),
11027         (gst_fakesrc_start), (gst_fakesrc_stop):
11028         * gst/elements/gstfakesrc.h:
11029         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11030         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11031         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11032         (gst_filesrc_create_read), (gst_filesrc_create),
11033         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11034         (gst_filesrc_start):
11035         * gst/elements/gsttypefindelement.c:
11036         (gst_type_find_element_have_type), (gst_type_find_element_init),
11037         (start_typefinding), (stop_typefinding), (push_buffer_store),
11038         (gst_type_find_element_handle_event),
11039         (gst_type_find_element_chain),
11040         (gst_type_find_element_checkgetrange),
11041         (gst_type_find_element_getrange), (do_typefind),
11042         (gst_type_find_element_activate),
11043         (gst_type_find_element_change_state):
11044         * gst/elements/gsttypefindelement.h:
11045         * gst/gstpipeline.c: (pipeline_bus_handler):
11046         Added typefind helper.
11047         Small preroll fix in the base sink.
11048         Disable typefind code in basesrc.
11049         Crude port of typefindelement.
11050         Fakesrc cleanups.
11051
11052
11053 2005-04-11  Wim Taymans  <wim@fluendo.com>
11054
11055         * check/gst/gstbus.c: (gstbus_suite):
11056         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11057         * check/gstcheck.h:
11058           Fix up the timeout so that the test does not fail.
11059
11060 2005-04-06  Wim Taymans  <wim@fluendo.com>
11061
11062         * gst/base/README:
11063         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11064         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11065         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11066         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11067         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11068         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11069         (gst_basesrc_stop), (gst_basesrc_activate),
11070         (gst_basesrc_change_state), (basesrc_find_peek),
11071         (basesrc_find_suggest), (gst_basesrc_type_find):
11072         * gst/base/gstbasesrc.h:
11073         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11074         (gst_filesrc_class_init), (gst_filesrc_init),
11075         (gst_filesrc_finalize), (gst_filesrc_set_location),
11076         (gst_filesrc_set_property), (gst_filesrc_get_property),
11077         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11078         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11079         (gst_filesrc_create_read), (gst_filesrc_create),
11080         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11081         * gst/elements/gstfilesrc.h:
11082         * gst/gstelement.c: (gst_element_get_state_func),
11083         (gst_element_lost_state), (gst_element_pads_activate):
11084         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11085         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11086         (gst_pad_pull_range):
11087         * gst/gstpad.h:
11088         More work on the generic source base class, implement seeking,
11089         query.
11090         Make filesrc extend the base source class.
11091         Added gst_pad_set_checkgetrange_function to GstPad.
11092
11093 2005-04-06  Andy Wingo  <wingo@pobox.com>
11094
11095         * pkgconfig/gstreamer-base.pc.in:
11096         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11097
11098         * pkgconfig/Makefile.am:
11099         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11100
11101 2005-04-04  Wim Taymans  <wim@fluendo.com>
11102
11103         * gst/base/Makefile.am:
11104         * gst/base/README:
11105         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11106         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11107         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11108         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11109         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11110         (gst_basesrc_base_init), (gst_basesrc_class_init),
11111         (gst_basesrc_init), (gst_basesrc_get_formats),
11112         (gst_basesrc_get_query_types), (gst_basesrc_query),
11113         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11114         (gst_basesrc_set_property), (gst_basesrc_get_property),
11115         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11116         (gst_basesrc_loop), (gst_basesrc_activate),
11117         (gst_basesrc_change_state):
11118         * gst/base/gstbasesrc.h:
11119         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11120         (gst_fakesrc_class_init), (gst_fakesrc_init),
11121         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11122         (gst_fakesrc_get_property), (gst_fakesrc_create):
11123         * gst/elements/gstfakesrc.h:
11124         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11125         (gst_filesrc_open_file), (gst_filesrc_loop),
11126         (gst_filesrc_activate), (filesrc_find_peek),
11127         (gst_filesrc_type_find):
11128         Made base source class, make fakesrc extend it.
11129         Add comments to basesink class.
11130         Some filesrc cleanup.
11131
11132 2005-03-31  David Schleef  <ds@schleef.org>
11133
11134         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11135         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11136         expected to link against libgstreamer.
11137         * gst/base/Makefile.am: link against libgstreamer
11138         * gst/elements/Makefile.am: same
11139
11140 2005-03-31  Andy Wingo  <wingo@pobox.com>
11141
11142         * tests/instantiate/Makefile.am:
11143         * tests/instantiate/caps.c: Add test to test speed of caps copy
11144         and free.
11145
11146         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11147         GMemChunk to be fair.
11148
11149         * gst/gsttrashstack.h: Remove warning about using the fallback
11150         trash stack implementation, it's still faster than malloc.
11151
11152 2005-03-30  Andy Wingo  <wingo@pobox.com>
11153
11154         * tests/complexity.c: Add a copyright.
11155
11156 2005-03-31  Wim Taymans  <wim@fluendo.com>
11157
11158         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11159         (gst_base_transform_class_init), (gst_base_transform_init),
11160         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11161         (gst_base_transform_get_property),
11162         (gst_base_transform_sink_activate),
11163         (gst_base_transform_src_activate),
11164         (gst_base_transform_change_state):
11165         * gst/base/gstbasetransform.h:
11166         * gst/elements/gstidentity.c: (gst_identity_class_init),
11167         (gst_identity_event), (gst_identity_check_perfect),
11168         (gst_identity_transform), (gst_identity_start),
11169         (gst_identity_stop):
11170         Added start/stop methods to transform base class so subclasses 
11171         don't need to deal with state changes even.
11172
11173 2005-03-31  Wim Taymans  <wim@fluendo.com>
11174
11175         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11176         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11177         * gst/gstevent.h:
11178         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11179         (gst_pad_pull_range):
11180         Added rate to the discont event to prepare for variable speed
11181         and reverse playback.
11182
11183 2005-03-29  David Schleef  <ds@schleef.org>
11184
11185         * configure.ac:
11186         * testsuite/trigger/Makefile.am:
11187         * testsuite/trigger/trigger.c: A little example program to show
11188         how trigger-based elements can work.
11189
11190 2005-03-29  Wim Taymans  <wim@fluendo.com>
11191
11192         * gst/base/Makefile.am:
11193         * gst/base/README:
11194         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11195         (gst_basesink_base_init), (gst_basesink_class_init),
11196         (gst_basesink_pad_getcaps), (gst_basesink_init),
11197         (gst_basesink_activate), (gst_basesink_change_state):
11198         * gst/base/gstbasesink.h:
11199         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11200         (gst_base_transform_base_init), (gst_base_transform_finalize),
11201         (gst_base_transform_class_init), (gst_base_transform_init),
11202         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11203         (gst_base_transform_event), (gst_base_transform_getrange),
11204         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11205         (gst_base_transform_set_property),
11206         (gst_base_transform_get_property),
11207         (gst_base_transform_sink_activate),
11208         (gst_base_transform_src_activate),
11209         (gst_base_transform_change_state):
11210         * gst/base/gstbasetransform.h:
11211         * gst/elements/gstidentity.c: (gst_identity_finalize),
11212         (gst_identity_class_init), (gst_identity_init),
11213         (gst_identity_event), (gst_identity_check_perfect),
11214         (gst_identity_transform), (gst_identity_set_property),
11215         (gst_identity_get_property), (gst_identity_change_state):
11216         * gst/elements/gstidentity.h:
11217         * gst/gstelement.c: (gst_element_get_state_func),
11218         (gst_element_lost_state), (gst_element_pads_activate):
11219         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11220         (gst_pad_check_pull_range), (gst_pad_pull_range):
11221         * gst/gstpad.h:
11222         Simplify pad activation.
11223         Added function to check if pull_range can be performed.
11224         Error out when pulling inactive or flushing pads.
11225         Removed const from refcounted types as it does not make sense.
11226         Simplify pad templates in basesink
11227         Added base class for simple 1-to-1 transforms.
11228         Make identity subclass the base transform.
11229
11230 2005-03-29  Andy Wingo  <wingo@pobox.com>
11231
11232         * docs/libs/gstreamer-libs-overrides.txt: 
11233         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11234         really don't understand what's going on, but like whatever. I want
11235         green buildbot!
11236
11237         * docs/gst/Makefile.am:
11238         * docs/libs/Makefile.am: Dist the overrides files.
11239
11240         * check/Makefile.am (clean-local): Remove .libs directories.
11241
11242         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11243         elements to EXTRA_DIST, so po/ files are happy.
11244
11245         * po/POTFILES.in: Er, remove it here.
11246
11247         * po/POTFILES: Remove gstspider.c.
11248
11249         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11250
11251         * docs/libs/gstreamer-libs-docs.sgml: 
11252         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11253         bytestream.
11254
11255         * tests/complexity.c (main): Set the length of the preroll queue
11256         on the sinks to prevent a lockup.
11257
11258         * libs/gst/dataprotocol/Makefile.am: 
11259         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11260         the same as the one in check/gst-libs/gdp.c.
11261
11262         * po/, docs/gst/: Commit automatic changes to docs and po files.
11263
11264         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11265         the versioned libgstbase.
11266
11267         * check/Makefile.am: Depend on an unversioned gst-register, seems
11268         to make autoconf happier.
11269
11270         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11271
11272 2005-03-28  Wim Taymans  <wim@fluendo.com>
11273
11274         * configure.ac:
11275         * docs/design/part-gstelement.txt:
11276         * docs/design/part-negotiation.txt:
11277         * docs/design/part-preroll.txt:
11278         * docs/design/part-scheduling.txt:
11279         * docs/design/part-states.txt:
11280         * gst/Makefile.am:
11281         * gst/base/Makefile.am:
11282         * gst/base/README:
11283         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11284         (gst_basesink_base_init), (gst_basesink_class_init),
11285         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11286         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11287         (gst_basesink_set_pad_functions),
11288         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11289         (gst_basesink_set_property), (gst_basesink_get_property),
11290         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11291         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11292         (gst_basesink_preroll_queue_push),
11293         (gst_basesink_preroll_queue_empty),
11294         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11295         (gst_basesink_event), (gst_basesink_get_times),
11296         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11297         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11298         (gst_basesink_loop), (gst_basesink_activate),
11299         (gst_basesink_change_state):
11300         * gst/base/gstbasesink.h:
11301         * gst/elements/Makefile.am:
11302         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11303         (gst_fakesink_class_init), (gst_fakesink_init),
11304         (gst_fakesink_set_property), (gst_fakesink_get_property),
11305         (gst_fakesink_get_times), (gst_fakesink_event),
11306         (gst_fakesink_preroll), (gst_fakesink_render),
11307         (gst_fakesink_change_state):
11308         * gst/elements/gstfakesink.h:
11309         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11310         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11311         * gst/gstelement.c: (gst_element_add_pad),
11312         (gst_element_get_state_func), (gst_element_abort_state),
11313         (gst_element_commit_state), (gst_element_lost_state),
11314         (gst_element_set_state), (gst_element_pads_activate):
11315         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11316         * gst/gstpipeline.c: (gst_pipeline_send_event),
11317         (gst_pipeline_change_state):
11318         Added state change code.
11319         Added/updated docs.
11320         Added sink base class, make fakesink extend the base class.
11321         Small cleanups in GstPipeline.
11322
11323 2005-03-26  David Schleef  <ds@schleef.org>
11324
11325         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11326         is broken and should be implemented in a different library.
11327         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11328         * gst/gst.h: remove gstcpu.h
11329         * gst/gstcpu.c: remove
11330         * gst/gstcpu.h: remove
11331         * gst/Makefile.am.future: Remove this file.  It's ancient.
11332
11333 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11334
11335         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11336         (gst_bin_send_event):
11337           Add default event/set_manager handlers. The set_manager handler
11338           takes care that the manager is distributed over kids that were
11339           already in the bin before the manager was set. The event handler
11340           is a utility virtual function that sends the event over all sinks,
11341           so that gst_element_send_event (bin, event); has the expected
11342           behaviour.
11343         * gst/gstpad.c: (gst_pad_event_default):
11344           Re-install default event handling for discontinuities, so that
11345           seeking works without requiring hacks in applications or extra
11346           code in sinks.
11347         * gst/gstpipeline.c: (gst_pipeline_class_init),
11348         (gst_pipeline_send_event):
11349           Half hack, half utility: set a pipeline to PAUSED for seek events,
11350           since that is the only way we can guarantee a/v sync. Means that
11351           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11352           and it "just works".
11353
11354 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11355
11356         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11357           Lock/unlock mismatch.
11358
11359 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11360
11361         * docs/faq/gst-uninstalled:
11362           add gst-plugins-base
11363         * docs/gst/Makefile.am:
11364           don't error out until docs are fixed
11365         * docs/gst/gstreamer.types:
11366           remove thread
11367
11368 2005-03-22  Wim Taymans  <wim@fluendo.com>
11369
11370         * check/Makefile.am:
11371         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11372         * gst/gststructure.c: (gst_structure_set_valist),
11373         (gst_structure_copy_conditional):
11374         Activated more tests.
11375         Added message test.
11376         Added G_TYPE_POINTER to GstStructure.
11377         
11378
11379 2005-03-22  Wim Taymans  <wim@fluendo.com>
11380
11381         * docs/design/part-TODO.txt:
11382         * docs/design/part-events.txt:
11383         * docs/design/part-gstbin.txt:
11384         * docs/design/part-gstbus.txt:
11385         * docs/design/part-gstpipeline.txt:
11386         * docs/design/part-messages.txt:
11387         * gst/gstbus.c:
11388         * gst/gstmessage.c:
11389         Docs updates
11390
11391 2005-03-21  Wim Taymans  <wim@fluendo.com>
11392
11393         * gst/gstbus.c: (gst_bus_post):
11394         Fix copy-and-paste error.
11395
11396 2005-03-21  Wim Taymans  <wim@fluendo.com>
11397
11398         * check/Makefile.am:
11399         * gst/Makefile.am:
11400         * gst/elements/Makefile.am:
11401         * gst/elements/gstelements.c:
11402         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11403         (gst_fakesink_event), (gst_fakesink_chain):
11404         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11405         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11406         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11407         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11408         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11409         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11410         (gst_fakesrc_loop), (gst_fakesrc_activate),
11411         (gst_fakesrc_change_state):
11412         * gst/elements/gstfakesrc.h:
11413         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11414         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11415         (gst_filesrc_open_file), (gst_filesrc_loop),
11416         (gst_filesrc_activate), (gst_filesrc_change_state),
11417         (filesrc_find_peek), (filesrc_find_suggest),
11418         (gst_filesrc_type_find):
11419         * gst/elements/gstidentity.c: (gst_identity_finalize),
11420         (gst_identity_class_init), (gst_identity_init),
11421         (gst_identity_proxy_getcaps), (identity_queue_push),
11422         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11423         (gst_identity_getrange), (gst_identity_chain),
11424         (gst_identity_sink_loop), (gst_identity_src_loop),
11425         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11426         (gst_identity_set_property), (gst_identity_get_property),
11427         (gst_identity_change_state):
11428         * gst/elements/gstidentity.h:
11429         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11430         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11431         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11432         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11433         (gst_tee_sink_activate):
11434         * gst/elements/gsttee.h:
11435         * gst/gst.c: (gst_register_core_elements), (init_post):
11436         * gst/gst.h:
11437         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11438         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11439         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11440         (gst_bin_change_state):
11441         * gst/gstbin.h:
11442         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11443         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11444         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11445         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11446         (gst_bus_set_sync_handler), (gst_bus_create_watch),
11447         (bus_watch_callback), (bus_watch_destroy),
11448         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11449         (poll_timeout), (gst_bus_poll):
11450         * gst/gstbus.h:
11451         * gst/gstcaps.h:
11452         * gst/gstdata.h:
11453         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11454         (gst_element_post_message), (gst_element_message_full),
11455         (gst_element_get_state_func), (gst_element_get_state),
11456         (gst_element_abort_state), (gst_element_commit_state),
11457         (gst_element_lost_state), (gst_element_set_state),
11458         (gst_element_pads_activate), (gst_element_change_state),
11459         (gst_element_dispose), (gst_element_set_manager_func),
11460         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11461         (gst_element_set_manager), (gst_element_get_manager),
11462         (gst_element_set_bus), (gst_element_get_bus),
11463         (gst_element_set_scheduler), (gst_element_get_scheduler):
11464         * gst/gstelement.h:
11465         * gst/gstevent.c: (gst_event_new_segment_seek),
11466         (gst_event_new_flush):
11467         * gst/gstevent.h:
11468         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11469         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11470         (gst_message_new_eos), (gst_message_new_error),
11471         (gst_message_new_warning), (gst_message_new_tag),
11472         (gst_message_new_state_changed), (gst_message_new_application),
11473         (gst_message_get_structure), (gst_message_parse_tag),
11474         (gst_message_parse_state_changed), (gst_message_parse_error),
11475         (gst_message_parse_warning):
11476         * gst/gstmessage.h:
11477         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11478         (gst_real_pad_set_property), (gst_pad_set_active),
11479         (gst_pad_is_active), (gst_pad_set_blocked_async),
11480         (gst_pad_set_blocked), (gst_pad_is_blocked),
11481         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11482         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11483         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11484         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11485         (gst_pad_link_filtered), (gst_pad_relink_filtered),
11486         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11487         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11488         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11489         (gst_pad_set_caps), (gst_pad_configure_sink),
11490         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11491         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11492         (gst_real_pad_dispose), (gst_real_pad_finalize),
11493         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11494         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11495         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11496         * gst/gstpad.h:
11497         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11498         (pipeline_bus_handler), (gst_pipeline_change_state),
11499         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11500         * gst/gstpipeline.h:
11501         * gst/gstprobe.h:
11502         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11503         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11504         (gst_queue_link_src), (gst_queue_bufferalloc),
11505         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11506         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11507         (gst_queue_loop), (gst_queue_handle_src_event),
11508         (gst_queue_handle_src_query), (gst_queue_src_activate),
11509         (gst_queue_change_state):
11510         * gst/gstqueue.h:
11511         * gst/gstscheduler.c: (gst_scheduler_init),
11512         (gst_scheduler_dispose), (gst_scheduler_create_task),
11513         (gst_scheduler_factory_create):
11514         * gst/gstscheduler.h:
11515         * gst/gststructure.c: (gst_structure_get_type),
11516         (gst_structure_copy_conditional):
11517         * gst/gststructure.h:
11518         * gst/gsttaginterface.h:
11519         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11520         (gst_task_init), (gst_task_dispose), (gst_task_create),
11521         (gst_task_get_state), (gst_task_start), (gst_task_stop),
11522         (gst_task_pause):
11523         * gst/gsttask.h:
11524         * gst/gstthread.c:
11525         * gst/gstthread.h:
11526         * gst/gsttypes.h:
11527         * gst/schedulers/Makefile.am:
11528         * gst/schedulers/cothreads_compat.h:
11529         * gst/schedulers/entryscheduler.c:
11530         * gst/schedulers/faircothreads.c:
11531         * gst/schedulers/faircothreads.h:
11532         * gst/schedulers/fairscheduler.c:
11533         * gst/schedulers/gstbasicscheduler.c:
11534         * gst/schedulers/gstoptimalscheduler.c:
11535         * gst/schedulers/gthread-cothreads.h:
11536         * gst/schedulers/threadscheduler.c:
11537         (gst_thread_scheduler_task_get_type),
11538         (gst_thread_scheduler_task_class_init),
11539         (gst_thread_scheduler_task_init),
11540         (gst_thread_scheduler_task_start),
11541         (gst_thread_scheduler_task_stop),
11542         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11543         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11544         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11545         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11546         (plugin_init):
11547         * libs/gst/Makefile.am:
11548         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11549         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11550         (gst_file_pad_parent_set):
11551         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11552         (gst_dp_event_from_packet):
11553         * tests/complexity.c: (main):
11554         * tests/mass_elements.c: (main):
11555         * testsuite/states/locked.c: (message_received), (main):
11556         * testsuite/states/parent.c: (main):
11557         * tools/gst-inspect.c: (print_element_flag_info),
11558         (print_implementation_info), (print_pad_info):
11559         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11560         (main):
11561         * tools/gst-md5sum.c: (event_loop), (main):
11562         * tools/gst-typefind.c: (main):
11563         * tools/gst-xmlinspect.c: (print_element_info):
11564         Next big merge.
11565         Added GstBus for mainloop integration.
11566         Added GstMessage for sending notifications on the bus.
11567         Added GstTask as an abstraction for pipeline entry points.
11568         Removed GstThread.
11569         Removed Schedulers.
11570         Simplified GstQueue for multithreaded core.
11571         Made _link threadsafe, removed old capsnego.
11572         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11573         Added pad blocking functions.
11574         Reworked scheduling functions in GstPad to prepare for
11575         scheduling updates soon.
11576         Moved events out of data stream.
11577         Simplified GstEvent types.
11578         Added return values to push/pull.
11579         Removed clocking from GstElement.
11580         Added prototypes for state change function for next merge.
11581         Removed iterate from bins and state change management.
11582         Fixed some elements, disabled others for now.
11583         Fixed -inspect and -launch.
11584         Added check for GstBus.
11585
11586 2005-03-10  Wim Taymans  <wim@fluendo.com>
11587
11588         * docs/design/part-MT-refcounting.txt:
11589         * docs/design/part-clocks.txt:
11590         * docs/design/part-gstelement.txt:
11591         * docs/design/part-gstobject.txt:
11592         * docs/design/part-standards.txt:
11593         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11594         (gst_bin_remove_func), (gst_bin_remove):
11595         * gst/gstbin.h:
11596         * gst/gstbuffer.c:
11597         * gst/gstcaps.h:
11598         * testsuite/clock/clock1.c: (main):
11599         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11600         (main):
11601         * testsuite/dlopen/loadgst.c: (do_test):
11602         * testsuite/refcounting/bin.c: (add_remove_test1),
11603         (add_remove_test2), (main):
11604         * testsuite/refcounting/element.c: (main):
11605         * testsuite/refcounting/element_pad.c: (main):
11606         * testsuite/refcounting/pad.c: (main):
11607         * tools/gst-launch.c: (sigint_handler_sighandler):
11608         * tools/gst-typefind.c: (main):
11609         Doc updates.
11610         Added doc about clock.
11611         removed gst_bin_iterate_recurse_up(), marked methods
11612         for removal.
11613         Fix more testsuites.
11614
11615 2005-03-09  Wim Taymans  <wim@fluendo.com>
11616
11617         * gst/gstpad.c: (gst_pad_get_direction),
11618         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11619         (gst_pad_collect_valist):
11620         * testsuite/bins/interface.c: (main):
11621         * testsuite/caps/audioscale.c: (test_caps):
11622         * testsuite/caps/caps.c: (test1), (test2), (test3):
11623         * testsuite/caps/deserialize.c: (main):
11624         * testsuite/caps/enumcaps.c: (main):
11625         * testsuite/caps/filtercaps.c: (main):
11626         * testsuite/caps/intersect2.c: (main):
11627         * testsuite/caps/random.c: (main):
11628         * testsuite/caps/renegotiate.c: (my_fixate), (main):
11629         * testsuite/caps/sets.c: (check_caps):
11630         * testsuite/caps/simplify.c: (check_caps), (main):
11631         * testsuite/caps/subtract.c: (check_caps):
11632         Fix _pad_get_direction wrt ghostpads.
11633         Fix caps testsuite.
11634
11635 2005-03-09  Wim Taymans  <wim@fluendo.com>
11636
11637         * check/Makefile.am:
11638         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11639         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11640         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11641         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11642         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11643         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11644         (gst_bin_remove), (gst_bin_iterate_recurse_up),
11645         (bin_element_is_sink), (gst_bin_iterate_sinks),
11646         (gst_bin_iterate_all_by_interface):
11647         * gst/gstbin.h:
11648         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11649         (gst_element_change_state), (gst_element_dispose),
11650         (gst_element_finalize), (gst_element_set_loop_function):
11651         * gst/gstelement.h:
11652         * gst/gstiterator.c: (find_custom_fold_func):
11653         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11654         (gst_pad_collectv), (gst_pad_collect_valist),
11655         (gst_pad_template_new):
11656         * gst/gstpipeline.c: (gst_pipeline_class_init),
11657         (gst_pipeline_dispose), (gst_pipeline_set_property),
11658         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11659         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11660         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11661         * gst/gstutils.h:
11662         * gst/schedulers/entryscheduler.c:
11663         * gst/schedulers/gstbasicscheduler.c:
11664         (gst_basic_scheduler_cothreaded_chain),
11665         (gst_basic_scheduler_chain_add_element):
11666         * testsuite/bins/interface.c: (main):
11667         Added GstBin test.
11668         Added GstSystemClock test.
11669         Implemented clock distribution code in GstBin.
11670         Implemented iterate sinks method for future use.
11671         Rearranged gstelement.h
11672         Fix GstIterator comparison bug.
11673         Moved some code to GstPipeline, mostly clocking related.
11674
11675 2005-03-09  Wim Taymans  <wim@fluendo.com>
11676
11677         * configure.ac:
11678         * gst/gst_private.h:
11679         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11680         (gst_bin_remove_func), (gst_bin_remove),
11681         (gst_bin_get_by_name_recurse_up):
11682         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11683         (gst_clock_id_compare_func), (gst_clock_id_wait),
11684         (gst_clock_id_wait_async), (gst_clock_init),
11685         (gst_clock_adjust_unlocked), (gst_clock_get_time):
11686         * gst/gstelement.h:
11687         * gst/gstinfo.c: (_gst_debug_init):
11688         * gst/gstobject.h:
11689         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11690         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11691         * gst/gstpad.h:
11692         Bump version number, we're now 0.9.0
11693         Add future debugging category.
11694         Fix NULL _unref() in _get_by_name_recurse_up
11695         Rearrange gstpad.h.
11696         Update some docs.
11697
11698 2005-03-08  Wim Taymans  <wim@fluendo.com>
11699
11700         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11701         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11702         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11703         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11704         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11705         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11706         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11707         * gst/elements/gstidentity.c: (gst_identity_class_init):
11708         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11709         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11710         * gst/elements/gstshaper.c: (gst_shaper_class_init):
11711         * gst/elements/gststatistics.c: (gst_statistics_class_init):
11712         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11713         (gst_tee_link):
11714         * gst/gstelement.c: (gst_element_class_init),
11715         (gst_element_base_class_init), (gst_element_init),
11716         (gst_element_get_random_pad), (gst_element_wait_state_change),
11717         (gst_element_change_state), (gst_element_dispose),
11718         (gst_element_finalize), (gst_element_set_loop_function):
11719         * gst/gstelement.h:
11720         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11721         * gst/gstthread.c: (gst_thread_class_init),
11722         (gst_thread_release_children_locks), (gst_thread_change_state):
11723         * gst/schedulers/gstbasicscheduler.c:
11724         (gst_basic_scheduler_loopfunc_wrapper),
11725         (gst_basic_scheduler_chain_wrapper),
11726         (gst_basic_scheduler_src_wrapper),
11727         (gst_basic_scheduler_remove_element):
11728         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11729         Remove threadsafe properties. Fix elements because GObject
11730         complains when installing a property before declaring a
11731         set/get_property handler.
11732         Rearrange gstelement.h file, use STATE macros for state locks.
11733         Free mutexes in the finalize method instead of dispose.
11734
11735 2005-03-08  Wim Taymans  <wim@fluendo.com>
11736
11737         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11738         * gst/gstthread.c: (gst_thread_release_children_locks):
11739         Added parentage check.
11740         Fix build og GstThread again.
11741
11742 2005-03-08  Wim Taymans  <wim@fluendo.com>
11743
11744         * docs/design/part-MT-refcounting.txt:
11745         * docs/design/part-conventions.txt:
11746         * docs/design/part-gstobject.txt:
11747         * docs/design/part-relations.txt:
11748         * docs/design/part-standards.txt:
11749         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11750         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11751         (gst_bin_get_by_name), (gst_bin_get_by_interface),
11752         (gst_bin_iterate_all_by_interface):
11753         * gst/gstbuffer.h:
11754         * gst/gstclock.h:
11755         * gst/gstelement.c: (gst_element_class_init),
11756         (gst_element_change_state), (gst_element_set_loop_function):
11757         * gst/gstelement.h:
11758         * gst/gstiterator.c:
11759         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11760         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11761         (gst_object_dispatch_properties_changed), (gst_object_set_name),
11762         (gst_object_set_parent), (gst_object_unparent),
11763         (gst_object_check_uniqueness):
11764         * gst/gstobject.h:
11765         Docs updates, clean up some headers.
11766
11767 2005-03-07  Wim Taymans  <wim@fluendo.com>
11768
11769         * check/.cvsignore:
11770         * check/Makefile.am:
11771         * check/gst-libs/.cvsignore:
11772         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11773         * check/gst/.cvsignore:
11774         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11775         (START_TEST), (gstbus_suite), (main):
11776         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11777         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11778         (gst_data_suite), (main):
11779         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11780         (add_fold_func), (gstiterator_suite), (main):
11781         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11782         (thread_name_object), (thread_name_object_default),
11783         (gst_object_name_compare), (gst_object_suite), (main):
11784         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11785         (gst_pad_suite), (main):
11786         * check/gstcheck.c: (gst_check_log_message_func),
11787         (gst_check_log_critical_func), (gst_check_init):
11788         * check/gstcheck.h:
11789         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11790         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11791         Added checks.
11792
11793 2005-03-07  Wim Taymans  <wim@fluendo.com>
11794
11795         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11796         (gst_list_iterator_next), (gst_list_iterator_resync),
11797         (gst_list_iterator_free), (gst_iterator_new_list),
11798         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11799         (gst_iterator_free), (gst_iterator_push), (filter_next),
11800         (filter_resync), (filter_uninit), (filter_free),
11801         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11802         (gst_iterator_foreach), (find_custom_fold_func),
11803         (gst_iterator_find_custom):
11804         * gst/gstiterator.h:
11805         Added missing files.
11806
11807 2005-03-07  Wim Taymans  <wim@fluendo.com>
11808
11809         * Makefile.am:
11810         * configure.ac:
11811         * docs/design/part-MT-refcounting.txt:
11812         * docs/design/part-conventions.txt:
11813         * docs/design/part-gstobject.txt:
11814         * docs/design/part-relations.txt:
11815         * examples/mixer/mixer.c: (main):
11816         * examples/thread/thread.c: (eos), (main):
11817         * gst/Makefile.am:
11818         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11819         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11820         (gst_spider_plug_from_srcpad):
11821         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11822         (gst_spider_identity_change_state),
11823         (gst_spider_identity_sink_loop_type_finding):
11824         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11825         * gst/elements/gstidentity.c: (gst_identity_init):
11826         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11827         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11828         * gst/elements/gsttypefindelement.c: (free_entry):
11829         * gst/gst.c:
11830         * gst/gst.h:
11831         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11832         (gst_bin_set_clock_func), (gst_bin_auto_clock),
11833         (gst_bin_set_index), (gst_bin_set_element_sched),
11834         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11835         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11836         (gst_bin_iterate_elements), (iterate_child_recurse),
11837         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11838         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11839         (compare_interface), (gst_bin_get_by_interface),
11840         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11841         * gst/gstbin.h:
11842         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11843         (gst_buffer_default_free), (gst_buffer_default_copy),
11844         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11845         (gst_buffer_create_sub):
11846         * gst/gstbuffer.h:
11847         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11848         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11849         (gst_caps_unref), (gst_static_caps_get),
11850         (gst_caps_remove_and_get_structure), (gst_caps_append),
11851         (gst_caps_append_structure), (gst_caps_remove_structure),
11852         (gst_caps_copy_nth), (gst_caps_set_simple),
11853         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11854         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11855         (gst_caps_structure_intersect_field), (gst_caps_intersect),
11856         (gst_caps_structure_subtract_field), (gst_caps_subtract),
11857         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11858         (gst_caps_structure_figure_out_union),
11859         (gst_caps_switch_structures), (gst_caps_do_simplify),
11860         (gst_caps_replace), (gst_caps_from_string),
11861         (gst_caps_copy_conditional):
11862         * gst/gstcaps.h:
11863         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11864         (_gst_clock_id_free), (gst_clock_id_unref),
11865         (gst_clock_id_compare_func), (gst_clock_id_wait),
11866         (gst_clock_id_wait_async), (gst_clock_class_init),
11867         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11868         (gst_clock_get_time), (gst_clock_set_time_adjust),
11869         (gst_clock_set_property), (gst_clock_get_property):
11870         * gst/gstclock.h:
11871         * gst/gstcompat.h:
11872         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11873         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11874         * gst/gstdata.h:
11875         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11876         (gst_element_requires_clock), (gst_element_provides_clock),
11877         (gst_element_set_clock), (gst_element_clock_wait),
11878         (gst_element_wait), (gst_element_set_time_delay),
11879         (gst_element_is_indexable), (gst_element_add_pad),
11880         (gst_element_add_ghost_pad), (gst_element_remove_pad),
11881         (pad_compare_name), (gst_element_get_static_pad),
11882         (gst_element_request_pad), (gst_element_get_request_pad),
11883         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11884         (gst_element_class_get_pad_template_list),
11885         (gst_element_class_get_pad_template), (gst_element_error_func),
11886         (gst_element_get_random_pad), (gst_element_get_event_masks),
11887         (gst_element_send_event), (gst_element_seek),
11888         (gst_element_get_query_types), (gst_element_query),
11889         (gst_element_get_formats), (gst_element_convert),
11890         (gst_element_is_locked_state), (gst_element_set_locked_state),
11891         (gst_element_sync_state_with_parent), (gst_element_change_state),
11892         (gst_element_finalize), (gst_element_yield),
11893         (gst_element_interrupt), (gst_element_set_scheduler),
11894         (gst_element_get_scheduler), (gst_element_set_loop_function):
11895         * gst/gstelement.h:
11896         * gst/gstevent.h:
11897         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
11898         (gst_format_get_by_nick), (gst_format_get_details),
11899         (gst_format_iterate_definitions):
11900         * gst/gstformat.h:
11901         * gst/gstindex.c: (gst_index_gtype_resolver):
11902         * gst/gstinfo.c:
11903         * gst/gstinfo.h:
11904         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
11905         (gst_mem_chunk_free):
11906         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
11907         (gst_object_ref), (gst_object_unref), (gst_object_sink),
11908         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
11909         (gst_object_dispatch_properties_changed),
11910         (gst_object_set_name_default), (gst_object_set_name),
11911         (gst_object_get_name), (gst_object_set_name_prefix),
11912         (gst_object_get_name_prefix), (gst_object_set_parent),
11913         (gst_object_get_parent), (gst_object_unparent),
11914         (gst_object_check_uniqueness), (gst_object_save_thyself),
11915         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
11916         (gst_object_set_property), (gst_object_get_property),
11917         (gst_object_get_path_string):
11918         * gst/gstobject.h:
11919         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11920         (gst_real_pad_init), (gst_real_pad_get_property),
11921         (gst_pad_custom_new), (gst_pad_get_direction),
11922         (gst_pad_set_active), (gst_pad_is_active),
11923         (gst_pad_set_event_function), (gst_pad_is_linked),
11924         (gst_pad_link_free), (gst_pad_link_intersect),
11925         (gst_pad_link_fixate), (gst_pad_set_caps),
11926         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
11927         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
11928         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
11929         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
11930         (gst_pad_get_caps), (gst_pad_peer_get_caps),
11931         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
11932         (gst_pad_realize), (gst_pad_get_allowed_caps),
11933         (gst_real_pad_dispose), (gst_real_pad_finalize),
11934         (gst_pad_collectv), (gst_pad_collect_valist),
11935         (gst_pad_template_dispose), (gst_pad_template_new),
11936         (gst_pad_get_internal_links):
11937         * gst/gstpad.h:
11938         * gst/gstpipeline.c: (gst_pipeline_dispose),
11939         (gst_pipeline_change_state):
11940         * gst/gstpipeline.h:
11941         * gst/gstplugin.c:
11942         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
11943         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
11944         * gst/gstpluginfeature.h:
11945         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
11946         * gst/gstquery.c: (_gst_query_type_initialize),
11947         (gst_query_type_register), (gst_query_type_get_by_nick),
11948         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
11949         * gst/gstquery.h:
11950         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
11951         * gst/gstscheduler.c: (gst_scheduler_add_element),
11952         (gst_scheduler_factory_create):
11953         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11954         (gst_structure_free), (gst_structure_set_name),
11955         (gst_structure_id_set_value), (gst_structure_set_value),
11956         (gst_structure_set_valist), (gst_structure_remove_field),
11957         (gst_structure_remove_fields),
11958         (gst_structure_remove_fields_valist),
11959         (gst_structure_remove_all_fields), (gst_structure_foreach),
11960         (gst_structure_map_in_place),
11961         (gst_caps_structure_fixate_field_nearest_int),
11962         (gst_caps_structure_fixate_field_nearest_double):
11963         * gst/gststructure.h:
11964         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11965         (gst_system_clock_init), (gst_system_clock_dispose),
11966         (gst_system_clock_async_thread),
11967         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
11968         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
11969         * gst/gstsystemclock.h:
11970         * gst/gsttag.c: (gst_tag_list_add_value_internal),
11971         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
11972         * gst/gsttaginterface.c:
11973         * gst/gstthread.c: (gst_thread_dispose),
11974         (gst_thread_release_children_locks), (gst_thread_change_state),
11975         (gst_thread_main_loop):
11976         * gst/gsttrashstack.h:
11977         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
11978         * gst/gsttypes.h:
11979         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11980         (gst_element_request_pad), (gst_element_get_pad_from_template),
11981         (gst_element_request_compatible_pad),
11982         (gst_element_get_compatible_pad_filtered),
11983         (gst_element_get_compatible_pad), (gst_element_state_get_name),
11984         (gst_element_link_pads_filtered), (gst_element_link_filtered),
11985         (gst_element_link_many), (gst_element_link),
11986         (gst_element_link_pads), (gst_element_unlink_pads),
11987         (gst_element_unlink_many), (gst_element_unlink),
11988         (gst_pad_can_link_filtered), (gst_pad_can_link),
11989         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
11990         (gst_object_default_error), (gst_bin_add_many),
11991         (gst_bin_remove_many), (gst_element_populate_std_props),
11992         (gst_element_class_install_std_props), (gst_buffer_merge),
11993         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
11994         (link_fold_func), (gst_pad_proxy_setcaps):
11995         * gst/gstutils.h:
11996         * gst/gstvalue.c: (gst_value_deserialize_string):
11997         * gst/parse/grammar.y:
11998         * gst/schedulers/gstbasicscheduler.c:
11999         (gst_basic_scheduler_cothreaded_chain),
12000         (gst_basic_scheduler_chain_recursive_add),
12001         (gst_basic_scheduler_pad_link):
12002         * gst/schedulers/gstoptimalscheduler.c:
12003         (get_group_schedule_function),
12004         (gst_opt_scheduler_state_transition),
12005         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12006         * libs/gst/bytestream/bytestream.c:
12007         * libs/gst/dataprotocol/dataprotocol.c:
12008         (gst_dp_header_from_buffer):
12009         * po/nb.po:
12010         * po/ru.po:
12011         * tests/threadstate/threadstate2.c: (eos):
12012         * tools/gst-compprep.c: (main):
12013         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12014         (print_pad_info), (print_children_info):
12015         * tools/gst-launch.c: (idle_func), (main):
12016         * tools/gst-md5sum.c: (idle_func), (main):
12017         * tools/gst-xmlinspect.c: (print_element_info):
12018         First THREADED backport attempt, focusing on adding locks and
12019         making sure the API is threadsafe. Needs more work. More docs
12020         follow this week.
12021
12022 2005-02-24  Andy Wingo  <wingo@pobox.com>
12023
12024         * tests/bench-complexity.scm:
12025         * tests/complexity.gnuplot: New files, good for running complexity
12026         benchmarks.
12027
12028         * tests/Makefile.am:
12029         * tests/complexity.c: New test, sets up N elements, at each level
12030         teeing into M streams per element. Eeeenteresting.
12031
12032         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12033         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12034         running bench-mass_elements.scm.
12035
12036         * tests/bench-mass_elements.scm: New script, runs mass_elements
12037         for various numbers of identities, outputting the results to a
12038         file. Requires guile 1.6. Just for testing.
12039
12040 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12041
12042         * gst/schedulers/fairscheduler.c:
12043           compile with debug disabled
12044
12045 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12046
12047         * configure.ac:
12048           hunting season on 0.9 is now OPEN