update LDFLAGS use some more
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * configure.ac:
4         * gst/Makefile.am:
5         * gst/base/Makefile.am:
6         * gst/check/Makefile.am:
7         * gst/elements/Makefile.am:
8         * gst/net/Makefile.am:
9           update LDFLAGS use some more
10
11 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12
13         * common/m4/gst-doc.m4:
14           Fixes #312589
15
16 2005-11-26  Edward Hervey  <edward@fluendo.com>
17
18         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19         This shouldn't issue a g_warning since it returns NULL if it
20         couldn't find the plugin, and all functions using this behave
21         properly on a NULL return. Switching to a GST_WARNING.
22
23 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
24
25         * gst/gstbin.c: (gst_bin_handle_message_func):
26         Don't leak clock messages.
27
28 2005-11-25  Wim Taymans  <wim@fluendo.com>
29
30         * gst/gstutils.c: (gst_util_uint64_scale_int64),
31         (gst_util_uint64_scale_int):
32         Optimisations, remove unneeded vars.
33
34 2005-11-25  Wim Taymans  <wim@fluendo.com>
35
36         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
37         Added more checks for the high precision uint64 cases.
38
39         * gst/gstutils.c: (gst_util_uint64_scale_int64),
40         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
41         Implement high precission (guint64 * guint64) / guint64.
42
43 2005-11-24  Wim Taymans  <wim@fluendo.com>
44
45         * gst/base/gstbasesrc.c: (gst_base_src_query):
46         Fix wrong percentage query.
47
48         * gst/gstutils.c: (gst_util_uint64_scale),
49         (gst_util_uint64_scale_int):
50         Add some more common cases that can be handled 
51         efficiently to _scale.
52
53 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
54
55         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
56         (gst_mini_object_suite):
57           don't use check calls from threads; check probably isn't
58           threadsafe and using a lock to make it threadsafe would
59           defeat the purpose of this check
60         * gst/check/gstcheck.c:
61         * gst/check/gstcheck.h:
62           use GST_DEBUG some more
63
64 2005-11-24  Wim Taymans  <wim@fluendo.com>
65
66         * gst/gstutils.c: (gst_util_uint64_scale),
67         (gst_util_uint64_scale_int):
68         Chain trivial case to _scale_int.
69
70 2005-11-24  Wim Taymans  <wim@fluendo.com>
71
72         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
73         Added test for scaling.
74
75         * gst/gstclock.h:
76         Small doc fix.
77
78         * gst/gstutils.c: (gst_util_uint64_scale_int):
79         Implemented high precision scaling code.
80
81 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
82
83         * gst/gstinfo.h:
84           do not crash on pad==NULL
85
86 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
87
88         Patch by: Stefan Kost
89
90         * common/gtk-doc.mak:
91         * docs/gst/Makefile.am:
92         * docs/libs/Makefile.am:
93           Fix distcheck issues for the libraries docs build
94           Closes #319599.
95
96 2005-11-24  Michael Smith <msmith@fluendo.com>
97
98         * docs/manual/basics-helloworld.xml:
99           Fix bug #315027: memory leak in example code in docs.
100
101 2005-11-24  Michael Smith <msmith@fluendo.com>
102
103         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
104           Unlock the PREROLL_LOCK in a failure case.
105
106 2005-11-24  Wim Taymans  <wim@fluendo.com>
107
108         * docs/gst/gstreamer-sections.txt:
109         * gst/base/gstadapter.h:
110         * gst/base/gstbasesink.h:
111         * gst/base/gstbasesrc.h:
112         * gst/base/gstbasetransform.h:
113         * gst/base/gstpushsrc.h:
114         * gst/elements/gstfakesink.h:
115         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
116         * gst/elements/gstfakesrc.h:
117         * gst/elements/gstfilesink.h:
118         * gst/elements/gstfilesrc.h:
119         * gst/gst.c:
120         * gst/gstbin.c:
121         * gst/gstbuffer.c: (_gst_buffer_copy):
122         * gst/gstbus.h:
123         * gst/gstcaps.c:
124         * gst/gstchildproxy.c:
125         * gst/gstclock.c:
126         * gst/gstelement.c:
127         * gst/gstelementfactory.c:
128         * gst/gstelementfactory.h:
129         * gst/gstevent.c:
130         * gst/gstghostpad.h:
131         * gst/gstindex.h:
132         * gst/gstinterface.h:
133         * gst/gstminiobject.c:
134         * gst/gstminiobject.h:
135         * gst/gstpad.c:
136         * gst/gstpad.h:
137         * gst/gstpadtemplate.h:
138         * gst/gstpipeline.h:
139         * gst/gstpluginfeature.h:
140         * gst/gstquery.h:
141         * gst/gstqueue.h:
142         * gst/gsttaglist.c:
143         * gst/gsttaglist.h:
144         * gst/gsttagsetter.c:
145         * gst/gsttagsetter.h:
146         * gst/gsttrace.c:
147         * gst/gsttrace.h:
148         * gst/gsttypefind.h:
149         * gst/gsturi.h:
150         * gst/gstvalue.c:
151         * gst/net/gstnetclientclock.c:
152         * gst/net/gstnetclientclock.h:
153         * gst/net/gstnettimepacket.c:
154         * gst/net/gstnettimeprovider.c:
155         * gst/net/gstnettimeprovider.h:
156         Doc fixes.
157
158 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
159
160         * configure.ac: back to HEAD
161
162 === release 0.9.6 ===
163
164 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
165
166         * configure.ac:
167           releasing 0.9.6, "Always On Time"
168
169 2005-11-23  Wim Taymans  <wim@fluendo.com>
170
171         * docs/gst/gstreamer-sections.txt:
172         * gst/glib-compat.c:
173         * gst/gsttagsetter.c:
174         * gst/gstvalue.c:
175         * gst/net/gstnetclientclock.c:
176         * gst/net/gstnettimepacket.h:
177         Doc updates.
178
179 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
180
181         * docs/faq/using.xml:
182         * docs/libs/tmpl/gstcontrol.sgml:
183         * docs/manual/advanced-dparams.xml:
184         * docs/manual/appendix-checklist.xml:
185         * docs/manual/basics-elements.xml:
186         * docs/pwg/other-source.xml:
187         * docs/random/moving-plugins:
188         * gst/gstpad.c:
189         * tools/gst-launch.1.in:
190           remove mentions of sinesrc
191
192 2005-11-23  Michael Smith <msmith@fluendo.com>
193
194         * docs/gst/gstreamer-sections.txt:
195           Update for new API and API changes.
196         * gst/gstobject.h:
197           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
198         * gst/gstvalue.c:
199           Documentation typo fix.
200         * gst/net/gstnettimepacket.c:
201           Documentation fixes for arguments.
202
203 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
204
205         * gst/gststructure.c: (gst_structure_get_fraction),
206         (gst_structure_parse_value),
207         (gst_structure_fixate_field_nearest_fraction):
208         * gst/gststructure.h:
209         * gst/gstutils.c: (gst_util_uint64_scale_int):
210         * gst/gstutils.h:
211         * scripts/update-funcnames:
212         API Changes. 
213         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
214         Make gst_structure_fixate_field_nearest_fraction take a numerator
215         and denominator argument instead of a GValue
216         add gst_structure_get_fraction helper function.
217
218 2005-11-23  Wim Taymans  <wim@fluendo.com>
219
220         * docs/design/part-TODO.txt:
221         Update TODO.
222
223         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
224         * gst/net/gstnetclientclock.h:
225         Use parent fields for timeout and window_size.
226
227 2005-11-23  Andy Wingo  <wingo@pobox.com>
228
229         * check/net/gstnetclientclock.c (test_functioning): Adjust to
230         rate_num/rate_denom change.
231
232         * gst/net/gstnetclientclock.c
233         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
234         OBJECT_LOCK. Don't call add_observation with the lock.
235
236         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
237         fraction.
238         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
239         rate fraction.
240         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
241         deal with rate as a fraction whose numerator and denominator are
242         GstClockTime values.
243         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
244         master; the other fields are protected by the SLAVE_LOCK.
245         (do_linear_regression): Note that this must be called with the
246         SLAVE_LOCK.
247         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
248         OBJECT_LOCK. Call set_calibration instead of touching the
249         variables directly.
250         (gst_clock_set_property, gst_clock_get_property): Protect
251         master/slave parameters with the SLAVE_LOCK.
252
253         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
254         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
255         note that all of the instance variables that add_observation and
256         the set_master functions use are protected by that lock and not
257         the OBJECT_LOCK.
258         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
259
260         * gst/gstclock.c (gst_clock_add_observation): No longer requires
261         the caller to take the object lock.
262
263 2005-11-23  Wim Taymans  <wim@fluendo.com>
264
265         * gst/gsterror.c: (_gst_core_errors_init):
266         * gst/gsterror.h:
267         Add error for clock stuff.
268
269         * gst/gstpipeline.c: (gst_pipeline_change_state),
270         (gst_pipeline_set_clock):
271         Post clock error when clock cannot be used in a pipeline.
272
273 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
274
275         * docs/gst/gstreamer-sections.txt:
276           make two symbols from gstinfo private for the docs
277         * gst/base/gstcollectpads.h:
278         * gst/gstutils.c:
279           fix doc typos, update docs
280
281 2005-11-22  Wim Taymans  <wim@fluendo.com>
282
283         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
284         (gst_base_sink_wait), (gst_base_sink_do_sync),
285         (gst_base_sink_handle_event):
286         * gst/base/gstbasesink.h:
287         No need to store the clock, the parent element class already
288         has it.
289
290         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
291         Updates for clock_set returning a gboolean
292
293         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
294         (gst_clock_id_wait_async), (gst_clock_class_init),
295         (gst_clock_init), (gst_clock_finalize),
296         (gst_clock_get_internal_time), (gst_clock_get_time),
297         (gst_clock_slave_callback), (gst_clock_set_master),
298         (gst_clock_get_master), (do_linear_regression),
299         (gst_clock_add_observation), (gst_clock_set_property),
300         (gst_clock_get_property):
301         * gst/gstclock.h:
302         Implement master/slave. When setting a clock as a slave, a
303         periodic timeout is scheduled to sample master and slave times.
304         Then the slave clock is recalibrated to match offset and rate
305         of the master clock.
306         Update logging a bit.
307         Add flag so that a clock can state that is cannot be slaved to
308         another clock.
309
310         * gst/gstelement.c: (gst_element_set_clock):
311         * gst/gstelement.h:
312         The set clock returns a gboolean for when an element cannot
313         deal with the selected clock in the pipeline. 
314
315         * gst/gstpipeline.c: (gst_pipeline_change_state),
316         (gst_pipeline_set_clock):
317         * gst/gstpipeline.h:
318         Handle the case where the selected clock cannot be set on
319         the pipeline.
320
321         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
322         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
323         (gst_net_client_clock_set_property),
324         (gst_net_client_clock_get_property),
325         (gst_net_client_clock_observe_times):
326         * gst/net/gstnetclientclock.h:
327         Use regression code in GstClock parent, remove duplicated
328         functionality.
329
330 2005-11-22  Michael Smith <msmith@fluendo.com>
331
332         * gst/gstutils.c: (gst_util_clock_time_scale):
333         * gst/gstutils.h:
334         * docs/gst/gstreamer-sections.txt:
335           Rename method to have extra underscore.
336
337 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
338
339         * gst/elements/Makefile.am:
340         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
341         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
342         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
343         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
344         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
345         * gst/elements/gstfakesrc.h:
346         * gst/gstqueue.c: (queue_leaky_get_type):
347           correctly fix GEnumValues so that nick is the short lowercase
348           dashed tag
349         * tools/gst-inspect.c: (print_element_properties_info):
350           also show the nick, since it's useful to use from parse_launch
351           syntax
352           Fixes #322139
353
354 2005-11-22  Michael Smith <msmith@fluendo.com>
355
356         * gst/gstutils.c: (gst_util_clocktime_scale):
357         * gst/gstutils.h:
358         * docs/gst/gstreamer-sections.txt:
359           Add util method for scaling a clocktime by a fraction. Useful 
360           implementation is left as an exercise for the reader.
361
362 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
363
364         * gst/gstvalue.c: (gst_value_collect_fraction_range):
365         If needed, allocate storage in the destination value during
366         collection.
367
368 2005-11-22  Edward Hervey  <edward@fluendo.com>
369
370         * docs/gst/gstreamer-sections.txt:
371         * gst/Makefile.am:
372         * gst/gst.h:
373         * gst/gsturitype.c:
374         * gst/gsturitype.h:
375         * gst/gstutils.c: (gst_util_set_object_arg):
376         * tools/gst-compprep.c: (main):
377         * tools/gst-inspect.c: (print_element_properties_info):
378         Removed GstURI, closes bug #321061
379
380 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
381
382         * check/gst/gststructure.c: (GST_START_TEST):
383         * gst/gststructure.c: (gst_structure_parse_value):
384           Oops, broke automatic string type parsing.
385           Add a test to catch it in future.
386
387 2005-11-22  Andy Wingo  <wingo@pobox.com>
388
389         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
390         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
391         Actually rename the function implementations. Grr.
392
393 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
394
395         * check/gst/capslist.h:
396           Comment test cases
397         * check/gst/gststructure.c: (GST_START_TEST),
398         (gst_structure_suite):
399           Test automatic value type detection in gst_structure_from_string.
400         * gst/gststructure.c: (gst_structure_parse_value):
401           Add fraction as a type we try and guess automatically in
402           caps/structure strings.
403
404 2005-11-22  Andy Wingo  <wingo@pobox.com>
405
406         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
407
408         * gst/gsttagsetter.h:
409         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
410         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
411         (gst_tag_setter_add_tag_valist)
412         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
413         _add_values, _add_valist, and _add_valist_values. Since this is an
414         interface the function suffixes should be more explicit so
415         language binding don't end up with element.add_valist ->
416         gst_tag_setter_add_valist, for example. Fixes #322069.
417
418 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
419
420         * check/gst/gstcaps.c: (GST_START_TEST):
421           Extend caps string tests to check that a caps to string
422           conversion is reversible and produces the same caps.
423
424         * gst/gststructure.c: (gst_structure_value_get_generic_type):
425           Output "fraction" as the generic type fraction range, so caps
426           serialisation and deserialisation works.
427         * check/gst/capslist.h:
428         * gst/gstvalue.c: (gst_value_deserialize_fraction):
429           Support 'MIN' and 'MAX' for deserialising fractions.
430
431 2005-11-22  Andy Wingo  <wingo@pobox.com>
432
433         * gst/gstevent.h (gst_event_new_new_segment)
434         (gst_event_parse_new_segment, gst_event_new_buffer_size)
435         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
436         Renamed from *_newsegment, *_buffersize, *_notarget.
437
438         * scripts/update-funcnames: New script, performs the changes
439         listed above.
440
441 2005-11-22  Wim Taymans  <wim@fluendo.com>
442
443         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
444         Make sure the GstFlowReturn is returned.
445
446         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
447         (gst_bus_add_signal_watch):
448         * gst/gstbus.h:
449         add gst_bus_add_signal_watch_full.
450
451         * gst/gstplugin.c: (gst_plugin_load_file):
452         Small style cleanup.
453
454 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
455
456         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
457           Block the fakesrc srcpad when we send an event, to avoid
458           contention on the stream_lock causing random test failures.
459
460 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
461
462         * check/gst/gstvalue.c: (GST_START_TEST):
463         * gst/gstvalue.c: (gst_value_fraction_subtract):
464           Fix subtraction.
465
466 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
467
468         * gst/gst.h:
469           include "gstchildproxy.h"
470         * gst/gstchildproxy.h:
471         * libs/gst/controller/gstcontroller.h:
472           use G_GNUC_NULL_TERMINATED
473
474 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
475
476         * check/gst/capslist.h:
477         * check/gst/gstcaps.c: (GST_START_TEST):
478         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
479         * gst/gststructure.c: (gst_structure_parse_range),
480         (gst_structure_fixate_field_nearest_fraction):
481         * gst/gststructure.h:
482         * gst/gstvalue.c: (gst_value_init_fraction_range),
483         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
484         (gst_value_collect_fraction_range),
485         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
486         (gst_value_set_fraction_range_full),
487         (gst_value_get_fraction_range_min),
488         (gst_value_get_fraction_range_max),
489         (gst_value_serialize_fraction_range),
490         (gst_value_transform_fraction_range_string),
491         (gst_value_compare_fraction_range),
492         (gst_value_deserialize_fraction_range),
493         (gst_value_intersect_fraction_fraction_range),
494         (gst_value_intersect_fraction_range_fraction_range),
495         (gst_value_subtract_fraction_fraction_range),
496         (gst_value_subtract_fraction_range_fraction),
497         (gst_value_subtract_fraction_range_fraction_range),
498         (gst_value_collect_fraction), (gst_value_fraction_multiply),
499         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
500         (gst_value_transform_string_fraction), (_gst_value_initialize):
501         * gst/gstvalue.h:
502           Implement fraction ranges and extend GstFraction to support
503           arithmetic subtraction, as well as deserialization from integer
504           strings such as "100"
505           Add a testsuite as for int and double range set operations
506
507 2005-11-21  Andy Wingo  <wingo@pobox.com>
508
509         * gst/gsttaglist.h: 
510         * gst/gstcaps.h: 
511         * gst/gststructure.h: Add glib-compat.h.
512
513 2005-11-21  Wim Taymans  <wim@fluendo.com>
514
515         * gst/gstbin.c: (gst_bin_change_state_func):
516         Fix for #321595
517
518 2005-11-21  Wim Taymans  <wim@fluendo.com>
519
520         * gst/gstsegment.h:
521         And add a nice define too.
522
523 2005-11-21  Wim Taymans  <wim@fluendo.com>
524
525         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
526         (gst_segment_new), (gst_segment_free), (gst_segment_init),
527         (gst_segment_set_duration), (gst_segment_set_last_stop),
528         (gst_segment_set_seek), (gst_segment_set_newsegment),
529         (gst_segment_to_stream_time), (gst_segment_to_running_time),
530         (gst_segment_clip):
531         * gst/gstsegment.h:
532         Make binding friendly.
533
534 2005-11-21  Andy Wingo  <wingo@pobox.com>
535
536         * gst/gsttagsetter.h: 
537         * gst/gsttaglist.h: 
538         * gst/gststructure.h: 
539         * gst/gstcaps.h: 
540         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
541         #319940.
542
543         * gst/gsterror.c (_gst_core_errors_init):
544         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
545         category.
546
547         * gst/Makefile.am (gst_headers): Add glib-compat.h.
548         (noinst_HEADERS): noinst the -private.
549
550 2005-11-21  Michael Smith <msmith@fluendo.com>
551
552         * gst/gstplugin.h:
553         * gst/gstregistry.h:
554           Remove unimplemented declarations for which we can see no sensible
555           use.
556
557 2005-11-21  Andy Wingo  <wingo@pobox.com>
558
559         * gst/gst.h: Include glib-compat.h.
560
561         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
562
563         * gst/glib-compat.c: Include the public and the private header.
564
565         * gst/glib-compat-private.h: Copied here from glib-compat.h.
566
567         * gst/gstvalue.c: 
568         * gst/gstpad.c: 
569         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
570
571         * check/gst/gstevent.c (create_custom_events): Check that
572         FLUSH_STOP is serialized.
573
574         * check/elements/identity.c (event_func): 
575         * check/elements/fakesrc.c (event_func): No stream lock, the core
576         takes it.
577
578         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
579         stream lock taking, yay.
580
581         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
582         ensure that core takes the stream lock.
583
584         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
585         lock name change.
586
587         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
588         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
589         it already. For the flush start we do take it though so we get the
590         right preroll state change messages.
591
592         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
593         the stream lock here, the core does it for us.
594
595         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
596         GST_STREAM_GET_LOCK.
597         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
598         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
599         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
600         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
601         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
602         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
603
604         * gst/gstpad.c: Update for stream lock name change.
605
606         * gst/base/gstbasesink.c: Update for preroll lock name change.
607
608 2005-11-21  Wim Taymans  <wim@fluendo.com>
609
610         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
611         (gst_clock_get_master):
612         * gst/gstclock.h:
613         * gst/gstsystemclock.c: (gst_system_clock_init):
614         Convert Clock flags to object flags.
615         Added methods to manage master/slave clocks.
616
617 2005-11-21  Wim Taymans  <wim@fluendo.com>
618
619         * check/gst/gstsegment.c: (GST_START_TEST):
620         * docs/design/part-TODO.txt:
621         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
622         (gst_base_sink_event), (gst_base_sink_do_sync),
623         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
624         (gst_base_sink_query), (gst_base_sink_change_state):
625         * gst/base/gstbasesink.h:
626         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
627         (gst_base_src_default_newsegment),
628         (gst_base_src_configure_segment), (gst_base_src_do_seek),
629         (gst_base_src_get_range), (gst_base_src_loop),
630         (gst_base_src_change_state):
631         * gst/base/gstbasesrc.h:
632         * gst/base/gstbasetransform.c:
633         (gst_base_transform_prepare_output_buf),
634         (gst_base_transform_event), (gst_base_transform_change_state):
635         * gst/base/gstbasetransform.h:
636         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
637         (gst_collect_pads_event):
638         * gst/base/gstcollectpads.h:
639         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
640         (gst_fake_src_create):
641         * gst/elements/gstfakesrc.h:
642         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
643         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
644         (gst_segment_set_last_stop), (gst_segment_set_seek),
645         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
646         (gst_segment_to_running_time), (gst_segment_clip):
647         * gst/gstsegment.h:
648         More segment updates, replace code in plugins with segment
649         helper functions.
650
651 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
652
653         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
654         Don't ignore sscanf results
655
656 2005-11-21  Andy Wingo  <wingo@pobox.com>
657
658         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
659
660         * *.h:
661         * *.c: Ran scripts/update-macros. Oh yes.
662
663         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
664         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
665         GST_GET_LOCK, etc.
666
667         * scripts/update-macros: New script. Run it on your files to
668         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
669         well.
670
671 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
672
673         * docs/gst/Makefile.am:
674         * docs/gst/gstreamer-docs.sgml:
675         * docs/gst/gstreamer-sections.txt:
676         * docs/gst/gstreamer.types:
677         * gst/gstinfo.h:
678           more docs fixes, add new api to the docs
679
680 2005-11-21  Andy Wingo  <wingo@pobox.com>
681
682         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
683         state_broadcast call.
684
685         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
686
687 2005-11-21  Julien MOUTTE  <julien@moutte.net>
688
689         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
690         function calls for arrays.
691
692 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
693
694         * docs/random/ensonic/media-device-daemon.txt:
695           wild idea, can this be done?
696         * docs/gst/gstreamer-sections.txt:
697         * gst/gsterror.h:
698         * gst/gstfilter.c:
699         * gst/gstfilter.h:
700         * gst/gstplugin.h:
701         * gst/gstpluginfeature.c:
702         * gst/gsttrace.c:
703         * gst/gstvalue.c:
704         * gst/gstvalue.h:
705           doc fixes and additions
706
707 2005-11-21  Andy Wingo  <wingo@pobox.com>
708
709         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
710         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
711         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
712         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
713         private to the basesrc implementation.
714
715         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
716         behalf of event function if necessary. It should no longer be
717         necessary to take the stream lock in pad's event functions. Fixes
718         #320299.
719
720 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
721         * docs/gst/gstreamer-sections.txt:
722         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
723         (gst_structure_fixate_field_nearest_double),
724         (gst_structure_fixate_field_boolean):
725         * gst/gststructure.h:
726         * win32/common/libgstreamer.def:
727         * win32/gstreamer.def:
728
729         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
730         (#322027)
731
732 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
733
734         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
735         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
736         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
737         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
738         (gst_fdsrc_uri_handler_init):
739         * gst/elements/gstfdsrc.h:
740           Port fd:// URI handler from 0.8 to fdsrc
741
742 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
743
744         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
745         (gst_value_serialize_fourcc):
746         * gst/gstvalue.h:
747           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
748           consistent with our other format defines (#320324).
749
750 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
751
752         * gst/gstvalue.c: (gst_value_is_fixed):
753           Revert previous commit. Value lists are by definition
754           not fixed, as they are a list of possible values.
755
756 2005-11-21  Andy Wingo  <wingo@pobox.com>
757
758         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
759         during the stable series if we need it. Fixes #319178.
760
761         * gst/gstevent.c (gst_event_new_filler): Removed.
762
763         * check/gst/gstevent.c: Update comment about filler events.
764
765 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
766
767         * gst/gstvalue.c: (gst_value_is_fixed):
768           Should handle both value arrays and value lists.
769
770 2005-11-21  Andy Wingo  <wingo@pobox.com>
771
772         patch by: Alessandro Dessina <alessandro nnva org>
773
774         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
775         functions to access arrays. Fixes #321962.
776
777 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
778
779         * docs/gst/gstreamer.types:
780           gst_collectpads_get_type => gst_collect_pads_get_type.
781           
782         * gst/base/gstbasetransform.c:
783           Remove unused SIGNAL_HANDOFF enum.
784
785 2005-11-21  Andy Wingo  <wingo@pobox.com>
786
787         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
788         the event type (upstream, downstream, serialized). Renamed
789         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
790         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
791         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
792
793         * gst/gstevent.c: Update for new CUSTOM event names.
794
795         * check/gst/gstevent.c: Update check for new CUSTOM event names.
796
797         * gst/gstevent.h:
798         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
799         bug #319392.
800
801 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
802
803         * docs/gst/gstreamer-sections.txt:
804         * win32/common/libgstbase.def:
805         * win32/libgstbase.def:
806         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
807         (gst_collect_pads_class_init), (gst_collect_pads_init),
808         (gst_collect_pads_finalize), (gst_collect_pads_new),
809         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
810         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
811         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
812         (gst_collect_pads_start), (gst_collect_pads_stop),
813         (gst_collect_pads_peek), (gst_collect_pads_pop),
814         (gst_collect_pads_available), (gst_collect_pads_read),
815         (gst_collect_pads_flush), (gst_collect_pads_event),
816         (gst_collect_pads_chain):
817         * gst/base/gstcollectpads.h:
818           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
819           unimplemented functions as unimplemented. Add padding to
820           GstCollectData. (#320766, #320423)
821
822 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
823
824         * gst/gstmessage.c:
825           Improve docs for DURATION message (usage of duration parameter)
826           (#320113)
827
828 2005-11-20  Wim Taymans  <wim@fluendo.com>
829
830         * check/Makefile.am:
831         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
832         (main):
833         * gst/Makefile.am:
834         * gst/gst.h:
835         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
836         (gst_segment_set_seek), (gst_segment_set_newsegment),
837         (gst_segment_to_stream_time), (gst_segment_to_running_time),
838         (gst_segment_clip):
839         * gst/gstsegment.h:
840         Added segment helper structure and methods. Not fully implemented
841         yet.
842         Added segment check.
843
844 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
845
846         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
847           Add a deserialisation test for fractions
848         * examples/metadata/read-metadata.c: (message_loop),
849         (make_pipeline), (main):
850           Fix up metadata reading sample.
851         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
852           Debug format fix
853         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
854           Don't try and fixate empty caps
855         * gst/gst_private.h:
856           Wrap in G_BEGIN_DECLS/G_END_DECLS
857         * gst/gstvalue.c: (gst_value_collect_fraction),
858         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
859         (gst_value_transform_string_fraction),
860         (gst_value_compare_fraction):
861           Add some extra guards to ensure that we don't end up 
862           with an invalid denominator of 0 in a gstfraction and
863           that fractions always get reduced.
864
865 2005-11-20  Wim Taymans  <wim@fluendo.com>
866
867         * docs/gst/gstreamer-sections.txt:
868         * gst/gstbuffer.h:
869         * gst/gstelement.c:
870         * gst/gstformat.c:
871         * gst/gstformat.h:
872         * gst/gstindex.h:
873         * gst/gstquery.c:
874         * gst/gstquery.h:
875         * gst/gstvalue.c:
876         Doc fixes.
877
878 2005-11-20  Wim Taymans  <wim@fluendo.com>
879
880         * docs/design/part-TODO.txt:
881         * gst/gstcaps.h:
882         Make a proper enum of the flag.
883
884 2005-11-19  Wim Taymans  <wim@fluendo.com>
885
886         * docs/design/part-TODO.txt:
887         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
888         (gst_format_to_quark), (gst_format_register):
889         * gst/gstformat.h:
890         * gst/gstquery.c: (_gst_query_initialize),
891         (gst_query_type_get_name), (gst_query_type_to_quark),
892         (gst_query_type_register):
893         * gst/gstquery.h:
894         Add type to quark and type to string conversions.
895
896 2005-11-19  Andy Wingo  <wingo@pobox.com>
897
898         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
899         #320097.
900
901 2005-11-19  Wim Taymans  <wim@fluendo.com>
902
903         * docs/design/part-TODO.txt:
904         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
905         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
906         (gst_bin_handle_message_func):
907         * gst/gstbin.h:
908         Make message handling overridable.
909
910 2005-11-19  Andy Wingo  <wingo@pobox.com>
911
912         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
913
914         * gst/gstclock.h:
915         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
916         be a GstClockTime.
917         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
918         is a GstClockTime. Fixes #321710.
919
920         * gst/gstclock.h (GstClock): Remove offset property. Add
921         internal_calibration and external_calibration. Fix padding. Pad
922         also by GstClockTime so we don't run into problems.
923
924         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
925         (gst_clock_get_rate_offset): Remove.
926         (gst_clock_set_time_adjust): Remove. Fixes #321712.
927
928         * gst/gstutils.h:
929         * gst/gstutils.c (g_static_rec_cond_wait)
930         (g_static_rec_cond_timed_wait): Removed, no longer needed.
931
932         * gst/gstbin.c: Remove terrible continue_state prototype.
933
934         * gst/gstelement.h (gst_element_continue_state): Make public.
935
936         * gst/gstelement.h:
937         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
938         by continue_state. Fixes #319389.
939
940         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
941         Really fixes #168438. However I don't see anywhere where the
942         filter function is called... stupid GStreamer...
943         
944         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
945         don't have a dispose function, so it won't get called when the
946         object is unreffed, but oh well!
947
948         * gst/gstindex.c (gst_index_set_filter_full): New API function,
949         allows a destroy function to be set so user_data can be freed.
950         Fixes #168438.
951         (gst_index_set_filter): Call gst_index_set_filter_full.
952
953         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
954
955         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
956         string should produce an error, given the lack of a way to
957         represent NULL strings. Fixes #165650.
958         
959         * gst/gstvalue.h: 
960         * gst/gstvalue.c (gst_value_array_append_value) 
961         (gst_value_array_prepend_value, gst_value_array_get_size) 
962         (gst_value_array_get_value): New API, copied from
963         gst_value_list_*, only operates on arrays.
964         (gst_value_list_append_value, gst_value_list_prepend_value) 
965         (gst_value_list_concat, gst_value_list_get_size) 
966         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
967
968         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
969         init_list, because it works on both.
970         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
971         (gst_value_copy_list_or_array): Renamed from copy_list.
972         (gst_value_free_list_or_array): Renamed from free_list.
973         (gst_value_collect_list_or_array): Renamed from collect_list.
974         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
975         (gst_value_list_or_array_peek_pointer): Renamed from
976         list_peek_pointer.
977         (_gst_value_array_value_table, _gst_value_list_value_table):
978         Update value table functions.
979         (gst_value_compare_list_or_array): Renamed from compare_list.
980
981         * gsttaglist.h: Whoops, foreach function returns void. Also fix
982         some constness.
983
984         * gst/gsttaglist.c:
985         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
986         GstTagList*. Fixes #143472.
987
988         * gst/gststructure.h: Clarify what the foreach/map functions can
989         or can't do to their arguments.
990
991 2005-11-18  Wim Taymans  <wim@fluendo.com>
992
993         * gst/gstclock.c: (gst_clock_set_calibration),
994         (gst_clock_get_calibration):
995         Doc and API fixes.
996         Calibration can be set with internal time equal to current
997         internal time too.
998
999 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1000
1001         * gst/gsterror.c:
1002         * gst/gsterror.h:
1003           document
1004
1005 2005-11-18  Andy Wingo  <wingo@pobox.com>
1006
1007         * configure.ac: 
1008         * pkgconfig/gstreamer-net.pc.in:
1009         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1010         * pkgconfig/Makefile.am: Add net pkgconfig files.
1011
1012 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1013
1014         * gst/gstcaps.c:
1015         * gst/gstghostpad.c:
1016         * gst/gsttrace.c:
1017         * gst/gstvalue.c:
1018         * gst/gstvalue.h:
1019           docs fixes
1020
1021 2005-11-18  Andy Wingo  <wingo@pobox.com>
1022
1023         * gst/net/gstnetclientclock.c: Turn off debugging.
1024
1025         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1026         times connverge somewhat. Can't make a real test.
1027
1028         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1029         integer arithmetic. Return the minimum of the domain, which can be
1030         set as "internal" for gst_clock_set_calibration.
1031         (gst_net_client_clock_observe_times): Call _set_calibration.
1032         (gst_net_client_clock_new): Call _set_calibration instead of
1033         rate_offset.
1034
1035         * check/net/gstnetclientclock.c (test_functioning): Use the right
1036         adjustment api.
1037
1038         * gst/gstclock.h:
1039         * gst/gstclock.c (gst_clock_get_calibration) 
1040         (gst_clock_set_calibration): New functions, obsolete the ones I
1041         added yesterday. Doh. Precision issues mean we have to extrapolate
1042         from a point in the more recent past than 1970.
1043         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1044         obsolete.
1045         (gst_clock_adjust_unlocked): Use the right calibration data.
1046
1047 2005-11-18  Edward Hervey  <edward@fluendo.com>
1048
1049         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1050         Also reset the ->current_* values in READY->PAUSED
1051
1052 2005-11-18  Andy Wingo  <wingo@pobox.com>
1053
1054         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1055         Whoops, check the right fd. Also add some debugging.
1056         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1057         (do_linear_regression): Add a crapload of debugging. Subtract off
1058         the minimum values from the input series to discard unneeded bits.
1059         Use only int arithmetic. There is still double arithmetic when
1060         calculating the intercept that needs fixing. Return boolean to
1061         indicate success; FALSE would mean the domain or range is too
1062         great. Still needs fixes.
1063
1064 2005-11-18  Wim Taymans  <wim@fluendo.com>
1065
1066         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1067         For the current position in stream time, we need to subtract
1068         accumulated time.
1069         
1070         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1071         Release lock before calling the callback function of async
1072         entries.
1073
1074 2005-11-18  Andy Wingo  <wingo@pobox.com>
1075
1076         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1077         Port goes all the way to MAXUINT16.
1078
1079         * gst/net/gstnettimeprovider.c: Make the port range the same as
1080         for the kernel: 0 assigns, otherwise ports are less than
1081         MAXUINT16.
1082
1083         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1084         port change.
1085
1086         * check/net/gstnetclientclock.c (test_functioning): Add the start
1087         of another test. 
1088
1089 2005-11-18  Wim Taymans  <wim@fluendo.com>
1090
1091         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1092         (gst_bin_remove_func), (bin_bus_handler):
1093         * gst/gstbin.h:
1094         Removing a clock provider from a bin, triggers a clock lost message
1095         so that a new clock will be selected.
1096         Adding a clock to a bin triggers a clock provider message.
1097         Make sure we reselect a clock when we received a clock lost message.
1098         Keep a reference to the element that provided the clock.
1099
1100 2005-11-18  Andy Wingo  <wingo@pobox.com>
1101
1102         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1103         the clock initially so it produces values around the base time.
1104         (gst_net_client_clock_class_init): Typo fix.
1105         (gst_net_client_clock_thread): Add note on when the socket gets
1106         closed.
1107
1108 2005-11-17  Wim Taymans  <wim@fluendo.com>
1109
1110         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1111         Free remote and local time arrays.
1112
1113 2005-11-17  Wim Taymans  <wim@fluendo.com>
1114
1115         * gst/net/gstnetclientclock.c: (do_linear_regression),
1116         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1117         Fix compilation, uninitialized vars and a forgotten continue.
1118
1119 2005-11-17  Andy Wingo  <wingo@pobox.com>
1120
1121         * check/Makefile.am (check_PROGRAMS): 
1122         * check/net/gstnetclientclock.c: Add a most minimal test for the
1123         net client clock. More to come later.
1124
1125         * gst/net/gstnet.h: 
1126         * gst/net/Makefile.am: Add netclientclock.
1127
1128         * gst/net/gstnetclientclock.h:
1129         * gst/net/gstnetclientclock.c: New files, implement an untested
1130         GstClock that takes its time from a network time provider.
1131         Implements the algorithm in network-clock.scm.
1132
1133         * tests/network-clock.scm (*window-size*): Rename from
1134         *queue-length*.
1135         * tests/network-clock.scm (network-time): 
1136         * tests/network-clock-utils.scm (q-push): Update callers.
1137
1138 2005-11-17  Wim Taymans  <wim@fluendo.com>
1139
1140         * gst/gstbin.c: (gst_bin_provide_clock_func),
1141         (gst_bin_sort_iterator_new):
1142         And unref the child too..
1143
1144 2005-11-17  Wim Taymans  <wim@fluendo.com>
1145
1146         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1147         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1148         Refactor the sort iterator so it can be used while holding the
1149         LOCK too.
1150         Make clock selection select a clock closest to the source.
1151
1152 2005-11-17  Michael Smith <msmith@fluendo.com>
1153
1154         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1155         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1156         * gst/gstclock.h:
1157           Anonymous structs are a gcc (and some other compilers) extension, so
1158           don't use them. Since this is only for ABI-compatibility, and our
1159           API/ABI freeze is over in a few days, this whole thing will only
1160           last a few days, so don't bother trying to think up a meaningful
1161           name for the struct.
1162
1163 2005-11-17  Andy Wingo  <wingo@pobox.com>
1164
1165         * gst/gstclock.h (GstClock): Add rate and offset properties,
1166         preserving ABI stability. Add rate/offset accessors. Will file bug
1167         for the freeze break.
1168
1169         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1170         and offset, trying to keep precision and avoiding
1171         underflow/overflow.
1172         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1173         functions. Make gst_clock_set_time_adjust obsolete.
1174         (gst_clock_set_time_adjust): Note that this function is obsolete.
1175         Will file bug soon.
1176
1177         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1178         greppable by using GST_PADDING-1+1.
1179
1180 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1181
1182         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1183
1184         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1185           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1186
1187         * gst/gstpadtemplate.h:
1188         * gst/gstpluginfeature.h:
1189           Don't use c++ style comments in headers (#321638).
1190
1191 2005-11-16  Andy Wingo  <wingo@pobox.com>
1192
1193         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1194         buffer.
1195
1196         * check/net/gstnettimeprovider.c: Check to see that the time
1197         provider actually provides times. Works, yo!
1198
1199 2005-11-16  Wim Taymans  <wim@fluendo.com>
1200
1201         * check/Makefile.am:
1202         Enable more tests.
1203
1204         * check/elements/fakesrc.c: (GST_START_TEST):
1205         Set element to NULL before disposing it.
1206
1207 2005-11-16  Andy Wingo  <wingo@pobox.com>
1208
1209         * gst/net/Makefile.am:
1210         * gst/net/gstnet.h:
1211         * gst/net/gstnettimeprovider.c: 
1212         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1213         provider, include it from gstnet.h, and add it to the build.
1214
1215         * gst/net/gstnettimepacket.h: 
1216         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1217         sending and receiving.
1218
1219 2005-11-16  Wim Taymans  <wim@fluendo.com>
1220
1221         * check/Makefile.am:
1222         Enable valgrind check.
1223
1224         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1225         (gst_fake_src_alloc_buffer):
1226         Fix memleak.
1227
1228 2005-11-16  Wim Taymans  <wim@fluendo.com>
1229
1230         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1231         Call parent finalize too.
1232
1233 2005-11-16  Wim Taymans  <wim@fluendo.com>
1234
1235         * check/Makefile.am:
1236         Enable valgrind check that should work fine now.
1237
1238         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1239         * gst/gstqueue.c: (gst_queue_init):
1240         Fix memleaks in pad allocation.
1241
1242 2005-11-16  Andy Wingo  <wingo@pobox.com>
1243
1244         * gst/net/Makefile.am:
1245         * gst/net/gstnet.h: New part of core to hold network elements and
1246         objects. Put in core because it exposes API that applications want
1247         to use. The library is named libgstnet-tempname right now because
1248         of the existing libgstnet in gst-plugins-base. Solution is
1249         probably to rename the one in plugins-base; will file a bug for
1250         the freeze break.
1251
1252         * gst/net/gstnettimeprovider.c: 
1253         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1254         get_time call over the network.
1255
1256         * configure.ac: 
1257         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1258
1259         * check/Makefile.am:
1260         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1261         get additions shortly.
1262
1263 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1264
1265         * gst/gstpad.c: (gst_pad_new_from_static_template):
1266         * gst/gstpad.h:
1267           add gst_pad_new_from_static_template functions
1268         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1269         (gst_check_setup_sink_pad):
1270         * gst/elements/gsttee.c: (gst_tee_init):
1271           and use them
1272
1273 2005-11-16  Wim Taymans  <wim@fluendo.com>
1274
1275         * gst/gstpad.c: (gst_pad_pause_task):
1276         Removed warning, it's not really an error either.
1277
1278 2005-11-16  Wim Taymans  <wim@fluendo.com>
1279
1280         * gst/base/gstbasetransform.c:
1281         (gst_base_transform_prepare_output_buf),
1282         (gst_base_transform_event):
1283         Check if the caps are NULL, this can happen if the element
1284         is shutting down and the pad caps are set to NULL.
1285
1286 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1287
1288         * gst/elements/gsttee.c: (gst_tee_init):
1289           fix pad template leak in tee
1290
1291 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1292
1293         * gst/glib-compat.c: (g_value_dup_gst_object):
1294         * gst/glib-compat.h:
1295         * gst/gstpad.c: (gst_pad_set_property):
1296           use gst_object_ref when setting the pad template; this will
1297           trigger the pad template leaks on GLib 2.6 and the slaves
1298
1299 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1300
1301         * gst/glib-compat.c: (gst_flags_get_first_value):
1302         * gst/glib-compat.h:
1303         * gst/gstregistryxml.c:
1304           remove functions copied from GLib 2.6
1305
1306 2005-11-16  Michael Smith <msmith@fluendo.com>
1307
1308         * gst/Makefile.am:
1309           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1310           do, but only breaks with newer valgrind versions. We're not a
1311           valgrind tool, we have no link-time dependencies on libcoregrind.
1312
1313 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1314
1315         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1316           some debug changes
1317         * gst/gstmessage.h:
1318           typo fixes
1319
1320 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1321
1322         * gst/base/gstbasesrc.c: (gst_base_src_init):
1323         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1324         * gst/gstqueue.c: (gst_queue_init):
1325         * gst/gstregistryxml.c: (load_feature):
1326           Revert all these unrefs, they don't even pass make check !
1327
1328 2005-11-15  Johan Dahlin  <johan@gnome.org>
1329
1330         * gst/base/gstbasesrc.c: (gst_base_src_init):
1331         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1332         * gst/gstqueue.c: (gst_queue_init): 
1333         Free pad templates, fixes a couple of leaks.
1334
1335 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1336
1337         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1338
1339         * gst/gstpad.c: (gst_pad_get_property):
1340           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1341           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1342           (#321452)
1343
1344 2005-11-15  Wim Taymans  <wim@fluendo.com>
1345
1346         * gst/gstevent.c:
1347         Small doc update.
1348
1349 2005-11-15  Andy Wingo  <wingo@pobox.com>
1350
1351         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1352
1353         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1354         using GST_CLOCK_TIME_NONE to disable base time management.
1355         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1356         time if it was NONE before.
1357         (gst_pipeline_change_state): Only munge the base time if
1358         stream_time != GST_CLOCK_TIME_NONE.
1359
1360         * check/gst/gstpipeline.c (test_base_time): Punt around the
1361         problem of the probe not being called, because that's not the
1362         issue I'm looking at. Add a check that setting stream_time to NONE
1363         disables base time management.
1364         
1365 2005-11-15  Wim Taymans  <wim@fluendo.com>
1366
1367         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1368         segment_stop == -1 at startup.
1369
1370         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1371         (gst_base_transform_change_state):
1372         Init segment values at start.
1373
1374 2005-11-15  Wim Taymans  <wim@fluendo.com>
1375
1376         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1377         0 segment values are 0 in any format.
1378
1379         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1380         * gst/base/gstbasetransform.h:
1381         Parse newsegment correctly in basetransform
1382
1383         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1384         Sync to clock using updated segment values.
1385
1386 2005-11-15  Andy Wingo  <wingo@pobox.com>
1387
1388         * check/gst/gstpipeline.c (test_base_time): Add check that the
1389         base time and stream time are reset correctly.
1390
1391 2005-11-15  Wim Taymans  <wim@fluendo.com>
1392
1393         * docs/design/part-TODO.txt:
1394         Some more TODO items.
1395
1396 2005-11-15  Andy Wingo  <wingo@pobox.com>
1397
1398         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1399         error if the user selected "no clock" as the clocking method.
1400
1401         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1402         timestamps with live capture.
1403
1404         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1405         is 0 but we are a live source, timestamp the buffers using the
1406         element's clock.
1407
1408 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1409
1410         * docs/gst/gstreamer-sections.txt:
1411         * gst/gsterror.c:
1412         * gst/gstghostpad.c:
1413         * gst/gstobject.h:
1414         * gst/gstxml.c:
1415           more section docs
1416
1417 2005-11-14  Wim Taymans  <wim@fluendo.com>
1418
1419         * common/gst.supp:
1420           add suppressions from Wim's Debian machine
1421
1422 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1423
1424         * common/gst.supp:
1425           add suppressions from Andy's AMD64 Ubuntu machine
1426
1427 2005-11-14  Andy Wingo  <wingo@pobox.com>
1428
1429         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1430         STATE_LOCK not necessary. Fixes #311489.
1431
1432         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1433         #305291.
1434
1435         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1436         this function is not implemented.
1437
1438 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1439
1440         * gst/base/gstbasetransform.c:
1441         (gst_base_transform_prepare_output_buf):
1442         Ref the source pad caps while we need them.
1443         Fixes (#321386)
1444
1445 2005-11-11  Wim Taymans  <wim@fluendo.com>
1446
1447         * docs/gst/gstreamer-sections.txt:
1448         Added some docs for GstCollectData.
1449
1450         * gst/base/gstadapter.c:
1451         Some small code example fix.
1452
1453         * gst/base/gstcollectpads.c:
1454         * gst/base/gstcollectpads.h:
1455         Document some more.
1456
1457 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1458
1459         * configure.ac: back to HEAD
1460
1461 === release 0.9.5 ===
1462
1463 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
1464
1465         * configure.ac:
1466           releasing 0.9.5, "Bike Lunch Day"
1467
1468 2005-11-11  Wim Taymans  <wim@fluendo.com>
1469
1470         * gst/gstbuffer.c: (_gst_buffer_copy):
1471         Copy more flags.
1472
1473         * gst/gstcaps.c: (gst_caps_is_equal):
1474         Fix some docs.
1475         Make _is_equal fast in the trivial cases.
1476
1477         * gst/gstminiobject.c:
1478         * gst/gstminiobject.h:
1479         More docs. Spifify .h file.
1480
1481         * gst/gstutils.c:
1482         Small doc update.
1483
1484 2005-11-11  Wim Taymans  <wim@fluendo.com>
1485
1486         * gst/base/gstbasetransform.c:
1487         (gst_base_transform_prepare_output_buf),
1488         (gst_base_transform_handle_buffer):
1489         Small cleanups.
1490         If we're processing a buffer and need to allocate an output
1491         buffer, we cannot accept a format change. If we did get a 
1492         format change, we have to alloc a buffer ourselves of the 
1493         right size.
1494
1495 2005-11-11  Wim Taymans  <wim@fluendo.com>
1496
1497         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1498         While checking the flag for reentrancy in the gstcaps function
1499         is nice to detect recursive invocations, it also makes it 
1500         impossible to call getcaps from multiple threads, which must be
1501         possible. So, checking for recursive calls has to go.
1502
1503 2005-11-11  Michael Smith <msmith@fluendo.com>
1504
1505         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1506           Don't sync on buffers that fall partially outside our current
1507           segment. Prevents an assertion failure/abort playing some files.
1508
1509 2005-11-10  Andy Wingo  <wingo@pobox.com>
1510
1511         * check/gst/gstbin.c (test_message_state_changed_children): Style
1512         fix..
1513
1514         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1515         gst_bus_poll with the signal watch. Ensures that poll and a signal
1516         watch see the same messages.
1517
1518         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1519         a poll and a watch at the same time get the same messages.
1520
1521 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1522
1523         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1524         * gst/gstcaps.c: (gst_caps_intersect):
1525           Don't call gst_caps_do_simplify - it doesn't respect order of caps
1526           and it's not needed.
1527
1528 2005-11-10  Wim Taymans  <wim@fluendo.com>
1529
1530         * docs/design/part-TODO.txt:
1531         Updated todo.
1532
1533 2005-11-10  Wim Taymans  <wim@fluendo.com>
1534
1535         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1536         * gst/base/gstbasesrc.c: (gst_base_src_wait),
1537         (gst_base_src_do_sync), (gst_base_src_get_range):
1538         Implement clock sync in base class.
1539
1540 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1541
1542         patch by: Tim-Philipp Müller <tim at centricular dot net>
1543
1544         * gst/gststructure.c: (gst_structure_parse_field),
1545         (gst_structure_from_string):
1546           Forward-port a 0.8 patch to handle escaped spaces in structure string,
1547           so that gst_parse_launch() can deal with spaces in filtered link
1548           caps (fixes #164479)
1549         * check/gst/capslist.h:
1550         * check/gst/gststructure.c: (GST_START_TEST):
1551           add unit tests for this change
1552
1553 2005-11-10  Wim Taymans  <wim@fluendo.com>
1554
1555         * docs/gst/gstreamer-sections.txt:
1556         * gst/gstelement.c:
1557         * gst/gstelement.h:
1558         Fix docs, move some STATE macros to private.
1559
1560 2005-11-10  Wim Taymans  <wim@fluendo.com>
1561
1562         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1563         Added check for bug #317341
1564
1565         * gst/gstbuffer.c:
1566         * gst/gstbuffer.h:
1567         Some more spiffifying.
1568
1569         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1570         Call peer linkfunction if we are a source pad. Totally fixes
1571         #317341
1572
1573         * gst/gstpad.c:
1574         Update docs, source pads should call the peer linkfunction
1575         so they can atomically perform the pad link.
1576
1577 2005-11-09  Wim Taymans  <wim@fluendo.com>
1578
1579         * gst/gstbuffer.c:
1580         * gst/gstbuffer.h:
1581         Uber-spiffy-spiffify some more.
1582
1583 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
1584
1585         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1586         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1587         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1588         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1589         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1590         * gst/gstpad.c: (gst_pad_init):
1591           Use GST_DEBUG_FUNCPTR() more extensively.
1592
1593 2005-11-09  Wim Taymans  <wim@fluendo.com>
1594
1595         * gst/gstobject.c: (gst_object_class_init):
1596         * gst/gstobject.h:
1597         Documentation fixes.
1598
1599 2005-11-09  Edward Hervey  <edward@fluendo.com>
1600
1601         * gst/gsttypefindfactory.c:
1602         Fix docs.
1603         
1604 2005-11-09  Edward Hervey  <edward@fluendo.com>
1605
1606         * gst/base/gsttypefindhelper.c:
1607         * gst/gsttypefind.c:
1608         * gst/gsttypefind.h:
1609         Fix docs.
1610
1611 2005-11-09  Wim Taymans  <wim@fluendo.com>
1612
1613         * gst/gstiterator.c:
1614         Fix revision data.
1615
1616         * gst/gsttask.c:
1617         * gst/gsttask.h:
1618         Fix docs.
1619
1620 2005-11-09  Wim Taymans  <wim@fluendo.com>
1621
1622         * gst/gstevent.h:
1623         * gst/gsturi.h:
1624         Fix docs.
1625
1626 2005-11-09  Wim Taymans  <wim@fluendo.com>
1627
1628         * docs/gst/gstreamer-sections.txt:
1629         Moved the message async delivery private lock and cond
1630         to the private section.
1631
1632         * gst/gstmessage.c:
1633         * gst/gstmessage.h:
1634         Fixed docs.
1635
1636 2005-11-09  Edward Hervey  <edward@fluendo.com>
1637
1638         * docs/gst/gstreamer-sections.txt:
1639         * gst/gsturi.c:
1640         * gst/gsturi.h:
1641         Document GstURIHandler
1642
1643 2005-11-09  Wim Taymans  <wim@fluendo.com>
1644
1645         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1646         (gst_iterator_find_custom):
1647         * gst/gstiterator.h:
1648         Fix iterator docs.
1649
1650 2005-11-09  Wim Taymans  <wim@fluendo.com>
1651
1652         * gst/gstbin.h:
1653         Document another field.
1654
1655         * gst/gststructure.c:
1656         * gst/gststructure.h:
1657         Document.
1658
1659 2005-11-09  Wim Taymans  <wim@fluendo.com>
1660
1661         * gst/gstbin.h:
1662         Documented structs.
1663
1664 2005-11-09  Wim Taymans  <wim@fluendo.com>
1665
1666         * docs/gst/gstreamer-sections.txt:
1667         Added some new macros.
1668
1669         * gst/gstclock.c:
1670         * gst/gstclock.h:
1671         * gst/gstobject.h:
1672         Docs updates.
1673
1674 2005-11-09  Wim Taymans  <wim@fluendo.com>
1675
1676         * docs/design/part-TODO.txt:
1677         Some more items for the TODO
1678
1679         * gst/gstcaps.c:
1680         * gst/gstcaps.h:
1681         Document GstCaps.
1682
1683 2005-11-09  Andy Wingo  <wingo@pobox.com>
1684
1685         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1686         to work on something else now tho...
1687
1688         * gst/base/gstadapter.c: More adapter docs.
1689
1690         * gst/elements/gstfilesink.c (gst_file_sink_start) 
1691         (gst_file_sink_stop): New functions, replace the state change
1692         handler.
1693         (gst_file_sink_class_init): Hook up the start and stop functions.
1694         (gst_file_sink_base_init): Don't set the state change handler any
1695         more. It was a bit ugly too, being set from here...
1696         (gst_file_sink_get_property, gst_file_sink_set_property):
1697         Cleanups...
1698         (gst_file_sink_set_location): More robust check that doesn't call
1699         GST_STATE. Ugggggg.
1700
1701 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
1702
1703         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1704           Hold STREAM_LOCK while pushing newsegment or tag events as well.
1705
1706 2005-11-08  Wim Taymans  <wim@fluendo.com>
1707
1708         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1709         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1710         (gst_base_sink_chain), (gst_base_sink_change_state):
1711         * gst/base/gstbasesink.h:
1712         * gst/base/gstbasesrc.h:
1713         * gst/gstelement.h:
1714         * gst/gstevent.h:
1715         Avoid excessive typechecking in macros.
1716
1717         * gst/gstminiobject.c: (gst_mini_object_get_type),
1718         (gst_mini_object_init), (gst_mini_object_new),
1719         (gst_mini_object_free):
1720         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1721         (gst_object_finalize):
1722         Remove cruft code, optimize alloc_trace.
1723
1724 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1725
1726         * docs/faq/gst-uninstalled:
1727           fix up PS1 for systems that try to reset it
1728
1729 2005-11-07  Wim Taymans  <wim@fluendo.com>
1730
1731         * gst/base/gstbasesrc.c: (gst_base_src_init),
1732         (gst_base_src_get_range):
1733         Set the segment_end to -1 initially. Fixed typefind.
1734
1735 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1736
1737         * gst/base/gstadapter.c:
1738           Debug category should be 'adapter', not 'GstAdapter'.
1739           
1740         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1741         (gst_collectpads_class_init), (gst_collectpads_init),
1742         (gst_collectpads_peek), (gst_collectpads_pop),
1743         (gst_collectpads_event), (gst_collectpads_chain):
1744           Add debug category and some debugging output. Use boilerplate
1745           macros. Remove some extraneous words from docs.
1746
1747 2005-11-05  Andy Wingo  <wingo@pobox.com>
1748
1749         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1750         macro.
1751
1752 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1753
1754         * docs/gst/gstreamer-sections.txt:
1755         * gst/gstcaps.h:
1756         * gst/gstinfo.c:
1757         * gst/gstminiobject.h:
1758         * gst/gstobject.h:
1759         * gst/gstutils.h:
1760           more docs added
1761
1762 2005-11-04  Wim Taymans  <wim@fluendo.com>
1763
1764         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1765         Small update to stop at the configured segment_end
1766         position.
1767
1768 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1769
1770         * gst/gstregistry.c:
1771         * gst/gstregistry.h:
1772           added missing docs
1773
1774 2005-11-04  Edward Hervey  <edward@fluendo.com>
1775
1776         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1777         Check if we are doing a segment seek and have arrived at the
1778         end of that segment.
1779
1780 2005-11-04  Wim Taymans  <wim@fluendo.com>
1781
1782         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1783         Don't leak a mutex unlock in case of an error.
1784
1785         * gst/gstbus.h:
1786         Doc fixes.
1787
1788 2005-11-04  Wim Taymans  <wim@fluendo.com>
1789
1790         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1791         (gst_bus_post):
1792         Get the context to wake up only once.
1793
1794 2005-11-03  Wim Taymans  <wim@fluendo.com>
1795
1796         * check/states/sinks.c: (GST_START_TEST):
1797         Uncomment fixed check.
1798
1799         * docs/design/part-TODO.txt:
1800         Updated TODO.
1801
1802         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1803         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1804         (gst_base_sink_get_position):
1805         If we are going to PLAYING, post the right pending state
1806         when we post the intermediate paused message.
1807
1808         * gst/gstelement.c: (gst_element_continue_state),
1809         (gst_element_set_state_func), (gst_element_change_state):
1810         Don't post state changes that were between the same state
1811         and were not ASYNC.
1812
1813 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1814
1815         * docs/gst/gstreamer-sections.txt:
1816         * gst/gstcaps.h:
1817         * gst/gstinfo.c:
1818         * gst/gstminiobject.h:
1819         * gst/gstobject.h:
1820         * gst/gstutils.h:
1821           more docs and doc style fixes
1822
1823 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1824
1825         * docs/gst/gstreamer-sections.txt:
1826         * gst/gstelement.c:
1827         * gst/gstminiobject.c:
1828         doc fixes
1829
1830 2005-11-03  Andy Wingo  <wingo@pobox.com>
1831
1832         * check/states/sinks.c (test_livesrc_sink): Add checks that the
1833         state-changed messages actually have the right order and the right
1834         values.
1835
1836 2005-11-03  Wim Taymans  <wim@fluendo.com>
1837
1838         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1839         Added some more checks. Specifically the case where NO_PREROLL
1840         elements are in the pipeline.
1841
1842         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1843         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1844         (gst_base_sink_get_position):
1845         Post READY->PAUSED state change messages too.
1846         Fix bug where VOID was posted as pending state...
1847
1848         * gst/gstbin.c: (gst_bin_recalc_state):
1849         use _element_continue_state() to continue the state change.
1850
1851         * gst/gstelement.c: (gst_element_continue_state),
1852         (gst_element_commit_state), (gst_element_set_state_func),
1853         (gst_element_change_state), (gst_element_change_state_func):
1854         Lots of state change cleanups, assign the STATE_RETURN in
1855         a new continue_state() function that also propagates the
1856         last return value from a state change to the app.
1857         Update some debug statements with proper category.
1858
1859 2005-11-03  Wim Taymans  <wim@fluendo.com>
1860
1861         * docs/design/part-events.txt:
1862         * docs/design/part-gstpipeline.txt:
1863         * docs/design/part-messages.txt:
1864         * docs/design/part-overview.txt:
1865         * docs/design/part-seeking.txt:
1866         * docs/design/part-states.txt:
1867         * docs/design/part-trickmodes.txt:
1868         * docs/manual/advanced-position.xml:
1869         Small docs updates.
1870
1871         * gst/gstobject.h:
1872         People think !! is ugly, this looks better.
1873
1874         * gst/gstpad.c: (gst_pad_set_blocked_async):
1875         Remove !! since it's fixed elsewhere now.
1876
1877 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1878
1879         * gst/gstminiobject.h:
1880         * gst/gstobject.h:
1881           Add !! to _FLAG_IS_SET macros to make the result boolean.
1882
1883 2005-11-03  Edward Hervey  <edward@fluendo.com>
1884
1885         * gst/gstpad.c: (gst_pad_set_blocked_async):
1886         comparing a flag and a gboolean rarely returns coherent results...
1887         Added two characters (!!) to make that work correctly.
1888         
1889 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1890
1891         * gst/gstbus.c: (gst_bus_class_init):
1892           Fix some typos.
1893           
1894         * gst/gstqueue.c: (gst_queue_loop):
1895           Don't assume a miniobject that isn't a buffer is an
1896           event (it could be that there is a refcounting
1897           problem somewhere and the pointer is stale and
1898           refers to an already destroyed miniobject).
1899
1900 2005-11-03  Julien MOUTTE  <julien@moutte.net>
1901
1902         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1903
1904 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1905
1906         * docs/manual/advanced-position.xml:
1907           Update seek example and explanations to current 0.9 API.
1908
1909         * gst/elements/gsttypefindelement.c:
1910         (gst_type_find_element_activate):
1911           Remove FIXME comment now that the found caps
1912           are unreffed.
1913
1914 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1915
1916         * gst/gstregistryxml.c: (load_feature):
1917           Add another GST_STR_NULL instance
1918
1919 2005-11-02  Edward Hervey  <edward@fluendo.com>
1920
1921         * gst/gstpad.c: (handle_pad_block):
1922         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
1923         
1924 2005-11-02  Wim Taymans  <wim@fluendo.com>
1925
1926         * gst/gstbin.c:
1927         Fix typo in docs.
1928
1929         * gst/gstelement.c: (gst_element_commit_state):
1930         Remove unused value.
1931
1932         * gst/gstiterator.c:
1933         Mention that the returned element is reffed in the docs.
1934
1935 2005-11-02  Wim Taymans  <wim@fluendo.com>
1936
1937         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
1938         (gst_pad_push), (gst_pad_push_event):
1939         Unlock blocked pads when they are flushed.
1940
1941 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1942
1943         * docs/README:
1944         * docs/gst/gstreamer-sections.txt:
1945         * gst/gstbin.c:
1946           doc updates
1947         * gst/gstregistry.c: (gst_registry_scan_path_level):
1948           fix for a nasty little missed situation where an installed plug-in
1949           which was in the cache did not get overridden by an uninstalled one
1950           which was earlier in the plugin path because the newly created plugin
1951           for the uninstalled one (not in the registry) didn't get its
1952           ->registered set to TRUE
1953
1954 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1955
1956         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
1957         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
1958         (gst_collectpads_is_active), (gst_collectpads_collect),
1959         (gst_collectpads_collect_range), (gst_collectpads_start),
1960         (gst_collectpads_stop), (gst_collectpads_peek),
1961         (gst_collectpads_pop), (gst_collectpads_available),
1962         (gst_collectpads_read), (gst_collectpads_flush):
1963           Guard public API with assertions.
1964         
1965         * gst/gstpad.c:
1966           Fix docs for gst_pad_set_link_function().
1967
1968 2005-11-02  Johan Dahlin  <johan@gnome.org>
1969
1970         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
1971         Unref found_caps after we used it.
1972
1973 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1974
1975         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
1976           Don't try to ref NULL.
1977
1978 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1979
1980         * win32/common/config.h.in:
1981           provide a GST_FUNCTION that just gives a string for now
1982
1983 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1984
1985         * win32/common/gstenumtypes.c: (register_gst_object_flags),
1986         (gst_object_flags_get_type), (register_gst_bin_flags),
1987         (gst_bin_flags_get_type), (register_gst_buffer_flag),
1988         (gst_buffer_flag_get_type), (register_gst_bus_flags),
1989         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1990         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
1991         (gst_clock_return_get_type), (register_gst_clock_entry_type),
1992         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1993         (gst_clock_flags_get_type), (register_gst_state),
1994         (gst_state_get_type), (register_gst_state_change_return),
1995         (gst_state_change_return_get_type), (register_gst_state_change),
1996         (gst_state_change_get_type), (register_gst_element_flags),
1997         (gst_element_flags_get_type), (register_gst_core_error),
1998         (gst_core_error_get_type), (register_gst_library_error),
1999         (gst_library_error_get_type), (register_gst_resource_error),
2000         (gst_resource_error_get_type), (register_gst_stream_error),
2001         (gst_stream_error_get_type), (register_gst_event_type),
2002         (gst_event_type_get_type), (register_gst_seek_type),
2003         (gst_seek_type_get_type), (register_gst_seek_flags),
2004         (gst_seek_flags_get_type), (register_gst_format),
2005         (gst_format_get_type), (register_gst_index_certainty),
2006         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2007         (gst_index_entry_type_get_type),
2008         (register_gst_index_lookup_method),
2009         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2010         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2011         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2012         (gst_index_flags_get_type), (register_gst_debug_level),
2013         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2014         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2015         (gst_iterator_result_get_type), (register_gst_iterator_item),
2016         (gst_iterator_item_get_type), (register_gst_message_type),
2017         (gst_message_type_get_type), (register_gst_mini_object_flags),
2018         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2019         (gst_pad_link_return_get_type), (register_gst_flow_return),
2020         (gst_flow_return_get_type), (register_gst_activate_mode),
2021         (gst_activate_mode_get_type), (register_gst_pad_direction),
2022         (gst_pad_direction_get_type), (register_gst_pad_flags),
2023         (gst_pad_flags_get_type), (register_gst_pad_presence),
2024         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2025         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2026         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2027         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2028         (gst_plugin_flags_get_type), (register_gst_rank),
2029         (gst_rank_get_type), (register_gst_query_type),
2030         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2031         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2032         (gst_tag_flag_get_type), (register_gst_task_state),
2033         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2034         (gst_alloc_trace_flags_get_type),
2035         (register_gst_type_find_probability),
2036         (gst_type_find_probability_get_type), (register_gst_uri_type),
2037         (gst_uri_type_get_type), (register_gst_parse_error),
2038         (gst_parse_error_get_type):
2039         * win32/common/gstversion.h:
2040           update win32 copies
2041
2042 2005-11-01  Luca Ognibene  <luogni@tin.it>
2043
2044         * gst/gst.c:
2045           fix docs. popt is dead, long live GOption.
2046
2047 2005-10-31  Wim Taymans  <wim@fluendo.com>
2048
2049         * gst/gstbuffer.h:
2050         Small doc fix.
2051
2052 2005-10-31  Andy Wingo  <wingo@pobox.com>
2053
2054         * Boo!
2055
2056         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2057
2058         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2059         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2060         the possibility of deadlocks here if code calling notify() or
2061         set() has a lock that can be taken in another notify handler (ABBA
2062         with class lock and e.g. python GIL state lock).
2063
2064 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2065
2066         * gst/gstbus.c: Doc updates.
2067
2068 2005-10-28  Wim Taymans  <wim@fluendo.com>
2069
2070         * docs/design/part-TODO.txt:
2071         * gst/gstiterator.c:
2072         * gst/gstsystemclock.c:
2073         * gst/gstsystemclock.h:
2074         Doc updates.
2075
2076 2005-10-28  Edward Hervey  <edward@fluendo.com>
2077
2078         * docs/gst/gstreamer-docs.sgml:
2079         * docs/gst/gstreamer-sections.txt:
2080         the GstURIType documentation page is private, it only defines GstURIType
2081         which should be defined in the GstURIHandler page
2082         
2083 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2084
2085         * gst/gstbin.c: (gst_bin_class_init):
2086         * gst/gstbin.h:
2087         * gst/gstutils.c:
2088         Documentation updates.
2089
2090 2005-10-28  Wim Taymans  <wim@fluendo.com>
2091
2092         * docs/gst/gstreamer-sections.txt:
2093         * gst/gstclock.c:
2094         * gst/gstclock.h:
2095         Documented the clocks.
2096
2097 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2098
2099         * docs/gst/gstreamer-sections.txt:
2100           move some macros to private sections
2101         * gst/gstminiobject.c:
2102         * gst/gstminiobject.h:
2103           add descriptions provided by ds and some more
2104         * gst/gstpad.h:
2105           mark macro as to be removed
2106
2107 2005-10-28  Wim Taymans  <wim@fluendo.com>
2108
2109         * docs/design/part-TODO.txt:
2110         Add an item to TODO.
2111
2112         * gst/gstiterator.c: (gst_iterator_fold),
2113         (gst_iterator_find_custom):
2114         * gst/gstiterator.h:
2115         Add iterator docs.
2116
2117 2005-10-28  Wim Taymans  <wim@fluendo.com>
2118
2119         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2120         (gst_base_transform_init):
2121         Don't leak class.
2122
2123         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2124         An EOS event marks the queue as completely filled.
2125
2126 2005-10-27  Wim Taymans  <wim@fluendo.com>
2127
2128         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2129         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2130         Some more debugging.
2131
2132         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2133         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2134         (gst_base_transform_event), (gst_base_transform_getrange),
2135         (gst_base_transform_chain):
2136         * gst/base/gstbasetransform.h:
2137         Fix debugging,
2138         Protect transform and concurrent buffer alloc with a new lock.
2139         Try not to break ABI/API.
2140
2141 2005-10-27  Wim Taymans  <wim@fluendo.com>
2142
2143         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2144         (gst_base_src_init), (gst_base_src_query),
2145         (gst_base_src_default_newsegment),
2146         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2147         (gst_base_src_send_event), (gst_base_src_event_handler),
2148         (gst_base_src_pad_get_range), (gst_base_src_loop),
2149         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2150         (gst_base_src_start), (gst_base_src_deactivate),
2151         (gst_base_src_activate_push), (gst_base_src_change_state):
2152         Move some stuff around and cleanup things.
2153
2154 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2155
2156         * gst/base/gstbasesrc.c: (gst_base_src_query):
2157           Add missing break statements.
2158
2159 2005-10-27  Wim Taymans  <wim@fluendo.com>
2160
2161         * check/gst/gstbin.c: (GST_START_TEST):
2162         An extra refcount is taken in basesrc.
2163
2164         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2165         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2166         (gst_base_src_loop):
2167         Small cleanups, check for flushing after being unlocked from the 
2168         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2169         Don't send out EOS when going to READY.
2170
2171 2005-10-27  Wim Taymans  <wim@fluendo.com>
2172
2173         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2174         (gst_base_sink_get_position):
2175         Some more debug.
2176
2177         * gst/gstbin.c: (message_check), (bin_replace_message),
2178         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2179         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2180         (bin_query_duration_init), (bin_query_duration_fold),
2181         (bin_query_duration_done), (bin_query_generic_fold),
2182         (gst_bin_query):
2183         * tools/gst-launch.c: (main):
2184         Remove old option.
2185
2186 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2187
2188         * examples/controller/audio-example.c: (main):
2189         * examples/queue/queue.c: (event_loop):
2190         * gst/base/gstbasetransform.h:
2191         * gst/gstelement.c: (gst_element_send_event):
2192         * gst/gstevent.h:
2193         * gst/gstpad.c: (gst_pad_send_event):
2194           fixing examples
2195           fixing docs typos
2196           changing log priority in error situations
2197
2198 2005-10-25  Wim Taymans  <wim@fluendo.com>
2199
2200         * gst/gstbin.c: (message_check), (bin_replace_message),
2201         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2202         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2203         (bin_query_duration_init), (bin_query_duration_fold),
2204         (bin_query_duration_done), (bin_query_generic_fold),
2205         (gst_bin_query):
2206         Some doc and debug updates.
2207         Cache previously requested query DURATION for speed. invalidate
2208         cached duration if element posts a DURATION message.
2209
2210 2005-10-25  Wim Taymans  <wim@fluendo.com>
2211
2212         * docs/design/part-TODO.txt:
2213         Update TODO.
2214
2215         * gst/gstbin.c: (message_check), (bin_replace_message),
2216         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2217         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2218         (bin_query_duration_init), (bin_query_duration_fold),
2219         (bin_query_duration_done), (bin_query_generic_fold),
2220         (gst_bin_query):
2221         Handle SEGMENT_START/DONE messages correctly.
2222         More evolved query algorithm that handles duration queries
2223         correctly.
2224
2225         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2226         (gst_element_get_state_func), (gst_element_abort_state),
2227         (gst_element_commit_state), (gst_element_lost_state):
2228         Some more debugging.
2229
2230         * gst/gstmessage.h:
2231         Added doc.
2232
2233 2005-10-25  Wim Taymans  <wim@fluendo.com>
2234
2235         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2236         Don't use invalid stream_time.
2237
2238         * gst/gstevent.c: (gst_event_new_newsegment):
2239         stream_time in newsegment cannot be undefined.
2240
2241 2005-10-24  Wim Taymans  <wim@fluendo.com>
2242
2243         * gst/gstbus.c:
2244         Doc fix.
2245
2246         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2247         (gst_queue_loop):
2248         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2249
2250 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2251
2252         * docs/libs/tmpl/gstdparam.sgml:
2253         * docs/libs/tmpl/gstdplinint.sgml:
2254         * docs/libs/tmpl/gstdpman.sgml:
2255         * docs/libs/tmpl/gstdpsmooth.sgml:
2256         * docs/libs/tmpl/gstunitconvert.sgml:
2257           these are obsolete
2258
2259 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2260
2261         * configure.ac:
2262           back to HEAD
2263
2264 === release 0.9.4 ===
2265
2266 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2267
2268         * configure.ac:
2269           releasing 0.9.4, "Tyrannosaurus Rex"
2270
2271 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2272
2273         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2274         (gst_file_sink_get_current_offset):
2275           Use fseeko() and ftello() if available. When falling back on
2276           lseek() to get the current offset, fflush() first to make sure
2277           everything is up-to-date and we get the right offset.
2278
2279 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2280
2281         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2282         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2283         * gst/gsterror.c: (_gst_stream_errors_init):
2284         * gst/gsterror.h:
2285         * gst/gstqueue.c: (gst_queue_loop):
2286         * po/POTFILES.in:
2287           remove prematurely added error category and clean up the instances
2288
2289 2005-10-21  Wim Taymans  <wim@fluendo.com>
2290
2291         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2292         (gst_base_sink_get_position), (gst_base_sink_query),
2293         (gst_base_sink_change_state):
2294         Simply set the right flag when going to playing, that's all
2295         we need to do instead of calling a function inside the object
2296         lock (that could take the lock as well and deadlock)
2297
2298 2005-10-21  Wim Taymans  <wim@fluendo.com>
2299
2300         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2301         (gst_base_src_loop):
2302         Don't warn, the peer element knows what to do best when
2303         the seek failed, it might try something else.
2304
2305 2005-10-21  Wim Taymans  <wim@fluendo.com>
2306
2307         * gst/base/gstbasesrc.c: (gst_base_src_init),
2308         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2309         Fix seeking.
2310
2311 2005-10-21  Wim Taymans  <wim@fluendo.com>
2312
2313         * docs/design/part-segments.txt:
2314         More docs.
2315
2316         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2317         Correctly set caps, even on the subbufer.
2318
2319 2005-10-21  Wim Taymans  <wim@fluendo.com>
2320
2321         * docs/gst/gstreamer-docs.sgml:
2322         * docs/gst/gstreamer-sections.txt:
2323         * gst/gstelement.h:
2324         * gst/gstevent.c:
2325         * gst/gstevent.h:
2326         * gst/gstmessage.h:
2327         * gst/gstpad.h:
2328         * gst/gstparse.h:
2329         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2330         * gst/gsttask.h:
2331         * gst/gstutils.c:
2332         * gst/gstutils.h:
2333         And 2% more doc coverage.
2334
2335 2005-10-21  Andy Wingo  <wingo@pobox.com>
2336
2337         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2338         position reporting.
2339
2340 2005-10-20  Wim Taymans  <wim@fluendo.com>
2341
2342         * gst/gsterror.c: (gst_error_get_message):
2343         * gst/gstparse.h:
2344         * gst/gstquery.h:
2345         * gst/gststructure.c:
2346         * gst/gsttrace.c:
2347         * gst/gstutils.c:
2348         More docs.
2349
2350 2005-10-20  Wim Taymans  <wim@fluendo.com>
2351
2352         * gst/gstbuffer.h:
2353         * gst/gstpad.c:
2354         * gst/gstparse.c:
2355         Another 1% more coverage.
2356
2357 2005-10-20  Wim Taymans  <wim@fluendo.com>
2358
2359         * docs/gst/gstreamer-sections.txt:
2360         * gst/gstelement.c: (gst_element_get_state_func),
2361         (gst_element_abort_state), (gst_element_commit_state),
2362         (gst_element_lost_state):
2363         * gst/gstevent.h:
2364         * gst/gstquery.c: (gst_query_set_position),
2365         (gst_query_parse_position), (gst_query_set_duration),
2366         (gst_query_parse_duration), (gst_query_new_convert):
2367         * gst/gstutils.c:
2368         Yay! 1% more docs coverage.
2369
2370 2005-10-20  Wim Taymans  <wim@fluendo.com>
2371
2372         * gst/gstpad.h:
2373         * gst/gstquery.c: (gst_query_set_position),
2374         (gst_query_parse_position), (gst_query_set_duration),
2375         (gst_query_parse_duration), (gst_query_new_convert):
2376         * gst/gstquery.h:
2377         * gst/gstutils.c: (gst_element_query_convert):
2378         * gst/gstutils.h:
2379         Docs and consistency fixes.
2380
2381 2005-10-20  Wim Taymans  <wim@fluendo.com>
2382
2383         * gst/gsttask.c:
2384         * gst/gsttask.h:
2385         More docs.
2386
2387 2005-10-20  Wim Taymans  <wim@fluendo.com>
2388
2389         * gst/gstbin.c: (message_check), (bin_replace_message),
2390         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2391         (update_degree), (gst_bin_sort_iterator_next),
2392         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2393         Reworked the message handling a bit, cache the messages instead of
2394         only the senders. alows us to do more in the future.
2395
2396 2005-10-20  Wim Taymans  <wim@fluendo.com>
2397
2398         * docs/design/part-TODO.txt:
2399         Update TODO
2400
2401         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2402         (gst_base_sink_query):
2403         Don't use clock time to report position when in EOS.
2404
2405 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2406
2407         * tools/gst-inspect.c: (print_interfaces),
2408         (print_element_properties_info), (print_element_info):
2409           Fix interface output with gst-inspect -a; don't print
2410           newlines after double/float properties.
2411
2412 2005-10-20  Wim Taymans  <wim@fluendo.com>
2413
2414         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2415         (gst_base_sink_query):
2416         Speed up current position calculation.
2417
2418         * gst/base/gstbasesrc.c: (gst_base_src_query),
2419         (gst_base_src_default_newsegment):
2420         Correctly set stream position in newsegment.
2421
2422         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2423         (update_degree), (gst_bin_sort_iterator_next),
2424         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2425         * gst/gstmessage.c: (gst_message_new_custom):
2426         Clean up debugging info
2427
2428         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2429         (gst_queue_loop), (gst_queue_handle_src_query):
2430         Pause task faster.
2431
2432 2005-10-19  Wim Taymans  <wim@fluendo.com>
2433
2434         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2435         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2436         Fix query handling again.
2437
2438 2005-10-19  Wim Taymans  <wim@fluendo.com>
2439
2440         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2441         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2442         * gst/base/gstbasesrc.c: (gst_base_src_query):
2443         * gst/elements/gstfilesink.c: (gst_file_sink_query):
2444         * gst/elements/gsttypefindelement.c:
2445         (gst_type_find_handle_src_query), (find_element_get_length),
2446         (gst_type_find_element_activate):
2447         API change fix.
2448
2449         * gst/gstquery.c: (gst_query_new_position),
2450         (gst_query_set_position), (gst_query_parse_position),
2451         (gst_query_new_duration), (gst_query_set_duration),
2452         (gst_query_parse_duration), (gst_query_set_segment),
2453         (gst_query_parse_segment):
2454         * gst/gstquery.h:
2455         Bundling query position/duration is not a good idea since duration
2456         does not change much and we don't want to recalculate it for every
2457         position query, so they are separated again..
2458         Base value in segment query is not needed.
2459
2460         * gst/gstqueue.c: (gst_queue_handle_src_query):
2461         * gst/gstutils.c: (gst_element_query_position),
2462         (gst_element_query_duration), (gst_pad_query_position),
2463         (gst_pad_query_duration):
2464         * gst/gstutils.h:
2465         Updates for query API change.
2466         Added some docs here and there.
2467
2468 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
2469
2470         * check/gst/gstbin.c: (GST_START_TEST):
2471         * check/gst/gstghostpad.c: (GST_START_TEST):
2472         * check/pipelines/cleanup.c: (GST_START_TEST):
2473           wait on thread to die so we can check refcount correctly
2474
2475 2005-10-18  Wim Taymans  <wim@fluendo.com>
2476
2477         * check/pipelines/stress.c: (GST_START_TEST):
2478         Make check a little more time consuming.
2479
2480 2005-10-18  Wim Taymans  <wim@fluendo.com>
2481
2482         * check/Makefile.am:
2483         * check/pipelines/stress.c: (GST_START_TEST),
2484         (simple_launch_lines_suite), (main):
2485         Small state change torture test.
2486
2487         * docs/design/part-states.txt:
2488         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2489         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2490         (gst_base_sink_change_state):
2491         Never take state lock from streaming thread, clean up ugly
2492         hacks. Unfortunatly core does not yet support nice ways to
2493         async commit state.
2494         
2495         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2496         (bin_bus_handler):
2497         Start state recalc if a STATE_DIRTY message is posted, but only
2498         on the toplevel bin.
2499
2500         * gst/gstelement.c: (gst_element_sync_state_with_parent),
2501         (gst_element_get_state_func), (gst_element_abort_state),
2502         (gst_element_commit_state), (gst_element_lost_state),
2503         (gst_element_set_state_func), (gst_element_change_state):
2504         * gst/gstelement.h:
2505         State variables are now protected with the LOCK, the state
2506         lock is only used to serialize _set_state().
2507
2508 2005-10-18  Wim Taymans  <wim@fluendo.com>
2509
2510         * check/gst/gstbin.c: (GST_START_TEST):
2511         * check/gst/gstmessage.c: (GST_START_TEST):
2512         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2513         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2514         (bin_bus_handler):
2515         * gst/gstelement.c: (gst_element_abort_state),
2516         (gst_element_commit_state), (gst_element_lost_state):
2517         * gst/gstmessage.c: (gst_message_new_state_changed),
2518         (gst_message_new_state_dirty), (gst_message_new_segment_start),
2519         (gst_message_new_segment_done), (gst_message_new_duration),
2520         (gst_message_parse_state_changed),
2521         (gst_message_parse_segment_start),
2522         (gst_message_parse_segment_done), (gst_message_parse_duration):
2523         * gst/gstmessage.h:
2524         * tools/gst-launch.c: (event_loop):
2525         Seriously, this is better than a previous commit as we only need
2526         to notify the fact that an element changed state in a streaming
2527         thread, marking the state of the parents dirty, hence the 
2528         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2529         message.
2530
2531 2005-10-18  Wim Taymans  <wim@fluendo.com>
2532
2533         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2534         (gst_bin_recalc_func):
2535         * gst/gstelement.c: (gst_element_set_clock),
2536         (gst_element_abort_state), (gst_element_lost_state):
2537         Cleanups, prepare for state change fixes.
2538
2539 2005-10-18  Wim Taymans  <wim@fluendo.com>
2540
2541         * gst/gstbin.h:
2542         * gst/gstelement.c: (gst_element_class_init),
2543         (gst_element_set_state), (gst_element_set_state_func):
2544         * gst/gstelement.h:
2545         Pending ABI changes.
2546         GThreadPool in GstBinClass to monitor async state changes.
2547         state_cookie in GstElement to detect concurrent gst/set state.
2548         set_state is now virtual too in case a very complicated element
2549         has to be constructed.
2550
2551 2005-10-18  Wim Taymans  <wim@fluendo.com>
2552
2553         * check/gst/gstbin.c: (GST_START_TEST):
2554         * check/gst/gstmessage.c: (GST_START_TEST):
2555         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2556         * gst/gstbin.c: (bin_bus_handler):
2557         * gst/gstelement.c: (gst_element_commit_state),
2558         (gst_element_lost_state):
2559         * gst/gstmessage.c: (gst_message_new_state_changed),
2560         (gst_message_new_segment_start), (gst_message_new_segment_done),
2561         (gst_message_new_duration), (gst_message_parse_state_changed),
2562         (gst_message_parse_segment_start),
2563         (gst_message_parse_segment_done), (gst_message_parse_duration):
2564         * gst/gstmessage.h:
2565         * tools/gst-launch.c: (event_loop):
2566         Make messages future proof.
2567         state-change gets a flag if it was a message comming from the
2568         streaming thread.
2569         segment-start/stop can also be specified in other formats.
2570         A message to notify an app that a pipeline changed playback 
2571         duration.
2572         Also fix a GstMessage leak in -launch
2573
2574 2005-10-18  Andy Wingo  <wingo@pobox.com>
2575
2576         * gst/gstelement.c (gst_element_dispose): More helpful message.
2577
2578 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2579
2580         reviewed by: <delete if not using a buddy>
2581
2582         * common/gtk-doc.mak:
2583
2584 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2585
2586         * gst/gstregistry.c: (gst_registry_scan_path_level):
2587           unref a plug-in we get that was already initialized
2588
2589 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
2590
2591         * docs/gst/gstreamer-sections.txt:
2592         * docs/libs/gstreamer-libs-sections.txt:
2593         * gst/gstelement.h:
2594           add new api entries
2595           hide internal macro
2596
2597 2005-10-17  Andy Wingo  <wingo@pobox.com>
2598
2599         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2600         cleanup.
2601
2602         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2603
2604         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2605
2606         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2607         (gst_element_get_state_func): Better debug message.
2608         (gst_element_commit_state): s/INFO/DEBUG/.
2609         (gst_element_lost_state, gst_element_change_state): 
2610
2611         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2612         (gst_message_new_custom): s/INFO/LOG/.
2613
2614 2005-10-17  Michael Smith <msmith@fluendo.com>
2615
2616         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2617           Check if end time is valid using end time, not start time.
2618
2619 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
2620
2621         * check/gst-libs/controller.c: (GST_START_TEST),
2622         (gst_controller_suite):
2623         * libs/gst/controller/gstcontroller.c:
2624         (gst_controlled_property_set_interpolation_mode):
2625         * libs/gst/controller/gstcontroller.h:
2626         * libs/gst/controller/gstinterpolation.c:
2627         * testsuite/controller/.cvsignore:
2628         * testsuite/controller/Makefile.am:
2629         * testsuite/controller/interpolator.c:
2630           merge controller testsuites
2631           fix broken tests
2632           remove mem-chunk from docs
2633
2634 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2635
2636         * gst/gstmemchunk.c:
2637         * gst/gstmemchunk.h:
2638         * gst/gsttrashstack.c:
2639         * gst/gsttrashstack.h:
2640           out.  get out.  you're fired.  to the Attic !
2641
2642 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2643
2644         * gst/gstcaps.c: (gst_caps_intersect):
2645           fix signedness issues in a (hopefully) correct way
2646         * gst/gstelement.c: (gst_element_pads_activate):
2647           some debugging
2648         * gst/gstobject.c: (gst_object_set_parent):
2649           some debugging
2650
2651 2005-10-17  Julien MOUTTE  <julien@moutte.net>
2652
2653         * gst/gstvalue.h: Fix prototypes.
2654
2655 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2656
2657         * docs/gst/gstreamer-sections.txt:
2658         * gst/gst.c: (gst_version_string):
2659         * gst/gst.h:
2660         * gst/gstversion.h.in:
2661         * win32/common/libgstreamer.def:
2662           add gst_version_string ()
2663
2664 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2665
2666         * configure.ac:
2667           clean up further
2668         * gst/gst.c: (init_post):
2669         * win32/common/config.h.in:
2670           it's PLUGINDIR now
2671         * gst/gstcaps.c: (gst_caps_intersect):
2672           use gint64, the range could be bigger than a guint
2673
2674 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2675
2676         * gst/gstclock.h:
2677           document potential problem in 2038
2678
2679 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2680
2681         * gst/gstcaps.c: (gst_caps_intersect):
2682           Fix guint j diving under 0
2683
2684 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2685
2686         * configure.ac:
2687         * win32/common/config.h:
2688         * win32/common/config.h.in:
2689           check for process.h, declares getpid() on Windows
2690         * gst/gstinfo.c:
2691           include process.h if we have it
2692         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2693         * gst/gstmemchunk.h:
2694           fix signedness issues
2695         * win32/common/libgstreamer.def:
2696           fix get_type's
2697
2698 2005-10-16  Julien MOUTTE  <julien@moutte.net>
2699
2700         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2701         fix. Because of unsigned ints, caps intersection was going nuts and
2702         trying to access structures with G_MAXUINT index. That fixes
2703         videotestsrc ! ffmpegcolorspace ! fakesink
2704         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2705         consistency.
2706
2707 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2708
2709         * configure.ac:
2710           use the gettext macro
2711         * gst/elements/gstelements.c:
2712         * gst/gst.c:
2713         * gst/indexers/gstindexers.c:
2714           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2715         * win32/common/config.h:
2716           updated config.h
2717         * win32/common/config.h.in:
2718           add the template to generate config.h
2719         * win32/common/gstenumtypes.c:
2720         * win32/common/gstversion.h:
2721           updated copies
2722
2723 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2724
2725         * gst/gst.c: (gst_version):
2726         * gst/gstversion.h.in:
2727           add the nano
2728
2729 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2730
2731         * gst/gstevent.h:
2732           Oops, add missing closing bracket.
2733
2734 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2735
2736         * configure.ac:
2737           use common m4's for argument checking
2738
2739 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2740
2741         * docs/gst/gstreamer-sections.txt:
2742         * gst/gstevent.h:
2743           Add GST_EVENT_TYPE_NAME() macro.
2744
2745 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2746
2747         * gst/gstinfo.c:
2748         * gst/gstpluginfeature.c:
2749         * gst/gsttask.c:
2750           privatize more symbols
2751
2752 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2753
2754         * configure.ac:
2755           add srcdir, builddir includes to GST_ALL_CFLAGS, since
2756           everything that uses GStreamer API should have the includes
2757
2758 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2759
2760         * docs/gst/gstreamer-sections.txt:
2761         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2762         * gst/gstvalue.h:
2763           give each value a _get_type, removes the DATA exports
2764
2765 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2766
2767         * gst/gst.c:
2768         * gst/gst.h:
2769           remove _gst_registry_auto_load, not used anymore
2770         * gst/gstbin.c: (gst_bin_get_type):
2771         * gst/gstbin.h:
2772         * gst/gstelement.c: (gst_element_get_type):
2773         * gst/gstelement.h:
2774         * gst/gstobject.c: (gst_object_get_type):
2775         * gst/gstobject.h:
2776         * gst/gstpad.c: (gst_pad_get_type):
2777         * gst/gstpad.h:
2778           make _get_type functions similar, fixes data export from library
2779
2780 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2781
2782         * configure.ac:
2783           correctly make conditionals
2784         * gst/elements/Makefile.am:
2785         * gst/elements/gstelements.c:
2786           fix typo causing fdsrc not to build
2787
2788 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2789
2790         * testsuite/Makefile.am:
2791         * testsuite/bytestream/.cvsignore:
2792         * testsuite/bytestream/Makefile.am:
2793         * testsuite/bytestream/filepadsink.c:
2794         * testsuite/bytestream/gstbstest.c:
2795         * testsuite/bytestream/test1.c:
2796         * testsuite/bytestream/testfile1:
2797         * testsuite/caps/normalisation.c:
2798         * testsuite/caps/random.c: (main):
2799         * testsuite/cleanup/.cvsignore:
2800         * testsuite/cleanup/Makefile.am:
2801         * testsuite/cleanup/cleanup1.c:
2802         * testsuite/cleanup/cleanup2.c:
2803         * testsuite/cleanup/cleanup3.c:
2804         * testsuite/cleanup/cleanup4.c:
2805         * testsuite/cleanup/cleanup5.c:
2806         * testsuite/controller/interpolator.c:
2807         * testsuite/debug/printf_extension.c: (main):
2808         * testsuite/elements/tee.c:
2809         * testsuite/negotiation/.cvsignore:
2810         * testsuite/negotiation/Makefile.am:
2811         * testsuite/negotiation/pad_link.c:
2812         * testsuite/pad/Makefile.am:
2813         * testsuite/pad/chainnopull.c:
2814         * testsuite/pad/getnopush.c:
2815         * testsuite/pad/link.c:
2816         * testsuite/refcounting/sched.c: (create_pipeline):
2817         * testsuite/registry/Makefile.am:
2818         * testsuite/registry/gst-print-formats.c:
2819         * testsuite/schedulers/.cvsignore:
2820         * testsuite/schedulers/142183-2.c:
2821         * testsuite/schedulers/142183.c:
2822         * testsuite/schedulers/143777-2.c:
2823         * testsuite/schedulers/143777.c:
2824         * testsuite/schedulers/147713.c:
2825         * testsuite/schedulers/147819.c:
2826         * testsuite/schedulers/147894-2.c:
2827         * testsuite/schedulers/147894.c:
2828         * testsuite/schedulers/Makefile.am:
2829         * testsuite/schedulers/group_link.c:
2830         * testsuite/schedulers/queue_link.c:
2831         * testsuite/schedulers/relink.c:
2832         * testsuite/schedulers/unlink.c:
2833         * testsuite/schedulers/unref.c:
2834         * testsuite/schedulers/useless_iteration.c:
2835         * testsuite/states/bin.c:
2836           clean out/remove some stuff from the testsuite directories
2837
2838 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2839
2840         * configure.ac:
2841           check for some headers
2842         * gst/elements/Makefile.am:
2843         * gst/elements/gstelements.c:
2844           don't compile fdsrc without sys/socket.h
2845         * gst/indexers/Makefile.am:
2846         * gst/indexers/gstindexers.c: (plugin_init):
2847           don't compile fileindex without mmap
2848
2849 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2850
2851         * configure.ac:
2852           reorganize
2853           clean up
2854           document more
2855           remove cruft
2856         * check/Makefile.am:
2857         * docs/gst/Makefile.am:
2858         * examples/helloworld/Makefile.am:
2859         * gst/Makefile.am:
2860         * gst/base/Makefile.am:
2861         * gst/check/Makefile.am:
2862         * gst/elements/Makefile.am:
2863         * gst/indexers/Makefile.am:
2864         * gst/parse/Makefile.am:
2865         * libs/gst/controller/Makefile.am:
2866         * libs/gst/dataprotocol/Makefile.am:
2867         * examples/helloworld/helloworld.c: (event_loop):
2868           compile fixes, though it's not being compiled currently
2869
2870 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2871
2872         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2873           Add some simple tests for the new taglist date API.
2874
2875 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2876
2877         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2878         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2879           Beautify 'last-message' output: print 'none' for buffer timestamps
2880           and durations if none is set; improve alignment with next messages.
2881
2882 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2883
2884         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2885         * gst/gstpluginfeature.h:
2886         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2887         * gst/gstregistry.h:
2888         * docs/gst/gstreamer-sections.txt:
2889           Add new API to check plugin feature version requirements.
2890
2891         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2892           Some basic tests for the above.         
2893
2894 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2895
2896         * gst/gststructure.c: (gst_structure_to_string):
2897           guard against NULL printf - happens when for example
2898           a message structure with GstClock gets serialized
2899
2900 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2901
2902         * gst/base/gstcollectpads.c: (gst_collectpads_event):
2903           Fix presumable copy'n'pasto.
2904
2905 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2906
2907         * gst/elements/gstfakesrc.h:
2908         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
2909         * gst/elements/gsttypefindelement.c:
2910           fix some signedness
2911         * gst/elements/gstfilesink.c: (gst_file_sink_render):
2912           I wonder if this could actually write +2GB files before
2913
2914 2005-10-13  Andy Wingo  <wingo@pobox.com>
2915
2916         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
2917         Fix Timmeke Waymans bug.
2918         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
2919         string of the proper length to gst_caps_from_string. There's a
2920         potential for, before this fix, that this could cause someone
2921         connecting over the network to cause a segfault if the payload is
2922         not NUL-terminated.
2923
2924 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
2925
2926         * docs/design/draft-push-pull.txt:
2927         * docs/design/part-overview.txt:
2928         * docs/random/TODO-pre-0.9:
2929         * docs/random/old/ChangeLog.gstreamer:
2930         * gst/base/gstpushsrc.c:
2931         * gst/gstclock.c:
2932           fixed typos
2933
2934 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2935
2936         * gst/glib-compat.c: (gst_flags_get_first_value):
2937         * gst/glib-compat.h:
2938         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
2939         (gst_value_compare_double), (gst_value_serialize_flags):
2940           GLib 2.6 g_flags_get_first_value has a bug that triggers an
2941           infinite loop
2942
2943 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2944
2945         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2946         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2947           fix up debugging
2948         * tools/gst-launch.c: (event_loop):
2949           print out clock nicely
2950
2951 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2952
2953         * docs/gst/gstreamer-sections.txt:
2954         * gst/gsttaglist.h:
2955         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
2956         (gst_tag_list_get_date_index):
2957           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
2958           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
2959
2960 2005-10-13  Julien MOUTTE  <julien@moutte.net>
2961
2962         * gst/base/gstcollectpads.c: (gst_collectpads_event),
2963         (gst_collectpads_chain):
2964         * gst/base/gstcollectpads.h: Handle newsegment and store informations
2965         in CollectData.
2966
2967 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
2968
2969         * docs/gst/gstreamer-sections.txt:
2970         * gst/gst.c:
2971         * gst/gsterror.h:
2972         * tools/gst-inspect.c: (main):
2973         * tools/gst-launch.c: (main):
2974         * tools/gst-run.c: (main):
2975         * tools/gst-xmlinspect.c: (main):
2976           fix GOption context leaks
2977           doc fixes
2978
2979 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2980
2981         * gst/gstbus.c:
2982           use HAVE_UNISTD_H
2983         * win32/common/config.h:
2984           update config
2985         * win32/vs6/grammar.dsp:
2986         * win32/vs6/libgstelements.dsp:
2987         * win32/vs6/libgstreamer.dsp:
2988           update vs6 files
2989
2990 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2991
2992         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2993         * gst/base/gstbasesrc.c: (gst_base_src_query):
2994           fix more guint64<->gdouble conversions
2995
2996 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2997
2998         * Makefile.am:
2999           add win32-update target
3000         * win32/common/gstconfig.h:
3001         * win32/common/gstenumtypes.c:
3002         * win32/common/gstenumtypes.h:
3003         * win32/common/gstversion.h:
3004           add files that visual studio can't generate
3005
3006 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3007
3008         * Makefile.am:
3009           add a win32-update target
3010         * configure.ac:
3011
3012 2005-10-12  Wim Taymans  <wim@fluendo.com>
3013
3014         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3015         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3016         * gst/gstelement.c: (gst_element_commit_state),
3017         (gst_element_set_state):
3018         Protect flags with proper lock.
3019         unref provided cached clock in dispose.
3020
3021 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3022
3023         * gst/gst.c:
3024         * gst/gstminiobject.h:
3025         * gst/gstpad.h:
3026         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3027           removed unused flags from miniobject
3028           doc fixes
3029
3030 2005-10-12  Wim Taymans  <wim@fluendo.com>
3031
3032         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3033         (gst_file_sink_event), (gst_file_sink_render):
3034         Flush before seeking.
3035
3036 2005-10-12  Andy Wingo  <wingo@pobox.com>
3037
3038         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3039         always been the case.
3040
3041 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3042
3043         * check/gst/gstbin.c: (GST_START_TEST):
3044         * docs/gst/gstreamer-sections.txt:
3045         * gst/base/gstbasesink.c: (gst_base_sink_init):
3046         * gst/base/gstbasesrc.c: (gst_base_src_init),
3047         (gst_base_src_get_range), (gst_base_src_check_get_range),
3048         (gst_base_src_start), (gst_base_src_stop):
3049         * gst/base/gstbasesrc.h:
3050         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3051         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3052         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3053         (bin_bus_handler):
3054         * gst/gstbin.h:
3055         * gst/gstbuffer.h:
3056         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3057         * gst/gstbus.h:
3058         * gst/gstelement.c: (gst_element_is_locked_state),
3059         (gst_element_set_locked_state), (gst_element_commit_state),
3060         (gst_element_set_state):
3061         * gst/gstelement.h:
3062         * gst/gstindex.c: (gst_index_init):
3063         * gst/gstindex.h:
3064         * gst/gstminiobject.h:
3065         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3066         (gst_object_set_parent):
3067         * gst/gstobject.h:
3068         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3069         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3070         * gst/gstpad.h:
3071         * gst/gstpadtemplate.h:
3072         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3073         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3074         * gst/gstpipeline.h:
3075         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3076         (gst_file_index_commit):
3077         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3078         * testsuite/pad/link.c: (gst_test_src_init),
3079         (gst_test_filter_init), (gst_test_sink_init):
3080         * testsuite/states/locked.c: (main):
3081           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3082           moved bitshift from macro to enum definition
3083
3084 2005-10-12  Wim Taymans  <wim@fluendo.com>
3085
3086         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3087         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3088         (gst_file_sink_render):
3089         Some more debugging info.
3090
3091 2005-10-12  Wim Taymans  <wim@fluendo.com>
3092
3093         * docs/design/part-states.txt:
3094         * tools/gst-launch.c: (main):
3095         Some doc updates.
3096         Revert non-intentional change.
3097
3098 2005-10-12  Wim Taymans  <wim@fluendo.com>
3099
3100         * check/gst/gstbin.c: (GST_START_TEST):
3101         * check/gst/gstelement.c: (GST_START_TEST):
3102         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3103         * check/gst/gstghostpad.c: (GST_START_TEST):
3104         * check/gst/gstpipeline.c: (GST_START_TEST):
3105         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3106         * check/states/sinks.c: (GST_START_TEST):
3107         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3108         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3109         (gst_bin_remove_func), (gst_bin_get_state_func),
3110         (gst_bin_recalc_state), (gst_bin_change_state_func),
3111         (bin_bus_handler):
3112         * gst/gstelement.c: (gst_element_get_state_func),
3113         (gst_element_get_state), (gst_element_abort_state),
3114         (gst_element_commit_state), (gst_element_set_state),
3115         (gst_element_change_state), (gst_element_change_state_func):
3116         * gst/gstelement.h:
3117         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3118         (gst_pipeline_provide_clock_func):
3119         * gst/gstutils.c: (gst_element_link_pads_filtered):
3120         * tools/gst-launch.c: (main):
3121         * tools/gst-typefind.c: (main):
3122         Use GstClockTime in _get_state() instead of GTimeVal.
3123         Remove old code in gstutils.c
3124
3125 2005-10-12  Andy Wingo  <wingo@pobox.com>
3126
3127         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3128         removed.
3129
3130         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3131         there is no task. Shouldn't affect any code, as nothing in our
3132         plugins checks this return value.
3133         (gst_pad_stop_task): Also take the stream lock if the pad has no
3134         task. Docs updated.
3135
3136 2005-10-12  Wim Taymans  <wim@fluendo.com>
3137
3138         * gst/gstpad.c: (pre_activate), (post_activate),
3139         (gst_pad_activate_pull), (gst_pad_activate_push):
3140         Cleanup activation code. Reset old state if
3141         activation failed.
3142
3143 2005-10-12  Wim Taymans  <wim@fluendo.com>
3144
3145         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3146         (gst_base_sink_change_state):
3147         No need to prerol after receiving EOS.
3148
3149         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3150         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3151         * gst/elements/gstidentity.c: (gst_identity_event):
3152         Print events more verbosely.
3153
3154 2005-10-12  Wim Taymans  <wim@fluendo.com>
3155
3156         * check/Makefile.am:
3157         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3158         * check/states/sinks2.c:
3159         Moved sinks2 testcode in sinks check.
3160
3161         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3162         (gst_bin_remove_func), (gst_bin_recalc_state),
3163         (gst_bin_change_state_func), (bin_bus_handler):
3164         Fix potential race condition when _get_state() iterated over an
3165         ASYNC element right before it posted a state completion.
3166
3167         * gst/gstclock.h:
3168         Do proper cast here.
3169
3170         * gst/gstevent.c: (gst_event_new_newsegment),
3171         (gst_event_parse_newsegment):
3172         A playback rate of 0.0 is not allowed.
3173
3174 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3175
3176         * win32/common/config.h:
3177         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3178         (_trewinddir), (_ttelldir), (_tseekdir):
3179         * win32/common/dirent.h:
3180         * win32/common/gtchar.h:
3181         * win32/common/libgstbase.def:
3182         * win32/common/libgstreamer.def:
3183         * win32/vs6/grammar.dsp:
3184         * win32/vs6/gst_inspect.dsp:
3185         * win32/vs6/gst_launch.dsp:
3186         * win32/vs6/gstreamer.dsw:
3187         * win32/vs6/libgstbase.dsp:
3188         * win32/vs6/libgstelements.dsp:
3189         * win32/vs6/libgstreamer.dsp:
3190           Visual Studio 6 project files, and a new common directory.
3191           Phear.
3192
3193 2005-10-11  Wim Taymans  <wim@fluendo.com>
3194
3195         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3196         (gst_base_sink_do_sync), (gst_base_sink_query),
3197         (gst_base_sink_change_state):
3198         * gst/base/gstbasesink.h:
3199         Correctly parse newsegment info.
3200
3201 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3202
3203         * gst/gst.c: (init_post):
3204           split plugin paths correctly
3205
3206 2005-10-11  Wim Taymans  <wim@fluendo.com>
3207
3208         * check/gst/gstevent.c: (GST_START_TEST):
3209         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3210         (gst_base_sink_change_state):
3211         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3212         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3213         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3214         * gst/gstevent.c: (gst_event_new_newsegment),
3215         (gst_event_parse_newsegment):
3216         * gst/gstevent.h:
3217         Added extra flag to newsegment for future API freeze.
3218         Updated check and base elements.
3219
3220 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3221
3222         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3223         (gst_collectpads_add_pad), (gst_collectpads_pop),
3224         (gst_collectpads_event), (gst_collectpads_chain):
3225         * gst/base/gstcollectpads.h: Handle EOS correctly.
3226
3227 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3228
3229         * tools/gst-launch.c: (main):
3230           more null protecting
3231
3232 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3233
3234         * gst/gst-i18n-lib.h:
3235           check for ENABLE_NLS, not GETTEXT_PACKAGE
3236         * gst/gstregistry.c: (gst_registry_add_plugin),
3237         (gst_registry_scan_path_level),
3238         (_gst_registry_remove_cache_plugins):
3239           protect possibly NULL strings
3240         * gst/parse/types.h:
3241           config.h already included before
3242         * tools/gst-inspect.c: (main):
3243           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3244           check for ENABLE_NLS, not GETTEXT_PACKAGE
3245         * tools/gst-launch.c: (main):
3246           check for ENABLE_NLS, not GETTEXT_PACKAGE
3247
3248 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3249
3250         * configure.ac:
3251           if we don't have glib, fail before testing 2.8
3252         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3253           fix a leak, should fix plugins-base testsuite
3254
3255 2005-10-11  Andy Wingo  <wingo@pobox.com>
3256
3257         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3258         take the mode we're going to as an arg. Go head and set the mode
3259         and flushing flags now, so that if the activate function starts a
3260         thread all the flags will be in the right state.
3261         (post_activate): Renamed also. Just handle making sure streaming
3262         finishes for the deactivation case, and setting the deactivated
3263         mode.
3264         (gst_pad_set_active): Complain loudly if deactivation fails.
3265         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3266         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3267         remove the terrible hack.
3268
3269 2005-10-11  Wim Taymans  <wim@fluendo.com>
3270
3271         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3272         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3273         (gst_bin_recalc_state), (gst_bin_change_state_func),
3274         (gst_bin_dispose), (bin_bus_handler):
3275         * gst/gstbin.h:
3276         Prepare to make current EOS message queue more generic.
3277         Fix some typos.
3278
3279         * gst/gstevent.c: (gst_event_new_newsegment),
3280         (gst_event_parse_newsegment):
3281         * gst/gstevent.h:
3282         Rename base to stream_time.
3283
3284         * gst/gstmessage.h:
3285         Fix typo in docs.
3286
3287 2005-10-11  Wim Taymans  <wim@fluendo.com>
3288
3289         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3290         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3291         (gst_bin_change_state_func), (bin_bus_handler):
3292         * gst/gstbin.h:
3293         Work on proper clock selection.
3294
3295 2005-10-11  Edward Hervey  <edward@fluendo.com>
3296
3297         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3298         * libs/gst/controller/gstcontroller.h:
3299         Added GList* version of _remove_properties() in order to be able to wrap
3300         it in bindings.
3301
3302 2005-10-11  Wim Taymans  <wim@fluendo.com>
3303
3304         * docs/design/part-states.txt:
3305         Some more docs.
3306
3307         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3308         (gst_bin_change_state_func), (bin_bus_handler):
3309         Doc updates. Don't distribute the same clock over and over again.
3310
3311         * gst/gstclock.c:
3312         * gst/gstclock.h:
3313         Doc updates.
3314
3315         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3316         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3317         (gst_pad_send_event):
3318         * gst/gstpad.h:
3319         Make probe emission threadsafe again.
3320         Register quarks and move _get_name() from utils.
3321         Doc updates.
3322
3323         * gst/gstpipeline.c: (gst_pipeline_class_init),
3324         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3325         Only redistribute the clock of it changed.
3326
3327         * gst/gstsystemclock.h:
3328         Doc updates. 
3329
3330         * gst/gstutils.c:
3331         * gst/gstutils.h:
3332         Moved the _flow_get_name() to GstPad.
3333
3334 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3335
3336         * check/gst-libs/gdp.c: (GST_START_TEST):
3337         * check/gst/gstcaps.c: (GST_START_TEST):
3338         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3339         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3340         (gst_dp_packet_from_caps):
3341           fix more valgrind warnings before turning up the heat
3342
3343 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3344
3345         * gst/parse/grammar.y:
3346           some cleanup before the hacking
3347
3348 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3349
3350         * gst/base/gstbasesrc.c: (gst_base_src_query):
3351           use conversions
3352         * gst/gstutils.c: (gst_guint64_to_gdouble),
3353         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3354         * gst/gstutils.h:
3355           externalize, basesrc uses it
3356           obviously the implementation needs testing
3357
3358 2005-10-10  Wim Taymans  <wim@fluendo.com>
3359
3360         * tests/sched/Makefile.am:
3361         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3362         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3363
3364 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3365
3366         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3367           apparently converting from guint64 to double is not implemented
3368           on MSVC
3369
3370 2005-10-10  Wim Taymans  <wim@fluendo.com>
3371
3372         * check/Makefile.am:
3373         * check/generic/states.c: (GST_START_TEST):
3374         * check/gst/gstbin.c: (GST_START_TEST):
3375         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3376         * check/states/sinks.c: (GST_START_TEST):
3377         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3378         (main):
3379         Check fixes, use API as stated in design docs, remove hacks.
3380
3381         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3382         (gst_base_sink_change_state):
3383         Catch stopping our task while we're shutting down.
3384
3385         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3386         (gst_bin_remove_func), (gst_bin_get_state_func),
3387         (gst_bin_recalc_state), (gst_bin_change_state_func),
3388         (bin_bus_handler):
3389         * gst/gstbin.h:
3390         * gst/gstelement.c: (gst_element_init),
3391         (gst_element_get_state_func), (gst_element_abort_state),
3392         (gst_element_commit_state), (gst_element_lost_state),
3393         (gst_element_set_state), (gst_element_change_state),
3394         (gst_element_change_state_func):
3395         * gst/gstelement.h:
3396         New state change algorithm (see #318116)
3397
3398         * gst/gstpipeline.c: (gst_pipeline_class_init),
3399         (gst_pipeline_init), (gst_pipeline_set_property),
3400         (gst_pipeline_get_property), (do_pipeline_seek),
3401         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3402         * gst/gstpipeline.h:
3403         Remove crude state change hacks.
3404
3405         * gst/gstutils.h:
3406         Remove crude hacks.
3407
3408         * tools/gst-launch.c: (main):
3409         Fixes for state change. Needs some more work to fully use the
3410         new stuff.
3411
3412 2005-10-10  Andy Wingo  <wingo@pobox.com>
3413
3414         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3415
3416         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3417         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3418         issue.
3419
3420 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3421
3422         * gst/gstiterator.c: (gst_iterator_new):
3423           Fix my previous commit: GTypes passed to gst_iterator_new()
3424           can be fundamental types.
3425
3426 2005-10-10  Wim Taymans  <wim@fluendo.com>
3427
3428         * gst/gstelement.c: (gst_element_iterate_pad_list),
3429         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3430         (gst_element_iterate_sink_pads):
3431         Use src/sink pads lists for the respective iterators instead
3432         of filtering.
3433
3434 2005-10-10  Andy Wingo  <wingo@pobox.com>
3435
3436         Merged in popt removal + GOption addition patch from Ronald, bug
3437         #169772.
3438
3439         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3440         GstElement macros around, remove popt-related symbols, add goption
3441         stuff.
3442
3443         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3444         
3445         * docs/gst/Makefile.am:
3446         * docs/libs/Makefile.am: No POPT_CFLAGS.
3447         
3448         * examples/manual/Makefile.am:
3449         * docs/manual/basics-init.xml: Doc updates with an example.
3450         
3451         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3452         (gst_init), (parse_one_option), (parse_goption_arg):
3453         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3454         bit of hand merging and debugging to get the GOption stuff working
3455         tho.
3456         
3457         * tests/Makefile.am:
3458         * tools/Makefile.am:
3459         * tools/gst-inspect.c: (main):
3460         * tools/gst-launch.c: (main):
3461         * tools/gst-run.c: (main):
3462         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3463
3464 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3465
3466         * gst/gstiterator.c: (gst_iterator_new):
3467           Add assertions to make sure passed GType is likely to really
3468           be a GType (as the compiler won't catch it if the size and
3469           GType arguments get mixed up, see #318447).
3470
3471 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
3472
3473         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3474
3475         * gst/gstbin.c: (gst_bin_iterate_sorted):
3476           Pass GType and size arguments to gst_iterator_new() in the right
3477           order (maybe we should make _new() take the GType as first argument
3478           just like _new_list()?) (#318447).
3479           
3480
3481 2005-10-10  Wim Taymans  <wim@fluendo.com>
3482
3483         * gst/gstelement.c: (gst_element_finalize):
3484         And free the GStaticRecMutex too
3485
3486 2005-10-10  Andy Wingo  <wingo@pobox.com>
3487
3488         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3489         Allocate and free the mutex properly.
3490
3491         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3492         New macros.
3493         (GstElement): The state_lock is now recursive. Rebuild your
3494         plugins, suckers. Old macros adapted.
3495
3496         * docs/gst/gstreamer-sections.txt: Doc updates.
3497
3498         * gst/gstutils.h:
3499         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
3500         (g_static_rec_cond_wait): Ported from state changes patch, while
3501         we wait on bug #317802 to be solved in a well-distributed GLib.
3502
3503         * gst/gstelement.c (gst_element_change_state_func): Renamed from
3504         gst_element_change_state, variable name changes.
3505         (gst_element_change_state): Split out of gst_element_set_state in
3506         preparation for the state change merge. Doesn't pay attention to
3507         the 'transition' argument.
3508         (gst_element_set_state): Updates, hopefully purely cosmetic.
3509         (gst_element_sync_state_with_parent): MT-safety. Ported from the
3510         state change patch.
3511         (gst_element_get_state_func): Renamed from get_state, cosmetic
3512         changes.
3513
3514 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3515
3516         * gst/elements/gstelements.c:
3517         * win32/GStreamer.vcproj:
3518         * win32/config.h:
3519         * win32/dirent.c: (_tseekdir):
3520         * win32/gst-inspect.vcproj:
3521         * win32/gst-launch.vcproj:
3522         * win32/gstconfig.h:
3523         * win32/gstelements.vcproj:
3524         * win32/gstenumtypes.c: (gst_object_flags_get_type):
3525         * win32/gstreamer.def:
3526         * win32/msvc71.sln:
3527           updates for the win32 build (patch from Sebastien Moutte)
3528
3529 2005-10-10  Andy Wingo  <wingo@pobox.com>
3530
3531         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3532         gst_bin_get_state, cleaned up (but no logic changes).
3533         (bin_element_is_sink): Comment updates.
3534         (sink_iterator_filter): Remove needless cast.
3535         (gst_bin_iterate_sinks): Doc update.
3536         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3537         cleaned up (but no logic changes).
3538
3539         * check/states/sinks.c (test_src_sink): Cleanups from the state
3540         change patch.
3541         (test_livesrc_sink): Sync on the state.
3542
3543         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3544         the state change patch.
3545
3546         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3547         change patch.
3548
3549         * check/gst/gstbin.c: Merge in some style fixes and additional
3550         checks from Wim's state change patch.
3551
3552 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3553
3554         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3555         (gst_type_find_helper):
3556           Check whether we have the requested data already in our list of
3557           cached buffers before pulling a new buffer; also make the buffer
3558           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3559
3560 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3561
3562         * gst/gstcaps.c:
3563         * gst/gstevent.c:
3564           doc updates
3565         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3566           don't use long long, it's not portable.  Replacing with
3567           gint64 seems to work; let's hope no skeletons fall out of the closet.
3568
3569 2005-10-10  Andy Wingo  <wingo@pobox.com>
3570
3571         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3572
3573 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
3574
3575         * docs/gst/gstreamer-sections.txt:
3576         * gst/gstevent.c:
3577         * gst/gstevent.h:
3578         * gst/gstinfo.c:
3579         * gst/gstinfo.h:
3580         * gst/gstmessage.c: (gst_message_parse_state_changed):
3581         * gst/gstpad.c:
3582         * gst/gstpad.h:
3583           more docs, fix compilation
3584
3585 2005-10-09  Philippe Khalaf <burger@speedy.org>
3586         * gst/gstmessage.c:
3587           Fixed a few forgotten variables on previous commit
3588
3589 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3590
3591         * gst/base/gsttypefindhelper.c: (helper_find_peek):
3592           Fix evil typefind crasher: getrange() might return a short
3593           buffer at the end of a file, but gst_type_find_peek() must
3594           either return the full data as requested or NULL, but
3595           never a short buffer.
3596
3597 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3598
3599         * gst/gstmessage.c: (gst_message_new_state_changed),
3600         (gst_message_parse_state_changed):
3601         * gst/gstmessage.h:
3602           don't use "new", it's a C++ keyword
3603
3604 2005-10-08  Wim Taymans  <wim@fluendo.com>
3605
3606         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3607         * gst/gstelement.c: (gst_element_post_message):
3608         * gst/gstpipeline.c: (gst_pipeline_change_state):
3609         Small docs and debug updates.
3610
3611 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3612
3613         * docs/gst/gstreamer-sections.txt:
3614         * gst/gstelementfactory.c:
3615         * gst/gstevent.c:
3616         * gst/gsttaglist.c:
3617           more docs
3618
3619 2005-10-08  Wim Taymans  <wim@fluendo.com>
3620
3621         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3622         (gst_bin_dispose), (bin_bus_handler):
3623         Fix typos, add comments.
3624         Clear EOS list when going to PAUSED from any direction and do it
3625         in a threadsafe way.
3626         Get base time in a threadsafe way too.
3627         Fix confusing debug in the change_state function.
3628         Various other small cleanups.
3629         
3630         * gst/gstelement.c: (gst_element_post_message):
3631         Fix very verbose bus posting code.
3632
3633         * gst/gstpipeline.c: (gst_pipeline_class_init),
3634         (gst_pipeline_set_property), (gst_pipeline_get_property),
3635         (gst_pipeline_change_state):
3636         Small ARG_ -> PROP_ cleanup
3637
3638 2005-10-08  Wim Taymans  <wim@fluendo.com>
3639
3640         * gst/gstbin.c: (is_eos), (bin_bus_handler):
3641         Do a less CPU demanding EOS check because we can.
3642
3643 2005-10-08  Wim Taymans  <wim@fluendo.com>
3644
3645         * libs/gst/dataprotocol/dataprotocol.c:
3646         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3647         (gst_dp_packet_from_event):
3648         * libs/gst/dataprotocol/dataprotocol.h:
3649         * libs/gst/dataprotocol/dp-private.h:
3650         It's about time we bump the version number.
3651         Since event types don't fit in the guint8 anymore describing
3652         the payload type, make payload type 16 bits wide.
3653
3654 2005-10-08  Wim Taymans  <wim@fluendo.com>
3655
3656         * docs/design/part-TODO.txt:
3657         * docs/design/part-clocks.txt:
3658         * docs/design/part-events.txt:
3659         * docs/design/part-gstbin.txt:
3660         * docs/design/part-gstelement.txt:
3661         * docs/design/part-gstpipeline.txt:
3662         * docs/design/part-live-source.txt:
3663         * docs/design/part-messages.txt:
3664         * docs/design/part-overview.txt:
3665         * docs/design/part-states.txt:
3666         Many doc updates.
3667
3668 2005-10-08  Wim Taymans  <wim@fluendo.com>
3669
3670         * gst/gstevent.c:
3671         * gst/gstevent.h:
3672         Fix event quark registration.
3673         Add some space between events so we can insert them in the
3674         right groups.
3675
3676 2005-10-08  Wim Taymans  <wim@fluendo.com>
3677
3678         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3679         (gst_base_sink_handle_buffer):
3680         Better log message.
3681
3682         * gst/gstbus.h:
3683         * gst/gstelement.h:
3684         More docs.
3685
3686         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3687         (gst_queue_set_property), (gst_queue_get_property):
3688         * gst/gstqueue.h:
3689         Remove old unused properties.
3690
3691 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3692         * docs/gst/gstreamer-sections.txt:
3693         * gst/gstmessage.c:
3694         * gst/gstmessage.h:
3695         * gst/gstminiobject.c:
3696         * gst/gstminiobject.h:
3697         * gst/gstobject.h:
3698         * gst/gstpad.h:
3699         * gst/gstutils.h:
3700           lots of new docs and doc fixes
3701
3702 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3703
3704         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3705         * gst/gstplugin.h:
3706         * gst/gstregistry.c: (gst_registry_lookup_locked),
3707         (gst_registry_scan_path_level):
3708         * gst/gstregistryxml.c: (load_plugin):
3709           Only ever load one plugin for a given plugin basename.
3710           This ensures correct overriding of GST_PLUGIN_PATH over
3711           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3712           system installed plugins.
3713
3714 2005-10-08  Wim Taymans  <wim@fluendo.com>
3715
3716         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3717         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3718         Prepare for doing QOS.
3719
3720 2005-10-08  Wim Taymans  <wim@fluendo.com>
3721
3722         * check/gst/gstbin.c: (GST_START_TEST):
3723         * check/pipelines/cleanup.c: (GST_START_TEST):
3724         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3725         Allow new clock message too.
3726
3727 2005-10-08  Wim Taymans  <wim@fluendo.com>
3728
3729         * gst/gstmessage.c: (gst_message_new_error),
3730         (gst_message_new_warning), (gst_message_new_tag),
3731         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3732         (gst_message_new_clock_lost), (gst_message_new_new_clock),
3733         (gst_message_new_segment_start), (gst_message_new_segment_done),
3734         (gst_message_parse_state_changed),
3735         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3736         (gst_message_parse_new_clock):
3737         * gst/gstmessage.h:
3738         Also carry the clock in question.
3739
3740 2005-10-08  Wim Taymans  <wim@fluendo.com>
3741
3742         * gst/gstmessage.c: (gst_message_new_custom),
3743         (gst_message_new_eos), (gst_message_new_error),
3744         (gst_message_new_warning), (gst_message_new_tag),
3745         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3746         (gst_message_new_new_clock), (gst_message_new_segment_start),
3747         (gst_message_new_segment_done), (gst_message_parse_state_changed),
3748         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3749         * gst/gstmessage.h:
3750         Clean up.
3751         Added clock related messages.
3752
3753         * gst/gstpipeline.c: (gst_pipeline_change_state):
3754         Post message when the clock changed.
3755
3756         * tools/gst-launch.c: (event_loop):
3757         Print new clock.
3758
3759 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3760
3761         * tools/gst-inspect.c: (print_element_properties_info):
3762           Can't pass NULL strings to g_print() on windows.
3763
3764 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3765
3766         * docs/Makefile.am:
3767         * docs/gst/Makefile.am:
3768         * docs/gst/gstreamer-docs.sgml:
3769         * docs/gst/running.xml:
3770         * docs/version.entities.in:
3771           add a chapter on running GStreamer.
3772           document GST_DEBUG and GST_PLUGIN* env vars
3773
3774 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3775
3776         * Makefile.am:
3777           remove include dir
3778         * configure.ac:
3779           remove PLUGINS_BUILDDIR stuff
3780         * gst/gst.c: (init_post):
3781           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3782         * idiottest.mak:
3783           remove, it was condescending and not needed
3784
3785 2005-10-08  Wim Taymans  <wim@fluendo.com>
3786
3787         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3788         (gst_base_sink_handle_object), (gst_base_sink_event),
3789         (gst_base_sink_wait), (gst_base_sink_handle_event),
3790         (gst_base_sink_change_state):
3791         * gst/base/gstbasesink.h:
3792         Repost EOS message while going to PLAYING if still EOS.
3793         Make sure that when receiving a FLUSH_START we don't attempt
3794         to sync on the clock anymore.
3795
3796 2005-10-08  Wim Taymans  <wim@fluendo.com>
3797
3798         * tools/gst-launch.c: (event_loop):
3799         Better message printout.
3800
3801 2005-10-08  Wim Taymans  <wim@fluendo.com>
3802
3803         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3804         (gst_bin_child_proxy_get_children_count):
3805         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3806         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3807         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3808         (gst_child_proxy_set_valist):
3809         * gst/parse/grammar.y:
3810         Make ChildProxy threadsafe and fix mem leaks.
3811
3812 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3813
3814         * gst/gst.c: (init_post):
3815           debug the GST_PLUGIN_ env vars
3816
3817 2005-10-08  Wim Taymans  <wim@fluendo.com>
3818
3819         * check/gst/gstbin.c: (GST_START_TEST):
3820         * check/gst/gstmessage.c: (GST_START_TEST):
3821         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3822         * gst/gstelement.c: (gst_element_commit_state),
3823         (gst_element_lost_state):
3824         * gst/gstmessage.c: (gst_message_new_state_changed),
3825         (gst_message_parse_state_changed):
3826         * gst/gstmessage.h:
3827         * tools/gst-launch.c: (event_loop):
3828         Added extra field to STATE_CHANGE message with the pending
3829         state, which will be different from the new state soon.
3830
3831 2005-10-08  Wim Taymans  <wim@fluendo.com>
3832
3833         * gst/gstbus.c: (gst_bus_pop):
3834         * gst/gstclock.c:
3835         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3836         Small cleanups and doc updates.
3837
3838 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3839
3840         * gst/gst.c: (init_pre):
3841         * gst/gstbin.c: (gst_bin_add_func):
3842           log distributing clocks and base time
3843         * gst/gstregistry.c: (gst_registry_add_plugin),
3844         (gst_registry_scan_path_level), (gst_registry_scan_path):
3845           clean up the debugging output a little
3846         * gst/gstutils.c: (gst_element_state_get_name):
3847           warn about a memleak (I've actually seen this be used, though
3848           it was probably a bug)
3849
3850 2005-10-07  Wim Taymans  <wim@fluendo.com>
3851
3852         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3853         (gst_base_src_init), (gst_base_src_default_newsegment),
3854         (gst_base_src_newsegment), (gst_base_src_do_seek),
3855         (gst_base_src_loop), (gst_base_src_start):
3856         * gst/base/gstbasesrc.h:
3857         Make the newsegment event customizable by subclasses.
3858
3859 2005-10-07  Wim Taymans  <wim@fluendo.com>
3860
3861         * gst/gstevent.c: (gst_event_new_buffersize),
3862         (gst_event_parse_buffersize):
3863         * gst/gstevent.h:
3864         New event for future idea.
3865
3866 2005-10-07  Andy Wingo  <wingo@pobox.com>
3867
3868         * gst/gstelement.c (gst_element_post_message): Doc update.
3869
3870         * docs/gst/gstreamer-sections.txt: Update.
3871
3872         * gst/gstmessage.c (gst_message_new_application): Made into a
3873         function like honest API calls.
3874         (gst_message_new_element): New message type.
3875
3876         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3877
3878         * check/elements/fakesrc.c (test_no_preroll): New check, checks
3879         that setting a live fakesrc to PAUSED returns NO_PREROLL both
3880         times.
3881
3882         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3883         NO_PREROLL from gst_element_change_state to fall through.
3884
3885 2005-10-07  Wim Taymans  <wim@fluendo.com>
3886
3887         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3888         (gst_ghost_pad_do_activate_push):
3889         Activating a ghostpad with no internal pad in push mode
3890         is ok.
3891
3892 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3893
3894         * gst/gstobject.h:
3895           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3896           Fixes compilation on Windows.
3897
3898 2005-10-07  Michael Smith <msmith@fluendo.com>
3899
3900         * tools/gst-inspect.c:
3901           Print out feature and plugin count at the end when printing out
3902           all features.
3903
3904 2005-10-04  Michael Smith <msmith@fluendo.com>
3905
3906         * gst/gsterror.c: (_gst_stream_errors_init):
3907           Add another error string used in a few existing plugins.
3908
3909         * gst/gstplugin.c:
3910         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3911         * tools/gst-inspect.c: (print_element_info):
3912           When a feature disappears from a plugin (and the feature exists in
3913           the cached registry file), things went horribly wrong. This isn't a
3914           complete fix, we should actually be removing the 'missing' features
3915           from the features list when we load the actual plugin. That's not
3916           yet implemented. 
3917
3918 2005-10-04  Johan Dahlin  <johan@gnome.org>
3919
3920         * check/gst/gstiterator.c: (GST_START_TEST):
3921         * gst/gstbin.c: (gst_bin_iterate_elements),
3922         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
3923         * gst/gstelement.c: (gst_element_iterate_pads):
3924         * gst/gstformat.c: (gst_format_iterate_definitions):
3925         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
3926         (gst_iterator_new_list), (gst_iterator_filter):
3927         * gst/gstiterator.h:
3928         * gst/gstquery.c: (gst_query_type_iterate_definitions):
3929         Add a GType to GstIterator, update callsites and tests.
3930
3931 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3932
3933         * gst/gstpad.c: (gst_pad_event_default_dispatch):
3934           give events a chance to be handled by event probes when the pad
3935           is not linked
3936
3937 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3938
3939         * gst/gstevent.c: (gst_event_type_get_name),
3940         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
3941         * gst/gstevent.h:
3942           add string representations for event types
3943
3944 2005-10-06  Wim Taymans  <wim@fluendo.com>
3945
3946         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
3947         Don't use NULL pointers.
3948
3949 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3950
3951         * gst/gst_private.h:
3952         * gst/gstbus.c:
3953         * gst/gstelement.c:
3954         * gst/gstinfo.c:
3955         * gst/gstpluginfeature.c:
3956           widen the debug category in output to fit the biggest one we have
3957           add a bus category and use it
3958           play with the colors
3959           fix up some categories
3960
3961 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3962
3963         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
3964           add push activation of sink ghost pads.
3965           Andye, please verify
3966
3967 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3968
3969         * gst/gstutils.c: (gst_element_link_pads):
3970           fix a bug in the case where neither element has a pad
3971         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3972           add a test for that case
3973
3974 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3975
3976         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
3977           emit have-data before checking for peers.  This allows
3978           for probe handlers to connect elements.  This helps autopluggers.
3979         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
3980         (gst_pad_suite):
3981           add six checks, linked/unlinked with no/true/false probe
3982
3983 2005-10-04  Wim Taymans  <wim@fluendo.com>
3984
3985         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
3986         (gst_fake_sink_event), (gst_fake_sink_preroll),
3987         (gst_fake_sink_render), (gst_fake_sink_change_state):
3988         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
3989         (gst_fake_src_get_property), (gst_fake_src_create),
3990         (gst_fake_src_stop):
3991         * gst/elements/gstidentity.c: (gst_identity_stop):
3992         Protect last_message with lock.
3993
3994 2005-10-04  Edward Hervey  <edward@fluendo.com>
3995
3996         * gst/gstformat.h: 
3997         Added precision in the comments for GST_FORMAT_DEFAULT
3998
3999 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4000
4001         * tools/gst-launch.c: (main):
4002           Don't try to run erroneous pipelines.
4003
4004 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4005
4006         * gst/gstbus.c: We don't need this header.
4007
4008 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4009
4010         * configure.ac:
4011           back to development
4012
4013 === release 0.9.3 ===
4014
4015 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4016
4017         * README:
4018         * configure.ac:
4019           Releasing 0.9.3, "Unregistered"
4020
4021 2005-10-03  Andy Wingo  <wingo@pobox.com>
4022
4023         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4024         whereby calling a pad's activatepush() function can start a thread
4025         that starts to push or pull before the pad gets the FLUSHING flag
4026         unset. Hack around it by holding the stream lock until the flag is
4027         set. Need to replace this with a proper solution. Together with
4028         the ghost pad fixes, this fixes mp3 playing/tagreading.
4029
4030         * docs/design/part-gstghostpad.txt: Add a note about activation of
4031         proxy pads outside of ghost pads.
4032
4033         * gst/gstghostpad.c: Implement the ghost pad activation design.
4034
4035 2005-10-02  Andy Wingo  <wingo@pobox.com>
4036
4037         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4038         It is volatile, after all.
4039
4040         * docs/design/part-gstghostpad.txt: Flesh out activation with
4041         ghost pads.
4042
4043         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4044         GST_DEBUG_FUNCPTR.
4045
4046 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4047
4048         * configure.ac:
4049           Fix (unused) AM_CONDITIONAL tests.
4050
4051 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4052
4053         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4054
4055         * gst/gstutils.c: (gst_pad_query_convert):
4056           Add assertion that makes sure src_val is >=0, just like
4057           gst_query_new_convert() has. (#315895)
4058
4059 2005-09-30  Edward Hervey  <edward@fluendo.com>
4060
4061         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4062         Let's not iterate pads we're not interested in, it avoids getting 
4063         sky-high refcounts on sinkpad.
4064
4065 2005-09-30  Wim Taymans  <wim@fluendo.com>
4066
4067         * gst/gstelement.c: (gst_element_set_state),
4068         (gst_element_change_state):
4069         Small tweak, element in ASYNC remains ASYNC.
4070
4071 2005-09-30  Wim Taymans  <wim@fluendo.com>
4072
4073         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4074         Only error is an error.
4075
4076         * gst/gstbin.c: (gst_bin_change_state):
4077         Better debugging.
4078
4079         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4080         Also call pad_block in pad alloc.
4081
4082         * gst/gstutils.c: (gst_flow_get_name):
4083         Better debugging.
4084
4085 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4086
4087         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4088         (gst_base_src_get_range):
4089           Fix documentation typos. Add some more debug info.
4090
4091 2005-09-29  David Schleef  <ds@schleef.org>
4092
4093         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4094           more end-user friendly.
4095         * tools/gst-inspect.c: (main): Check if command-line argument is
4096           a file and attempt to load that file as a plugin.
4097
4098 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4099
4100         * check/gst/gstbin.c:
4101         * check/states/sinks.c:
4102           fix tests for the new warning
4103         * check/gst/gstpipeline.c:
4104           add a test for pipeline and bus interaction
4105         * gst/gstelement.c:
4106           elements should be NULL if they get disposed; add a warning if not
4107
4108 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4109
4110         * gst/gstobject.c:
4111           for 2.6 refcounting, make debug log more correct by printing
4112           the actual refcounts at the time of swap (Wim)
4113
4114 2005-09-29  Andy Wingo  <wingo@pobox.com>
4115
4116         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4117         removes signal watches previously added via
4118         gst_bus_add_signal_watch.
4119         (gst_bus_add_signal_watch): Don't return the source id, just store
4120         it on the bus if there wasn't an id already.
4121
4122         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4123         add_signal_watch and remove_signal_watch.
4124
4125 2005-09-29  Edward Hervey  <edward@fluendo.com>
4126
4127         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4128         Better if we actually iterate the list :)
4129
4130 2005-09-29  Wim Taymans  <wim@fluendo.com>
4131
4132         * check/gst/gstbin.c: (GST_START_TEST):
4133         Change for new bus API.
4134
4135         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4136         (send_messages), (GST_START_TEST), (gstbus_suite):
4137         Change for new bus signal API.
4138
4139         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4140         (gst_bus_source_prepare), (gst_bus_source_check),
4141         (gst_bus_create_watch), (gst_bus_add_watch_full),
4142         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4143         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4144         * gst/gstbus.h:
4145         Remove support for multiple GSources operating on different
4146         message types as it is too complex and unneeded when using
4147         signals.
4148         Added support for receiving signals from the bus.
4149
4150 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4151
4152         * docs/libs/tmpl/gstdataprotocol.sgml:
4153         * docs/manual/advanced-dataaccess.xml:
4154         * gst/elements/gstcapsfilter.c:
4155         * gst/gstutils.c:
4156           rename filter-caps to caps property
4157
4158 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4159
4160         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4161           More robust fraction string parsing.
4162
4163         * docs/pwg/appendix-porting.xml:
4164           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4165
4166 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4167
4168         * gst/gstcaps.c: (gst_caps_do_simplify):
4169           Thou shalt not free a structure and then continue using it
4170           in the next loop iteration.
4171
4172         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4173         (gst_caps_suite):
4174           Add test case for caps simplification.
4175
4176 2005-09-29  Wim Taymans  <wim@fluendo.com>
4177
4178         * check/gst/gstbin.c: (GST_START_TEST):
4179         Oops.
4180
4181 2005-09-29  Wim Taymans  <wim@fluendo.com>
4182
4183         * check/gst/gstbin.c: (GST_START_TEST):
4184         Add bus to bin.
4185
4186         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4187         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4188         (find_element), (gst_bin_sort_iterator_next),
4189         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4190         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4191         (gst_bin_change_state), (gst_bin_dispose):
4192         A bin does not have a bus, it gets the bus from the parent.
4193
4194         * gst/gstelement.c: (gst_element_requires_clock),
4195         (gst_element_provides_clock), (gst_element_is_indexable),
4196         (gst_element_is_locked_state), (gst_element_change_state),
4197         (gst_element_set_bus_func):
4198         Small cleanups.
4199
4200         * gst/gstpipeline.c: (gst_pipeline_class_init),
4201         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4202         The pipeline provides a bus.
4203
4204 2005-09-28  Johan Dahlin  <johan@gnome.org>
4205
4206         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4207         gst_structure_get_enum instead of gst_structure_get_int
4208
4209         * gst/gststructure.c (gst_structure_get_enum): Impl.
4210
4211         * gst/gststructure.h (gst_structure_get_enum): Add
4212
4213         * docs/gst/gstreamer-sections.txt: Ditto
4214
4215         * gst/gstmessage.c (gst_message_new_state_changed): Use
4216         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4217         which does introspection.
4218         Reviewed by Christian Schaller
4219
4220 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4221
4222         * gst/gstinfo.c: (gst_debug_log_default):
4223           don't do dummy g_strdup()s
4224         * libs/gst/controller/gstcontroller.c:
4225         (on_object_controlled_property_changed),
4226         (gst_controlled_property_new), (gst_controller_new_valist),
4227         (gst_controller_new_list),
4228         (gst_controller_remove_properties_valist), (gst_controller_set),
4229         (gst_controller_get), (gst_controller_sync_values),
4230         (gst_controller_get_value_array), (_gst_controller_class_init),
4231         (gst_controller_get_type):
4232         * libs/gst/controller/gstcontroller.h:
4233         * libs/gst/controller/gstinterpolation.c:
4234         (gst_controlled_property_find_timed_value_node):
4235           convert // to /**/ comments
4236
4237 2005-09-28  Wim Taymans  <wim@fluendo.com>
4238
4239         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4240         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4241         (gst_bus_sync_signal_handler):
4242         * gst/gstbus.h:
4243         Added async-message and sync-message signals to the bus.
4244         Added helper BusFunc to emit signals for all posted messages.
4245
4246         * gst/gstmessage.c: (gst_message_type_get_name),
4247         (gst_message_type_to_quark), (gst_message_get_type):
4248         * gst/gstmessage.h:
4249         Register quarks for message names.
4250
4251 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4252
4253         * docs/libs/gstreamer-libs-sections.txt:
4254         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4255         (gst_controller_new_list):
4256         * libs/gst/controller/gstcontroller.h:
4257           added another constructor for language bindings
4258
4259 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4260
4261         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4262           add another check
4263         * gst/gstbus.c:
4264           add some doc
4265         * gst/gstinfo.c: (_gst_debug_init):
4266           slightly more readable color for refcount debugging
4267
4268 2005-09-28  Wim Taymans  <wim@fluendo.com>
4269
4270         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4271         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4272         (find_element), (gst_bin_sort_iterator_next),
4273         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4274         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4275         (gst_bin_change_state), (gst_bin_dispose):
4276         Small doc fixes. get_clock -> provide_clock.
4277
4278         * gst/gstelement.c: (gst_element_class_init),
4279         (gst_element_provides_clock), (gst_element_provide_clock),
4280         (gst_element_get_clock), (gst_element_commit_state),
4281         (gst_element_lost_state):
4282         * gst/gstelement.h:
4283         Make get/set_clock() symetric. Add provide_clock vmethod since
4284         that is actually what this function does.
4285
4286         * gst/gstpipeline.c: (gst_pipeline_class_init),
4287         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4288         (gst_pipeline_get_clock):
4289         get_clock -> provide_clock.
4290
4291 2005-09-28  Andy Wingo  <wingo@pobox.com>
4292
4293         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4294         lieu of real docs...
4295
4296         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4297
4298 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4299
4300         * gst/elements/gstcapsfilter.c:
4301         * gst/elements/gstfakesink.c:
4302         * gst/elements/gstfakesrc.c:
4303         * gst/elements/gstfdsink.c:
4304         * gst/elements/gstfdsrc.c:
4305         * gst/elements/gstfilesink.c:
4306         * gst/elements/gstfilesrc.c:
4307         * gst/elements/gstidentity.c:
4308         * gst/elements/gsttee.c:
4309         * gst/elements/gsttypefindelement.c:
4310           Make element details static.
4311
4312 2005-09-28  Wim Taymans  <wim@fluendo.com>
4313
4314         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4315         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4316         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4317         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4318         (gst_bin_change_state), (gst_bin_dispose):
4319         Some documentation updates.
4320         Clean up dispose handlers.
4321
4322         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4323         * gst/gstpad.c: (gst_pad_dispose):
4324         Clean up dispose handler.
4325
4326         * gst/gstpipeline.c: (gst_pipeline_change_state):
4327         Removed spurious UNLOCK.
4328
4329 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4330
4331         * docs/gst/gstreamer-sections.txt:
4332         * gst/base/gstbasesrc.h:
4333         * gst/gstelement.h:
4334         * gst/gstevent.h:
4335         * gst/gstobject.h:
4336         * gst/gstpad.h:
4337         * gst/gstpipeline.c:
4338         * gst/gstpipeline.h:
4339         * gst/gstutils.h:
4340         * gst/gstxml.h:
4341           added two new functions to the docs
4342                 documents all undocumented GstXXXFlags
4343                 completed some incomplete docs 
4344
4345 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4346
4347         * gst/gstbin.c: (gst_bin_dispose):
4348         * gst/gstelement.c: (gst_element_dispose):
4349           remove now useless and leaky resurrection code in dispose
4350         * gst/base/gstbasesrc.c: (gst_base_src_init):
4351         * gst/gstelementfactory.c: (gst_element_factory_create):
4352         * gst/gstobject.c: (gst_object_set_parent):
4353           add some debugging
4354
4355 2005-09-27  Wim Taymans  <wim@fluendo.com>
4356
4357         * docs/design/part-TODO.txt:
4358         Update TODO.
4359
4360         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4361         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4362         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4363         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4364         (gst_bin_change_state):
4365         * gst/gstelement.h:
4366         Remove element variable, we keep element info in the iterator now.
4367
4368 2005-09-27  Andy Wingo  <wingo@pobox.com>
4369
4370         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4371         values.
4372
4373 2005-09-27  Wim Taymans  <wim@fluendo.com>
4374
4375         * check/gst/gstbin.c: (GST_START_TEST):
4376         Enable check that works now.
4377
4378         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4379         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4380         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4381         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4382         (gst_bin_change_state):
4383         * gst/gstbin.h:
4384         Redid the state change algorithm using a topological sort algo.
4385         Handles all cases correctly.
4386         Exposed iterator for state change order.
4387
4388         * gst/gstelement.h:
4389         Temp storage for state changes. Need to get rid of this soon.
4390
4391 2005-09-27  Wim Taymans  <wim@fluendo.com>
4392
4393         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4394         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4395         (link_fold_func), (gst_pad_proxy_setcaps):
4396         Leak fixes, the fold functions need to unref the passed object and
4397         _get_parent_*() returns ref to parent.
4398
4399 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4400
4401         * check/gst/gstbuffer.c: (test_make_writable):
4402           Plug leak in test case and fix 'make check-valgrind'
4403
4404 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4405
4406         * gst/gstbuffer.c: (gst_subbuffer_init):
4407           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4408           works correctly in all circumstances (we could have just copied
4409           the parent buffer's readonly flag, but conceptually it seems
4410           cleaner to mark all subbuffers as read-only). (based on patch
4411           by Alessandro Decina, #314710).
4412         
4413         * check/gst/gstbuffer.c: (create_read_only_buffer),
4414         (test_make_writable), (test_subbuffer_make_writable),
4415         (gst_test_suite):
4416           Add some tests for gst_buffer_make_writable().
4417
4418 2005-09-27  Wim Taymans  <wim@fluendo.com>
4419
4420         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4421         use gst_object_has_ancestor().
4422
4423         * gst/gstobject.c: (gst_object_has_ancestor):
4424         * gst/gstobject.h:
4425         gst_object_has_ancestor() copied from gstbin.c as it is a
4426         usefull function.
4427
4428         * tests/instantiate/create.c: (create_all_elements):
4429         * tests/lat.c: (handoff_src), (handoff_sink):
4430         * tests/sched/runxml.c: (main):
4431         * tests/seeking/seeking1.c: (main):
4432         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4433         (main):
4434         Fix compilation of some tests.
4435
4436 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4437
4438         * gst/gsterror.h:
4439           Remove comment. GST_TYPE_G_ERROR is here to stay,
4440           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4441           (#316961, #300610).
4442
4443 2005-09-26  Wim Taymans  <wim@fluendo.com>
4444
4445         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4446         Added check that shows error in state change order.
4447
4448 2005-09-26  Wim Taymans  <wim@fluendo.com>
4449
4450         * gst/gstbin.c: (gst_bin_change_state):
4451         Make state change function use 3 queues again, we were
4452         adding elements in the wrong order.
4453
4454         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4455         Some debug info,
4456
4457         * gst/gstpad.c: (gst_pad_dispose):
4458         Added some debug info first.
4459
4460 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4461
4462         * docs/design/draft-push-pull.txt:
4463         * docs/design/part-events.txt:
4464         * docs/design/part-overview.txt:
4465         * docs/design/part-scheduling.txt:
4466           Replace all _pull_region() with _pull_range()
4467           
4468 2005-09-26  Andy Wingo  <wingo@pobox.com>
4469
4470         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4471
4472         * check/gst-libs/controller.c: Update for controller api change.
4473
4474         * configure.ac: 
4475         * tests/Makefile.am:
4476         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4477         over by GLib bug 118439.
4478         
4479         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4480         routines to a function.
4481
4482         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4483
4484         * libs/gst/controller/gsthelper.c:
4485         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4486         (gst_object_sync_values): Renamed from sink_values. Ugh.
4487
4488         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4489
4490         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4491         Renamed from controller_key, as it is exported.
4492
4493         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4494
4495 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4496
4497         * gst/Makefile.am:
4498         * gst/gst.h:
4499         * gst/gstpad.h:
4500         * gst/gstpadtemplate.h:
4501         * gst/gstquery.c:
4502         * gst/gstquery.h:
4503         * gst/gstqueryutils.c:
4504         * gst/gstqueryutils.h:
4505           remove queryutils headers after moving the two used functions
4506           to gstquery.  also fixes build problem for gstsiddec
4507
4508 2005-09-26  Michael Smith <msmith@fluendo.com>
4509
4510         * tools/gst-launch.1.in:
4511         Correct documentation in manpage of debug syntax
4512
4513 2005-09-26  Wim Taymans  <wim@fluendo.com>
4514
4515         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4516         (gst_base_src_is_seekable), (gst_base_src_change_state):
4517         Some more debugging info.
4518
4519 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4520
4521         * docs/gst/gstreamer-sections.txt:
4522         * gst/base/gstbasetransform.h:
4523         * gst/gstindex.h:
4524           added more docs
4525
4526 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4527
4528         * docs/gst/.cvsignore:
4529         * docs/gst/tmpl/.cvsignore:
4530         * docs/gst/tmpl/gstpipeline.sgml:
4531         * docs/gst/tmpl/gstplugin.sgml:
4532         * gst/gstpipeline.c:
4533         * gst/gstplugin.c:
4534         * gst/gstplugin.h:
4535           inlined the last two docs files
4536           removed the tmpl directory from cvs (no more conflicts here!)
4537
4538 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4539
4540         * docs/gst/gstreamer-sections.txt:
4541         * docs/gst/tmpl/.cvsignore:
4542         * docs/gst/tmpl/gstpad.sgml:
4543         * docs/gst/tmpl/gstpadtemplate.sgml:
4544         * gst/Makefile.am:
4545         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4546         (gst_pad_finalize), (gst_pad_set_pad_template):
4547         * gst/gstpad.h:
4548         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4549         (gst_pad_template_class_init), (gst_pad_template_init),
4550         (gst_pad_template_dispose), (name_is_valid),
4551         (gst_static_pad_template_get), (gst_pad_template_new),
4552         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4553         (gst_pad_template_pad_created):
4554         * gst/gstpadtemplate.h:
4555           inlined two more docs
4556           factored gstpadtemplate out of gstpad
4557
4558 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4559
4560         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4561         (test_children_state_change_order_semi_sink):
4562           Fix test case: we can't rely on a fixed state change order when
4563           going from READY => PAUSED because the sink might commit its 
4564           new state first when the first buffer created by the source 
4565           reaches the sink before the source has finished its change state.
4566           (Test case still fails at times, see #316856, comment 5 onwards)
4567
4568 2005-09-24  Wim Taymans  <wim@fluendo.com>
4569
4570         * docs/design/part-events.txt:
4571         * docs/design/part-gstbus.txt:
4572         * docs/design/part-gstpipeline.txt:
4573         * docs/design/part-messages.txt:
4574         * docs/design/part-overview.txt:
4575         * docs/design/part-segments.txt:
4576         * gst/gstbin.c:
4577         * gst/gstbuffer.c:
4578         * gst/gstclock.c:
4579         * gst/gstelement.c:
4580         * gst/gstevent.c:
4581         * gst/gstfilter.c:
4582         * gst/gstiterator.c:
4583         Various documentation updates.
4584
4585 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4586
4587         * gst/gstclock.h:
4588           Well, that's embarassing.  Luckily we weren't using
4589           GST_CLOCK_DIFF anywhere.
4590
4591 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4592
4593         * common/gtk-doc.mak:
4594           don't fail on building XML, FC4 slave shows a bunch of doc
4595           missing bits that I don't get
4596         * gst/gstpad.c:
4597         * gst/gstpipeline.c:
4598         * gst/gststructure.c:
4599           some doc updates
4600
4601 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4602
4603         * docs/design/part-gstbin.txt:
4604         * docs/design/part-gstbus.txt:
4605         * gst/gstbus.c:
4606           Add blurb about how the bus goes into flushing mode and
4607           drops all messages when its bin goes from READY into NULL 
4608           state.
4609
4610 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4611
4612         * docs/gst/gstreamer-sections.txt:
4613         * gst/gststructure.c: (gst_structure_get_clock_time):
4614         * gst/gststructure.h:
4615           add a method to get a GstClockTime out of a structure
4616
4617 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4618
4619         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4620         (test_children_state_change_order_semi_sink), (gst_bin_suite):
4621           Added test to check state change order in bins (can still be made
4622           to fail here under heavy disk load; bails out with 'Push on pad
4623           fakesink:sink0, but it was not activated in push mode').
4624
4625         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4626           Fix state change order when there is only a semi sink (#316856)
4627
4628         * gst/gstbus.c: (gst_bus_class_init):
4629           Use _class_peek_parent(), not _class_ref(); fix docs to say
4630           'default main context' instead of 'mainloop' where that is
4631           what's meant.
4632
4633         * gst/gstelement.c: (gst_element_commit_state),
4634         (gst_element_set_state):
4635           Fix typos in debug messages
4636
4637 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4638
4639         * docs/README:
4640         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4641         * gst/gstpluginfeature.c:
4642         * gst/gstutils.c:
4643           various doc updates
4644         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4645           change an assert into an error until it gets fixed properly
4646
4647 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
4648
4649         * docs/gst/gstreamer-sections.txt:
4650         * docs/gst/tmpl/.cvsignore:
4651         * docs/gst/tmpl/gstelement.sgml:
4652         * docs/gst/tmpl/gstinfo.sgml:
4653         * docs/gst/tmpl/gstobject.sgml:
4654         * gst/gstelement.c:
4655         * gst/gstelement.h:
4656         * gst/gstinfo.c:
4657         * gst/gstinfo.h:
4658         * gst/gstobject.c: (gst_object_class_init):
4659         * gst/gstobject.h:
4660           inlined 3 more biiiig doc files and added some missing docs on the fly
4661
4662 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4663
4664         * check/gst/.cvsignore:
4665         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4666         * gst/gstregistryxml.c: (load_plugin),
4667         (gst_registry_xml_save_plugin):
4668           put back source in registry.  add checks for find_plugin.
4669         * testsuite/states/bin.c: (assert_state), (empty_bin),
4670         (test_adding_one_element), (main):
4671         * testsuite/states/locked.c: (main):
4672           some compile/run fixes
4673
4674 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4675
4676         * check/gst/gstvalue.c: (GST_START_TEST):
4677           fix leaks in the test itself
4678
4679 2005-09-22  Wim Taymans  <wim@fluendo.com>
4680
4681         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4682         (gst_base_sink_send_event), (gst_base_sink_peer_query),
4683         (gst_base_sink_query):
4684         Prepare for more accurate position reporting and query
4685         handling.
4686
4687         * gst/gstelement.c: (gst_element_send_event),
4688         (gst_element_set_state):
4689         Add some comment.
4690
4691 2005-09-22  Wim Taymans  <wim@fluendo.com>
4692
4693         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4694         (gst_query_parse_segment):
4695         * gst/gstquery.h:
4696         More documentation.
4697         Add segment query for future use.
4698
4699 2005-09-22  Wim Taymans  <wim@fluendo.com>
4700
4701         * gst/gstbin.c: (gst_bin_add_func):
4702         Some more debug info.
4703
4704         * gst/gstelement.c: (gst_element_send_event):
4705         Simplify send_event
4706
4707         * gst/gstelement.h:
4708         Don't know how flags got broken.
4709
4710         * gst/gstquery.h:
4711         Added new query.
4712
4713 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4714
4715         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4716           Add simplistic test suite for GST_TYPE_DATE serialisation and
4717           deserialisation.
4718
4719 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4720
4721         * docs/gst/gstreamer-sections.txt:
4722         * gst/gststructure.c: (gst_structure_set_valist),
4723         (gst_structure_get_date):
4724         * gst/gststructure.h:
4725         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4726         (gst_date_copy), (gst_value_compare_date),
4727         (gst_value_serialize_date), (gst_value_deserialize_date),
4728         (gst_value_transform_date_string),
4729         (gst_value_transform_string_date), (_gst_value_initialize):
4730         * gst/gstvalue.h:
4731           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4732           bunch of utility functions along with a hack that checks that
4733           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4734           is required. Part of the grand scheme in #170777.
4735
4736 2005-09-22  Andy Wingo  <wingo@pobox.com>
4737
4738         * gst/gstconfig.h.in: Psych out gtk-doc.
4739
4740         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4741
4742         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4743
4744         * tools/gst-inspect.c (print_element_list): Plug some
4745         inconsequential leaks.
4746
4747         * gst/gstregistry.c (gst_registry_get_default): Doc.
4748
4749         * check/gst/gstplugin.c: 
4750         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4751         * gst/gstelementfactory.c (gst_element_factory_create): 
4752         * gst/gstindexfactory.c (gst_index_factory_create): Update for
4753         refcount changes.
4754
4755         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4756         (gst_plugin_feature_load): Doc, don't eat refs.
4757
4758         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4759         (gst_plugin_list_free): Doc.
4760         (gst_plugin_load_file): Doc updates.
4761
4762         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4763         accessors returning refcounted objects, return a ref.
4764
4765         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4766         accessor for caps. IDEMPOTENCE. Oh yes.
4767
4768 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
4769
4770         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4771
4772         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4773         (_gst_debug_register_funcptr):
4774           Add mutex to serialise access to the hash table with
4775           the function pointer => function name string mapping;
4776           make that hash table static scope (#316809).
4777
4778         * gst/registries/.cvsignore:
4779           Remove left-over file.
4780
4781 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4782
4783         * docs/pwg/appendix-porting.xml:
4784           And something about newsegment events and caps-on-buffers to
4785           the porting guide (feel free to improve).
4786
4787 2005-09-21  Andy Wingo  <wingo@pobox.com>
4788
4789         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4790         data and event probes on the same pad.
4791         (test_buffer_probe_once): Test that removing probes from within
4792         the probe functions works.
4793
4794 2005-09-21  Andy Wingo  <wingo@pobox.com>
4795
4796         * check/gst/gstutils.c: New file.
4797         (test_buffer_probe_n_times): A simple buffer probe test. More to
4798         come, foolios.
4799
4800         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4801         have-data::buffer, not have-data.
4802         (gst_pad_add_event_probe): Likewise for have-data::event.
4803         (gst_pad_add_data_probe): More docs. The part about 'resolving the
4804         peer' isn't quite right yet though.
4805         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
4806         (gst_pad_remove_data_probe): Change to take the guint handler_id
4807         as their arg, not the function+data, which is more glib-like.
4808
4809         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4810         the signal emission to indicate if the data is a buffer or an
4811         event.
4812         (gst_pad_get_type): Initialize buffer and event quarks.
4813         (gst_pad_class_init): have-data is now a detailed signal, yes it
4814         is.
4815
4816 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4817
4818         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4819         * gst/gstutils.c: (gst_util_set_value_from_string),
4820         (gst_util_set_object_arg):
4821           Don't put functional code in g_return_if_fail() or
4822           g_return_val_if_fail() statements, otherwise things will 
4823           break when G_DISABLE_CHECKS is defined during compilation.
4824
4825 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4826
4827         * docs/gst/tmpl/.cvsignore:
4828         * docs/gst/tmpl/gstvalue.sgml:
4829         * gst/gstvalue.c:
4830         * gst/gstvalue.h:
4831           inlied another one and added  some obvious docs
4832
4833 2005-09-21  Wim Taymans  <wim@fluendo.com>
4834
4835         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4836         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4837         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4838         (gst_fdsrc_get_property), (gst_fdsrc_create):
4839         * gst/elements/gstfdsrc.h:
4840         Properly implement fdsrc. Removed signal and timeout,
4841         better implemented somewhere else.
4842
4843 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4844
4845         * docs/gst/tmpl/.cvsignore:
4846         * docs/gst/tmpl/gstimplementsinterface.sgml:
4847         * gst/gstinterface.c:
4848           inlined more docs
4849
4850 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4851
4852         * docs/gst/gstreamer-sections.txt:
4853         * docs/gst/tmpl/.cvsignore:
4854         * docs/gst/tmpl/gstenumtypes.sgml:
4855           remove obsolete doc file
4856
4857 2005-09-21  David Schleef  <ds@schleef.org>
4858
4859         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4860         little beer, fix a little leak.
4861
4862 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4863
4864         * docs/gst/gstreamer-docs.sgml:
4865         * docs/gst/gstreamer-sections.txt:
4866         * docs/gst/tmpl/.cvsignore:
4867         * gst/Makefile.am:
4868         * gst/gst.h:
4869         * gst/gstbin.c:
4870         * gst/gstelement.h:
4871         * gst/gstindex.c: (gst_index_class_init):
4872         * gst/gstindex.h:
4873         * gst/gstindexfactory.c: (gst_index_factory_get_type),
4874         (gst_index_factory_class_init), (gst_index_factory_init),
4875         (gst_index_factory_finalize), (gst_index_factory_new),
4876         (gst_index_factory_destroy), (gst_index_factory_find),
4877         (gst_index_factory_create), (gst_index_factory_make):
4878         * gst/gstindexfactory.h:
4879         * gst/gstpluginfeature.c:
4880         * gst/gstpluginfeature.h:
4881         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4882           more docs inlined, splitted gstindex.{c,h}
4883
4884 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4885
4886         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4887           fix a leak
4888
4889 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4890
4891         * gst/elements/gstfilesink.c: (gst_file_sink_init):
4892           Set sync to FALSE by default.
4893
4894 2005-09-20  Wim Taymans  <wim@fluendo.com>
4895
4896         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4897         (gst_base_sink_init):
4898         Make sync property settable from subclass.
4899
4900         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4901         (gst_fake_sink_change_state):
4902         Set sync to FALSE by default.
4903
4904 2005-09-20  Wim Taymans  <wim@fluendo.com>
4905
4906         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4907         * tools/gst-launch.c: (main):
4908         The timeout handler should have lower priority than the source
4909         so we don't timeout before popping a message with 0 timeout.
4910         Dump error messages after failed state change.
4911
4912 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4913
4914         * tools/gst-inspect.c: (print_element_properties_info):
4915           Fix two typos.
4916
4917 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4918
4919         * check/gst/gstevent.c:
4920         * gst/elements/gstfakesink.c:
4921         * gst/elements/gstfakesink.h:
4922           remove the sync property from fakesink.
4923           has the side effect of setting sync TRUE
4924           for fakesink, which is a change.  Anyone who knows how
4925           to fix this nicely in a GObject-y way, feel free.
4926
4927 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4928
4929         * docs/gst/gstreamer-docs.sgml:
4930           remove probe refsection
4931
4932 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4933
4934         * check/Makefile.am:
4935           disable valgrinding the controller test again
4936         * docs/gst/gstreamer-sections.txt:
4937           update for api-changes
4938
4939 2005-09-20  Wim Taymans  <wim@fluendo.com>
4940
4941         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4942         (gst_base_sink_set_property), (gst_base_sink_get_property),
4943         (gst_base_sink_do_sync):
4944         * gst/base/gstbasesink.h:
4945         Added sync property to basesink to disable clock sync.
4946
4947 2005-09-20  Andy Wingo  <wingo@pobox.com>
4948
4949         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
4950         eating the caller's refcount.
4951
4952         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
4953         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
4954         refcount.
4955
4956         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
4957         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
4958         of GLib 2.8 public, so we can know which refcount to check in
4959         tests.
4960
4961         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
4962         (gst_object_init): Only set the gst refcount if we're going ahead
4963         with the refcount hack.
4964
4965 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4966
4967         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4968         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4969           more leaks plumbed, added more debug-logging
4970         * gst/gstmacros.h:
4971           whitespace fix
4972
4973 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4974
4975         * gst/gstmessage.c:
4976           remove include of gstmemchunk.h
4977
4978 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4979
4980         * gst/gstclock.c: (_gst_clock_id_free):
4981           Commit from the Political Party For More Atomic CVS Commits,
4982           so that people don't waste too much of their day fishing
4983           out obvious leaks out of massive commits.
4984           Oh, and fix a pretty damn obvious leak in the memchunk
4985           removal code.
4986
4987 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4988
4989         * check/Makefile.am:
4990         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4991           plug mem-leak, re-add to valgrindable tests
4992
4993 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4994
4995         * gst/gstplugin.h:
4996           unbreak the build for those who have chronic arthritis
4997           and typing "make check" is just too taxing on the hands
4998
4999 2005-09-20  Andy Wingo  <wingo@pobox.com>
5000
5001         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5002         really want it out, you should fix plugins at the same time.
5003
5004 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5005
5006         * configure.ac:
5007         * docs/gst/gstreamer-sections.txt:
5008         * gst/gstobject.c:
5009           added missing symbols to api docs
5010           disable ref-count hack if we have glib >= 2.8
5011
5012 2005-09-19  David Schleef  <ds@schleef.org>
5013
5014         * docs/gst/Makefile.am: Ignore a few more internal headers
5015         * docs/gst/gstreamer-docs.sgml: Remove old sections
5016         * docs/gst/gstreamer-sections.txt: Remove old sections
5017         * docs/gst/tmpl/gstobject.sgml: update
5018         * docs/gst/tmpl/gstplugin.sgml: update
5019         * docs/gst/tmpl/gstpluginfeature.sgml: update
5020         * docs/random/ds/0.9-suggested-changes: update.
5021         * gst/Makefile.am: remove memchunk and trashstack, since they're
5022           not used.
5023         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5024         * gst/gst.h: don't include some headers
5025         * gst/gstchildproxy.c: add gstmarshal.h
5026         * gst/gstclock.c: Don't use memchunks
5027         * gst/gstminiobject.c: Add some docs
5028         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5029         * gst/gstobject.h: same
5030         * gst/gstplugin.c: include gstmacros.h
5031         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5032         * gst/gstquery.c: don't use memchunks
5033         * gst/gstregistry.c: rename gst_registry_deinit()
5034         * gst/gstregistry.h: same
5035
5036 2005-09-19  David Schleef  <ds@schleef.org>
5037
5038         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5039         * docs/libs/gstreamer-libs-sections.txt:
5040         * docs/libs/tmpl/gstgetbits.sgml:
5041         * docs/libs/tmpl/gstputbits.sgml:
5042
5043 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5044
5045         * win32/gstenumtypes.c:
5046         * win32/gstenumtypes.h:
5047           Update.
5048
5049 2005-09-19  Wim Taymans  <wim@fluendo.com>
5050
5051         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5052         Automatically PAUSE and RESUME a pipeline when a flushing seek
5053         is performed.
5054
5055 2005-09-19  Andy Wingo  <wingo@pobox.com>
5056
5057         * gst/gstregistry.h: Spacing fixen.
5058
5059 2005-09-19  Wim Taymans  <wim@fluendo.com>
5060
5061         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5062         Handle state change failure more correctly.
5063
5064 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5065
5066         * check/Makefile.am:
5067         * check/pipelines/cleanup.c: (run_pipeline):
5068         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5069         (GST_START_TEST):
5070           enable cleanup again after fixing the leak
5071         * docs/README:
5072           some more info on docs
5073
5074 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5075
5076         * check/Makefile.am:
5077           re-enable tests now that leaks are plugged
5078         * check/gst/gst.c:
5079         * check/gst/gstbin.c:
5080         * check/gst/gstpipeline.c:
5081           add some more tests while fixing leaks
5082         * common/check.mak:
5083           make sure binaries are uptodate when valgrinding/gdbing
5084         * gst/gst.c:
5085         * gst/gstelementfactory.c:
5086           remove a ref too many, and add a FIXME for when we get
5087           round to disposing of classes
5088         * gst/gstplugin.c:
5089           fix the refcounting when loading a plugin from a file and
5090           the code pretends that the pointer is the same even though
5091           of course it can change
5092         * gst/gstpluginfeature.c:
5093           unref plugins marked cached (a bit confusing as a name)
5094           as the docs state should be done
5095           various doc additions to explain refcounting
5096         * gst/gstregistry.c:
5097         * gst/gstregistryxml.c:
5098           debugging
5099
5100 2005-09-19  Wim Taymans  <wim@fluendo.com>
5101
5102         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5103         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5104         (send_messages), (GST_START_TEST), (gstbus_suite):
5105         * check/gst/gstpipeline.c: (GST_START_TEST):
5106         * check/pipelines/cleanup.c: (run_pipeline):
5107         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5108         (GST_START_TEST):
5109         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5110         (gst_bus_source_check), (gst_bus_source_dispatch),
5111         (gst_bus_create_watch), (gst_bus_add_watch_full),
5112         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5113         * gst/gstbus.h:
5114         * tools/gst-launch.c: (event_loop):
5115         * tools/gst-md5sum.c: (event_loop):
5116         GstBusHandler -> GstBusFunc, return value has the same meaning as
5117         any other GSource (FALSE == remove source).
5118         _add_watch() and _add_watch_full() now take a MessageType mask to
5119         only handle specific types of messages.
5120         _poll() returns the GstMessage instead of the message type to avoid
5121         race conditions.
5122         _have_pending() takes a MessageType mask now too.
5123         Added testsuite for multiple bus watches.
5124         Fix testsuites and applications for new bus API.
5125
5126 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5127
5128         * check/Makefile.am:
5129           mark a bunch of the tests as to fix until we fix them
5130
5131 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5132
5133         * common/check.mak:
5134           use GST_PLUGIN settings for valgrind tests as well, so we're
5135           valgrinding the correct thing
5136         * gst/gst.c: (init_post):
5137           plug another leak
5138
5139 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5140
5141         * gst/gst.c: (init_post), (gst_deinit):
5142         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5143         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5144         * gst/gstindex.c: (gst_index_factory_class_init),
5145         (gst_index_factory_finalize):
5146         * gst/gstobject.c: (gst_object_dispose):
5147         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5148         (gst_plugin_load_file), (gst_plugin_desc_free):
5149         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5150         (gst_plugin_feature_finalize):
5151         * gst/gstregistry.c: (gst_registry_class_init),
5152         (gst_registry_init), (gst_registry_finalize),
5153         (gst_registry_get_default), (gst_registry_deinit):
5154         * gst/gstregistry.h:
5155         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5156           various cleanups and memleak plugging.  make valgrind is happy now.
5157
5158 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5159
5160         * common/check.mak:
5161           add a check-valgrind target
5162
5163 2005-09-18  David Schleef  <ds@schleef.org>
5164
5165         * tools/gst-inspect.c: Revert the GOption code.
5166
5167 2005-09-17  David Schleef  <ds@schleef.org>
5168
5169         * check/Makefile.am: Fix environment variables.
5170         * check/gst/gstplugin.c: Fix for API changes.
5171         * tools/gst-inspect.c: Fix for API changes.
5172         * tools/gst-xmlinspect.c: Fix for API changes.
5173         * gst/gstelementfactory.c:
5174         * gst/gstplugin.c:
5175         * gst/gstplugin.h:
5176         * gst/gstpluginfeature.c:
5177         * gst/gstpluginfeature.h:
5178         * gst/gstregistry.c:
5179         * gst/gstregistry.h:
5180         * gst/gstregistryxml.c:
5181         * gst/gsttypefind.c:
5182         * gst/gsttypefindfactory.c:
5183         * gst/indexers/gstfileindex.c:
5184         * gst/indexers/gstmemindex.c:
5185         * gst/schedulers/Makefile.am:
5186           Change registry to keep track of both plugins and features,
5187           removing the feature tracking from plugins themselves.
5188
5189 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5190
5191         * check/Makefile.am:
5192         * tools/gst-register.1.in:
5193           remove gst-register
5194
5195 2005-09-15  David Schleef  <ds@schleef.org>
5196
5197         * check/gst/gstplugin.c:
5198         * gst/gstelementfactory.c:
5199         * gst/gstplugin.c:
5200         * gst/gstpluginfeature.c:
5201         * gst/gstregistry.c:
5202           Getting tired of debugging.  Disabled all the unreffing of
5203           plugins and features, which fixes the segfaults, but of
5204           course leaks like crazy.  At least playbin works.
5205
5206 2005-09-15  David Schleef  <ds@schleef.org>
5207
5208         * check/gst/gstplugin.c: (register_check_elements),
5209         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5210         More testing
5211         * gst/elements/gsttypefindelement.c: Fix refcounting.
5212         * gst/gsttypefind.c:
5213         * gst/gsttypefindfactory.c:
5214         * gst/gsttypefindfactory.h:
5215
5216 2005-09-15  David Schleef  <ds@schleef.org>
5217
5218         * gst/gstindex.c: get refcounting correct.
5219         * gst/gstregistry.c: Handle the case where a feature/plugin is
5220           not found.
5221
5222 2005-09-15  David Schleef  <ds@schleef.org>
5223
5224         * check/Makefile.am:
5225         * check/gst/gstplugin.c: Add test
5226         * gst/gstplugin.c: Fix problems noticed by testsuite
5227         * gst/gstplugin.h:
5228         * gst/gstregistry.c: 
5229         * gst/gstregistry.h:
5230
5231 2005-09-15  David Schleef  <ds@schleef.org>
5232
5233         * gst/gstplugin.c: Implement semi-decent recounting and locking
5234           in plugins and plugin features.
5235         * gst/gstplugin.h:
5236         * gst/gstpluginfeature.c:
5237         * gst/gstpluginfeature.h:
5238         * gst/gstregistry.c:
5239
5240 2005-09-15  Michael Smith <msmith@fluendo.com>
5241
5242         * gst/gstregistry.c: (gst_registry_get_feature_list):
5243           Implement this. Makes oggdemux work; decodebin still broken.
5244
5245 2005-09-14  David Schleef  <ds@schleef.org>
5246
5247         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5248           #316076)
5249         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5250         * gst/check/Makefile.am:
5251         * libs/gst/controller/Makefile.am:
5252         * libs/gst/dataprotocol/Makefile.am:
5253
5254 2005-09-14  David Schleef  <ds@schleef.org>
5255
5256         * configure.ac: Remove getbits library.  Nothing uses it, and
5257           it should be in something like liboil if someone did want
5258           to use it.
5259         * libs/gst/Makefile.am:
5260         * libs/gst/getbits/Makefile.am:
5261         * libs/gst/getbits/gbtest.c:
5262         * libs/gst/getbits/getbits.c:
5263         * libs/gst/getbits/getbits.h:
5264         * libs/gst/getbits/gstgetbits_generic.c:
5265         * libs/gst/getbits/gstgetbits_i386.s:
5266         * libs/gst/getbits/gstgetbits_inl.h:
5267
5268 2005-09-14  David Schleef  <ds@schleef.org>
5269
5270         * gst/Makefile.am: Dist glib-compat.h
5271
5272 2005-09-14  David Schleef  <ds@schleef.org>
5273
5274         * configure.ac: Remove gst/registries, since it's no longer used.
5275         * gst/registries/Makefile.am:
5276         * gst/registries/gstlibxmlregistry.c:
5277         * gst/registries/gstlibxmlregistry.h:
5278         * gst/registries/gstxmlregistry.c:
5279         * gst/registries/gstxmlregistry.h:
5280         * gst/registries/registrytest.c:
5281
5282 2005-09-14  David Schleef  <ds@schleef.org>
5283
5284         * gst/glib-compat.h:
5285         * gst/gstregistryxml.c:
5286           Convergence is near.  Seriously.
5287
5288 2005-09-14  David Schleef  <ds@schleef.org>
5289
5290         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5291         * gst/glib-compat.h:
5292           Attempt #4 to appease the buildbots.
5293
5294 2005-09-14  David Schleef  <ds@schleef.org>
5295
5296         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5297           Attempt #3.
5298
5299 2005-09-14  David Schleef  <ds@schleef.org>
5300
5301         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5302         Attempt #2.
5303
5304 2005-09-14  David Schleef  <ds@schleef.org>
5305
5306         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5307           the new functions.
5308
5309 2005-09-14  David Schleef  <ds@schleef.org>
5310
5311         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5312         * gst/glib-compat.h: Add some functions that are in newer versions
5313           of glib than we care to require.
5314         * gst/gstregistryxml.c: Use them.
5315
5316 2005-09-14  David Schleef  <ds@schleef.org>
5317
5318         * po/POTFILES.in: remove gst-register.c
5319
5320 2005-09-14  David Schleef  <ds@schleef.org>
5321
5322         * docs/gst/gstreamer-docs.sgml:
5323         * docs/gst/gstreamer-sections.txt:
5324         * docs/gst/gstreamer.types:
5325         * docs/gst/tmpl/gstelement.sgml:
5326         * docs/gst/tmpl/gstplugin.sgml:
5327         * docs/gst/tmpl/gstpluginfeature.sgml:
5328           Documentation updates for registry changes.
5329
5330 2005-09-14  David Schleef  <ds@schleef.org>
5331
5332         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5333           because we don't require glib-2.8.
5334
5335 2005-09-14  David Schleef  <ds@schleef.org>
5336
5337         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5338           registries directory.
5339
5340 2005-09-14  David Schleef  <ds@schleef.org>
5341
5342         * check/Makefile.am:
5343         * check/generic/states.c:
5344         * gst/Makefile.am:
5345         * gst/gst.c:
5346         * gst/gst.h:
5347         * gst/gst_private.h:
5348         * gst/gstelementfactory.c:
5349         * gst/gstindex.c:
5350         * gst/gstinfo.c:
5351         * gst/gstplugin.c:
5352         * gst/gstplugin.h:
5353         * gst/gstpluginfeature.c:
5354         * gst/gstpluginfeature.h:
5355         * gst/gstregistry.c:
5356         * gst/gstregistry.h:
5357         * gst/gstregistrypool.c: remove
5358         * gst/gstregistrypool.h: remove
5359         * gst/gsttypefind.c:
5360         * gst/gsttypefindfactory.c:
5361         * gst/gsturi.c:
5362         * tools/Makefile.am:
5363         * tools/gst-compprep.c:
5364         * tools/gst-inspect.c:
5365         * tools/gst-register.c: remove
5366         * tools/gst-xmlinspect.c:
5367           Registry rewrite.  Changes registry from being a file created
5368           by a tool into a simple cache file created automatically by 
5369           libgstreamer.  Removed gst-register (because it's no longer
5370           needed).  Remove registry pools, because we only have one
5371           registry implementation (XML).  Fix up other subsystems as
5372           necessary.
5373
5374 2005-09-13  Michael Smith <msmith@fluendo.com>
5375
5376         * gst/gstconfig.h.in:
5377           Don't Use windows linking attributes for MinGW. Fixes #316157
5378
5379 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5380
5381         * gst/gstutils.c: (set_state_async_thread_func),
5382         (gst_element_set_state_async):
5383           Apparently people think it's better if this function doesn't
5384           try to set the state to whatever state was asked for on the first
5385           call to this function for any object.  Seriously.
5386
5387 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5388
5389         * check/gst/gstpipeline.c: (GST_START_TEST):
5390         * docs/gst/gstreamer-sections.txt:
5391         * gst/gstutils.c: (set_state_async_thread_func),
5392         (gst_element_set_state_async):
5393         * gst/gstutils.h:
5394           add a "gst_element_set_state_async" method that
5395           sets the state and starts a thread to make sure the state
5396           change completes as best as it can
5397
5398 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5399
5400         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5401           codify design+behaviour in testsuite after discussion
5402
5403 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5404
5405         * docs/gst/tmpl/gstelement.sgml:
5406         * docs/manual/appendix-quotes.xml:
5407           add a quote
5408         * gst/gstelement.c: (gst_element_set_state):
5409           add some debug
5410
5411 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5412
5413         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5414         (gst_base_transform_prepare_output_buf),
5415         (gst_base_transform_handle_buffer):
5416         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5417         (gst_capsfilter_prepare_buf):
5418           Remove the requirement for sub-classes to call the parent
5419           implementation of prepare_output_buffer with a wrapper function.
5420           
5421         * gst/gsttaglist.h:
5422         * gst/gsttagsetter.h:
5423           Fix #define wrapper
5424
5425 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5426
5427         * docs/gst/gstreamer-sections.txt:
5428           more doc cleanups
5429
5430 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5431
5432         * docs/gst/gstreamer-sections.txt:
5433         * docs/gst/tmpl/gstelement.sgml:
5434         * docs/gst/tmpl/gstplugin.sgml:
5435         * gst/gstminiobject.c:
5436         * gst/gstvalue.h:
5437           docs now stop throwing warnings
5438
5439 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5440
5441         * docs/gst/gstreamer-sections.txt:
5442         * docs/gst/gstreamer.types:
5443         * docs/gst/tmpl/gstpad.sgml:
5444         * docs/gst/tmpl/gsttypes.sgml:
5445         * gst/base/gstadapter.h:
5446         * gst/base/gstbasesink.h:
5447         * gst/base/gstbasesrc.h:
5448         * gst/gstbin.h:
5449         * gst/gstbuffer.h:
5450         * gst/gstbus.h:
5451         * gst/gstcaps.h:
5452         * gst/gstclock.h:
5453         * gst/gstelement.h:
5454         * gst/gstevent.h:
5455         * gst/gstmessage.h:
5456         * gst/gstpad.h:
5457         * gst/gststructure.c:
5458         * gst/registries/gstlibxmlregistry.h:
5459           various documentation fixes
5460
5461 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5462
5463         * docs/gst/gstreamer-sections.txt:
5464         * docs/gst/tmpl/gstvalue.sgml:
5465           rearrange gstvalue section
5466         * gst/gstutils.c: (gst_element_state_get_name):
5467           NONE -> VOID
5468         * gst/gstvalue.c: (_gst_value_initialize):
5469         * gst/gstvalue.h:
5470           doc updates
5471
5472 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5473
5474         * check/gst-libs/controller.c:
5475           Header include fix.
5476         * gst/base/gstbasetransform.c:
5477         (gst_base_transform_default_prepare_buf),
5478         (gst_base_transform_handle_buffer):
5479         * gst/base/gstbasetransform.h:
5480           Some more basetransform changes and fixes to enable sub-classes
5481           that modify buffer metadata only.
5482         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5483         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5484         (gst_capsfilter_prepare_buf):
5485           If the output pad has fixed allowed caps and input buffers 
5486           don't have any, set the fixed caps on outgoing buffers.
5487
5488 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5489         * check/elements/identity.c: (GST_START_TEST):
5490           Make the error a little clearer when the test fails because
5491           identity made a copy of the buffer.
5492         * docs/gst/gstreamer-sections.txt:
5493           New symbols in gstbasetransform.h
5494         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5495         (gst_base_transform_init), (gst_base_transform_transform_size),
5496         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5497         (gst_base_transform_default_prepare_buf),
5498         (gst_base_transform_get_unit_size),
5499         (gst_base_transform_buffer_alloc),
5500         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5501         (gst_base_transform_change_state),
5502         (gst_base_transform_set_passthrough),
5503         (gst_base_transform_set_in_place),
5504         (gst_base_transform_is_in_place):
5505         * gst/base/gstbasetransform.h:
5506           Change BaseTransform to separate in_place operate from same_caps
5507           output. in_place implies that the element can perform the transform
5508           on incoming buffers in-place, even if the caps on the output are
5509           different.
5510           Sub-class elements can now implement special buffer allocation
5511           methods for outgoing buffers if they wish to.
5512           Big documentation addition.
5513         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5514         * gst/elements/gstelements.c:
5515           Changes for basetransform modifications.
5516         * gst/elements/Makefile.am:
5517         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5518           Compile fix. Extra debug output.
5519
5520 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5521
5522         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5523         (gst_pad_suite):
5524           add tests for valid pad naming
5525         * gst/check/gstcheck.c: (gst_check_log_message_func),
5526         (gst_check_log_critical_func):
5527           add ASSERT_WARNING
5528           remove printing of code, it is fragile when the code contains
5529           % and the line number is enough info
5530         * gst/check/gstcheck.h:
5531         * gst/gstpad.c: (gst_pad_template_new):
5532           fix memleaks
5533
5534 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5535
5536         * configure.ac:
5537           say what CHECK flags we use
5538         * docs/libs/gstreamer-libs.types:
5539         * libs/gst/controller/Makefile.am:
5540         * libs/gst/controller/gst-controller.c:
5541         * libs/gst/controller/gst-controller.h:
5542         * libs/gst/controller/gst-helper.c:
5543         * libs/gst/controller/gst-interpolation.c:
5544         * libs/gst/controller/gstcontroller.c:
5545         * libs/gst/controller/gsthelper.c:
5546         * libs/gst/controller/gstinterpolation.c:
5547         * tools/gst-inspect.c: (print_plugin_info):
5548           we don't use dashes in header names
5549
5550 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5551
5552         * check/Makefile.am:
5553         * check/gst/.cvsignore:
5554         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5555         (gst_pipeline_suite), (main):
5556           adding a test for pipelines and state changes
5557         * gst/gstutils.c: (get_state_func):
5558           add some debugging
5559         * gstreamer.spec.in:
5560           fix up spec file
5561
5562 2005-09-08  Michael Smith <msmith@fluendo.com>
5563
5564         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5565         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5566         (gst_file_src_is_seekable), (gst_file_src_get_size),
5567         (gst_file_src_start):
5568         * gst/elements/gstfilesrc.h:
5569           Various fixes for unseekable, unmmapable, and non-normal files, so
5570           that fallback to read() rather than mmap() works.
5571         * gst/gstevent.c: (gst_event_new_newsegment):
5572           Allow newsegment events with segment_start == segment_end, as will
5573           correctly happen if you use filesrc on a zero-size file, for
5574           example.
5575
5576 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5577
5578         * gst/gstplugin.c: (gst_plugin_load_file):
5579           Call g_module_close when we don't load the module
5580
5581         * gst/registries/gstlibxmlregistry.c:
5582         (gst_xml_registry_get_property):
5583           Port leak fix from 0.8
5584
5585 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5586
5587         * docs/gst/gstreamer-docs.sgml:
5588         * docs/gst/tmpl/.cvsignore:
5589         * docs/gst/tmpl/gsttrace.sgml:
5590         * docs/gst/tmpl/gsttrashstack.sgml:
5591         * gst/Makefile.am:
5592         * gst/gst.h:
5593         * gst/gstelement.h:
5594         * gst/gstevent.h:
5595         * gst/gstmessage.c:
5596         * gst/gstmessage.h:
5597         * gst/gsttag.c:
5598         * gst/gsttag.h:
5599         * gst/gsttaginterface.c:
5600         * gst/gsttaginterface.h:
5601         * gst/gsttaglist.c:
5602         * gst/gsttaglist.h:
5603         * gst/gsttagsetter.c:
5604         * gst/gsttagsetter.h:
5605         * gst/gsttrace.c:
5606         * gst/gsttrace.h:
5607         * gst/gsttrashstack.c:
5608           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5609           inlined docs for gsttrace, gsttrashstack
5610
5611 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5612
5613         * gst/Makefile.am:
5614         * gst/elements/gstbufferstore.h:
5615         * gst/elements/gsttypefindelement.c:
5616         * gst/elements/gsttypefindelement.h:
5617         * gst/gst.h:
5618         * gst/gsttypefind.c:
5619         * gst/gsttypefind.h:
5620         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5621         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5622         (gst_type_find_factory_dispose),
5623         (gst_type_find_factory_unload_thyself),
5624         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5625         (gst_type_find_factory_get_caps),
5626         (gst_type_find_factory_get_extensions),
5627         (gst_type_find_factory_call_function):
5628         * gst/gsttypefindfactory.h:
5629         * gst/registries/gstlibxmlregistry.c:
5630         * gst/registries/gstxmlregistry.c:
5631           splitted gsttypefind into gsttypefind, gsttypefindfactory
5632
5633 2005-09-07  Andy Wingo  <wingo@pobox.com>
5634
5635         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5636         condition whereby the pad's task function is entered before the
5637         pad_mode variable was set.
5638
5639 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5640
5641         * gst/gstpad.c: (gst_pad_alloc_buffer):
5642           Catch misbehaving pad_alloc functions that don't
5643           set up caps and do it for them.
5644
5645 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5646
5647         * check/pipelines/simple_launch_lines.c: (run_pipeline):
5648           test for pipe!=NULL
5649         * docs/gst/tmpl/.cvsignore:
5650         * docs/gst/tmpl/gstmemchunk.sgml:
5651         * docs/gst/tmpl/gstparse.sgml:
5652         * docs/gst/tmpl/gsttaglist.sgml:
5653         * docs/gst/tmpl/gsttagsetter.sgml:
5654         * docs/gst/tmpl/gsttypefind.sgml:
5655         * docs/gst/tmpl/gsttypefindfactory.sgml:
5656         * gst/gstmemchunk.c:
5657         * gst/gstparse.c:
5658         * gst/gsttag.c:
5659         * gst/gsttaginterface.c:
5660         * gst/gsttypefind.c:
5661         * gst/gsttypefind.h:
5662           inlined more docs
5663
5664 === release 0.9.2 ===
5665
5666 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5667
5668         * NEWS:
5669         * RELEASE:
5670         * configure.ac:
5671           releasing 0.9.2, "South"
5672
5673 2005-09-05  Andy Wingo  <wingo@pobox.com>
5674
5675         * gst/registries/gstxmlregistry.h:
5676         * gst/registries/gstxmlregistry.c: Um... resurrect...
5677         
5678         * gst/registries/gstxmlregistry.h:
5679         * gst/registries/gstxmlregistry.c: and update to newer API.
5680         Incidentally they should be a bit faster now that they don't have
5681         to parse the caps.
5682         
5683 2005-09-05  Andy Wingo  <wingo@pobox.com>
5684
5685         * gst/registries/gstxmlregistry.h:
5686         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5687         replaced by the libxml registry a while back
5688
5689 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5690
5691         * docs/gst/tmpl/gstplugin.sgml:
5692         * gst/elements/gstelements.c:
5693         * gst/gst.c:
5694         * gst/gstplugin.c: (gst_plugin_register_func),
5695         (gst_plugin_desc_copy), (gst_plugin_desc_free),
5696         (gst_plugin_get_source):
5697         * gst/gstplugin.h:
5698         * gst/registries/gstlibxmlregistry.c: (load_plugin),
5699         (gst_xml_registry_save_plugin):
5700         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5701         (gst_xml_registry_save_plugin):
5702         * tools/gst-inspect.c: (print_plugin_info):
5703           add a "source" plugin description field, to represent the source
5704           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
5705           will set it to PACKAGE, which is automake's idea of the name of
5706           the source project.
5707
5708 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5709
5710         * Makefile.am:
5711         * autogen.sh:
5712         * configure.ac:
5713         * docs/Makefile.am:
5714         * docs/faq/Makefile.am:
5715         * docs/gst/tmpl/gstelement.sgml:
5716         * docs/gst/tmpl/gsttypes.sgml:
5717         * docs/htmlinstall.mak:
5718         * docs/manual/Makefile.am:
5719         * docs/pwg/Makefile.am:
5720           reorganize doc build a little
5721           split out docbook and gtk-doc stuff
5722           have two separate --enable's and enable them through autogen
5723           but disable by default in configure (to be similar to other
5724           projects)
5725         * gstreamer.spec.in:
5726           clean up docs install
5727         * po/af.po:
5728         * po/az.po:
5729         * po/ca.po:
5730         * po/cs.po:
5731         * po/de.po:
5732         * po/en_GB.po:
5733         * po/fr.po:
5734         * po/it.po:
5735         * po/nb.po:
5736         * po/nl.po:
5737         * po/ru.po:
5738         * po/sq.po:
5739         * po/sr.po:
5740         * po/sv.po:
5741         * po/tr.po:
5742         * po/uk.po:
5743         * po/vi.po:
5744           translation updates
5745
5746 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5747
5748         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5749           Add comment.
5750           
5751         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5752         (gst_fake_sink_change_state):
5753           Make state change function thread-safe.
5754           
5755         * gst/gstpad.c: (gst_pad_alloc_buffer):
5756           Set offset on generic buffer allocated by fallback.
5757
5758 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
5759
5760         * docs/gst/gstreamer-sections.txt:
5761         * docs/gst/tmpl/gstelement.sgml:
5762         * gst/gstpad.c:
5763         * libs/gst/controller/gst-controller.c:
5764         (gst_controlled_property_set_interpolation_mode),
5765         (gst_controlled_property_new),
5766         (gst_controller_find_controlled_property):
5767          run the wingo-magic script against the docs
5768
5769 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5770
5771         * docs/gst/gstreamer-docs.sgml:
5772         * docs/gst/gstreamer-sections.txt:
5773         * docs/gst/tmpl/.cvsignore:
5774         * docs/gst/tmpl/gstelementdetails.sgml:
5775         * docs/gst/tmpl/gstelementfactory.sgml:
5776         * gst/gst.c:
5777         * gst/gstbus.c:
5778         * gst/gstelementfactory.c:
5779         * gst/gstelementfactory.h:
5780           merged elementdetails docs into elementfactory docs
5781           inlined both
5782
5783 2005-09-02  Andy Wingo  <wingo@pobox.com>
5784
5785         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5786         consider this enum an enum and not a flags.
5787
5788 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5789
5790         * docs/gst/gstreamer-docs.sgml:
5791         * docs/gst/tmpl/.cvsignore:
5792         * docs/gst/tmpl/gstghostpad.sgml:
5793         * docs/gst/tmpl/gstiterator.sgml:
5794         * docs/gst/tmpl/gstmacros.sgml:
5795         * docs/gst/tmpl/gstrealpad.sgml:
5796         * docs/gst/tmpl/gstregistry.sgml:
5797         * docs/gst/tmpl/gstregistrypool.sgml:
5798         * docs/gst/tmpl/gststructure.sgml:
5799         * docs/gst/tmpl/gstsystemclock.sgml:
5800         * docs/gst/tmpl/gsttrace.sgml:
5801         * gst/gstghostpad.c:
5802         * gst/gstmacros.h:
5803         * gst/gstmemchunk.c:
5804         * gst/gstmemchunk.h:
5805         * gst/gstqueue.c:
5806         * gst/gstregistry.c:
5807         * gst/gstregistrypool.c:
5808         * gst/gststructure.c:
5809         * gst/gstsystemclock.c:
5810           more docs inlined
5811
5812 2005-09-02  Andy Wingo  <wingo@pobox.com>
5813
5814         * gst/gstelement.h (GstState): Renamed from GstElementState,
5815         changed to be a normal enum instead of flags.
5816         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5817         munged to be GST_STATE_CHANGE_*.
5818         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5819         work with the new state representation.
5820         (GstStateChange): New enumeration of possible state transitions.
5821         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5822         (GstElementClass::change_state): Pass the GstStateChange along as
5823         an argument. Helps language bindings, so they don't have to use
5824         tricky lock-needing macros like GST_STATE_CHANGE ().
5825
5826         * scripts/update-states (file): New script. Run it on a file to
5827         update it for state naming and API changes. Updates files in
5828         place.
5829
5830         * All files updated for the new API.
5831
5832 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5833
5834         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5835         * gst/gstutils.c: (gst_util_set_value_from_string),
5836         (gst_util_set_object_arg):
5837           fix a bunch of unchecked return values
5838         * tools/gst-complete.c: (main):
5839         * gstreamer.spec.in:
5840           clean up a little
5841
5842 2005-09-01  Wim Taymans  <wim@fluendo.com>
5843
5844         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5845         (gst_base_sink_event), (gst_base_sink_do_sync),
5846         (gst_base_sink_handle_event):
5847         * gst/base/gstbasesink.h:
5848         Handle newsegments more correctly.
5849
5850         * gst/gstbus.c:
5851         Fix docs.
5852
5853         * gst/gstevent.c: (gst_event_new_newsegment):
5854         A newsegment cannot have a start_time of -1
5855
5856 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5857
5858         * win32/gstenumtypes.c:
5859         * win32/gstenumtypes.h:
5860           Update
5861
5862 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5863
5864         * libs/gst/controller/gst-controller.c:
5865         (gst_controlled_property_set_interpolation_mode),
5866         (gst_controlled_property_new):
5867          fixed boolean again
5868
5869 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5870
5871         * docs/faq/gst-uninstalled:
5872           add -good
5873         * gst/gstevent.c:
5874         * gst/gstevent.h:
5875           remove wrong docs
5876         * gst/gstutils.c: (gst_element_link_filtered):
5877         * gst/gstutils.h:
5878           add gst_element_link_filtered
5879
5880 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5881
5882         * docs/gst/gstreamer-docs.sgml:
5883         * docs/gst/gstreamer-sections.txt:
5884         * docs/gst/tmpl/.cvsignore:
5885         * docs/gst/tmpl/gsterror.sgml:
5886         * docs/gst/tmpl/gstfilter.sgml:
5887         * docs/gst/tmpl/gsturihandler.sgml:
5888         * docs/gst/tmpl/gsturitype.sgml:
5889         * docs/gst/tmpl/gstutils.sgml:
5890         * docs/gst/tmpl/gstxml.sgml:
5891         * gst/gsterror.c:
5892         * gst/gsterror.h:
5893         * gst/gstfilter.c:
5894         * gst/gsturi.c:
5895         * gst/gsturitype.c:
5896         * gst/gstutils.c:
5897         * gst/gstxml.c:
5898           inlined more docs, fixed double id-ref
5899
5900 2005-08-31  Wim Taymans  <wim@fluendo.com>
5901
5902         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5903         (gst_base_transform_handle_buffer):
5904         Passthrough elements don't need the caps as they don't care.
5905
5906 2005-08-31  Wim Taymans  <wim@fluendo.com>
5907
5908         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5909         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
5910         Don't leak refcounts on buffers.
5911
5912 2005-08-31  Wim Taymans  <wim@fluendo.com>
5913
5914         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
5915         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5916         (gst_base_transform_chain), (gst_base_transform_change_state):
5917         * gst/base/gstbasetransform.h:
5918         Handle the case where we are not negotiated more gracefully.
5919
5920 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
5921
5922         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
5923         (gst_file_src_map_region):
5924           Set READONLY flag on mmap'ed buffers, otherwise
5925           gst_buffer_make_writable() won't work properly (#314708).
5926
5927 2005-08-31  Wim Taymans  <wim@fluendo.com>
5928
5929         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
5930         passthrough elements can even do inplace on non writable
5931         buffers (as they don't touch them).
5932
5933 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5934
5935         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5936         (gst_test_mono_source_set_property),
5937         (gst_test_mono_source_class_init), (GST_START_TEST),
5938         (gst_controller_suite):
5939           more tests (hehe I have the most)
5940         * gst/gstbus.c:
5941           describe popping messages whenusing mulltiple sources
5942         * libs/gst/controller/gst-controller.c:
5943         (gst_controlled_property_set_interpolation_mode),
5944         (gst_controlled_property_new):
5945         * libs/gst/controller/gst-controller.h:
5946         * libs/gst/controller/gst-interpolation.c:
5947           implement boolean properties
5948
5949 2005-08-31  Wim Taymans  <wim@fluendo.com>
5950
5951         * gst/gstminiobject.c: (gst_mini_object_ref):
5952         Cannot assert that the refcount has to be positive
5953         since a disposed object can be resurrected.
5954
5955 2005-08-31  Wim Taymans  <wim@fluendo.com>
5956
5957         * gst/gstpad.c: (gst_pad_init):
5958         Revert change, need to first fix badly behaving 
5959         apps.
5960
5961 2005-08-30  Wim Taymans  <wim@fluendo.com>
5962
5963         * check/elements/fakesrc.c: (setup_fakesrc):
5964         * check/elements/identity.c: (setup_identity):
5965         Activate pads before using them.
5966
5967 2005-08-30  Wim Taymans  <wim@fluendo.com>
5968
5969         * gst/base/gstadapter.c: (gst_adapter_flush):
5970         Flushing out 0 bytes is ok for this function.
5971
5972         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5973         no newsegment gives a warning and sets the start/stop to 
5974         invalid.
5975
5976         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
5977         (gst_base_transform_set_passthrough):
5978         Some debug info.
5979
5980         * gst/gstminiobject.c: (gst_mini_object_ref):
5981         Check refcount here too.
5982
5983         * gst/gstpad.c: (gst_pad_init):
5984         Pads are initially flushing and refusing data.
5985
5986         * gst/gstutils.c: (gst_element_link_pads_filtered):
5987         When adding a capsfilter element make sure it has the
5988         same state as the parent bin.
5989
5990 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5991
5992         * docs/gst/tmpl/.cvsignore:
5993         * docs/gst/tmpl/gstformat.sgml:
5994         * docs/gst/tmpl/gstversion.sgml:
5995         * gst/gstbus.h:
5996         * gst/gstformat.c:
5997         * gst/gstformat.h:
5998         * gst/gstversion.h.in:
5999           more docs and two more inlined
6000
6001 2005-08-30  Wim Taymans  <wim@fluendo.com>
6002
6003         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6004         Don't sync to clock.
6005
6006 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6007
6008         * docs/gst/gstreamer-sections.txt:
6009           ultral33t func10ns deserve to appear in the docs actually
6010         * docs/gst/tmpl/.cvsignore:
6011         * docs/gst/tmpl/gstcompat.sgml:
6012         * docs/gst/tmpl/gstconfig.sgml:
6013         * gst/check/gstcheck.c:
6014         * gst/gstcompat.h:
6015         * gst/gstconfig.h.in:
6016           inlined more docs
6017
6018 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6019
6020         * docs/gst/tmpl/.cvsignore:
6021         * docs/gst/tmpl/gstquery.sgml:
6022         * docs/gst/tmpl/gstutils.sgml:
6023         * gst/gstquery.c:
6024         * gst/gstquery.h:
6025           inlined and extended docs
6026
6027 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6028
6029         * check/gst-libs/controller.c: (GST_START_TEST),
6030         (gst_controller_suite):
6031           more tests
6032         * docs/gst/tmpl/gstutils.sgml:
6033         * docs/libs/gstreamer-libs-sections.txt:
6034         * docs/libs/tmpl/gstdataprotocol.sgml:
6035           include path fixes
6036         * examples/controller/audio-example.c: (main):
6037           controller example works now
6038         * gst/gstclock.h:
6039           doc fixes
6040         * tools/gst-inspect.c: (print_element_properties_info):
6041           show param spec flags
6042
6043 2005-08-29  Andy Wingo  <wingo@pobox.com>
6044
6045         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6046
6047 2005-08-28  Andy Wingo  <wingo@pobox.com>
6048
6049         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6050         as having two arguments instead of just one. Allows superclasses
6051         to access information on subclasses -- see the terrible for() loop
6052         in gtype.c:g_type_create_instance for the reason why. All callers
6053         changed.
6054
6055 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6056
6057         * docs/design/part-messages.txt:
6058           update info
6059         * docs/gst/tmpl/.cvsignore:
6060         * docs/gst/tmpl/gstcaps.sgml:
6061         * docs/gst/tmpl/gstclock.sgml:
6062         * gst/gstbus.c:
6063         * gst/gstcaps.c:
6064         * gst/gstcaps.h:
6065         * gst/gstclock.c:
6066         * gst/gstclock.h:
6067         * gst/gstmessage.c:
6068           added descriptions for bus and message
6069           inline caps and clock docs
6070
6071 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6072
6073         * gst/gstmessage.c:
6074         * gst/gstmessage.h:
6075           doc fixes
6076
6077 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6078
6079         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6080           fix div-by-zero
6081
6082 2005-08-26  Andy Wingo  <wingo@pobox.com>
6083
6084         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6085         element_set_state's return val.
6086         (test_2_elements): Add test that's been disabled for months.
6087
6088         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6089         can-activate-pull properties.
6090
6091         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6092         can-activate-pull properties. Implement is_seekable so fakesrc can
6093         operate in pull mode.
6094
6095         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6096         properties.
6097         (gst_base_sink_activate, gst_base_sink_activate_pull)
6098         (gst_base_sink_activate_push): Make activation mode choosing work.
6099         Cleanups.
6100         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6101         is right. Make pull mode work. Post an eos before pausing in pull
6102         mode.
6103         (gst_base_sink_change_state): Pay attention to the core's
6104         change_state() return val.
6105         
6106         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6107         has-getrange properties. Cleanups.
6108         
6109         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6110         has_getrange and replace with can_activate_pull and
6111         can_activate_push.
6112
6113         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6114         locking comments. Remove has_loop, has_chain and replace with
6115         can_activate_pull and can_activate_push.
6116
6117 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6118
6119         * configure.ac:
6120         * examples/Makefile.am:
6121         * examples/metadata/Makefile.am:
6122         * examples/metadata/read-metadata.c: (message_loop),
6123         (have_pad_handler), (make_pipeline), (print_tag), (main):
6124           Add metadata reading example that loops over a list of filenames,
6125           dumping any tags found.
6126
6127         * gst/gstbus.c: (gst_bus_dispose):
6128         * gst/gstelement.c: (gst_element_dispose):
6129           Release a few potentially-held references in dispose.
6130
6131 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6132
6133         * docs/gst/tmpl/gstminiobject.sgml:
6134           do *not* add tmpl/*.sgml files to CVS!
6135
6136 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6137
6138         * libs/gst/bytestream/.cvsignore:
6139         * libs/gst/bytestream/Makefile.am:
6140         * libs/gst/bytestream/adapter.c:
6141         * libs/gst/bytestream/adapter.h:
6142         * libs/gst/bytestream/bytestream.c:
6143         * libs/gst/bytestream/bytestream.h:
6144         * libs/gst/bytestream/filepad.c:
6145         * libs/gst/bytestream/filepad.h:
6146           removing obsolete files
6147
6148 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6149
6150         * docs/gst/gstreamer-docs.sgml:
6151         * docs/libs/gstreamer-libs-docs.sgml:
6152           disabed additional index entries again, as this makes docs-gen just
6153           slow and they aren't useful yet
6154         * docs/libs/gstreamer-libs-sections.txt:
6155           little -section.txt cleanup for libs
6156
6157 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6158
6159         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6160         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6161           fix up some debugging
6162         (gst_base_transform_get_unit_size),
6163         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6164         (gst_base_transform_handle_buffer):
6165         * gst/base/gstbasetransform.h:
6166           handle and store timed NEWSEGMENT events so that subclasses that
6167           calculate time by counting samples have a segment_start time they
6168           need to add to their timestamps - see audioresample
6169
6170 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6171
6172         * gst/gstbin.h:
6173           removed ';' from the end of macro defs
6174         * docs/gst/gstreamer-docs.sgml:
6175         * docs/gst/gstreamer-sections.txt:
6176         * docs/gst/tmpl/.cvsignore:
6177         * gst/gstbus.h:
6178         * gst/gstelement.c: (gst_element_class_init),
6179         (gst_element_set_state), (activate_pads),
6180         (gst_element_save_thyself):
6181         * gst/gstevent.c: (gst_event_new_newsegment):
6182         * gst/gstevent.h:
6183         * gst/gstiterator.c:
6184         * gst/gstiterator.h:
6185         * gst/gstpad.c:
6186         * gst/gstprobe.h:
6187         * gst/gstutils.c: (gst_pad_query_convert):
6188         * gst/gstutils.h:
6189           fixed parameter name mismatches between source, header and docs
6190           added some more docs, resolved the last batch of unused elements in
6191           docs (now someone needs to doc them)
6192
6193 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6194
6195         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6196         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6197           don't walk through the plugins backwards.  Where is all this
6198           reversed logic coming from ?
6199
6200 2005-08-25  Wim Taymans  <wim@fluendo.com>
6201
6202         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6203         (gst_base_transform_transform_size),
6204         (gst_base_transform_configure_caps),
6205         (gst_base_transform_get_unit_size),
6206         (gst_base_transform_buffer_alloc),
6207         (gst_base_transform_change_state):
6208         * gst/base/gstbasetransform.h:
6209         Cache caps unit_size.
6210         Make sure we cannot negotiate up and downstream at the
6211         same time.
6212
6213 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6214
6215         * gst/gst.c: (init_pre), (init_post):
6216           register the installed plugin path after the env var
6217         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6218         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6219           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6220           directories, so the tests can prefer uninstalled over installed
6221
6222 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6223
6224         * gst/base/gstbasetransform.h:
6225           comment
6226         * gst/gstpad.c:
6227           add to docs
6228
6229 2005-08-25  Wim Taymans  <wim@fluendo.com>
6230
6231         * gst/gstbin.c: (bin_bus_handler):
6232         Be a bit more conservative about the posted message.
6233         
6234         * gst/gstbus.c: (gst_bus_post):
6235         Some cleanups, warn wrong return values.
6236
6237 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6238
6239         * check/gst/gstbin.c: (GST_START_TEST):
6240         * gst/gstbin.c: (bin_bus_handler):
6241         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6242         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6243         (gst_message_new_warning), (gst_message_new_tag),
6244         (gst_message_new_state_changed), (gst_message_new_segment_start),
6245         (gst_message_new_segment_done), (gst_message_new_custom):
6246         * gst/gstmessage.h:
6247         * tools/gst-launch.c: (event_loop):
6248         * tools/gst-md5sum.c: (event_loop):
6249           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6250
6251 2005-08-25  Wim Taymans  <wim@fluendo.com>
6252
6253         * check/generic/states.c: (GST_START_TEST):
6254         Cleanup can be done at the end.
6255
6256         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6257         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6258         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6259         Oh boy.. Thanks for finding this, Thomas. 
6260
6261 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6262
6263         * docs/gst/gstreamer.types:
6264           added missing types
6265
6266 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6267
6268         * docs/gst/gstreamer-docs.sgml:
6269         * docs/gst/gstreamer-sections.txt:
6270         * docs/gst/tmpl/.cvsignore:
6271         * gst/gstbin.c:
6272         * gst/gstiterator.c:
6273         * gst/gstutils.c:
6274         * gst/registries/gstxmlregistry.h:
6275           added missing classes and symbols (123 more to go)
6276           removed removed symbols from section file
6277           fixed many doc-comments
6278
6279 2005-08-24  Wim Taymans  <wim@fluendo.com>
6280
6281         * check/generic/states.c: (GST_START_TEST):
6282         Make sure all tasks are stopped.
6283
6284         * check/gst/gstbin.c: (GST_START_TEST):
6285         Unref after usage for proper valgrinding.
6286
6287         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6288         Really wait for the task to stop before destroying the
6289         mutex.
6290
6291         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6292         (gst_queue_src_activate_push):
6293         Small cleanups. Don't stop the task when we did not start
6294         it.
6295
6296         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6297         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6298         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6299         (gst_task_join):
6300         * gst/gsttask.h:
6301         Protect the stream lock with the object lock.
6302         Disallow setting the stream lock when running.
6303         Add cleanup_all to wait for the threadpool to finish.
6304         Remove code to autoallocate a mutex if none was provided.
6305         Add _join() to wait for a task to stop.
6306         Protect the thread pool with a global lock.
6307
6308 2005-08-24  Wim Taymans  <wim@fluendo.com>
6309
6310         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6311         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6312         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6313         * gst/base/gstbasesink.h:
6314         Handle newsegment events correctly.
6315         Drop buffers out of the segment range.
6316
6317 2005-08-22  Andy Wingo  <wingo@pobox.com>
6318
6319         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6320         macro, implements an interface and gstimplementsinterface for a
6321         new type.
6322
6323 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6324
6325         * check/Makefile.am:
6326         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6327           add a test that does a bunch of state changes on elements
6328           needs some fixing for valgrind
6329         * check/states/sinks.c: (gst_object_suite):
6330           whitespace
6331         * gst/gstcaps.h:
6332           add prototype for gst_caps_is_equal_fixed
6333         * gst/gstplugin.c:
6334         * gst/gstregistrypool.c:
6335           doc fixes
6336
6337 2005-08-24  Andy Wingo  <wingo@pobox.com>
6338
6339         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6340         convert a negative value. Doesn't make much sense. Mostly this is
6341         here to force callers to ensure -1 maps to -1.
6342
6343 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6344
6345         * docs/pwg/advanced-types.xml:
6346           Well done to Michael for catching my deliberate introduction
6347           of this spelling mistake. 
6348         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6349         * gst/gstelement.h:
6350           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6351           unlink pads before removing the element from the bin.
6352
6353 2005-08-24  Andy Wingo  <wingo@pobox.com>
6354
6355         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6356         the same thing as GST_DEBUG=*:4.
6357         (parse_debug_level, parse_debug_category): New helper parsers.
6358
6359 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6360
6361         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6362         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6363         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6364         (gst_base_transform_buffer_alloc),
6365         (gst_base_transform_handle_buffer):
6366           use gboolean return values and pointers to size so we can use the
6367           full GST_BUFFER_SIZE range (guint) for buffer sizes
6368           use GstPadDirection for transform_caps
6369         * gst/base/gstbasetransform.h:
6370           rename get_size to get_unit_size since that's what it is
6371         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6372           use GstPadDirection for transform_caps
6373         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6374         * gst/gstutils.h:
6375           cleanup and debugging
6376
6377 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6378
6379         * gst/gstelement.c: (gst_element_class_init),
6380         (gst_element_set_state), (activate_pads),
6381         (gst_element_save_thyself):
6382         * tools/gst-compprep.c: (main):
6383         * tools/gst-inspect.c: (print_element_properties_info):
6384         * tools/gst-xmlinspect.c: (print_element_properties):
6385           Fixed long standing mem-leak
6386
6387 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6388
6389         * check/gst/gstbin.c: (GST_START_TEST):
6390         * gst/gstbin.c: (bin_bus_handler):
6391         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6392         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6393         (gst_message_new_warning), (gst_message_new_tag),
6394         (gst_message_new_state_changed), (gst_message_new_segment_start),
6395         (gst_message_new_segment_done), (gst_message_new_custom):
6396         * gst/gstmessage.h:
6397         * tools/gst-launch.c: (event_loop):
6398         * tools/gst-md5sum.c: (event_loop):
6399           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6400           that applications can sensibly post custom messages with references
6401           to their own objects.
6402
6403 2005-08-24  Andy Wingo  <wingo@pobox.com>
6404
6405         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6406         already.
6407
6408 2005-08-24  Wim Taymans  <wim@fluendo.com>
6409
6410         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6411         (gst_base_transform_transform_caps),
6412         (gst_base_transform_transform_size),
6413         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6414         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6415         (gst_base_transform_handle_buffer):
6416         * gst/base/gstbasetransform.h:
6417         Many fixes and new features added by Thomas. Can now also do
6418         transforms with variable sizes and a custom fixate_caps function.
6419
6420 2005-08-24  Wim Taymans  <wim@fluendo.com>
6421
6422         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6423         Some debugging.
6424
6425         * gst/gstclock.h:
6426         Cast to ClockTime before formatting to time.
6427
6428         * gst/gstutils.h:
6429         Cleanups.
6430
6431 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6432
6433         * check/gst-libs/controller.c: (GST_START_TEST),
6434         (gst_controller_suite):
6435         * docs/gst/tmpl/gstcaps.sgml:
6436         * docs/gst/tmpl/gstghostpad.sgml:
6437         * docs/gst/tmpl/gstquery.sgml:
6438         * docs/gst/tmpl/gstutils.sgml:
6439         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6440         (gst_object_sink_values), (gst_object_get_value_arrays),
6441         (gst_object_get_value_array):
6442           gracefully handle helper method calls to objects that are not beeing
6443           controlled, added test case for that          
6444
6445 2005-08-23  Wim Taymans  <wim@fluendo.com>
6446
6447         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6448         (gst_event_new_newsegment), (gst_event_parse_newsegment),
6449         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6450         (gst_event_parse_qos), (gst_event_new_seek),
6451         (gst_event_parse_seek):
6452         * gst/gstevent.h:
6453         Some more debugging output and doc cleanups.
6454
6455         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6456         Fix possible deadlock.
6457
6458 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6459
6460         * docs/gst/gstreamer-docs.sgml:
6461         * docs/gst/gstreamer-sections.txt:
6462         * docs/gst/gstreamer.types:
6463         * docs/gst/tmpl/.cvsignore:
6464         * gst/gstbin.h:
6465         * gst/gstbus.c:
6466         * gst/gstelement.c:
6467         * gst/gstevent.h:
6468           added 100 symbols from gstreamer-unused.txt to the right sections
6469           fixed more broken comments
6470           added GstBus to docs
6471
6472 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6473
6474         * docs/gst/gstreamer-sections.txt:
6475         * docs/gst/tmpl/.cvsignore:
6476         * docs/gst/tmpl/gstbin.sgml:
6477         * docs/gst/tmpl/gstbuffer.sgml:
6478         * gst/base/gstbasesrc.c:
6479         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6480         * gst/gstbuffer.c:
6481         * gst/gstbuffer.h:
6482         * tools/gst-launch.1.in:
6483           inlined more doc comments, added missing comments and fixed comments
6484           fixed typos
6485
6486 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6487
6488         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6489           some debugging
6490         * gst/gstcaps.h:
6491           whitespace fixes
6492         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6493           more debugging
6494         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6495         * gst/gststructure.h:
6496           add a fixate function for booleans; add a FIXME that these func
6497           names should probably be gst_structure_fixate_*
6498
6499 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6500
6501         * docs/gst/gstreamer-docs.sgml:
6502         * docs/gst/gstreamer-sections.txt:
6503         * gst/Makefile.am:
6504         * gst/gstbin.c: (gst_bin_get_type),
6505         (gst_bin_child_proxy_get_child_by_index),
6506         (gst_bin_child_proxy_get_children_count),
6507         (gst_bin_child_proxy_init):
6508         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6509         (gst_child_proxy_get_child_by_index),
6510         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6511         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6512         (gst_child_proxy_get), (gst_child_proxy_set_property),
6513         (gst_child_proxy_set_valist), (gst_child_proxy_set),
6514         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6515         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6516         * gst/gstchildproxy.h:
6517         * gst/parse/grammar.y:
6518         * tools/gst-inspect.c: (print_interfaces),
6519         (print_element_properties_info), (print_element_info):
6520           ported gstchildproxy over from 0.8
6521           ported gst-inspect fixes and enhancements over from 0.8
6522
6523 2005-08-22  Wim Taymans  <wim@fluendo.com>
6524
6525         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6526         (gst_base_transform_handle_buffer):
6527         Also call the transform function if we have ANY caps.
6528
6529         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6530         Fix debug info.
6531
6532 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6533
6534         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6535           Don't pretend to handle seek events if the source is not seekable
6536
6537 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6538
6539         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6540           Remove extra parameter to debug output
6541
6542         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6543         (gst_base_src_do_seek), (gst_base_src_activate_push):
6544           Fix seek event handling.
6545
6546         * gst/gstpipeline.c: (gst_pipeline_change_state):
6547         * gst/gstqueue.c: (gst_queue_handle_sink_event),
6548         (gst_queue_src_activate_push):
6549           Don't start the src pad task on FLUSH_STOP if the pad
6550           isn't linked.
6551           Debug changes.
6552
6553 2005-08-22  Wim Taymans  <wim@fluendo.com>
6554
6555         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6556         Added check for gst_static_caps_get() refcounting.
6557
6558 2005-08-22  Wim Taymans  <wim@fluendo.com>
6559
6560         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6561         Make _static_caps_get() refcounting sane.
6562         
6563         * gst/gstelement.c: (gst_element_set_state):
6564         Add g_return_val_if_fail() to protect against segfaults.
6565
6566 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
6567
6568         * docs/gst/tmpl/gstevent.sgml:
6569         * gst/gstevent.c:
6570         * gst/gstevent.h:
6571           inlined remaining docs, added missing doc comments
6572
6573 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6574
6575         * check/gst/gstbin.c: (GST_START_TEST):
6576           since we don't know when preroll is done, use refcount range
6577           check for the sink
6578         * gst/check/gstcheck.h:
6579           add macro for checking refcount range
6580
6581 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6582
6583         * check/Makefile.am:
6584           clean up environment for when registry gets built versus
6585           when actual tests are run; valgrind seems to not report
6586           leaks if GST_PLUGIN_PATH is set to some specific values
6587         * check/gst/gstbin.c: (GST_START_TEST):
6588           add more refcounting checks; maybe this exposes a
6589           preroll lock bug ?
6590         * common/check.mak:
6591         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6592         * gst/check/gstcheck.h:
6593         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6594         (gst_bin_change_state):
6595         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6596           add/fix debugging/whitespace
6597
6598 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6599
6600         * check/gst/gstevent.c: (event_probe), (test_event),
6601         (GST_START_TEST):
6602          Er, don't call gst_bin_watch_for_state_change you idiot.
6603
6604 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6605
6606         * check/Makefile.am:
6607           Use CHECK_CFLAGS and CHECK_LIBS
6608         * check/gst/gstevent.c: (event_probe), (test_event),
6609         (GST_START_TEST):
6610           Don't leak events.
6611         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6612         (gst_base_src_start), (gst_base_src_stop),
6613         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6614         (gst_base_src_change_state):
6615           Sprinkle gst_base_src_stop liberally around error paths to fix
6616           problems reusing a source after failed state changes.
6617         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6618         (helper_find_suggest), (gst_type_find_helper):
6619           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6620         * gst/gstevent.h:
6621         * docs/gst/tmpl/gstevent.sgml:
6622           Migrate part of the docs from the SGML file. Wait for ensonic to
6623           tell me how I did it wrong ;)
6624         * tools/gst-typefind.c: (main):
6625           Extra robustness to state changes between files.
6626
6627 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6628
6629         * check/Makefile.am:
6630           don't valgrind the controller test - it's leaking - Stefan, HELP
6631         * gst/check/gstcheck.c: (gst_check_message_error),
6632         (gst_check_chain_func), (gst_check_setup_element),
6633         (gst_check_teardown_element), (gst_check_setup_src_pad),
6634         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6635         (gst_check_teardown_sink_pad):
6636         * gst/check/gstcheck.h:
6637           add a bunch of methods to set up elements, and src and sink pads
6638         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6639         * check/elements/identity.c: (setup_identity), (cleanup_identity),
6640         (GST_START_TEST):
6641           use them
6642         * gst/gstmessage.c:
6643         * gst/gsttag.h:
6644           whitespace/doc fixes
6645
6646 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6647
6648         * gst/gstelement.h:
6649           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6650           be handled by the application and not always printed as well
6651
6652 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6653
6654         * check/Makefile.am:
6655           set GST_TOOLS_DIR
6656         * gst/check/gstcheck.c: (gst_check_message_error):
6657         * gst/check/gstcheck.h:
6658           add a fail_unless_equals_int
6659           add fail_unless for error messages
6660
6661 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6662
6663         * check/Makefile.am:
6664         * check/gst.supp:
6665         * common/Makefile.am:
6666         * common/check.mak:
6667         * common/gst.supp:
6668           factor out some of the common stuff so we can use it
6669
6670 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6671
6672         * check/Makefile.am:
6673         * check/gst/gstiterator.c: (GST_START_TEST):
6674         * check/gst/gstsystemclock.c: (GST_START_TEST),
6675         (gst_systemclock_suite):
6676         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6677         * gst/gstclock.c:
6678           valgrind more tests
6679
6680 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6681
6682         * check/elements/.cvsignore:
6683         * check/elements/gstfakesrc.c:
6684           rename to name of element
6685         * check/elements/identity.c: (chain_func), (event_func),
6686         (setup_identity), (cleanup_identity), (GST_START_TEST),
6687         (identity_suite), (main):
6688           add a test for identity
6689         * check/Makefile.am:
6690         * pkgconfig/Makefile.am:
6691         * pkgconfig/gstreamer-check.pc.in:
6692         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6693         * gst/check:
6694         * gst/Makefile.am:
6695         * configure.ac:
6696           move the check stuff to a library that gets installed
6697         * check/gst-libs/controller.c: (GST_START_TEST):
6698         * check/gst-libs/gdp.c:
6699         * check/gst/gst.c: (GST_START_TEST):
6700         * check/gst/gstbin.c:
6701         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6702         * check/gst/gstbus.c:
6703         * check/gst/gstcaps.c: (GST_START_TEST):
6704         * check/gst/gstelement.c:
6705         * check/gst/gstghostpad.c:
6706         * check/gst/gstiterator.c:
6707         * check/gst/gstmessage.c:
6708         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6709         * check/gst/gstobject.c:
6710         * check/gst/gstpad.c: (GST_START_TEST):
6711         * check/gst/gststructure.c: (GST_START_TEST):
6712         * check/gst/gstsystemclock.c: (GST_START_TEST),
6713         (gst_systemclock_suite):
6714         * check/gst/gsttag.c: (gst_tag_suite):
6715         * check/gst/gstvalue.c:
6716         * check/pipelines/cleanup.c:
6717         * check/pipelines/simple_launch_lines.c:
6718         * check/states/sinks.c:
6719           change include statement
6720
6721         * docs/gst/gstreamer-sections.txt:
6722         * docs/gst/tmpl/gstpad.sgml:
6723           document more pad stuff
6724         * gst/gstminiobject.c: (gst_mini_object_ref),
6725         (gst_mini_object_unref):
6726           debug refcounting
6727
6728 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
6729
6730         * docs/gst/tmpl/gst.sgml:
6731         * gst/gst.c:
6732           eliminate another tmpl file, fix spelling in the long-description
6733
6734 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6735
6736         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6737         (test_event), (timediff), (gstevents_suite):
6738           Should fix build on 64-bit arch's
6739
6740 2005-08-18  Andy Wingo  <wingo@pobox.com>
6741
6742         Make sure that when a pipeline goes to PLAYING, that data has
6743         actually hit the sink.
6744
6745         * check/states/sinks.c (test_sink): A sink that doesn't get any
6746         data shouldn't return SUCCESS for going to either PLAYING or
6747         PAUSED. Test also the return values on the way back down.
6748
6749         * gst/gstelement.c (gst_element_set_state): When changing the
6750         state of an element currently changing state asynchronously, go to
6751         lost-state after commiting the pending state. Makes future calls
6752         to get_state continue to return ASYNC.
6753
6754         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6755         ASYNC when going to PLAYING if we still don't have preroll, as can
6756         happen with live sources.
6757
6758 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6759
6760         * docs/pwg/advanced-types.xml:
6761           Hack long paragraph into 2 chunks as a workaround for buggy
6762           jadetex version in sid and breezy that loops infinitely and
6763           eats all RAM.
6764
6765 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6766
6767         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6768         (test_event), (timediff), (gstevents_suite):
6769           Provide more error margin in clock measurements to allow for 
6770           g_get_current_time inaccuracies.
6771
6772 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6773
6774         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6775         (test_event), (timediff), (gstevents_suite):
6776            Fix error message output so I might be able to tell why the
6777            test works here but fails on the build farm.
6778
6779 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6780
6781         * check/Makefile.am:
6782         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6783         (test_event), (timediff), (gstevents_suite), (main):
6784           I wrote a test!
6785
6786         * docs/design/part-seeking.txt:
6787           Spelling correction
6788
6789         * docs/gst/tmpl/gstevent.sgml:
6790         * docs/gst/tmpl/gstfakesrc.sgml:
6791           Docs updates.
6792
6793         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6794           Treat a buffer-without-newsegment the same as a receiving 
6795           a newsegment not in time format, and disable syncing to the clock
6796           with a warning.
6797
6798         * gst/gstbus.c: (gst_bus_set_sync_handler):
6799           Assert if anyone tries to replace the existing sync_handler for bus, 
6800           as only the owner should be setting it.
6801
6802         * gst/gstevent.h:
6803           Have a fixed set of custom event enums with events identified by
6804           their structure name (as in 0.8), rather than a free-for-all
6805           allowing collisions between enum values from different plugins.
6806
6807         * gst/gstpad.c: (gst_pad_class_init):
6808           Docs change.
6809           
6810         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6811           Handle out-of-band downstream events from the sending thread.
6812
6813 2005-08-17  Andy Wingo  <wingo@pobox.com>
6814
6815         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6816         play-timeout==0 to mean no timeout at all. In that case, don't
6817         bother with a get_state or a warning, just return directly, even
6818         if it's ASYNC.
6819
6820         * gst/base/gstbasetransform.c: Debug changes.
6821
6822         * gst/gstutils.h:
6823         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6824         ensure bins post state change messages. A bit of a hack but I can't
6825         think of a way to avoid it.
6826
6827         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6828
6829 2005-08-16  Andy Wingo  <wingo@pobox.com>
6830
6831         * gst/base/gstadapter.h:
6832         * gst/base/gstadapter.c (gst_adapter_take): New function, like
6833         peek() but you own the data. Not terribly efficient atm.
6834
6835 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6836
6837         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6838         (gst_element_found_tags):
6839         * gst/gstutils.h:
6840           Add two utility functions for tag handling.
6841
6842 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6843
6844         * docs/manual/advanced-dataaccess.xml:
6845         * docs/manual/basics-helloworld.xml:
6846           Fix docs to use _bin_add() before _link(), which fixes the examples
6847           with recent core versions (reported by Madhan Raj M
6848           <raj_madan@rediffmail.com>, #313199).
6849
6850 2005-08-16  Wim Taymans  <wim@fluendo.com>
6851
6852         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6853         Added subtract checks.
6854
6855         * docs/design/part-events.txt:
6856         Some more docs about newsegment
6857
6858         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6859         Fix FIXME
6860
6861         * gst/gstcaps.c: (gst_caps_to_string):
6862         Add comments, cleanups.
6863         
6864         * gst/gstelement.c: (gst_element_save_thyself):
6865         cleanups
6866         
6867         * gst/gstvalue.c: (gst_value_collect_int_range),
6868         (gst_string_unwrap), (gst_value_union_int_int_range),
6869         (gst_value_union_int_range_int_range),
6870         (gst_value_intersect_int_int_range),
6871         (gst_value_intersect_int_range_int_range),
6872         (gst_value_intersect_double_double_range),
6873         (gst_value_intersect_double_range_double_range),
6874         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6875         (gst_value_subtract_int_range_int),
6876         (gst_value_subtract_double_range_double),
6877         (gst_value_subtract_double_range_double_range),
6878         (gst_value_subtract_from_list), (gst_value_subtract_list),
6879         (gst_value_can_compare), (gst_value_compare_fraction):
6880         Cleanups, add comments, remove unneeded asserts.
6881
6882 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6883
6884         * tools/gst-launch.c: (event_loop):
6885           don't convert NULL structures to strings
6886
6887 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
6888
6889         * docs/gst/gstreamer-sections.txt:
6890           made some defines private
6891         * docs/gst/tmpl/gstconfig.sgml:
6892         * docs/gst/tmpl/gstqueue.sgml:
6893         * docs/gst/tmpl/gsttaglist.sgml:
6894         * docs/gst/tmpl/gsttypes.sgml:
6895         * docs/gst/tmpl/gstutils.sgml:
6896         * docs/pwg/appendix-porting.xml:
6897         * gst/base/gstbasesink.h:
6898         * gst/base/gstbasesrc.c:
6899         * gst/base/gstbasesrc.h:
6900         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6901         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6902         * gst/gstelement.c: (gst_element_class_init):
6903         * gst/gstpad.c: (gst_pad_class_init):
6904         * gst/gstqueue.c: (gst_queue_class_init):
6905         * gst/gstxml.c: (gst_xml_class_init):
6906           documented all undocumented signal inline
6907         * libs/gst/controller/gst-controller.h:
6908           added padding
6909
6910 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6911
6912         * docs/pwg/appendix-porting.xml:
6913           Document _set_link_function -> _set_setcaps_function.
6914
6915 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6916
6917         * check/Makefile.am:
6918           add a .check target for running the check
6919         * check/gst-libs/controller.c: (GST_START_TEST):
6920           cosmetic fixups
6921         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6922           complete checks for gstbuffer; would be nice if I could get the
6923           gcov stuff to work so I can see if I actually completed gstbuffer.c
6924         * check/gstcheck.h:
6925           add ASSERT_BUFFER_REFCOUNT
6926
6927 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
6928
6929         * docs/gst/gstreamer-sections.txt:
6930         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
6931         * gst/gsttag.h:
6932           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
6933           spew out a warning if a tag that is already registered
6934           is re-registered, unless it is re-registered with a 
6935           different type (#308438).
6936
6937 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
6938
6939         * docs/pwg/appendix-porting.xml:
6940         * docs/pwg/building-state.xml:
6941           Add some paragraphs about state changes in 0.9 to the PWG
6942           and the porting guide, in particular about the new meaning
6943           of GST_STATE_PAUSED and how to write state change functions
6944           with concurrent access by multiple threads in mind.
6945
6946 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
6947
6948         * docs/gst/gstreamer-docs.sgml:
6949         * docs/libs/gstreamer-libs-docs.sgml:
6950           added deprecation and since indexes
6951         * libs/gst/controller/gst-controller.c:
6952         * libs/gst/controller/gst-helper.c:
6953           added since tags
6954
6955
6956 2005-08-11  Wim Taymans  <wim@fluendo.com>
6957
6958         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
6959         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
6960         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
6961         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
6962         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
6963         (gst_ghost_pad_set_target):
6964         Actually implement (re)setting the target on a ghostpad
6965         as described in the docs.
6966
6967 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6968
6969         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
6970           Check whether GST_DEBUG_NO_COLOR environment variable is
6971           set and disable coloured debug output if that is the case.
6972
6973 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6974
6975         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6976         (gst_type_find_helper):
6977           The memory returned by gst_type_find_peek() needs to
6978           stay valid until the end of a typefind function, and
6979           typefind functions may keep results from different 
6980           offsets around, so we can't just unref the buffer from
6981           the previous _peek(), but have to save all buffers 
6982           returned by _peek() until typefinding is done and only
6983           free them then.
6984
6985 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
6986
6987         * docs/gst/gstreamer-sections.txt:
6988         * gst/gstutils.h:
6989           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
6990
6991 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6992
6993         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6994           Fix a pretty good memleak.
6995
6996 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6997
6998         * gst/gstiterator.h:
6999           Fix wrong include and 'make distcheck'.
7000
7001 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7002
7003         * gst/gstbin.c: (bin_bus_handler):
7004           Use gst_element_post_message() instead.
7005
7006 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7007
7008         * gst/base/gstadapter.h:
7009         * gst/base/gstbasesink.h:
7010         * gst/base/gstbasesrc.h:
7011         * gst/base/gstbasetransform.h:
7012         * gst/base/gstcollectpads.h:
7013         * gst/base/gstpushsrc.h:
7014         * gst/gstiterator.h:
7015           Add padding to our base elements' class and instance structs and
7016           to GstIterator (you will need to rebuild all plugins and apps!)
7017
7018 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7019
7020         * gst/gstbin.c: (bin_bus_handler):
7021           Make default message forwarding from child->bus to bin->bus
7022           threadsafe and make it not emit warnings if the parent has no bus.
7023
7024 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7025
7026         * gst/gstelement.c: (activate_pads):
7027           On paused->ready, set pad->caps to NULL, as is the documented
7028           behaviour in this state change. Fixes playback of series of
7029           media files when visualization is enabled in Totem.
7030
7031 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7032
7033         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7034           Allow NULL as filter-caps (which means "any").
7035
7036 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7037
7038         * docs/libs/gstreamer-libs-sections.txt:
7039         * libs/gst/controller/gst-controller.c:
7040         * libs/gst/controller/gst-controller.h:
7041         * libs/gst/controller/gst-helper.c:
7042           adding more entries to the docs and fix small doc-bugs
7043
7044 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7045
7046         * docs/gst/gstreamer-docs.sgml:
7047         * docs/gst/gstreamer-sections.txt:
7048         * docs/gst/gstreamer.types:
7049         * docs/gst/tmpl/gstbasesink.sgml:
7050         * docs/gst/tmpl/gstbasesrc.sgml:
7051         * docs/gst/tmpl/gstbasetransform.sgml:
7052         * docs/gst/tmpl/gstfakesrc.sgml:
7053         * gst/base/gstcollectpads.c:
7054         * gst/base/gstcollectpads.h:
7055         * libs/gst/controller/gst-controller.c:
7056         * libs/gst/controller/gst-controller.h:
7057         * libs/gst/controller/gst-helper.c:
7058         * libs/gst/controller/gst-interpolation.c:
7059         * libs/gst/controller/lib.c:
7060           added long/short desc for controller docs
7061           added collectpads base class docs
7062           added correct includes to base-class docs
7063
7064 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7065
7066         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7067         (gst_test_mono_source_set_property),
7068         (gst_test_mono_source_class_init), (GST_START_TEST),
7069         (gst_controller_suite):
7070         * docs/gst/gstreamer-docs.sgml:
7071         * docs/gst/gstreamer-sections.txt:
7072         * docs/gst/gstreamer.types:
7073         * docs/libs/gstreamer-libs-docs.sgml:
7074         * docs/libs/gstreamer-libs-sections.txt:
7075         * gst/base/gstadapter.c:
7076         * libs/gst/controller/gst-controller.c:
7077         (gst_controlled_property_new), (gst_controlled_property_free),
7078         (gst_controller_new_valist),
7079         (gst_controller_remove_properties_valist),
7080         (gst_controller_sink_values), (_gst_controller_finalize):
7081         * libs/gst/controller/gst-controller.h:
7082         * libs/gst/controller/gst-helper.c:
7083         (gst_object_control_properties), (gst_object_uncontrol_properties),
7084         (gst_object_get_controller), (gst_object_set_controller),
7085         (gst_object_sink_values), (gst_object_get_value_arrays),
7086         (gst_object_get_value_array):
7087           more tests (and fixes) for the controller
7088           more docs for the controller
7089           integrated companies docs for the adapter 
7090
7091 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7092
7093         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7094         (GST_START_TEST), (fakesrc_suite):
7095           add tests for sizetype
7096
7097 2005-08-04  Andy Wingo  <wingo@pobox.com>
7098
7099         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7100         fixes buffer_alloc proxying among other things.
7101
7102         * gst/base/gstbasetransform.c:
7103         * gst/base/gstbasetransform.h:
7104         Revert patch to gstbasetransform from 7-28 removing
7105         delay_configure.
7106
7107         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7108         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7109         Semantics changed, should return not the size of the output buffer
7110         but the byte size of a buffer with a given caps.
7111
7112         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7113         debug object.
7114         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7115         out) are not the pad caps until setcaps finishes.
7116         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7117         not-in-place case as well. Deal with changing from in-place to
7118         not-in-place within calling pad_alloc_buffer. Still a bit
7119         concerned about the overhead here...
7120
7121 2005-08-03  Andy Wingo  <wingo@pobox.com>
7122
7123         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7124         fixating is an error.
7125
7126 2005-08-04  Edward Hervey  <edward@fluendo.com>
7127
7128         * gst/base/gstadapter.h: 
7129         Added gst_adapter_get_type() to the header
7130
7131 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7132
7133         * check/Makefile.am:
7134         * check/gst-libs/controller.c:
7135         * libs/gst/controller/gst-controller.c:
7136         (gst_controller_new_valist):
7137           added check test suite for the controller
7138         * gst/base/gstpushsrc.c:
7139           fixed a doc typo
7140
7141 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7142
7143         * docs/gst/Makefile.am:
7144         * docs/gst/gstreamer-docs.sgml:
7145         * docs/gst/gstreamer-sections.txt:
7146         * docs/gst/gstreamer.types:
7147         * docs/gst/tmpl/gstfakesrc.sgml:
7148         * gst/base/README:
7149         * gst/base/gstbasesink.c:
7150         * gst/base/gstbasesink.h:
7151         * gst/base/gstbasesrc.c:
7152         * gst/base/gstbasesrc.h:
7153         * gst/base/gstbasetransform.c:
7154         * gst/base/gstpushsrc.c:
7155         * gst/base/gstpushsrc.h:
7156           add short/long description docs to base classes
7157           add pushsrc to the docs
7158           remove consolidated doc fragments
7159
7160 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7161
7162         * configure.ac:
7163         * docs/libs/Makefile.am:
7164         * docs/libs/gstreamer-libs-docs.sgml:
7165         * docs/libs/gstreamer-libs-sections.txt:
7166         * docs/libs/gstreamer-libs.types:
7167         * examples/Makefile.am:
7168         * examples/controller/.cvsignore:
7169         * examples/controller/Makefile.am:
7170         * examples/controller/audio-example.c: (main):
7171         * libs/gst/Makefile.am:
7172         * libs/gst/controller/.cvsignore:
7173         * libs/gst/controller/Makefile.am:
7174         * libs/gst/controller/gst-controller.c:
7175         (on_object_controlled_property_changed), (gst_timed_value_compare),
7176         (gst_timed_value_find),
7177         (gst_controlled_property_set_interpolation_mode),
7178         (gst_controlled_property_new), (gst_controlled_property_free),
7179         (gst_controller_find_controlled_property),
7180         (gst_controller_new_valist), (gst_controller_new),
7181         (gst_controller_remove_properties_valist),
7182         (gst_controller_remove_properties), (gst_controller_set),
7183         (gst_controller_set_from_list), (gst_controller_unset),
7184         (gst_controller_get), (gst_controller_get_all),
7185         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7186         (gst_controller_get_value_array),
7187         (gst_controller_set_interpolation_mode),
7188         (_gst_controller_finalize), (_gst_controller_init),
7189         (_gst_controller_class_init), (gst_controller_get_type):
7190         * libs/gst/controller/gst-controller.h:
7191         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7192         (g_object_uncontrol_properties), (g_object_get_controller),
7193         (g_object_set_controller), (g_object_sink_values),
7194         (g_object_get_value_arrays), (g_object_get_value_array):
7195         * libs/gst/controller/gst-interpolation.c:
7196         (gst_controlled_property_find_timed_value_node),
7197         (interpolate_none_get), (interpolate_trigger_get),
7198         (interpolate_trigger_get_value_array):
7199         * libs/gst/controller/lib.c: (gst_controller_init):
7200         * pkgconfig/Makefile.am:
7201         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7202         * pkgconfig/gstreamer-control.pc.in:
7203         * testsuite/Makefile.am:
7204         * testsuite/controller/.cvsignore:
7205         * testsuite/controller/Makefile.am:
7206         * testsuite/controller/interpolator.c: (main):
7207           added controller code
7208           removed dparam pc files
7209
7210 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7211         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7212         (gst_collectpads_stop):
7213           Broadcast the condition when shutting down, to make sure we wake all
7214           threads up. Shut down pads on finalize, for safety.
7215
7216 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7217         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7218         (gst_base_transform_handle_buffer),
7219         (gst_base_transform_change_state):
7220           Handle PAUSED->READY->PAUSED transition after negotiation
7221           occurred already.
7222         * gst/gstmessage.c: (gst_message_init):
7223           Extra piece of debug for new messages.
7224
7225 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7226
7227         * configure.ac:
7228         * docs/gst/tmpl/gstbasesrc.sgml:
7229         * docs/gst/tmpl/gstelement.sgml:
7230         * docs/gst/tmpl/gstevent.sgml:
7231         * docs/gst/tmpl/gstfakesrc.sgml:
7232         * docs/gst/tmpl/gstformat.sgml:
7233         * docs/gst/tmpl/gstghostpad.sgml:
7234         * docs/gst/tmpl/gstpad.sgml:
7235         * docs/gst/tmpl/gstquery.sgml:
7236         * docs/gst/tmpl/gststructure.sgml:
7237         * docs/gst/tmpl/gsttaglist.sgml:
7238         * docs/gst/tmpl/gstvalue.sgml:
7239         * docs/libs/gstreamer-libs-docs.sgml:
7240         * docs/libs/gstreamer-libs-sections.txt:
7241         * docs/libs/gstreamer-libs.types:
7242         * libs/gst/Makefile.am:
7243         * libs/gst/control/.cvsignore:
7244         * libs/gst/control/Makefile.am:
7245         * libs/gst/control/control.c:
7246         * libs/gst/control/control.h:
7247         * libs/gst/control/dparam.c:
7248         * libs/gst/control/dparam.h:
7249         * libs/gst/control/dparam_smooth.c:
7250         * libs/gst/control/dparam_smooth.h:
7251         * libs/gst/control/dparamcommon.h:
7252         * libs/gst/control/dparammanager.c:
7253         * libs/gst/control/dparammanager.h:
7254         * libs/gst/control/dplinearinterp.c:
7255         * libs/gst/control/dplinearinterp.h:
7256         * libs/gst/control/unitconvert.c:
7257         * libs/gst/control/unitconvert.h:
7258         * testsuite/Makefile.am:
7259         * testsuite/dynparams/.cvsignore:
7260         * testsuite/dynparams/Makefile.am:
7261         * testsuite/dynparams/dparamstest.c:
7262         * tools/Makefile.am:
7263         * tools/gst-inspect.c: (print_element_info), (main):
7264         * tools/gst-xmlinspect.c: (print_element_info), (main):
7265           deactivate and remove dparams (libgstcontrol)
7266
7267 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7268
7269         * gst/elements/gsttypefindelement.c:
7270         (gst_type_find_element_have_type), (gst_type_find_element_init),
7271         (stop_typefinding), (gst_type_find_element_handle_event),
7272         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7273         * gst/elements/gsttypefindelement.h:
7274           Set caps on all outgoing buffers, not just the first one.
7275
7276 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7277
7278         * gst/elements/gsttypefindelement.c:
7279         (gst_type_find_element_have_type),
7280         (gst_type_find_element_check_set_buffer_caps),
7281         (gst_type_find_element_init), (stop_typefinding),
7282         (gst_type_find_element_handle_event),
7283         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7284         * gst/elements/gsttypefindelement.h:
7285           Set caps on first outgoing buffer when we've found the type.
7286
7287 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7288
7289         * docs/gst/gstreamer-docs.sgml:
7290         * docs/gst/gstreamer-sections.txt:
7291         * docs/gst/tmpl/gstscheduler.sgml:
7292         * docs/gst/tmpl/gstschedulerfactory.sgml:
7293           Remove some old cruft from docs.
7294
7295 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7296
7297         * gst/gstpad.h:
7298           Fix inline docs for GstPadLinkReturn.
7299           
7300         * gst/gststructure.c: (gst_structure_has_name):
7301         * gst/gststructure.h:
7302         * docs/gst/gstreamer-sections.txt:
7303           New API: gst_structure_has_name().
7304
7305 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7306
7307         * configure.ac:
7308           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7309           and _LARGEFILE_SOURCE in config.h as required. Do not 
7310           export those flags in our .pc files any longer (#142209).
7311
7312           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7313
7314         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7315         (gst_file_sink_do_seek), (gst_file_sink_event),
7316         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7317           Redo seek/tell calls with large file support in mind; add some
7318           debugging messages; add log message that tells us when large
7319           file support is unavailable or not enabled for some reason.
7320
7321         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7322           Add log message that tells us when large file support 
7323           is unavailable or not enabled for some reason.
7324
7325 2005-07-29  Wim Taymans  <wim@fluendo.com>
7326
7327         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7328         Added test for removing an element with ghostpad from a bin.
7329         Fixed test as current implementation does the right thing.
7330
7331         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7332         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7333         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7334         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7335         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7336         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7337         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7338         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7339         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7340         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7341         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7342         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7343         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7344         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7345         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7346         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7347         * gst/gstghostpad.h:
7348         Clean up ghostpads, remove properties for internal stuff.
7349         Make threadsafe.
7350         Fix refcounting.
7351         Prepare for switching targets, not all use cases work yet.
7352
7353 2005-07-29  Wim Taymans  <wim@fluendo.com>
7354
7355         * docs/design/part-gstghostpad.txt:
7356         Small update.
7357
7358         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7359         (gst_bin_remove_func):
7360         Unlinking pads while holding the bin LOCK is not a good
7361         idea.
7362
7363         * gst/gstpad.c: (gst_pad_class_init),
7364         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7365         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7366         No prob setting template after creating the pad.
7367
7368 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7369
7370         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7371         (gst_bus_peek), (gst_bus_source_dispatch),
7372         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7373         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7374           gst_bus_poll may be called from other threads. Handle
7375           this nicely by not making poll_data disappear off the
7376           stack once gst_bus_poll returns.
7377           gst_bus_peek now increments the refcount on the returned
7378           message.
7379
7380 2005-07-29  Wim Taymans  <wim@fluendo.com>
7381
7382         * docs/design/part-gstghostpad.txt:
7383         Overview of current GhostPad datastructures and use
7384         cases for changing the target.
7385
7386 2005-07-28  Wim Taymans  <wim@fluendo.com>
7387
7388         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7389         Added checks for hierarchy consistency whan adding linked
7390         elements to bins.
7391
7392         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7393         Added check to test element scheduling without bin/pipeline.
7394
7395         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7396         First add elements to bin, then link.
7397         
7398         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7399         (gst_bin_remove_func):
7400         Unlink pads from elements added/removed from bin to maintain
7401         hierarchy consistency.
7402
7403 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7404
7405         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7406         (gst_base_transform_handle_buffer):
7407         * gst/base/gstbasetransform.h:
7408           Remove broken delay_configure (fixes renegotiation of software
7409           scaling pipelines); remove some leftover printf()s.
7410
7411 2005-07-28  Wim Taymans  <wim@fluendo.com>
7412
7413         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7414         Added some more tests for wrong hierarchy
7415
7416         * docs/design/part-overview.txt:
7417         Some updates.
7418
7419         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7420         Cleanups.
7421
7422         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7423         (gst_element_dispose):
7424         Some more cleanups.
7425
7426         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7427         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7428         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7429         (gst_pad_set_caps), (gst_pad_send_event):
7430         Check for correct hierarchy when linking pads. Moving to
7431         strict requirement for ghostpads when linking elements in
7432         different bins.
7433
7434         * gst/gstpad.h:
7435         Clean ups. Added WRONG_HIERARCHY return value.
7436
7437 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7438
7439         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7440           Better debug if no transform is possible.
7441
7442 2005-07-27  Wim Taymans  <wim@fluendo.com>
7443
7444         * docs/random/wtay/network-transp:
7445         Some old doc I had.
7446
7447 2005-07-27  Wim Taymans  <wim@fluendo.com>
7448
7449         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7450         (gst_dp_event_from_packet):
7451         Fix serialization of seek events.
7452
7453 2005-07-27  Wim Taymans  <wim@fluendo.com>
7454
7455         * check/gst-libs/gdp.c: (GST_START_TEST):
7456         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7457         Fix compilation and fix event serialization.
7458
7459 2005-07-27  Wim Taymans  <wim@fluendo.com>
7460
7461         * CHANGES-0.9:
7462         * docs/design/part-TODO.txt:
7463         * docs/design/part-events.txt:
7464         Some docs updates
7465
7466         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7467         (gst_base_sink_event), (gst_base_sink_do_sync),
7468         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7469         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7470         (gst_base_src_do_seek), (gst_base_src_event_handler),
7471         (gst_base_src_loop):
7472         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7473         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7474         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7475         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7476         (gst_base_transform_set_passthrough),
7477         (gst_base_transform_is_passthrough):
7478         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7479         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7480         Event updates.
7481
7482         * gst/gstbuffer.h:
7483         Use faster casts.
7484
7485         * gst/gstelement.c: (gst_element_seek):
7486         * gst/gstelement.h:
7487         Update gst_element_seek.
7488
7489         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7490         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7491         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7492         (gst_event_new_eos), (gst_event_new_newsegment),
7493         (gst_event_parse_newsegment), (gst_event_new_tag),
7494         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7495         (gst_event_parse_qos), (gst_event_new_seek),
7496         (gst_event_parse_seek), (gst_event_new_navigation):
7497         * gst/gstevent.h:
7498         Make GstEvent use GstStructure. Add parsing code, make sure the
7499         API is sufficiently generic.
7500         Mark possible directions of events and serialization.
7501
7502         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7503         (_gst_message_copy), (gst_message_new_segment_start),
7504         (gst_message_new_segment_done), (gst_message_new_custom),
7505         (gst_message_parse_segment_start),
7506         (gst_message_parse_segment_done):
7507         Small cleanups.
7508
7509         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7510         (gst_pad_set_caps), (gst_pad_send_event):
7511         Update for new events. 
7512         Catch events sent in wrong directions.
7513
7514         * gst/gstqueue.c: (gst_queue_link_src),
7515         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7516         (gst_queue_handle_src_query):
7517         Event updates.
7518
7519         * gst/gsttag.c:
7520         * gst/gsttag.h:
7521         Remove event code from this file.
7522
7523         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7524         (gst_dp_event_from_packet):
7525         Event updates.
7526
7527 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7528
7529         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7530         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7531         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7532           Make debugging actually useful.
7533
7534 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7535
7536         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7537         (gst_pad_fixate_caps):
7538           Implement default fixation once again, so that gst_pad_fixate()
7539           actually does anything at all. This probably needs to be some
7540           sort of a last resort, and use profile-based fixation first, but
7541           since that doesn't exist yet, this is the best we have. Fixes
7542           visualization in Totem.
7543
7544 2005-07-22  Wim Taymans  <wim@fluendo.com>
7545
7546         * docs/design/part-events.txt:
7547         Small update.
7548
7549         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7550         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7551         (gst_base_sink_activate_pull):
7552         Some more comments.
7553
7554         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7555         (gst_fake_src_create):
7556         Fix handoff marshall.
7557
7558         * gst/elements/gstidentity.c: (gst_identity_class_init),
7559         (gst_identity_transform_ip):
7560         We're a real inplace element.
7561
7562         * gst/gstbus.c: (gst_bus_post):
7563         Added some comments.
7564
7565         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7566         * tests/muxing/case1.c: (main):
7567         * tests/sched/dynamic-pipeline.c: (main):
7568         * tests/sched/interrupt1.c: (main):
7569         * tests/sched/interrupt2.c: (main):
7570         * tests/sched/interrupt3.c: (main):
7571         * tests/sched/runxml.c: (main):
7572         * tests/sched/sched-stress.c: (main):
7573         * tests/seeking/seeking1.c: (event_received), (main):
7574         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7575         (main):
7576         * tests/threadstate/threadstate3.c: (main):
7577         * tests/threadstate/threadstate4.c: (main):
7578         * tests/threadstate/threadstate5.c: (main):
7579         Fix the tests.
7580
7581 2005-07-21  Wim Taymans  <wim@fluendo.com>
7582
7583         * docs/design/part-seeking.txt:
7584         Some small additions.
7585
7586         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7587         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7588         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7589         * gst/base/gstbasesink.h:
7590         discont values are gint64, handle the math correctly.
7591
7592         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7593         Make the basesrc report error if the source pad is not linked.
7594
7595         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7596         (gst_queue_loop), (gst_queue_handle_src_query),
7597         (gst_queue_src_activate_push):
7598         Make queue collect data even if the srcpad is not linked.
7599         Start pushing out data as soon as it is linked.
7600
7601         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7602         * gst/gstutils.h:
7603         Added gst_flow_get_name() to ease error reporting.
7604
7605 2005-07-20  Wim Taymans  <wim@fluendo.com>
7606
7607         * gst/gstmessage.c: (gst_message_new_segment_start),
7608         (gst_message_new_segment_done), (gst_message_parse_segment_start),
7609         (gst_message_parse_segment_done):
7610         * gst/gstmessage.h:
7611         Added a bunch of messages for advanced seeking.
7612
7613         * gst/parse/grammar.y:
7614         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7615         (gst_dpman_state_changed):
7616         Fix some new-pad -> pad-added signals
7617
7618 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7619
7620         * docs/manual/appendix-porting.xml:
7621         * docs/pwg/appendix-porting.xml:
7622           Document new-pad/state-change signal renames and the FixedList
7623           type rename.
7624
7625 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7626
7627         * docs/manual/advanced-autoplugging.xml:
7628         * docs/manual/basics-helloworld.xml:
7629         * docs/manual/basics-pads.xml:
7630         * docs/random/ds/0.9-suggested-changes:
7631         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7632         * gst/gstelement.h:
7633         * gst/gstevent.h:
7634         * gst/gstformat.h:
7635         * gst/gstquery.h:
7636         * gst/gststructure.c: (gst_structure_value_get_generic_type),
7637         (gst_structure_parse_array), (gst_structure_parse_value):
7638         * gst/gstvalue.c: (gst_type_is_fixed),
7639         (gst_value_list_prepend_value), (gst_value_list_append_value),
7640         (gst_value_list_get_size), (gst_value_list_get_value),
7641         (gst_value_transform_array_string), (gst_value_serialize_array),
7642         (gst_value_deserialize_array), (gst_value_intersect_array),
7643         (gst_value_is_fixed), (_gst_value_initialize):
7644         * gst/gstvalue.h:
7645           GstElement::new-pad -> pad-added, GstElement::state-change ->
7646           state-changed, GstValueFixedList -> GstValueArray, add format and
7647           flags as their own arguments in gst_element_seek() (should improve
7648           "bindeability"), remove function generators since they don't work
7649           under a whole bunch of compilers (they were deprecated already
7650           anyway).
7651
7652 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7653
7654         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7655         (_gst_debug_register_funcptr):
7656         * gst/gstinfo.h:
7657           Fix illegal cast on some platforms (#309253).
7658
7659 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7660
7661         * gst/gstmessage.c: (gst_message_new_custom):
7662         * gst/gstmessage.h:
7663           Add _new_custom, make _new_application a macro to _new_custom.
7664
7665 2005-07-20  Wim Taymans  <wim@fluendo.com>
7666
7667         * gst/base/gstbasesrc.c: (gst_base_src_init),
7668         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7669         * gst/base/gstbasesrc.h:
7670         Add a gboolean to decide when to push out a discont.
7671
7672         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7673         (gst_queue_loop), (gst_queue_handle_src_query),
7674         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7675         (gst_queue_set_property), (gst_queue_get_property):
7676         Some cleanups.
7677
7678         * tests/threadstate/threadstate1.c: (main):
7679         Make a thread test compile and run... very silly..
7680
7681
7682 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7683
7684         * docs/manual/appendix-porting.xml:
7685           Mention removal of libgstgconf-0.9.la and existence of gconf
7686           elements.
7687
7688 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7689
7690         * docs/pwg/advanced-clock.xml:
7691         * docs/pwg/appendix-porting.xml:
7692         * docs/pwg/intro-preface.xml:
7693         * docs/pwg/other-base.xml:
7694         * docs/pwg/other-manager.xml:
7695         * docs/pwg/other-nton.xml:
7696         * docs/pwg/other-ntoone.xml:
7697         * docs/pwg/other-oneton.xml:
7698         * docs/pwg/pwg.xml:
7699           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7700           demuxer), remove n-to-n (was never written), fix some code examples
7701           and links and update the porting section to include all this.
7702
7703 2005-07-19  Wim Taymans  <wim@fluendo.com>
7704
7705         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7706         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7707         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7708         (gst_queue_src_activate_push), (gst_queue_change_state),
7709         (gst_queue_get_property):
7710         * gst/gstqueue.h:
7711         Propagate GstFlowReturn more intelligently upstream and output
7712         an ERROR/EOS when streaming stopped due to fatal error.
7713
7714 2005-07-19  Wim Taymans  <wim@fluendo.com>
7715
7716         * tools/gst-launch.c: (check_intr), (event_loop), (main):
7717         Don't block forever for the state change to complete, the
7718         pipeline already did with a sensible timeout.
7719
7720 2005-07-19  Wim Taymans  <wim@fluendo.com>
7721
7722         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7723         Make sure we never call the create function is we
7724         got deactivated.
7725
7726 2005-07-19  Andy Wingo  <wingo@pobox.com>
7727
7728         * gst/parse/parse.l: Attempt to solve bug #172815.
7729
7730 2005-07-19  Wim Taymans  <wim@fluendo.com>
7731
7732         * docs/design/part-clocks.txt:
7733         * docs/design/part-events.txt:
7734         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7735         Small docs updates.
7736         Only update the seeking values when we are not
7737         busy streaming.
7738
7739 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7740
7741         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7742           Oops, ignore the result of gst_pad_push_event here.
7743
7744 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7745
7746         * gst/base/gstbasesrc.c: (gst_base_src_loop),
7747         (gst_base_src_activate_push):
7748           Send discont event from the loop function, as pads
7749           aren't activated yet in the activate_push handler.
7750
7751         * gst/gstbin.c: (bin_bus_handler):
7752           Don't leak element name.
7753
7754 2005-07-18  Andy Wingo  <wingo@pobox.com>
7755
7756         * configure.ac: Use AS_LIBTOOL_TAGS.
7757
7758 2005-07-18  Wim Taymans  <wim@fluendo.com>
7759
7760         * docs/gst/gstreamer.types:
7761         Remove deleted types.
7762
7763 2005-07-18  Wim Taymans  <wim@fluendo.com>
7764
7765         * check/elements/gstfakesrc.c: (GST_START_TEST):
7766         * configure.ac:
7767         * gst/Makefile.am:
7768         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7769         (init_popt_callback):
7770         * gst/gst.h:
7771         * gst/gst_private.h:
7772         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7773         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7774         * gst/gstbin.h:
7775         * gst/gstbus.h:
7776         * gst/gstconfig.h.in:
7777         * gst/gstelement.c: (gst_element_class_init),
7778         (gst_element_set_base_time), (gst_element_get_base_time),
7779         (iterator_fold_with_resync), (gst_element_change_state),
7780         (gst_element_dispose), (gst_element_get_bus):
7781         * gst/gstelement.h:
7782         * gst/gstelementfactory.h:
7783         * gst/gsterror.c: (_gst_core_errors_init):
7784         * gst/gsterror.h:
7785         * gst/gstevent.h:
7786         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7787         * gst/gstindex.c:
7788         * gst/gstinfo.c: (_gst_debug_init):
7789         * gst/gstmessage.c: (_gst_message_copy):
7790         * gst/gstmessage.h:
7791         * gst/gstminiobject.h:
7792         * gst/gstobject.c:
7793         * gst/gstobject.h:
7794         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7795         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7796         * gst/gstpad.h:
7797         * gst/gstparse.h:
7798         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7799         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7800         (gst_pipeline_get_last_stream_time):
7801         * gst/gstpipeline.h:
7802         * gst/gstpluginfeature.h:
7803         * gst/gstquery.h:
7804         * gst/gstscheduler.c:
7805         * gst/gstscheduler.h:
7806         * gst/gststructure.h:
7807         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7808         (gst_task_finalize), (gst_task_func), (gst_task_create),
7809         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7810         (gst_task_stop), (gst_task_pause):
7811         * gst/gsttask.h:
7812         * gst/gsttypefind.h:
7813         * gst/gsttypes.h:
7814         * gst/registries/gstlibxmlregistry.c: (load_feature),
7815         (gst_xml_registry_load), (gst_xml_registry_save_feature):
7816         * gst/registries/gstxmlregistry.c:
7817         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7818         * gst/schedulers/threadscheduler.c:
7819         * libs/gst/control/dparammanager.h:
7820         * tools/gst-inspect.c: (print_element_list),
7821         (print_plugin_features), (print_element_features):
7822         * tools/gst-xmlinspect.c: (print_element_list),
7823         (print_plugin_info), (main):
7824         Removed plugable schedulers.
7825         Removed Scheduler/Manager from elements.
7826         Removed gsttypes.h, rearranged includes.
7827         Removed dependency pad<->element, element<>pipeline, and
7828         various others,  fix includes.
7829         implement gst_pad_get_parent() with gst_object_get_parent()
7830         Make GstTask sefcontained.
7831         Fix _get_state() on GstBin, it did not return ASYNC with a 0
7832         timeout.
7833         Fix endless loop in iterator_fold_with_resync.
7834
7835
7836 2005-07-18  Wim Taymans  <wim@fluendo.com>
7837
7838         * gst/Makefile.am:
7839         * gst/gstarch.h:
7840         Remove old file.
7841
7842 2005-07-18  Wim Taymans  <wim@fluendo.com>
7843
7844         * gst/Makefile.am:
7845         No more cothreads.h
7846
7847 2005-07-18  Wim Taymans  <wim@fluendo.com>
7848
7849         * gst/cothreads.c:
7850         * gst/cothreads.h:
7851         Let's remove these.
7852
7853 2005-07-18  Wim Taymans  <wim@fluendo.com>
7854
7855         * docs/design/part-dynamic.txt:
7856         * docs/design/part-events.txt:
7857         * docs/design/part-seeking.txt:
7858         Some more docs in the works.
7859
7860         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7861         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7862         (gst_base_transform_setcaps), (gst_base_transform_get_size),
7863         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7864         (gst_base_transform_handle_buffer),
7865         (gst_base_transform_sink_activate_push),
7866         (gst_base_transform_src_activate_pull),
7867         (gst_base_transform_set_passthrough),
7868         (gst_base_transform_is_passthrough):
7869         Refcounting fixes.
7870
7871         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7872         Cleanups.
7873
7874         * gst/gstevent.c: (gst_event_finalize):
7875         Set SRC to NULL.
7876
7877         * gst/gstutils.c: (gst_element_unlink),
7878         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7879         (gst_pad_proxy_setcaps):
7880         * gst/gstutils.h:
7881         Add _get_parent_element() to get a pads parent as an element.
7882
7883 2005-07-18  Wim Taymans  <wim@fluendo.com>
7884
7885         * check/gst/gstbin.c: (GST_START_TEST):
7886         Remove bogus test.
7887
7888 2005-07-18  Wim Taymans  <wim@fluendo.com>
7889
7890         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7891         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7892         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7893         (gst_base_sink_event), (gst_base_sink_do_sync),
7894         (gst_base_sink_chain), (gst_base_sink_loop),
7895         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7896         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7897         Refcounting fixes.
7898         Fix logic for returning ASYNC when not prerolled.
7899
7900 2005-07-18  Wim Taymans  <wim@fluendo.com>
7901
7902         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7903         Fix nasty refcount bug.
7904
7905 2005-07-16 Philippe Khalaf <burger@speedy.org>
7906
7907         * gst/elements/gstfdsrc.c:
7908         * gst/elements/gstfdsrc.h:
7909         * gst/elements/gstelements.c:
7910         * gst/elements/Makefile.am:
7911         Ported fdsrc to 0.9.
7912
7913 2005-07-16  Wim Taymans  <wim@fluendo.com>
7914
7915         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7916         (gst_base_sink_do_sync):
7917         Fix compile error.
7918
7919 2005-07-16  Wim Taymans  <wim@fluendo.com>
7920
7921         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7922         (gst_base_sink_event), (gst_base_sink_get_times),
7923         (gst_base_sink_do_sync), (gst_base_sink_change_state):
7924         * gst/base/gstbasesink.h:
7925         Store and use discont values when syncing buffers as described
7926         in design docs.
7927         
7928         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7929         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
7930         (gst_base_src_activate_push):
7931         Push discont event when starting.
7932
7933         * gst/elements/gstidentity.c: (gst_identity_transform):
7934         Small cleanups.
7935
7936         * gst/gstbin.c: (gst_bin_change_state):
7937         Small cleanups in base_time  distribution.
7938
7939         * gst/gstelement.c: (gst_element_set_base_time),
7940         (gst_element_get_base_time), (gst_element_change_state):
7941         * gst/gstelement.h:
7942         Added methods for the base_time of the element.
7943         Some MT fixes.
7944
7945         * gst/gstpipeline.c: (gst_pipeline_send_event),
7946         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7947         (gst_pipeline_get_last_stream_time):
7948         * gst/gstpipeline.h:
7949         MT fixes.
7950         Handle seeking as described in design doc, remove stream_time
7951         hack.
7952         Cleanups clock and stream_time selection code. Added accessors
7953         for the stream_time.
7954         
7955
7956 2005-07-16  Andy Wingo  <wingo@pobox.com>
7957
7958         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
7959         (#305291).
7960
7961 2005-07-16  Wim Taymans  <wim@fluendo.com>
7962
7963         * check/gst/gstbin.c: (GST_START_TEST):
7964         Make elements silent as the deep_notify refs the
7965         parent, which might make the test fail.
7966
7967         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7968         Don't hold the lock for too long.
7969
7970 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
7971
7972         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7973           Don't unref the caps we passed to gst_caps_make_writable() after
7974           passing them. gst_caps_make_writable() will do that for us.
7975
7976 2005-07-15  Andy Wingo  <wingo@pobox.com>
7977
7978         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
7979         (#157311).
7980
7981         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
7982         own marshalling function for the handoff signal. Properly type the
7983         buffer as a buffer. Fixes some warnings. Should do a more general
7984         solution.
7985         (gst_identity_class_init): Plug into the right marshaller.
7986
7987 2005-07-15  Wim Taymans  <wim@fluendo.com>
7988
7989         * docs/design/part-TODO.txt:
7990         * docs/design/part-clocks.txt:
7991         * docs/design/part-element-sink.txt:
7992         * docs/design/part-events.txt:
7993         * docs/design/part-gstpipeline.txt:
7994         Updated docs, mostly DISCONT related.
7995
7996 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
7997
7998         * docs/pwg/building-pads.xml:
7999           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8000
8001 2005-07-15  Andy Wingo  <wingo@pobox.com>
8002
8003         * tools/gst-typefind.c: Update, add copyright block.
8004
8005         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8006         Normalize and truncate caps before fixation.
8007
8008         * gst/gstcaps.h:
8009         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8010         discards all but the first structure from its argument.
8011
8012 2005-07-15  Wim Taymans  <wim@fluendo.com>
8013
8014         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8015         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8016         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8017         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8018         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8019         (gst_base_transform_chain), (gst_base_transform_change_state),
8020         (gst_base_transform_set_passthrough),
8021         (gst_base_transform_is_passthrough):
8022         * gst/base/gstbasetransform.h:
8023         Make passthrough work using the bufferpools.
8024         Changed API a bit, subclasses have to write into a buffer
8025         provided by the base class.
8026         More debug info in nego functions.
8027         
8028         * gst/elements/gstidentity.c: (gst_identity_init),
8029         (gst_identity_transform):
8030         Port to new base class.
8031
8032 2005-07-15  Wim Taymans  <wim@fluendo.com>
8033
8034         * gst/gstmessage.c: (gst_message_new_state_changed):
8035         * tools/gst-launch.c: (event_loop), (main):
8036         Totally dump messages in -launch with the -m option.
8037         Fix message name for State messages,
8038
8039 2005-07-14  Wim Taymans  <wim@fluendo.com>
8040
8041         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8042         Post error messages on errors.
8043
8044 2005-07-14  Wim Taymans  <wim@fluendo.com>
8045
8046         * gst/gstcaps.c: (gst_caps_do_simplify):
8047         Remove debug info.
8048
8049         * gst/gsterror.h:
8050         Define error for stream stopped.
8051
8052         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8053         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8054         Do proper return values.
8055
8056         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8057         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8058         (gst_pad_get_range):
8059         Better return values.
8060
8061         * gst/gstpad.h:
8062         Reorganise return values, add macro to check for fatal errors.
8063
8064         * gst/gstqueue.c: (gst_queue_chain):
8065         Return proper GstFlowReturn values,
8066
8067 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8068
8069         * docs/gst/gstreamer-sections.txt:
8070         * docs/gst/gstreamer.types:
8071         * docs/gst/tmpl/gst.sgml:
8072         * docs/gst/tmpl/gstbasesink.sgml:
8073         * docs/gst/tmpl/gstbasesrc.sgml:
8074         * docs/gst/tmpl/gstbasetransform.sgml:
8075         * docs/gst/tmpl/gstbin.sgml:
8076         * docs/gst/tmpl/gstbuffer.sgml:
8077         * docs/gst/tmpl/gstcaps.sgml:
8078         * docs/gst/tmpl/gstclock.sgml:
8079         * docs/gst/tmpl/gstcompat.sgml:
8080         * docs/gst/tmpl/gstconfig.sgml:
8081         * docs/gst/tmpl/gstelement.sgml:
8082         * docs/gst/tmpl/gstelementdetails.sgml:
8083         * docs/gst/tmpl/gstelementfactory.sgml:
8084         * docs/gst/tmpl/gstenumtypes.sgml:
8085         * docs/gst/tmpl/gsterror.sgml:
8086         * docs/gst/tmpl/gstevent.sgml:
8087         * docs/gst/tmpl/gstfakesink.sgml:
8088         * docs/gst/tmpl/gstfakesrc.sgml:
8089         * docs/gst/tmpl/gstfilesink.sgml:
8090         * docs/gst/tmpl/gstfilesrc.sgml:
8091         * docs/gst/tmpl/gstfilter.sgml:
8092         * docs/gst/tmpl/gstformat.sgml:
8093         * docs/gst/tmpl/gstghostpad.sgml:
8094         * docs/gst/tmpl/gstimplementsinterface.sgml:
8095         * docs/gst/tmpl/gstindex.sgml:
8096         * docs/gst/tmpl/gstindexfactory.sgml:
8097         * docs/gst/tmpl/gstinfo.sgml:
8098         * docs/gst/tmpl/gstiterator.sgml:
8099         * docs/gst/tmpl/gstmacros.sgml:
8100         * docs/gst/tmpl/gstmemchunk.sgml:
8101         * docs/gst/tmpl/gstminiobject.sgml:
8102         * docs/gst/tmpl/gstobject.sgml:
8103         * docs/gst/tmpl/gstpad.sgml:
8104         * docs/gst/tmpl/gstpadtemplate.sgml:
8105         * docs/gst/tmpl/gstparse.sgml:
8106         * docs/gst/tmpl/gstpipeline.sgml:
8107         * docs/gst/tmpl/gstplugin.sgml:
8108         * docs/gst/tmpl/gstpluginfeature.sgml:
8109         * docs/gst/tmpl/gstquery.sgml:
8110         * docs/gst/tmpl/gstqueue.sgml:
8111         * docs/gst/tmpl/gstregistry.sgml:
8112         * docs/gst/tmpl/gstregistrypool.sgml:
8113         * docs/gst/tmpl/gstscheduler.sgml:
8114         * docs/gst/tmpl/gstschedulerfactory.sgml:
8115         * docs/gst/tmpl/gststructure.sgml:
8116         * docs/gst/tmpl/gstsystemclock.sgml:
8117         * docs/gst/tmpl/gsttaglist.sgml:
8118         * docs/gst/tmpl/gsttagsetter.sgml:
8119         * docs/gst/tmpl/gsttrace.sgml:
8120         * docs/gst/tmpl/gsttrashstack.sgml:
8121         * docs/gst/tmpl/gsttypefind.sgml:
8122         * docs/gst/tmpl/gsttypefindfactory.sgml:
8123         * docs/gst/tmpl/gsttypes.sgml:
8124         * docs/gst/tmpl/gsturihandler.sgml:
8125         * docs/gst/tmpl/gsturitype.sgml:
8126         * docs/gst/tmpl/gstutils.sgml:
8127         * docs/gst/tmpl/gstvalue.sgml:
8128         * docs/gst/tmpl/gstversion.sgml:
8129         * docs/gst/tmpl/gstxml.sgml:
8130         * docs/libs/tmpl/gstcontrol.sgml:
8131         * docs/libs/tmpl/gstdataprotocol.sgml:
8132         * docs/libs/tmpl/gstdparam.sgml:
8133         * docs/libs/tmpl/gstdplinint.sgml:
8134         * docs/libs/tmpl/gstdpman.sgml:
8135         * docs/libs/tmpl/gstdpsmooth.sgml:
8136         * docs/libs/tmpl/gstgetbits.sgml:
8137         * docs/libs/tmpl/gstunitconvert.sgml:
8138         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8139         (gst_push_src_base_init), (gst_push_src_class_init),
8140         (gst_push_src_init), (gst_push_src_create):
8141         * gst/base/gstpushsrc.h:
8142         * gst/elements/gstelements.c:
8143         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8144         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8145         (gst_fake_sink_init), (gst_fake_sink_set_property),
8146         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8147         (gst_fake_sink_event), (gst_fake_sink_preroll),
8148         (gst_fake_sink_render), (gst_fake_sink_change_state):
8149         * gst/elements/gstfakesink.h:
8150         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8151         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8152         (gst_fake_src_base_init), (gst_fake_src_class_init),
8153         (gst_fake_src_init), (gst_fake_src_event_handler),
8154         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8155         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8156         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8157         (gst_fake_src_create_buffer), (gst_fake_src_create),
8158         (gst_fake_src_start), (gst_fake_src_stop):
8159         * gst/elements/gstfakesrc.h:
8160         * gst/elements/gstfilesink.c: (_do_init),
8161         (gst_file_sink_base_init), (gst_file_sink_class_init),
8162         (gst_file_sink_init), (gst_file_sink_dispose),
8163         (gst_file_sink_set_location), (gst_file_sink_set_property),
8164         (gst_file_sink_get_property), (gst_file_sink_open_file),
8165         (gst_file_sink_close_file), (gst_file_sink_query),
8166         (gst_file_sink_event), (gst_file_sink_render),
8167         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8168         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8169         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8170         * gst/elements/gstfilesink.h:
8171         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8172         (gst_file_src_class_init), (gst_file_src_init),
8173         (gst_file_src_finalize), (gst_file_src_set_location),
8174         (gst_file_src_set_property), (gst_file_src_get_property),
8175         (gst_file_src_map_region), (gst_file_src_map_small_region),
8176         (gst_file_src_create_mmap), (gst_file_src_create_read),
8177         (gst_file_src_create), (gst_file_src_is_seekable),
8178         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8179         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8180         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8181         (gst_file_src_uri_handler_init):
8182         * gst/elements/gstfilesrc.h:
8183           more autistic cleanliness in functions/names/defines
8184
8185 2005-07-13  Andy Wingo  <wingo@pobox.com>
8186
8187         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8188         source couldn't negotiate.
8189
8190         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8191         connections again.
8192
8193         * gst/gstutils.h:
8194         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8195         function. I am channeling Hades. Put your boots on suckers!!!
8196
8197 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8198
8199         * testsuite/caps/Makefile.am:
8200         * testsuite/caps/value_compare.c:
8201         * testsuite/caps/value_intersect.c:
8202         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8203           move two testsuite apps over to the check dir
8204
8205 2005-07-12  Wim Taymans  <wim@fluendo.com>
8206
8207         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8208         Added more debug info in the negotiate process.
8209
8210         * gst/gstmessage.h:
8211         Prepare for segment playback.
8212
8213         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8214         Better debugging.
8215
8216         * gst/gstutils.c:
8217         Some more docs.
8218
8219         * tools/gst-launch.c: (main):
8220         NULL pipeline on errors.
8221
8222 2005-07-12  Andy Wingo  <wingo@pobox.com>
8223
8224         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8225         not it comes from a malloc region. Make sure our copy gets freed.
8226
8227 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8228
8229         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8230         * check/gst/gstmessage.c: (GST_START_TEST):
8231         * check/gst/gststructure.c: (GST_START_TEST),
8232         (gst_structure_suite), (main):
8233           more testing
8234         * gst/gstelement.c: (gst_element_message_full):
8235           clean up GError and debug string now that they get copied
8236         * gst/gstmessage.c: (gst_message_new_error),
8237         (gst_message_new_warning), (gst_message_parse_error),
8238         (gst_message_parse_warning):
8239           use GST_TYPE_G_ERROR for structure_new, and take copies of
8240           arguments, so that we don't mess up refcounting
8241
8242 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8243
8244         * check/Makefile.am:
8245           add per-test valgrind targets
8246         * check/gst-libs/gdp.c: (GST_START_TEST),
8247         (gst_data_protocol_suite), (main):
8248           clean up
8249
8250 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8251
8252         * check/Makefile.am:
8253           instate more valgrindable tests
8254         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8255         (GST_START_TEST), (fakesrc_suite):
8256         * check/gst/gstpad.c: (GST_START_TEST):
8257         * check/gst/gststructure.c: (GST_START_TEST):
8258           fix test leaks
8259         * docs/gst/tmpl/gstminiobject.sgml:
8260         * gst/gstpad.c: (gst_pad_finalize):
8261           fix the static mutex leak
8262
8263 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8264
8265         * check/Makefile.am:
8266           add two more tests for valgrinding
8267         * check/gst/gstvalue.c: (GST_START_TEST):
8268           test refcount of deserialized buffer, found a leak
8269         * docs/gst/gstreamer-docs.sgml:
8270         * docs/gst/gstreamer-sections.txt:
8271         * docs/gst/gstreamer.types:
8272         * docs/gst/tmpl/gstminiobject.sgml:
8273           add miniobject to docs
8274         * gst/gstminiobject.c:
8275           add some docs
8276         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8277         (gst_string_unwrap):
8278           fix a hard-to-find invalid write for one of the tests
8279           fix a leak for deserialized buffers
8280
8281 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8282
8283         * docs/pwg/advanced-events.xml:
8284         * docs/pwg/advanced-request.xml:
8285         * docs/pwg/advanced-scheduling.xml:
8286         * docs/pwg/appendix-porting.xml:
8287         * docs/pwg/building-boiler.xml:
8288         * docs/pwg/intro-preface.xml:
8289         * docs/pwg/other-ntoone.xml:
8290           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8291           of example code and explanation for pad activation, loop() and
8292           getrange() functions and a bit more. Remove old comments pointing
8293           to loop-functions.
8294         * examples/pwg/Makefile.am:
8295           Add loop/getrange examples.
8296
8297 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8298
8299         * configure.ac:
8300           check for valgrind binary + some fixes
8301         * check/gst.supp:
8302           valgrind suppressions for the tests
8303         * check/Makefile.am:
8304           add a valgrind: target that valgrinds the unit tests
8305         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8306         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8307         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8308         * check/gst/gstghostpad.c:
8309           added some cleanup
8310         * check/gst/gstdata.c:
8311           removed
8312         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8313         (thread_unref), (gst_mini_object_suite), (main):
8314           added
8315         * gst/gst.c: (gst_deinit):
8316         * gst/gst.h:
8317           add a method to clean up.
8318         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8319         (gst_system_clock_obtain):
8320           allow for disposing the system clock.
8321         * tools/gst-launch.c: (main):
8322           deinit
8323
8324 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8325
8326         * docs/gst/tmpl/gstbasesrc.sgml:
8327         * docs/gst/tmpl/gstfakesrc.sgml:
8328         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8329         (gst_base_src_init), (gst_base_src_set_property),
8330         (gst_base_src_get_property), (gst_base_src_get_range),
8331         (gst_base_src_start):
8332         * gst/base/gstbasesrc.h:
8333           add num-buffers property
8334         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8335         (gst_fakesrc_init), (gst_fakesrc_set_property),
8336         (gst_fakesrc_get_property), (gst_fakesrc_create),
8337         (gst_fakesrc_start):
8338           remove num-buffers property
8339
8340 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8341
8342         * docs/gst/gstreamer-sections.txt:
8343         * docs/gst/tmpl/gstbasesink.sgml:
8344         * docs/gst/tmpl/gstbasesrc.sgml:
8345         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8346         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8347         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8348         (gst_base_sink_set_property), (gst_base_sink_get_property),
8349         (gst_base_sink_handle_object), (gst_base_sink_event),
8350         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8351         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8352         (gst_base_sink_loop), (gst_base_sink_deactivate),
8353         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8354         (gst_base_sink_change_state):
8355         * gst/base/gstbasesink.h:
8356         * gst/base/gstbasesrc.h:
8357         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8358         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8359         (gst_filesink_init):
8360           more macro splitting
8361
8362 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8363
8364         * gst/gstelement.c: (gst_element_get_bus):
8365           add debug
8366         * tools/gst-launch.c: (check_intr), (event_loop):
8367           fix bus leaks
8368
8369 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8370
8371         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8372           fix a caps leak
8373
8374 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8375
8376         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8377         (gst_base_src_finalize):
8378           add finalize method and clean up properly
8379         * gst/gstpipeline.c: (gst_pipeline_dispose):
8380           add debug
8381
8382 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8383
8384         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8385         (gst_bin_suite):
8386           add more things to check
8387         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8388         * gst/gstelement.c:
8389           more debug
8390
8391 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8392
8393         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8394         (GST_START_TEST), (fakesrc_suite):
8395         * check/gst-libs/gdp.c: (GST_START_TEST):
8396         * check/gst/gst.c: (GST_START_TEST):
8397         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8398         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8399         * check/gst/gstbus.c: (GST_START_TEST):
8400         * check/gst/gstcaps.c: (GST_START_TEST):
8401         * check/gst/gstdata.c: (GST_START_TEST):
8402         * check/gst/gstelement.c: (GST_START_TEST):
8403         * check/gst/gstghostpad.c: (GST_START_TEST):
8404         * check/gst/gstiterator.c: (GST_START_TEST):
8405         * check/gst/gstmessage.c: (GST_START_TEST):
8406         * check/gst/gstobject.c: (GST_START_TEST):
8407         * check/gst/gstpad.c: (GST_START_TEST):
8408         * check/gst/gststructure.c: (GST_START_TEST):
8409         * check/gst/gstsystemclock.c: (GST_START_TEST),
8410         (gst_systemclock_suite):
8411         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8412         * check/gst/gstvalue.c: (GST_START_TEST):
8413         * check/pipelines/cleanup.c: (GST_START_TEST):
8414         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8415         * check/states/sinks.c: (GST_START_TEST):
8416         * check/gstcheck.c: (gst_check_init):
8417         * check/gstcheck.h:
8418           add debugging category
8419           use GST_START_TEST now, so we add a debug line
8420
8421 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8422
8423         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8424           add test for state change message on a bin
8425         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8426           add another test
8427         * gst/gstbin.c: (gst_bin_init):
8428         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8429         * gst/gstelement.c: (gst_element_post_message),
8430         (gst_element_set_state):
8431         * gst/gstelementfactory.c: (gst_element_factory_create):
8432         * gst/gstmessage.c: (gst_message_new):
8433         * gst/gstscheduler.c:
8434           various debugging additions and cleanups
8435
8436 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8437
8438         * check/Makefile.am:
8439         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8440         (main):
8441           adding tests for elements
8442         * gst/gstelement.c: (gst_element_dispose):
8443
8444 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8445
8446         * gst/registries/gstlibxmlregistry.c: (load_feature):
8447           plug more leaks.  A simple gst_init() now is leakfree, yay.
8448
8449 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8450
8451         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8452         (gst_xml_registry_load):
8453           plug another memleak
8454
8455 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8456
8457         * configure.ac:
8458           use GST_SET_ERROR_CFLAGS
8459         * docs/faq/cvs.xml:
8460           change to ERROR_CFLAGS
8461
8462 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8463
8464         * configure.ac:
8465           make GST_ERROR_CFLAGS overridable and re-enable Werror
8466         * docs/faq/cvs.xml:
8467           add a note about error CFLAGS
8468         * docs/gst/tmpl/gstfakesrc.sgml:
8469         * gst/elements/gstfakesrc.c:
8470           comment out some unused code
8471         * gst/gst.c: (split_and_iterate):
8472         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8473         (load_feature):
8474           plug some memleaks
8475
8476 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8477
8478         * common/Makefile.am:
8479         * common/gtk-doc.mak:
8480         * docs/gst/Makefile.am:
8481           factor out gtk-doc.mak
8482
8483 2005-07-07  Wim Taymans  <wim@fluendo.com>
8484
8485         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8486         (gst_thread_scheduler_dispose):
8487         Unlock the STREAM_LOCK completely.
8488
8489 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8490
8491         * check/Makefile.am:
8492         * check/elements/.cvsignore:
8493         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8494         (START_TEST), (fakesrc_suite), (main):
8495         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8496         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8497         (gst_fakesrc_create), (gst_fakesrc_start):
8498         * gst/elements/gstfakesrc.h:
8499           adding a first element test
8500
8501 2005-07-07  Andy Wingo  <wingo@pobox.com>
8502
8503         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8504         debug message.
8505
8506 2005-07-07  Wim Taymans  <wim@fluendo.com>
8507
8508         * gst/gstquery.c:
8509         * gst/gstquery.h:
8510         Remove old types
8511
8512 2005-07-07  Wim Taymans  <wim@fluendo.com>
8513
8514         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8515         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8516         Allow subclasses to implement their own negotiation.
8517
8518 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8519
8520         * docs/design/part-gstbin.txt:
8521         * docs/design/part-gstpipeline.txt:
8522           Update design notes to reflect the movement of
8523           responsibility for bus handling from GstPipeline to
8524           GstBin
8525
8526 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8527
8528         * configure.ac:
8529           Remove unnecessary queue2/3/4 examples.
8530
8531 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8532
8533         * examples/Makefile.am:
8534         * examples/helloworld/helloworld.c: (event_loop), (main):
8535         * examples/queue/queue.c: (event_loop), (main):
8536         * examples/queue2/queue2.c: (main):
8537           Update a couple of the examples to work again.
8538
8539         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8540         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8541          Spelling corrections and extra debug.
8542         
8543         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8544         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8545         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8546         * gst/gstbin.h:
8547         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8548         (gst_pipeline_change_state):
8549         * gst/gstpipeline.h:
8550           Move the bus handler for children to the GstBin, and create a
8551           separate bus for receiving messages from children to the one the
8552           bus sends 'upwards' on.
8553
8554 2005-07-06  Wim Taymans  <wim@fluendo.com>
8555
8556         * gst/base/README:
8557         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8558         (gst_base_sink_handle_object), (gst_base_sink_loop),
8559         (gst_base_sink_change_state):
8560         * gst/base/gstbasesink.h:
8561         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8562         (gst_base_src_init), (gst_base_src_setcaps),
8563         (gst_base_src_getcaps), (gst_base_src_loop),
8564         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8565         (gst_base_src_start), (gst_base_src_change_state):
8566         * gst/base/gstbasesrc.h:
8567         Make basesrc negotiate.
8568         Handle the case where preroll fails in basesink.
8569         Update README.
8570
8571 2005-07-06  Wim Taymans  <wim@fluendo.com>
8572
8573         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8574         Implement the fixate function.
8575         Clean up acceptcaps.
8576
8577 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8578
8579         * docs/pwg/building-filterfactory.xml:
8580         * docs/pwg/pwg.xml:
8581           Remove never-written filter-factory chapter; I'll add the various
8582           base classes to part 4 ("other element types") later on.
8583
8584 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8585
8586         * docs/pwg/advanced-negotiation.xml:
8587         * docs/pwg/building-boiler.xml:
8588         * docs/pwg/building-pads.xml:
8589         * docs/pwg/pwg.xml:
8590         * examples/pwg/Makefile.am:
8591           Add a chapter on caps negotiation, simplify the original code
8592           samples a bit w.r.t. caps negotiation, add link to the advanced
8593           section. Add a bunch of examples showing different use cases of
8594           different types of caps negotiation. Upstream renegotiation isn't
8595           fully documented yet since nobody knows how that works.
8596
8597 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8598
8599         * check/gst/gstpad.c:
8600         * check/gstcheck.c:
8601         * gst/gstpad.c: (gst_pad_get_internal_links_default):
8602           if pad has no parent, return NULL as list of internal links
8603
8604 2005-07-05  Andy Wingo  <wingo@pobox.com>
8605
8606         * gst/elements/gstfilesrc.c:
8607         * gst/elements/gstfakesrc.c: 
8608         * gst/base/gstpushsrc.c:
8609         * gst/base/gstbasesrc.h: 
8610         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8611         
8612 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
8613
8614         * Makefile.am:
8615           better report generation target (lcov needs a patch)
8616
8617 2005-07-05  Andy Wingo  <wingo@pobox.com>
8618
8619         * gst/elements, testsuite: Null if we got it...
8620
8621 2005-07-05  Wim Taymans  <wim@fluendo.com>
8622
8623         * configure.ac:
8624         * libs/gst/dataprotocol/Makefile.am:
8625         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8626         * libs/gst/dataprotocol/dataprotocol.h:
8627         * pkgconfig/Makefile.am:
8628         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8629         * pkgconfig/gstreamer-dataprotocol.pc.in:
8630         Ported dataprotol to 0.9. 
8631         Added pkgconfig files.
8632
8633 2005-07-05  Andy Wingo  <wingo@pobox.com>
8634
8635         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8636         Default to returning TRUE for the case when tranform_caps returns
8637         a fixed caps, like for identity or volume.
8638
8639         * check/gst/gstbus.c (pound_bus_with_messages): 
8640         * check/gst/gstmessage.c (START_TEST): 
8641         * check/pipelines/simple_launch_lines.c (got_handoff): Application
8642         message API change.
8643
8644         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8645         logic weaks here: always run transform_caps, trying passthrough
8646         operation only if the original caps intersects with the transform.
8647
8648         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8649         source and sink caps.
8650
8651         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8652         Intersect the peer caps with the pad template before going into
8653         transform_caps.
8654         (gst_base_transform_transform_caps): More debugging.
8655
8656         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8657         src argument.
8658
8659 2005-07-04  Edward Hervey  <edward@fluendo.com>
8660
8661         * gst/gstutils.c:
8662         * gst/gstutils.h:
8663         (gst_pad_add_*_probe): now returns the signal id for better wrapping
8664         in bindings.
8665
8666 2005-07-04  Andy Wingo  <wingo@pobox.com>
8667
8668         * check/gst/gstpad.c: Only set explicit caps on pads.
8669
8670 2005-07-01  Andy Wingo  <wingo@pobox.com>
8671
8672         * tests/network-clock.scm: Commentary update.
8673
8674         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8675         Didn't really make sense, not implementable with basetransform,
8676         etc.
8677         (gst_identity_transform): Unref inbuf via make_writable. Feeble
8678         attempt at implementing the sync property, needs an unlock method.
8679
8680         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8681         New func, by default returns the same caps (the identity
8682         transformation).
8683         (gst_base_transform_getcaps): Uses transform_caps to return
8684         something sensible.
8685         (gst_base_transform_setcaps): Complicated logic to get caps on
8686         both pads, even if they are different, and to call set_caps once
8687         for every time both pads get their caps set.
8688         (gst_base_transform_handle_buffer): Give the ref to the transform
8689         function. Allows in-place modification of the buffer.
8690
8691         * gst/base/gstbasetransform.h (transform_caps): New class method.
8692         Given caps on one side, what can I do on the other.
8693         (set_caps): Take two caps, one for each side of the element.
8694
8695         * gst/gstpad.h:
8696         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8697         caps in place. This is safe because we can check the mutability of
8698         the caps, and a good idea because fixate functions are just called
8699         as a matter of last resort. (Not actually implemented.)
8700         (gst_pad_set_caps): If the caps we're setting is actually the same
8701         as the existing pad caps, just update the pointer without calling
8702         setcaps. Assert that caps is either NULL or fixed, as per the
8703         docs.
8704
8705         * gst/gstghostpad.c: Update for fixate changes.
8706
8707 2005-07-02  Andy Wingo  <wingo@pobox.com>
8708
8709         * gst/gstcaps.c:
8710         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8711         two refcounts makes it immutable, which is enough. Doc more.
8712
8713 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
8714
8715         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8716           Put the mini_object into GValue as a mini_object,
8717           not a gpointer, since that's how we declared
8718           the signal.
8719
8720 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8721
8722         * examples/pwg/Makefile.am:
8723           Fix buildbot again.
8724
8725 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8726
8727         * docs/pwg/building-testapp.xml:
8728           Add extra check.
8729         * examples/pwg/Makefile.am:
8730           Fix buildbot.
8731
8732 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8733
8734         * configure.ac:
8735         * examples/Makefile.am:
8736         * examples/pwg/Makefile.am:
8737         * examples/pwg/extract.pl:
8738           Enable building the PWG examples.
8739         * docs/pwg/advanced-interfaces.xml:
8740           Add URI interface stub.
8741         * docs/pwg/advanced-types.xml:
8742         * docs/pwg/other-autoplugger.xml:
8743         * docs/pwg/appendix-porting.xml:
8744         * docs/pwg/pwg.xml:
8745           Add porting guide (mostly stubs), remove autoplugging (see ADM).
8746         * docs/pwg/building-boiler.xml:
8747         * docs/pwg/building-chainfn.xml:
8748         * docs/pwg/building-pads.xml:
8749         * docs/pwg/building-props.xml:
8750         * docs/pwg/building-state.xml:
8751         * docs/pwg/building-testapp.xml:
8752           Update the building-*.xml parts for 0.9 changes. All examples
8753           code blocks compile in examples/pwg/*.
8754
8755 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8756
8757         * docs/manual/advanced-autoplugging.xml:
8758         * docs/manual/appendix-checklist.xml:
8759         * docs/manual/appendix-integration.xml:
8760         * docs/manual/highlevel-components.xml:
8761           Fix playbin/decodebin examples, update docs a bit, mention bus
8762           instead of signals in various places, mention kmplayer and
8763           kaffeine since they have a working GStreamer backend in the KDE
8764           section.
8765
8766 2005-06-30  Wim Taymans  <wim@fluendo.com>
8767
8768         * CHANGES-0.9:
8769         * docs/design/draft-ghostpads.txt:
8770         * docs/design/draft-push-pull.txt:
8771         * docs/design/draft-query.txt:
8772         * docs/design/part-TODO.txt:
8773         * docs/design/part-query.txt:
8774         Added CHANGES-0.9 doc, updated status of other docs.
8775         
8776         * gst/gstquery.h:
8777         Remove "hmm" macro
8778
8779 2005-06-30  Wim Taymans  <wim@fluendo.com>
8780
8781         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8782         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8783         (gst_base_sink_change_state):
8784         * gst/base/gstbasesink.h:
8785         Some tweaks, only EOS and a buffer complete a preroll.
8786
8787 2005-06-30  Andy Wingo  <wingo@pobox.com>
8788
8789         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8790         activate_push down to the internal pad as well.
8791
8792 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
8793
8794         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8795
8796         * gst/gsttaginterface.c:
8797           Some documentation fixes (#307394 and #307397).
8798
8799 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
8800
8801         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8802
8803         * gst/gstvalue.c: (gst_value_intersect_list):
8804           Fix memleak (#309125).
8805
8806 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8807
8808         * docs/manual/advanced-dataaccess.xml:
8809           Fix fakesrc example to compile; doesn't work, bug somewhere...?
8810         * docs/manual/basics-pads.xml:
8811           Add reference for filtered caps to above chapter.
8812
8813 2005-06-30  Wim Taymans  <wim@fluendo.com>
8814
8815         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8816         (gst_bin_change_state):
8817         Probes are gone.
8818         Lame attempt at making the state change function a bit
8819         more readable.
8820
8821 2005-06-30  Wim Taymans  <wim@fluendo.com>
8822
8823         * docs/design/part-clocks.txt:
8824         * docs/design/part-element-sink.txt:
8825         * docs/design/part-events.txt:
8826         * docs/design/part-preroll.txt:
8827         * docs/design/part-states.txt:
8828         Some more tweeks and additions to the docs.
8829
8830 2005-06-30  Wim Taymans  <wim@fluendo.com>
8831
8832         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8833         (default_have_data), (gst_pad_class_init), (gst_pad_init),
8834         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8835         (gst_pad_check_pull_range), (gst_pad_get_range),
8836         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8837         * gst/gstpad.h:
8838         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8839         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8840         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8841         (gst_pad_remove_buffer_probe):
8842         Removed atomic operations, use existing LOCK.
8843         Move exception handling out of main code path.
8844
8845 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8846
8847         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8848         (silly_return_true_function), (gst_pad_class_init),
8849         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8850         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8851         (gst_pad_send_event):
8852           Fix accumulator, add default value by using _emitv() instead
8853           of _emit() for signal emission.
8854
8855 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8856
8857         * docs/manual/advanced-dataaccess.xml:
8858         * examples/manual/Makefile.am:
8859           Add probe example.
8860         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8861           Make work (??).
8862
8863 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
8864
8865         * gst/elements/gstfilesink.c: (gst_filesink_render):
8866           Simplify code so that we don't have to handle short
8867           writes and return GST_FLOW_ERROR if an error occured.
8868
8869 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8870
8871         * docs/gst/gstreamer-docs.sgml:
8872           Remove probes more.
8873
8874 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8875
8876         * docs/gst/gstreamer-sections.txt:
8877         * docs/gst/tmpl/gstpad.sgml:
8878         * docs/gst/tmpl/gstprobe.sgml:
8879         * gst/Makefile.am:
8880         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8881         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8882         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8883         (gst_pad_push_event), (gst_pad_send_event):
8884         * gst/gstpad.h:
8885         * gst/gstutils.c: (gst_pad_add_data_probe),
8886         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8887         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8888         (gst_pad_remove_buffer_probe):
8889         * gst/gstutils.h:
8890           Remove old probes, add new g-signal-based probes and some utility
8891           functions.
8892
8893 2005-06-29  Edward Hervey  <edward@fluendo.com>
8894
8895         * gst/gstelementfactory.c:
8896         * gst/gstutils.h:
8897         * gst/gstutils.c:
8898         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8899         the definition to the header file.
8900
8901 2005-06-29  Andy Wingo  <wingo@pobox.com>
8902
8903         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8904         plugins from the source directory.
8905
8906 2005-06-29  Wim Taymans  <wim@fluendo.com>
8907
8908         * docs/gst/tmpl/gstbuffer.sgml:
8909         * docs/gst/tmpl/gstclock.sgml:
8910         Some fixings for blantently wrong text.
8911
8912 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8913
8914         * check/Makefile.am:
8915         * gst/gst.c: (add_path_func), (init_pre):
8916         * gst/gstregistry.c: (gst_registry_add_path):
8917           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
8918           only scan the GST_PLUGIN_PATH locations, and not add
8919           system locations
8920
8921 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8922
8923         * docs/gst/gstreamer-sections.txt:
8924         * docs/gst/tmpl/gstbasesrc.sgml:
8925         * gst/gstelement.c:
8926         * gst/gstelement.h:
8927         * gst/gstevent.c:
8928         * gst/gstutils.c:
8929           doc fixes
8930
8931 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8932
8933         * docs/manual/advanced-autoplugging.xml:
8934           Fix autoplugging example.
8935
8936 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8937
8938         * docs/manual/advanced-autoplugging.xml:
8939         * docs/manual/mime-world.fig:
8940           Try to get autoplugging working, fix type detection. Fix text
8941           in hello-world image.
8942
8943 2005-06-29  Wim Taymans  <wim@fluendo.com>
8944
8945         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8946         (gst_base_sink_change_state):
8947         Small debug line.
8948
8949         * gst/gstclock.h:
8950         map SIGNAL and BROADCAST to the right function.
8951
8952         * gst/gstobject.h:
8953         Remove redundant braces.
8954
8955         * gst/gstpad.c: (gst_pad_set_caps):
8956         Don't call setcaps function when reseting caps to NULL.
8957
8958         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8959         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
8960         (gst_system_clock_id_unschedule):
8961         Use BROADCAST as this is what we do.
8962
8963 2005-06-29  Wim Taymans  <wim@fluendo.com>
8964
8965         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8966         We are actually prerolling before commiting the state
8967         change. 
8968
8969 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8970
8971         * docs/manual/advanced-clocks.xml:
8972         * docs/manual/advanced-interfaces.xml:
8973         * docs/manual/advanced-metadata.xml:
8974         * docs/manual/advanced-position.xml:
8975         * docs/manual/advanced-schedulers.xml:
8976         * docs/manual/advanced-threads.xml:
8977         * docs/manual/appendix-porting.xml:
8978         * docs/manual/basics-bins.xml:
8979         * docs/manual/basics-bus.xml:
8980         * docs/manual/basics-elements.xml:
8981         * docs/manual/basics-helloworld.xml:
8982         * docs/manual/basics-pads.xml:
8983         * docs/manual/highlevel-components.xml:
8984         * docs/manual/manual.xml:
8985         * docs/manual/thread.fig:
8986           Update (until threads/scheduling) Application Development Manual;
8987           remove GstThread, add GstBus, add simple porting checklist, add
8988           documentation for tag writing, clocks, make all examples until this
8989           part compile and run.
8990         * examples/manual/Makefile.am:
8991           Update from changes to Application Development Manual; add bus
8992           example, remove thread example.
8993
8994 2005-06-28  Wim Taymans  <wim@fluendo.com>
8995
8996         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
8997         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
8998         (gst_bus_source_dispatch):
8999         Add debugging messages.
9000         Make internal methods static.
9001         Handle the case where the bus is flushed in the handler.
9002         
9003         * gst/gstelement.c: (gst_element_get_bus):
9004         Fix refcount in _get_bus();
9005
9006         * gst/gstpipeline.c: (gst_pipeline_change_state),
9007         (gst_pipeline_get_clock_func):
9008         Clock refcounting fixes.
9009         Handle the case where preroll timed out more gracefully.
9010         
9011         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9012         Clean up the internal thread in dispose. This is needed
9013         for subclasses that actually get disposed.
9014         
9015         * gst/schedulers/threadscheduler.c:
9016         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9017         (gst_thread_scheduler_dispose):
9018         Free thread pool in dispose.
9019
9020 2005-06-28  Andy Wingo  <wingo@pobox.com>
9021
9022         * tests/network-clock-utils.scm (debug, print-event): New utils.
9023
9024         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9025         (*packet-loss*): Unified loss probability.
9026         (network-time): Report out-of-band events.
9027
9028         * tests/plot-data: Add support for out-of-band events. Hack it
9029         into this script instead of passing it down the pipe; should fix
9030         this later.
9031
9032 2005-06-28  Wim Taymans  <wim@fluendo.com>
9033
9034         * docs/gst/gstreamer.types:
9035         * docs/gst/tmpl/gstbasesrc.sgml:
9036         * docs/gst/tmpl/gstpad.sgml:
9037         Docs fixes.
9038
9039 2005-06-28  Wim Taymans  <wim@fluendo.com>
9040
9041         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9042         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9043         (gst_proxy_pad_do_fixatecaps):
9044         Correctly proxy the check_pull_range function.
9045
9046 2005-06-28  Andy Wingo  <wingo@pobox.com>
9047
9048         * tests/network-clock.scm: Removed need for slib.
9049         
9050 2005-06-28  Wim Taymans  <wim@fluendo.com>
9051
9052         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9053         (gst_basesink_preroll_queue_flush):
9054         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9055         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9056         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9057         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9058         (gst_proxy_pad_set_property):
9059         * gst/gstpad.c:
9060         * gst/gstpad.h:
9061         * gst/gstqueue.c: (gst_queue_init):
9062         The deprecated pad loop function is removed now.
9063
9064 2005-06-28  Andy Wingo  <wingo@pobox.com>
9065
9066         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9067         New parameters, simulate network packet loss.
9068
9069         * tests/network-clock-utils.scm: Initialize the RNG.
9070
9071 2005-06-28  Wim Taymans  <wim@fluendo.com>
9072
9073         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9074         (gst_basesink_event), (gst_basesink_deactivate):
9075         Flushing the preroll queue always needs to unlock the waiters.
9076
9077 2005-06-28  Edward Hervey  <edward@fluendo.com>
9078
9079         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9080         Wheen a seek was successful on a pipeline, set the stream_time to the
9081         seek offset in order to have a synchronized stream_time.
9082
9083 2005-06-28  Wim Taymans  <wim@fluendo.com>
9084
9085         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9086         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9087         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9088         (gst_proxy_pad_do_fixatecaps):
9089         Call wrapper function instead of just calling the function
9090         pointers. This takes care of any locking and whatmore.
9091
9092 2005-06-28  Wim Taymans  <wim@fluendo.com>
9093
9094         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9095         (gst_pad_pull_range):
9096         * gst/gstpad.h:
9097         CONNECTED -> LINKED.
9098
9099 2005-06-28  Andy Wingo  <wingo@pobox.com>
9100
9101         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9102         source-munging commit!!!
9103
9104         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9105         (gst_object_sink): Take gpointer arguments, not GstObject --
9106         avoids casts. Like GLib.
9107
9108         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9109         activate.
9110
9111 2005-06-27  Andy Wingo  <wingo@pobox.com>
9112
9113         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9114         remaining buffer.
9115
9116         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9117         returns a sorted copy of the trace list.
9118         (gst_alloc_trace_print_live): New API, only prints traces with
9119         live objects. Sort the list.
9120         (gst_alloc_trace_print_all): Sort the list.
9121         (gst_alloc_trace_print): Align columns.
9122
9123         * gst/elements/gstttypefindelement.c:
9124         * gst/elements/gsttee.c:
9125         * gst/base/gstbasesrc.c:
9126         * gst/base/gstbasesink.c:
9127         * gst/base/gstbasetransform.c:
9128         * gst/gstqueue.c: Adapt for pad activation changes.
9129
9130         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9131         sched.
9132         (gst_pipeline_dispose): Drop ref on sched.
9133
9134         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9135         (gst_pad_activate_default): Push mode by default.
9136         (pre_activate_switch, post_activate_switch): New stubs, things to
9137         do before and after switching activation modes on pads.
9138         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9139         the pad's activate function to choose which mode to activate.
9140         Shortcut on deactivation and call the right function directly.
9141         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9142         mode.
9143         (gst_pad_activate_push): New API, same for push mode.
9144         (gst_pad_set_activate_function) 
9145         (gst_pad_set_activatepull_function) 
9146         (gst_pad_set_activatepush_function): Setters for new API.
9147
9148         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9149         Trace all miniobjects.
9150         (gst_mini_object_make_writable): Unref the arg if we copy, like
9151         gst_caps_make_writable.
9152
9153         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9154
9155         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9156         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9157         Adapt for new pad API.
9158
9159         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9160
9161         * gst/gstelement.h:
9162         * gst/gstelement.c (gst_element_iterate_src_pads) 
9163         (gst_element_iterate_sink_pads): New API functions.
9164         
9165         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9166         should fold into gstiterator.c in some form.
9167         (gst_element_pads_activate): Simplified via use of fold and
9168         delegation of decisions to gstpad->activate.
9169
9170         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9171         help in debugging.
9172
9173         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9174         class once in init, like gstmessage. Didn't run into this issue
9175         but it seems correct. Don't initialize a trace, gstminiobject does
9176         that.
9177
9178         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9179         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9180         to the bus.
9181         (assert_live_count): New util function, uses alloc traces to check
9182         cleanup.
9183
9184         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9185         To be modified when unlink drops the internal pad.
9186
9187 2005-06-27  Wim Taymans  <wim@fluendo.com>
9188
9189         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9190         (gst_bin_change_state):
9191         Cleanup the get_state() function a little, make sure it
9192         iterates the same set of elements.
9193         Added stub iterate_state_order().
9194
9195 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9196
9197         * docs/gst/gstreamer-docs.sgml:
9198         * docs/gst/gstreamer-sections.txt:
9199         * docs/gst/gstreamer.types:
9200         * docs/gst/tmpl/gstbasesink.sgml:
9201         * docs/gst/tmpl/gstbasesrc.sgml:
9202         * docs/gst/tmpl/gstbasetransform.sgml:
9203         * docs/gst/tmpl/gstelement.sgml:
9204         * docs/gst/tmpl/gstiterator.sgml:
9205         * gst/base/gstbasesrc.c:
9206         * gst/base/gstbasesrc.h:
9207         * gst/base/gstbasetransform.h:
9208         * gst/gstelement.c:
9209         * gst/gstiterator.h:
9210           adding basetransform and iterator docs
9211
9212 2005-06-27  Andy Wingo  <wingo@pobox.com>
9213
9214         * docs/design/part-activation.txt: Notes on how activation should
9215         work -- not quite implemented yet.
9216
9217 2005-06-25  Wim Taymans  <wim@fluendo.com>
9218
9219         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9220         At least get the chain function correct, needs more
9221         fixing.
9222
9223 2005-06-25  Wim Taymans  <wim@fluendo.com>
9224
9225         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9226         (gst_basesink_handle_object), (gst_basesink_event),
9227         (gst_basesink_do_sync), (gst_basesink_handle_event),
9228         (gst_basesink_change_state):
9229         * gst/gsttask.h:
9230         Right, two problems here: ghostpads don't take locks and
9231         glib _rec_mutex_lock_full() with depth==0 still locks.
9232         Catch illegal locking and g_warn them.
9233
9234 2005-06-25  Wim Taymans  <wim@fluendo.com>
9235
9236         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9237         Have to check for completion now...
9238
9239 2005-06-25  Wim Taymans  <wim@fluendo.com>
9240
9241         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9242         (gst_basesink_handle_object), (gst_basesink_event),
9243         (gst_basesink_do_sync), (gst_basesink_handle_event),
9244         (gst_basesink_change_state):
9245         * gst/gstpad.h:
9246         Unlock STREAM_LOCK whatever the recursion was.
9247
9248 2005-06-25  Wim Taymans  <wim@fluendo.com>
9249
9250         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9251         (gst_basesink_preroll_queue_empty),
9252         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9253         (gst_basesink_event), (gst_basesink_do_sync),
9254         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9255         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9256         (gst_basesink_change_state):
9257         Reworked the base sink, handle event and buffer serialisation
9258         correctly and removed possible deadlock.
9259         Handle EOS correctly.
9260
9261 2005-06-25  Wim Taymans  <wim@fluendo.com>
9262
9263         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9264         (gst_pipeline_change_state):
9265         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9266         Allow elements to post EOS in the state change function.
9267         Fix up -launch, make it exit the poll loop when the
9268         pipeline actually changed state.
9269         Fix up warning parsing in -launch.
9270
9271 2005-06-25  Wim Taymans  <wim@fluendo.com>
9272
9273         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9274         (gst_tee_sink_activate):
9275         Core takes STREAM_LOCK for us now.
9276
9277 2005-06-25  Wim Taymans  <wim@fluendo.com>
9278
9279         * gst/gstelement.c: (gst_element_get_state_func),
9280         (gst_element_set_state):
9281         * gst/gstelement.h:
9282         * gst/gstmessage.c: (gst_message_parse_error),
9283         (gst_message_parse_warning):
9284         Keep track of current target state while performing a state
9285         change so that subclasses can do something interesting.
9286         Fix parsing of warning/error messages when GError is NULL.
9287
9288 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9289
9290         * docs/gst/Makefile.am:
9291         * docs/gst/gstreamer-docs.sgml:
9292         * docs/gst/gstreamer-sections.txt:
9293         * docs/gst/gstreamer.types:
9294         * docs/gst/tmpl/gstbasesink.sgml:
9295         * docs/gst/tmpl/gstbasesrc.sgml:
9296         * docs/gst/tmpl/gstbin.sgml:
9297         * docs/gst/tmpl/gstcompat.sgml:
9298         * docs/gst/tmpl/gstfakesink.sgml:
9299         * docs/gst/tmpl/gstfakesrc.sgml:
9300         * docs/gst/tmpl/gstfilesink.sgml:
9301         * docs/gst/tmpl/gstfilesrc.sgml:
9302         * docs/gst/tmpl/gstindex.sgml:
9303         * docs/manual/appendix-quotes.xml:
9304         * gst/base/gstbasesrc.h:
9305         * gst/elements/gstfakesrc.h:
9306         * gst/gstmessage.h:
9307           start pulling in base classes and elements in our docs
9308
9309 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9310
9311         * docs/gst/Makefile.am:
9312         * docs/libs/Makefile.am:
9313           fixed make distcheck with gtk-doc 1.3
9314
9315 2005-06-23  Wim Taymans  <wim@fluendo.com>
9316
9317         * gst/gstelement.c: (gst_element_get_state_func),
9318         (gst_element_set_state), (gst_element_change_state):
9319         When the state did not change, also report NO_PREROLL
9320         when it matters.
9321
9322 2005-06-23  Wim Taymans  <wim@fluendo.com>
9323
9324         * gst/gstpad.c: (gst_pad_event_default):
9325         * gst/gstqueue.c: (gst_queue_loop):
9326         No unsafe task pausing please.
9327
9328 2005-06-23  Wim Taymans  <wim@fluendo.com>
9329
9330         * gst/schedulers/threadscheduler.c:
9331         (gst_thread_scheduler_task_start),
9332         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9333         Ref the task before pushing it on the threadpool. This
9334         makes sure that we have a ref when the threadfunction is
9335         actually called.
9336
9337 2005-06-23  Andy Wingo  <wingo@pobox.com>
9338
9339         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9340         offset is greater than the file's size.
9341
9342         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9343         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9344         * gst/gstobject.c (gst_object_class_init): Make the class lock
9345         recursive. Wim won't let me drop deep_notify. Decodebin works
9346         again, whoopdy doo.
9347
9348         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9349         internal pad, and hacks accordingly. Doesn't do it on the target
9350         pad because we change its caps. Probably catches all cases of
9351         interest tho.
9352         (gst_ghost_pad_set_property): Connect to notify::caps as
9353         appropritate.
9354
9355         * tests/network-clock.scm (plot-simulation): Pipe data to the
9356         elite python skript.
9357
9358         * tests/network-clock-utils.scm (define-parameter): New macro,
9359         defines a parameter that can be set via the command line.
9360         (set-parameter!, parse-parameter-arguments): Command line args
9361         parser.
9362
9363         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9364         stdin.
9365
9366 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9367
9368         * gst/elements/gsttypefindelement.c:
9369         (gst_type_find_element_handle_event):
9370           Don't restart typefinding on a discont.
9371         * gst/gstelement.c: (gst_element_set_state):
9372           Debug spelling fix.
9373         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9374           Allow changing mode of an active pad.
9375           Debug output fixes.
9376         * gst/registries/gstlibxmlregistry.c: (load_feature):
9377           Don't cast a static pad template to a normal pad template.
9378
9379 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9380
9381         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9382         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9383           remove gst_strtoll completely, since it didn't actually do
9384           anything more than what g_ascii_strtoull already does.
9385           check for range errors when deserializing
9386           do a cast for the unsigned cases; but further fixing needs
9387           a decision on what the interpretation of "(int)" and
9388           deserialization should be for values that fall outside the
9389           type's boundaries (ie, refuse, or interpret as casting)
9390
9391 2005-06-23  Wim Taymans  <wim@fluendo.com>
9392
9393         * check/Makefile.am:
9394         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9395         * docs/design/part-live-source.txt:
9396         * docs/design/part-states.txt:
9397         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9398         (gst_basesrc_set_live), (gst_basesrc_is_live),
9399         (gst_basesrc_get_range), (gst_basesrc_activate),
9400         (gst_basesrc_change_state):
9401         * gst/base/gstbasesrc.h:
9402         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9403         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9404         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9405         * gst/gstelement.c: (gst_element_get_state_func),
9406         (gst_element_set_state):
9407         * gst/gstelement.h:
9408         * gst/gsttypes.h:
9409         * tools/gst-launch.c: (event_loop), (main):
9410         Added support for live sources and other elements that
9411         cannot do preroll.
9412         Updated design docs, added live-source design doc.
9413         Implemented live source functionality in basesrc
9414         Fix error condition in _bin_get_state()
9415         Implement live source handling in -launch.
9416         Added check for live sources.
9417         Fixed case in GstBin where elements were changed state
9418         multiple times.
9419
9420
9421 2005-06-23  Andy Wingo  <wingo@pobox.com>
9422
9423         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9424         borken refcounting.
9425
9426         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9427         gst_caps_replace takes care of this for us.
9428
9429         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9430         gst_pad_set_caps on the target, not just its setcaps() function.
9431
9432         * tests/network-clock.scm: 
9433         * tests/network-clock-utils.scm: A network clock simulator.
9434         Something of an algorithmic testbed before doing something in C.
9435
9436 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9437
9438         * check/Makefile.am:
9439         * check/gst/capslist.h:
9440           copy over from 0.8, and add two with bitmasks specified with
9441           (int) 0xFF...
9442         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9443           add test to parse everything from capslist.h
9444         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9445         (main):
9446           add test for structure deserialization
9447         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9448           add tests for deserialization of strings to int types
9449         * gst/gststructure.c: (gst_structure_nth_field_name):
9450         * gst/gststructure.h:
9451           add a way to get the name of a field referenced by index
9452         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9453           instead of checking if the resulting long long lies between
9454           min and max, we check if the long long would fit into
9455           a number of bytes for the final type.
9456           This fixes cases where a string represents 2^32 - 1, which
9457           when cast to int would be the (valid) -1, but is bigger than
9458           G_MAXINT
9459
9460 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9461
9462         * gst/parse/grammar.y:
9463           add a log line for type deserialization
9464
9465 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9466
9467         * check/gst/gstvalue.c: (START_TEST):
9468         * gst/gstvalue.c: (gst_value_deserialize):
9469           return long long, not int, so gint64 deserialization actually
9470           works.  Is there any flag that makes the compiler check this ?
9471           Fixes #308559
9472
9473 2005-06-22  Wim Taymans  <wim@fluendo.com>
9474
9475         * gst/gstbuffer.h:
9476         Added convenience macros for setting buffers in GValue.
9477
9478 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9479
9480         * check/gst/.cvsignore:
9481         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9482           add a test deserializing int64, and comment part out because
9483           it fails, yay !
9484
9485 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9486
9487         * check/Makefile.am:
9488         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9489         * testsuite/Makefile.am:
9490         * testsuite/caps/Makefile.am:
9491         * testsuite/caps/value_serialize.c:
9492         * testsuite/test_gst_init.c:
9493           move a value_serialize test over
9494
9495 2005-06-20  Wim Taymans  <wim@fluendo.com>
9496
9497         * gst/gstpad.c:
9498         Small doc updates.
9499         
9500         * gst/gstvalue.c: (gst_value_compare_buffer),
9501         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9502         (gst_value_compare_flags), (gst_value_serialize_flags),
9503         (gst_value_deserialize_flags), (_gst_value_initialize):
9504         Fix serialisation of buffers, they are not boxed types anymore
9505
9506 2005-06-20  Wim Taymans  <wim@fluendo.com>
9507
9508         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9509         Testcase to show error in buffer-on-caps serialisation.
9510
9511 2005-06-20  Andy Wingo  <wingo@pobox.com>
9512
9513         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9514         will be adding to later.
9515
9516         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9517         if its socks fill with rocks.
9518         (gst_system_clock_obtain): Set the name on object construction.
9519         Avoid double-checked locking.
9520
9521 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
9522
9523         * gst/gsturi.c: (gst_element_make_from_uri):
9524           Fix potential endless loop.
9525
9526 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9527
9528         * check/Makefile.am:
9529           add gsttag
9530         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9531         (main):
9532           move over from testsuite dir and clean up
9533         * configure.ac:
9534         * gst/gsttag.c:
9535         * testsuite/Makefile.am:
9536         * testsuite/tags/.cvsignore:
9537         * testsuite/tags/Makefile.am:
9538         * testsuite/tags/merge.c:
9539           remove testsuite/tags
9540
9541 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9542
9543         * docs/gst/gstreamer-sections.txt:
9544         * docs/gst/tmpl/gstenumtypes.sgml:
9545         * win32/gstenumtypes.c:
9546           clean up documentation build a little
9547
9548 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9549
9550         * check/gstcheck.h:
9551           add macros for checking refcounts on objects and caps
9552         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9553           add some more unit tests
9554         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9555         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9556           fix leaked refcounts (I hope :)) so unittest works
9557         * gst/gstpad.h:
9558           whitespace removal
9559
9560 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9561
9562         * configure.ac: back to HEAD
9563
9564 === release 0.9.1 ===
9565
9566 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9567
9568         * NEWS:
9569         * RELEASE:
9570           updated
9571
9572 2005-06-17  Andy Wingo  <wingo@pobox.com>
9573
9574         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9575         assert; it's always possible that the pad gets deactivated in
9576         between the checks in gstpad.c and the implementation. Rely on
9577         finish_preroll() to return a FLUSHING or similar instead of on the
9578         assert.
9579         
9580         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9581         clock and post an EOS message if we come out of finish_preroll in
9582         the playing state.
9583
9584 2005-06-16  David Schleef  <ds@schleef.org>
9585
9586         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9587         (gst_capsfilter_set_property): Allow NULL as possible value
9588         for filter_caps property, indicating GST_CAPS_ANY.
9589
9590 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9591
9592         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9593           fix debug output
9594         * gst/schedulers/Makefile.am:
9595           use libgst prefix
9596         * gstreamer.spec.in:
9597           fix spec for it
9598
9599 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9600
9601         * gstreamer.spec.in:
9602           clean up
9603
9604 2005-06-08  Andy Wingo  <wingo@pobox.com>
9605
9606         * gst/gstutils.c: RPAD fixes all around.
9607         (gst_element_link_pads): Refcounting fixes.
9608
9609         * tools/gst-inspect.c:
9610         * tools/gst-xmlinspect.c:
9611         * parse/grammar.y:
9612         * gst/base/gsttypefindhelper.c:
9613         * gst/base/gstbasesink.c:
9614         * gst/gstqueue.c: RPAD fixes.
9615
9616         * gst/gstghostpad.h:
9617         * gst/gstghostpad.c: New ghost pad implementation as full proxy
9618         pads. The tricky thing is they provide both source and sink
9619         interfaces, since they proxy the internal pad for the external
9620         pad, and vice versa. Implement with lower-level ProxyPad objects,
9621         with the interior proxy pad as a child of the exterior ghost pad.
9622         Should write a doc on this.
9623         
9624         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9625         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9626         gst_object API.
9627         
9628         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9629         pads are real pads. No ghost pads in this file. Not documenting
9630         the myriad s/RPAD/PAD/ and REALIZE fixes.
9631         (gst_pad_class_init): Add properties for "direction" and
9632         "template". Both are construct-only, so they can't change during
9633         the life of the pad. Fixes properly deriving from GstPad.
9634         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9635         derived objects, just set properties when creating the objects via
9636         g_object_new.
9637         (gst_pad_get_parent): Implement as a function, return NULL if the
9638         parent is not an element.
9639         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9640         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9641         
9642         * gst/gstobject.c (gst_object_class_init): Make name a construct
9643         property. Don't set it in the object init.
9644
9645         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9646         with UNKNOWN direction.
9647         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9648         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9649         (gst_element_remove_pad): Remove ghost-pad special cases.
9650         (gst_element_pads_activate): Remove rpad cruft.
9651
9652         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9653         catch the pad's-parent-not-an-element case.
9654
9655         * gst/gst.h: Include gstghostpad.h.
9656
9657         * gst/gst.c (init_post): No more real, ghost pads.
9658
9659         * gst/Makefile.am: Add gstghostpad.[ch].
9660
9661         * check/Makefile.am:
9662         * check/gst/gstbin.c:
9663         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9664         into a bin creates ghost pads, and that the refcounts are right.
9665         Partly moved from gstbin.c.
9666
9667 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9668
9669         * check/gst-libs/.cvsignore:
9670         * check/gst/.cvsignore:
9671         * check/pipelines/.cvsignore:
9672           ignore more
9673         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9674         (START_TEST), (cleanup_suite), (main):
9675           add some tests related to cleanup after running pipelines
9676
9677 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9678
9679         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9680           add a testsuite for GstBuffer
9681
9682 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9683
9684         * gst/gstminiobject.h:
9685           add defines for accessing the refcount
9686
9687 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
9688
9689         * Makefile.am: added support for html unit test coverage reports
9690
9691 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
9692
9693         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9694           Free existing caps if the capsfilter changes. Add a FIXME about
9695           setting those caps on the pads.
9696
9697         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9698           Before adding a ghost pad to a parent bin, check that there isn't
9699           already one for the element on the bin. Prevents infinite recursion
9700           when using decodebin in parse pipelines. Andy says he'll rewrite the
9701           way this works anyway, so ignore the hack.
9702
9703 2005-06-02  Andy Wingo  <wingo@pobox.com>
9704
9705         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9706         file size, pass it on to the type find helper.
9707
9708         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9709         segment_start and segment_end properly according to the seek
9710         method. Segment_end is still a bit flaky because offset can be
9711         negative for CUR and END cases, but it takes -1 as an "unset"
9712         value.
9713
9714 2005-06-02  Wim Taymans  <wim@fluendo.com>
9715
9716         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9717         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9718         (gst_basesink_activate):
9719         * gst/base/gstbasesink.h:
9720         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9721         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9722         (gst_pad_query), (gst_pad_start_task):
9723         * gst/gstpad.h:
9724         * gst/gstqueue.c: (gst_queue_bufferalloc),
9725         (gst_queue_handle_sink_event), (gst_queue_chain):
9726         Bufferalloc: return GstFlowReturn to more accuratly report
9727         why allocation failed.
9728
9729 2005-06-02  Wim Taymans  <wim@fluendo.com>
9730
9731         * gst/gstpipeline.c: (gst_pipeline_send_event):
9732         Take snapshot of state without blocking.
9733
9734 2005-06-02  Wim Taymans  <wim@fluendo.com>
9735
9736         * docs/design/part-TODO.txt:
9737         * docs/design/part-caps.txt:
9738         * docs/design/part-clocks.txt:
9739         * docs/design/part-negotiation.txt:
9740         * docs/design/part-preroll.txt:
9741         Small doc updates 
9742
9743 2005-05-30  Wim Taymans  <wim@fluendo.com>
9744
9745         * gst/elements/gstidentity.c: (gst_identity_event),
9746         (gst_identity_transform), (gst_identity_get_property):
9747         Protect last_message property as it is accessed from
9748         multiple threads.
9749
9750 2005-05-30  Wim Taymans  <wim@fluendo.com>
9751
9752         * gst/gstelement.c: (gst_element_init),
9753         (gst_element_pads_activate), (gst_element_change_state):
9754         Slicker pad activation code.
9755
9756 2005-05-30  Wim Taymans  <wim@fluendo.com>
9757
9758         * gst/Makefile.am:
9759         * gst/gstelement.h:
9760         * gst/gstelementfactory.h:
9761         * gst/gsttypes.h:
9762         Move elementfactory methods to separate .h file.
9763
9764 2005-05-30  Wim Taymans  <wim@fluendo.com>
9765
9766         * docs/design/part-overview.txt:
9767         * gst/gstsystemclock.h:
9768         Small typo fixes, doc updates.
9769
9770 2005-05-30  Wim Taymans  <wim@fluendo.com>
9771
9772         * gst/gst.c: (gst_init_get_popt_table), (init_post),
9773         (init_popt_callback):
9774         Remove cpu-opt flag.
9775
9776 2005-05-30  Wim Taymans  <wim@fluendo.com>
9777
9778         * gst/gstbuffer.c: (gst_subbuffer_finalize),
9779         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9780         * gst/gstbuffer.h:
9781         Avoid typechecking in places where not needed.
9782         Added accessor for malloc_data.
9783
9784 2005-05-30  Wim Taymans  <wim@fluendo.com>
9785
9786         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9787         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9788         (gst_pad_configure_sink), (gst_pad_configure_src),
9789         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9790         (gst_pad_start_task):
9791         Propagate errors from _set_caps() in configure_src/sink
9792         functions instead of returning TRUE.
9793         FLUSH events can travel up and downstream
9794
9795
9796 2005-05-30  Wim Taymans  <wim@fluendo.com>
9797
9798         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9799         (gst_basesink_activate):
9800         Handle EOS in preroll.
9801
9802 2005-05-30  Wim Taymans  <wim@fluendo.com>
9803
9804         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9805         (gst_queue_loop), (gst_queue_handle_src_event):
9806         Remove old pieces of code
9807         Flushing the queue in an upstream event is a very bad idea.
9808
9809 2005-05-26  Andy Wingo  <wingo@pobox.com>
9810
9811         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9812         gst_value_set_mini_object so as to add a ref on the object (which
9813         will be removed when the value is unset).
9814
9815         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9816         arg type in ::handoff.
9817
9818         * gst/gstelement.c (gst_element_change_state): Also deactivate
9819         pads in READY->NULL, just in case the element didn't make it to
9820         PAUSED. Wingo tested, Wim approved.
9821
9822 2005-05-26  Wim Taymans  <wim@fluendo.com>
9823
9824         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9825         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9826         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9827         A flushing pad cannot be used to alloc_buffer from.
9828
9829 2005-05-26  Wim Taymans  <wim@fluendo.com>
9830
9831         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9832         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9833         (gst_bus_source_dispatch), (gst_bus_source_finalize),
9834         (gst_bus_create_watch), (gst_bus_add_watch_full):
9835         * gst/gstbus.h:
9836         Implement a real GSource and use g_main_context_wakeup() to
9837         signal new messages instead of the socketpair.
9838
9839 2005-05-25  Wim Taymans  <wim@fluendo.com>
9840
9841         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9842         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9843         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9844         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9845         (gst_pad_send_event), (gst_pad_start_task):
9846         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9847         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9848         (gst_queue_sink_activate), (gst_queue_src_activate),
9849         (gst_queue_change_state):
9850         * gst/gstqueue.h:
9851         Fix state changes for non sinks. We now change sinks, then elements
9852         with unconnected srcpads, then the rest.
9853         More efficient queue unlocking in flush and state changes.
9854         Set the pad activate mode even if it does not have an activate
9855         function.
9856
9857 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9858
9859         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9860           Don't go in pull mode for non-seekable sources.
9861         * gst/elements/gsttypefindelement.h:
9862         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9863         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9864         (free_entry), (stop_typefinding),
9865         (gst_type_find_element_handle_event), (find_peek),
9866         (gst_type_find_element_chain), (do_pull_typefind),
9867         (gst_type_find_element_change_state):
9868           Allow typefinding (w/o seeking) in push-mode, simplified version
9869           of what was in 0.8.
9870         * gst/gstutils.c: (gst_buffer_join):
9871         * gst/gstutils.h:
9872           gst_buffer_join() from 0.8.
9873
9874 2005-05-25  Wim Taymans  <wim@fluendo.com>
9875
9876         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9877         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9878         (gst_pad_send_event), (gst_pad_start_task):
9879         Disable attempt at mode switching until it is figured out.
9880
9881 2005-05-25  Wim Taymans  <wim@fluendo.com>
9882
9883         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9884         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9885         (gst_basesink_finish_preroll), (gst_basesink_chain),
9886         (gst_basesink_loop), (gst_basesink_activate),
9887         (gst_basesink_change_state):
9888         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9889         (gst_basesrc_get_range), (gst_basesrc_loop),
9890         (gst_basesrc_activate):
9891         * gst/elements/gsttee.c: (gst_tee_sink_activate):
9892         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9893         (gst_real_pad_init), (gst_real_pad_set_property),
9894         (gst_real_pad_get_property), (gst_pad_set_active),
9895         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9896         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9897         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9898         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9899         (gst_pad_event_default_dispatch), (gst_pad_event_default),
9900         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9901         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9902         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9903         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9904         (gst_pad_stop_task):
9905         * gst/gstpad.h:
9906         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9907         (gst_queue_loop), (gst_queue_src_activate):
9908         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
9909         (gst_task_get_state):
9910         * gst/gsttask.h:
9911         * gst/schedulers/threadscheduler.c:
9912         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
9913         Implement gst_pad_pause/start/stop_task(), take STREAM lock
9914         in task function.
9915         Remove ACTIVE pad flag, use FLUSHING everywhere
9916         Added _pad_chain(), _pad_get_range() to call chain/getrange 
9917         functions.
9918         Add locks around IS_FLUSHING when reading.
9919         Take STREAM lock in chain(), get_range() functions so plugins
9920         don't need to take it anymore.
9921         
9922
9923
9924 2005-05-25  Wim Taymans  <wim@fluendo.com>
9925
9926         * tools/gst-launch.c: (event_loop):
9927         Unref message after using its contents instead of
9928         before.
9929
9930 2005-05-24  Wim Taymans  <wim@fluendo.com>
9931
9932         * docs/design/draft-ghostpads.txt:
9933         * docs/design/draft-push-pull.txt:
9934         * docs/design/draft-query.txt:
9935         * docs/design/part-overview.txt:
9936         Docs updates, added general overview doc.
9937
9938 2005-05-21  David Schleef  <ds@schleef.org>
9939
9940         * docs/gst/tmpl/old/GstBin.sgml:
9941         * docs/gst/tmpl/old/GstBuffer.sgml:
9942         * docs/gst/tmpl/old/GstCaps.sgml:
9943         * docs/gst/tmpl/old/GstClock.sgml:
9944         * docs/gst/tmpl/old/GstCompat.sgml:
9945         * docs/gst/tmpl/old/GstData.sgml:
9946         * docs/gst/tmpl/old/GstElement.sgml:
9947         * docs/gst/tmpl/old/GstEvent.sgml:
9948         * docs/gst/tmpl/old/GstIndex.sgml:
9949         * docs/gst/tmpl/old/GstStructure.sgml:
9950         * docs/gst/tmpl/old/GstTag.sgml:
9951         * docs/gst/tmpl/old/cothreads.sgml:
9952         * docs/gst/tmpl/old/cothreads_compat.sgml:
9953         * docs/gst/tmpl/old/gettext.sgml:
9954         * docs/gst/tmpl/old/gobject2gtk.sgml:
9955         * docs/gst/tmpl/old/grammar.tab.sgml:
9956         * docs/gst/tmpl/old/gst-i18n-app.sgml:
9957         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9958         * docs/gst/tmpl/old/gst_private.sgml:
9959         * docs/gst/tmpl/old/gstaggregator.sgml:
9960         * docs/gst/tmpl/old/gstarch.sgml:
9961         * docs/gst/tmpl/old/gstatomic_impl.sgml:
9962         * docs/gst/tmpl/old/gstbufferstore.sgml:
9963         * docs/gst/tmpl/old/gstdata_private.sgml:
9964         * docs/gst/tmpl/old/gstdisksink.sgml:
9965         * docs/gst/tmpl/old/gstdisksrc.sgml:
9966         * docs/gst/tmpl/old/gstelementfactory.sgml:
9967         * docs/gst/tmpl/old/gstextratypes.sgml:
9968         * docs/gst/tmpl/old/gstfakesink.sgml:
9969         * docs/gst/tmpl/old/gstfakesrc.sgml:
9970         * docs/gst/tmpl/old/gstfdsink.sgml:
9971         * docs/gst/tmpl/old/gstfdsrc.sgml:
9972         * docs/gst/tmpl/old/gstfilesink.sgml:
9973         * docs/gst/tmpl/old/gstfilesrc.sgml:
9974         * docs/gst/tmpl/old/gsthttpsrc.sgml:
9975         * docs/gst/tmpl/old/gstidentity.sgml:
9976         * docs/gst/tmpl/old/gstindexfactory.sgml:
9977         * docs/gst/tmpl/old/gstmarshal.sgml:
9978         * docs/gst/tmpl/old/gstmd5sink.sgml:
9979         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9980         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9981         * docs/gst/tmpl/old/gstpadtemplate.sgml:
9982         * docs/gst/tmpl/old/gstpipefilter.sgml:
9983         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9984         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9985         * docs/gst/tmpl/old/gstshaper.sgml:
9986         * docs/gst/tmpl/old/gstspider.sgml:
9987         * docs/gst/tmpl/old/gstspideridentity.sgml:
9988         * docs/gst/tmpl/old/gststatistics.sgml:
9989         * docs/gst/tmpl/old/gsttee.sgml:
9990         * docs/gst/tmpl/old/gsttimecache.sgml:
9991         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9992         * docs/gst/tmpl/old/gstxmlregistry.sgml:
9993         * docs/gst/tmpl/old/gthread-cothreads.sgml:
9994         * docs/gst/tmpl/old/types.sgml:
9995           I didn't intend to add these or check them in.
9996
9997 2005-05-19  David Schleef  <ds@schleef.org>
9998
9999         * configure.ac: Use -no-common everywhere.  In a sane world, it
10000           would be the default in libtool, because without it, you can't
10001           build DLLs on Windows.
10002         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10003         * docs/gst/gstreamer-sections.txt:
10004         * docs/gst/tmpl/gstcpu.sgml:
10005         * docs/gst/tmpl/gstdata.sgml:
10006         * docs/gst/tmpl/gstthread.sgml:
10007
10008 2005-05-19  David Schleef  <ds@schleef.org>
10009
10010         * gst/gstminiobject.c: (gst_value_set_mini_object),
10011         (gst_value_take_mini_object), (gst_value_get_mini_object):
10012         * gst/gstminiobject.h: Add GValue set/get functions.
10013
10014 2005-05-19  Wim Taymans  <wim@fluendo.com>
10015
10016         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10017         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10018         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10019         * gst/gstbuffer.h:
10020         * gst/gstbus.c: (gst_bus_post):
10021         * gst/gstelement.c: (gst_element_get_random_pad):
10022         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10023         Make subbufer unref the parent in finalize.
10024         some more debugging info.
10025
10026
10027 2005-05-19  Wim Taymans  <wim@fluendo.com>
10028
10029         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10030         (gst_basesink_init), (gst_basesink_finalize),
10031         (gst_basesink_activate), (gst_basesink_change_state):
10032         Don't free preroll queue too early.
10033
10034 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10035
10036         * gst/Makefile.am:
10037         * gst/ROADMAP:
10038           Hi, I'm outdated. Please shoot me.
10039
10040 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10041
10042         * gst/gstpipeline.c: (gst_pipeline_send_event):
10043           Do not access variables after they have been deleted.
10044
10045 2005-05-19  Wim Taymans  <wim@fluendo.com>
10046
10047         * tools/gst-inspect.c: (print_plugin_features):
10048         A plugin feature does unfortunatly not use the
10049         object name yet...
10050
10051 2005-05-18  Wim Taymans  <wim@fluendo.com>
10052
10053         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10054         Port _span() functions to new subbuffers.
10055
10056 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10057
10058         * gst/gstbin.c: (gst_bin_add_func):
10059           Fix clock settery in bins when adding kids after the clock has
10060           been selected.
10061
10062 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10063
10064         * gst/elements/gstidentity.c: (gst_identity_class_init):
10065           Workaround until signals support GstMiniObject.
10066
10067 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10068
10069         * gst/gstbuffer.c:
10070         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10071
10072 2005-05-18  Wim Taymans  <wim@fluendo.com>
10073
10074         * gst/base/Makefile.am:
10075         * gst/base/gstadapter.c: (gst_adapter_base_init),
10076         (gst_adapter_class_init), (gst_adapter_init),
10077         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10078         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10079         (gst_adapter_flush), (gst_adapter_available),
10080         (gst_adapter_available_fast):
10081         * gst/base/gstadapter.h:
10082         Ported and added adapter to the base classes.
10083
10084 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10085
10086         * gst/gst.c:
10087         * gst/gstmessage.c:
10088           Make sure the class is reffed/unreffed once before threads can be
10089           used.  Fixes #304551.
10090
10091 2005-05-17  Wim Taymans  <wim@fluendo.com>
10092
10093         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10094         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10095         * gst/gstminiobject.c: (gst_mini_object_get_type),
10096         (gst_mini_object_free):
10097         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10098         (gst_pad_push), (gst_pad_push_event):
10099         * gst/gstqueue.c: (gst_queue_change_state):
10100         Don't queue buffers in basesink when we are flushing.
10101         Unref buffer when flushing in basesink.
10102         Flush queue when going to READY
10103         Unref buffer when _push() returns an error.
10104         Don't free MiniObject instance when refcount is incremented
10105         in _finalize() so that we can recover objects.
10106
10107 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10108
10109         * docs/manual/advanced-schedulers.xml:
10110         * docs/manual/appendix-checklist.xml:
10111         * docs/pwg/advanced-clock.xml:
10112         * docs/pwg/advanced-interfaces.xml:
10113         * docs/pwg/advanced-request.xml:
10114         * docs/pwg/advanced-types.xml:
10115         * docs/pwg/intro-preface.xml:
10116         * examples/plugins/example.c: (gst_example_get_type),
10117         (gst_example_class_init), (gst_example_chain),
10118         (gst_example_set_property), (gst_example_get_property),
10119         (gst_example_change_state), (plugin_init):
10120         * examples/plugins/example.h:
10121           small doc fixes
10122
10123 2005-05-17  Wim Taymans  <wim@fluendo.com>
10124
10125         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10126         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10127         * gst/gstqueue.c: (gst_queue_change_state):
10128         Clear queue when going to READY.
10129         Remove IN_SETCAPS flag too.
10130
10131 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10132
10133         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10134           Remove implicit cast from gboolean to GstElementStateReturn;
10135           make sure we still return failure in paused => ready case if
10136           the parent class fails to change state and our own stop 
10137           vfunc succeeds.
10138
10139 2005-05-17  Wim Taymans  <wim@fluendo.com>
10140
10141         * tools/gst-launch.c: (event_loop):
10142         Message was unreffed too soon.
10143
10144 2005-05-16  Andy Wingo  <wingo@pobox.com>
10145
10146         * gst/gstbin.c (sink_iterator_filter): Err... um...
10147
10148         * check/gst/gstbin.c (test_ghost_pads): New test for the
10149         ghosting-if-elements-not-in-same-bin behavior.
10150
10151 2005-05-16  David Schleef  <ds@schleef.org>
10152
10153         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10154         accessing refcount directly.
10155
10156 2005-05-15  David Schleef  <ds@schleef.org>
10157
10158         * check/Makefile.am: remove GstData checks
10159         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10160         * gst/Makefile.am: add miniobject, remove data
10161         * gst/gst.h: add miniobject, remove data
10162         * gst/gstdata.c: remove
10163         * gst/gstdata.h: remove
10164         * gst/gstdata_private.h: remove
10165         * gst/gsttypes.h: remove GstEvent and GstMessage
10166         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10167         * gst/gstmarshal.list: change BOXED -> OBJECT
10168
10169         Implement GstMiniObject.
10170         * gst/gstminiobject.c:
10171         * gst/gstminiobject.h:
10172
10173         Modify to be subclasses of GstMiniObject.
10174         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10175         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10176         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10177         (gst_subbuffer_get_type), (gst_subbuffer_init),
10178         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10179         (gst_buffer_span):
10180         * gst/gstbuffer.h:
10181         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10182         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10183         (_gst_event_copy), (gst_event_new):
10184         * gst/gstevent.h:
10185         * gst/gstmessage.c: (_gst_message_initialize),
10186         (gst_message_get_type), (gst_message_class_init),
10187         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10188         (gst_message_new), (gst_message_new_error),
10189         (gst_message_new_warning), (gst_message_new_tag),
10190         (gst_message_new_state_changed), (gst_message_new_application):
10191         * gst/gstmessage.h:
10192         * gst/gstprobe.c: (gst_probe_perform),
10193         (gst_probe_dispatcher_dispatch):
10194         * gst/gstprobe.h:
10195         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10196         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10197         (_gst_query_copy), (gst_query_new):
10198
10199         Update elements for GstData -> GstMiniObject changes
10200         * gst/gstquery.h:
10201         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10202         (gst_queue_chain), (gst_queue_loop):
10203         * gst/elements/gstbufferstore.c:
10204         (gst_buffer_store_add_buffer_func),
10205         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10206         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10207         (gst_fakesink_render):
10208         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10209         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10210         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10211         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10212         (gst_filesrc_create_read):
10213         * gst/elements/gstidentity.c: (gst_identity_class_init):
10214         * gst/elements/gsttypefindelement.c:
10215         (gst_type_find_element_src_event), (free_entry_buffers),
10216         (gst_type_find_element_handle_event):
10217         * libs/gst/dataprotocol/dataprotocol.c:
10218         (gst_dp_header_from_buffer):
10219         * libs/gst/dataprotocol/dataprotocol.h:
10220         * libs/gst/dataprotocol/dp-private.h:
10221
10222 2005-05-15  David Schleef  <ds@schleef.org>
10223
10224         * gst/elements/gstelements.c: Don't include headers that were
10225         just removed.
10226
10227 2005-05-15  David Schleef  <ds@schleef.org>
10228
10229         * gst/elements/Makefile.am: Remove some elements that don't
10230         need to be in the core (or even exist at all).
10231         * gst/elements/gstaggregator.c:
10232         * gst/elements/gstaggregator.h:
10233         * gst/elements/gstmd5sink.c:
10234         * gst/elements/gstmd5sink.h:
10235         * gst/elements/gstmultifilesrc.c:
10236         * gst/elements/gstmultifilesrc.h:
10237         * gst/elements/gstpipefilter.c:
10238         * gst/elements/gstpipefilter.h:
10239         * gst/elements/gstshaper.c:
10240         * gst/elements/gstshaper.h:
10241         * gst/elements/gststatistics.c:
10242         * gst/elements/gststatistics.h:
10243         * po/POTFILES.in: Remove above files.
10244
10245 2005-05-14  Andy Wingo  <wingo@pobox.com>
10246
10247         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10248         so as to get the refs right.
10249         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10250         unreffing objects that don't pass the filter.
10251
10252         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10253         gst_element_set_bus.
10254         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10255         normal cases, this will destroy the bus.
10256
10257         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10258         object.
10259
10260         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10261         has no sinks.
10262
10263 2005-05-13  Andy Wingo  <wingo@pobox.com>
10264
10265         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10266         gst_pad_link, call pad_link_maybe_ghosting,
10267         (pad_link_maybe_ghosting): Links pads, making sure that the
10268         elements being linked are in the same bin.
10269         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10270         Helpers for pad_link_maybe_ghosting.
10271
10272 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10273
10274         * configure.ac:
10275           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10276
10277 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10278
10279         * docs/design/part-element-source.txt:
10280           Mention GstPushSrc
10281
10282 2005-05-12  Wim Taymans  <wim@fluendo.com>
10283
10284         * gst/base/gstbasesink.c: (gst_basesink_init),
10285         (gst_basesink_activate):
10286         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10287         (gst_basesrc_is_seekable):
10288         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10289         (bin_element_is_sink), (gst_bin_change_state):
10290         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10291         * gst/gstelement.h:
10292         Identify sinks by their flag to avoid overly complicated
10293         checks (fow now).
10294         Do state changes even for elements not reachable from the
10295         sinks.
10296         BaseSink is a sink now :)
10297         Some more debugging info in the basesrc.
10298
10299
10300 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10301
10302         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10303           Implement _query on a bin, similar to _send_event.
10304
10305 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10306
10307         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10308           Discont event offset format should be GST_FORMAT_BYTES,
10309           not GST_FORMAT_TIME.
10310
10311 2005-05-12  Wim Taymans  <wim@fluendo.com>
10312
10313         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10314         Same fix as Ronald's but without the signal. 
10315
10316 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10317
10318         * gst/gstutils.c: (gst_element_query_position):
10319           No, an element is not a pad.
10320
10321 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10322
10323         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10324         (gst_bin_get_state):
10325           If a child is removed from a bin while we remove the child from
10326           the bin and while we're retrieving its state, signal this to the
10327           get_state function so we abort the wait (instead of waiting for
10328           a timeout) and can immediately re-iterate over all other elements.
10329
10330 2005-05-12  Wim Taymans  <wim@fluendo.com>
10331
10332         * gst/base/Makefile.am:
10333         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10334         (gst_basesrc_start):
10335         * gst/base/gstbasesrc.h:
10336         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10337         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10338         (gst_pushsrc_init), (gst_pushsrc_create):
10339         * gst/base/gstpushsrc.h:
10340         Added is_seekable to BaseSrc
10341         Added simple PushSrc.
10342
10343 2005-05-11  Wim Taymans  <wim@fluendo.com>
10344
10345         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10346         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10347         (gst_element_link_pads), (gst_element_query_position),
10348         (gst_element_query_convert), (intersect_caps_func),
10349         (gst_pad_query_position), (gst_pad_query_convert):
10350         Fix refcounting in utils function.
10351         No point in trying to activate a pad when it's added, it could
10352         be added from the state change function and then we deadlock, the
10353         element has to decide what to do.
10354
10355 2005-05-10  Andy Wingo  <wingo@pobox.com>
10356
10357         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10358         *all* the arguments.
10359
10360         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10361         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10362         lock (according to the docs -- if this is wrong change the docs).
10363
10364         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10365         flush messages in the NULL state.
10366
10367         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10368         message immediately and return.
10369         (gst_bus_set_flushing): New function. If a bus is flushing, it
10370         flushes out any queued messages and immediately unrefs new
10371         messages. This is so when an element goes to NULL, all of the
10372         unhandled messages coming from it can be freed, and their
10373         references to the element dropped. In other words: message source
10374         ref considered harmful :P
10375
10376         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10377         we're finished with it.
10378
10379         * gst/gstmessage.c (gst_message_new_state_changed): 
10380
10381 2005-05-10  Wim Taymans  <wim@fluendo.com>
10382
10383         * gst/gstvalue.c: (gst_value_compare_flags),
10384         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10385         (_gst_value_initialize):
10386         Added flags serialize/deserialize/compare code.
10387
10388 2005-05-09  Andy Wingo  <wingo@pobox.com>
10389
10390         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10391         Intersect the peer's caps with our caps.
10392
10393 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10394
10395         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10396         * gst/elements/gsttypefindelement.c: (find_peek):
10397           Handle negative offsets better. Fixes decodebin.
10398
10399 2005-05-09  Wim Taymans  <wim@fluendo.com>
10400
10401         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10402         (gst_base_transform_event):
10403         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10404         Implement accept_caps.
10405         Fix silly lock/unlock mismatch in base class.
10406
10407 2005-05-09  Wim Taymans  <wim@fluendo.com>
10408
10409         * docs/design/draft-push-pull.txt:
10410         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10411         * gst/elements/gstfilesink.c: (gst_filesink_init),
10412         (gst_filesink_query):
10413         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10414         (gst_type_find_handle_src_query), (find_element_get_length):
10415         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10416         * gst/gstelement.h:
10417         * gst/gstmessage.c:
10418         * gst/gstmessage.h:
10419         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10420         (gst_real_pad_get_caps_unlocked),
10421         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10422         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10423         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10424         (gst_real_pad_dispose), (gst_real_pad_finalize),
10425         (gst_pad_load_and_link), (gst_pad_save_thyself),
10426         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10427         (gst_pad_check_pull_range), (gst_pad_pull_range),
10428         (gst_pad_template_get_type), (gst_pad_template_class_init),
10429         (gst_pad_template_init), (gst_pad_template_dispose),
10430         (name_is_valid), (gst_static_pad_template_get),
10431         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10432         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10433         (gst_pad_get_element_private), (gst_pad_start_task),
10434         (gst_pad_pause_task), (gst_pad_stop_task),
10435         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10436         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10437         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10438         (gst_ghost_pad_new):
10439         * gst/gstpad.h:
10440         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10441         (gst_query_new_position), (gst_query_set_position),
10442         (gst_query_parse_position), (gst_query_new_convert),
10443         (gst_query_set_convert), (gst_query_parse_convert):
10444         * gst/gstquery.h:
10445         * gst/gstqueryutils.c:
10446         * gst/gstqueryutils.h:
10447         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10448         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10449         (gst_queue_handle_src_query):
10450         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10451         (gst_element_query_position), (gst_element_query_convert),
10452         (intersect_caps_func), (gst_pad_query_position),
10453         (gst_pad_query_convert):
10454         * gst/gstutils.h:
10455         * tools/gst-inspect.c: (print_pad_info):
10456         * tools/gst-xmlinspect.c: (print_element_info):
10457         Remove old query functions. Ported old code.
10458         Added position/convert helper functions to gstutils.
10459         Reordered gstpad.c code, grouping relevant things.
10460         Remove gst_message_new(), always need to speficy a specific
10461         message.
10462
10463
10464 2005-05-09  Andy Wingo  <wingo@pobox.com>
10465
10466         * gst/gstiterator.h: Add some includes.
10467
10468         * gst/gstqueryutils.h: Include more headers.
10469
10470         * gst/gstpad.h:
10471         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10472         some uses of gst_pad_query.
10473
10474         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10475         NULL out parameters.
10476         (gst_query_new_position): New proc, allocates a new position
10477         query.
10478
10479         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10480         gstqueryutils.c to the build.
10481
10482         * gst/gststructure.c (gst_structure_set_valist): Implement with
10483         the generic G_VALUE_COLLECT.
10484         
10485 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10486
10487         * gst/Makefile.am: (gst_headers):
10488         Added gstqueryutils.h to the list of headers to install, that was
10489         a 'nachty' move wingo :)
10490
10491 2005-05-06  Andy Wingo  <wingo@pobox.com>
10492
10493         * gst/gstquery.h
10494         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10495         GstData, init a memchunk.
10496         (standard_definitions): Add a few query types, deprecate a few.
10497         (gst_query_get_type): New proc.
10498         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10499         implementation.
10500         (gst_query_new_application, gst_query_get_structure): New public
10501         procs.
10502
10503         * docs/design/draft-query.txt: Removed LINKS from the query types,
10504         because all the rest can be dispatched to other pads -- seemed
10505         ugly to have a query that couldn't be dispatched. internal_links
10506         is fine as a pad method.
10507
10508         * gst/gstpad.h: Add query2 as a pad method, add the new functions
10509         in gstpad.c, but maintain binary compatibility for the moment.
10510         Will fix before 0.9 is out.
10511
10512         * gst/gstqueryutils.c: 
10513         * gst/gstqueryutils.h: New files, implement 3 methods for each
10514         query type: parse_query, parse_response, and set. Probably need an
10515         allocator as well.
10516
10517         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10518
10519         * gst/elements/gstfilesink.c (gst_filesink_query2):
10520         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10521         query_types, and formats methods.
10522
10523         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10524         (gst_pad_set_query2_function): New functions.
10525         (gst_real_pad_init): Set query2_default as the default query2
10526         function. Basically just dispatches to internally linked pads.
10527
10528         Needs review!
10529         
10530         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10531         without using the atomic operations. Only one thread can possibly
10532         be accessing the data at this point. Changed so as to avoid
10533         gst_atomic operations.
10534
10535 2005-05-06  Wim Taymans  <wim@fluendo.com>
10536
10537         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10538         Also set caps if we use the fallback buffer alloc.
10539
10540 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
10541
10542         * docs/gst/Makefile.am:
10543         * docs/gst/gstreamer-docs.sgml:
10544         * docs/gst/gstreamer-sections.txt:
10545         * docs/gst/tmpl/gstatomic.sgml:
10546         * docs/gst/tmpl/gstmemchunk.sgml:
10547         * testsuite/elements/struct_i386.h:
10548         * win32/GStreamer.vcproj:
10549         * win32/Makefile:
10550           Purge GstAtomic stuff from docs and win32 makefiles as well
10551
10552 2005-05-06  Wim Taymans  <wim@fluendo.com>
10553
10554         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10555         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10556         * gst/gstpad.c: (gst_pad_peer_get_caps):
10557         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10558         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10559         (gst_queue_src_activate), (gst_queue_change_state):
10560         * gst/gstqueue.h:
10561         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10562         (intersect_caps_func):
10563         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10564         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10565         Some fixes for the peer_get_caps() change.
10566
10567 2005-05-06  Wim Taymans  <wim@fluendo.com>
10568
10569         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10570         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10571         (gst_basesink_activate):
10572         Actually do something with error codes returned from the push
10573         functions.
10574
10575 2005-05-06  Wim Taymans  <wim@fluendo.com>
10576
10577         * docs/design/part-element-sink.txt:
10578         * docs/design/part-element-source.txt:
10579         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10580         (gst_basesink_event), (gst_basesink_activate):
10581         * gst/base/gstbasesink.h:
10582         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10583         (gst_basesrc_activate):
10584         * gst/base/gstbasesrc.h:
10585         * gst/gstelement.c: (gst_element_pads_activate):
10586         Some more documentation.
10587         Fixed scheduling decision in _pads_activate().
10588
10589 2005-05-05  Andy Wingo  <wingo@pobox.com>
10590
10591         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10592         the test suite.
10593
10594 2005-05-05  Wim Taymans  <wim@fluendo.com>
10595
10596         * gst/base/Makefile.am:
10597         * gst/base/gstbasesink.h:
10598         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10599         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10600         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10601         (gst_collectpads_class_init), (gst_collectpads_init),
10602         (gst_collectpads_finalize), (gst_collectpads_new),
10603         (gst_collectpads_set_function), (gst_collectpads_add_pad),
10604         (find_pad), (gst_collectpads_remove_pad),
10605         (gst_collectpads_is_active), (gst_collectpads_collect),
10606         (gst_collectpads_collect_range), (gst_collectpads_start),
10607         (gst_collectpads_stop), (gst_collectpads_peek),
10608         (gst_collectpads_pop), (gst_collectpads_available),
10609         (gst_collectpads_read), (gst_collectpads_flush),
10610         (gst_collectpads_chain):
10611         * gst/base/gstcollectpads.h:
10612         * gst/elements/Makefile.am:
10613         * gst/elements/gstelements.c:
10614         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10615         (gst_fakesink_get_times), (gst_fakesink_event),
10616         (gst_fakesink_preroll), (gst_fakesink_render):
10617         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10618         (gst_filesink_init), (gst_filesink_set_location),
10619         (gst_filesink_open_file), (gst_filesink_close_file),
10620         (gst_filesink_pad_query), (gst_filesink_event),
10621         (gst_filesink_render), (gst_filesink_change_state):
10622         * gst/elements/gstfilesink.h:
10623         Added object to help in making collect pad based elements.
10624         Ported filesink.
10625         Make event function in sink baseclass return gboolean.
10626
10627 2005-05-05  Wim Taymans  <wim@fluendo.com>
10628
10629         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10630         (gst_bin_get_by_name):
10631         * gst/gstbuffer.h:
10632         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10633         (gst_clock_finalize):
10634         * gst/gstdata.c: (gst_data_replace):
10635         * gst/gstdata.h:
10636         * gst/gstelement.c: (gst_element_request_pad),
10637         (gst_element_pads_activate):
10638         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10639         (gst_object_unref):
10640         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10641         (gst_pad_set_checkgetrange_function),
10642         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10643         (gst_pad_check_pull_range), (gst_pad_pull_range),
10644         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10645         (gst_pad_pause_task), (gst_pad_stop_task):
10646         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10647         (gst_element_request_pad), (gst_pad_proxy_getcaps):
10648         Fix name lookup in GstBin.
10649         Added _data_replace() function and _buffer_replace()
10650         Use finalize method to clean up clock.
10651         Fix refcounting on request pads.
10652         Fix pad schedule mode error.
10653         Some more object refcounting debug info,
10654
10655
10656 2005-05-04  Andy Wingo <wingo@pobox.com>
10657
10658         * check/Makefile.am:
10659         * docs/gst/tmpl/gstatomic.sgml:
10660         * docs/gst/tmpl/gstplugin.sgml:
10661         * gst/base/gstbasesink.c: (gst_basesink_activate):
10662         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10663         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10664         (gst_basesrc_query), (gst_basesrc_set_property),
10665         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10666         (gst_basesrc_activate):
10667         * gst/base/gstbasesrc.h:
10668         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10669         (gst_base_transform_src_activate):
10670         * gst/elements/gstelements.c:
10671         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10672         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10673         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10674         * gst/elements/gsttypefindelement.c: (find_element_get_length),
10675         (gst_type_find_element_checkgetrange),
10676         (gst_type_find_element_activate):
10677         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10678         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10679         (gst_caps_load_thyself):
10680         * gst/gstelement.c: (gst_element_pads_activate),
10681         (gst_element_save_thyself), (gst_element_restore_thyself):
10682         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10683         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10684         * gst/gstpad.h:
10685         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10686         (gst_xml_parse_file), (gst_xml_parse_memory),
10687         (gst_xml_get_element), (gst_xml_make_element):
10688         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10689         (_file_index_id_save_xml), (gst_file_index_commit):
10690         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10691         (read_enum), (load_pad_template), (load_feature), (load_plugin),
10692         (load_paths):
10693         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10694         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10695         * tools/gst-complete.c: (main):
10696         * tools/gst-compprep.c: (main):
10697         * tools/gst-inspect.c: (print_element_properties_info):
10698         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10699         * tools/gst-xmlinspect.c: (print_element_properties):
10700         GCC 4 fixen.
10701         
10702 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10703
10704         * gst/gstplugin.c: (gst_plugin_check_module),
10705         (gst_plugin_check_file), (gst_plugin_load_file):
10706             apply patch from #172526 to make register work on MacOSX
10707
10708 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10709
10710         * docs/gst/tmpl/gstconfig.sgml:
10711         * gst/gstconfig.h.in:
10712           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
10713         * testsuite/debug/printf_extension.c: (main):
10714           Do not use GST_PTR_FORMAT on pointers to types with
10715           sizeof < sizeof(gpointer).  Fixes test on 64-bit
10716         * testsuite/elements/property.h:
10717           use correct printf format
10718
10719 2005-05-02  Wim Taymans  <wim@fluendo.com>
10720
10721         * docs/design/draft-push-pull.txt:
10722         * docs/design/draft-query.txt:
10723         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10724         (gst_basesrc_start):
10725         Added draft for new query API.
10726         Added draft for better selecting scheduling methods.
10727         Make basesrc ignore length if the subclass does not support
10728         it.
10729
10730 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10731
10732         * gst/Makefile.am:
10733           possible fixes for automake-1.5 - _LIBADD is reserved
10734
10735 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10736
10737         * docs/faq/Makefile.am:
10738         * docs/manual/Makefile.am:
10739         * docs/manuals.mak:
10740         * docs/pwg/Makefile.am:
10741         * gst/Makefile.am:
10742           possible fixes for automake-1.5
10743
10744 2005-04-28  Wim Taymans  <wim@fluendo.com>
10745
10746         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10747         (gst_basesink_pad_getcaps), (gst_basesink_init),
10748         (gst_basesink_do_sync):
10749         * gst/gstclock.c: (gst_clock_entry_new):
10750         * gst/gstevent.c: (gst_event_discont_get_value):
10751         * gst/gstpipeline.c: (pipeline_bus_handler),
10752         (gst_pipeline_change_state):
10753         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10754         Better debugging of clocking info.
10755         Allow NULL values when getting discont values.
10756
10757 2005-04-27  Wim Taymans  <wim@fluendo.com>
10758
10759         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10760         * check/gst/gstpad.c: (gst_pad_suite):
10761         Increase timeout for checks.
10762
10763 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10764
10765         * check/Makefile.am:
10766           fix the broken rule for cleanup.  Apparently this rule is
10767           only needed on FC2, so maybe this warrants further autotool
10768           inspection.
10769
10770 2005-04-26  Wim Taymans  <wim@fluendo.com>
10771
10772         * gst/gsttrashstack.h:
10773         Ooohh. a nasty one! After having a failed pop() from the stack,
10774         it's possible that the stack is empty. In that case, don't
10775         follow the NULL pointer.
10776
10777 2005-04-25  Wim Taymans  <wim@fluendo.com>
10778
10779         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10780         (gst_pad_set_checkgetrange_function),
10781         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10782         (gst_pad_check_pull_range), (gst_pad_pull_range),
10783         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10784         (gst_pad_pause_task), (gst_pad_stop_task):
10785         * gst/gstplugin.c: (gst_plugin_load):
10786         * gst/gstplugin.h:
10787         Remove gst_library_load as it does more harm than good with
10788         the new g_module flags.
10789         Revert bogus caps template check in pad linking, pad caps
10790         are important when linking not the template, which is more
10791         general than the current caps.
10792
10793 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10794
10795         * gst/autoplug/.cvsignore:
10796         * gst/autoplug/Makefile.am:
10797         * gst/autoplug/gstsearchfuncs.c:
10798         * gst/autoplug/gstsearchfuncs.h:
10799         * gst/autoplug/gstspider.c:
10800         * gst/autoplug/gstspider.h:
10801         * gst/autoplug/gstspideridentity.c:
10802         * gst/autoplug/gstspideridentity.h:
10803         * gst/autoplug/spidertest.c:
10804           Die, spider, die.
10805
10806 2005-04-25  Wim Taymans  <wim@fluendo.com>
10807
10808         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10809         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10810         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10811         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10812         * gst/gstpad.h:
10813         Added stubs for unimplemented functions. 
10814
10815 2005-04-24  David Schleef  <ds@schleef.org>
10816
10817         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
10818         please fix.
10819
10820 2005-04-24  David Schleef  <ds@schleef.org>
10821
10822         Convert everything from GstAtomicInt to g_atomic_int_*, and
10823         remove gstatomic.
10824         * gst/Makefile.am:
10825         * gst/gstatomic.c:
10826         * gst/gstatomic.h:
10827         * gst/gstatomic_impl.h:
10828         * gst/gstbuffer.c:
10829         * gst/gstcaps.c:
10830         * gst/gstcaps.h:
10831         * gst/gstclock.c:
10832         * gst/gstclock.h:
10833         * gst/gstdata.c:
10834         * gst/gstdata.h:
10835         * gst/gstdata_private.h:
10836         * gst/gstevent.c:
10837         * gst/gstinfo.c:
10838         * gst/gstinfo.h:
10839         * gst/gstmessage.c:
10840         * gst/gstobject.c:
10841         * gst/gstobject.h:
10842         * gst/gststructure.c:
10843         * gst/gststructure.h:
10844         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10845         * gst/gstutils.h:
10846
10847 2005-04-24  David Schleef  <ds@schleef.org>
10848
10849         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10850         make the regressions tests work.  Remove some code that is no
10851         longer true.
10852         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10853         Disable warning for pads without templates.
10854
10855 2005-04-24  David Schleef  <ds@schleef.org>
10856
10857         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
10858         functions that handle filtered links.
10859         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10860         removed functions.
10861         * gst/gstutils.c: Fix/remove utility functions that handle
10862         filtered caps.
10863         * gst/gstutils.h:
10864         * gst/gstvalue.c: Add serialization/deserialization of caps
10865         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
10866         requires fixing so that the filter caps notation creates
10867         a capsfilter element and sets the filter_caps property.  I
10868         think everyone probably wants to keep the shorthand notation.
10869         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10870         * docs/gst/tmpl/gstpad.sgml:
10871
10872         * gst/elements/gstelements.c: Register capsfilter element.
10873         * gst/Makefile.am: fix spacing
10874         * docs/random/ds/0.9-suggested-changes: random
10875
10876 2005-04-23  David Schleef  <ds@schleef.org>
10877
10878         * gst/elements/Makefile.am:
10879         * gst/elements/gstcapsfilter.c: New element that acts like an
10880         identity, but filters caps.  Will eventually replace filtered
10881         caps in pad linking.
10882         * gst/gstutils.c: (gst_element_create_all_pads): New function
10883         to create all the ALWAYS pads that are registered with an
10884         element class.  This functionality should eventually be
10885         merged in with GstElement initialization.
10886         * gst/gstutils.h:
10887         * testsuite/trigger/README: part of trigger test code that should
10888         have been checked in a long time ago.
10889
10890 2005-04-23  David Schleef  <ds@schleef.org>
10891
10892         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
10893         needed with new versions of libtool (nobody will confirm this),
10894         and hard to carry around.
10895         * gst/autoplug/Makefile.am:
10896         * gst/base/Makefile.am:
10897         * gst/elements/Makefile.am:
10898         * gst/indexers/Makefile.am:
10899         * gst/schedulers/Makefile.am:
10900         * libs/gst/bytestream/Makefile.am:
10901         * libs/gst/control/Makefile.am:
10902         * libs/gst/dataprotocol/Makefile.am:
10903         * libs/gst/getbits/Makefile.am:
10904
10905 2005-04-21  Wim Taymans  <wim@fluendo.com>
10906
10907         * docs/design/draft-push-pull.txt:
10908         * docs/design/part-MT-refcounting.txt:
10909         * docs/design/part-TODO.txt:
10910         * docs/design/part-caps.txt:
10911         * docs/design/part-events.txt:
10912         * docs/design/part-gstbus.txt:
10913         * docs/design/part-gstpipeline.txt:
10914         * docs/design/part-messages.txt:
10915         * docs/design/part-push-pull.txt:
10916         * docs/design/part-query.txt:
10917         Some more docs.
10918
10919 2005-04-21  Wim Taymans  <wim@fluendo.com>
10920
10921         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
10922         (gst_message_new), (gst_message_new_error),
10923         (gst_message_new_warning), (gst_message_new_tag),
10924         (gst_message_new_state_changed), (gst_message_new_application),
10925         (gst_message_get_structure):
10926         * gst/gstmessage.h:
10927         * gst/gststructure.c: (gst_structure_set_parent_refcount),
10928         (gst_structure_copy_conditional):
10929         Use parent refcount in GstMessage to ensure GstStructure
10930         consistency.
10931         Cleaned up headers a bit.
10932         
10933
10934 2005-04-20  Wim Taymans  <wim@fluendo.com>
10935
10936         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10937         (gst_basesink_pad_getcaps), (gst_basesink_init),
10938         (gst_basesink_chain_unlocked):
10939         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
10940         (gst_type_find_helper):
10941         * gst/elements/gsttypefindelement.c:
10942         (gst_type_find_element_have_type), (gst_type_find_element_init),
10943         (stop_typefinding), (gst_type_find_element_handle_event),
10944         (find_suggest), (gst_type_find_element_chain),
10945         (gst_type_find_element_checkgetrange),
10946         (gst_type_find_element_getrange), (do_typefind),
10947         (gst_type_find_element_activate):
10948         * gst/gstbuffer.c: (_gst_buffer_sub_free),
10949         (gst_buffer_default_free), (gst_buffer_default_copy),
10950         (gst_buffer_set_caps):
10951         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
10952         (gst_caps_replace):
10953         * gst/gstmessage.c: (gst_message_new),
10954         (gst_message_new_state_changed):
10955         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10956         (gst_pad_set_checkgetrange_function),
10957         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
10958         (gst_pad_set_caps), (gst_pad_check_pull_range),
10959         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
10960         * gst/gstpad.h:
10961         * gst/gsttypefind.c: (gst_type_find_register):
10962         Make gst_caps_replace() work like other _replace() functions.
10963         Use _caps_replace() where possible.
10964         Make sure _message_new() initialises its field.
10965         Add gst_static_pad_template_get_caps()
10966
10967
10968 2005-04-18  Andy Wingo  <wingo@pobox.com>
10969
10970         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
10971         on the peer, not the pad. I think that was a typo. Pass an extra
10972         arg to see if random access is possible. Activate the pads as
10973         PULL_RANGE if possible.
10974
10975         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
10976
10977         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
10978         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
10979         to PROP_....
10980
10981 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10982
10983         * docs/faq/using.xml:
10984           Add note on gstreamer-properties (#154996).
10985
10986 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10987
10988         * docs/random/bbb/optional-properties:
10989           Some analysis on optional properties.
10990
10991 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10992
10993         * docs/gst/tmpl/gstelementfactory.sgml:
10994         * gst/gstelement.h:
10995         * gst/gstelementfactory.c: (gst_element_factory_init),
10996         (gst_element_factory_cleanup), (gst_element_register),
10997         (__gst_element_factory_add_static_pad_template),
10998         (gst_element_factory_get_static_pad_templates),
10999         (gst_element_factory_can_src_caps),
11000         (gst_element_factory_can_sink_caps):
11001         * gst/registries/Makefile.am:
11002         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11003         (gst_xml_registry_class_init), (gst_xml_registry_init),
11004         (gst_xml_registry_new), (gst_xml_registry_set_property),
11005         (gst_xml_registry_get_property), (get_time), (make_dir),
11006         (gst_xml_registry_get_perms_func),
11007         (plugin_times_older_than_recurse), (plugin_times_older_than),
11008         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11009         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11010         (add_to_char_array), (read_string), (read_uint), (read_enum),
11011         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11012         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11013         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11014         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11015         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11016         (gst_xml_registry_rebuild):
11017         * gst/registries/gstlibxmlregistry.h:
11018         * tools/gst-compprep.c: (main):
11019         * tools/gst-inspect.c: (print_pad_templates_info):
11020         * tools/gst-xmlinspect.c: (print_element_info):
11021           Use libxml2 for registry parsing, use staticpadtemplates in
11022           elementfactories. Makes gst_init() +/- 10x faster.
11023
11024 2005-04-12  Wim Taymans  <wim@fluendo.com>
11025
11026         * gst/base/Makefile.am:
11027         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11028         (gst_basesink_pad_getcaps), (gst_basesink_init),
11029         (gst_basesink_event), (gst_basesink_change_state):
11030         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11031         (gst_basesrc_init), (gst_basesrc_query),
11032         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11033         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11034         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11035         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11036         (gst_basesrc_stop), (gst_basesrc_activate),
11037         (gst_basesrc_change_state):
11038         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11039         (helper_find_suggest), (gst_type_find_helper):
11040         * gst/base/gsttypefindhelper.h:
11041         * gst/elements/Makefile.am:
11042         * gst/elements/gstelements.c:
11043         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11044         (gst_fakesink_get_times), (gst_fakesink_event),
11045         (gst_fakesink_preroll), (gst_fakesink_render):
11046         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11047         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11048         (gst_fakesrc_get_property), (gst_fakesrc_create),
11049         (gst_fakesrc_start), (gst_fakesrc_stop):
11050         * gst/elements/gstfakesrc.h:
11051         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11052         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11053         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11054         (gst_filesrc_create_read), (gst_filesrc_create),
11055         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11056         (gst_filesrc_start):
11057         * gst/elements/gsttypefindelement.c:
11058         (gst_type_find_element_have_type), (gst_type_find_element_init),
11059         (start_typefinding), (stop_typefinding), (push_buffer_store),
11060         (gst_type_find_element_handle_event),
11061         (gst_type_find_element_chain),
11062         (gst_type_find_element_checkgetrange),
11063         (gst_type_find_element_getrange), (do_typefind),
11064         (gst_type_find_element_activate),
11065         (gst_type_find_element_change_state):
11066         * gst/elements/gsttypefindelement.h:
11067         * gst/gstpipeline.c: (pipeline_bus_handler):
11068         Added typefind helper.
11069         Small preroll fix in the base sink.
11070         Disable typefind code in basesrc.
11071         Crude port of typefindelement.
11072         Fakesrc cleanups.
11073
11074
11075 2005-04-11  Wim Taymans  <wim@fluendo.com>
11076
11077         * check/gst/gstbus.c: (gstbus_suite):
11078         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11079         * check/gstcheck.h:
11080           Fix up the timeout so that the test does not fail.
11081
11082 2005-04-06  Wim Taymans  <wim@fluendo.com>
11083
11084         * gst/base/README:
11085         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11086         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11087         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11088         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11089         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11090         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11091         (gst_basesrc_stop), (gst_basesrc_activate),
11092         (gst_basesrc_change_state), (basesrc_find_peek),
11093         (basesrc_find_suggest), (gst_basesrc_type_find):
11094         * gst/base/gstbasesrc.h:
11095         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11096         (gst_filesrc_class_init), (gst_filesrc_init),
11097         (gst_filesrc_finalize), (gst_filesrc_set_location),
11098         (gst_filesrc_set_property), (gst_filesrc_get_property),
11099         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11100         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11101         (gst_filesrc_create_read), (gst_filesrc_create),
11102         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11103         * gst/elements/gstfilesrc.h:
11104         * gst/gstelement.c: (gst_element_get_state_func),
11105         (gst_element_lost_state), (gst_element_pads_activate):
11106         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11107         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11108         (gst_pad_pull_range):
11109         * gst/gstpad.h:
11110         More work on the generic source base class, implement seeking,
11111         query.
11112         Make filesrc extend the base source class.
11113         Added gst_pad_set_checkgetrange_function to GstPad.
11114
11115 2005-04-06  Andy Wingo  <wingo@pobox.com>
11116
11117         * pkgconfig/gstreamer-base.pc.in:
11118         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11119
11120         * pkgconfig/Makefile.am:
11121         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11122
11123 2005-04-04  Wim Taymans  <wim@fluendo.com>
11124
11125         * gst/base/Makefile.am:
11126         * gst/base/README:
11127         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11128         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11129         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11130         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11131         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11132         (gst_basesrc_base_init), (gst_basesrc_class_init),
11133         (gst_basesrc_init), (gst_basesrc_get_formats),
11134         (gst_basesrc_get_query_types), (gst_basesrc_query),
11135         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11136         (gst_basesrc_set_property), (gst_basesrc_get_property),
11137         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11138         (gst_basesrc_loop), (gst_basesrc_activate),
11139         (gst_basesrc_change_state):
11140         * gst/base/gstbasesrc.h:
11141         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11142         (gst_fakesrc_class_init), (gst_fakesrc_init),
11143         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11144         (gst_fakesrc_get_property), (gst_fakesrc_create):
11145         * gst/elements/gstfakesrc.h:
11146         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11147         (gst_filesrc_open_file), (gst_filesrc_loop),
11148         (gst_filesrc_activate), (filesrc_find_peek),
11149         (gst_filesrc_type_find):
11150         Made base source class, make fakesrc extend it.
11151         Add comments to basesink class.
11152         Some filesrc cleanup.
11153
11154 2005-03-31  David Schleef  <ds@schleef.org>
11155
11156         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11157         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11158         expected to link against libgstreamer.
11159         * gst/base/Makefile.am: link against libgstreamer
11160         * gst/elements/Makefile.am: same
11161
11162 2005-03-31  Andy Wingo  <wingo@pobox.com>
11163
11164         * tests/instantiate/Makefile.am:
11165         * tests/instantiate/caps.c: Add test to test speed of caps copy
11166         and free.
11167
11168         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11169         GMemChunk to be fair.
11170
11171         * gst/gsttrashstack.h: Remove warning about using the fallback
11172         trash stack implementation, it's still faster than malloc.
11173
11174 2005-03-30  Andy Wingo  <wingo@pobox.com>
11175
11176         * tests/complexity.c: Add a copyright.
11177
11178 2005-03-31  Wim Taymans  <wim@fluendo.com>
11179
11180         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11181         (gst_base_transform_class_init), (gst_base_transform_init),
11182         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11183         (gst_base_transform_get_property),
11184         (gst_base_transform_sink_activate),
11185         (gst_base_transform_src_activate),
11186         (gst_base_transform_change_state):
11187         * gst/base/gstbasetransform.h:
11188         * gst/elements/gstidentity.c: (gst_identity_class_init),
11189         (gst_identity_event), (gst_identity_check_perfect),
11190         (gst_identity_transform), (gst_identity_start),
11191         (gst_identity_stop):
11192         Added start/stop methods to transform base class so subclasses 
11193         don't need to deal with state changes even.
11194
11195 2005-03-31  Wim Taymans  <wim@fluendo.com>
11196
11197         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11198         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11199         * gst/gstevent.h:
11200         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11201         (gst_pad_pull_range):
11202         Added rate to the discont event to prepare for variable speed
11203         and reverse playback.
11204
11205 2005-03-29  David Schleef  <ds@schleef.org>
11206
11207         * configure.ac:
11208         * testsuite/trigger/Makefile.am:
11209         * testsuite/trigger/trigger.c: A little example program to show
11210         how trigger-based elements can work.
11211
11212 2005-03-29  Wim Taymans  <wim@fluendo.com>
11213
11214         * gst/base/Makefile.am:
11215         * gst/base/README:
11216         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11217         (gst_basesink_base_init), (gst_basesink_class_init),
11218         (gst_basesink_pad_getcaps), (gst_basesink_init),
11219         (gst_basesink_activate), (gst_basesink_change_state):
11220         * gst/base/gstbasesink.h:
11221         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11222         (gst_base_transform_base_init), (gst_base_transform_finalize),
11223         (gst_base_transform_class_init), (gst_base_transform_init),
11224         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11225         (gst_base_transform_event), (gst_base_transform_getrange),
11226         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11227         (gst_base_transform_set_property),
11228         (gst_base_transform_get_property),
11229         (gst_base_transform_sink_activate),
11230         (gst_base_transform_src_activate),
11231         (gst_base_transform_change_state):
11232         * gst/base/gstbasetransform.h:
11233         * gst/elements/gstidentity.c: (gst_identity_finalize),
11234         (gst_identity_class_init), (gst_identity_init),
11235         (gst_identity_event), (gst_identity_check_perfect),
11236         (gst_identity_transform), (gst_identity_set_property),
11237         (gst_identity_get_property), (gst_identity_change_state):
11238         * gst/elements/gstidentity.h:
11239         * gst/gstelement.c: (gst_element_get_state_func),
11240         (gst_element_lost_state), (gst_element_pads_activate):
11241         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11242         (gst_pad_check_pull_range), (gst_pad_pull_range):
11243         * gst/gstpad.h:
11244         Simplify pad activation.
11245         Added function to check if pull_range can be performed.
11246         Error out when pulling inactive or flushing pads.
11247         Removed const from refcounted types as it does not make sense.
11248         Simplify pad templates in basesink
11249         Added base class for simple 1-to-1 transforms.
11250         Make identity subclass the base transform.
11251
11252 2005-03-29  Andy Wingo  <wingo@pobox.com>
11253
11254         * docs/libs/gstreamer-libs-overrides.txt: 
11255         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11256         really don't understand what's going on, but like whatever. I want
11257         green buildbot!
11258
11259         * docs/gst/Makefile.am:
11260         * docs/libs/Makefile.am: Dist the overrides files.
11261
11262         * check/Makefile.am (clean-local): Remove .libs directories.
11263
11264         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11265         elements to EXTRA_DIST, so po/ files are happy.
11266
11267         * po/POTFILES.in: Er, remove it here.
11268
11269         * po/POTFILES: Remove gstspider.c.
11270
11271         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11272
11273         * docs/libs/gstreamer-libs-docs.sgml: 
11274         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11275         bytestream.
11276
11277         * tests/complexity.c (main): Set the length of the preroll queue
11278         on the sinks to prevent a lockup.
11279
11280         * libs/gst/dataprotocol/Makefile.am: 
11281         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11282         the same as the one in check/gst-libs/gdp.c.
11283
11284         * po/, docs/gst/: Commit automatic changes to docs and po files.
11285
11286         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11287         the versioned libgstbase.
11288
11289         * check/Makefile.am: Depend on an unversioned gst-register, seems
11290         to make autoconf happier.
11291
11292         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11293
11294 2005-03-28  Wim Taymans  <wim@fluendo.com>
11295
11296         * configure.ac:
11297         * docs/design/part-gstelement.txt:
11298         * docs/design/part-negotiation.txt:
11299         * docs/design/part-preroll.txt:
11300         * docs/design/part-scheduling.txt:
11301         * docs/design/part-states.txt:
11302         * gst/Makefile.am:
11303         * gst/base/Makefile.am:
11304         * gst/base/README:
11305         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11306         (gst_basesink_base_init), (gst_basesink_class_init),
11307         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11308         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11309         (gst_basesink_set_pad_functions),
11310         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11311         (gst_basesink_set_property), (gst_basesink_get_property),
11312         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11313         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11314         (gst_basesink_preroll_queue_push),
11315         (gst_basesink_preroll_queue_empty),
11316         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11317         (gst_basesink_event), (gst_basesink_get_times),
11318         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11319         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11320         (gst_basesink_loop), (gst_basesink_activate),
11321         (gst_basesink_change_state):
11322         * gst/base/gstbasesink.h:
11323         * gst/elements/Makefile.am:
11324         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11325         (gst_fakesink_class_init), (gst_fakesink_init),
11326         (gst_fakesink_set_property), (gst_fakesink_get_property),
11327         (gst_fakesink_get_times), (gst_fakesink_event),
11328         (gst_fakesink_preroll), (gst_fakesink_render),
11329         (gst_fakesink_change_state):
11330         * gst/elements/gstfakesink.h:
11331         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11332         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11333         * gst/gstelement.c: (gst_element_add_pad),
11334         (gst_element_get_state_func), (gst_element_abort_state),
11335         (gst_element_commit_state), (gst_element_lost_state),
11336         (gst_element_set_state), (gst_element_pads_activate):
11337         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11338         * gst/gstpipeline.c: (gst_pipeline_send_event),
11339         (gst_pipeline_change_state):
11340         Added state change code.
11341         Added/updated docs.
11342         Added sink base class, make fakesink extend the base class.
11343         Small cleanups in GstPipeline.
11344
11345 2005-03-26  David Schleef  <ds@schleef.org>
11346
11347         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11348         is broken and should be implemented in a different library.
11349         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11350         * gst/gst.h: remove gstcpu.h
11351         * gst/gstcpu.c: remove
11352         * gst/gstcpu.h: remove
11353         * gst/Makefile.am.future: Remove this file.  It's ancient.
11354
11355 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11356
11357         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11358         (gst_bin_send_event):
11359           Add default event/set_manager handlers. The set_manager handler
11360           takes care that the manager is distributed over kids that were
11361           already in the bin before the manager was set. The event handler
11362           is a utility virtual function that sends the event over all sinks,
11363           so that gst_element_send_event (bin, event); has the expected
11364           behaviour.
11365         * gst/gstpad.c: (gst_pad_event_default):
11366           Re-install default event handling for discontinuities, so that
11367           seeking works without requiring hacks in applications or extra
11368           code in sinks.
11369         * gst/gstpipeline.c: (gst_pipeline_class_init),
11370         (gst_pipeline_send_event):
11371           Half hack, half utility: set a pipeline to PAUSED for seek events,
11372           since that is the only way we can guarantee a/v sync. Means that
11373           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11374           and it "just works".
11375
11376 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11377
11378         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11379           Lock/unlock mismatch.
11380
11381 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11382
11383         * docs/faq/gst-uninstalled:
11384           add gst-plugins-base
11385         * docs/gst/Makefile.am:
11386           don't error out until docs are fixed
11387         * docs/gst/gstreamer.types:
11388           remove thread
11389
11390 2005-03-22  Wim Taymans  <wim@fluendo.com>
11391
11392         * check/Makefile.am:
11393         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11394         * gst/gststructure.c: (gst_structure_set_valist),
11395         (gst_structure_copy_conditional):
11396         Activated more tests.
11397         Added message test.
11398         Added G_TYPE_POINTER to GstStructure.
11399         
11400
11401 2005-03-22  Wim Taymans  <wim@fluendo.com>
11402
11403         * docs/design/part-TODO.txt:
11404         * docs/design/part-events.txt:
11405         * docs/design/part-gstbin.txt:
11406         * docs/design/part-gstbus.txt:
11407         * docs/design/part-gstpipeline.txt:
11408         * docs/design/part-messages.txt:
11409         * gst/gstbus.c:
11410         * gst/gstmessage.c:
11411         Docs updates
11412
11413 2005-03-21  Wim Taymans  <wim@fluendo.com>
11414
11415         * gst/gstbus.c: (gst_bus_post):
11416         Fix copy-and-paste error.
11417
11418 2005-03-21  Wim Taymans  <wim@fluendo.com>
11419
11420         * check/Makefile.am:
11421         * gst/Makefile.am:
11422         * gst/elements/Makefile.am:
11423         * gst/elements/gstelements.c:
11424         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11425         (gst_fakesink_event), (gst_fakesink_chain):
11426         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11427         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11428         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11429         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11430         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11431         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11432         (gst_fakesrc_loop), (gst_fakesrc_activate),
11433         (gst_fakesrc_change_state):
11434         * gst/elements/gstfakesrc.h:
11435         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11436         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11437         (gst_filesrc_open_file), (gst_filesrc_loop),
11438         (gst_filesrc_activate), (gst_filesrc_change_state),
11439         (filesrc_find_peek), (filesrc_find_suggest),
11440         (gst_filesrc_type_find):
11441         * gst/elements/gstidentity.c: (gst_identity_finalize),
11442         (gst_identity_class_init), (gst_identity_init),
11443         (gst_identity_proxy_getcaps), (identity_queue_push),
11444         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11445         (gst_identity_getrange), (gst_identity_chain),
11446         (gst_identity_sink_loop), (gst_identity_src_loop),
11447         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11448         (gst_identity_set_property), (gst_identity_get_property),
11449         (gst_identity_change_state):
11450         * gst/elements/gstidentity.h:
11451         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11452         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11453         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11454         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11455         (gst_tee_sink_activate):
11456         * gst/elements/gsttee.h:
11457         * gst/gst.c: (gst_register_core_elements), (init_post):
11458         * gst/gst.h:
11459         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11460         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11461         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11462         (gst_bin_change_state):
11463         * gst/gstbin.h:
11464         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11465         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11466         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11467         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11468         (gst_bus_set_sync_handler), (gst_bus_create_watch),
11469         (bus_watch_callback), (bus_watch_destroy),
11470         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11471         (poll_timeout), (gst_bus_poll):
11472         * gst/gstbus.h:
11473         * gst/gstcaps.h:
11474         * gst/gstdata.h:
11475         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11476         (gst_element_post_message), (gst_element_message_full),
11477         (gst_element_get_state_func), (gst_element_get_state),
11478         (gst_element_abort_state), (gst_element_commit_state),
11479         (gst_element_lost_state), (gst_element_set_state),
11480         (gst_element_pads_activate), (gst_element_change_state),
11481         (gst_element_dispose), (gst_element_set_manager_func),
11482         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11483         (gst_element_set_manager), (gst_element_get_manager),
11484         (gst_element_set_bus), (gst_element_get_bus),
11485         (gst_element_set_scheduler), (gst_element_get_scheduler):
11486         * gst/gstelement.h:
11487         * gst/gstevent.c: (gst_event_new_segment_seek),
11488         (gst_event_new_flush):
11489         * gst/gstevent.h:
11490         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11491         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11492         (gst_message_new_eos), (gst_message_new_error),
11493         (gst_message_new_warning), (gst_message_new_tag),
11494         (gst_message_new_state_changed), (gst_message_new_application),
11495         (gst_message_get_structure), (gst_message_parse_tag),
11496         (gst_message_parse_state_changed), (gst_message_parse_error),
11497         (gst_message_parse_warning):
11498         * gst/gstmessage.h:
11499         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11500         (gst_real_pad_set_property), (gst_pad_set_active),
11501         (gst_pad_is_active), (gst_pad_set_blocked_async),
11502         (gst_pad_set_blocked), (gst_pad_is_blocked),
11503         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11504         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11505         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11506         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11507         (gst_pad_link_filtered), (gst_pad_relink_filtered),
11508         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11509         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11510         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11511         (gst_pad_set_caps), (gst_pad_configure_sink),
11512         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11513         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11514         (gst_real_pad_dispose), (gst_real_pad_finalize),
11515         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11516         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11517         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11518         * gst/gstpad.h:
11519         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11520         (pipeline_bus_handler), (gst_pipeline_change_state),
11521         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11522         * gst/gstpipeline.h:
11523         * gst/gstprobe.h:
11524         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11525         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11526         (gst_queue_link_src), (gst_queue_bufferalloc),
11527         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11528         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11529         (gst_queue_loop), (gst_queue_handle_src_event),
11530         (gst_queue_handle_src_query), (gst_queue_src_activate),
11531         (gst_queue_change_state):
11532         * gst/gstqueue.h:
11533         * gst/gstscheduler.c: (gst_scheduler_init),
11534         (gst_scheduler_dispose), (gst_scheduler_create_task),
11535         (gst_scheduler_factory_create):
11536         * gst/gstscheduler.h:
11537         * gst/gststructure.c: (gst_structure_get_type),
11538         (gst_structure_copy_conditional):
11539         * gst/gststructure.h:
11540         * gst/gsttaginterface.h:
11541         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11542         (gst_task_init), (gst_task_dispose), (gst_task_create),
11543         (gst_task_get_state), (gst_task_start), (gst_task_stop),
11544         (gst_task_pause):
11545         * gst/gsttask.h:
11546         * gst/gstthread.c:
11547         * gst/gstthread.h:
11548         * gst/gsttypes.h:
11549         * gst/schedulers/Makefile.am:
11550         * gst/schedulers/cothreads_compat.h:
11551         * gst/schedulers/entryscheduler.c:
11552         * gst/schedulers/faircothreads.c:
11553         * gst/schedulers/faircothreads.h:
11554         * gst/schedulers/fairscheduler.c:
11555         * gst/schedulers/gstbasicscheduler.c:
11556         * gst/schedulers/gstoptimalscheduler.c:
11557         * gst/schedulers/gthread-cothreads.h:
11558         * gst/schedulers/threadscheduler.c:
11559         (gst_thread_scheduler_task_get_type),
11560         (gst_thread_scheduler_task_class_init),
11561         (gst_thread_scheduler_task_init),
11562         (gst_thread_scheduler_task_start),
11563         (gst_thread_scheduler_task_stop),
11564         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11565         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11566         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11567         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11568         (plugin_init):
11569         * libs/gst/Makefile.am:
11570         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11571         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11572         (gst_file_pad_parent_set):
11573         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11574         (gst_dp_event_from_packet):
11575         * tests/complexity.c: (main):
11576         * tests/mass_elements.c: (main):
11577         * testsuite/states/locked.c: (message_received), (main):
11578         * testsuite/states/parent.c: (main):
11579         * tools/gst-inspect.c: (print_element_flag_info),
11580         (print_implementation_info), (print_pad_info):
11581         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11582         (main):
11583         * tools/gst-md5sum.c: (event_loop), (main):
11584         * tools/gst-typefind.c: (main):
11585         * tools/gst-xmlinspect.c: (print_element_info):
11586         Next big merge.
11587         Added GstBus for mainloop integration.
11588         Added GstMessage for sending notifications on the bus.
11589         Added GstTask as an abstraction for pipeline entry points.
11590         Removed GstThread.
11591         Removed Schedulers.
11592         Simplified GstQueue for multithreaded core.
11593         Made _link threadsafe, removed old capsnego.
11594         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11595         Added pad blocking functions.
11596         Reworked scheduling functions in GstPad to prepare for
11597         scheduling updates soon.
11598         Moved events out of data stream.
11599         Simplified GstEvent types.
11600         Added return values to push/pull.
11601         Removed clocking from GstElement.
11602         Added prototypes for state change function for next merge.
11603         Removed iterate from bins and state change management.
11604         Fixed some elements, disabled others for now.
11605         Fixed -inspect and -launch.
11606         Added check for GstBus.
11607
11608 2005-03-10  Wim Taymans  <wim@fluendo.com>
11609
11610         * docs/design/part-MT-refcounting.txt:
11611         * docs/design/part-clocks.txt:
11612         * docs/design/part-gstelement.txt:
11613         * docs/design/part-gstobject.txt:
11614         * docs/design/part-standards.txt:
11615         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11616         (gst_bin_remove_func), (gst_bin_remove):
11617         * gst/gstbin.h:
11618         * gst/gstbuffer.c:
11619         * gst/gstcaps.h:
11620         * testsuite/clock/clock1.c: (main):
11621         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11622         (main):
11623         * testsuite/dlopen/loadgst.c: (do_test):
11624         * testsuite/refcounting/bin.c: (add_remove_test1),
11625         (add_remove_test2), (main):
11626         * testsuite/refcounting/element.c: (main):
11627         * testsuite/refcounting/element_pad.c: (main):
11628         * testsuite/refcounting/pad.c: (main):
11629         * tools/gst-launch.c: (sigint_handler_sighandler):
11630         * tools/gst-typefind.c: (main):
11631         Doc updates.
11632         Added doc about clock.
11633         removed gst_bin_iterate_recurse_up(), marked methods
11634         for removal.
11635         Fix more testsuites.
11636
11637 2005-03-09  Wim Taymans  <wim@fluendo.com>
11638
11639         * gst/gstpad.c: (gst_pad_get_direction),
11640         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11641         (gst_pad_collect_valist):
11642         * testsuite/bins/interface.c: (main):
11643         * testsuite/caps/audioscale.c: (test_caps):
11644         * testsuite/caps/caps.c: (test1), (test2), (test3):
11645         * testsuite/caps/deserialize.c: (main):
11646         * testsuite/caps/enumcaps.c: (main):
11647         * testsuite/caps/filtercaps.c: (main):
11648         * testsuite/caps/intersect2.c: (main):
11649         * testsuite/caps/random.c: (main):
11650         * testsuite/caps/renegotiate.c: (my_fixate), (main):
11651         * testsuite/caps/sets.c: (check_caps):
11652         * testsuite/caps/simplify.c: (check_caps), (main):
11653         * testsuite/caps/subtract.c: (check_caps):
11654         Fix _pad_get_direction wrt ghostpads.
11655         Fix caps testsuite.
11656
11657 2005-03-09  Wim Taymans  <wim@fluendo.com>
11658
11659         * check/Makefile.am:
11660         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11661         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11662         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11663         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11664         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11665         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11666         (gst_bin_remove), (gst_bin_iterate_recurse_up),
11667         (bin_element_is_sink), (gst_bin_iterate_sinks),
11668         (gst_bin_iterate_all_by_interface):
11669         * gst/gstbin.h:
11670         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11671         (gst_element_change_state), (gst_element_dispose),
11672         (gst_element_finalize), (gst_element_set_loop_function):
11673         * gst/gstelement.h:
11674         * gst/gstiterator.c: (find_custom_fold_func):
11675         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11676         (gst_pad_collectv), (gst_pad_collect_valist),
11677         (gst_pad_template_new):
11678         * gst/gstpipeline.c: (gst_pipeline_class_init),
11679         (gst_pipeline_dispose), (gst_pipeline_set_property),
11680         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11681         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11682         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11683         * gst/gstutils.h:
11684         * gst/schedulers/entryscheduler.c:
11685         * gst/schedulers/gstbasicscheduler.c:
11686         (gst_basic_scheduler_cothreaded_chain),
11687         (gst_basic_scheduler_chain_add_element):
11688         * testsuite/bins/interface.c: (main):
11689         Added GstBin test.
11690         Added GstSystemClock test.
11691         Implemented clock distribution code in GstBin.
11692         Implemented iterate sinks method for future use.
11693         Rearranged gstelement.h
11694         Fix GstIterator comparison bug.
11695         Moved some code to GstPipeline, mostly clocking related.
11696
11697 2005-03-09  Wim Taymans  <wim@fluendo.com>
11698
11699         * configure.ac:
11700         * gst/gst_private.h:
11701         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11702         (gst_bin_remove_func), (gst_bin_remove),
11703         (gst_bin_get_by_name_recurse_up):
11704         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11705         (gst_clock_id_compare_func), (gst_clock_id_wait),
11706         (gst_clock_id_wait_async), (gst_clock_init),
11707         (gst_clock_adjust_unlocked), (gst_clock_get_time):
11708         * gst/gstelement.h:
11709         * gst/gstinfo.c: (_gst_debug_init):
11710         * gst/gstobject.h:
11711         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11712         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11713         * gst/gstpad.h:
11714         Bump version number, we're now 0.9.0
11715         Add future debugging category.
11716         Fix NULL _unref() in _get_by_name_recurse_up
11717         Rearrange gstpad.h.
11718         Update some docs.
11719
11720 2005-03-08  Wim Taymans  <wim@fluendo.com>
11721
11722         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11723         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11724         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11725         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11726         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11727         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11728         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11729         * gst/elements/gstidentity.c: (gst_identity_class_init):
11730         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11731         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11732         * gst/elements/gstshaper.c: (gst_shaper_class_init):
11733         * gst/elements/gststatistics.c: (gst_statistics_class_init):
11734         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11735         (gst_tee_link):
11736         * gst/gstelement.c: (gst_element_class_init),
11737         (gst_element_base_class_init), (gst_element_init),
11738         (gst_element_get_random_pad), (gst_element_wait_state_change),
11739         (gst_element_change_state), (gst_element_dispose),
11740         (gst_element_finalize), (gst_element_set_loop_function):
11741         * gst/gstelement.h:
11742         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11743         * gst/gstthread.c: (gst_thread_class_init),
11744         (gst_thread_release_children_locks), (gst_thread_change_state):
11745         * gst/schedulers/gstbasicscheduler.c:
11746         (gst_basic_scheduler_loopfunc_wrapper),
11747         (gst_basic_scheduler_chain_wrapper),
11748         (gst_basic_scheduler_src_wrapper),
11749         (gst_basic_scheduler_remove_element):
11750         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11751         Remove threadsafe properties. Fix elements because GObject
11752         complains when installing a property before declaring a
11753         set/get_property handler.
11754         Rearrange gstelement.h file, use STATE macros for state locks.
11755         Free mutexes in the finalize method instead of dispose.
11756
11757 2005-03-08  Wim Taymans  <wim@fluendo.com>
11758
11759         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11760         * gst/gstthread.c: (gst_thread_release_children_locks):
11761         Added parentage check.
11762         Fix build og GstThread again.
11763
11764 2005-03-08  Wim Taymans  <wim@fluendo.com>
11765
11766         * docs/design/part-MT-refcounting.txt:
11767         * docs/design/part-conventions.txt:
11768         * docs/design/part-gstobject.txt:
11769         * docs/design/part-relations.txt:
11770         * docs/design/part-standards.txt:
11771         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11772         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11773         (gst_bin_get_by_name), (gst_bin_get_by_interface),
11774         (gst_bin_iterate_all_by_interface):
11775         * gst/gstbuffer.h:
11776         * gst/gstclock.h:
11777         * gst/gstelement.c: (gst_element_class_init),
11778         (gst_element_change_state), (gst_element_set_loop_function):
11779         * gst/gstelement.h:
11780         * gst/gstiterator.c:
11781         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11782         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11783         (gst_object_dispatch_properties_changed), (gst_object_set_name),
11784         (gst_object_set_parent), (gst_object_unparent),
11785         (gst_object_check_uniqueness):
11786         * gst/gstobject.h:
11787         Docs updates, clean up some headers.
11788
11789 2005-03-07  Wim Taymans  <wim@fluendo.com>
11790
11791         * check/.cvsignore:
11792         * check/Makefile.am:
11793         * check/gst-libs/.cvsignore:
11794         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11795         * check/gst/.cvsignore:
11796         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11797         (START_TEST), (gstbus_suite), (main):
11798         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11799         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11800         (gst_data_suite), (main):
11801         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11802         (add_fold_func), (gstiterator_suite), (main):
11803         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11804         (thread_name_object), (thread_name_object_default),
11805         (gst_object_name_compare), (gst_object_suite), (main):
11806         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11807         (gst_pad_suite), (main):
11808         * check/gstcheck.c: (gst_check_log_message_func),
11809         (gst_check_log_critical_func), (gst_check_init):
11810         * check/gstcheck.h:
11811         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11812         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11813         Added checks.
11814
11815 2005-03-07  Wim Taymans  <wim@fluendo.com>
11816
11817         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11818         (gst_list_iterator_next), (gst_list_iterator_resync),
11819         (gst_list_iterator_free), (gst_iterator_new_list),
11820         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11821         (gst_iterator_free), (gst_iterator_push), (filter_next),
11822         (filter_resync), (filter_uninit), (filter_free),
11823         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11824         (gst_iterator_foreach), (find_custom_fold_func),
11825         (gst_iterator_find_custom):
11826         * gst/gstiterator.h:
11827         Added missing files.
11828
11829 2005-03-07  Wim Taymans  <wim@fluendo.com>
11830
11831         * Makefile.am:
11832         * configure.ac:
11833         * docs/design/part-MT-refcounting.txt:
11834         * docs/design/part-conventions.txt:
11835         * docs/design/part-gstobject.txt:
11836         * docs/design/part-relations.txt:
11837         * examples/mixer/mixer.c: (main):
11838         * examples/thread/thread.c: (eos), (main):
11839         * gst/Makefile.am:
11840         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11841         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11842         (gst_spider_plug_from_srcpad):
11843         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11844         (gst_spider_identity_change_state),
11845         (gst_spider_identity_sink_loop_type_finding):
11846         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11847         * gst/elements/gstidentity.c: (gst_identity_init):
11848         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11849         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11850         * gst/elements/gsttypefindelement.c: (free_entry):
11851         * gst/gst.c:
11852         * gst/gst.h:
11853         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11854         (gst_bin_set_clock_func), (gst_bin_auto_clock),
11855         (gst_bin_set_index), (gst_bin_set_element_sched),
11856         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11857         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11858         (gst_bin_iterate_elements), (iterate_child_recurse),
11859         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11860         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11861         (compare_interface), (gst_bin_get_by_interface),
11862         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11863         * gst/gstbin.h:
11864         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11865         (gst_buffer_default_free), (gst_buffer_default_copy),
11866         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11867         (gst_buffer_create_sub):
11868         * gst/gstbuffer.h:
11869         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11870         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11871         (gst_caps_unref), (gst_static_caps_get),
11872         (gst_caps_remove_and_get_structure), (gst_caps_append),
11873         (gst_caps_append_structure), (gst_caps_remove_structure),
11874         (gst_caps_copy_nth), (gst_caps_set_simple),
11875         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11876         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11877         (gst_caps_structure_intersect_field), (gst_caps_intersect),
11878         (gst_caps_structure_subtract_field), (gst_caps_subtract),
11879         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11880         (gst_caps_structure_figure_out_union),
11881         (gst_caps_switch_structures), (gst_caps_do_simplify),
11882         (gst_caps_replace), (gst_caps_from_string),
11883         (gst_caps_copy_conditional):
11884         * gst/gstcaps.h:
11885         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11886         (_gst_clock_id_free), (gst_clock_id_unref),
11887         (gst_clock_id_compare_func), (gst_clock_id_wait),
11888         (gst_clock_id_wait_async), (gst_clock_class_init),
11889         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11890         (gst_clock_get_time), (gst_clock_set_time_adjust),
11891         (gst_clock_set_property), (gst_clock_get_property):
11892         * gst/gstclock.h:
11893         * gst/gstcompat.h:
11894         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11895         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11896         * gst/gstdata.h:
11897         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11898         (gst_element_requires_clock), (gst_element_provides_clock),
11899         (gst_element_set_clock), (gst_element_clock_wait),
11900         (gst_element_wait), (gst_element_set_time_delay),
11901         (gst_element_is_indexable), (gst_element_add_pad),
11902         (gst_element_add_ghost_pad), (gst_element_remove_pad),
11903         (pad_compare_name), (gst_element_get_static_pad),
11904         (gst_element_request_pad), (gst_element_get_request_pad),
11905         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11906         (gst_element_class_get_pad_template_list),
11907         (gst_element_class_get_pad_template), (gst_element_error_func),
11908         (gst_element_get_random_pad), (gst_element_get_event_masks),
11909         (gst_element_send_event), (gst_element_seek),
11910         (gst_element_get_query_types), (gst_element_query),
11911         (gst_element_get_formats), (gst_element_convert),
11912         (gst_element_is_locked_state), (gst_element_set_locked_state),
11913         (gst_element_sync_state_with_parent), (gst_element_change_state),
11914         (gst_element_finalize), (gst_element_yield),
11915         (gst_element_interrupt), (gst_element_set_scheduler),
11916         (gst_element_get_scheduler), (gst_element_set_loop_function):
11917         * gst/gstelement.h:
11918         * gst/gstevent.h:
11919         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
11920         (gst_format_get_by_nick), (gst_format_get_details),
11921         (gst_format_iterate_definitions):
11922         * gst/gstformat.h:
11923         * gst/gstindex.c: (gst_index_gtype_resolver):
11924         * gst/gstinfo.c:
11925         * gst/gstinfo.h:
11926         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
11927         (gst_mem_chunk_free):
11928         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
11929         (gst_object_ref), (gst_object_unref), (gst_object_sink),
11930         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
11931         (gst_object_dispatch_properties_changed),
11932         (gst_object_set_name_default), (gst_object_set_name),
11933         (gst_object_get_name), (gst_object_set_name_prefix),
11934         (gst_object_get_name_prefix), (gst_object_set_parent),
11935         (gst_object_get_parent), (gst_object_unparent),
11936         (gst_object_check_uniqueness), (gst_object_save_thyself),
11937         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
11938         (gst_object_set_property), (gst_object_get_property),
11939         (gst_object_get_path_string):
11940         * gst/gstobject.h:
11941         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11942         (gst_real_pad_init), (gst_real_pad_get_property),
11943         (gst_pad_custom_new), (gst_pad_get_direction),
11944         (gst_pad_set_active), (gst_pad_is_active),
11945         (gst_pad_set_event_function), (gst_pad_is_linked),
11946         (gst_pad_link_free), (gst_pad_link_intersect),
11947         (gst_pad_link_fixate), (gst_pad_set_caps),
11948         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
11949         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
11950         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
11951         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
11952         (gst_pad_get_caps), (gst_pad_peer_get_caps),
11953         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
11954         (gst_pad_realize), (gst_pad_get_allowed_caps),
11955         (gst_real_pad_dispose), (gst_real_pad_finalize),
11956         (gst_pad_collectv), (gst_pad_collect_valist),
11957         (gst_pad_template_dispose), (gst_pad_template_new),
11958         (gst_pad_get_internal_links):
11959         * gst/gstpad.h:
11960         * gst/gstpipeline.c: (gst_pipeline_dispose),
11961         (gst_pipeline_change_state):
11962         * gst/gstpipeline.h:
11963         * gst/gstplugin.c:
11964         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
11965         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
11966         * gst/gstpluginfeature.h:
11967         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
11968         * gst/gstquery.c: (_gst_query_type_initialize),
11969         (gst_query_type_register), (gst_query_type_get_by_nick),
11970         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
11971         * gst/gstquery.h:
11972         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
11973         * gst/gstscheduler.c: (gst_scheduler_add_element),
11974         (gst_scheduler_factory_create):
11975         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11976         (gst_structure_free), (gst_structure_set_name),
11977         (gst_structure_id_set_value), (gst_structure_set_value),
11978         (gst_structure_set_valist), (gst_structure_remove_field),
11979         (gst_structure_remove_fields),
11980         (gst_structure_remove_fields_valist),
11981         (gst_structure_remove_all_fields), (gst_structure_foreach),
11982         (gst_structure_map_in_place),
11983         (gst_caps_structure_fixate_field_nearest_int),
11984         (gst_caps_structure_fixate_field_nearest_double):
11985         * gst/gststructure.h:
11986         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11987         (gst_system_clock_init), (gst_system_clock_dispose),
11988         (gst_system_clock_async_thread),
11989         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
11990         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
11991         * gst/gstsystemclock.h:
11992         * gst/gsttag.c: (gst_tag_list_add_value_internal),
11993         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
11994         * gst/gsttaginterface.c:
11995         * gst/gstthread.c: (gst_thread_dispose),
11996         (gst_thread_release_children_locks), (gst_thread_change_state),
11997         (gst_thread_main_loop):
11998         * gst/gsttrashstack.h:
11999         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12000         * gst/gsttypes.h:
12001         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12002         (gst_element_request_pad), (gst_element_get_pad_from_template),
12003         (gst_element_request_compatible_pad),
12004         (gst_element_get_compatible_pad_filtered),
12005         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12006         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12007         (gst_element_link_many), (gst_element_link),
12008         (gst_element_link_pads), (gst_element_unlink_pads),
12009         (gst_element_unlink_many), (gst_element_unlink),
12010         (gst_pad_can_link_filtered), (gst_pad_can_link),
12011         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12012         (gst_object_default_error), (gst_bin_add_many),
12013         (gst_bin_remove_many), (gst_element_populate_std_props),
12014         (gst_element_class_install_std_props), (gst_buffer_merge),
12015         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12016         (link_fold_func), (gst_pad_proxy_setcaps):
12017         * gst/gstutils.h:
12018         * gst/gstvalue.c: (gst_value_deserialize_string):
12019         * gst/parse/grammar.y:
12020         * gst/schedulers/gstbasicscheduler.c:
12021         (gst_basic_scheduler_cothreaded_chain),
12022         (gst_basic_scheduler_chain_recursive_add),
12023         (gst_basic_scheduler_pad_link):
12024         * gst/schedulers/gstoptimalscheduler.c:
12025         (get_group_schedule_function),
12026         (gst_opt_scheduler_state_transition),
12027         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12028         * libs/gst/bytestream/bytestream.c:
12029         * libs/gst/dataprotocol/dataprotocol.c:
12030         (gst_dp_header_from_buffer):
12031         * po/nb.po:
12032         * po/ru.po:
12033         * tests/threadstate/threadstate2.c: (eos):
12034         * tools/gst-compprep.c: (main):
12035         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12036         (print_pad_info), (print_children_info):
12037         * tools/gst-launch.c: (idle_func), (main):
12038         * tools/gst-md5sum.c: (idle_func), (main):
12039         * tools/gst-xmlinspect.c: (print_element_info):
12040         First THREADED backport attempt, focusing on adding locks and
12041         making sure the API is threadsafe. Needs more work. More docs
12042         follow this week.
12043
12044 2005-02-24  Andy Wingo  <wingo@pobox.com>
12045
12046         * tests/bench-complexity.scm:
12047         * tests/complexity.gnuplot: New files, good for running complexity
12048         benchmarks.
12049
12050         * tests/Makefile.am:
12051         * tests/complexity.c: New test, sets up N elements, at each level
12052         teeing into M streams per element. Eeeenteresting.
12053
12054         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12055         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12056         running bench-mass_elements.scm.
12057
12058         * tests/bench-mass_elements.scm: New script, runs mass_elements
12059         for various numbers of identities, outputting the results to a
12060         file. Requires guile 1.6. Just for testing.
12061
12062 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12063
12064         * gst/schedulers/fairscheduler.c:
12065           compile with debug disabled
12066
12067 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12068
12069         * configure.ac:
12070           hunting season on 0.9 is now OPEN