gst/Makefile.am: don't try and build net if we don't even have <sys/socket.h>
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * gst/Makefile.am:
4           don't try and build net if we don't even have <sys/socket.h>
5
6 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
7
8         * check/Makefile.am:
9         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
11           Add tests for fdsrc seekability
12
13         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
15         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
16         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17         * gst/elements/gstfdsrc.h:
18           fdsrc should not be a 'live' source.
19           Implement seeking on seekable fd's.
20
21         * gst/gstquery.c: (gst_query_new_seeking),
22         (gst_query_parse_seeking):
23         * gst/gstquery.h:
24           Implement SEEKING query functions: 
25             *_new_seeking and *_parse_seeking
26
27 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
28
29         * gst/gstelement.c: (gst_element_dispose):
30           don't loop forever
31
32         * gst/gstiterator.c:
33         * gst/gststructure.c:
34           doc fixes
35
36         * libs/gst/controller/gstcontroller.c:
37         (gst_controlled_property_set_interpolation_mode):
38         * libs/gst/controller/gstcontroller.h:
39         * libs/gst/controller/gstinterpolation.c:
40         (interpolate_none_get_enum_value_array):
41           support controlling enums
42
43 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
44
45         * gst/gstvalue.c:
46           Improve documentation for gst_value_union().
47
48         * gst/gstvalue.h:
49           Change return value for union, intersect and subtract functions
50           from gint to gboolean.
51
52 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
53
54         * gst/gstvalue.c: (gst_value_serialize_any_list),
55         (gst_value_transform_any_list_string),
56         (gst_value_deserialize_list), (gst_value_deserialize_array),
57         (gst_value_set_int_range), (gst_value_deserialize_int_range),
58         (gst_value_set_double_range), (gst_value_deserialize_double_range),
59         (gst_value_set_fraction_range_full),
60         (gst_value_deserialize_fraction_range),
61         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
62         (gst_value_deserialize_boolean),
63         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
64         (gst_value_serialize_float), (gst_value_deserialize_float),
65         (gst_string_wrap), (gst_value_deserialize_string),
66         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
67         (gst_value_union_int_range_int_range),
68         (gst_value_intersect_int_range_int_range),
69         (gst_value_intersect_double_range_double_range),
70         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
71         (gst_value_subtract_int_range_int_range),
72         (gst_value_subtract_double_double_range),
73         (gst_value_subtract_double_range_double_range),
74         (gst_value_deserialize_fraction):
75         * gst/gstvalue.h:
76           Use gint, gdouble and gchar in our API instead of int, double and
77           char (and make usage in gstvalue.c more consistent).
78
79 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
80
81         * check/Makefile.am:
82         * libs/gst/controller/Makefile.am:
83         * libs/gst/dataprotocol/Makefile.am:
84           fix up Makefile.am and remove GST_ENABLE_NEW
85
86 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
87
88         * configure.ac:
89         * gst/Makefile.am:
90         * gst/base/Makefile.am:
91         * gst/check/Makefile.am:
92         * gst/elements/Makefile.am:
93         * gst/net/Makefile.am:
94           update LDFLAGS use some more
95
96 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
97
98         * common/m4/gst-doc.m4:
99           Fixes #312589
100
101 2005-11-26  Edward Hervey  <edward@fluendo.com>
102
103         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
104         This shouldn't issue a g_warning since it returns NULL if it
105         couldn't find the plugin, and all functions using this behave
106         properly on a NULL return. Switching to a GST_WARNING.
107
108 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
109
110         * gst/gstbin.c: (gst_bin_handle_message_func):
111         Don't leak clock messages.
112
113 2005-11-25  Wim Taymans  <wim@fluendo.com>
114
115         * gst/gstutils.c: (gst_util_uint64_scale_int64),
116         (gst_util_uint64_scale_int):
117         Optimisations, remove unneeded vars.
118
119 2005-11-25  Wim Taymans  <wim@fluendo.com>
120
121         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
122         Added more checks for the high precision uint64 cases.
123
124         * gst/gstutils.c: (gst_util_uint64_scale_int64),
125         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
126         Implement high precission (guint64 * guint64) / guint64.
127
128 2005-11-24  Wim Taymans  <wim@fluendo.com>
129
130         * gst/base/gstbasesrc.c: (gst_base_src_query):
131         Fix wrong percentage query.
132
133         * gst/gstutils.c: (gst_util_uint64_scale),
134         (gst_util_uint64_scale_int):
135         Add some more common cases that can be handled 
136         efficiently to _scale.
137
138 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
139
140         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
141         (gst_mini_object_suite):
142           don't use check calls from threads; check probably isn't
143           threadsafe and using a lock to make it threadsafe would
144           defeat the purpose of this check
145         * gst/check/gstcheck.c:
146         * gst/check/gstcheck.h:
147           use GST_DEBUG some more
148
149 2005-11-24  Wim Taymans  <wim@fluendo.com>
150
151         * gst/gstutils.c: (gst_util_uint64_scale),
152         (gst_util_uint64_scale_int):
153         Chain trivial case to _scale_int.
154
155 2005-11-24  Wim Taymans  <wim@fluendo.com>
156
157         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
158         Added test for scaling.
159
160         * gst/gstclock.h:
161         Small doc fix.
162
163         * gst/gstutils.c: (gst_util_uint64_scale_int):
164         Implemented high precision scaling code.
165
166 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
167
168         * gst/gstinfo.h:
169           do not crash on pad==NULL
170
171 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
172
173         Patch by: Stefan Kost
174
175         * common/gtk-doc.mak:
176         * docs/gst/Makefile.am:
177         * docs/libs/Makefile.am:
178           Fix distcheck issues for the libraries docs build
179           Closes #319599.
180
181 2005-11-24  Michael Smith <msmith@fluendo.com>
182
183         * docs/manual/basics-helloworld.xml:
184           Fix bug #315027: memory leak in example code in docs.
185
186 2005-11-24  Michael Smith <msmith@fluendo.com>
187
188         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
189           Unlock the PREROLL_LOCK in a failure case.
190
191 2005-11-24  Wim Taymans  <wim@fluendo.com>
192
193         * docs/gst/gstreamer-sections.txt:
194         * gst/base/gstadapter.h:
195         * gst/base/gstbasesink.h:
196         * gst/base/gstbasesrc.h:
197         * gst/base/gstbasetransform.h:
198         * gst/base/gstpushsrc.h:
199         * gst/elements/gstfakesink.h:
200         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
201         * gst/elements/gstfakesrc.h:
202         * gst/elements/gstfilesink.h:
203         * gst/elements/gstfilesrc.h:
204         * gst/gst.c:
205         * gst/gstbin.c:
206         * gst/gstbuffer.c: (_gst_buffer_copy):
207         * gst/gstbus.h:
208         * gst/gstcaps.c:
209         * gst/gstchildproxy.c:
210         * gst/gstclock.c:
211         * gst/gstelement.c:
212         * gst/gstelementfactory.c:
213         * gst/gstelementfactory.h:
214         * gst/gstevent.c:
215         * gst/gstghostpad.h:
216         * gst/gstindex.h:
217         * gst/gstinterface.h:
218         * gst/gstminiobject.c:
219         * gst/gstminiobject.h:
220         * gst/gstpad.c:
221         * gst/gstpad.h:
222         * gst/gstpadtemplate.h:
223         * gst/gstpipeline.h:
224         * gst/gstpluginfeature.h:
225         * gst/gstquery.h:
226         * gst/gstqueue.h:
227         * gst/gsttaglist.c:
228         * gst/gsttaglist.h:
229         * gst/gsttagsetter.c:
230         * gst/gsttagsetter.h:
231         * gst/gsttrace.c:
232         * gst/gsttrace.h:
233         * gst/gsttypefind.h:
234         * gst/gsturi.h:
235         * gst/gstvalue.c:
236         * gst/net/gstnetclientclock.c:
237         * gst/net/gstnetclientclock.h:
238         * gst/net/gstnettimepacket.c:
239         * gst/net/gstnettimeprovider.c:
240         * gst/net/gstnettimeprovider.h:
241         Doc fixes.
242
243 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
244
245         * configure.ac: back to HEAD
246
247 === release 0.9.6 ===
248
249 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
250
251         * configure.ac:
252           releasing 0.9.6, "Always On Time"
253
254 2005-11-23  Wim Taymans  <wim@fluendo.com>
255
256         * docs/gst/gstreamer-sections.txt:
257         * gst/glib-compat.c:
258         * gst/gsttagsetter.c:
259         * gst/gstvalue.c:
260         * gst/net/gstnetclientclock.c:
261         * gst/net/gstnettimepacket.h:
262         Doc updates.
263
264 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
265
266         * docs/faq/using.xml:
267         * docs/libs/tmpl/gstcontrol.sgml:
268         * docs/manual/advanced-dparams.xml:
269         * docs/manual/appendix-checklist.xml:
270         * docs/manual/basics-elements.xml:
271         * docs/pwg/other-source.xml:
272         * docs/random/moving-plugins:
273         * gst/gstpad.c:
274         * tools/gst-launch.1.in:
275           remove mentions of sinesrc
276
277 2005-11-23  Michael Smith <msmith@fluendo.com>
278
279         * docs/gst/gstreamer-sections.txt:
280           Update for new API and API changes.
281         * gst/gstobject.h:
282           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
283         * gst/gstvalue.c:
284           Documentation typo fix.
285         * gst/net/gstnettimepacket.c:
286           Documentation fixes for arguments.
287
288 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
289
290         * gst/gststructure.c: (gst_structure_get_fraction),
291         (gst_structure_parse_value),
292         (gst_structure_fixate_field_nearest_fraction):
293         * gst/gststructure.h:
294         * gst/gstutils.c: (gst_util_uint64_scale_int):
295         * gst/gstutils.h:
296         * scripts/update-funcnames:
297         API Changes. 
298         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
299         Make gst_structure_fixate_field_nearest_fraction take a numerator
300         and denominator argument instead of a GValue
301         add gst_structure_get_fraction helper function.
302
303 2005-11-23  Wim Taymans  <wim@fluendo.com>
304
305         * docs/design/part-TODO.txt:
306         Update TODO.
307
308         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
309         * gst/net/gstnetclientclock.h:
310         Use parent fields for timeout and window_size.
311
312 2005-11-23  Andy Wingo  <wingo@pobox.com>
313
314         * check/net/gstnetclientclock.c (test_functioning): Adjust to
315         rate_num/rate_denom change.
316
317         * gst/net/gstnetclientclock.c
318         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
319         OBJECT_LOCK. Don't call add_observation with the lock.
320
321         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
322         fraction.
323         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
324         rate fraction.
325         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
326         deal with rate as a fraction whose numerator and denominator are
327         GstClockTime values.
328         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
329         master; the other fields are protected by the SLAVE_LOCK.
330         (do_linear_regression): Note that this must be called with the
331         SLAVE_LOCK.
332         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
333         OBJECT_LOCK. Call set_calibration instead of touching the
334         variables directly.
335         (gst_clock_set_property, gst_clock_get_property): Protect
336         master/slave parameters with the SLAVE_LOCK.
337
338         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
339         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
340         note that all of the instance variables that add_observation and
341         the set_master functions use are protected by that lock and not
342         the OBJECT_LOCK.
343         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
344
345         * gst/gstclock.c (gst_clock_add_observation): No longer requires
346         the caller to take the object lock.
347
348 2005-11-23  Wim Taymans  <wim@fluendo.com>
349
350         * gst/gsterror.c: (_gst_core_errors_init):
351         * gst/gsterror.h:
352         Add error for clock stuff.
353
354         * gst/gstpipeline.c: (gst_pipeline_change_state),
355         (gst_pipeline_set_clock):
356         Post clock error when clock cannot be used in a pipeline.
357
358 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
359
360         * docs/gst/gstreamer-sections.txt:
361           make two symbols from gstinfo private for the docs
362         * gst/base/gstcollectpads.h:
363         * gst/gstutils.c:
364           fix doc typos, update docs
365
366 2005-11-22  Wim Taymans  <wim@fluendo.com>
367
368         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
369         (gst_base_sink_wait), (gst_base_sink_do_sync),
370         (gst_base_sink_handle_event):
371         * gst/base/gstbasesink.h:
372         No need to store the clock, the parent element class already
373         has it.
374
375         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
376         Updates for clock_set returning a gboolean
377
378         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
379         (gst_clock_id_wait_async), (gst_clock_class_init),
380         (gst_clock_init), (gst_clock_finalize),
381         (gst_clock_get_internal_time), (gst_clock_get_time),
382         (gst_clock_slave_callback), (gst_clock_set_master),
383         (gst_clock_get_master), (do_linear_regression),
384         (gst_clock_add_observation), (gst_clock_set_property),
385         (gst_clock_get_property):
386         * gst/gstclock.h:
387         Implement master/slave. When setting a clock as a slave, a
388         periodic timeout is scheduled to sample master and slave times.
389         Then the slave clock is recalibrated to match offset and rate
390         of the master clock.
391         Update logging a bit.
392         Add flag so that a clock can state that is cannot be slaved to
393         another clock.
394
395         * gst/gstelement.c: (gst_element_set_clock):
396         * gst/gstelement.h:
397         The set clock returns a gboolean for when an element cannot
398         deal with the selected clock in the pipeline. 
399
400         * gst/gstpipeline.c: (gst_pipeline_change_state),
401         (gst_pipeline_set_clock):
402         * gst/gstpipeline.h:
403         Handle the case where the selected clock cannot be set on
404         the pipeline.
405
406         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
407         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
408         (gst_net_client_clock_set_property),
409         (gst_net_client_clock_get_property),
410         (gst_net_client_clock_observe_times):
411         * gst/net/gstnetclientclock.h:
412         Use regression code in GstClock parent, remove duplicated
413         functionality.
414
415 2005-11-22  Michael Smith <msmith@fluendo.com>
416
417         * gst/gstutils.c: (gst_util_clock_time_scale):
418         * gst/gstutils.h:
419         * docs/gst/gstreamer-sections.txt:
420           Rename method to have extra underscore.
421
422 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
423
424         * gst/elements/Makefile.am:
425         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
426         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
427         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
428         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
429         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
430         * gst/elements/gstfakesrc.h:
431         * gst/gstqueue.c: (queue_leaky_get_type):
432           correctly fix GEnumValues so that nick is the short lowercase
433           dashed tag
434         * tools/gst-inspect.c: (print_element_properties_info):
435           also show the nick, since it's useful to use from parse_launch
436           syntax
437           Fixes #322139
438
439 2005-11-22  Michael Smith <msmith@fluendo.com>
440
441         * gst/gstutils.c: (gst_util_clocktime_scale):
442         * gst/gstutils.h:
443         * docs/gst/gstreamer-sections.txt:
444           Add util method for scaling a clocktime by a fraction. Useful 
445           implementation is left as an exercise for the reader.
446
447 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
448
449         * gst/gstvalue.c: (gst_value_collect_fraction_range):
450         If needed, allocate storage in the destination value during
451         collection.
452
453 2005-11-22  Edward Hervey  <edward@fluendo.com>
454
455         * docs/gst/gstreamer-sections.txt:
456         * gst/Makefile.am:
457         * gst/gst.h:
458         * gst/gsturitype.c:
459         * gst/gsturitype.h:
460         * gst/gstutils.c: (gst_util_set_object_arg):
461         * tools/gst-compprep.c: (main):
462         * tools/gst-inspect.c: (print_element_properties_info):
463         Removed GstURI, closes bug #321061
464
465 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
466
467         * check/gst/gststructure.c: (GST_START_TEST):
468         * gst/gststructure.c: (gst_structure_parse_value):
469           Oops, broke automatic string type parsing.
470           Add a test to catch it in future.
471
472 2005-11-22  Andy Wingo  <wingo@pobox.com>
473
474         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
475         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
476         Actually rename the function implementations. Grr.
477
478 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
479
480         * check/gst/capslist.h:
481           Comment test cases
482         * check/gst/gststructure.c: (GST_START_TEST),
483         (gst_structure_suite):
484           Test automatic value type detection in gst_structure_from_string.
485         * gst/gststructure.c: (gst_structure_parse_value):
486           Add fraction as a type we try and guess automatically in
487           caps/structure strings.
488
489 2005-11-22  Andy Wingo  <wingo@pobox.com>
490
491         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
492
493         * gst/gsttagsetter.h:
494         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
495         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
496         (gst_tag_setter_add_tag_valist)
497         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
498         _add_values, _add_valist, and _add_valist_values. Since this is an
499         interface the function suffixes should be more explicit so
500         language binding don't end up with element.add_valist ->
501         gst_tag_setter_add_valist, for example. Fixes #322069.
502
503 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
504
505         * check/gst/gstcaps.c: (GST_START_TEST):
506           Extend caps string tests to check that a caps to string
507           conversion is reversible and produces the same caps.
508
509         * gst/gststructure.c: (gst_structure_value_get_generic_type):
510           Output "fraction" as the generic type fraction range, so caps
511           serialisation and deserialisation works.
512         * check/gst/capslist.h:
513         * gst/gstvalue.c: (gst_value_deserialize_fraction):
514           Support 'MIN' and 'MAX' for deserialising fractions.
515
516 2005-11-22  Andy Wingo  <wingo@pobox.com>
517
518         * gst/gstevent.h (gst_event_new_new_segment)
519         (gst_event_parse_new_segment, gst_event_new_buffer_size)
520         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
521         Renamed from *_newsegment, *_buffersize, *_notarget.
522
523         * scripts/update-funcnames: New script, performs the changes
524         listed above.
525
526 2005-11-22  Wim Taymans  <wim@fluendo.com>
527
528         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
529         Make sure the GstFlowReturn is returned.
530
531         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
532         (gst_bus_add_signal_watch):
533         * gst/gstbus.h:
534         add gst_bus_add_signal_watch_full.
535
536         * gst/gstplugin.c: (gst_plugin_load_file):
537         Small style cleanup.
538
539 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
540
541         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
542           Block the fakesrc srcpad when we send an event, to avoid
543           contention on the stream_lock causing random test failures.
544
545 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
546
547         * check/gst/gstvalue.c: (GST_START_TEST):
548         * gst/gstvalue.c: (gst_value_fraction_subtract):
549           Fix subtraction.
550
551 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
552
553         * gst/gst.h:
554           include "gstchildproxy.h"
555         * gst/gstchildproxy.h:
556         * libs/gst/controller/gstcontroller.h:
557           use G_GNUC_NULL_TERMINATED
558
559 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
560
561         * check/gst/capslist.h:
562         * check/gst/gstcaps.c: (GST_START_TEST):
563         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
564         * gst/gststructure.c: (gst_structure_parse_range),
565         (gst_structure_fixate_field_nearest_fraction):
566         * gst/gststructure.h:
567         * gst/gstvalue.c: (gst_value_init_fraction_range),
568         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
569         (gst_value_collect_fraction_range),
570         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
571         (gst_value_set_fraction_range_full),
572         (gst_value_get_fraction_range_min),
573         (gst_value_get_fraction_range_max),
574         (gst_value_serialize_fraction_range),
575         (gst_value_transform_fraction_range_string),
576         (gst_value_compare_fraction_range),
577         (gst_value_deserialize_fraction_range),
578         (gst_value_intersect_fraction_fraction_range),
579         (gst_value_intersect_fraction_range_fraction_range),
580         (gst_value_subtract_fraction_fraction_range),
581         (gst_value_subtract_fraction_range_fraction),
582         (gst_value_subtract_fraction_range_fraction_range),
583         (gst_value_collect_fraction), (gst_value_fraction_multiply),
584         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
585         (gst_value_transform_string_fraction), (_gst_value_initialize):
586         * gst/gstvalue.h:
587           Implement fraction ranges and extend GstFraction to support
588           arithmetic subtraction, as well as deserialization from integer
589           strings such as "100"
590           Add a testsuite as for int and double range set operations
591
592 2005-11-21  Andy Wingo  <wingo@pobox.com>
593
594         * gst/gsttaglist.h: 
595         * gst/gstcaps.h: 
596         * gst/gststructure.h: Add glib-compat.h.
597
598 2005-11-21  Wim Taymans  <wim@fluendo.com>
599
600         * gst/gstbin.c: (gst_bin_change_state_func):
601         Fix for #321595
602
603 2005-11-21  Wim Taymans  <wim@fluendo.com>
604
605         * gst/gstsegment.h:
606         And add a nice define too.
607
608 2005-11-21  Wim Taymans  <wim@fluendo.com>
609
610         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
611         (gst_segment_new), (gst_segment_free), (gst_segment_init),
612         (gst_segment_set_duration), (gst_segment_set_last_stop),
613         (gst_segment_set_seek), (gst_segment_set_newsegment),
614         (gst_segment_to_stream_time), (gst_segment_to_running_time),
615         (gst_segment_clip):
616         * gst/gstsegment.h:
617         Make binding friendly.
618
619 2005-11-21  Andy Wingo  <wingo@pobox.com>
620
621         * gst/gsttagsetter.h: 
622         * gst/gsttaglist.h: 
623         * gst/gststructure.h: 
624         * gst/gstcaps.h: 
625         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
626         #319940.
627
628         * gst/gsterror.c (_gst_core_errors_init):
629         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
630         category.
631
632         * gst/Makefile.am (gst_headers): Add glib-compat.h.
633         (noinst_HEADERS): noinst the -private.
634
635 2005-11-21  Michael Smith <msmith@fluendo.com>
636
637         * gst/gstplugin.h:
638         * gst/gstregistry.h:
639           Remove unimplemented declarations for which we can see no sensible
640           use.
641
642 2005-11-21  Andy Wingo  <wingo@pobox.com>
643
644         * gst/gst.h: Include glib-compat.h.
645
646         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
647
648         * gst/glib-compat.c: Include the public and the private header.
649
650         * gst/glib-compat-private.h: Copied here from glib-compat.h.
651
652         * gst/gstvalue.c: 
653         * gst/gstpad.c: 
654         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
655
656         * check/gst/gstevent.c (create_custom_events): Check that
657         FLUSH_STOP is serialized.
658
659         * check/elements/identity.c (event_func): 
660         * check/elements/fakesrc.c (event_func): No stream lock, the core
661         takes it.
662
663         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
664         stream lock taking, yay.
665
666         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
667         ensure that core takes the stream lock.
668
669         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
670         lock name change.
671
672         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
673         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
674         it already. For the flush start we do take it though so we get the
675         right preroll state change messages.
676
677         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
678         the stream lock here, the core does it for us.
679
680         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
681         GST_STREAM_GET_LOCK.
682         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
683         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
684         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
685         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
686         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
687         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
688
689         * gst/gstpad.c: Update for stream lock name change.
690
691         * gst/base/gstbasesink.c: Update for preroll lock name change.
692
693 2005-11-21  Wim Taymans  <wim@fluendo.com>
694
695         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
696         (gst_clock_get_master):
697         * gst/gstclock.h:
698         * gst/gstsystemclock.c: (gst_system_clock_init):
699         Convert Clock flags to object flags.
700         Added methods to manage master/slave clocks.
701
702 2005-11-21  Wim Taymans  <wim@fluendo.com>
703
704         * check/gst/gstsegment.c: (GST_START_TEST):
705         * docs/design/part-TODO.txt:
706         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
707         (gst_base_sink_event), (gst_base_sink_do_sync),
708         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
709         (gst_base_sink_query), (gst_base_sink_change_state):
710         * gst/base/gstbasesink.h:
711         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
712         (gst_base_src_default_newsegment),
713         (gst_base_src_configure_segment), (gst_base_src_do_seek),
714         (gst_base_src_get_range), (gst_base_src_loop),
715         (gst_base_src_change_state):
716         * gst/base/gstbasesrc.h:
717         * gst/base/gstbasetransform.c:
718         (gst_base_transform_prepare_output_buf),
719         (gst_base_transform_event), (gst_base_transform_change_state):
720         * gst/base/gstbasetransform.h:
721         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
722         (gst_collect_pads_event):
723         * gst/base/gstcollectpads.h:
724         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
725         (gst_fake_src_create):
726         * gst/elements/gstfakesrc.h:
727         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
728         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
729         (gst_segment_set_last_stop), (gst_segment_set_seek),
730         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
731         (gst_segment_to_running_time), (gst_segment_clip):
732         * gst/gstsegment.h:
733         More segment updates, replace code in plugins with segment
734         helper functions.
735
736 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
737
738         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
739         Don't ignore sscanf results
740
741 2005-11-21  Andy Wingo  <wingo@pobox.com>
742
743         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
744
745         * *.h:
746         * *.c: Ran scripts/update-macros. Oh yes.
747
748         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
749         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
750         GST_GET_LOCK, etc.
751
752         * scripts/update-macros: New script. Run it on your files to
753         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
754         well.
755
756 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
757
758         * docs/gst/Makefile.am:
759         * docs/gst/gstreamer-docs.sgml:
760         * docs/gst/gstreamer-sections.txt:
761         * docs/gst/gstreamer.types:
762         * gst/gstinfo.h:
763           more docs fixes, add new api to the docs
764
765 2005-11-21  Andy Wingo  <wingo@pobox.com>
766
767         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
768         state_broadcast call.
769
770         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
771
772 2005-11-21  Julien MOUTTE  <julien@moutte.net>
773
774         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
775         function calls for arrays.
776
777 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
778
779         * docs/random/ensonic/media-device-daemon.txt:
780           wild idea, can this be done?
781         * docs/gst/gstreamer-sections.txt:
782         * gst/gsterror.h:
783         * gst/gstfilter.c:
784         * gst/gstfilter.h:
785         * gst/gstplugin.h:
786         * gst/gstpluginfeature.c:
787         * gst/gsttrace.c:
788         * gst/gstvalue.c:
789         * gst/gstvalue.h:
790           doc fixes and additions
791
792 2005-11-21  Andy Wingo  <wingo@pobox.com>
793
794         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
795         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
796         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
797         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
798         private to the basesrc implementation.
799
800         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
801         behalf of event function if necessary. It should no longer be
802         necessary to take the stream lock in pad's event functions. Fixes
803         #320299.
804
805 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
806         * docs/gst/gstreamer-sections.txt:
807         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
808         (gst_structure_fixate_field_nearest_double),
809         (gst_structure_fixate_field_boolean):
810         * gst/gststructure.h:
811         * win32/common/libgstreamer.def:
812         * win32/gstreamer.def:
813
814         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
815         (#322027)
816
817 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
818
819         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
820         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
821         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
822         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
823         (gst_fdsrc_uri_handler_init):
824         * gst/elements/gstfdsrc.h:
825           Port fd:// URI handler from 0.8 to fdsrc
826
827 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
828
829         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
830         (gst_value_serialize_fourcc):
831         * gst/gstvalue.h:
832           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
833           consistent with our other format defines (#320324).
834
835 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
836
837         * gst/gstvalue.c: (gst_value_is_fixed):
838           Revert previous commit. Value lists are by definition
839           not fixed, as they are a list of possible values.
840
841 2005-11-21  Andy Wingo  <wingo@pobox.com>
842
843         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
844         during the stable series if we need it. Fixes #319178.
845
846         * gst/gstevent.c (gst_event_new_filler): Removed.
847
848         * check/gst/gstevent.c: Update comment about filler events.
849
850 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
851
852         * gst/gstvalue.c: (gst_value_is_fixed):
853           Should handle both value arrays and value lists.
854
855 2005-11-21  Andy Wingo  <wingo@pobox.com>
856
857         patch by: Alessandro Dessina <alessandro nnva org>
858
859         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
860         functions to access arrays. Fixes #321962.
861
862 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
863
864         * docs/gst/gstreamer.types:
865           gst_collectpads_get_type => gst_collect_pads_get_type.
866           
867         * gst/base/gstbasetransform.c:
868           Remove unused SIGNAL_HANDOFF enum.
869
870 2005-11-21  Andy Wingo  <wingo@pobox.com>
871
872         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
873         the event type (upstream, downstream, serialized). Renamed
874         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
875         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
876         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
877
878         * gst/gstevent.c: Update for new CUSTOM event names.
879
880         * check/gst/gstevent.c: Update check for new CUSTOM event names.
881
882         * gst/gstevent.h:
883         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
884         bug #319392.
885
886 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
887
888         * docs/gst/gstreamer-sections.txt:
889         * win32/common/libgstbase.def:
890         * win32/libgstbase.def:
891         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
892         (gst_collect_pads_class_init), (gst_collect_pads_init),
893         (gst_collect_pads_finalize), (gst_collect_pads_new),
894         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
895         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
896         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
897         (gst_collect_pads_start), (gst_collect_pads_stop),
898         (gst_collect_pads_peek), (gst_collect_pads_pop),
899         (gst_collect_pads_available), (gst_collect_pads_read),
900         (gst_collect_pads_flush), (gst_collect_pads_event),
901         (gst_collect_pads_chain):
902         * gst/base/gstcollectpads.h:
903           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
904           unimplemented functions as unimplemented. Add padding to
905           GstCollectData. (#320766, #320423)
906
907 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
908
909         * gst/gstmessage.c:
910           Improve docs for DURATION message (usage of duration parameter)
911           (#320113)
912
913 2005-11-20  Wim Taymans  <wim@fluendo.com>
914
915         * check/Makefile.am:
916         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
917         (main):
918         * gst/Makefile.am:
919         * gst/gst.h:
920         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
921         (gst_segment_set_seek), (gst_segment_set_newsegment),
922         (gst_segment_to_stream_time), (gst_segment_to_running_time),
923         (gst_segment_clip):
924         * gst/gstsegment.h:
925         Added segment helper structure and methods. Not fully implemented
926         yet.
927         Added segment check.
928
929 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
930
931         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
932           Add a deserialisation test for fractions
933         * examples/metadata/read-metadata.c: (message_loop),
934         (make_pipeline), (main):
935           Fix up metadata reading sample.
936         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
937           Debug format fix
938         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
939           Don't try and fixate empty caps
940         * gst/gst_private.h:
941           Wrap in G_BEGIN_DECLS/G_END_DECLS
942         * gst/gstvalue.c: (gst_value_collect_fraction),
943         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
944         (gst_value_transform_string_fraction),
945         (gst_value_compare_fraction):
946           Add some extra guards to ensure that we don't end up 
947           with an invalid denominator of 0 in a gstfraction and
948           that fractions always get reduced.
949
950 2005-11-20  Wim Taymans  <wim@fluendo.com>
951
952         * docs/gst/gstreamer-sections.txt:
953         * gst/gstbuffer.h:
954         * gst/gstelement.c:
955         * gst/gstformat.c:
956         * gst/gstformat.h:
957         * gst/gstindex.h:
958         * gst/gstquery.c:
959         * gst/gstquery.h:
960         * gst/gstvalue.c:
961         Doc fixes.
962
963 2005-11-20  Wim Taymans  <wim@fluendo.com>
964
965         * docs/design/part-TODO.txt:
966         * gst/gstcaps.h:
967         Make a proper enum of the flag.
968
969 2005-11-19  Wim Taymans  <wim@fluendo.com>
970
971         * docs/design/part-TODO.txt:
972         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
973         (gst_format_to_quark), (gst_format_register):
974         * gst/gstformat.h:
975         * gst/gstquery.c: (_gst_query_initialize),
976         (gst_query_type_get_name), (gst_query_type_to_quark),
977         (gst_query_type_register):
978         * gst/gstquery.h:
979         Add type to quark and type to string conversions.
980
981 2005-11-19  Andy Wingo  <wingo@pobox.com>
982
983         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
984         #320097.
985
986 2005-11-19  Wim Taymans  <wim@fluendo.com>
987
988         * docs/design/part-TODO.txt:
989         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
990         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
991         (gst_bin_handle_message_func):
992         * gst/gstbin.h:
993         Make message handling overridable.
994
995 2005-11-19  Andy Wingo  <wingo@pobox.com>
996
997         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
998
999         * gst/gstclock.h:
1000         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1001         be a GstClockTime.
1002         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1003         is a GstClockTime. Fixes #321710.
1004
1005         * gst/gstclock.h (GstClock): Remove offset property. Add
1006         internal_calibration and external_calibration. Fix padding. Pad
1007         also by GstClockTime so we don't run into problems.
1008
1009         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1010         (gst_clock_get_rate_offset): Remove.
1011         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1012
1013         * gst/gstutils.h:
1014         * gst/gstutils.c (g_static_rec_cond_wait)
1015         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1016
1017         * gst/gstbin.c: Remove terrible continue_state prototype.
1018
1019         * gst/gstelement.h (gst_element_continue_state): Make public.
1020
1021         * gst/gstelement.h:
1022         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1023         by continue_state. Fixes #319389.
1024
1025         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1026         Really fixes #168438. However I don't see anywhere where the
1027         filter function is called... stupid GStreamer...
1028         
1029         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1030         don't have a dispose function, so it won't get called when the
1031         object is unreffed, but oh well!
1032
1033         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1034         allows a destroy function to be set so user_data can be freed.
1035         Fixes #168438.
1036         (gst_index_set_filter): Call gst_index_set_filter_full.
1037
1038         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1039
1040         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1041         string should produce an error, given the lack of a way to
1042         represent NULL strings. Fixes #165650.
1043         
1044         * gst/gstvalue.h: 
1045         * gst/gstvalue.c (gst_value_array_append_value) 
1046         (gst_value_array_prepend_value, gst_value_array_get_size) 
1047         (gst_value_array_get_value): New API, copied from
1048         gst_value_list_*, only operates on arrays.
1049         (gst_value_list_append_value, gst_value_list_prepend_value) 
1050         (gst_value_list_concat, gst_value_list_get_size) 
1051         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1052
1053         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1054         init_list, because it works on both.
1055         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1056         (gst_value_copy_list_or_array): Renamed from copy_list.
1057         (gst_value_free_list_or_array): Renamed from free_list.
1058         (gst_value_collect_list_or_array): Renamed from collect_list.
1059         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1060         (gst_value_list_or_array_peek_pointer): Renamed from
1061         list_peek_pointer.
1062         (_gst_value_array_value_table, _gst_value_list_value_table):
1063         Update value table functions.
1064         (gst_value_compare_list_or_array): Renamed from compare_list.
1065
1066         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1067         some constness.
1068
1069         * gst/gsttaglist.c:
1070         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1071         GstTagList*. Fixes #143472.
1072
1073         * gst/gststructure.h: Clarify what the foreach/map functions can
1074         or can't do to their arguments.
1075
1076 2005-11-18  Wim Taymans  <wim@fluendo.com>
1077
1078         * gst/gstclock.c: (gst_clock_set_calibration),
1079         (gst_clock_get_calibration):
1080         Doc and API fixes.
1081         Calibration can be set with internal time equal to current
1082         internal time too.
1083
1084 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1085
1086         * gst/gsterror.c:
1087         * gst/gsterror.h:
1088           document
1089
1090 2005-11-18  Andy Wingo  <wingo@pobox.com>
1091
1092         * configure.ac: 
1093         * pkgconfig/gstreamer-net.pc.in:
1094         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1095         * pkgconfig/Makefile.am: Add net pkgconfig files.
1096
1097 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1098
1099         * gst/gstcaps.c:
1100         * gst/gstghostpad.c:
1101         * gst/gsttrace.c:
1102         * gst/gstvalue.c:
1103         * gst/gstvalue.h:
1104           docs fixes
1105
1106 2005-11-18  Andy Wingo  <wingo@pobox.com>
1107
1108         * gst/net/gstnetclientclock.c: Turn off debugging.
1109
1110         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1111         times connverge somewhat. Can't make a real test.
1112
1113         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1114         integer arithmetic. Return the minimum of the domain, which can be
1115         set as "internal" for gst_clock_set_calibration.
1116         (gst_net_client_clock_observe_times): Call _set_calibration.
1117         (gst_net_client_clock_new): Call _set_calibration instead of
1118         rate_offset.
1119
1120         * check/net/gstnetclientclock.c (test_functioning): Use the right
1121         adjustment api.
1122
1123         * gst/gstclock.h:
1124         * gst/gstclock.c (gst_clock_get_calibration) 
1125         (gst_clock_set_calibration): New functions, obsolete the ones I
1126         added yesterday. Doh. Precision issues mean we have to extrapolate
1127         from a point in the more recent past than 1970.
1128         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1129         obsolete.
1130         (gst_clock_adjust_unlocked): Use the right calibration data.
1131
1132 2005-11-18  Edward Hervey  <edward@fluendo.com>
1133
1134         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1135         Also reset the ->current_* values in READY->PAUSED
1136
1137 2005-11-18  Andy Wingo  <wingo@pobox.com>
1138
1139         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1140         Whoops, check the right fd. Also add some debugging.
1141         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1142         (do_linear_regression): Add a crapload of debugging. Subtract off
1143         the minimum values from the input series to discard unneeded bits.
1144         Use only int arithmetic. There is still double arithmetic when
1145         calculating the intercept that needs fixing. Return boolean to
1146         indicate success; FALSE would mean the domain or range is too
1147         great. Still needs fixes.
1148
1149 2005-11-18  Wim Taymans  <wim@fluendo.com>
1150
1151         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1152         For the current position in stream time, we need to subtract
1153         accumulated time.
1154         
1155         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1156         Release lock before calling the callback function of async
1157         entries.
1158
1159 2005-11-18  Andy Wingo  <wingo@pobox.com>
1160
1161         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1162         Port goes all the way to MAXUINT16.
1163
1164         * gst/net/gstnettimeprovider.c: Make the port range the same as
1165         for the kernel: 0 assigns, otherwise ports are less than
1166         MAXUINT16.
1167
1168         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1169         port change.
1170
1171         * check/net/gstnetclientclock.c (test_functioning): Add the start
1172         of another test. 
1173
1174 2005-11-18  Wim Taymans  <wim@fluendo.com>
1175
1176         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1177         (gst_bin_remove_func), (bin_bus_handler):
1178         * gst/gstbin.h:
1179         Removing a clock provider from a bin, triggers a clock lost message
1180         so that a new clock will be selected.
1181         Adding a clock to a bin triggers a clock provider message.
1182         Make sure we reselect a clock when we received a clock lost message.
1183         Keep a reference to the element that provided the clock.
1184
1185 2005-11-18  Andy Wingo  <wingo@pobox.com>
1186
1187         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1188         the clock initially so it produces values around the base time.
1189         (gst_net_client_clock_class_init): Typo fix.
1190         (gst_net_client_clock_thread): Add note on when the socket gets
1191         closed.
1192
1193 2005-11-17  Wim Taymans  <wim@fluendo.com>
1194
1195         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1196         Free remote and local time arrays.
1197
1198 2005-11-17  Wim Taymans  <wim@fluendo.com>
1199
1200         * gst/net/gstnetclientclock.c: (do_linear_regression),
1201         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1202         Fix compilation, uninitialized vars and a forgotten continue.
1203
1204 2005-11-17  Andy Wingo  <wingo@pobox.com>
1205
1206         * check/Makefile.am (check_PROGRAMS): 
1207         * check/net/gstnetclientclock.c: Add a most minimal test for the
1208         net client clock. More to come later.
1209
1210         * gst/net/gstnet.h: 
1211         * gst/net/Makefile.am: Add netclientclock.
1212
1213         * gst/net/gstnetclientclock.h:
1214         * gst/net/gstnetclientclock.c: New files, implement an untested
1215         GstClock that takes its time from a network time provider.
1216         Implements the algorithm in network-clock.scm.
1217
1218         * tests/network-clock.scm (*window-size*): Rename from
1219         *queue-length*.
1220         * tests/network-clock.scm (network-time): 
1221         * tests/network-clock-utils.scm (q-push): Update callers.
1222
1223 2005-11-17  Wim Taymans  <wim@fluendo.com>
1224
1225         * gst/gstbin.c: (gst_bin_provide_clock_func),
1226         (gst_bin_sort_iterator_new):
1227         And unref the child too..
1228
1229 2005-11-17  Wim Taymans  <wim@fluendo.com>
1230
1231         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1232         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1233         Refactor the sort iterator so it can be used while holding the
1234         LOCK too.
1235         Make clock selection select a clock closest to the source.
1236
1237 2005-11-17  Michael Smith <msmith@fluendo.com>
1238
1239         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1240         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1241         * gst/gstclock.h:
1242           Anonymous structs are a gcc (and some other compilers) extension, so
1243           don't use them. Since this is only for ABI-compatibility, and our
1244           API/ABI freeze is over in a few days, this whole thing will only
1245           last a few days, so don't bother trying to think up a meaningful
1246           name for the struct.
1247
1248 2005-11-17  Andy Wingo  <wingo@pobox.com>
1249
1250         * gst/gstclock.h (GstClock): Add rate and offset properties,
1251         preserving ABI stability. Add rate/offset accessors. Will file bug
1252         for the freeze break.
1253
1254         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1255         and offset, trying to keep precision and avoiding
1256         underflow/overflow.
1257         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1258         functions. Make gst_clock_set_time_adjust obsolete.
1259         (gst_clock_set_time_adjust): Note that this function is obsolete.
1260         Will file bug soon.
1261
1262         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1263         greppable by using GST_PADDING-1+1.
1264
1265 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1266
1267         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1268
1269         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1270           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1271
1272         * gst/gstpadtemplate.h:
1273         * gst/gstpluginfeature.h:
1274           Don't use c++ style comments in headers (#321638).
1275
1276 2005-11-16  Andy Wingo  <wingo@pobox.com>
1277
1278         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1279         buffer.
1280
1281         * check/net/gstnettimeprovider.c: Check to see that the time
1282         provider actually provides times. Works, yo!
1283
1284 2005-11-16  Wim Taymans  <wim@fluendo.com>
1285
1286         * check/Makefile.am:
1287         Enable more tests.
1288
1289         * check/elements/fakesrc.c: (GST_START_TEST):
1290         Set element to NULL before disposing it.
1291
1292 2005-11-16  Andy Wingo  <wingo@pobox.com>
1293
1294         * gst/net/Makefile.am:
1295         * gst/net/gstnet.h:
1296         * gst/net/gstnettimeprovider.c: 
1297         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1298         provider, include it from gstnet.h, and add it to the build.
1299
1300         * gst/net/gstnettimepacket.h: 
1301         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1302         sending and receiving.
1303
1304 2005-11-16  Wim Taymans  <wim@fluendo.com>
1305
1306         * check/Makefile.am:
1307         Enable valgrind check.
1308
1309         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1310         (gst_fake_src_alloc_buffer):
1311         Fix memleak.
1312
1313 2005-11-16  Wim Taymans  <wim@fluendo.com>
1314
1315         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1316         Call parent finalize too.
1317
1318 2005-11-16  Wim Taymans  <wim@fluendo.com>
1319
1320         * check/Makefile.am:
1321         Enable valgrind check that should work fine now.
1322
1323         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1324         * gst/gstqueue.c: (gst_queue_init):
1325         Fix memleaks in pad allocation.
1326
1327 2005-11-16  Andy Wingo  <wingo@pobox.com>
1328
1329         * gst/net/Makefile.am:
1330         * gst/net/gstnet.h: New part of core to hold network elements and
1331         objects. Put in core because it exposes API that applications want
1332         to use. The library is named libgstnet-tempname right now because
1333         of the existing libgstnet in gst-plugins-base. Solution is
1334         probably to rename the one in plugins-base; will file a bug for
1335         the freeze break.
1336
1337         * gst/net/gstnettimeprovider.c: 
1338         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1339         get_time call over the network.
1340
1341         * configure.ac: 
1342         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1343
1344         * check/Makefile.am:
1345         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1346         get additions shortly.
1347
1348 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1349
1350         * gst/gstpad.c: (gst_pad_new_from_static_template):
1351         * gst/gstpad.h:
1352           add gst_pad_new_from_static_template functions
1353         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1354         (gst_check_setup_sink_pad):
1355         * gst/elements/gsttee.c: (gst_tee_init):
1356           and use them
1357
1358 2005-11-16  Wim Taymans  <wim@fluendo.com>
1359
1360         * gst/gstpad.c: (gst_pad_pause_task):
1361         Removed warning, it's not really an error either.
1362
1363 2005-11-16  Wim Taymans  <wim@fluendo.com>
1364
1365         * gst/base/gstbasetransform.c:
1366         (gst_base_transform_prepare_output_buf),
1367         (gst_base_transform_event):
1368         Check if the caps are NULL, this can happen if the element
1369         is shutting down and the pad caps are set to NULL.
1370
1371 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1372
1373         * gst/elements/gsttee.c: (gst_tee_init):
1374           fix pad template leak in tee
1375
1376 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1377
1378         * gst/glib-compat.c: (g_value_dup_gst_object):
1379         * gst/glib-compat.h:
1380         * gst/gstpad.c: (gst_pad_set_property):
1381           use gst_object_ref when setting the pad template; this will
1382           trigger the pad template leaks on GLib 2.6 and the slaves
1383
1384 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1385
1386         * gst/glib-compat.c: (gst_flags_get_first_value):
1387         * gst/glib-compat.h:
1388         * gst/gstregistryxml.c:
1389           remove functions copied from GLib 2.6
1390
1391 2005-11-16  Michael Smith <msmith@fluendo.com>
1392
1393         * gst/Makefile.am:
1394           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1395           do, but only breaks with newer valgrind versions. We're not a
1396           valgrind tool, we have no link-time dependencies on libcoregrind.
1397
1398 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1399
1400         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1401           some debug changes
1402         * gst/gstmessage.h:
1403           typo fixes
1404
1405 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1406
1407         * gst/base/gstbasesrc.c: (gst_base_src_init):
1408         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1409         * gst/gstqueue.c: (gst_queue_init):
1410         * gst/gstregistryxml.c: (load_feature):
1411           Revert all these unrefs, they don't even pass make check !
1412
1413 2005-11-15  Johan Dahlin  <johan@gnome.org>
1414
1415         * gst/base/gstbasesrc.c: (gst_base_src_init):
1416         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1417         * gst/gstqueue.c: (gst_queue_init): 
1418         Free pad templates, fixes a couple of leaks.
1419
1420 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1421
1422         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1423
1424         * gst/gstpad.c: (gst_pad_get_property):
1425           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1426           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1427           (#321452)
1428
1429 2005-11-15  Wim Taymans  <wim@fluendo.com>
1430
1431         * gst/gstevent.c:
1432         Small doc update.
1433
1434 2005-11-15  Andy Wingo  <wingo@pobox.com>
1435
1436         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1437
1438         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1439         using GST_CLOCK_TIME_NONE to disable base time management.
1440         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1441         time if it was NONE before.
1442         (gst_pipeline_change_state): Only munge the base time if
1443         stream_time != GST_CLOCK_TIME_NONE.
1444
1445         * check/gst/gstpipeline.c (test_base_time): Punt around the
1446         problem of the probe not being called, because that's not the
1447         issue I'm looking at. Add a check that setting stream_time to NONE
1448         disables base time management.
1449         
1450 2005-11-15  Wim Taymans  <wim@fluendo.com>
1451
1452         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1453         segment_stop == -1 at startup.
1454
1455         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1456         (gst_base_transform_change_state):
1457         Init segment values at start.
1458
1459 2005-11-15  Wim Taymans  <wim@fluendo.com>
1460
1461         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1462         0 segment values are 0 in any format.
1463
1464         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1465         * gst/base/gstbasetransform.h:
1466         Parse newsegment correctly in basetransform
1467
1468         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1469         Sync to clock using updated segment values.
1470
1471 2005-11-15  Andy Wingo  <wingo@pobox.com>
1472
1473         * check/gst/gstpipeline.c (test_base_time): Add check that the
1474         base time and stream time are reset correctly.
1475
1476 2005-11-15  Wim Taymans  <wim@fluendo.com>
1477
1478         * docs/design/part-TODO.txt:
1479         Some more TODO items.
1480
1481 2005-11-15  Andy Wingo  <wingo@pobox.com>
1482
1483         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1484         error if the user selected "no clock" as the clocking method.
1485
1486         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1487         timestamps with live capture.
1488
1489         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1490         is 0 but we are a live source, timestamp the buffers using the
1491         element's clock.
1492
1493 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1494
1495         * docs/gst/gstreamer-sections.txt:
1496         * gst/gsterror.c:
1497         * gst/gstghostpad.c:
1498         * gst/gstobject.h:
1499         * gst/gstxml.c:
1500           more section docs
1501
1502 2005-11-14  Wim Taymans  <wim@fluendo.com>
1503
1504         * common/gst.supp:
1505           add suppressions from Wim's Debian machine
1506
1507 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1508
1509         * common/gst.supp:
1510           add suppressions from Andy's AMD64 Ubuntu machine
1511
1512 2005-11-14  Andy Wingo  <wingo@pobox.com>
1513
1514         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1515         STATE_LOCK not necessary. Fixes #311489.
1516
1517         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1518         #305291.
1519
1520         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1521         this function is not implemented.
1522
1523 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1524
1525         * gst/base/gstbasetransform.c:
1526         (gst_base_transform_prepare_output_buf):
1527         Ref the source pad caps while we need them.
1528         Fixes (#321386)
1529
1530 2005-11-11  Wim Taymans  <wim@fluendo.com>
1531
1532         * docs/gst/gstreamer-sections.txt:
1533         Added some docs for GstCollectData.
1534
1535         * gst/base/gstadapter.c:
1536         Some small code example fix.
1537
1538         * gst/base/gstcollectpads.c:
1539         * gst/base/gstcollectpads.h:
1540         Document some more.
1541
1542 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1543
1544         * configure.ac: back to HEAD
1545
1546 === release 0.9.5 ===
1547
1548 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
1549
1550         * configure.ac:
1551           releasing 0.9.5, "Bike Lunch Day"
1552
1553 2005-11-11  Wim Taymans  <wim@fluendo.com>
1554
1555         * gst/gstbuffer.c: (_gst_buffer_copy):
1556         Copy more flags.
1557
1558         * gst/gstcaps.c: (gst_caps_is_equal):
1559         Fix some docs.
1560         Make _is_equal fast in the trivial cases.
1561
1562         * gst/gstminiobject.c:
1563         * gst/gstminiobject.h:
1564         More docs. Spifify .h file.
1565
1566         * gst/gstutils.c:
1567         Small doc update.
1568
1569 2005-11-11  Wim Taymans  <wim@fluendo.com>
1570
1571         * gst/base/gstbasetransform.c:
1572         (gst_base_transform_prepare_output_buf),
1573         (gst_base_transform_handle_buffer):
1574         Small cleanups.
1575         If we're processing a buffer and need to allocate an output
1576         buffer, we cannot accept a format change. If we did get a 
1577         format change, we have to alloc a buffer ourselves of the 
1578         right size.
1579
1580 2005-11-11  Wim Taymans  <wim@fluendo.com>
1581
1582         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1583         While checking the flag for reentrancy in the gstcaps function
1584         is nice to detect recursive invocations, it also makes it 
1585         impossible to call getcaps from multiple threads, which must be
1586         possible. So, checking for recursive calls has to go.
1587
1588 2005-11-11  Michael Smith <msmith@fluendo.com>
1589
1590         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1591           Don't sync on buffers that fall partially outside our current
1592           segment. Prevents an assertion failure/abort playing some files.
1593
1594 2005-11-10  Andy Wingo  <wingo@pobox.com>
1595
1596         * check/gst/gstbin.c (test_message_state_changed_children): Style
1597         fix..
1598
1599         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1600         gst_bus_poll with the signal watch. Ensures that poll and a signal
1601         watch see the same messages.
1602
1603         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1604         a poll and a watch at the same time get the same messages.
1605
1606 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1607
1608         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1609         * gst/gstcaps.c: (gst_caps_intersect):
1610           Don't call gst_caps_do_simplify - it doesn't respect order of caps
1611           and it's not needed.
1612
1613 2005-11-10  Wim Taymans  <wim@fluendo.com>
1614
1615         * docs/design/part-TODO.txt:
1616         Updated todo.
1617
1618 2005-11-10  Wim Taymans  <wim@fluendo.com>
1619
1620         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1621         * gst/base/gstbasesrc.c: (gst_base_src_wait),
1622         (gst_base_src_do_sync), (gst_base_src_get_range):
1623         Implement clock sync in base class.
1624
1625 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1626
1627         patch by: Tim-Philipp Müller <tim at centricular dot net>
1628
1629         * gst/gststructure.c: (gst_structure_parse_field),
1630         (gst_structure_from_string):
1631           Forward-port a 0.8 patch to handle escaped spaces in structure string,
1632           so that gst_parse_launch() can deal with spaces in filtered link
1633           caps (fixes #164479)
1634         * check/gst/capslist.h:
1635         * check/gst/gststructure.c: (GST_START_TEST):
1636           add unit tests for this change
1637
1638 2005-11-10  Wim Taymans  <wim@fluendo.com>
1639
1640         * docs/gst/gstreamer-sections.txt:
1641         * gst/gstelement.c:
1642         * gst/gstelement.h:
1643         Fix docs, move some STATE macros to private.
1644
1645 2005-11-10  Wim Taymans  <wim@fluendo.com>
1646
1647         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1648         Added check for bug #317341
1649
1650         * gst/gstbuffer.c:
1651         * gst/gstbuffer.h:
1652         Some more spiffifying.
1653
1654         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1655         Call peer linkfunction if we are a source pad. Totally fixes
1656         #317341
1657
1658         * gst/gstpad.c:
1659         Update docs, source pads should call the peer linkfunction
1660         so they can atomically perform the pad link.
1661
1662 2005-11-09  Wim Taymans  <wim@fluendo.com>
1663
1664         * gst/gstbuffer.c:
1665         * gst/gstbuffer.h:
1666         Uber-spiffy-spiffify some more.
1667
1668 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
1669
1670         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1671         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1672         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1673         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1674         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1675         * gst/gstpad.c: (gst_pad_init):
1676           Use GST_DEBUG_FUNCPTR() more extensively.
1677
1678 2005-11-09  Wim Taymans  <wim@fluendo.com>
1679
1680         * gst/gstobject.c: (gst_object_class_init):
1681         * gst/gstobject.h:
1682         Documentation fixes.
1683
1684 2005-11-09  Edward Hervey  <edward@fluendo.com>
1685
1686         * gst/gsttypefindfactory.c:
1687         Fix docs.
1688         
1689 2005-11-09  Edward Hervey  <edward@fluendo.com>
1690
1691         * gst/base/gsttypefindhelper.c:
1692         * gst/gsttypefind.c:
1693         * gst/gsttypefind.h:
1694         Fix docs.
1695
1696 2005-11-09  Wim Taymans  <wim@fluendo.com>
1697
1698         * gst/gstiterator.c:
1699         Fix revision data.
1700
1701         * gst/gsttask.c:
1702         * gst/gsttask.h:
1703         Fix docs.
1704
1705 2005-11-09  Wim Taymans  <wim@fluendo.com>
1706
1707         * gst/gstevent.h:
1708         * gst/gsturi.h:
1709         Fix docs.
1710
1711 2005-11-09  Wim Taymans  <wim@fluendo.com>
1712
1713         * docs/gst/gstreamer-sections.txt:
1714         Moved the message async delivery private lock and cond
1715         to the private section.
1716
1717         * gst/gstmessage.c:
1718         * gst/gstmessage.h:
1719         Fixed docs.
1720
1721 2005-11-09  Edward Hervey  <edward@fluendo.com>
1722
1723         * docs/gst/gstreamer-sections.txt:
1724         * gst/gsturi.c:
1725         * gst/gsturi.h:
1726         Document GstURIHandler
1727
1728 2005-11-09  Wim Taymans  <wim@fluendo.com>
1729
1730         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1731         (gst_iterator_find_custom):
1732         * gst/gstiterator.h:
1733         Fix iterator docs.
1734
1735 2005-11-09  Wim Taymans  <wim@fluendo.com>
1736
1737         * gst/gstbin.h:
1738         Document another field.
1739
1740         * gst/gststructure.c:
1741         * gst/gststructure.h:
1742         Document.
1743
1744 2005-11-09  Wim Taymans  <wim@fluendo.com>
1745
1746         * gst/gstbin.h:
1747         Documented structs.
1748
1749 2005-11-09  Wim Taymans  <wim@fluendo.com>
1750
1751         * docs/gst/gstreamer-sections.txt:
1752         Added some new macros.
1753
1754         * gst/gstclock.c:
1755         * gst/gstclock.h:
1756         * gst/gstobject.h:
1757         Docs updates.
1758
1759 2005-11-09  Wim Taymans  <wim@fluendo.com>
1760
1761         * docs/design/part-TODO.txt:
1762         Some more items for the TODO
1763
1764         * gst/gstcaps.c:
1765         * gst/gstcaps.h:
1766         Document GstCaps.
1767
1768 2005-11-09  Andy Wingo  <wingo@pobox.com>
1769
1770         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1771         to work on something else now tho...
1772
1773         * gst/base/gstadapter.c: More adapter docs.
1774
1775         * gst/elements/gstfilesink.c (gst_file_sink_start) 
1776         (gst_file_sink_stop): New functions, replace the state change
1777         handler.
1778         (gst_file_sink_class_init): Hook up the start and stop functions.
1779         (gst_file_sink_base_init): Don't set the state change handler any
1780         more. It was a bit ugly too, being set from here...
1781         (gst_file_sink_get_property, gst_file_sink_set_property):
1782         Cleanups...
1783         (gst_file_sink_set_location): More robust check that doesn't call
1784         GST_STATE. Ugggggg.
1785
1786 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
1787
1788         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1789           Hold STREAM_LOCK while pushing newsegment or tag events as well.
1790
1791 2005-11-08  Wim Taymans  <wim@fluendo.com>
1792
1793         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1794         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1795         (gst_base_sink_chain), (gst_base_sink_change_state):
1796         * gst/base/gstbasesink.h:
1797         * gst/base/gstbasesrc.h:
1798         * gst/gstelement.h:
1799         * gst/gstevent.h:
1800         Avoid excessive typechecking in macros.
1801
1802         * gst/gstminiobject.c: (gst_mini_object_get_type),
1803         (gst_mini_object_init), (gst_mini_object_new),
1804         (gst_mini_object_free):
1805         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1806         (gst_object_finalize):
1807         Remove cruft code, optimize alloc_trace.
1808
1809 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1810
1811         * docs/faq/gst-uninstalled:
1812           fix up PS1 for systems that try to reset it
1813
1814 2005-11-07  Wim Taymans  <wim@fluendo.com>
1815
1816         * gst/base/gstbasesrc.c: (gst_base_src_init),
1817         (gst_base_src_get_range):
1818         Set the segment_end to -1 initially. Fixed typefind.
1819
1820 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1821
1822         * gst/base/gstadapter.c:
1823           Debug category should be 'adapter', not 'GstAdapter'.
1824           
1825         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1826         (gst_collectpads_class_init), (gst_collectpads_init),
1827         (gst_collectpads_peek), (gst_collectpads_pop),
1828         (gst_collectpads_event), (gst_collectpads_chain):
1829           Add debug category and some debugging output. Use boilerplate
1830           macros. Remove some extraneous words from docs.
1831
1832 2005-11-05  Andy Wingo  <wingo@pobox.com>
1833
1834         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1835         macro.
1836
1837 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1838
1839         * docs/gst/gstreamer-sections.txt:
1840         * gst/gstcaps.h:
1841         * gst/gstinfo.c:
1842         * gst/gstminiobject.h:
1843         * gst/gstobject.h:
1844         * gst/gstutils.h:
1845           more docs added
1846
1847 2005-11-04  Wim Taymans  <wim@fluendo.com>
1848
1849         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1850         Small update to stop at the configured segment_end
1851         position.
1852
1853 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1854
1855         * gst/gstregistry.c:
1856         * gst/gstregistry.h:
1857           added missing docs
1858
1859 2005-11-04  Edward Hervey  <edward@fluendo.com>
1860
1861         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1862         Check if we are doing a segment seek and have arrived at the
1863         end of that segment.
1864
1865 2005-11-04  Wim Taymans  <wim@fluendo.com>
1866
1867         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1868         Don't leak a mutex unlock in case of an error.
1869
1870         * gst/gstbus.h:
1871         Doc fixes.
1872
1873 2005-11-04  Wim Taymans  <wim@fluendo.com>
1874
1875         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1876         (gst_bus_post):
1877         Get the context to wake up only once.
1878
1879 2005-11-03  Wim Taymans  <wim@fluendo.com>
1880
1881         * check/states/sinks.c: (GST_START_TEST):
1882         Uncomment fixed check.
1883
1884         * docs/design/part-TODO.txt:
1885         Updated TODO.
1886
1887         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1888         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1889         (gst_base_sink_get_position):
1890         If we are going to PLAYING, post the right pending state
1891         when we post the intermediate paused message.
1892
1893         * gst/gstelement.c: (gst_element_continue_state),
1894         (gst_element_set_state_func), (gst_element_change_state):
1895         Don't post state changes that were between the same state
1896         and were not ASYNC.
1897
1898 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1899
1900         * docs/gst/gstreamer-sections.txt:
1901         * gst/gstcaps.h:
1902         * gst/gstinfo.c:
1903         * gst/gstminiobject.h:
1904         * gst/gstobject.h:
1905         * gst/gstutils.h:
1906           more docs and doc style fixes
1907
1908 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1909
1910         * docs/gst/gstreamer-sections.txt:
1911         * gst/gstelement.c:
1912         * gst/gstminiobject.c:
1913         doc fixes
1914
1915 2005-11-03  Andy Wingo  <wingo@pobox.com>
1916
1917         * check/states/sinks.c (test_livesrc_sink): Add checks that the
1918         state-changed messages actually have the right order and the right
1919         values.
1920
1921 2005-11-03  Wim Taymans  <wim@fluendo.com>
1922
1923         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1924         Added some more checks. Specifically the case where NO_PREROLL
1925         elements are in the pipeline.
1926
1927         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1928         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1929         (gst_base_sink_get_position):
1930         Post READY->PAUSED state change messages too.
1931         Fix bug where VOID was posted as pending state...
1932
1933         * gst/gstbin.c: (gst_bin_recalc_state):
1934         use _element_continue_state() to continue the state change.
1935
1936         * gst/gstelement.c: (gst_element_continue_state),
1937         (gst_element_commit_state), (gst_element_set_state_func),
1938         (gst_element_change_state), (gst_element_change_state_func):
1939         Lots of state change cleanups, assign the STATE_RETURN in
1940         a new continue_state() function that also propagates the
1941         last return value from a state change to the app.
1942         Update some debug statements with proper category.
1943
1944 2005-11-03  Wim Taymans  <wim@fluendo.com>
1945
1946         * docs/design/part-events.txt:
1947         * docs/design/part-gstpipeline.txt:
1948         * docs/design/part-messages.txt:
1949         * docs/design/part-overview.txt:
1950         * docs/design/part-seeking.txt:
1951         * docs/design/part-states.txt:
1952         * docs/design/part-trickmodes.txt:
1953         * docs/manual/advanced-position.xml:
1954         Small docs updates.
1955
1956         * gst/gstobject.h:
1957         People think !! is ugly, this looks better.
1958
1959         * gst/gstpad.c: (gst_pad_set_blocked_async):
1960         Remove !! since it's fixed elsewhere now.
1961
1962 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1963
1964         * gst/gstminiobject.h:
1965         * gst/gstobject.h:
1966           Add !! to _FLAG_IS_SET macros to make the result boolean.
1967
1968 2005-11-03  Edward Hervey  <edward@fluendo.com>
1969
1970         * gst/gstpad.c: (gst_pad_set_blocked_async):
1971         comparing a flag and a gboolean rarely returns coherent results...
1972         Added two characters (!!) to make that work correctly.
1973         
1974 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1975
1976         * gst/gstbus.c: (gst_bus_class_init):
1977           Fix some typos.
1978           
1979         * gst/gstqueue.c: (gst_queue_loop):
1980           Don't assume a miniobject that isn't a buffer is an
1981           event (it could be that there is a refcounting
1982           problem somewhere and the pointer is stale and
1983           refers to an already destroyed miniobject).
1984
1985 2005-11-03  Julien MOUTTE  <julien@moutte.net>
1986
1987         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1988
1989 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1990
1991         * docs/manual/advanced-position.xml:
1992           Update seek example and explanations to current 0.9 API.
1993
1994         * gst/elements/gsttypefindelement.c:
1995         (gst_type_find_element_activate):
1996           Remove FIXME comment now that the found caps
1997           are unreffed.
1998
1999 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2000
2001         * gst/gstregistryxml.c: (load_feature):
2002           Add another GST_STR_NULL instance
2003
2004 2005-11-02  Edward Hervey  <edward@fluendo.com>
2005
2006         * gst/gstpad.c: (handle_pad_block):
2007         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2008         
2009 2005-11-02  Wim Taymans  <wim@fluendo.com>
2010
2011         * gst/gstbin.c:
2012         Fix typo in docs.
2013
2014         * gst/gstelement.c: (gst_element_commit_state):
2015         Remove unused value.
2016
2017         * gst/gstiterator.c:
2018         Mention that the returned element is reffed in the docs.
2019
2020 2005-11-02  Wim Taymans  <wim@fluendo.com>
2021
2022         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2023         (gst_pad_push), (gst_pad_push_event):
2024         Unlock blocked pads when they are flushed.
2025
2026 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2027
2028         * docs/README:
2029         * docs/gst/gstreamer-sections.txt:
2030         * gst/gstbin.c:
2031           doc updates
2032         * gst/gstregistry.c: (gst_registry_scan_path_level):
2033           fix for a nasty little missed situation where an installed plug-in
2034           which was in the cache did not get overridden by an uninstalled one
2035           which was earlier in the plugin path because the newly created plugin
2036           for the uninstalled one (not in the registry) didn't get its
2037           ->registered set to TRUE
2038
2039 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2040
2041         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2042         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2043         (gst_collectpads_is_active), (gst_collectpads_collect),
2044         (gst_collectpads_collect_range), (gst_collectpads_start),
2045         (gst_collectpads_stop), (gst_collectpads_peek),
2046         (gst_collectpads_pop), (gst_collectpads_available),
2047         (gst_collectpads_read), (gst_collectpads_flush):
2048           Guard public API with assertions.
2049         
2050         * gst/gstpad.c:
2051           Fix docs for gst_pad_set_link_function().
2052
2053 2005-11-02  Johan Dahlin  <johan@gnome.org>
2054
2055         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2056         Unref found_caps after we used it.
2057
2058 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2059
2060         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2061           Don't try to ref NULL.
2062
2063 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2064
2065         * win32/common/config.h.in:
2066           provide a GST_FUNCTION that just gives a string for now
2067
2068 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2069
2070         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2071         (gst_object_flags_get_type), (register_gst_bin_flags),
2072         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2073         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2074         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2075         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2076         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2077         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2078         (gst_clock_flags_get_type), (register_gst_state),
2079         (gst_state_get_type), (register_gst_state_change_return),
2080         (gst_state_change_return_get_type), (register_gst_state_change),
2081         (gst_state_change_get_type), (register_gst_element_flags),
2082         (gst_element_flags_get_type), (register_gst_core_error),
2083         (gst_core_error_get_type), (register_gst_library_error),
2084         (gst_library_error_get_type), (register_gst_resource_error),
2085         (gst_resource_error_get_type), (register_gst_stream_error),
2086         (gst_stream_error_get_type), (register_gst_event_type),
2087         (gst_event_type_get_type), (register_gst_seek_type),
2088         (gst_seek_type_get_type), (register_gst_seek_flags),
2089         (gst_seek_flags_get_type), (register_gst_format),
2090         (gst_format_get_type), (register_gst_index_certainty),
2091         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2092         (gst_index_entry_type_get_type),
2093         (register_gst_index_lookup_method),
2094         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2095         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2096         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2097         (gst_index_flags_get_type), (register_gst_debug_level),
2098         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2099         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2100         (gst_iterator_result_get_type), (register_gst_iterator_item),
2101         (gst_iterator_item_get_type), (register_gst_message_type),
2102         (gst_message_type_get_type), (register_gst_mini_object_flags),
2103         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2104         (gst_pad_link_return_get_type), (register_gst_flow_return),
2105         (gst_flow_return_get_type), (register_gst_activate_mode),
2106         (gst_activate_mode_get_type), (register_gst_pad_direction),
2107         (gst_pad_direction_get_type), (register_gst_pad_flags),
2108         (gst_pad_flags_get_type), (register_gst_pad_presence),
2109         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2110         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2111         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2112         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2113         (gst_plugin_flags_get_type), (register_gst_rank),
2114         (gst_rank_get_type), (register_gst_query_type),
2115         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2116         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2117         (gst_tag_flag_get_type), (register_gst_task_state),
2118         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2119         (gst_alloc_trace_flags_get_type),
2120         (register_gst_type_find_probability),
2121         (gst_type_find_probability_get_type), (register_gst_uri_type),
2122         (gst_uri_type_get_type), (register_gst_parse_error),
2123         (gst_parse_error_get_type):
2124         * win32/common/gstversion.h:
2125           update win32 copies
2126
2127 2005-11-01  Luca Ognibene  <luogni@tin.it>
2128
2129         * gst/gst.c:
2130           fix docs. popt is dead, long live GOption.
2131
2132 2005-10-31  Wim Taymans  <wim@fluendo.com>
2133
2134         * gst/gstbuffer.h:
2135         Small doc fix.
2136
2137 2005-10-31  Andy Wingo  <wingo@pobox.com>
2138
2139         * Boo!
2140
2141         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2142
2143         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2144         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2145         the possibility of deadlocks here if code calling notify() or
2146         set() has a lock that can be taken in another notify handler (ABBA
2147         with class lock and e.g. python GIL state lock).
2148
2149 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2150
2151         * gst/gstbus.c: Doc updates.
2152
2153 2005-10-28  Wim Taymans  <wim@fluendo.com>
2154
2155         * docs/design/part-TODO.txt:
2156         * gst/gstiterator.c:
2157         * gst/gstsystemclock.c:
2158         * gst/gstsystemclock.h:
2159         Doc updates.
2160
2161 2005-10-28  Edward Hervey  <edward@fluendo.com>
2162
2163         * docs/gst/gstreamer-docs.sgml:
2164         * docs/gst/gstreamer-sections.txt:
2165         the GstURIType documentation page is private, it only defines GstURIType
2166         which should be defined in the GstURIHandler page
2167         
2168 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2169
2170         * gst/gstbin.c: (gst_bin_class_init):
2171         * gst/gstbin.h:
2172         * gst/gstutils.c:
2173         Documentation updates.
2174
2175 2005-10-28  Wim Taymans  <wim@fluendo.com>
2176
2177         * docs/gst/gstreamer-sections.txt:
2178         * gst/gstclock.c:
2179         * gst/gstclock.h:
2180         Documented the clocks.
2181
2182 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2183
2184         * docs/gst/gstreamer-sections.txt:
2185           move some macros to private sections
2186         * gst/gstminiobject.c:
2187         * gst/gstminiobject.h:
2188           add descriptions provided by ds and some more
2189         * gst/gstpad.h:
2190           mark macro as to be removed
2191
2192 2005-10-28  Wim Taymans  <wim@fluendo.com>
2193
2194         * docs/design/part-TODO.txt:
2195         Add an item to TODO.
2196
2197         * gst/gstiterator.c: (gst_iterator_fold),
2198         (gst_iterator_find_custom):
2199         * gst/gstiterator.h:
2200         Add iterator docs.
2201
2202 2005-10-28  Wim Taymans  <wim@fluendo.com>
2203
2204         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2205         (gst_base_transform_init):
2206         Don't leak class.
2207
2208         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2209         An EOS event marks the queue as completely filled.
2210
2211 2005-10-27  Wim Taymans  <wim@fluendo.com>
2212
2213         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2214         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2215         Some more debugging.
2216
2217         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2218         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2219         (gst_base_transform_event), (gst_base_transform_getrange),
2220         (gst_base_transform_chain):
2221         * gst/base/gstbasetransform.h:
2222         Fix debugging,
2223         Protect transform and concurrent buffer alloc with a new lock.
2224         Try not to break ABI/API.
2225
2226 2005-10-27  Wim Taymans  <wim@fluendo.com>
2227
2228         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2229         (gst_base_src_init), (gst_base_src_query),
2230         (gst_base_src_default_newsegment),
2231         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2232         (gst_base_src_send_event), (gst_base_src_event_handler),
2233         (gst_base_src_pad_get_range), (gst_base_src_loop),
2234         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2235         (gst_base_src_start), (gst_base_src_deactivate),
2236         (gst_base_src_activate_push), (gst_base_src_change_state):
2237         Move some stuff around and cleanup things.
2238
2239 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2240
2241         * gst/base/gstbasesrc.c: (gst_base_src_query):
2242           Add missing break statements.
2243
2244 2005-10-27  Wim Taymans  <wim@fluendo.com>
2245
2246         * check/gst/gstbin.c: (GST_START_TEST):
2247         An extra refcount is taken in basesrc.
2248
2249         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2250         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2251         (gst_base_src_loop):
2252         Small cleanups, check for flushing after being unlocked from the 
2253         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2254         Don't send out EOS when going to READY.
2255
2256 2005-10-27  Wim Taymans  <wim@fluendo.com>
2257
2258         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2259         (gst_base_sink_get_position):
2260         Some more debug.
2261
2262         * gst/gstbin.c: (message_check), (bin_replace_message),
2263         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2264         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2265         (bin_query_duration_init), (bin_query_duration_fold),
2266         (bin_query_duration_done), (bin_query_generic_fold),
2267         (gst_bin_query):
2268         * tools/gst-launch.c: (main):
2269         Remove old option.
2270
2271 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2272
2273         * examples/controller/audio-example.c: (main):
2274         * examples/queue/queue.c: (event_loop):
2275         * gst/base/gstbasetransform.h:
2276         * gst/gstelement.c: (gst_element_send_event):
2277         * gst/gstevent.h:
2278         * gst/gstpad.c: (gst_pad_send_event):
2279           fixing examples
2280           fixing docs typos
2281           changing log priority in error situations
2282
2283 2005-10-25  Wim Taymans  <wim@fluendo.com>
2284
2285         * gst/gstbin.c: (message_check), (bin_replace_message),
2286         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2287         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2288         (bin_query_duration_init), (bin_query_duration_fold),
2289         (bin_query_duration_done), (bin_query_generic_fold),
2290         (gst_bin_query):
2291         Some doc and debug updates.
2292         Cache previously requested query DURATION for speed. invalidate
2293         cached duration if element posts a DURATION message.
2294
2295 2005-10-25  Wim Taymans  <wim@fluendo.com>
2296
2297         * docs/design/part-TODO.txt:
2298         Update TODO.
2299
2300         * gst/gstbin.c: (message_check), (bin_replace_message),
2301         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2302         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2303         (bin_query_duration_init), (bin_query_duration_fold),
2304         (bin_query_duration_done), (bin_query_generic_fold),
2305         (gst_bin_query):
2306         Handle SEGMENT_START/DONE messages correctly.
2307         More evolved query algorithm that handles duration queries
2308         correctly.
2309
2310         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2311         (gst_element_get_state_func), (gst_element_abort_state),
2312         (gst_element_commit_state), (gst_element_lost_state):
2313         Some more debugging.
2314
2315         * gst/gstmessage.h:
2316         Added doc.
2317
2318 2005-10-25  Wim Taymans  <wim@fluendo.com>
2319
2320         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2321         Don't use invalid stream_time.
2322
2323         * gst/gstevent.c: (gst_event_new_newsegment):
2324         stream_time in newsegment cannot be undefined.
2325
2326 2005-10-24  Wim Taymans  <wim@fluendo.com>
2327
2328         * gst/gstbus.c:
2329         Doc fix.
2330
2331         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2332         (gst_queue_loop):
2333         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2334
2335 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2336
2337         * docs/libs/tmpl/gstdparam.sgml:
2338         * docs/libs/tmpl/gstdplinint.sgml:
2339         * docs/libs/tmpl/gstdpman.sgml:
2340         * docs/libs/tmpl/gstdpsmooth.sgml:
2341         * docs/libs/tmpl/gstunitconvert.sgml:
2342           these are obsolete
2343
2344 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2345
2346         * configure.ac:
2347           back to HEAD
2348
2349 === release 0.9.4 ===
2350
2351 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2352
2353         * configure.ac:
2354           releasing 0.9.4, "Tyrannosaurus Rex"
2355
2356 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2357
2358         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2359         (gst_file_sink_get_current_offset):
2360           Use fseeko() and ftello() if available. When falling back on
2361           lseek() to get the current offset, fflush() first to make sure
2362           everything is up-to-date and we get the right offset.
2363
2364 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2365
2366         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2367         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2368         * gst/gsterror.c: (_gst_stream_errors_init):
2369         * gst/gsterror.h:
2370         * gst/gstqueue.c: (gst_queue_loop):
2371         * po/POTFILES.in:
2372           remove prematurely added error category and clean up the instances
2373
2374 2005-10-21  Wim Taymans  <wim@fluendo.com>
2375
2376         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2377         (gst_base_sink_get_position), (gst_base_sink_query),
2378         (gst_base_sink_change_state):
2379         Simply set the right flag when going to playing, that's all
2380         we need to do instead of calling a function inside the object
2381         lock (that could take the lock as well and deadlock)
2382
2383 2005-10-21  Wim Taymans  <wim@fluendo.com>
2384
2385         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2386         (gst_base_src_loop):
2387         Don't warn, the peer element knows what to do best when
2388         the seek failed, it might try something else.
2389
2390 2005-10-21  Wim Taymans  <wim@fluendo.com>
2391
2392         * gst/base/gstbasesrc.c: (gst_base_src_init),
2393         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2394         Fix seeking.
2395
2396 2005-10-21  Wim Taymans  <wim@fluendo.com>
2397
2398         * docs/design/part-segments.txt:
2399         More docs.
2400
2401         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2402         Correctly set caps, even on the subbufer.
2403
2404 2005-10-21  Wim Taymans  <wim@fluendo.com>
2405
2406         * docs/gst/gstreamer-docs.sgml:
2407         * docs/gst/gstreamer-sections.txt:
2408         * gst/gstelement.h:
2409         * gst/gstevent.c:
2410         * gst/gstevent.h:
2411         * gst/gstmessage.h:
2412         * gst/gstpad.h:
2413         * gst/gstparse.h:
2414         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2415         * gst/gsttask.h:
2416         * gst/gstutils.c:
2417         * gst/gstutils.h:
2418         And 2% more doc coverage.
2419
2420 2005-10-21  Andy Wingo  <wingo@pobox.com>
2421
2422         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2423         position reporting.
2424
2425 2005-10-20  Wim Taymans  <wim@fluendo.com>
2426
2427         * gst/gsterror.c: (gst_error_get_message):
2428         * gst/gstparse.h:
2429         * gst/gstquery.h:
2430         * gst/gststructure.c:
2431         * gst/gsttrace.c:
2432         * gst/gstutils.c:
2433         More docs.
2434
2435 2005-10-20  Wim Taymans  <wim@fluendo.com>
2436
2437         * gst/gstbuffer.h:
2438         * gst/gstpad.c:
2439         * gst/gstparse.c:
2440         Another 1% more coverage.
2441
2442 2005-10-20  Wim Taymans  <wim@fluendo.com>
2443
2444         * docs/gst/gstreamer-sections.txt:
2445         * gst/gstelement.c: (gst_element_get_state_func),
2446         (gst_element_abort_state), (gst_element_commit_state),
2447         (gst_element_lost_state):
2448         * gst/gstevent.h:
2449         * gst/gstquery.c: (gst_query_set_position),
2450         (gst_query_parse_position), (gst_query_set_duration),
2451         (gst_query_parse_duration), (gst_query_new_convert):
2452         * gst/gstutils.c:
2453         Yay! 1% more docs coverage.
2454
2455 2005-10-20  Wim Taymans  <wim@fluendo.com>
2456
2457         * gst/gstpad.h:
2458         * gst/gstquery.c: (gst_query_set_position),
2459         (gst_query_parse_position), (gst_query_set_duration),
2460         (gst_query_parse_duration), (gst_query_new_convert):
2461         * gst/gstquery.h:
2462         * gst/gstutils.c: (gst_element_query_convert):
2463         * gst/gstutils.h:
2464         Docs and consistency fixes.
2465
2466 2005-10-20  Wim Taymans  <wim@fluendo.com>
2467
2468         * gst/gsttask.c:
2469         * gst/gsttask.h:
2470         More docs.
2471
2472 2005-10-20  Wim Taymans  <wim@fluendo.com>
2473
2474         * gst/gstbin.c: (message_check), (bin_replace_message),
2475         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2476         (update_degree), (gst_bin_sort_iterator_next),
2477         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2478         Reworked the message handling a bit, cache the messages instead of
2479         only the senders. alows us to do more in the future.
2480
2481 2005-10-20  Wim Taymans  <wim@fluendo.com>
2482
2483         * docs/design/part-TODO.txt:
2484         Update TODO
2485
2486         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2487         (gst_base_sink_query):
2488         Don't use clock time to report position when in EOS.
2489
2490 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2491
2492         * tools/gst-inspect.c: (print_interfaces),
2493         (print_element_properties_info), (print_element_info):
2494           Fix interface output with gst-inspect -a; don't print
2495           newlines after double/float properties.
2496
2497 2005-10-20  Wim Taymans  <wim@fluendo.com>
2498
2499         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2500         (gst_base_sink_query):
2501         Speed up current position calculation.
2502
2503         * gst/base/gstbasesrc.c: (gst_base_src_query),
2504         (gst_base_src_default_newsegment):
2505         Correctly set stream position in newsegment.
2506
2507         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2508         (update_degree), (gst_bin_sort_iterator_next),
2509         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2510         * gst/gstmessage.c: (gst_message_new_custom):
2511         Clean up debugging info
2512
2513         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2514         (gst_queue_loop), (gst_queue_handle_src_query):
2515         Pause task faster.
2516
2517 2005-10-19  Wim Taymans  <wim@fluendo.com>
2518
2519         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2520         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2521         Fix query handling again.
2522
2523 2005-10-19  Wim Taymans  <wim@fluendo.com>
2524
2525         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2526         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2527         * gst/base/gstbasesrc.c: (gst_base_src_query):
2528         * gst/elements/gstfilesink.c: (gst_file_sink_query):
2529         * gst/elements/gsttypefindelement.c:
2530         (gst_type_find_handle_src_query), (find_element_get_length),
2531         (gst_type_find_element_activate):
2532         API change fix.
2533
2534         * gst/gstquery.c: (gst_query_new_position),
2535         (gst_query_set_position), (gst_query_parse_position),
2536         (gst_query_new_duration), (gst_query_set_duration),
2537         (gst_query_parse_duration), (gst_query_set_segment),
2538         (gst_query_parse_segment):
2539         * gst/gstquery.h:
2540         Bundling query position/duration is not a good idea since duration
2541         does not change much and we don't want to recalculate it for every
2542         position query, so they are separated again..
2543         Base value in segment query is not needed.
2544
2545         * gst/gstqueue.c: (gst_queue_handle_src_query):
2546         * gst/gstutils.c: (gst_element_query_position),
2547         (gst_element_query_duration), (gst_pad_query_position),
2548         (gst_pad_query_duration):
2549         * gst/gstutils.h:
2550         Updates for query API change.
2551         Added some docs here and there.
2552
2553 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
2554
2555         * check/gst/gstbin.c: (GST_START_TEST):
2556         * check/gst/gstghostpad.c: (GST_START_TEST):
2557         * check/pipelines/cleanup.c: (GST_START_TEST):
2558           wait on thread to die so we can check refcount correctly
2559
2560 2005-10-18  Wim Taymans  <wim@fluendo.com>
2561
2562         * check/pipelines/stress.c: (GST_START_TEST):
2563         Make check a little more time consuming.
2564
2565 2005-10-18  Wim Taymans  <wim@fluendo.com>
2566
2567         * check/Makefile.am:
2568         * check/pipelines/stress.c: (GST_START_TEST),
2569         (simple_launch_lines_suite), (main):
2570         Small state change torture test.
2571
2572         * docs/design/part-states.txt:
2573         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2574         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2575         (gst_base_sink_change_state):
2576         Never take state lock from streaming thread, clean up ugly
2577         hacks. Unfortunatly core does not yet support nice ways to
2578         async commit state.
2579         
2580         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2581         (bin_bus_handler):
2582         Start state recalc if a STATE_DIRTY message is posted, but only
2583         on the toplevel bin.
2584
2585         * gst/gstelement.c: (gst_element_sync_state_with_parent),
2586         (gst_element_get_state_func), (gst_element_abort_state),
2587         (gst_element_commit_state), (gst_element_lost_state),
2588         (gst_element_set_state_func), (gst_element_change_state):
2589         * gst/gstelement.h:
2590         State variables are now protected with the LOCK, the state
2591         lock is only used to serialize _set_state().
2592
2593 2005-10-18  Wim Taymans  <wim@fluendo.com>
2594
2595         * check/gst/gstbin.c: (GST_START_TEST):
2596         * check/gst/gstmessage.c: (GST_START_TEST):
2597         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2598         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2599         (bin_bus_handler):
2600         * gst/gstelement.c: (gst_element_abort_state),
2601         (gst_element_commit_state), (gst_element_lost_state):
2602         * gst/gstmessage.c: (gst_message_new_state_changed),
2603         (gst_message_new_state_dirty), (gst_message_new_segment_start),
2604         (gst_message_new_segment_done), (gst_message_new_duration),
2605         (gst_message_parse_state_changed),
2606         (gst_message_parse_segment_start),
2607         (gst_message_parse_segment_done), (gst_message_parse_duration):
2608         * gst/gstmessage.h:
2609         * tools/gst-launch.c: (event_loop):
2610         Seriously, this is better than a previous commit as we only need
2611         to notify the fact that an element changed state in a streaming
2612         thread, marking the state of the parents dirty, hence the 
2613         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2614         message.
2615
2616 2005-10-18  Wim Taymans  <wim@fluendo.com>
2617
2618         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2619         (gst_bin_recalc_func):
2620         * gst/gstelement.c: (gst_element_set_clock),
2621         (gst_element_abort_state), (gst_element_lost_state):
2622         Cleanups, prepare for state change fixes.
2623
2624 2005-10-18  Wim Taymans  <wim@fluendo.com>
2625
2626         * gst/gstbin.h:
2627         * gst/gstelement.c: (gst_element_class_init),
2628         (gst_element_set_state), (gst_element_set_state_func):
2629         * gst/gstelement.h:
2630         Pending ABI changes.
2631         GThreadPool in GstBinClass to monitor async state changes.
2632         state_cookie in GstElement to detect concurrent gst/set state.
2633         set_state is now virtual too in case a very complicated element
2634         has to be constructed.
2635
2636 2005-10-18  Wim Taymans  <wim@fluendo.com>
2637
2638         * check/gst/gstbin.c: (GST_START_TEST):
2639         * check/gst/gstmessage.c: (GST_START_TEST):
2640         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2641         * gst/gstbin.c: (bin_bus_handler):
2642         * gst/gstelement.c: (gst_element_commit_state),
2643         (gst_element_lost_state):
2644         * gst/gstmessage.c: (gst_message_new_state_changed),
2645         (gst_message_new_segment_start), (gst_message_new_segment_done),
2646         (gst_message_new_duration), (gst_message_parse_state_changed),
2647         (gst_message_parse_segment_start),
2648         (gst_message_parse_segment_done), (gst_message_parse_duration):
2649         * gst/gstmessage.h:
2650         * tools/gst-launch.c: (event_loop):
2651         Make messages future proof.
2652         state-change gets a flag if it was a message comming from the
2653         streaming thread.
2654         segment-start/stop can also be specified in other formats.
2655         A message to notify an app that a pipeline changed playback 
2656         duration.
2657         Also fix a GstMessage leak in -launch
2658
2659 2005-10-18  Andy Wingo  <wingo@pobox.com>
2660
2661         * gst/gstelement.c (gst_element_dispose): More helpful message.
2662
2663 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2664
2665         reviewed by: <delete if not using a buddy>
2666
2667         * common/gtk-doc.mak:
2668
2669 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2670
2671         * gst/gstregistry.c: (gst_registry_scan_path_level):
2672           unref a plug-in we get that was already initialized
2673
2674 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
2675
2676         * docs/gst/gstreamer-sections.txt:
2677         * docs/libs/gstreamer-libs-sections.txt:
2678         * gst/gstelement.h:
2679           add new api entries
2680           hide internal macro
2681
2682 2005-10-17  Andy Wingo  <wingo@pobox.com>
2683
2684         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2685         cleanup.
2686
2687         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2688
2689         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2690
2691         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2692         (gst_element_get_state_func): Better debug message.
2693         (gst_element_commit_state): s/INFO/DEBUG/.
2694         (gst_element_lost_state, gst_element_change_state): 
2695
2696         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2697         (gst_message_new_custom): s/INFO/LOG/.
2698
2699 2005-10-17  Michael Smith <msmith@fluendo.com>
2700
2701         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2702           Check if end time is valid using end time, not start time.
2703
2704 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
2705
2706         * check/gst-libs/controller.c: (GST_START_TEST),
2707         (gst_controller_suite):
2708         * libs/gst/controller/gstcontroller.c:
2709         (gst_controlled_property_set_interpolation_mode):
2710         * libs/gst/controller/gstcontroller.h:
2711         * libs/gst/controller/gstinterpolation.c:
2712         * testsuite/controller/.cvsignore:
2713         * testsuite/controller/Makefile.am:
2714         * testsuite/controller/interpolator.c:
2715           merge controller testsuites
2716           fix broken tests
2717           remove mem-chunk from docs
2718
2719 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2720
2721         * gst/gstmemchunk.c:
2722         * gst/gstmemchunk.h:
2723         * gst/gsttrashstack.c:
2724         * gst/gsttrashstack.h:
2725           out.  get out.  you're fired.  to the Attic !
2726
2727 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2728
2729         * gst/gstcaps.c: (gst_caps_intersect):
2730           fix signedness issues in a (hopefully) correct way
2731         * gst/gstelement.c: (gst_element_pads_activate):
2732           some debugging
2733         * gst/gstobject.c: (gst_object_set_parent):
2734           some debugging
2735
2736 2005-10-17  Julien MOUTTE  <julien@moutte.net>
2737
2738         * gst/gstvalue.h: Fix prototypes.
2739
2740 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2741
2742         * docs/gst/gstreamer-sections.txt:
2743         * gst/gst.c: (gst_version_string):
2744         * gst/gst.h:
2745         * gst/gstversion.h.in:
2746         * win32/common/libgstreamer.def:
2747           add gst_version_string ()
2748
2749 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2750
2751         * configure.ac:
2752           clean up further
2753         * gst/gst.c: (init_post):
2754         * win32/common/config.h.in:
2755           it's PLUGINDIR now
2756         * gst/gstcaps.c: (gst_caps_intersect):
2757           use gint64, the range could be bigger than a guint
2758
2759 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2760
2761         * gst/gstclock.h:
2762           document potential problem in 2038
2763
2764 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2765
2766         * gst/gstcaps.c: (gst_caps_intersect):
2767           Fix guint j diving under 0
2768
2769 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2770
2771         * configure.ac:
2772         * win32/common/config.h:
2773         * win32/common/config.h.in:
2774           check for process.h, declares getpid() on Windows
2775         * gst/gstinfo.c:
2776           include process.h if we have it
2777         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2778         * gst/gstmemchunk.h:
2779           fix signedness issues
2780         * win32/common/libgstreamer.def:
2781           fix get_type's
2782
2783 2005-10-16  Julien MOUTTE  <julien@moutte.net>
2784
2785         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2786         fix. Because of unsigned ints, caps intersection was going nuts and
2787         trying to access structures with G_MAXUINT index. That fixes
2788         videotestsrc ! ffmpegcolorspace ! fakesink
2789         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2790         consistency.
2791
2792 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2793
2794         * configure.ac:
2795           use the gettext macro
2796         * gst/elements/gstelements.c:
2797         * gst/gst.c:
2798         * gst/indexers/gstindexers.c:
2799           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2800         * win32/common/config.h:
2801           updated config.h
2802         * win32/common/config.h.in:
2803           add the template to generate config.h
2804         * win32/common/gstenumtypes.c:
2805         * win32/common/gstversion.h:
2806           updated copies
2807
2808 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2809
2810         * gst/gst.c: (gst_version):
2811         * gst/gstversion.h.in:
2812           add the nano
2813
2814 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2815
2816         * gst/gstevent.h:
2817           Oops, add missing closing bracket.
2818
2819 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2820
2821         * configure.ac:
2822           use common m4's for argument checking
2823
2824 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2825
2826         * docs/gst/gstreamer-sections.txt:
2827         * gst/gstevent.h:
2828           Add GST_EVENT_TYPE_NAME() macro.
2829
2830 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2831
2832         * gst/gstinfo.c:
2833         * gst/gstpluginfeature.c:
2834         * gst/gsttask.c:
2835           privatize more symbols
2836
2837 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2838
2839         * configure.ac:
2840           add srcdir, builddir includes to GST_ALL_CFLAGS, since
2841           everything that uses GStreamer API should have the includes
2842
2843 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2844
2845         * docs/gst/gstreamer-sections.txt:
2846         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2847         * gst/gstvalue.h:
2848           give each value a _get_type, removes the DATA exports
2849
2850 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2851
2852         * gst/gst.c:
2853         * gst/gst.h:
2854           remove _gst_registry_auto_load, not used anymore
2855         * gst/gstbin.c: (gst_bin_get_type):
2856         * gst/gstbin.h:
2857         * gst/gstelement.c: (gst_element_get_type):
2858         * gst/gstelement.h:
2859         * gst/gstobject.c: (gst_object_get_type):
2860         * gst/gstobject.h:
2861         * gst/gstpad.c: (gst_pad_get_type):
2862         * gst/gstpad.h:
2863           make _get_type functions similar, fixes data export from library
2864
2865 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2866
2867         * configure.ac:
2868           correctly make conditionals
2869         * gst/elements/Makefile.am:
2870         * gst/elements/gstelements.c:
2871           fix typo causing fdsrc not to build
2872
2873 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2874
2875         * testsuite/Makefile.am:
2876         * testsuite/bytestream/.cvsignore:
2877         * testsuite/bytestream/Makefile.am:
2878         * testsuite/bytestream/filepadsink.c:
2879         * testsuite/bytestream/gstbstest.c:
2880         * testsuite/bytestream/test1.c:
2881         * testsuite/bytestream/testfile1:
2882         * testsuite/caps/normalisation.c:
2883         * testsuite/caps/random.c: (main):
2884         * testsuite/cleanup/.cvsignore:
2885         * testsuite/cleanup/Makefile.am:
2886         * testsuite/cleanup/cleanup1.c:
2887         * testsuite/cleanup/cleanup2.c:
2888         * testsuite/cleanup/cleanup3.c:
2889         * testsuite/cleanup/cleanup4.c:
2890         * testsuite/cleanup/cleanup5.c:
2891         * testsuite/controller/interpolator.c:
2892         * testsuite/debug/printf_extension.c: (main):
2893         * testsuite/elements/tee.c:
2894         * testsuite/negotiation/.cvsignore:
2895         * testsuite/negotiation/Makefile.am:
2896         * testsuite/negotiation/pad_link.c:
2897         * testsuite/pad/Makefile.am:
2898         * testsuite/pad/chainnopull.c:
2899         * testsuite/pad/getnopush.c:
2900         * testsuite/pad/link.c:
2901         * testsuite/refcounting/sched.c: (create_pipeline):
2902         * testsuite/registry/Makefile.am:
2903         * testsuite/registry/gst-print-formats.c:
2904         * testsuite/schedulers/.cvsignore:
2905         * testsuite/schedulers/142183-2.c:
2906         * testsuite/schedulers/142183.c:
2907         * testsuite/schedulers/143777-2.c:
2908         * testsuite/schedulers/143777.c:
2909         * testsuite/schedulers/147713.c:
2910         * testsuite/schedulers/147819.c:
2911         * testsuite/schedulers/147894-2.c:
2912         * testsuite/schedulers/147894.c:
2913         * testsuite/schedulers/Makefile.am:
2914         * testsuite/schedulers/group_link.c:
2915         * testsuite/schedulers/queue_link.c:
2916         * testsuite/schedulers/relink.c:
2917         * testsuite/schedulers/unlink.c:
2918         * testsuite/schedulers/unref.c:
2919         * testsuite/schedulers/useless_iteration.c:
2920         * testsuite/states/bin.c:
2921           clean out/remove some stuff from the testsuite directories
2922
2923 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2924
2925         * configure.ac:
2926           check for some headers
2927         * gst/elements/Makefile.am:
2928         * gst/elements/gstelements.c:
2929           don't compile fdsrc without sys/socket.h
2930         * gst/indexers/Makefile.am:
2931         * gst/indexers/gstindexers.c: (plugin_init):
2932           don't compile fileindex without mmap
2933
2934 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2935
2936         * configure.ac:
2937           reorganize
2938           clean up
2939           document more
2940           remove cruft
2941         * check/Makefile.am:
2942         * docs/gst/Makefile.am:
2943         * examples/helloworld/Makefile.am:
2944         * gst/Makefile.am:
2945         * gst/base/Makefile.am:
2946         * gst/check/Makefile.am:
2947         * gst/elements/Makefile.am:
2948         * gst/indexers/Makefile.am:
2949         * gst/parse/Makefile.am:
2950         * libs/gst/controller/Makefile.am:
2951         * libs/gst/dataprotocol/Makefile.am:
2952         * examples/helloworld/helloworld.c: (event_loop):
2953           compile fixes, though it's not being compiled currently
2954
2955 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2956
2957         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2958           Add some simple tests for the new taglist date API.
2959
2960 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2961
2962         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2963         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2964           Beautify 'last-message' output: print 'none' for buffer timestamps
2965           and durations if none is set; improve alignment with next messages.
2966
2967 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2968
2969         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2970         * gst/gstpluginfeature.h:
2971         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2972         * gst/gstregistry.h:
2973         * docs/gst/gstreamer-sections.txt:
2974           Add new API to check plugin feature version requirements.
2975
2976         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2977           Some basic tests for the above.         
2978
2979 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2980
2981         * gst/gststructure.c: (gst_structure_to_string):
2982           guard against NULL printf - happens when for example
2983           a message structure with GstClock gets serialized
2984
2985 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2986
2987         * gst/base/gstcollectpads.c: (gst_collectpads_event):
2988           Fix presumable copy'n'pasto.
2989
2990 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2991
2992         * gst/elements/gstfakesrc.h:
2993         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
2994         * gst/elements/gsttypefindelement.c:
2995           fix some signedness
2996         * gst/elements/gstfilesink.c: (gst_file_sink_render):
2997           I wonder if this could actually write +2GB files before
2998
2999 2005-10-13  Andy Wingo  <wingo@pobox.com>
3000
3001         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3002         Fix Timmeke Waymans bug.
3003         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3004         string of the proper length to gst_caps_from_string. There's a
3005         potential for, before this fix, that this could cause someone
3006         connecting over the network to cause a segfault if the payload is
3007         not NUL-terminated.
3008
3009 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3010
3011         * docs/design/draft-push-pull.txt:
3012         * docs/design/part-overview.txt:
3013         * docs/random/TODO-pre-0.9:
3014         * docs/random/old/ChangeLog.gstreamer:
3015         * gst/base/gstpushsrc.c:
3016         * gst/gstclock.c:
3017           fixed typos
3018
3019 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3020
3021         * gst/glib-compat.c: (gst_flags_get_first_value):
3022         * gst/glib-compat.h:
3023         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3024         (gst_value_compare_double), (gst_value_serialize_flags):
3025           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3026           infinite loop
3027
3028 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3029
3030         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3031         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3032           fix up debugging
3033         * tools/gst-launch.c: (event_loop):
3034           print out clock nicely
3035
3036 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3037
3038         * docs/gst/gstreamer-sections.txt:
3039         * gst/gsttaglist.h:
3040         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3041         (gst_tag_list_get_date_index):
3042           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3043           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3044
3045 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3046
3047         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3048         (gst_collectpads_chain):
3049         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3050         in CollectData.
3051
3052 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3053
3054         * docs/gst/gstreamer-sections.txt:
3055         * gst/gst.c:
3056         * gst/gsterror.h:
3057         * tools/gst-inspect.c: (main):
3058         * tools/gst-launch.c: (main):
3059         * tools/gst-run.c: (main):
3060         * tools/gst-xmlinspect.c: (main):
3061           fix GOption context leaks
3062           doc fixes
3063
3064 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3065
3066         * gst/gstbus.c:
3067           use HAVE_UNISTD_H
3068         * win32/common/config.h:
3069           update config
3070         * win32/vs6/grammar.dsp:
3071         * win32/vs6/libgstelements.dsp:
3072         * win32/vs6/libgstreamer.dsp:
3073           update vs6 files
3074
3075 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3076
3077         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3078         * gst/base/gstbasesrc.c: (gst_base_src_query):
3079           fix more guint64<->gdouble conversions
3080
3081 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3082
3083         * Makefile.am:
3084           add win32-update target
3085         * win32/common/gstconfig.h:
3086         * win32/common/gstenumtypes.c:
3087         * win32/common/gstenumtypes.h:
3088         * win32/common/gstversion.h:
3089           add files that visual studio can't generate
3090
3091 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3092
3093         * Makefile.am:
3094           add a win32-update target
3095         * configure.ac:
3096
3097 2005-10-12  Wim Taymans  <wim@fluendo.com>
3098
3099         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3100         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3101         * gst/gstelement.c: (gst_element_commit_state),
3102         (gst_element_set_state):
3103         Protect flags with proper lock.
3104         unref provided cached clock in dispose.
3105
3106 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3107
3108         * gst/gst.c:
3109         * gst/gstminiobject.h:
3110         * gst/gstpad.h:
3111         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3112           removed unused flags from miniobject
3113           doc fixes
3114
3115 2005-10-12  Wim Taymans  <wim@fluendo.com>
3116
3117         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3118         (gst_file_sink_event), (gst_file_sink_render):
3119         Flush before seeking.
3120
3121 2005-10-12  Andy Wingo  <wingo@pobox.com>
3122
3123         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3124         always been the case.
3125
3126 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3127
3128         * check/gst/gstbin.c: (GST_START_TEST):
3129         * docs/gst/gstreamer-sections.txt:
3130         * gst/base/gstbasesink.c: (gst_base_sink_init):
3131         * gst/base/gstbasesrc.c: (gst_base_src_init),
3132         (gst_base_src_get_range), (gst_base_src_check_get_range),
3133         (gst_base_src_start), (gst_base_src_stop):
3134         * gst/base/gstbasesrc.h:
3135         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3136         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3137         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3138         (bin_bus_handler):
3139         * gst/gstbin.h:
3140         * gst/gstbuffer.h:
3141         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3142         * gst/gstbus.h:
3143         * gst/gstelement.c: (gst_element_is_locked_state),
3144         (gst_element_set_locked_state), (gst_element_commit_state),
3145         (gst_element_set_state):
3146         * gst/gstelement.h:
3147         * gst/gstindex.c: (gst_index_init):
3148         * gst/gstindex.h:
3149         * gst/gstminiobject.h:
3150         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3151         (gst_object_set_parent):
3152         * gst/gstobject.h:
3153         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3154         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3155         * gst/gstpad.h:
3156         * gst/gstpadtemplate.h:
3157         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3158         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3159         * gst/gstpipeline.h:
3160         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3161         (gst_file_index_commit):
3162         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3163         * testsuite/pad/link.c: (gst_test_src_init),
3164         (gst_test_filter_init), (gst_test_sink_init):
3165         * testsuite/states/locked.c: (main):
3166           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3167           moved bitshift from macro to enum definition
3168
3169 2005-10-12  Wim Taymans  <wim@fluendo.com>
3170
3171         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3172         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3173         (gst_file_sink_render):
3174         Some more debugging info.
3175
3176 2005-10-12  Wim Taymans  <wim@fluendo.com>
3177
3178         * docs/design/part-states.txt:
3179         * tools/gst-launch.c: (main):
3180         Some doc updates.
3181         Revert non-intentional change.
3182
3183 2005-10-12  Wim Taymans  <wim@fluendo.com>
3184
3185         * check/gst/gstbin.c: (GST_START_TEST):
3186         * check/gst/gstelement.c: (GST_START_TEST):
3187         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3188         * check/gst/gstghostpad.c: (GST_START_TEST):
3189         * check/gst/gstpipeline.c: (GST_START_TEST):
3190         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3191         * check/states/sinks.c: (GST_START_TEST):
3192         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3193         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3194         (gst_bin_remove_func), (gst_bin_get_state_func),
3195         (gst_bin_recalc_state), (gst_bin_change_state_func),
3196         (bin_bus_handler):
3197         * gst/gstelement.c: (gst_element_get_state_func),
3198         (gst_element_get_state), (gst_element_abort_state),
3199         (gst_element_commit_state), (gst_element_set_state),
3200         (gst_element_change_state), (gst_element_change_state_func):
3201         * gst/gstelement.h:
3202         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3203         (gst_pipeline_provide_clock_func):
3204         * gst/gstutils.c: (gst_element_link_pads_filtered):
3205         * tools/gst-launch.c: (main):
3206         * tools/gst-typefind.c: (main):
3207         Use GstClockTime in _get_state() instead of GTimeVal.
3208         Remove old code in gstutils.c
3209
3210 2005-10-12  Andy Wingo  <wingo@pobox.com>
3211
3212         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3213         removed.
3214
3215         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3216         there is no task. Shouldn't affect any code, as nothing in our
3217         plugins checks this return value.
3218         (gst_pad_stop_task): Also take the stream lock if the pad has no
3219         task. Docs updated.
3220
3221 2005-10-12  Wim Taymans  <wim@fluendo.com>
3222
3223         * gst/gstpad.c: (pre_activate), (post_activate),
3224         (gst_pad_activate_pull), (gst_pad_activate_push):
3225         Cleanup activation code. Reset old state if
3226         activation failed.
3227
3228 2005-10-12  Wim Taymans  <wim@fluendo.com>
3229
3230         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3231         (gst_base_sink_change_state):
3232         No need to prerol after receiving EOS.
3233
3234         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3235         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3236         * gst/elements/gstidentity.c: (gst_identity_event):
3237         Print events more verbosely.
3238
3239 2005-10-12  Wim Taymans  <wim@fluendo.com>
3240
3241         * check/Makefile.am:
3242         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3243         * check/states/sinks2.c:
3244         Moved sinks2 testcode in sinks check.
3245
3246         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3247         (gst_bin_remove_func), (gst_bin_recalc_state),
3248         (gst_bin_change_state_func), (bin_bus_handler):
3249         Fix potential race condition when _get_state() iterated over an
3250         ASYNC element right before it posted a state completion.
3251
3252         * gst/gstclock.h:
3253         Do proper cast here.
3254
3255         * gst/gstevent.c: (gst_event_new_newsegment),
3256         (gst_event_parse_newsegment):
3257         A playback rate of 0.0 is not allowed.
3258
3259 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3260
3261         * win32/common/config.h:
3262         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3263         (_trewinddir), (_ttelldir), (_tseekdir):
3264         * win32/common/dirent.h:
3265         * win32/common/gtchar.h:
3266         * win32/common/libgstbase.def:
3267         * win32/common/libgstreamer.def:
3268         * win32/vs6/grammar.dsp:
3269         * win32/vs6/gst_inspect.dsp:
3270         * win32/vs6/gst_launch.dsp:
3271         * win32/vs6/gstreamer.dsw:
3272         * win32/vs6/libgstbase.dsp:
3273         * win32/vs6/libgstelements.dsp:
3274         * win32/vs6/libgstreamer.dsp:
3275           Visual Studio 6 project files, and a new common directory.
3276           Phear.
3277
3278 2005-10-11  Wim Taymans  <wim@fluendo.com>
3279
3280         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3281         (gst_base_sink_do_sync), (gst_base_sink_query),
3282         (gst_base_sink_change_state):
3283         * gst/base/gstbasesink.h:
3284         Correctly parse newsegment info.
3285
3286 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3287
3288         * gst/gst.c: (init_post):
3289           split plugin paths correctly
3290
3291 2005-10-11  Wim Taymans  <wim@fluendo.com>
3292
3293         * check/gst/gstevent.c: (GST_START_TEST):
3294         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3295         (gst_base_sink_change_state):
3296         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3297         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3298         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3299         * gst/gstevent.c: (gst_event_new_newsegment),
3300         (gst_event_parse_newsegment):
3301         * gst/gstevent.h:
3302         Added extra flag to newsegment for future API freeze.
3303         Updated check and base elements.
3304
3305 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3306
3307         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3308         (gst_collectpads_add_pad), (gst_collectpads_pop),
3309         (gst_collectpads_event), (gst_collectpads_chain):
3310         * gst/base/gstcollectpads.h: Handle EOS correctly.
3311
3312 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3313
3314         * tools/gst-launch.c: (main):
3315           more null protecting
3316
3317 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3318
3319         * gst/gst-i18n-lib.h:
3320           check for ENABLE_NLS, not GETTEXT_PACKAGE
3321         * gst/gstregistry.c: (gst_registry_add_plugin),
3322         (gst_registry_scan_path_level),
3323         (_gst_registry_remove_cache_plugins):
3324           protect possibly NULL strings
3325         * gst/parse/types.h:
3326           config.h already included before
3327         * tools/gst-inspect.c: (main):
3328           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3329           check for ENABLE_NLS, not GETTEXT_PACKAGE
3330         * tools/gst-launch.c: (main):
3331           check for ENABLE_NLS, not GETTEXT_PACKAGE
3332
3333 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3334
3335         * configure.ac:
3336           if we don't have glib, fail before testing 2.8
3337         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3338           fix a leak, should fix plugins-base testsuite
3339
3340 2005-10-11  Andy Wingo  <wingo@pobox.com>
3341
3342         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3343         take the mode we're going to as an arg. Go head and set the mode
3344         and flushing flags now, so that if the activate function starts a
3345         thread all the flags will be in the right state.
3346         (post_activate): Renamed also. Just handle making sure streaming
3347         finishes for the deactivation case, and setting the deactivated
3348         mode.
3349         (gst_pad_set_active): Complain loudly if deactivation fails.
3350         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3351         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3352         remove the terrible hack.
3353
3354 2005-10-11  Wim Taymans  <wim@fluendo.com>
3355
3356         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3357         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3358         (gst_bin_recalc_state), (gst_bin_change_state_func),
3359         (gst_bin_dispose), (bin_bus_handler):
3360         * gst/gstbin.h:
3361         Prepare to make current EOS message queue more generic.
3362         Fix some typos.
3363
3364         * gst/gstevent.c: (gst_event_new_newsegment),
3365         (gst_event_parse_newsegment):
3366         * gst/gstevent.h:
3367         Rename base to stream_time.
3368
3369         * gst/gstmessage.h:
3370         Fix typo in docs.
3371
3372 2005-10-11  Wim Taymans  <wim@fluendo.com>
3373
3374         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3375         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3376         (gst_bin_change_state_func), (bin_bus_handler):
3377         * gst/gstbin.h:
3378         Work on proper clock selection.
3379
3380 2005-10-11  Edward Hervey  <edward@fluendo.com>
3381
3382         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3383         * libs/gst/controller/gstcontroller.h:
3384         Added GList* version of _remove_properties() in order to be able to wrap
3385         it in bindings.
3386
3387 2005-10-11  Wim Taymans  <wim@fluendo.com>
3388
3389         * docs/design/part-states.txt:
3390         Some more docs.
3391
3392         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3393         (gst_bin_change_state_func), (bin_bus_handler):
3394         Doc updates. Don't distribute the same clock over and over again.
3395
3396         * gst/gstclock.c:
3397         * gst/gstclock.h:
3398         Doc updates.
3399
3400         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3401         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3402         (gst_pad_send_event):
3403         * gst/gstpad.h:
3404         Make probe emission threadsafe again.
3405         Register quarks and move _get_name() from utils.
3406         Doc updates.
3407
3408         * gst/gstpipeline.c: (gst_pipeline_class_init),
3409         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3410         Only redistribute the clock of it changed.
3411
3412         * gst/gstsystemclock.h:
3413         Doc updates. 
3414
3415         * gst/gstutils.c:
3416         * gst/gstutils.h:
3417         Moved the _flow_get_name() to GstPad.
3418
3419 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3420
3421         * check/gst-libs/gdp.c: (GST_START_TEST):
3422         * check/gst/gstcaps.c: (GST_START_TEST):
3423         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3424         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3425         (gst_dp_packet_from_caps):
3426           fix more valgrind warnings before turning up the heat
3427
3428 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3429
3430         * gst/parse/grammar.y:
3431           some cleanup before the hacking
3432
3433 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3434
3435         * gst/base/gstbasesrc.c: (gst_base_src_query):
3436           use conversions
3437         * gst/gstutils.c: (gst_guint64_to_gdouble),
3438         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3439         * gst/gstutils.h:
3440           externalize, basesrc uses it
3441           obviously the implementation needs testing
3442
3443 2005-10-10  Wim Taymans  <wim@fluendo.com>
3444
3445         * tests/sched/Makefile.am:
3446         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3447         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3448
3449 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3450
3451         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3452           apparently converting from guint64 to double is not implemented
3453           on MSVC
3454
3455 2005-10-10  Wim Taymans  <wim@fluendo.com>
3456
3457         * check/Makefile.am:
3458         * check/generic/states.c: (GST_START_TEST):
3459         * check/gst/gstbin.c: (GST_START_TEST):
3460         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3461         * check/states/sinks.c: (GST_START_TEST):
3462         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3463         (main):
3464         Check fixes, use API as stated in design docs, remove hacks.
3465
3466         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3467         (gst_base_sink_change_state):
3468         Catch stopping our task while we're shutting down.
3469
3470         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3471         (gst_bin_remove_func), (gst_bin_get_state_func),
3472         (gst_bin_recalc_state), (gst_bin_change_state_func),
3473         (bin_bus_handler):
3474         * gst/gstbin.h:
3475         * gst/gstelement.c: (gst_element_init),
3476         (gst_element_get_state_func), (gst_element_abort_state),
3477         (gst_element_commit_state), (gst_element_lost_state),
3478         (gst_element_set_state), (gst_element_change_state),
3479         (gst_element_change_state_func):
3480         * gst/gstelement.h:
3481         New state change algorithm (see #318116)
3482
3483         * gst/gstpipeline.c: (gst_pipeline_class_init),
3484         (gst_pipeline_init), (gst_pipeline_set_property),
3485         (gst_pipeline_get_property), (do_pipeline_seek),
3486         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3487         * gst/gstpipeline.h:
3488         Remove crude state change hacks.
3489
3490         * gst/gstutils.h:
3491         Remove crude hacks.
3492
3493         * tools/gst-launch.c: (main):
3494         Fixes for state change. Needs some more work to fully use the
3495         new stuff.
3496
3497 2005-10-10  Andy Wingo  <wingo@pobox.com>
3498
3499         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3500
3501         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3502         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3503         issue.
3504
3505 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3506
3507         * gst/gstiterator.c: (gst_iterator_new):
3508           Fix my previous commit: GTypes passed to gst_iterator_new()
3509           can be fundamental types.
3510
3511 2005-10-10  Wim Taymans  <wim@fluendo.com>
3512
3513         * gst/gstelement.c: (gst_element_iterate_pad_list),
3514         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3515         (gst_element_iterate_sink_pads):
3516         Use src/sink pads lists for the respective iterators instead
3517         of filtering.
3518
3519 2005-10-10  Andy Wingo  <wingo@pobox.com>
3520
3521         Merged in popt removal + GOption addition patch from Ronald, bug
3522         #169772.
3523
3524         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3525         GstElement macros around, remove popt-related symbols, add goption
3526         stuff.
3527
3528         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3529         
3530         * docs/gst/Makefile.am:
3531         * docs/libs/Makefile.am: No POPT_CFLAGS.
3532         
3533         * examples/manual/Makefile.am:
3534         * docs/manual/basics-init.xml: Doc updates with an example.
3535         
3536         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3537         (gst_init), (parse_one_option), (parse_goption_arg):
3538         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3539         bit of hand merging and debugging to get the GOption stuff working
3540         tho.
3541         
3542         * tests/Makefile.am:
3543         * tools/Makefile.am:
3544         * tools/gst-inspect.c: (main):
3545         * tools/gst-launch.c: (main):
3546         * tools/gst-run.c: (main):
3547         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3548
3549 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3550
3551         * gst/gstiterator.c: (gst_iterator_new):
3552           Add assertions to make sure passed GType is likely to really
3553           be a GType (as the compiler won't catch it if the size and
3554           GType arguments get mixed up, see #318447).
3555
3556 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
3557
3558         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3559
3560         * gst/gstbin.c: (gst_bin_iterate_sorted):
3561           Pass GType and size arguments to gst_iterator_new() in the right
3562           order (maybe we should make _new() take the GType as first argument
3563           just like _new_list()?) (#318447).
3564           
3565
3566 2005-10-10  Wim Taymans  <wim@fluendo.com>
3567
3568         * gst/gstelement.c: (gst_element_finalize):
3569         And free the GStaticRecMutex too
3570
3571 2005-10-10  Andy Wingo  <wingo@pobox.com>
3572
3573         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3574         Allocate and free the mutex properly.
3575
3576         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3577         New macros.
3578         (GstElement): The state_lock is now recursive. Rebuild your
3579         plugins, suckers. Old macros adapted.
3580
3581         * docs/gst/gstreamer-sections.txt: Doc updates.
3582
3583         * gst/gstutils.h:
3584         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
3585         (g_static_rec_cond_wait): Ported from state changes patch, while
3586         we wait on bug #317802 to be solved in a well-distributed GLib.
3587
3588         * gst/gstelement.c (gst_element_change_state_func): Renamed from
3589         gst_element_change_state, variable name changes.
3590         (gst_element_change_state): Split out of gst_element_set_state in
3591         preparation for the state change merge. Doesn't pay attention to
3592         the 'transition' argument.
3593         (gst_element_set_state): Updates, hopefully purely cosmetic.
3594         (gst_element_sync_state_with_parent): MT-safety. Ported from the
3595         state change patch.
3596         (gst_element_get_state_func): Renamed from get_state, cosmetic
3597         changes.
3598
3599 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3600
3601         * gst/elements/gstelements.c:
3602         * win32/GStreamer.vcproj:
3603         * win32/config.h:
3604         * win32/dirent.c: (_tseekdir):
3605         * win32/gst-inspect.vcproj:
3606         * win32/gst-launch.vcproj:
3607         * win32/gstconfig.h:
3608         * win32/gstelements.vcproj:
3609         * win32/gstenumtypes.c: (gst_object_flags_get_type):
3610         * win32/gstreamer.def:
3611         * win32/msvc71.sln:
3612           updates for the win32 build (patch from Sebastien Moutte)
3613
3614 2005-10-10  Andy Wingo  <wingo@pobox.com>
3615
3616         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3617         gst_bin_get_state, cleaned up (but no logic changes).
3618         (bin_element_is_sink): Comment updates.
3619         (sink_iterator_filter): Remove needless cast.
3620         (gst_bin_iterate_sinks): Doc update.
3621         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3622         cleaned up (but no logic changes).
3623
3624         * check/states/sinks.c (test_src_sink): Cleanups from the state
3625         change patch.
3626         (test_livesrc_sink): Sync on the state.
3627
3628         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3629         the state change patch.
3630
3631         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3632         change patch.
3633
3634         * check/gst/gstbin.c: Merge in some style fixes and additional
3635         checks from Wim's state change patch.
3636
3637 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3638
3639         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3640         (gst_type_find_helper):
3641           Check whether we have the requested data already in our list of
3642           cached buffers before pulling a new buffer; also make the buffer
3643           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3644
3645 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3646
3647         * gst/gstcaps.c:
3648         * gst/gstevent.c:
3649           doc updates
3650         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3651           don't use long long, it's not portable.  Replacing with
3652           gint64 seems to work; let's hope no skeletons fall out of the closet.
3653
3654 2005-10-10  Andy Wingo  <wingo@pobox.com>
3655
3656         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3657
3658 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
3659
3660         * docs/gst/gstreamer-sections.txt:
3661         * gst/gstevent.c:
3662         * gst/gstevent.h:
3663         * gst/gstinfo.c:
3664         * gst/gstinfo.h:
3665         * gst/gstmessage.c: (gst_message_parse_state_changed):
3666         * gst/gstpad.c:
3667         * gst/gstpad.h:
3668           more docs, fix compilation
3669
3670 2005-10-09  Philippe Khalaf <burger@speedy.org>
3671         * gst/gstmessage.c:
3672           Fixed a few forgotten variables on previous commit
3673
3674 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3675
3676         * gst/base/gsttypefindhelper.c: (helper_find_peek):
3677           Fix evil typefind crasher: getrange() might return a short
3678           buffer at the end of a file, but gst_type_find_peek() must
3679           either return the full data as requested or NULL, but
3680           never a short buffer.
3681
3682 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3683
3684         * gst/gstmessage.c: (gst_message_new_state_changed),
3685         (gst_message_parse_state_changed):
3686         * gst/gstmessage.h:
3687           don't use "new", it's a C++ keyword
3688
3689 2005-10-08  Wim Taymans  <wim@fluendo.com>
3690
3691         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3692         * gst/gstelement.c: (gst_element_post_message):
3693         * gst/gstpipeline.c: (gst_pipeline_change_state):
3694         Small docs and debug updates.
3695
3696 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3697
3698         * docs/gst/gstreamer-sections.txt:
3699         * gst/gstelementfactory.c:
3700         * gst/gstevent.c:
3701         * gst/gsttaglist.c:
3702           more docs
3703
3704 2005-10-08  Wim Taymans  <wim@fluendo.com>
3705
3706         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3707         (gst_bin_dispose), (bin_bus_handler):
3708         Fix typos, add comments.
3709         Clear EOS list when going to PAUSED from any direction and do it
3710         in a threadsafe way.
3711         Get base time in a threadsafe way too.
3712         Fix confusing debug in the change_state function.
3713         Various other small cleanups.
3714         
3715         * gst/gstelement.c: (gst_element_post_message):
3716         Fix very verbose bus posting code.
3717
3718         * gst/gstpipeline.c: (gst_pipeline_class_init),
3719         (gst_pipeline_set_property), (gst_pipeline_get_property),
3720         (gst_pipeline_change_state):
3721         Small ARG_ -> PROP_ cleanup
3722
3723 2005-10-08  Wim Taymans  <wim@fluendo.com>
3724
3725         * gst/gstbin.c: (is_eos), (bin_bus_handler):
3726         Do a less CPU demanding EOS check because we can.
3727
3728 2005-10-08  Wim Taymans  <wim@fluendo.com>
3729
3730         * libs/gst/dataprotocol/dataprotocol.c:
3731         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3732         (gst_dp_packet_from_event):
3733         * libs/gst/dataprotocol/dataprotocol.h:
3734         * libs/gst/dataprotocol/dp-private.h:
3735         It's about time we bump the version number.
3736         Since event types don't fit in the guint8 anymore describing
3737         the payload type, make payload type 16 bits wide.
3738
3739 2005-10-08  Wim Taymans  <wim@fluendo.com>
3740
3741         * docs/design/part-TODO.txt:
3742         * docs/design/part-clocks.txt:
3743         * docs/design/part-events.txt:
3744         * docs/design/part-gstbin.txt:
3745         * docs/design/part-gstelement.txt:
3746         * docs/design/part-gstpipeline.txt:
3747         * docs/design/part-live-source.txt:
3748         * docs/design/part-messages.txt:
3749         * docs/design/part-overview.txt:
3750         * docs/design/part-states.txt:
3751         Many doc updates.
3752
3753 2005-10-08  Wim Taymans  <wim@fluendo.com>
3754
3755         * gst/gstevent.c:
3756         * gst/gstevent.h:
3757         Fix event quark registration.
3758         Add some space between events so we can insert them in the
3759         right groups.
3760
3761 2005-10-08  Wim Taymans  <wim@fluendo.com>
3762
3763         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3764         (gst_base_sink_handle_buffer):
3765         Better log message.
3766
3767         * gst/gstbus.h:
3768         * gst/gstelement.h:
3769         More docs.
3770
3771         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3772         (gst_queue_set_property), (gst_queue_get_property):
3773         * gst/gstqueue.h:
3774         Remove old unused properties.
3775
3776 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3777         * docs/gst/gstreamer-sections.txt:
3778         * gst/gstmessage.c:
3779         * gst/gstmessage.h:
3780         * gst/gstminiobject.c:
3781         * gst/gstminiobject.h:
3782         * gst/gstobject.h:
3783         * gst/gstpad.h:
3784         * gst/gstutils.h:
3785           lots of new docs and doc fixes
3786
3787 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3788
3789         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3790         * gst/gstplugin.h:
3791         * gst/gstregistry.c: (gst_registry_lookup_locked),
3792         (gst_registry_scan_path_level):
3793         * gst/gstregistryxml.c: (load_plugin):
3794           Only ever load one plugin for a given plugin basename.
3795           This ensures correct overriding of GST_PLUGIN_PATH over
3796           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3797           system installed plugins.
3798
3799 2005-10-08  Wim Taymans  <wim@fluendo.com>
3800
3801         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3802         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3803         Prepare for doing QOS.
3804
3805 2005-10-08  Wim Taymans  <wim@fluendo.com>
3806
3807         * check/gst/gstbin.c: (GST_START_TEST):
3808         * check/pipelines/cleanup.c: (GST_START_TEST):
3809         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3810         Allow new clock message too.
3811
3812 2005-10-08  Wim Taymans  <wim@fluendo.com>
3813
3814         * gst/gstmessage.c: (gst_message_new_error),
3815         (gst_message_new_warning), (gst_message_new_tag),
3816         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3817         (gst_message_new_clock_lost), (gst_message_new_new_clock),
3818         (gst_message_new_segment_start), (gst_message_new_segment_done),
3819         (gst_message_parse_state_changed),
3820         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3821         (gst_message_parse_new_clock):
3822         * gst/gstmessage.h:
3823         Also carry the clock in question.
3824
3825 2005-10-08  Wim Taymans  <wim@fluendo.com>
3826
3827         * gst/gstmessage.c: (gst_message_new_custom),
3828         (gst_message_new_eos), (gst_message_new_error),
3829         (gst_message_new_warning), (gst_message_new_tag),
3830         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3831         (gst_message_new_new_clock), (gst_message_new_segment_start),
3832         (gst_message_new_segment_done), (gst_message_parse_state_changed),
3833         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3834         * gst/gstmessage.h:
3835         Clean up.
3836         Added clock related messages.
3837
3838         * gst/gstpipeline.c: (gst_pipeline_change_state):
3839         Post message when the clock changed.
3840
3841         * tools/gst-launch.c: (event_loop):
3842         Print new clock.
3843
3844 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3845
3846         * tools/gst-inspect.c: (print_element_properties_info):
3847           Can't pass NULL strings to g_print() on windows.
3848
3849 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3850
3851         * docs/Makefile.am:
3852         * docs/gst/Makefile.am:
3853         * docs/gst/gstreamer-docs.sgml:
3854         * docs/gst/running.xml:
3855         * docs/version.entities.in:
3856           add a chapter on running GStreamer.
3857           document GST_DEBUG and GST_PLUGIN* env vars
3858
3859 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3860
3861         * Makefile.am:
3862           remove include dir
3863         * configure.ac:
3864           remove PLUGINS_BUILDDIR stuff
3865         * gst/gst.c: (init_post):
3866           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3867         * idiottest.mak:
3868           remove, it was condescending and not needed
3869
3870 2005-10-08  Wim Taymans  <wim@fluendo.com>
3871
3872         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3873         (gst_base_sink_handle_object), (gst_base_sink_event),
3874         (gst_base_sink_wait), (gst_base_sink_handle_event),
3875         (gst_base_sink_change_state):
3876         * gst/base/gstbasesink.h:
3877         Repost EOS message while going to PLAYING if still EOS.
3878         Make sure that when receiving a FLUSH_START we don't attempt
3879         to sync on the clock anymore.
3880
3881 2005-10-08  Wim Taymans  <wim@fluendo.com>
3882
3883         * tools/gst-launch.c: (event_loop):
3884         Better message printout.
3885
3886 2005-10-08  Wim Taymans  <wim@fluendo.com>
3887
3888         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3889         (gst_bin_child_proxy_get_children_count):
3890         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3891         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3892         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3893         (gst_child_proxy_set_valist):
3894         * gst/parse/grammar.y:
3895         Make ChildProxy threadsafe and fix mem leaks.
3896
3897 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3898
3899         * gst/gst.c: (init_post):
3900           debug the GST_PLUGIN_ env vars
3901
3902 2005-10-08  Wim Taymans  <wim@fluendo.com>
3903
3904         * check/gst/gstbin.c: (GST_START_TEST):
3905         * check/gst/gstmessage.c: (GST_START_TEST):
3906         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3907         * gst/gstelement.c: (gst_element_commit_state),
3908         (gst_element_lost_state):
3909         * gst/gstmessage.c: (gst_message_new_state_changed),
3910         (gst_message_parse_state_changed):
3911         * gst/gstmessage.h:
3912         * tools/gst-launch.c: (event_loop):
3913         Added extra field to STATE_CHANGE message with the pending
3914         state, which will be different from the new state soon.
3915
3916 2005-10-08  Wim Taymans  <wim@fluendo.com>
3917
3918         * gst/gstbus.c: (gst_bus_pop):
3919         * gst/gstclock.c:
3920         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3921         Small cleanups and doc updates.
3922
3923 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3924
3925         * gst/gst.c: (init_pre):
3926         * gst/gstbin.c: (gst_bin_add_func):
3927           log distributing clocks and base time
3928         * gst/gstregistry.c: (gst_registry_add_plugin),
3929         (gst_registry_scan_path_level), (gst_registry_scan_path):
3930           clean up the debugging output a little
3931         * gst/gstutils.c: (gst_element_state_get_name):
3932           warn about a memleak (I've actually seen this be used, though
3933           it was probably a bug)
3934
3935 2005-10-07  Wim Taymans  <wim@fluendo.com>
3936
3937         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3938         (gst_base_src_init), (gst_base_src_default_newsegment),
3939         (gst_base_src_newsegment), (gst_base_src_do_seek),
3940         (gst_base_src_loop), (gst_base_src_start):
3941         * gst/base/gstbasesrc.h:
3942         Make the newsegment event customizable by subclasses.
3943
3944 2005-10-07  Wim Taymans  <wim@fluendo.com>
3945
3946         * gst/gstevent.c: (gst_event_new_buffersize),
3947         (gst_event_parse_buffersize):
3948         * gst/gstevent.h:
3949         New event for future idea.
3950
3951 2005-10-07  Andy Wingo  <wingo@pobox.com>
3952
3953         * gst/gstelement.c (gst_element_post_message): Doc update.
3954
3955         * docs/gst/gstreamer-sections.txt: Update.
3956
3957         * gst/gstmessage.c (gst_message_new_application): Made into a
3958         function like honest API calls.
3959         (gst_message_new_element): New message type.
3960
3961         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3962
3963         * check/elements/fakesrc.c (test_no_preroll): New check, checks
3964         that setting a live fakesrc to PAUSED returns NO_PREROLL both
3965         times.
3966
3967         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3968         NO_PREROLL from gst_element_change_state to fall through.
3969
3970 2005-10-07  Wim Taymans  <wim@fluendo.com>
3971
3972         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3973         (gst_ghost_pad_do_activate_push):
3974         Activating a ghostpad with no internal pad in push mode
3975         is ok.
3976
3977 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3978
3979         * gst/gstobject.h:
3980           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3981           Fixes compilation on Windows.
3982
3983 2005-10-07  Michael Smith <msmith@fluendo.com>
3984
3985         * tools/gst-inspect.c:
3986           Print out feature and plugin count at the end when printing out
3987           all features.
3988
3989 2005-10-04  Michael Smith <msmith@fluendo.com>
3990
3991         * gst/gsterror.c: (_gst_stream_errors_init):
3992           Add another error string used in a few existing plugins.
3993
3994         * gst/gstplugin.c:
3995         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3996         * tools/gst-inspect.c: (print_element_info):
3997           When a feature disappears from a plugin (and the feature exists in
3998           the cached registry file), things went horribly wrong. This isn't a
3999           complete fix, we should actually be removing the 'missing' features
4000           from the features list when we load the actual plugin. That's not
4001           yet implemented. 
4002
4003 2005-10-04  Johan Dahlin  <johan@gnome.org>
4004
4005         * check/gst/gstiterator.c: (GST_START_TEST):
4006         * gst/gstbin.c: (gst_bin_iterate_elements),
4007         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4008         * gst/gstelement.c: (gst_element_iterate_pads):
4009         * gst/gstformat.c: (gst_format_iterate_definitions):
4010         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4011         (gst_iterator_new_list), (gst_iterator_filter):
4012         * gst/gstiterator.h:
4013         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4014         Add a GType to GstIterator, update callsites and tests.
4015
4016 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4017
4018         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4019           give events a chance to be handled by event probes when the pad
4020           is not linked
4021
4022 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4023
4024         * gst/gstevent.c: (gst_event_type_get_name),
4025         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4026         * gst/gstevent.h:
4027           add string representations for event types
4028
4029 2005-10-06  Wim Taymans  <wim@fluendo.com>
4030
4031         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4032         Don't use NULL pointers.
4033
4034 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4035
4036         * gst/gst_private.h:
4037         * gst/gstbus.c:
4038         * gst/gstelement.c:
4039         * gst/gstinfo.c:
4040         * gst/gstpluginfeature.c:
4041           widen the debug category in output to fit the biggest one we have
4042           add a bus category and use it
4043           play with the colors
4044           fix up some categories
4045
4046 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4047
4048         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4049           add push activation of sink ghost pads.
4050           Andye, please verify
4051
4052 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4053
4054         * gst/gstutils.c: (gst_element_link_pads):
4055           fix a bug in the case where neither element has a pad
4056         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4057           add a test for that case
4058
4059 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4060
4061         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4062           emit have-data before checking for peers.  This allows
4063           for probe handlers to connect elements.  This helps autopluggers.
4064         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4065         (gst_pad_suite):
4066           add six checks, linked/unlinked with no/true/false probe
4067
4068 2005-10-04  Wim Taymans  <wim@fluendo.com>
4069
4070         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4071         (gst_fake_sink_event), (gst_fake_sink_preroll),
4072         (gst_fake_sink_render), (gst_fake_sink_change_state):
4073         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4074         (gst_fake_src_get_property), (gst_fake_src_create),
4075         (gst_fake_src_stop):
4076         * gst/elements/gstidentity.c: (gst_identity_stop):
4077         Protect last_message with lock.
4078
4079 2005-10-04  Edward Hervey  <edward@fluendo.com>
4080
4081         * gst/gstformat.h: 
4082         Added precision in the comments for GST_FORMAT_DEFAULT
4083
4084 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4085
4086         * tools/gst-launch.c: (main):
4087           Don't try to run erroneous pipelines.
4088
4089 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4090
4091         * gst/gstbus.c: We don't need this header.
4092
4093 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4094
4095         * configure.ac:
4096           back to development
4097
4098 === release 0.9.3 ===
4099
4100 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4101
4102         * README:
4103         * configure.ac:
4104           Releasing 0.9.3, "Unregistered"
4105
4106 2005-10-03  Andy Wingo  <wingo@pobox.com>
4107
4108         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4109         whereby calling a pad's activatepush() function can start a thread
4110         that starts to push or pull before the pad gets the FLUSHING flag
4111         unset. Hack around it by holding the stream lock until the flag is
4112         set. Need to replace this with a proper solution. Together with
4113         the ghost pad fixes, this fixes mp3 playing/tagreading.
4114
4115         * docs/design/part-gstghostpad.txt: Add a note about activation of
4116         proxy pads outside of ghost pads.
4117
4118         * gst/gstghostpad.c: Implement the ghost pad activation design.
4119
4120 2005-10-02  Andy Wingo  <wingo@pobox.com>
4121
4122         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4123         It is volatile, after all.
4124
4125         * docs/design/part-gstghostpad.txt: Flesh out activation with
4126         ghost pads.
4127
4128         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4129         GST_DEBUG_FUNCPTR.
4130
4131 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4132
4133         * configure.ac:
4134           Fix (unused) AM_CONDITIONAL tests.
4135
4136 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4137
4138         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4139
4140         * gst/gstutils.c: (gst_pad_query_convert):
4141           Add assertion that makes sure src_val is >=0, just like
4142           gst_query_new_convert() has. (#315895)
4143
4144 2005-09-30  Edward Hervey  <edward@fluendo.com>
4145
4146         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4147         Let's not iterate pads we're not interested in, it avoids getting 
4148         sky-high refcounts on sinkpad.
4149
4150 2005-09-30  Wim Taymans  <wim@fluendo.com>
4151
4152         * gst/gstelement.c: (gst_element_set_state),
4153         (gst_element_change_state):
4154         Small tweak, element in ASYNC remains ASYNC.
4155
4156 2005-09-30  Wim Taymans  <wim@fluendo.com>
4157
4158         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4159         Only error is an error.
4160
4161         * gst/gstbin.c: (gst_bin_change_state):
4162         Better debugging.
4163
4164         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4165         Also call pad_block in pad alloc.
4166
4167         * gst/gstutils.c: (gst_flow_get_name):
4168         Better debugging.
4169
4170 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4171
4172         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4173         (gst_base_src_get_range):
4174           Fix documentation typos. Add some more debug info.
4175
4176 2005-09-29  David Schleef  <ds@schleef.org>
4177
4178         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4179           more end-user friendly.
4180         * tools/gst-inspect.c: (main): Check if command-line argument is
4181           a file and attempt to load that file as a plugin.
4182
4183 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4184
4185         * check/gst/gstbin.c:
4186         * check/states/sinks.c:
4187           fix tests for the new warning
4188         * check/gst/gstpipeline.c:
4189           add a test for pipeline and bus interaction
4190         * gst/gstelement.c:
4191           elements should be NULL if they get disposed; add a warning if not
4192
4193 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4194
4195         * gst/gstobject.c:
4196           for 2.6 refcounting, make debug log more correct by printing
4197           the actual refcounts at the time of swap (Wim)
4198
4199 2005-09-29  Andy Wingo  <wingo@pobox.com>
4200
4201         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4202         removes signal watches previously added via
4203         gst_bus_add_signal_watch.
4204         (gst_bus_add_signal_watch): Don't return the source id, just store
4205         it on the bus if there wasn't an id already.
4206
4207         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4208         add_signal_watch and remove_signal_watch.
4209
4210 2005-09-29  Edward Hervey  <edward@fluendo.com>
4211
4212         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4213         Better if we actually iterate the list :)
4214
4215 2005-09-29  Wim Taymans  <wim@fluendo.com>
4216
4217         * check/gst/gstbin.c: (GST_START_TEST):
4218         Change for new bus API.
4219
4220         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4221         (send_messages), (GST_START_TEST), (gstbus_suite):
4222         Change for new bus signal API.
4223
4224         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4225         (gst_bus_source_prepare), (gst_bus_source_check),
4226         (gst_bus_create_watch), (gst_bus_add_watch_full),
4227         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4228         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4229         * gst/gstbus.h:
4230         Remove support for multiple GSources operating on different
4231         message types as it is too complex and unneeded when using
4232         signals.
4233         Added support for receiving signals from the bus.
4234
4235 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4236
4237         * docs/libs/tmpl/gstdataprotocol.sgml:
4238         * docs/manual/advanced-dataaccess.xml:
4239         * gst/elements/gstcapsfilter.c:
4240         * gst/gstutils.c:
4241           rename filter-caps to caps property
4242
4243 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4244
4245         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4246           More robust fraction string parsing.
4247
4248         * docs/pwg/appendix-porting.xml:
4249           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4250
4251 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4252
4253         * gst/gstcaps.c: (gst_caps_do_simplify):
4254           Thou shalt not free a structure and then continue using it
4255           in the next loop iteration.
4256
4257         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4258         (gst_caps_suite):
4259           Add test case for caps simplification.
4260
4261 2005-09-29  Wim Taymans  <wim@fluendo.com>
4262
4263         * check/gst/gstbin.c: (GST_START_TEST):
4264         Oops.
4265
4266 2005-09-29  Wim Taymans  <wim@fluendo.com>
4267
4268         * check/gst/gstbin.c: (GST_START_TEST):
4269         Add bus to bin.
4270
4271         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4272         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4273         (find_element), (gst_bin_sort_iterator_next),
4274         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4275         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4276         (gst_bin_change_state), (gst_bin_dispose):
4277         A bin does not have a bus, it gets the bus from the parent.
4278
4279         * gst/gstelement.c: (gst_element_requires_clock),
4280         (gst_element_provides_clock), (gst_element_is_indexable),
4281         (gst_element_is_locked_state), (gst_element_change_state),
4282         (gst_element_set_bus_func):
4283         Small cleanups.
4284
4285         * gst/gstpipeline.c: (gst_pipeline_class_init),
4286         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4287         The pipeline provides a bus.
4288
4289 2005-09-28  Johan Dahlin  <johan@gnome.org>
4290
4291         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4292         gst_structure_get_enum instead of gst_structure_get_int
4293
4294         * gst/gststructure.c (gst_structure_get_enum): Impl.
4295
4296         * gst/gststructure.h (gst_structure_get_enum): Add
4297
4298         * docs/gst/gstreamer-sections.txt: Ditto
4299
4300         * gst/gstmessage.c (gst_message_new_state_changed): Use
4301         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4302         which does introspection.
4303         Reviewed by Christian Schaller
4304
4305 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4306
4307         * gst/gstinfo.c: (gst_debug_log_default):
4308           don't do dummy g_strdup()s
4309         * libs/gst/controller/gstcontroller.c:
4310         (on_object_controlled_property_changed),
4311         (gst_controlled_property_new), (gst_controller_new_valist),
4312         (gst_controller_new_list),
4313         (gst_controller_remove_properties_valist), (gst_controller_set),
4314         (gst_controller_get), (gst_controller_sync_values),
4315         (gst_controller_get_value_array), (_gst_controller_class_init),
4316         (gst_controller_get_type):
4317         * libs/gst/controller/gstcontroller.h:
4318         * libs/gst/controller/gstinterpolation.c:
4319         (gst_controlled_property_find_timed_value_node):
4320           convert // to /**/ comments
4321
4322 2005-09-28  Wim Taymans  <wim@fluendo.com>
4323
4324         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4325         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4326         (gst_bus_sync_signal_handler):
4327         * gst/gstbus.h:
4328         Added async-message and sync-message signals to the bus.
4329         Added helper BusFunc to emit signals for all posted messages.
4330
4331         * gst/gstmessage.c: (gst_message_type_get_name),
4332         (gst_message_type_to_quark), (gst_message_get_type):
4333         * gst/gstmessage.h:
4334         Register quarks for message names.
4335
4336 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4337
4338         * docs/libs/gstreamer-libs-sections.txt:
4339         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4340         (gst_controller_new_list):
4341         * libs/gst/controller/gstcontroller.h:
4342           added another constructor for language bindings
4343
4344 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4345
4346         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4347           add another check
4348         * gst/gstbus.c:
4349           add some doc
4350         * gst/gstinfo.c: (_gst_debug_init):
4351           slightly more readable color for refcount debugging
4352
4353 2005-09-28  Wim Taymans  <wim@fluendo.com>
4354
4355         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4356         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4357         (find_element), (gst_bin_sort_iterator_next),
4358         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4359         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4360         (gst_bin_change_state), (gst_bin_dispose):
4361         Small doc fixes. get_clock -> provide_clock.
4362
4363         * gst/gstelement.c: (gst_element_class_init),
4364         (gst_element_provides_clock), (gst_element_provide_clock),
4365         (gst_element_get_clock), (gst_element_commit_state),
4366         (gst_element_lost_state):
4367         * gst/gstelement.h:
4368         Make get/set_clock() symetric. Add provide_clock vmethod since
4369         that is actually what this function does.
4370
4371         * gst/gstpipeline.c: (gst_pipeline_class_init),
4372         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4373         (gst_pipeline_get_clock):
4374         get_clock -> provide_clock.
4375
4376 2005-09-28  Andy Wingo  <wingo@pobox.com>
4377
4378         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4379         lieu of real docs...
4380
4381         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4382
4383 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4384
4385         * gst/elements/gstcapsfilter.c:
4386         * gst/elements/gstfakesink.c:
4387         * gst/elements/gstfakesrc.c:
4388         * gst/elements/gstfdsink.c:
4389         * gst/elements/gstfdsrc.c:
4390         * gst/elements/gstfilesink.c:
4391         * gst/elements/gstfilesrc.c:
4392         * gst/elements/gstidentity.c:
4393         * gst/elements/gsttee.c:
4394         * gst/elements/gsttypefindelement.c:
4395           Make element details static.
4396
4397 2005-09-28  Wim Taymans  <wim@fluendo.com>
4398
4399         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4400         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4401         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4402         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4403         (gst_bin_change_state), (gst_bin_dispose):
4404         Some documentation updates.
4405         Clean up dispose handlers.
4406
4407         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4408         * gst/gstpad.c: (gst_pad_dispose):
4409         Clean up dispose handler.
4410
4411         * gst/gstpipeline.c: (gst_pipeline_change_state):
4412         Removed spurious UNLOCK.
4413
4414 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4415
4416         * docs/gst/gstreamer-sections.txt:
4417         * gst/base/gstbasesrc.h:
4418         * gst/gstelement.h:
4419         * gst/gstevent.h:
4420         * gst/gstobject.h:
4421         * gst/gstpad.h:
4422         * gst/gstpipeline.c:
4423         * gst/gstpipeline.h:
4424         * gst/gstutils.h:
4425         * gst/gstxml.h:
4426           added two new functions to the docs
4427                 documents all undocumented GstXXXFlags
4428                 completed some incomplete docs 
4429
4430 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4431
4432         * gst/gstbin.c: (gst_bin_dispose):
4433         * gst/gstelement.c: (gst_element_dispose):
4434           remove now useless and leaky resurrection code in dispose
4435         * gst/base/gstbasesrc.c: (gst_base_src_init):
4436         * gst/gstelementfactory.c: (gst_element_factory_create):
4437         * gst/gstobject.c: (gst_object_set_parent):
4438           add some debugging
4439
4440 2005-09-27  Wim Taymans  <wim@fluendo.com>
4441
4442         * docs/design/part-TODO.txt:
4443         Update TODO.
4444
4445         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4446         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4447         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4448         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4449         (gst_bin_change_state):
4450         * gst/gstelement.h:
4451         Remove element variable, we keep element info in the iterator now.
4452
4453 2005-09-27  Andy Wingo  <wingo@pobox.com>
4454
4455         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4456         values.
4457
4458 2005-09-27  Wim Taymans  <wim@fluendo.com>
4459
4460         * check/gst/gstbin.c: (GST_START_TEST):
4461         Enable check that works now.
4462
4463         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4464         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4465         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4466         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4467         (gst_bin_change_state):
4468         * gst/gstbin.h:
4469         Redid the state change algorithm using a topological sort algo.
4470         Handles all cases correctly.
4471         Exposed iterator for state change order.
4472
4473         * gst/gstelement.h:
4474         Temp storage for state changes. Need to get rid of this soon.
4475
4476 2005-09-27  Wim Taymans  <wim@fluendo.com>
4477
4478         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4479         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4480         (link_fold_func), (gst_pad_proxy_setcaps):
4481         Leak fixes, the fold functions need to unref the passed object and
4482         _get_parent_*() returns ref to parent.
4483
4484 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4485
4486         * check/gst/gstbuffer.c: (test_make_writable):
4487           Plug leak in test case and fix 'make check-valgrind'
4488
4489 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4490
4491         * gst/gstbuffer.c: (gst_subbuffer_init):
4492           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4493           works correctly in all circumstances (we could have just copied
4494           the parent buffer's readonly flag, but conceptually it seems
4495           cleaner to mark all subbuffers as read-only). (based on patch
4496           by Alessandro Decina, #314710).
4497         
4498         * check/gst/gstbuffer.c: (create_read_only_buffer),
4499         (test_make_writable), (test_subbuffer_make_writable),
4500         (gst_test_suite):
4501           Add some tests for gst_buffer_make_writable().
4502
4503 2005-09-27  Wim Taymans  <wim@fluendo.com>
4504
4505         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4506         use gst_object_has_ancestor().
4507
4508         * gst/gstobject.c: (gst_object_has_ancestor):
4509         * gst/gstobject.h:
4510         gst_object_has_ancestor() copied from gstbin.c as it is a
4511         usefull function.
4512
4513         * tests/instantiate/create.c: (create_all_elements):
4514         * tests/lat.c: (handoff_src), (handoff_sink):
4515         * tests/sched/runxml.c: (main):
4516         * tests/seeking/seeking1.c: (main):
4517         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4518         (main):
4519         Fix compilation of some tests.
4520
4521 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4522
4523         * gst/gsterror.h:
4524           Remove comment. GST_TYPE_G_ERROR is here to stay,
4525           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4526           (#316961, #300610).
4527
4528 2005-09-26  Wim Taymans  <wim@fluendo.com>
4529
4530         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4531         Added check that shows error in state change order.
4532
4533 2005-09-26  Wim Taymans  <wim@fluendo.com>
4534
4535         * gst/gstbin.c: (gst_bin_change_state):
4536         Make state change function use 3 queues again, we were
4537         adding elements in the wrong order.
4538
4539         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4540         Some debug info,
4541
4542         * gst/gstpad.c: (gst_pad_dispose):
4543         Added some debug info first.
4544
4545 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4546
4547         * docs/design/draft-push-pull.txt:
4548         * docs/design/part-events.txt:
4549         * docs/design/part-overview.txt:
4550         * docs/design/part-scheduling.txt:
4551           Replace all _pull_region() with _pull_range()
4552           
4553 2005-09-26  Andy Wingo  <wingo@pobox.com>
4554
4555         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4556
4557         * check/gst-libs/controller.c: Update for controller api change.
4558
4559         * configure.ac: 
4560         * tests/Makefile.am:
4561         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4562         over by GLib bug 118439.
4563         
4564         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4565         routines to a function.
4566
4567         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4568
4569         * libs/gst/controller/gsthelper.c:
4570         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4571         (gst_object_sync_values): Renamed from sink_values. Ugh.
4572
4573         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4574
4575         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4576         Renamed from controller_key, as it is exported.
4577
4578         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4579
4580 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4581
4582         * gst/Makefile.am:
4583         * gst/gst.h:
4584         * gst/gstpad.h:
4585         * gst/gstpadtemplate.h:
4586         * gst/gstquery.c:
4587         * gst/gstquery.h:
4588         * gst/gstqueryutils.c:
4589         * gst/gstqueryutils.h:
4590           remove queryutils headers after moving the two used functions
4591           to gstquery.  also fixes build problem for gstsiddec
4592
4593 2005-09-26  Michael Smith <msmith@fluendo.com>
4594
4595         * tools/gst-launch.1.in:
4596         Correct documentation in manpage of debug syntax
4597
4598 2005-09-26  Wim Taymans  <wim@fluendo.com>
4599
4600         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4601         (gst_base_src_is_seekable), (gst_base_src_change_state):
4602         Some more debugging info.
4603
4604 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4605
4606         * docs/gst/gstreamer-sections.txt:
4607         * gst/base/gstbasetransform.h:
4608         * gst/gstindex.h:
4609           added more docs
4610
4611 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4612
4613         * docs/gst/.cvsignore:
4614         * docs/gst/tmpl/.cvsignore:
4615         * docs/gst/tmpl/gstpipeline.sgml:
4616         * docs/gst/tmpl/gstplugin.sgml:
4617         * gst/gstpipeline.c:
4618         * gst/gstplugin.c:
4619         * gst/gstplugin.h:
4620           inlined the last two docs files
4621           removed the tmpl directory from cvs (no more conflicts here!)
4622
4623 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4624
4625         * docs/gst/gstreamer-sections.txt:
4626         * docs/gst/tmpl/.cvsignore:
4627         * docs/gst/tmpl/gstpad.sgml:
4628         * docs/gst/tmpl/gstpadtemplate.sgml:
4629         * gst/Makefile.am:
4630         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4631         (gst_pad_finalize), (gst_pad_set_pad_template):
4632         * gst/gstpad.h:
4633         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4634         (gst_pad_template_class_init), (gst_pad_template_init),
4635         (gst_pad_template_dispose), (name_is_valid),
4636         (gst_static_pad_template_get), (gst_pad_template_new),
4637         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4638         (gst_pad_template_pad_created):
4639         * gst/gstpadtemplate.h:
4640           inlined two more docs
4641           factored gstpadtemplate out of gstpad
4642
4643 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4644
4645         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4646         (test_children_state_change_order_semi_sink):
4647           Fix test case: we can't rely on a fixed state change order when
4648           going from READY => PAUSED because the sink might commit its 
4649           new state first when the first buffer created by the source 
4650           reaches the sink before the source has finished its change state.
4651           (Test case still fails at times, see #316856, comment 5 onwards)
4652
4653 2005-09-24  Wim Taymans  <wim@fluendo.com>
4654
4655         * docs/design/part-events.txt:
4656         * docs/design/part-gstbus.txt:
4657         * docs/design/part-gstpipeline.txt:
4658         * docs/design/part-messages.txt:
4659         * docs/design/part-overview.txt:
4660         * docs/design/part-segments.txt:
4661         * gst/gstbin.c:
4662         * gst/gstbuffer.c:
4663         * gst/gstclock.c:
4664         * gst/gstelement.c:
4665         * gst/gstevent.c:
4666         * gst/gstfilter.c:
4667         * gst/gstiterator.c:
4668         Various documentation updates.
4669
4670 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4671
4672         * gst/gstclock.h:
4673           Well, that's embarassing.  Luckily we weren't using
4674           GST_CLOCK_DIFF anywhere.
4675
4676 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4677
4678         * common/gtk-doc.mak:
4679           don't fail on building XML, FC4 slave shows a bunch of doc
4680           missing bits that I don't get
4681         * gst/gstpad.c:
4682         * gst/gstpipeline.c:
4683         * gst/gststructure.c:
4684           some doc updates
4685
4686 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4687
4688         * docs/design/part-gstbin.txt:
4689         * docs/design/part-gstbus.txt:
4690         * gst/gstbus.c:
4691           Add blurb about how the bus goes into flushing mode and
4692           drops all messages when its bin goes from READY into NULL 
4693           state.
4694
4695 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4696
4697         * docs/gst/gstreamer-sections.txt:
4698         * gst/gststructure.c: (gst_structure_get_clock_time):
4699         * gst/gststructure.h:
4700           add a method to get a GstClockTime out of a structure
4701
4702 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4703
4704         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4705         (test_children_state_change_order_semi_sink), (gst_bin_suite):
4706           Added test to check state change order in bins (can still be made
4707           to fail here under heavy disk load; bails out with 'Push on pad
4708           fakesink:sink0, but it was not activated in push mode').
4709
4710         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4711           Fix state change order when there is only a semi sink (#316856)
4712
4713         * gst/gstbus.c: (gst_bus_class_init):
4714           Use _class_peek_parent(), not _class_ref(); fix docs to say
4715           'default main context' instead of 'mainloop' where that is
4716           what's meant.
4717
4718         * gst/gstelement.c: (gst_element_commit_state),
4719         (gst_element_set_state):
4720           Fix typos in debug messages
4721
4722 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4723
4724         * docs/README:
4725         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4726         * gst/gstpluginfeature.c:
4727         * gst/gstutils.c:
4728           various doc updates
4729         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4730           change an assert into an error until it gets fixed properly
4731
4732 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
4733
4734         * docs/gst/gstreamer-sections.txt:
4735         * docs/gst/tmpl/.cvsignore:
4736         * docs/gst/tmpl/gstelement.sgml:
4737         * docs/gst/tmpl/gstinfo.sgml:
4738         * docs/gst/tmpl/gstobject.sgml:
4739         * gst/gstelement.c:
4740         * gst/gstelement.h:
4741         * gst/gstinfo.c:
4742         * gst/gstinfo.h:
4743         * gst/gstobject.c: (gst_object_class_init):
4744         * gst/gstobject.h:
4745           inlined 3 more biiiig doc files and added some missing docs on the fly
4746
4747 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4748
4749         * check/gst/.cvsignore:
4750         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4751         * gst/gstregistryxml.c: (load_plugin),
4752         (gst_registry_xml_save_plugin):
4753           put back source in registry.  add checks for find_plugin.
4754         * testsuite/states/bin.c: (assert_state), (empty_bin),
4755         (test_adding_one_element), (main):
4756         * testsuite/states/locked.c: (main):
4757           some compile/run fixes
4758
4759 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4760
4761         * check/gst/gstvalue.c: (GST_START_TEST):
4762           fix leaks in the test itself
4763
4764 2005-09-22  Wim Taymans  <wim@fluendo.com>
4765
4766         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4767         (gst_base_sink_send_event), (gst_base_sink_peer_query),
4768         (gst_base_sink_query):
4769         Prepare for more accurate position reporting and query
4770         handling.
4771
4772         * gst/gstelement.c: (gst_element_send_event),
4773         (gst_element_set_state):
4774         Add some comment.
4775
4776 2005-09-22  Wim Taymans  <wim@fluendo.com>
4777
4778         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4779         (gst_query_parse_segment):
4780         * gst/gstquery.h:
4781         More documentation.
4782         Add segment query for future use.
4783
4784 2005-09-22  Wim Taymans  <wim@fluendo.com>
4785
4786         * gst/gstbin.c: (gst_bin_add_func):
4787         Some more debug info.
4788
4789         * gst/gstelement.c: (gst_element_send_event):
4790         Simplify send_event
4791
4792         * gst/gstelement.h:
4793         Don't know how flags got broken.
4794
4795         * gst/gstquery.h:
4796         Added new query.
4797
4798 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4799
4800         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4801           Add simplistic test suite for GST_TYPE_DATE serialisation and
4802           deserialisation.
4803
4804 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4805
4806         * docs/gst/gstreamer-sections.txt:
4807         * gst/gststructure.c: (gst_structure_set_valist),
4808         (gst_structure_get_date):
4809         * gst/gststructure.h:
4810         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4811         (gst_date_copy), (gst_value_compare_date),
4812         (gst_value_serialize_date), (gst_value_deserialize_date),
4813         (gst_value_transform_date_string),
4814         (gst_value_transform_string_date), (_gst_value_initialize):
4815         * gst/gstvalue.h:
4816           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4817           bunch of utility functions along with a hack that checks that
4818           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4819           is required. Part of the grand scheme in #170777.
4820
4821 2005-09-22  Andy Wingo  <wingo@pobox.com>
4822
4823         * gst/gstconfig.h.in: Psych out gtk-doc.
4824
4825         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4826
4827         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4828
4829         * tools/gst-inspect.c (print_element_list): Plug some
4830         inconsequential leaks.
4831
4832         * gst/gstregistry.c (gst_registry_get_default): Doc.
4833
4834         * check/gst/gstplugin.c: 
4835         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4836         * gst/gstelementfactory.c (gst_element_factory_create): 
4837         * gst/gstindexfactory.c (gst_index_factory_create): Update for
4838         refcount changes.
4839
4840         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4841         (gst_plugin_feature_load): Doc, don't eat refs.
4842
4843         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4844         (gst_plugin_list_free): Doc.
4845         (gst_plugin_load_file): Doc updates.
4846
4847         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4848         accessors returning refcounted objects, return a ref.
4849
4850         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4851         accessor for caps. IDEMPOTENCE. Oh yes.
4852
4853 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
4854
4855         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4856
4857         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4858         (_gst_debug_register_funcptr):
4859           Add mutex to serialise access to the hash table with
4860           the function pointer => function name string mapping;
4861           make that hash table static scope (#316809).
4862
4863         * gst/registries/.cvsignore:
4864           Remove left-over file.
4865
4866 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4867
4868         * docs/pwg/appendix-porting.xml:
4869           And something about newsegment events and caps-on-buffers to
4870           the porting guide (feel free to improve).
4871
4872 2005-09-21  Andy Wingo  <wingo@pobox.com>
4873
4874         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4875         data and event probes on the same pad.
4876         (test_buffer_probe_once): Test that removing probes from within
4877         the probe functions works.
4878
4879 2005-09-21  Andy Wingo  <wingo@pobox.com>
4880
4881         * check/gst/gstutils.c: New file.
4882         (test_buffer_probe_n_times): A simple buffer probe test. More to
4883         come, foolios.
4884
4885         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4886         have-data::buffer, not have-data.
4887         (gst_pad_add_event_probe): Likewise for have-data::event.
4888         (gst_pad_add_data_probe): More docs. The part about 'resolving the
4889         peer' isn't quite right yet though.
4890         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
4891         (gst_pad_remove_data_probe): Change to take the guint handler_id
4892         as their arg, not the function+data, which is more glib-like.
4893
4894         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4895         the signal emission to indicate if the data is a buffer or an
4896         event.
4897         (gst_pad_get_type): Initialize buffer and event quarks.
4898         (gst_pad_class_init): have-data is now a detailed signal, yes it
4899         is.
4900
4901 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4902
4903         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4904         * gst/gstutils.c: (gst_util_set_value_from_string),
4905         (gst_util_set_object_arg):
4906           Don't put functional code in g_return_if_fail() or
4907           g_return_val_if_fail() statements, otherwise things will 
4908           break when G_DISABLE_CHECKS is defined during compilation.
4909
4910 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4911
4912         * docs/gst/tmpl/.cvsignore:
4913         * docs/gst/tmpl/gstvalue.sgml:
4914         * gst/gstvalue.c:
4915         * gst/gstvalue.h:
4916           inlied another one and added  some obvious docs
4917
4918 2005-09-21  Wim Taymans  <wim@fluendo.com>
4919
4920         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4921         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4922         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4923         (gst_fdsrc_get_property), (gst_fdsrc_create):
4924         * gst/elements/gstfdsrc.h:
4925         Properly implement fdsrc. Removed signal and timeout,
4926         better implemented somewhere else.
4927
4928 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4929
4930         * docs/gst/tmpl/.cvsignore:
4931         * docs/gst/tmpl/gstimplementsinterface.sgml:
4932         * gst/gstinterface.c:
4933           inlined more docs
4934
4935 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4936
4937         * docs/gst/gstreamer-sections.txt:
4938         * docs/gst/tmpl/.cvsignore:
4939         * docs/gst/tmpl/gstenumtypes.sgml:
4940           remove obsolete doc file
4941
4942 2005-09-21  David Schleef  <ds@schleef.org>
4943
4944         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4945         little beer, fix a little leak.
4946
4947 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4948
4949         * docs/gst/gstreamer-docs.sgml:
4950         * docs/gst/gstreamer-sections.txt:
4951         * docs/gst/tmpl/.cvsignore:
4952         * gst/Makefile.am:
4953         * gst/gst.h:
4954         * gst/gstbin.c:
4955         * gst/gstelement.h:
4956         * gst/gstindex.c: (gst_index_class_init):
4957         * gst/gstindex.h:
4958         * gst/gstindexfactory.c: (gst_index_factory_get_type),
4959         (gst_index_factory_class_init), (gst_index_factory_init),
4960         (gst_index_factory_finalize), (gst_index_factory_new),
4961         (gst_index_factory_destroy), (gst_index_factory_find),
4962         (gst_index_factory_create), (gst_index_factory_make):
4963         * gst/gstindexfactory.h:
4964         * gst/gstpluginfeature.c:
4965         * gst/gstpluginfeature.h:
4966         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4967           more docs inlined, splitted gstindex.{c,h}
4968
4969 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4970
4971         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4972           fix a leak
4973
4974 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4975
4976         * gst/elements/gstfilesink.c: (gst_file_sink_init):
4977           Set sync to FALSE by default.
4978
4979 2005-09-20  Wim Taymans  <wim@fluendo.com>
4980
4981         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4982         (gst_base_sink_init):
4983         Make sync property settable from subclass.
4984
4985         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4986         (gst_fake_sink_change_state):
4987         Set sync to FALSE by default.
4988
4989 2005-09-20  Wim Taymans  <wim@fluendo.com>
4990
4991         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4992         * tools/gst-launch.c: (main):
4993         The timeout handler should have lower priority than the source
4994         so we don't timeout before popping a message with 0 timeout.
4995         Dump error messages after failed state change.
4996
4997 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4998
4999         * tools/gst-inspect.c: (print_element_properties_info):
5000           Fix two typos.
5001
5002 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5003
5004         * check/gst/gstevent.c:
5005         * gst/elements/gstfakesink.c:
5006         * gst/elements/gstfakesink.h:
5007           remove the sync property from fakesink.
5008           has the side effect of setting sync TRUE
5009           for fakesink, which is a change.  Anyone who knows how
5010           to fix this nicely in a GObject-y way, feel free.
5011
5012 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5013
5014         * docs/gst/gstreamer-docs.sgml:
5015           remove probe refsection
5016
5017 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5018
5019         * check/Makefile.am:
5020           disable valgrinding the controller test again
5021         * docs/gst/gstreamer-sections.txt:
5022           update for api-changes
5023
5024 2005-09-20  Wim Taymans  <wim@fluendo.com>
5025
5026         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5027         (gst_base_sink_set_property), (gst_base_sink_get_property),
5028         (gst_base_sink_do_sync):
5029         * gst/base/gstbasesink.h:
5030         Added sync property to basesink to disable clock sync.
5031
5032 2005-09-20  Andy Wingo  <wingo@pobox.com>
5033
5034         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5035         eating the caller's refcount.
5036
5037         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5038         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5039         refcount.
5040
5041         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5042         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5043         of GLib 2.8 public, so we can know which refcount to check in
5044         tests.
5045
5046         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5047         (gst_object_init): Only set the gst refcount if we're going ahead
5048         with the refcount hack.
5049
5050 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5051
5052         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5053         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5054           more leaks plumbed, added more debug-logging
5055         * gst/gstmacros.h:
5056           whitespace fix
5057
5058 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5059
5060         * gst/gstmessage.c:
5061           remove include of gstmemchunk.h
5062
5063 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5064
5065         * gst/gstclock.c: (_gst_clock_id_free):
5066           Commit from the Political Party For More Atomic CVS Commits,
5067           so that people don't waste too much of their day fishing
5068           out obvious leaks out of massive commits.
5069           Oh, and fix a pretty damn obvious leak in the memchunk
5070           removal code.
5071
5072 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5073
5074         * check/Makefile.am:
5075         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5076           plug mem-leak, re-add to valgrindable tests
5077
5078 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5079
5080         * gst/gstplugin.h:
5081           unbreak the build for those who have chronic arthritis
5082           and typing "make check" is just too taxing on the hands
5083
5084 2005-09-20  Andy Wingo  <wingo@pobox.com>
5085
5086         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5087         really want it out, you should fix plugins at the same time.
5088
5089 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5090
5091         * configure.ac:
5092         * docs/gst/gstreamer-sections.txt:
5093         * gst/gstobject.c:
5094           added missing symbols to api docs
5095           disable ref-count hack if we have glib >= 2.8
5096
5097 2005-09-19  David Schleef  <ds@schleef.org>
5098
5099         * docs/gst/Makefile.am: Ignore a few more internal headers
5100         * docs/gst/gstreamer-docs.sgml: Remove old sections
5101         * docs/gst/gstreamer-sections.txt: Remove old sections
5102         * docs/gst/tmpl/gstobject.sgml: update
5103         * docs/gst/tmpl/gstplugin.sgml: update
5104         * docs/gst/tmpl/gstpluginfeature.sgml: update
5105         * docs/random/ds/0.9-suggested-changes: update.
5106         * gst/Makefile.am: remove memchunk and trashstack, since they're
5107           not used.
5108         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5109         * gst/gst.h: don't include some headers
5110         * gst/gstchildproxy.c: add gstmarshal.h
5111         * gst/gstclock.c: Don't use memchunks
5112         * gst/gstminiobject.c: Add some docs
5113         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5114         * gst/gstobject.h: same
5115         * gst/gstplugin.c: include gstmacros.h
5116         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5117         * gst/gstquery.c: don't use memchunks
5118         * gst/gstregistry.c: rename gst_registry_deinit()
5119         * gst/gstregistry.h: same
5120
5121 2005-09-19  David Schleef  <ds@schleef.org>
5122
5123         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5124         * docs/libs/gstreamer-libs-sections.txt:
5125         * docs/libs/tmpl/gstgetbits.sgml:
5126         * docs/libs/tmpl/gstputbits.sgml:
5127
5128 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5129
5130         * win32/gstenumtypes.c:
5131         * win32/gstenumtypes.h:
5132           Update.
5133
5134 2005-09-19  Wim Taymans  <wim@fluendo.com>
5135
5136         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5137         Automatically PAUSE and RESUME a pipeline when a flushing seek
5138         is performed.
5139
5140 2005-09-19  Andy Wingo  <wingo@pobox.com>
5141
5142         * gst/gstregistry.h: Spacing fixen.
5143
5144 2005-09-19  Wim Taymans  <wim@fluendo.com>
5145
5146         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5147         Handle state change failure more correctly.
5148
5149 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5150
5151         * check/Makefile.am:
5152         * check/pipelines/cleanup.c: (run_pipeline):
5153         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5154         (GST_START_TEST):
5155           enable cleanup again after fixing the leak
5156         * docs/README:
5157           some more info on docs
5158
5159 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5160
5161         * check/Makefile.am:
5162           re-enable tests now that leaks are plugged
5163         * check/gst/gst.c:
5164         * check/gst/gstbin.c:
5165         * check/gst/gstpipeline.c:
5166           add some more tests while fixing leaks
5167         * common/check.mak:
5168           make sure binaries are uptodate when valgrinding/gdbing
5169         * gst/gst.c:
5170         * gst/gstelementfactory.c:
5171           remove a ref too many, and add a FIXME for when we get
5172           round to disposing of classes
5173         * gst/gstplugin.c:
5174           fix the refcounting when loading a plugin from a file and
5175           the code pretends that the pointer is the same even though
5176           of course it can change
5177         * gst/gstpluginfeature.c:
5178           unref plugins marked cached (a bit confusing as a name)
5179           as the docs state should be done
5180           various doc additions to explain refcounting
5181         * gst/gstregistry.c:
5182         * gst/gstregistryxml.c:
5183           debugging
5184
5185 2005-09-19  Wim Taymans  <wim@fluendo.com>
5186
5187         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5188         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5189         (send_messages), (GST_START_TEST), (gstbus_suite):
5190         * check/gst/gstpipeline.c: (GST_START_TEST):
5191         * check/pipelines/cleanup.c: (run_pipeline):
5192         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5193         (GST_START_TEST):
5194         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5195         (gst_bus_source_check), (gst_bus_source_dispatch),
5196         (gst_bus_create_watch), (gst_bus_add_watch_full),
5197         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5198         * gst/gstbus.h:
5199         * tools/gst-launch.c: (event_loop):
5200         * tools/gst-md5sum.c: (event_loop):
5201         GstBusHandler -> GstBusFunc, return value has the same meaning as
5202         any other GSource (FALSE == remove source).
5203         _add_watch() and _add_watch_full() now take a MessageType mask to
5204         only handle specific types of messages.
5205         _poll() returns the GstMessage instead of the message type to avoid
5206         race conditions.
5207         _have_pending() takes a MessageType mask now too.
5208         Added testsuite for multiple bus watches.
5209         Fix testsuites and applications for new bus API.
5210
5211 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5212
5213         * check/Makefile.am:
5214           mark a bunch of the tests as to fix until we fix them
5215
5216 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5217
5218         * common/check.mak:
5219           use GST_PLUGIN settings for valgrind tests as well, so we're
5220           valgrinding the correct thing
5221         * gst/gst.c: (init_post):
5222           plug another leak
5223
5224 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5225
5226         * gst/gst.c: (init_post), (gst_deinit):
5227         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5228         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5229         * gst/gstindex.c: (gst_index_factory_class_init),
5230         (gst_index_factory_finalize):
5231         * gst/gstobject.c: (gst_object_dispose):
5232         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5233         (gst_plugin_load_file), (gst_plugin_desc_free):
5234         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5235         (gst_plugin_feature_finalize):
5236         * gst/gstregistry.c: (gst_registry_class_init),
5237         (gst_registry_init), (gst_registry_finalize),
5238         (gst_registry_get_default), (gst_registry_deinit):
5239         * gst/gstregistry.h:
5240         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5241           various cleanups and memleak plugging.  make valgrind is happy now.
5242
5243 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5244
5245         * common/check.mak:
5246           add a check-valgrind target
5247
5248 2005-09-18  David Schleef  <ds@schleef.org>
5249
5250         * tools/gst-inspect.c: Revert the GOption code.
5251
5252 2005-09-17  David Schleef  <ds@schleef.org>
5253
5254         * check/Makefile.am: Fix environment variables.
5255         * check/gst/gstplugin.c: Fix for API changes.
5256         * tools/gst-inspect.c: Fix for API changes.
5257         * tools/gst-xmlinspect.c: Fix for API changes.
5258         * gst/gstelementfactory.c:
5259         * gst/gstplugin.c:
5260         * gst/gstplugin.h:
5261         * gst/gstpluginfeature.c:
5262         * gst/gstpluginfeature.h:
5263         * gst/gstregistry.c:
5264         * gst/gstregistry.h:
5265         * gst/gstregistryxml.c:
5266         * gst/gsttypefind.c:
5267         * gst/gsttypefindfactory.c:
5268         * gst/indexers/gstfileindex.c:
5269         * gst/indexers/gstmemindex.c:
5270         * gst/schedulers/Makefile.am:
5271           Change registry to keep track of both plugins and features,
5272           removing the feature tracking from plugins themselves.
5273
5274 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5275
5276         * check/Makefile.am:
5277         * tools/gst-register.1.in:
5278           remove gst-register
5279
5280 2005-09-15  David Schleef  <ds@schleef.org>
5281
5282         * check/gst/gstplugin.c:
5283         * gst/gstelementfactory.c:
5284         * gst/gstplugin.c:
5285         * gst/gstpluginfeature.c:
5286         * gst/gstregistry.c:
5287           Getting tired of debugging.  Disabled all the unreffing of
5288           plugins and features, which fixes the segfaults, but of
5289           course leaks like crazy.  At least playbin works.
5290
5291 2005-09-15  David Schleef  <ds@schleef.org>
5292
5293         * check/gst/gstplugin.c: (register_check_elements),
5294         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5295         More testing
5296         * gst/elements/gsttypefindelement.c: Fix refcounting.
5297         * gst/gsttypefind.c:
5298         * gst/gsttypefindfactory.c:
5299         * gst/gsttypefindfactory.h:
5300
5301 2005-09-15  David Schleef  <ds@schleef.org>
5302
5303         * gst/gstindex.c: get refcounting correct.
5304         * gst/gstregistry.c: Handle the case where a feature/plugin is
5305           not found.
5306
5307 2005-09-15  David Schleef  <ds@schleef.org>
5308
5309         * check/Makefile.am:
5310         * check/gst/gstplugin.c: Add test
5311         * gst/gstplugin.c: Fix problems noticed by testsuite
5312         * gst/gstplugin.h:
5313         * gst/gstregistry.c: 
5314         * gst/gstregistry.h:
5315
5316 2005-09-15  David Schleef  <ds@schleef.org>
5317
5318         * gst/gstplugin.c: Implement semi-decent recounting and locking
5319           in plugins and plugin features.
5320         * gst/gstplugin.h:
5321         * gst/gstpluginfeature.c:
5322         * gst/gstpluginfeature.h:
5323         * gst/gstregistry.c:
5324
5325 2005-09-15  Michael Smith <msmith@fluendo.com>
5326
5327         * gst/gstregistry.c: (gst_registry_get_feature_list):
5328           Implement this. Makes oggdemux work; decodebin still broken.
5329
5330 2005-09-14  David Schleef  <ds@schleef.org>
5331
5332         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5333           #316076)
5334         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5335         * gst/check/Makefile.am:
5336         * libs/gst/controller/Makefile.am:
5337         * libs/gst/dataprotocol/Makefile.am:
5338
5339 2005-09-14  David Schleef  <ds@schleef.org>
5340
5341         * configure.ac: Remove getbits library.  Nothing uses it, and
5342           it should be in something like liboil if someone did want
5343           to use it.
5344         * libs/gst/Makefile.am:
5345         * libs/gst/getbits/Makefile.am:
5346         * libs/gst/getbits/gbtest.c:
5347         * libs/gst/getbits/getbits.c:
5348         * libs/gst/getbits/getbits.h:
5349         * libs/gst/getbits/gstgetbits_generic.c:
5350         * libs/gst/getbits/gstgetbits_i386.s:
5351         * libs/gst/getbits/gstgetbits_inl.h:
5352
5353 2005-09-14  David Schleef  <ds@schleef.org>
5354
5355         * gst/Makefile.am: Dist glib-compat.h
5356
5357 2005-09-14  David Schleef  <ds@schleef.org>
5358
5359         * configure.ac: Remove gst/registries, since it's no longer used.
5360         * gst/registries/Makefile.am:
5361         * gst/registries/gstlibxmlregistry.c:
5362         * gst/registries/gstlibxmlregistry.h:
5363         * gst/registries/gstxmlregistry.c:
5364         * gst/registries/gstxmlregistry.h:
5365         * gst/registries/registrytest.c:
5366
5367 2005-09-14  David Schleef  <ds@schleef.org>
5368
5369         * gst/glib-compat.h:
5370         * gst/gstregistryxml.c:
5371           Convergence is near.  Seriously.
5372
5373 2005-09-14  David Schleef  <ds@schleef.org>
5374
5375         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5376         * gst/glib-compat.h:
5377           Attempt #4 to appease the buildbots.
5378
5379 2005-09-14  David Schleef  <ds@schleef.org>
5380
5381         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5382           Attempt #3.
5383
5384 2005-09-14  David Schleef  <ds@schleef.org>
5385
5386         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5387         Attempt #2.
5388
5389 2005-09-14  David Schleef  <ds@schleef.org>
5390
5391         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5392           the new functions.
5393
5394 2005-09-14  David Schleef  <ds@schleef.org>
5395
5396         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5397         * gst/glib-compat.h: Add some functions that are in newer versions
5398           of glib than we care to require.
5399         * gst/gstregistryxml.c: Use them.
5400
5401 2005-09-14  David Schleef  <ds@schleef.org>
5402
5403         * po/POTFILES.in: remove gst-register.c
5404
5405 2005-09-14  David Schleef  <ds@schleef.org>
5406
5407         * docs/gst/gstreamer-docs.sgml:
5408         * docs/gst/gstreamer-sections.txt:
5409         * docs/gst/gstreamer.types:
5410         * docs/gst/tmpl/gstelement.sgml:
5411         * docs/gst/tmpl/gstplugin.sgml:
5412         * docs/gst/tmpl/gstpluginfeature.sgml:
5413           Documentation updates for registry changes.
5414
5415 2005-09-14  David Schleef  <ds@schleef.org>
5416
5417         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5418           because we don't require glib-2.8.
5419
5420 2005-09-14  David Schleef  <ds@schleef.org>
5421
5422         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5423           registries directory.
5424
5425 2005-09-14  David Schleef  <ds@schleef.org>
5426
5427         * check/Makefile.am:
5428         * check/generic/states.c:
5429         * gst/Makefile.am:
5430         * gst/gst.c:
5431         * gst/gst.h:
5432         * gst/gst_private.h:
5433         * gst/gstelementfactory.c:
5434         * gst/gstindex.c:
5435         * gst/gstinfo.c:
5436         * gst/gstplugin.c:
5437         * gst/gstplugin.h:
5438         * gst/gstpluginfeature.c:
5439         * gst/gstpluginfeature.h:
5440         * gst/gstregistry.c:
5441         * gst/gstregistry.h:
5442         * gst/gstregistrypool.c: remove
5443         * gst/gstregistrypool.h: remove
5444         * gst/gsttypefind.c:
5445         * gst/gsttypefindfactory.c:
5446         * gst/gsturi.c:
5447         * tools/Makefile.am:
5448         * tools/gst-compprep.c:
5449         * tools/gst-inspect.c:
5450         * tools/gst-register.c: remove
5451         * tools/gst-xmlinspect.c:
5452           Registry rewrite.  Changes registry from being a file created
5453           by a tool into a simple cache file created automatically by 
5454           libgstreamer.  Removed gst-register (because it's no longer
5455           needed).  Remove registry pools, because we only have one
5456           registry implementation (XML).  Fix up other subsystems as
5457           necessary.
5458
5459 2005-09-13  Michael Smith <msmith@fluendo.com>
5460
5461         * gst/gstconfig.h.in:
5462           Don't Use windows linking attributes for MinGW. Fixes #316157
5463
5464 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5465
5466         * gst/gstutils.c: (set_state_async_thread_func),
5467         (gst_element_set_state_async):
5468           Apparently people think it's better if this function doesn't
5469           try to set the state to whatever state was asked for on the first
5470           call to this function for any object.  Seriously.
5471
5472 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5473
5474         * check/gst/gstpipeline.c: (GST_START_TEST):
5475         * docs/gst/gstreamer-sections.txt:
5476         * gst/gstutils.c: (set_state_async_thread_func),
5477         (gst_element_set_state_async):
5478         * gst/gstutils.h:
5479           add a "gst_element_set_state_async" method that
5480           sets the state and starts a thread to make sure the state
5481           change completes as best as it can
5482
5483 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5484
5485         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5486           codify design+behaviour in testsuite after discussion
5487
5488 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5489
5490         * docs/gst/tmpl/gstelement.sgml:
5491         * docs/manual/appendix-quotes.xml:
5492           add a quote
5493         * gst/gstelement.c: (gst_element_set_state):
5494           add some debug
5495
5496 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5497
5498         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5499         (gst_base_transform_prepare_output_buf),
5500         (gst_base_transform_handle_buffer):
5501         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5502         (gst_capsfilter_prepare_buf):
5503           Remove the requirement for sub-classes to call the parent
5504           implementation of prepare_output_buffer with a wrapper function.
5505           
5506         * gst/gsttaglist.h:
5507         * gst/gsttagsetter.h:
5508           Fix #define wrapper
5509
5510 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5511
5512         * docs/gst/gstreamer-sections.txt:
5513           more doc cleanups
5514
5515 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5516
5517         * docs/gst/gstreamer-sections.txt:
5518         * docs/gst/tmpl/gstelement.sgml:
5519         * docs/gst/tmpl/gstplugin.sgml:
5520         * gst/gstminiobject.c:
5521         * gst/gstvalue.h:
5522           docs now stop throwing warnings
5523
5524 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5525
5526         * docs/gst/gstreamer-sections.txt:
5527         * docs/gst/gstreamer.types:
5528         * docs/gst/tmpl/gstpad.sgml:
5529         * docs/gst/tmpl/gsttypes.sgml:
5530         * gst/base/gstadapter.h:
5531         * gst/base/gstbasesink.h:
5532         * gst/base/gstbasesrc.h:
5533         * gst/gstbin.h:
5534         * gst/gstbuffer.h:
5535         * gst/gstbus.h:
5536         * gst/gstcaps.h:
5537         * gst/gstclock.h:
5538         * gst/gstelement.h:
5539         * gst/gstevent.h:
5540         * gst/gstmessage.h:
5541         * gst/gstpad.h:
5542         * gst/gststructure.c:
5543         * gst/registries/gstlibxmlregistry.h:
5544           various documentation fixes
5545
5546 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5547
5548         * docs/gst/gstreamer-sections.txt:
5549         * docs/gst/tmpl/gstvalue.sgml:
5550           rearrange gstvalue section
5551         * gst/gstutils.c: (gst_element_state_get_name):
5552           NONE -> VOID
5553         * gst/gstvalue.c: (_gst_value_initialize):
5554         * gst/gstvalue.h:
5555           doc updates
5556
5557 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5558
5559         * check/gst-libs/controller.c:
5560           Header include fix.
5561         * gst/base/gstbasetransform.c:
5562         (gst_base_transform_default_prepare_buf),
5563         (gst_base_transform_handle_buffer):
5564         * gst/base/gstbasetransform.h:
5565           Some more basetransform changes and fixes to enable sub-classes
5566           that modify buffer metadata only.
5567         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5568         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5569         (gst_capsfilter_prepare_buf):
5570           If the output pad has fixed allowed caps and input buffers 
5571           don't have any, set the fixed caps on outgoing buffers.
5572
5573 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5574         * check/elements/identity.c: (GST_START_TEST):
5575           Make the error a little clearer when the test fails because
5576           identity made a copy of the buffer.
5577         * docs/gst/gstreamer-sections.txt:
5578           New symbols in gstbasetransform.h
5579         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5580         (gst_base_transform_init), (gst_base_transform_transform_size),
5581         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5582         (gst_base_transform_default_prepare_buf),
5583         (gst_base_transform_get_unit_size),
5584         (gst_base_transform_buffer_alloc),
5585         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5586         (gst_base_transform_change_state),
5587         (gst_base_transform_set_passthrough),
5588         (gst_base_transform_set_in_place),
5589         (gst_base_transform_is_in_place):
5590         * gst/base/gstbasetransform.h:
5591           Change BaseTransform to separate in_place operate from same_caps
5592           output. in_place implies that the element can perform the transform
5593           on incoming buffers in-place, even if the caps on the output are
5594           different.
5595           Sub-class elements can now implement special buffer allocation
5596           methods for outgoing buffers if they wish to.
5597           Big documentation addition.
5598         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5599         * gst/elements/gstelements.c:
5600           Changes for basetransform modifications.
5601         * gst/elements/Makefile.am:
5602         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5603           Compile fix. Extra debug output.
5604
5605 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5606
5607         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5608         (gst_pad_suite):
5609           add tests for valid pad naming
5610         * gst/check/gstcheck.c: (gst_check_log_message_func),
5611         (gst_check_log_critical_func):
5612           add ASSERT_WARNING
5613           remove printing of code, it is fragile when the code contains
5614           % and the line number is enough info
5615         * gst/check/gstcheck.h:
5616         * gst/gstpad.c: (gst_pad_template_new):
5617           fix memleaks
5618
5619 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5620
5621         * configure.ac:
5622           say what CHECK flags we use
5623         * docs/libs/gstreamer-libs.types:
5624         * libs/gst/controller/Makefile.am:
5625         * libs/gst/controller/gst-controller.c:
5626         * libs/gst/controller/gst-controller.h:
5627         * libs/gst/controller/gst-helper.c:
5628         * libs/gst/controller/gst-interpolation.c:
5629         * libs/gst/controller/gstcontroller.c:
5630         * libs/gst/controller/gsthelper.c:
5631         * libs/gst/controller/gstinterpolation.c:
5632         * tools/gst-inspect.c: (print_plugin_info):
5633           we don't use dashes in header names
5634
5635 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5636
5637         * check/Makefile.am:
5638         * check/gst/.cvsignore:
5639         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5640         (gst_pipeline_suite), (main):
5641           adding a test for pipelines and state changes
5642         * gst/gstutils.c: (get_state_func):
5643           add some debugging
5644         * gstreamer.spec.in:
5645           fix up spec file
5646
5647 2005-09-08  Michael Smith <msmith@fluendo.com>
5648
5649         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5650         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5651         (gst_file_src_is_seekable), (gst_file_src_get_size),
5652         (gst_file_src_start):
5653         * gst/elements/gstfilesrc.h:
5654           Various fixes for unseekable, unmmapable, and non-normal files, so
5655           that fallback to read() rather than mmap() works.
5656         * gst/gstevent.c: (gst_event_new_newsegment):
5657           Allow newsegment events with segment_start == segment_end, as will
5658           correctly happen if you use filesrc on a zero-size file, for
5659           example.
5660
5661 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5662
5663         * gst/gstplugin.c: (gst_plugin_load_file):
5664           Call g_module_close when we don't load the module
5665
5666         * gst/registries/gstlibxmlregistry.c:
5667         (gst_xml_registry_get_property):
5668           Port leak fix from 0.8
5669
5670 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5671
5672         * docs/gst/gstreamer-docs.sgml:
5673         * docs/gst/tmpl/.cvsignore:
5674         * docs/gst/tmpl/gsttrace.sgml:
5675         * docs/gst/tmpl/gsttrashstack.sgml:
5676         * gst/Makefile.am:
5677         * gst/gst.h:
5678         * gst/gstelement.h:
5679         * gst/gstevent.h:
5680         * gst/gstmessage.c:
5681         * gst/gstmessage.h:
5682         * gst/gsttag.c:
5683         * gst/gsttag.h:
5684         * gst/gsttaginterface.c:
5685         * gst/gsttaginterface.h:
5686         * gst/gsttaglist.c:
5687         * gst/gsttaglist.h:
5688         * gst/gsttagsetter.c:
5689         * gst/gsttagsetter.h:
5690         * gst/gsttrace.c:
5691         * gst/gsttrace.h:
5692         * gst/gsttrashstack.c:
5693           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5694           inlined docs for gsttrace, gsttrashstack
5695
5696 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5697
5698         * gst/Makefile.am:
5699         * gst/elements/gstbufferstore.h:
5700         * gst/elements/gsttypefindelement.c:
5701         * gst/elements/gsttypefindelement.h:
5702         * gst/gst.h:
5703         * gst/gsttypefind.c:
5704         * gst/gsttypefind.h:
5705         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5706         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5707         (gst_type_find_factory_dispose),
5708         (gst_type_find_factory_unload_thyself),
5709         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5710         (gst_type_find_factory_get_caps),
5711         (gst_type_find_factory_get_extensions),
5712         (gst_type_find_factory_call_function):
5713         * gst/gsttypefindfactory.h:
5714         * gst/registries/gstlibxmlregistry.c:
5715         * gst/registries/gstxmlregistry.c:
5716           splitted gsttypefind into gsttypefind, gsttypefindfactory
5717
5718 2005-09-07  Andy Wingo  <wingo@pobox.com>
5719
5720         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5721         condition whereby the pad's task function is entered before the
5722         pad_mode variable was set.
5723
5724 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5725
5726         * gst/gstpad.c: (gst_pad_alloc_buffer):
5727           Catch misbehaving pad_alloc functions that don't
5728           set up caps and do it for them.
5729
5730 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5731
5732         * check/pipelines/simple_launch_lines.c: (run_pipeline):
5733           test for pipe!=NULL
5734         * docs/gst/tmpl/.cvsignore:
5735         * docs/gst/tmpl/gstmemchunk.sgml:
5736         * docs/gst/tmpl/gstparse.sgml:
5737         * docs/gst/tmpl/gsttaglist.sgml:
5738         * docs/gst/tmpl/gsttagsetter.sgml:
5739         * docs/gst/tmpl/gsttypefind.sgml:
5740         * docs/gst/tmpl/gsttypefindfactory.sgml:
5741         * gst/gstmemchunk.c:
5742         * gst/gstparse.c:
5743         * gst/gsttag.c:
5744         * gst/gsttaginterface.c:
5745         * gst/gsttypefind.c:
5746         * gst/gsttypefind.h:
5747           inlined more docs
5748
5749 === release 0.9.2 ===
5750
5751 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5752
5753         * NEWS:
5754         * RELEASE:
5755         * configure.ac:
5756           releasing 0.9.2, "South"
5757
5758 2005-09-05  Andy Wingo  <wingo@pobox.com>
5759
5760         * gst/registries/gstxmlregistry.h:
5761         * gst/registries/gstxmlregistry.c: Um... resurrect...
5762         
5763         * gst/registries/gstxmlregistry.h:
5764         * gst/registries/gstxmlregistry.c: and update to newer API.
5765         Incidentally they should be a bit faster now that they don't have
5766         to parse the caps.
5767         
5768 2005-09-05  Andy Wingo  <wingo@pobox.com>
5769
5770         * gst/registries/gstxmlregistry.h:
5771         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5772         replaced by the libxml registry a while back
5773
5774 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5775
5776         * docs/gst/tmpl/gstplugin.sgml:
5777         * gst/elements/gstelements.c:
5778         * gst/gst.c:
5779         * gst/gstplugin.c: (gst_plugin_register_func),
5780         (gst_plugin_desc_copy), (gst_plugin_desc_free),
5781         (gst_plugin_get_source):
5782         * gst/gstplugin.h:
5783         * gst/registries/gstlibxmlregistry.c: (load_plugin),
5784         (gst_xml_registry_save_plugin):
5785         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5786         (gst_xml_registry_save_plugin):
5787         * tools/gst-inspect.c: (print_plugin_info):
5788           add a "source" plugin description field, to represent the source
5789           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
5790           will set it to PACKAGE, which is automake's idea of the name of
5791           the source project.
5792
5793 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5794
5795         * Makefile.am:
5796         * autogen.sh:
5797         * configure.ac:
5798         * docs/Makefile.am:
5799         * docs/faq/Makefile.am:
5800         * docs/gst/tmpl/gstelement.sgml:
5801         * docs/gst/tmpl/gsttypes.sgml:
5802         * docs/htmlinstall.mak:
5803         * docs/manual/Makefile.am:
5804         * docs/pwg/Makefile.am:
5805           reorganize doc build a little
5806           split out docbook and gtk-doc stuff
5807           have two separate --enable's and enable them through autogen
5808           but disable by default in configure (to be similar to other
5809           projects)
5810         * gstreamer.spec.in:
5811           clean up docs install
5812         * po/af.po:
5813         * po/az.po:
5814         * po/ca.po:
5815         * po/cs.po:
5816         * po/de.po:
5817         * po/en_GB.po:
5818         * po/fr.po:
5819         * po/it.po:
5820         * po/nb.po:
5821         * po/nl.po:
5822         * po/ru.po:
5823         * po/sq.po:
5824         * po/sr.po:
5825         * po/sv.po:
5826         * po/tr.po:
5827         * po/uk.po:
5828         * po/vi.po:
5829           translation updates
5830
5831 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5832
5833         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5834           Add comment.
5835           
5836         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5837         (gst_fake_sink_change_state):
5838           Make state change function thread-safe.
5839           
5840         * gst/gstpad.c: (gst_pad_alloc_buffer):
5841           Set offset on generic buffer allocated by fallback.
5842
5843 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
5844
5845         * docs/gst/gstreamer-sections.txt:
5846         * docs/gst/tmpl/gstelement.sgml:
5847         * gst/gstpad.c:
5848         * libs/gst/controller/gst-controller.c:
5849         (gst_controlled_property_set_interpolation_mode),
5850         (gst_controlled_property_new),
5851         (gst_controller_find_controlled_property):
5852          run the wingo-magic script against the docs
5853
5854 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5855
5856         * docs/gst/gstreamer-docs.sgml:
5857         * docs/gst/gstreamer-sections.txt:
5858         * docs/gst/tmpl/.cvsignore:
5859         * docs/gst/tmpl/gstelementdetails.sgml:
5860         * docs/gst/tmpl/gstelementfactory.sgml:
5861         * gst/gst.c:
5862         * gst/gstbus.c:
5863         * gst/gstelementfactory.c:
5864         * gst/gstelementfactory.h:
5865           merged elementdetails docs into elementfactory docs
5866           inlined both
5867
5868 2005-09-02  Andy Wingo  <wingo@pobox.com>
5869
5870         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5871         consider this enum an enum and not a flags.
5872
5873 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5874
5875         * docs/gst/gstreamer-docs.sgml:
5876         * docs/gst/tmpl/.cvsignore:
5877         * docs/gst/tmpl/gstghostpad.sgml:
5878         * docs/gst/tmpl/gstiterator.sgml:
5879         * docs/gst/tmpl/gstmacros.sgml:
5880         * docs/gst/tmpl/gstrealpad.sgml:
5881         * docs/gst/tmpl/gstregistry.sgml:
5882         * docs/gst/tmpl/gstregistrypool.sgml:
5883         * docs/gst/tmpl/gststructure.sgml:
5884         * docs/gst/tmpl/gstsystemclock.sgml:
5885         * docs/gst/tmpl/gsttrace.sgml:
5886         * gst/gstghostpad.c:
5887         * gst/gstmacros.h:
5888         * gst/gstmemchunk.c:
5889         * gst/gstmemchunk.h:
5890         * gst/gstqueue.c:
5891         * gst/gstregistry.c:
5892         * gst/gstregistrypool.c:
5893         * gst/gststructure.c:
5894         * gst/gstsystemclock.c:
5895           more docs inlined
5896
5897 2005-09-02  Andy Wingo  <wingo@pobox.com>
5898
5899         * gst/gstelement.h (GstState): Renamed from GstElementState,
5900         changed to be a normal enum instead of flags.
5901         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5902         munged to be GST_STATE_CHANGE_*.
5903         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5904         work with the new state representation.
5905         (GstStateChange): New enumeration of possible state transitions.
5906         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5907         (GstElementClass::change_state): Pass the GstStateChange along as
5908         an argument. Helps language bindings, so they don't have to use
5909         tricky lock-needing macros like GST_STATE_CHANGE ().
5910
5911         * scripts/update-states (file): New script. Run it on a file to
5912         update it for state naming and API changes. Updates files in
5913         place.
5914
5915         * All files updated for the new API.
5916
5917 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5918
5919         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5920         * gst/gstutils.c: (gst_util_set_value_from_string),
5921         (gst_util_set_object_arg):
5922           fix a bunch of unchecked return values
5923         * tools/gst-complete.c: (main):
5924         * gstreamer.spec.in:
5925           clean up a little
5926
5927 2005-09-01  Wim Taymans  <wim@fluendo.com>
5928
5929         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5930         (gst_base_sink_event), (gst_base_sink_do_sync),
5931         (gst_base_sink_handle_event):
5932         * gst/base/gstbasesink.h:
5933         Handle newsegments more correctly.
5934
5935         * gst/gstbus.c:
5936         Fix docs.
5937
5938         * gst/gstevent.c: (gst_event_new_newsegment):
5939         A newsegment cannot have a start_time of -1
5940
5941 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5942
5943         * win32/gstenumtypes.c:
5944         * win32/gstenumtypes.h:
5945           Update
5946
5947 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5948
5949         * libs/gst/controller/gst-controller.c:
5950         (gst_controlled_property_set_interpolation_mode),
5951         (gst_controlled_property_new):
5952          fixed boolean again
5953
5954 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5955
5956         * docs/faq/gst-uninstalled:
5957           add -good
5958         * gst/gstevent.c:
5959         * gst/gstevent.h:
5960           remove wrong docs
5961         * gst/gstutils.c: (gst_element_link_filtered):
5962         * gst/gstutils.h:
5963           add gst_element_link_filtered
5964
5965 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5966
5967         * docs/gst/gstreamer-docs.sgml:
5968         * docs/gst/gstreamer-sections.txt:
5969         * docs/gst/tmpl/.cvsignore:
5970         * docs/gst/tmpl/gsterror.sgml:
5971         * docs/gst/tmpl/gstfilter.sgml:
5972         * docs/gst/tmpl/gsturihandler.sgml:
5973         * docs/gst/tmpl/gsturitype.sgml:
5974         * docs/gst/tmpl/gstutils.sgml:
5975         * docs/gst/tmpl/gstxml.sgml:
5976         * gst/gsterror.c:
5977         * gst/gsterror.h:
5978         * gst/gstfilter.c:
5979         * gst/gsturi.c:
5980         * gst/gsturitype.c:
5981         * gst/gstutils.c:
5982         * gst/gstxml.c:
5983           inlined more docs, fixed double id-ref
5984
5985 2005-08-31  Wim Taymans  <wim@fluendo.com>
5986
5987         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5988         (gst_base_transform_handle_buffer):
5989         Passthrough elements don't need the caps as they don't care.
5990
5991 2005-08-31  Wim Taymans  <wim@fluendo.com>
5992
5993         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5994         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
5995         Don't leak refcounts on buffers.
5996
5997 2005-08-31  Wim Taymans  <wim@fluendo.com>
5998
5999         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6000         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6001         (gst_base_transform_chain), (gst_base_transform_change_state):
6002         * gst/base/gstbasetransform.h:
6003         Handle the case where we are not negotiated more gracefully.
6004
6005 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6006
6007         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6008         (gst_file_src_map_region):
6009           Set READONLY flag on mmap'ed buffers, otherwise
6010           gst_buffer_make_writable() won't work properly (#314708).
6011
6012 2005-08-31  Wim Taymans  <wim@fluendo.com>
6013
6014         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6015         passthrough elements can even do inplace on non writable
6016         buffers (as they don't touch them).
6017
6018 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6019
6020         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6021         (gst_test_mono_source_set_property),
6022         (gst_test_mono_source_class_init), (GST_START_TEST),
6023         (gst_controller_suite):
6024           more tests (hehe I have the most)
6025         * gst/gstbus.c:
6026           describe popping messages whenusing mulltiple sources
6027         * libs/gst/controller/gst-controller.c:
6028         (gst_controlled_property_set_interpolation_mode),
6029         (gst_controlled_property_new):
6030         * libs/gst/controller/gst-controller.h:
6031         * libs/gst/controller/gst-interpolation.c:
6032           implement boolean properties
6033
6034 2005-08-31  Wim Taymans  <wim@fluendo.com>
6035
6036         * gst/gstminiobject.c: (gst_mini_object_ref):
6037         Cannot assert that the refcount has to be positive
6038         since a disposed object can be resurrected.
6039
6040 2005-08-31  Wim Taymans  <wim@fluendo.com>
6041
6042         * gst/gstpad.c: (gst_pad_init):
6043         Revert change, need to first fix badly behaving 
6044         apps.
6045
6046 2005-08-30  Wim Taymans  <wim@fluendo.com>
6047
6048         * check/elements/fakesrc.c: (setup_fakesrc):
6049         * check/elements/identity.c: (setup_identity):
6050         Activate pads before using them.
6051
6052 2005-08-30  Wim Taymans  <wim@fluendo.com>
6053
6054         * gst/base/gstadapter.c: (gst_adapter_flush):
6055         Flushing out 0 bytes is ok for this function.
6056
6057         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6058         no newsegment gives a warning and sets the start/stop to 
6059         invalid.
6060
6061         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6062         (gst_base_transform_set_passthrough):
6063         Some debug info.
6064
6065         * gst/gstminiobject.c: (gst_mini_object_ref):
6066         Check refcount here too.
6067
6068         * gst/gstpad.c: (gst_pad_init):
6069         Pads are initially flushing and refusing data.
6070
6071         * gst/gstutils.c: (gst_element_link_pads_filtered):
6072         When adding a capsfilter element make sure it has the
6073         same state as the parent bin.
6074
6075 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6076
6077         * docs/gst/tmpl/.cvsignore:
6078         * docs/gst/tmpl/gstformat.sgml:
6079         * docs/gst/tmpl/gstversion.sgml:
6080         * gst/gstbus.h:
6081         * gst/gstformat.c:
6082         * gst/gstformat.h:
6083         * gst/gstversion.h.in:
6084           more docs and two more inlined
6085
6086 2005-08-30  Wim Taymans  <wim@fluendo.com>
6087
6088         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6089         Don't sync to clock.
6090
6091 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6092
6093         * docs/gst/gstreamer-sections.txt:
6094           ultral33t func10ns deserve to appear in the docs actually
6095         * docs/gst/tmpl/.cvsignore:
6096         * docs/gst/tmpl/gstcompat.sgml:
6097         * docs/gst/tmpl/gstconfig.sgml:
6098         * gst/check/gstcheck.c:
6099         * gst/gstcompat.h:
6100         * gst/gstconfig.h.in:
6101           inlined more docs
6102
6103 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6104
6105         * docs/gst/tmpl/.cvsignore:
6106         * docs/gst/tmpl/gstquery.sgml:
6107         * docs/gst/tmpl/gstutils.sgml:
6108         * gst/gstquery.c:
6109         * gst/gstquery.h:
6110           inlined and extended docs
6111
6112 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6113
6114         * check/gst-libs/controller.c: (GST_START_TEST),
6115         (gst_controller_suite):
6116           more tests
6117         * docs/gst/tmpl/gstutils.sgml:
6118         * docs/libs/gstreamer-libs-sections.txt:
6119         * docs/libs/tmpl/gstdataprotocol.sgml:
6120           include path fixes
6121         * examples/controller/audio-example.c: (main):
6122           controller example works now
6123         * gst/gstclock.h:
6124           doc fixes
6125         * tools/gst-inspect.c: (print_element_properties_info):
6126           show param spec flags
6127
6128 2005-08-29  Andy Wingo  <wingo@pobox.com>
6129
6130         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6131
6132 2005-08-28  Andy Wingo  <wingo@pobox.com>
6133
6134         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6135         as having two arguments instead of just one. Allows superclasses
6136         to access information on subclasses -- see the terrible for() loop
6137         in gtype.c:g_type_create_instance for the reason why. All callers
6138         changed.
6139
6140 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6141
6142         * docs/design/part-messages.txt:
6143           update info
6144         * docs/gst/tmpl/.cvsignore:
6145         * docs/gst/tmpl/gstcaps.sgml:
6146         * docs/gst/tmpl/gstclock.sgml:
6147         * gst/gstbus.c:
6148         * gst/gstcaps.c:
6149         * gst/gstcaps.h:
6150         * gst/gstclock.c:
6151         * gst/gstclock.h:
6152         * gst/gstmessage.c:
6153           added descriptions for bus and message
6154           inline caps and clock docs
6155
6156 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6157
6158         * gst/gstmessage.c:
6159         * gst/gstmessage.h:
6160           doc fixes
6161
6162 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6163
6164         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6165           fix div-by-zero
6166
6167 2005-08-26  Andy Wingo  <wingo@pobox.com>
6168
6169         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6170         element_set_state's return val.
6171         (test_2_elements): Add test that's been disabled for months.
6172
6173         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6174         can-activate-pull properties.
6175
6176         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6177         can-activate-pull properties. Implement is_seekable so fakesrc can
6178         operate in pull mode.
6179
6180         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6181         properties.
6182         (gst_base_sink_activate, gst_base_sink_activate_pull)
6183         (gst_base_sink_activate_push): Make activation mode choosing work.
6184         Cleanups.
6185         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6186         is right. Make pull mode work. Post an eos before pausing in pull
6187         mode.
6188         (gst_base_sink_change_state): Pay attention to the core's
6189         change_state() return val.
6190         
6191         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6192         has-getrange properties. Cleanups.
6193         
6194         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6195         has_getrange and replace with can_activate_pull and
6196         can_activate_push.
6197
6198         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6199         locking comments. Remove has_loop, has_chain and replace with
6200         can_activate_pull and can_activate_push.
6201
6202 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6203
6204         * configure.ac:
6205         * examples/Makefile.am:
6206         * examples/metadata/Makefile.am:
6207         * examples/metadata/read-metadata.c: (message_loop),
6208         (have_pad_handler), (make_pipeline), (print_tag), (main):
6209           Add metadata reading example that loops over a list of filenames,
6210           dumping any tags found.
6211
6212         * gst/gstbus.c: (gst_bus_dispose):
6213         * gst/gstelement.c: (gst_element_dispose):
6214           Release a few potentially-held references in dispose.
6215
6216 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6217
6218         * docs/gst/tmpl/gstminiobject.sgml:
6219           do *not* add tmpl/*.sgml files to CVS!
6220
6221 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6222
6223         * libs/gst/bytestream/.cvsignore:
6224         * libs/gst/bytestream/Makefile.am:
6225         * libs/gst/bytestream/adapter.c:
6226         * libs/gst/bytestream/adapter.h:
6227         * libs/gst/bytestream/bytestream.c:
6228         * libs/gst/bytestream/bytestream.h:
6229         * libs/gst/bytestream/filepad.c:
6230         * libs/gst/bytestream/filepad.h:
6231           removing obsolete files
6232
6233 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6234
6235         * docs/gst/gstreamer-docs.sgml:
6236         * docs/libs/gstreamer-libs-docs.sgml:
6237           disabed additional index entries again, as this makes docs-gen just
6238           slow and they aren't useful yet
6239         * docs/libs/gstreamer-libs-sections.txt:
6240           little -section.txt cleanup for libs
6241
6242 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6243
6244         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6245         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6246           fix up some debugging
6247         (gst_base_transform_get_unit_size),
6248         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6249         (gst_base_transform_handle_buffer):
6250         * gst/base/gstbasetransform.h:
6251           handle and store timed NEWSEGMENT events so that subclasses that
6252           calculate time by counting samples have a segment_start time they
6253           need to add to their timestamps - see audioresample
6254
6255 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6256
6257         * gst/gstbin.h:
6258           removed ';' from the end of macro defs
6259         * docs/gst/gstreamer-docs.sgml:
6260         * docs/gst/gstreamer-sections.txt:
6261         * docs/gst/tmpl/.cvsignore:
6262         * gst/gstbus.h:
6263         * gst/gstelement.c: (gst_element_class_init),
6264         (gst_element_set_state), (activate_pads),
6265         (gst_element_save_thyself):
6266         * gst/gstevent.c: (gst_event_new_newsegment):
6267         * gst/gstevent.h:
6268         * gst/gstiterator.c:
6269         * gst/gstiterator.h:
6270         * gst/gstpad.c:
6271         * gst/gstprobe.h:
6272         * gst/gstutils.c: (gst_pad_query_convert):
6273         * gst/gstutils.h:
6274           fixed parameter name mismatches between source, header and docs
6275           added some more docs, resolved the last batch of unused elements in
6276           docs (now someone needs to doc them)
6277
6278 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6279
6280         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6281         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6282           don't walk through the plugins backwards.  Where is all this
6283           reversed logic coming from ?
6284
6285 2005-08-25  Wim Taymans  <wim@fluendo.com>
6286
6287         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6288         (gst_base_transform_transform_size),
6289         (gst_base_transform_configure_caps),
6290         (gst_base_transform_get_unit_size),
6291         (gst_base_transform_buffer_alloc),
6292         (gst_base_transform_change_state):
6293         * gst/base/gstbasetransform.h:
6294         Cache caps unit_size.
6295         Make sure we cannot negotiate up and downstream at the
6296         same time.
6297
6298 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6299
6300         * gst/gst.c: (init_pre), (init_post):
6301           register the installed plugin path after the env var
6302         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6303         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6304           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6305           directories, so the tests can prefer uninstalled over installed
6306
6307 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6308
6309         * gst/base/gstbasetransform.h:
6310           comment
6311         * gst/gstpad.c:
6312           add to docs
6313
6314 2005-08-25  Wim Taymans  <wim@fluendo.com>
6315
6316         * gst/gstbin.c: (bin_bus_handler):
6317         Be a bit more conservative about the posted message.
6318         
6319         * gst/gstbus.c: (gst_bus_post):
6320         Some cleanups, warn wrong return values.
6321
6322 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6323
6324         * check/gst/gstbin.c: (GST_START_TEST):
6325         * gst/gstbin.c: (bin_bus_handler):
6326         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6327         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6328         (gst_message_new_warning), (gst_message_new_tag),
6329         (gst_message_new_state_changed), (gst_message_new_segment_start),
6330         (gst_message_new_segment_done), (gst_message_new_custom):
6331         * gst/gstmessage.h:
6332         * tools/gst-launch.c: (event_loop):
6333         * tools/gst-md5sum.c: (event_loop):
6334           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6335
6336 2005-08-25  Wim Taymans  <wim@fluendo.com>
6337
6338         * check/generic/states.c: (GST_START_TEST):
6339         Cleanup can be done at the end.
6340
6341         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6342         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6343         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6344         Oh boy.. Thanks for finding this, Thomas. 
6345
6346 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6347
6348         * docs/gst/gstreamer.types:
6349           added missing types
6350
6351 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6352
6353         * docs/gst/gstreamer-docs.sgml:
6354         * docs/gst/gstreamer-sections.txt:
6355         * docs/gst/tmpl/.cvsignore:
6356         * gst/gstbin.c:
6357         * gst/gstiterator.c:
6358         * gst/gstutils.c:
6359         * gst/registries/gstxmlregistry.h:
6360           added missing classes and symbols (123 more to go)
6361           removed removed symbols from section file
6362           fixed many doc-comments
6363
6364 2005-08-24  Wim Taymans  <wim@fluendo.com>
6365
6366         * check/generic/states.c: (GST_START_TEST):
6367         Make sure all tasks are stopped.
6368
6369         * check/gst/gstbin.c: (GST_START_TEST):
6370         Unref after usage for proper valgrinding.
6371
6372         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6373         Really wait for the task to stop before destroying the
6374         mutex.
6375
6376         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6377         (gst_queue_src_activate_push):
6378         Small cleanups. Don't stop the task when we did not start
6379         it.
6380
6381         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6382         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6383         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6384         (gst_task_join):
6385         * gst/gsttask.h:
6386         Protect the stream lock with the object lock.
6387         Disallow setting the stream lock when running.
6388         Add cleanup_all to wait for the threadpool to finish.
6389         Remove code to autoallocate a mutex if none was provided.
6390         Add _join() to wait for a task to stop.
6391         Protect the thread pool with a global lock.
6392
6393 2005-08-24  Wim Taymans  <wim@fluendo.com>
6394
6395         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6396         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6397         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6398         * gst/base/gstbasesink.h:
6399         Handle newsegment events correctly.
6400         Drop buffers out of the segment range.
6401
6402 2005-08-22  Andy Wingo  <wingo@pobox.com>
6403
6404         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6405         macro, implements an interface and gstimplementsinterface for a
6406         new type.
6407
6408 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6409
6410         * check/Makefile.am:
6411         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6412           add a test that does a bunch of state changes on elements
6413           needs some fixing for valgrind
6414         * check/states/sinks.c: (gst_object_suite):
6415           whitespace
6416         * gst/gstcaps.h:
6417           add prototype for gst_caps_is_equal_fixed
6418         * gst/gstplugin.c:
6419         * gst/gstregistrypool.c:
6420           doc fixes
6421
6422 2005-08-24  Andy Wingo  <wingo@pobox.com>
6423
6424         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6425         convert a negative value. Doesn't make much sense. Mostly this is
6426         here to force callers to ensure -1 maps to -1.
6427
6428 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6429
6430         * docs/pwg/advanced-types.xml:
6431           Well done to Michael for catching my deliberate introduction
6432           of this spelling mistake. 
6433         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6434         * gst/gstelement.h:
6435           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6436           unlink pads before removing the element from the bin.
6437
6438 2005-08-24  Andy Wingo  <wingo@pobox.com>
6439
6440         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6441         the same thing as GST_DEBUG=*:4.
6442         (parse_debug_level, parse_debug_category): New helper parsers.
6443
6444 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6445
6446         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6447         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6448         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6449         (gst_base_transform_buffer_alloc),
6450         (gst_base_transform_handle_buffer):
6451           use gboolean return values and pointers to size so we can use the
6452           full GST_BUFFER_SIZE range (guint) for buffer sizes
6453           use GstPadDirection for transform_caps
6454         * gst/base/gstbasetransform.h:
6455           rename get_size to get_unit_size since that's what it is
6456         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6457           use GstPadDirection for transform_caps
6458         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6459         * gst/gstutils.h:
6460           cleanup and debugging
6461
6462 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6463
6464         * gst/gstelement.c: (gst_element_class_init),
6465         (gst_element_set_state), (activate_pads),
6466         (gst_element_save_thyself):
6467         * tools/gst-compprep.c: (main):
6468         * tools/gst-inspect.c: (print_element_properties_info):
6469         * tools/gst-xmlinspect.c: (print_element_properties):
6470           Fixed long standing mem-leak
6471
6472 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6473
6474         * check/gst/gstbin.c: (GST_START_TEST):
6475         * gst/gstbin.c: (bin_bus_handler):
6476         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6477         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6478         (gst_message_new_warning), (gst_message_new_tag),
6479         (gst_message_new_state_changed), (gst_message_new_segment_start),
6480         (gst_message_new_segment_done), (gst_message_new_custom):
6481         * gst/gstmessage.h:
6482         * tools/gst-launch.c: (event_loop):
6483         * tools/gst-md5sum.c: (event_loop):
6484           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6485           that applications can sensibly post custom messages with references
6486           to their own objects.
6487
6488 2005-08-24  Andy Wingo  <wingo@pobox.com>
6489
6490         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6491         already.
6492
6493 2005-08-24  Wim Taymans  <wim@fluendo.com>
6494
6495         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6496         (gst_base_transform_transform_caps),
6497         (gst_base_transform_transform_size),
6498         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6499         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6500         (gst_base_transform_handle_buffer):
6501         * gst/base/gstbasetransform.h:
6502         Many fixes and new features added by Thomas. Can now also do
6503         transforms with variable sizes and a custom fixate_caps function.
6504
6505 2005-08-24  Wim Taymans  <wim@fluendo.com>
6506
6507         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6508         Some debugging.
6509
6510         * gst/gstclock.h:
6511         Cast to ClockTime before formatting to time.
6512
6513         * gst/gstutils.h:
6514         Cleanups.
6515
6516 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6517
6518         * check/gst-libs/controller.c: (GST_START_TEST),
6519         (gst_controller_suite):
6520         * docs/gst/tmpl/gstcaps.sgml:
6521         * docs/gst/tmpl/gstghostpad.sgml:
6522         * docs/gst/tmpl/gstquery.sgml:
6523         * docs/gst/tmpl/gstutils.sgml:
6524         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6525         (gst_object_sink_values), (gst_object_get_value_arrays),
6526         (gst_object_get_value_array):
6527           gracefully handle helper method calls to objects that are not beeing
6528           controlled, added test case for that          
6529
6530 2005-08-23  Wim Taymans  <wim@fluendo.com>
6531
6532         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6533         (gst_event_new_newsegment), (gst_event_parse_newsegment),
6534         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6535         (gst_event_parse_qos), (gst_event_new_seek),
6536         (gst_event_parse_seek):
6537         * gst/gstevent.h:
6538         Some more debugging output and doc cleanups.
6539
6540         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6541         Fix possible deadlock.
6542
6543 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6544
6545         * docs/gst/gstreamer-docs.sgml:
6546         * docs/gst/gstreamer-sections.txt:
6547         * docs/gst/gstreamer.types:
6548         * docs/gst/tmpl/.cvsignore:
6549         * gst/gstbin.h:
6550         * gst/gstbus.c:
6551         * gst/gstelement.c:
6552         * gst/gstevent.h:
6553           added 100 symbols from gstreamer-unused.txt to the right sections
6554           fixed more broken comments
6555           added GstBus to docs
6556
6557 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6558
6559         * docs/gst/gstreamer-sections.txt:
6560         * docs/gst/tmpl/.cvsignore:
6561         * docs/gst/tmpl/gstbin.sgml:
6562         * docs/gst/tmpl/gstbuffer.sgml:
6563         * gst/base/gstbasesrc.c:
6564         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6565         * gst/gstbuffer.c:
6566         * gst/gstbuffer.h:
6567         * tools/gst-launch.1.in:
6568           inlined more doc comments, added missing comments and fixed comments
6569           fixed typos
6570
6571 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6572
6573         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6574           some debugging
6575         * gst/gstcaps.h:
6576           whitespace fixes
6577         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6578           more debugging
6579         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6580         * gst/gststructure.h:
6581           add a fixate function for booleans; add a FIXME that these func
6582           names should probably be gst_structure_fixate_*
6583
6584 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6585
6586         * docs/gst/gstreamer-docs.sgml:
6587         * docs/gst/gstreamer-sections.txt:
6588         * gst/Makefile.am:
6589         * gst/gstbin.c: (gst_bin_get_type),
6590         (gst_bin_child_proxy_get_child_by_index),
6591         (gst_bin_child_proxy_get_children_count),
6592         (gst_bin_child_proxy_init):
6593         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6594         (gst_child_proxy_get_child_by_index),
6595         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6596         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6597         (gst_child_proxy_get), (gst_child_proxy_set_property),
6598         (gst_child_proxy_set_valist), (gst_child_proxy_set),
6599         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6600         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6601         * gst/gstchildproxy.h:
6602         * gst/parse/grammar.y:
6603         * tools/gst-inspect.c: (print_interfaces),
6604         (print_element_properties_info), (print_element_info):
6605           ported gstchildproxy over from 0.8
6606           ported gst-inspect fixes and enhancements over from 0.8
6607
6608 2005-08-22  Wim Taymans  <wim@fluendo.com>
6609
6610         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6611         (gst_base_transform_handle_buffer):
6612         Also call the transform function if we have ANY caps.
6613
6614         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6615         Fix debug info.
6616
6617 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6618
6619         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6620           Don't pretend to handle seek events if the source is not seekable
6621
6622 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6623
6624         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6625           Remove extra parameter to debug output
6626
6627         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6628         (gst_base_src_do_seek), (gst_base_src_activate_push):
6629           Fix seek event handling.
6630
6631         * gst/gstpipeline.c: (gst_pipeline_change_state):
6632         * gst/gstqueue.c: (gst_queue_handle_sink_event),
6633         (gst_queue_src_activate_push):
6634           Don't start the src pad task on FLUSH_STOP if the pad
6635           isn't linked.
6636           Debug changes.
6637
6638 2005-08-22  Wim Taymans  <wim@fluendo.com>
6639
6640         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6641         Added check for gst_static_caps_get() refcounting.
6642
6643 2005-08-22  Wim Taymans  <wim@fluendo.com>
6644
6645         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6646         Make _static_caps_get() refcounting sane.
6647         
6648         * gst/gstelement.c: (gst_element_set_state):
6649         Add g_return_val_if_fail() to protect against segfaults.
6650
6651 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
6652
6653         * docs/gst/tmpl/gstevent.sgml:
6654         * gst/gstevent.c:
6655         * gst/gstevent.h:
6656           inlined remaining docs, added missing doc comments
6657
6658 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6659
6660         * check/gst/gstbin.c: (GST_START_TEST):
6661           since we don't know when preroll is done, use refcount range
6662           check for the sink
6663         * gst/check/gstcheck.h:
6664           add macro for checking refcount range
6665
6666 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6667
6668         * check/Makefile.am:
6669           clean up environment for when registry gets built versus
6670           when actual tests are run; valgrind seems to not report
6671           leaks if GST_PLUGIN_PATH is set to some specific values
6672         * check/gst/gstbin.c: (GST_START_TEST):
6673           add more refcounting checks; maybe this exposes a
6674           preroll lock bug ?
6675         * common/check.mak:
6676         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6677         * gst/check/gstcheck.h:
6678         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6679         (gst_bin_change_state):
6680         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6681           add/fix debugging/whitespace
6682
6683 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6684
6685         * check/gst/gstevent.c: (event_probe), (test_event),
6686         (GST_START_TEST):
6687          Er, don't call gst_bin_watch_for_state_change you idiot.
6688
6689 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6690
6691         * check/Makefile.am:
6692           Use CHECK_CFLAGS and CHECK_LIBS
6693         * check/gst/gstevent.c: (event_probe), (test_event),
6694         (GST_START_TEST):
6695           Don't leak events.
6696         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6697         (gst_base_src_start), (gst_base_src_stop),
6698         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6699         (gst_base_src_change_state):
6700           Sprinkle gst_base_src_stop liberally around error paths to fix
6701           problems reusing a source after failed state changes.
6702         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6703         (helper_find_suggest), (gst_type_find_helper):
6704           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6705         * gst/gstevent.h:
6706         * docs/gst/tmpl/gstevent.sgml:
6707           Migrate part of the docs from the SGML file. Wait for ensonic to
6708           tell me how I did it wrong ;)
6709         * tools/gst-typefind.c: (main):
6710           Extra robustness to state changes between files.
6711
6712 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6713
6714         * check/Makefile.am:
6715           don't valgrind the controller test - it's leaking - Stefan, HELP
6716         * gst/check/gstcheck.c: (gst_check_message_error),
6717         (gst_check_chain_func), (gst_check_setup_element),
6718         (gst_check_teardown_element), (gst_check_setup_src_pad),
6719         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6720         (gst_check_teardown_sink_pad):
6721         * gst/check/gstcheck.h:
6722           add a bunch of methods to set up elements, and src and sink pads
6723         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6724         * check/elements/identity.c: (setup_identity), (cleanup_identity),
6725         (GST_START_TEST):
6726           use them
6727         * gst/gstmessage.c:
6728         * gst/gsttag.h:
6729           whitespace/doc fixes
6730
6731 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6732
6733         * gst/gstelement.h:
6734           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6735           be handled by the application and not always printed as well
6736
6737 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6738
6739         * check/Makefile.am:
6740           set GST_TOOLS_DIR
6741         * gst/check/gstcheck.c: (gst_check_message_error):
6742         * gst/check/gstcheck.h:
6743           add a fail_unless_equals_int
6744           add fail_unless for error messages
6745
6746 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6747
6748         * check/Makefile.am:
6749         * check/gst.supp:
6750         * common/Makefile.am:
6751         * common/check.mak:
6752         * common/gst.supp:
6753           factor out some of the common stuff so we can use it
6754
6755 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6756
6757         * check/Makefile.am:
6758         * check/gst/gstiterator.c: (GST_START_TEST):
6759         * check/gst/gstsystemclock.c: (GST_START_TEST),
6760         (gst_systemclock_suite):
6761         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6762         * gst/gstclock.c:
6763           valgrind more tests
6764
6765 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6766
6767         * check/elements/.cvsignore:
6768         * check/elements/gstfakesrc.c:
6769           rename to name of element
6770         * check/elements/identity.c: (chain_func), (event_func),
6771         (setup_identity), (cleanup_identity), (GST_START_TEST),
6772         (identity_suite), (main):
6773           add a test for identity
6774         * check/Makefile.am:
6775         * pkgconfig/Makefile.am:
6776         * pkgconfig/gstreamer-check.pc.in:
6777         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6778         * gst/check:
6779         * gst/Makefile.am:
6780         * configure.ac:
6781           move the check stuff to a library that gets installed
6782         * check/gst-libs/controller.c: (GST_START_TEST):
6783         * check/gst-libs/gdp.c:
6784         * check/gst/gst.c: (GST_START_TEST):
6785         * check/gst/gstbin.c:
6786         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6787         * check/gst/gstbus.c:
6788         * check/gst/gstcaps.c: (GST_START_TEST):
6789         * check/gst/gstelement.c:
6790         * check/gst/gstghostpad.c:
6791         * check/gst/gstiterator.c:
6792         * check/gst/gstmessage.c:
6793         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6794         * check/gst/gstobject.c:
6795         * check/gst/gstpad.c: (GST_START_TEST):
6796         * check/gst/gststructure.c: (GST_START_TEST):
6797         * check/gst/gstsystemclock.c: (GST_START_TEST),
6798         (gst_systemclock_suite):
6799         * check/gst/gsttag.c: (gst_tag_suite):
6800         * check/gst/gstvalue.c:
6801         * check/pipelines/cleanup.c:
6802         * check/pipelines/simple_launch_lines.c:
6803         * check/states/sinks.c:
6804           change include statement
6805
6806         * docs/gst/gstreamer-sections.txt:
6807         * docs/gst/tmpl/gstpad.sgml:
6808           document more pad stuff
6809         * gst/gstminiobject.c: (gst_mini_object_ref),
6810         (gst_mini_object_unref):
6811           debug refcounting
6812
6813 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
6814
6815         * docs/gst/tmpl/gst.sgml:
6816         * gst/gst.c:
6817           eliminate another tmpl file, fix spelling in the long-description
6818
6819 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6820
6821         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6822         (test_event), (timediff), (gstevents_suite):
6823           Should fix build on 64-bit arch's
6824
6825 2005-08-18  Andy Wingo  <wingo@pobox.com>
6826
6827         Make sure that when a pipeline goes to PLAYING, that data has
6828         actually hit the sink.
6829
6830         * check/states/sinks.c (test_sink): A sink that doesn't get any
6831         data shouldn't return SUCCESS for going to either PLAYING or
6832         PAUSED. Test also the return values on the way back down.
6833
6834         * gst/gstelement.c (gst_element_set_state): When changing the
6835         state of an element currently changing state asynchronously, go to
6836         lost-state after commiting the pending state. Makes future calls
6837         to get_state continue to return ASYNC.
6838
6839         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6840         ASYNC when going to PLAYING if we still don't have preroll, as can
6841         happen with live sources.
6842
6843 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6844
6845         * docs/pwg/advanced-types.xml:
6846           Hack long paragraph into 2 chunks as a workaround for buggy
6847           jadetex version in sid and breezy that loops infinitely and
6848           eats all RAM.
6849
6850 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6851
6852         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6853         (test_event), (timediff), (gstevents_suite):
6854           Provide more error margin in clock measurements to allow for 
6855           g_get_current_time inaccuracies.
6856
6857 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6858
6859         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6860         (test_event), (timediff), (gstevents_suite):
6861            Fix error message output so I might be able to tell why the
6862            test works here but fails on the build farm.
6863
6864 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6865
6866         * check/Makefile.am:
6867         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6868         (test_event), (timediff), (gstevents_suite), (main):
6869           I wrote a test!
6870
6871         * docs/design/part-seeking.txt:
6872           Spelling correction
6873
6874         * docs/gst/tmpl/gstevent.sgml:
6875         * docs/gst/tmpl/gstfakesrc.sgml:
6876           Docs updates.
6877
6878         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6879           Treat a buffer-without-newsegment the same as a receiving 
6880           a newsegment not in time format, and disable syncing to the clock
6881           with a warning.
6882
6883         * gst/gstbus.c: (gst_bus_set_sync_handler):
6884           Assert if anyone tries to replace the existing sync_handler for bus, 
6885           as only the owner should be setting it.
6886
6887         * gst/gstevent.h:
6888           Have a fixed set of custom event enums with events identified by
6889           their structure name (as in 0.8), rather than a free-for-all
6890           allowing collisions between enum values from different plugins.
6891
6892         * gst/gstpad.c: (gst_pad_class_init):
6893           Docs change.
6894           
6895         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6896           Handle out-of-band downstream events from the sending thread.
6897
6898 2005-08-17  Andy Wingo  <wingo@pobox.com>
6899
6900         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6901         play-timeout==0 to mean no timeout at all. In that case, don't
6902         bother with a get_state or a warning, just return directly, even
6903         if it's ASYNC.
6904
6905         * gst/base/gstbasetransform.c: Debug changes.
6906
6907         * gst/gstutils.h:
6908         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6909         ensure bins post state change messages. A bit of a hack but I can't
6910         think of a way to avoid it.
6911
6912         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6913
6914 2005-08-16  Andy Wingo  <wingo@pobox.com>
6915
6916         * gst/base/gstadapter.h:
6917         * gst/base/gstadapter.c (gst_adapter_take): New function, like
6918         peek() but you own the data. Not terribly efficient atm.
6919
6920 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6921
6922         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6923         (gst_element_found_tags):
6924         * gst/gstutils.h:
6925           Add two utility functions for tag handling.
6926
6927 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6928
6929         * docs/manual/advanced-dataaccess.xml:
6930         * docs/manual/basics-helloworld.xml:
6931           Fix docs to use _bin_add() before _link(), which fixes the examples
6932           with recent core versions (reported by Madhan Raj M
6933           <raj_madan@rediffmail.com>, #313199).
6934
6935 2005-08-16  Wim Taymans  <wim@fluendo.com>
6936
6937         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6938         Added subtract checks.
6939
6940         * docs/design/part-events.txt:
6941         Some more docs about newsegment
6942
6943         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6944         Fix FIXME
6945
6946         * gst/gstcaps.c: (gst_caps_to_string):
6947         Add comments, cleanups.
6948         
6949         * gst/gstelement.c: (gst_element_save_thyself):
6950         cleanups
6951         
6952         * gst/gstvalue.c: (gst_value_collect_int_range),
6953         (gst_string_unwrap), (gst_value_union_int_int_range),
6954         (gst_value_union_int_range_int_range),
6955         (gst_value_intersect_int_int_range),
6956         (gst_value_intersect_int_range_int_range),
6957         (gst_value_intersect_double_double_range),
6958         (gst_value_intersect_double_range_double_range),
6959         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6960         (gst_value_subtract_int_range_int),
6961         (gst_value_subtract_double_range_double),
6962         (gst_value_subtract_double_range_double_range),
6963         (gst_value_subtract_from_list), (gst_value_subtract_list),
6964         (gst_value_can_compare), (gst_value_compare_fraction):
6965         Cleanups, add comments, remove unneeded asserts.
6966
6967 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6968
6969         * tools/gst-launch.c: (event_loop):
6970           don't convert NULL structures to strings
6971
6972 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
6973
6974         * docs/gst/gstreamer-sections.txt:
6975           made some defines private
6976         * docs/gst/tmpl/gstconfig.sgml:
6977         * docs/gst/tmpl/gstqueue.sgml:
6978         * docs/gst/tmpl/gsttaglist.sgml:
6979         * docs/gst/tmpl/gsttypes.sgml:
6980         * docs/gst/tmpl/gstutils.sgml:
6981         * docs/pwg/appendix-porting.xml:
6982         * gst/base/gstbasesink.h:
6983         * gst/base/gstbasesrc.c:
6984         * gst/base/gstbasesrc.h:
6985         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6986         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6987         * gst/gstelement.c: (gst_element_class_init):
6988         * gst/gstpad.c: (gst_pad_class_init):
6989         * gst/gstqueue.c: (gst_queue_class_init):
6990         * gst/gstxml.c: (gst_xml_class_init):
6991           documented all undocumented signal inline
6992         * libs/gst/controller/gst-controller.h:
6993           added padding
6994
6995 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6996
6997         * docs/pwg/appendix-porting.xml:
6998           Document _set_link_function -> _set_setcaps_function.
6999
7000 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7001
7002         * check/Makefile.am:
7003           add a .check target for running the check
7004         * check/gst-libs/controller.c: (GST_START_TEST):
7005           cosmetic fixups
7006         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7007           complete checks for gstbuffer; would be nice if I could get the
7008           gcov stuff to work so I can see if I actually completed gstbuffer.c
7009         * check/gstcheck.h:
7010           add ASSERT_BUFFER_REFCOUNT
7011
7012 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7013
7014         * docs/gst/gstreamer-sections.txt:
7015         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7016         * gst/gsttag.h:
7017           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7018           spew out a warning if a tag that is already registered
7019           is re-registered, unless it is re-registered with a 
7020           different type (#308438).
7021
7022 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7023
7024         * docs/pwg/appendix-porting.xml:
7025         * docs/pwg/building-state.xml:
7026           Add some paragraphs about state changes in 0.9 to the PWG
7027           and the porting guide, in particular about the new meaning
7028           of GST_STATE_PAUSED and how to write state change functions
7029           with concurrent access by multiple threads in mind.
7030
7031 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7032
7033         * docs/gst/gstreamer-docs.sgml:
7034         * docs/libs/gstreamer-libs-docs.sgml:
7035           added deprecation and since indexes
7036         * libs/gst/controller/gst-controller.c:
7037         * libs/gst/controller/gst-helper.c:
7038           added since tags
7039
7040
7041 2005-08-11  Wim Taymans  <wim@fluendo.com>
7042
7043         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7044         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7045         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7046         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7047         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7048         (gst_ghost_pad_set_target):
7049         Actually implement (re)setting the target on a ghostpad
7050         as described in the docs.
7051
7052 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7053
7054         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7055           Check whether GST_DEBUG_NO_COLOR environment variable is
7056           set and disable coloured debug output if that is the case.
7057
7058 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7059
7060         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7061         (gst_type_find_helper):
7062           The memory returned by gst_type_find_peek() needs to
7063           stay valid until the end of a typefind function, and
7064           typefind functions may keep results from different 
7065           offsets around, so we can't just unref the buffer from
7066           the previous _peek(), but have to save all buffers 
7067           returned by _peek() until typefinding is done and only
7068           free them then.
7069
7070 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7071
7072         * docs/gst/gstreamer-sections.txt:
7073         * gst/gstutils.h:
7074           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7075
7076 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7077
7078         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7079           Fix a pretty good memleak.
7080
7081 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7082
7083         * gst/gstiterator.h:
7084           Fix wrong include and 'make distcheck'.
7085
7086 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7087
7088         * gst/gstbin.c: (bin_bus_handler):
7089           Use gst_element_post_message() instead.
7090
7091 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7092
7093         * gst/base/gstadapter.h:
7094         * gst/base/gstbasesink.h:
7095         * gst/base/gstbasesrc.h:
7096         * gst/base/gstbasetransform.h:
7097         * gst/base/gstcollectpads.h:
7098         * gst/base/gstpushsrc.h:
7099         * gst/gstiterator.h:
7100           Add padding to our base elements' class and instance structs and
7101           to GstIterator (you will need to rebuild all plugins and apps!)
7102
7103 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7104
7105         * gst/gstbin.c: (bin_bus_handler):
7106           Make default message forwarding from child->bus to bin->bus
7107           threadsafe and make it not emit warnings if the parent has no bus.
7108
7109 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7110
7111         * gst/gstelement.c: (activate_pads):
7112           On paused->ready, set pad->caps to NULL, as is the documented
7113           behaviour in this state change. Fixes playback of series of
7114           media files when visualization is enabled in Totem.
7115
7116 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7117
7118         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7119           Allow NULL as filter-caps (which means "any").
7120
7121 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7122
7123         * docs/libs/gstreamer-libs-sections.txt:
7124         * libs/gst/controller/gst-controller.c:
7125         * libs/gst/controller/gst-controller.h:
7126         * libs/gst/controller/gst-helper.c:
7127           adding more entries to the docs and fix small doc-bugs
7128
7129 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7130
7131         * docs/gst/gstreamer-docs.sgml:
7132         * docs/gst/gstreamer-sections.txt:
7133         * docs/gst/gstreamer.types:
7134         * docs/gst/tmpl/gstbasesink.sgml:
7135         * docs/gst/tmpl/gstbasesrc.sgml:
7136         * docs/gst/tmpl/gstbasetransform.sgml:
7137         * docs/gst/tmpl/gstfakesrc.sgml:
7138         * gst/base/gstcollectpads.c:
7139         * gst/base/gstcollectpads.h:
7140         * libs/gst/controller/gst-controller.c:
7141         * libs/gst/controller/gst-controller.h:
7142         * libs/gst/controller/gst-helper.c:
7143         * libs/gst/controller/gst-interpolation.c:
7144         * libs/gst/controller/lib.c:
7145           added long/short desc for controller docs
7146           added collectpads base class docs
7147           added correct includes to base-class docs
7148
7149 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7150
7151         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7152         (gst_test_mono_source_set_property),
7153         (gst_test_mono_source_class_init), (GST_START_TEST),
7154         (gst_controller_suite):
7155         * docs/gst/gstreamer-docs.sgml:
7156         * docs/gst/gstreamer-sections.txt:
7157         * docs/gst/gstreamer.types:
7158         * docs/libs/gstreamer-libs-docs.sgml:
7159         * docs/libs/gstreamer-libs-sections.txt:
7160         * gst/base/gstadapter.c:
7161         * libs/gst/controller/gst-controller.c:
7162         (gst_controlled_property_new), (gst_controlled_property_free),
7163         (gst_controller_new_valist),
7164         (gst_controller_remove_properties_valist),
7165         (gst_controller_sink_values), (_gst_controller_finalize):
7166         * libs/gst/controller/gst-controller.h:
7167         * libs/gst/controller/gst-helper.c:
7168         (gst_object_control_properties), (gst_object_uncontrol_properties),
7169         (gst_object_get_controller), (gst_object_set_controller),
7170         (gst_object_sink_values), (gst_object_get_value_arrays),
7171         (gst_object_get_value_array):
7172           more tests (and fixes) for the controller
7173           more docs for the controller
7174           integrated companies docs for the adapter 
7175
7176 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7177
7178         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7179         (GST_START_TEST), (fakesrc_suite):
7180           add tests for sizetype
7181
7182 2005-08-04  Andy Wingo  <wingo@pobox.com>
7183
7184         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7185         fixes buffer_alloc proxying among other things.
7186
7187         * gst/base/gstbasetransform.c:
7188         * gst/base/gstbasetransform.h:
7189         Revert patch to gstbasetransform from 7-28 removing
7190         delay_configure.
7191
7192         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7193         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7194         Semantics changed, should return not the size of the output buffer
7195         but the byte size of a buffer with a given caps.
7196
7197         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7198         debug object.
7199         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7200         out) are not the pad caps until setcaps finishes.
7201         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7202         not-in-place case as well. Deal with changing from in-place to
7203         not-in-place within calling pad_alloc_buffer. Still a bit
7204         concerned about the overhead here...
7205
7206 2005-08-03  Andy Wingo  <wingo@pobox.com>
7207
7208         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7209         fixating is an error.
7210
7211 2005-08-04  Edward Hervey  <edward@fluendo.com>
7212
7213         * gst/base/gstadapter.h: 
7214         Added gst_adapter_get_type() to the header
7215
7216 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7217
7218         * check/Makefile.am:
7219         * check/gst-libs/controller.c:
7220         * libs/gst/controller/gst-controller.c:
7221         (gst_controller_new_valist):
7222           added check test suite for the controller
7223         * gst/base/gstpushsrc.c:
7224           fixed a doc typo
7225
7226 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7227
7228         * docs/gst/Makefile.am:
7229         * docs/gst/gstreamer-docs.sgml:
7230         * docs/gst/gstreamer-sections.txt:
7231         * docs/gst/gstreamer.types:
7232         * docs/gst/tmpl/gstfakesrc.sgml:
7233         * gst/base/README:
7234         * gst/base/gstbasesink.c:
7235         * gst/base/gstbasesink.h:
7236         * gst/base/gstbasesrc.c:
7237         * gst/base/gstbasesrc.h:
7238         * gst/base/gstbasetransform.c:
7239         * gst/base/gstpushsrc.c:
7240         * gst/base/gstpushsrc.h:
7241           add short/long description docs to base classes
7242           add pushsrc to the docs
7243           remove consolidated doc fragments
7244
7245 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7246
7247         * configure.ac:
7248         * docs/libs/Makefile.am:
7249         * docs/libs/gstreamer-libs-docs.sgml:
7250         * docs/libs/gstreamer-libs-sections.txt:
7251         * docs/libs/gstreamer-libs.types:
7252         * examples/Makefile.am:
7253         * examples/controller/.cvsignore:
7254         * examples/controller/Makefile.am:
7255         * examples/controller/audio-example.c: (main):
7256         * libs/gst/Makefile.am:
7257         * libs/gst/controller/.cvsignore:
7258         * libs/gst/controller/Makefile.am:
7259         * libs/gst/controller/gst-controller.c:
7260         (on_object_controlled_property_changed), (gst_timed_value_compare),
7261         (gst_timed_value_find),
7262         (gst_controlled_property_set_interpolation_mode),
7263         (gst_controlled_property_new), (gst_controlled_property_free),
7264         (gst_controller_find_controlled_property),
7265         (gst_controller_new_valist), (gst_controller_new),
7266         (gst_controller_remove_properties_valist),
7267         (gst_controller_remove_properties), (gst_controller_set),
7268         (gst_controller_set_from_list), (gst_controller_unset),
7269         (gst_controller_get), (gst_controller_get_all),
7270         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7271         (gst_controller_get_value_array),
7272         (gst_controller_set_interpolation_mode),
7273         (_gst_controller_finalize), (_gst_controller_init),
7274         (_gst_controller_class_init), (gst_controller_get_type):
7275         * libs/gst/controller/gst-controller.h:
7276         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7277         (g_object_uncontrol_properties), (g_object_get_controller),
7278         (g_object_set_controller), (g_object_sink_values),
7279         (g_object_get_value_arrays), (g_object_get_value_array):
7280         * libs/gst/controller/gst-interpolation.c:
7281         (gst_controlled_property_find_timed_value_node),
7282         (interpolate_none_get), (interpolate_trigger_get),
7283         (interpolate_trigger_get_value_array):
7284         * libs/gst/controller/lib.c: (gst_controller_init):
7285         * pkgconfig/Makefile.am:
7286         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7287         * pkgconfig/gstreamer-control.pc.in:
7288         * testsuite/Makefile.am:
7289         * testsuite/controller/.cvsignore:
7290         * testsuite/controller/Makefile.am:
7291         * testsuite/controller/interpolator.c: (main):
7292           added controller code
7293           removed dparam pc files
7294
7295 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7296         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7297         (gst_collectpads_stop):
7298           Broadcast the condition when shutting down, to make sure we wake all
7299           threads up. Shut down pads on finalize, for safety.
7300
7301 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7302         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7303         (gst_base_transform_handle_buffer),
7304         (gst_base_transform_change_state):
7305           Handle PAUSED->READY->PAUSED transition after negotiation
7306           occurred already.
7307         * gst/gstmessage.c: (gst_message_init):
7308           Extra piece of debug for new messages.
7309
7310 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7311
7312         * configure.ac:
7313         * docs/gst/tmpl/gstbasesrc.sgml:
7314         * docs/gst/tmpl/gstelement.sgml:
7315         * docs/gst/tmpl/gstevent.sgml:
7316         * docs/gst/tmpl/gstfakesrc.sgml:
7317         * docs/gst/tmpl/gstformat.sgml:
7318         * docs/gst/tmpl/gstghostpad.sgml:
7319         * docs/gst/tmpl/gstpad.sgml:
7320         * docs/gst/tmpl/gstquery.sgml:
7321         * docs/gst/tmpl/gststructure.sgml:
7322         * docs/gst/tmpl/gsttaglist.sgml:
7323         * docs/gst/tmpl/gstvalue.sgml:
7324         * docs/libs/gstreamer-libs-docs.sgml:
7325         * docs/libs/gstreamer-libs-sections.txt:
7326         * docs/libs/gstreamer-libs.types:
7327         * libs/gst/Makefile.am:
7328         * libs/gst/control/.cvsignore:
7329         * libs/gst/control/Makefile.am:
7330         * libs/gst/control/control.c:
7331         * libs/gst/control/control.h:
7332         * libs/gst/control/dparam.c:
7333         * libs/gst/control/dparam.h:
7334         * libs/gst/control/dparam_smooth.c:
7335         * libs/gst/control/dparam_smooth.h:
7336         * libs/gst/control/dparamcommon.h:
7337         * libs/gst/control/dparammanager.c:
7338         * libs/gst/control/dparammanager.h:
7339         * libs/gst/control/dplinearinterp.c:
7340         * libs/gst/control/dplinearinterp.h:
7341         * libs/gst/control/unitconvert.c:
7342         * libs/gst/control/unitconvert.h:
7343         * testsuite/Makefile.am:
7344         * testsuite/dynparams/.cvsignore:
7345         * testsuite/dynparams/Makefile.am:
7346         * testsuite/dynparams/dparamstest.c:
7347         * tools/Makefile.am:
7348         * tools/gst-inspect.c: (print_element_info), (main):
7349         * tools/gst-xmlinspect.c: (print_element_info), (main):
7350           deactivate and remove dparams (libgstcontrol)
7351
7352 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7353
7354         * gst/elements/gsttypefindelement.c:
7355         (gst_type_find_element_have_type), (gst_type_find_element_init),
7356         (stop_typefinding), (gst_type_find_element_handle_event),
7357         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7358         * gst/elements/gsttypefindelement.h:
7359           Set caps on all outgoing buffers, not just the first one.
7360
7361 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7362
7363         * gst/elements/gsttypefindelement.c:
7364         (gst_type_find_element_have_type),
7365         (gst_type_find_element_check_set_buffer_caps),
7366         (gst_type_find_element_init), (stop_typefinding),
7367         (gst_type_find_element_handle_event),
7368         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7369         * gst/elements/gsttypefindelement.h:
7370           Set caps on first outgoing buffer when we've found the type.
7371
7372 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7373
7374         * docs/gst/gstreamer-docs.sgml:
7375         * docs/gst/gstreamer-sections.txt:
7376         * docs/gst/tmpl/gstscheduler.sgml:
7377         * docs/gst/tmpl/gstschedulerfactory.sgml:
7378           Remove some old cruft from docs.
7379
7380 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7381
7382         * gst/gstpad.h:
7383           Fix inline docs for GstPadLinkReturn.
7384           
7385         * gst/gststructure.c: (gst_structure_has_name):
7386         * gst/gststructure.h:
7387         * docs/gst/gstreamer-sections.txt:
7388           New API: gst_structure_has_name().
7389
7390 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7391
7392         * configure.ac:
7393           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7394           and _LARGEFILE_SOURCE in config.h as required. Do not 
7395           export those flags in our .pc files any longer (#142209).
7396
7397           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7398
7399         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7400         (gst_file_sink_do_seek), (gst_file_sink_event),
7401         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7402           Redo seek/tell calls with large file support in mind; add some
7403           debugging messages; add log message that tells us when large
7404           file support is unavailable or not enabled for some reason.
7405
7406         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7407           Add log message that tells us when large file support 
7408           is unavailable or not enabled for some reason.
7409
7410 2005-07-29  Wim Taymans  <wim@fluendo.com>
7411
7412         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7413         Added test for removing an element with ghostpad from a bin.
7414         Fixed test as current implementation does the right thing.
7415
7416         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7417         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7418         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7419         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7420         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7421         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7422         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7423         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7424         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7425         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7426         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7427         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7428         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7429         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7430         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7431         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7432         * gst/gstghostpad.h:
7433         Clean up ghostpads, remove properties for internal stuff.
7434         Make threadsafe.
7435         Fix refcounting.
7436         Prepare for switching targets, not all use cases work yet.
7437
7438 2005-07-29  Wim Taymans  <wim@fluendo.com>
7439
7440         * docs/design/part-gstghostpad.txt:
7441         Small update.
7442
7443         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7444         (gst_bin_remove_func):
7445         Unlinking pads while holding the bin LOCK is not a good
7446         idea.
7447
7448         * gst/gstpad.c: (gst_pad_class_init),
7449         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7450         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7451         No prob setting template after creating the pad.
7452
7453 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7454
7455         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7456         (gst_bus_peek), (gst_bus_source_dispatch),
7457         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7458         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7459           gst_bus_poll may be called from other threads. Handle
7460           this nicely by not making poll_data disappear off the
7461           stack once gst_bus_poll returns.
7462           gst_bus_peek now increments the refcount on the returned
7463           message.
7464
7465 2005-07-29  Wim Taymans  <wim@fluendo.com>
7466
7467         * docs/design/part-gstghostpad.txt:
7468         Overview of current GhostPad datastructures and use
7469         cases for changing the target.
7470
7471 2005-07-28  Wim Taymans  <wim@fluendo.com>
7472
7473         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7474         Added checks for hierarchy consistency whan adding linked
7475         elements to bins.
7476
7477         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7478         Added check to test element scheduling without bin/pipeline.
7479
7480         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7481         First add elements to bin, then link.
7482         
7483         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7484         (gst_bin_remove_func):
7485         Unlink pads from elements added/removed from bin to maintain
7486         hierarchy consistency.
7487
7488 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7489
7490         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7491         (gst_base_transform_handle_buffer):
7492         * gst/base/gstbasetransform.h:
7493           Remove broken delay_configure (fixes renegotiation of software
7494           scaling pipelines); remove some leftover printf()s.
7495
7496 2005-07-28  Wim Taymans  <wim@fluendo.com>
7497
7498         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7499         Added some more tests for wrong hierarchy
7500
7501         * docs/design/part-overview.txt:
7502         Some updates.
7503
7504         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7505         Cleanups.
7506
7507         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7508         (gst_element_dispose):
7509         Some more cleanups.
7510
7511         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7512         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7513         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7514         (gst_pad_set_caps), (gst_pad_send_event):
7515         Check for correct hierarchy when linking pads. Moving to
7516         strict requirement for ghostpads when linking elements in
7517         different bins.
7518
7519         * gst/gstpad.h:
7520         Clean ups. Added WRONG_HIERARCHY return value.
7521
7522 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7523
7524         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7525           Better debug if no transform is possible.
7526
7527 2005-07-27  Wim Taymans  <wim@fluendo.com>
7528
7529         * docs/random/wtay/network-transp:
7530         Some old doc I had.
7531
7532 2005-07-27  Wim Taymans  <wim@fluendo.com>
7533
7534         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7535         (gst_dp_event_from_packet):
7536         Fix serialization of seek events.
7537
7538 2005-07-27  Wim Taymans  <wim@fluendo.com>
7539
7540         * check/gst-libs/gdp.c: (GST_START_TEST):
7541         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7542         Fix compilation and fix event serialization.
7543
7544 2005-07-27  Wim Taymans  <wim@fluendo.com>
7545
7546         * CHANGES-0.9:
7547         * docs/design/part-TODO.txt:
7548         * docs/design/part-events.txt:
7549         Some docs updates
7550
7551         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7552         (gst_base_sink_event), (gst_base_sink_do_sync),
7553         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7554         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7555         (gst_base_src_do_seek), (gst_base_src_event_handler),
7556         (gst_base_src_loop):
7557         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7558         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7559         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7560         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7561         (gst_base_transform_set_passthrough),
7562         (gst_base_transform_is_passthrough):
7563         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7564         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7565         Event updates.
7566
7567         * gst/gstbuffer.h:
7568         Use faster casts.
7569
7570         * gst/gstelement.c: (gst_element_seek):
7571         * gst/gstelement.h:
7572         Update gst_element_seek.
7573
7574         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7575         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7576         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7577         (gst_event_new_eos), (gst_event_new_newsegment),
7578         (gst_event_parse_newsegment), (gst_event_new_tag),
7579         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7580         (gst_event_parse_qos), (gst_event_new_seek),
7581         (gst_event_parse_seek), (gst_event_new_navigation):
7582         * gst/gstevent.h:
7583         Make GstEvent use GstStructure. Add parsing code, make sure the
7584         API is sufficiently generic.
7585         Mark possible directions of events and serialization.
7586
7587         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7588         (_gst_message_copy), (gst_message_new_segment_start),
7589         (gst_message_new_segment_done), (gst_message_new_custom),
7590         (gst_message_parse_segment_start),
7591         (gst_message_parse_segment_done):
7592         Small cleanups.
7593
7594         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7595         (gst_pad_set_caps), (gst_pad_send_event):
7596         Update for new events. 
7597         Catch events sent in wrong directions.
7598
7599         * gst/gstqueue.c: (gst_queue_link_src),
7600         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7601         (gst_queue_handle_src_query):
7602         Event updates.
7603
7604         * gst/gsttag.c:
7605         * gst/gsttag.h:
7606         Remove event code from this file.
7607
7608         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7609         (gst_dp_event_from_packet):
7610         Event updates.
7611
7612 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7613
7614         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7615         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7616         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7617           Make debugging actually useful.
7618
7619 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7620
7621         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7622         (gst_pad_fixate_caps):
7623           Implement default fixation once again, so that gst_pad_fixate()
7624           actually does anything at all. This probably needs to be some
7625           sort of a last resort, and use profile-based fixation first, but
7626           since that doesn't exist yet, this is the best we have. Fixes
7627           visualization in Totem.
7628
7629 2005-07-22  Wim Taymans  <wim@fluendo.com>
7630
7631         * docs/design/part-events.txt:
7632         Small update.
7633
7634         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7635         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7636         (gst_base_sink_activate_pull):
7637         Some more comments.
7638
7639         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7640         (gst_fake_src_create):
7641         Fix handoff marshall.
7642
7643         * gst/elements/gstidentity.c: (gst_identity_class_init),
7644         (gst_identity_transform_ip):
7645         We're a real inplace element.
7646
7647         * gst/gstbus.c: (gst_bus_post):
7648         Added some comments.
7649
7650         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7651         * tests/muxing/case1.c: (main):
7652         * tests/sched/dynamic-pipeline.c: (main):
7653         * tests/sched/interrupt1.c: (main):
7654         * tests/sched/interrupt2.c: (main):
7655         * tests/sched/interrupt3.c: (main):
7656         * tests/sched/runxml.c: (main):
7657         * tests/sched/sched-stress.c: (main):
7658         * tests/seeking/seeking1.c: (event_received), (main):
7659         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7660         (main):
7661         * tests/threadstate/threadstate3.c: (main):
7662         * tests/threadstate/threadstate4.c: (main):
7663         * tests/threadstate/threadstate5.c: (main):
7664         Fix the tests.
7665
7666 2005-07-21  Wim Taymans  <wim@fluendo.com>
7667
7668         * docs/design/part-seeking.txt:
7669         Some small additions.
7670
7671         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7672         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7673         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7674         * gst/base/gstbasesink.h:
7675         discont values are gint64, handle the math correctly.
7676
7677         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7678         Make the basesrc report error if the source pad is not linked.
7679
7680         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7681         (gst_queue_loop), (gst_queue_handle_src_query),
7682         (gst_queue_src_activate_push):
7683         Make queue collect data even if the srcpad is not linked.
7684         Start pushing out data as soon as it is linked.
7685
7686         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7687         * gst/gstutils.h:
7688         Added gst_flow_get_name() to ease error reporting.
7689
7690 2005-07-20  Wim Taymans  <wim@fluendo.com>
7691
7692         * gst/gstmessage.c: (gst_message_new_segment_start),
7693         (gst_message_new_segment_done), (gst_message_parse_segment_start),
7694         (gst_message_parse_segment_done):
7695         * gst/gstmessage.h:
7696         Added a bunch of messages for advanced seeking.
7697
7698         * gst/parse/grammar.y:
7699         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7700         (gst_dpman_state_changed):
7701         Fix some new-pad -> pad-added signals
7702
7703 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7704
7705         * docs/manual/appendix-porting.xml:
7706         * docs/pwg/appendix-porting.xml:
7707           Document new-pad/state-change signal renames and the FixedList
7708           type rename.
7709
7710 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7711
7712         * docs/manual/advanced-autoplugging.xml:
7713         * docs/manual/basics-helloworld.xml:
7714         * docs/manual/basics-pads.xml:
7715         * docs/random/ds/0.9-suggested-changes:
7716         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7717         * gst/gstelement.h:
7718         * gst/gstevent.h:
7719         * gst/gstformat.h:
7720         * gst/gstquery.h:
7721         * gst/gststructure.c: (gst_structure_value_get_generic_type),
7722         (gst_structure_parse_array), (gst_structure_parse_value):
7723         * gst/gstvalue.c: (gst_type_is_fixed),
7724         (gst_value_list_prepend_value), (gst_value_list_append_value),
7725         (gst_value_list_get_size), (gst_value_list_get_value),
7726         (gst_value_transform_array_string), (gst_value_serialize_array),
7727         (gst_value_deserialize_array), (gst_value_intersect_array),
7728         (gst_value_is_fixed), (_gst_value_initialize):
7729         * gst/gstvalue.h:
7730           GstElement::new-pad -> pad-added, GstElement::state-change ->
7731           state-changed, GstValueFixedList -> GstValueArray, add format and
7732           flags as their own arguments in gst_element_seek() (should improve
7733           "bindeability"), remove function generators since they don't work
7734           under a whole bunch of compilers (they were deprecated already
7735           anyway).
7736
7737 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7738
7739         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7740         (_gst_debug_register_funcptr):
7741         * gst/gstinfo.h:
7742           Fix illegal cast on some platforms (#309253).
7743
7744 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7745
7746         * gst/gstmessage.c: (gst_message_new_custom):
7747         * gst/gstmessage.h:
7748           Add _new_custom, make _new_application a macro to _new_custom.
7749
7750 2005-07-20  Wim Taymans  <wim@fluendo.com>
7751
7752         * gst/base/gstbasesrc.c: (gst_base_src_init),
7753         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7754         * gst/base/gstbasesrc.h:
7755         Add a gboolean to decide when to push out a discont.
7756
7757         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7758         (gst_queue_loop), (gst_queue_handle_src_query),
7759         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7760         (gst_queue_set_property), (gst_queue_get_property):
7761         Some cleanups.
7762
7763         * tests/threadstate/threadstate1.c: (main):
7764         Make a thread test compile and run... very silly..
7765
7766
7767 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7768
7769         * docs/manual/appendix-porting.xml:
7770           Mention removal of libgstgconf-0.9.la and existence of gconf
7771           elements.
7772
7773 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7774
7775         * docs/pwg/advanced-clock.xml:
7776         * docs/pwg/appendix-porting.xml:
7777         * docs/pwg/intro-preface.xml:
7778         * docs/pwg/other-base.xml:
7779         * docs/pwg/other-manager.xml:
7780         * docs/pwg/other-nton.xml:
7781         * docs/pwg/other-ntoone.xml:
7782         * docs/pwg/other-oneton.xml:
7783         * docs/pwg/pwg.xml:
7784           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7785           demuxer), remove n-to-n (was never written), fix some code examples
7786           and links and update the porting section to include all this.
7787
7788 2005-07-19  Wim Taymans  <wim@fluendo.com>
7789
7790         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7791         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7792         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7793         (gst_queue_src_activate_push), (gst_queue_change_state),
7794         (gst_queue_get_property):
7795         * gst/gstqueue.h:
7796         Propagate GstFlowReturn more intelligently upstream and output
7797         an ERROR/EOS when streaming stopped due to fatal error.
7798
7799 2005-07-19  Wim Taymans  <wim@fluendo.com>
7800
7801         * tools/gst-launch.c: (check_intr), (event_loop), (main):
7802         Don't block forever for the state change to complete, the
7803         pipeline already did with a sensible timeout.
7804
7805 2005-07-19  Wim Taymans  <wim@fluendo.com>
7806
7807         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7808         Make sure we never call the create function is we
7809         got deactivated.
7810
7811 2005-07-19  Andy Wingo  <wingo@pobox.com>
7812
7813         * gst/parse/parse.l: Attempt to solve bug #172815.
7814
7815 2005-07-19  Wim Taymans  <wim@fluendo.com>
7816
7817         * docs/design/part-clocks.txt:
7818         * docs/design/part-events.txt:
7819         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7820         Small docs updates.
7821         Only update the seeking values when we are not
7822         busy streaming.
7823
7824 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7825
7826         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7827           Oops, ignore the result of gst_pad_push_event here.
7828
7829 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7830
7831         * gst/base/gstbasesrc.c: (gst_base_src_loop),
7832         (gst_base_src_activate_push):
7833           Send discont event from the loop function, as pads
7834           aren't activated yet in the activate_push handler.
7835
7836         * gst/gstbin.c: (bin_bus_handler):
7837           Don't leak element name.
7838
7839 2005-07-18  Andy Wingo  <wingo@pobox.com>
7840
7841         * configure.ac: Use AS_LIBTOOL_TAGS.
7842
7843 2005-07-18  Wim Taymans  <wim@fluendo.com>
7844
7845         * docs/gst/gstreamer.types:
7846         Remove deleted types.
7847
7848 2005-07-18  Wim Taymans  <wim@fluendo.com>
7849
7850         * check/elements/gstfakesrc.c: (GST_START_TEST):
7851         * configure.ac:
7852         * gst/Makefile.am:
7853         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7854         (init_popt_callback):
7855         * gst/gst.h:
7856         * gst/gst_private.h:
7857         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7858         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7859         * gst/gstbin.h:
7860         * gst/gstbus.h:
7861         * gst/gstconfig.h.in:
7862         * gst/gstelement.c: (gst_element_class_init),
7863         (gst_element_set_base_time), (gst_element_get_base_time),
7864         (iterator_fold_with_resync), (gst_element_change_state),
7865         (gst_element_dispose), (gst_element_get_bus):
7866         * gst/gstelement.h:
7867         * gst/gstelementfactory.h:
7868         * gst/gsterror.c: (_gst_core_errors_init):
7869         * gst/gsterror.h:
7870         * gst/gstevent.h:
7871         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7872         * gst/gstindex.c:
7873         * gst/gstinfo.c: (_gst_debug_init):
7874         * gst/gstmessage.c: (_gst_message_copy):
7875         * gst/gstmessage.h:
7876         * gst/gstminiobject.h:
7877         * gst/gstobject.c:
7878         * gst/gstobject.h:
7879         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7880         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7881         * gst/gstpad.h:
7882         * gst/gstparse.h:
7883         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7884         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7885         (gst_pipeline_get_last_stream_time):
7886         * gst/gstpipeline.h:
7887         * gst/gstpluginfeature.h:
7888         * gst/gstquery.h:
7889         * gst/gstscheduler.c:
7890         * gst/gstscheduler.h:
7891         * gst/gststructure.h:
7892         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7893         (gst_task_finalize), (gst_task_func), (gst_task_create),
7894         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7895         (gst_task_stop), (gst_task_pause):
7896         * gst/gsttask.h:
7897         * gst/gsttypefind.h:
7898         * gst/gsttypes.h:
7899         * gst/registries/gstlibxmlregistry.c: (load_feature),
7900         (gst_xml_registry_load), (gst_xml_registry_save_feature):
7901         * gst/registries/gstxmlregistry.c:
7902         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7903         * gst/schedulers/threadscheduler.c:
7904         * libs/gst/control/dparammanager.h:
7905         * tools/gst-inspect.c: (print_element_list),
7906         (print_plugin_features), (print_element_features):
7907         * tools/gst-xmlinspect.c: (print_element_list),
7908         (print_plugin_info), (main):
7909         Removed plugable schedulers.
7910         Removed Scheduler/Manager from elements.
7911         Removed gsttypes.h, rearranged includes.
7912         Removed dependency pad<->element, element<>pipeline, and
7913         various others,  fix includes.
7914         implement gst_pad_get_parent() with gst_object_get_parent()
7915         Make GstTask sefcontained.
7916         Fix _get_state() on GstBin, it did not return ASYNC with a 0
7917         timeout.
7918         Fix endless loop in iterator_fold_with_resync.
7919
7920
7921 2005-07-18  Wim Taymans  <wim@fluendo.com>
7922
7923         * gst/Makefile.am:
7924         * gst/gstarch.h:
7925         Remove old file.
7926
7927 2005-07-18  Wim Taymans  <wim@fluendo.com>
7928
7929         * gst/Makefile.am:
7930         No more cothreads.h
7931
7932 2005-07-18  Wim Taymans  <wim@fluendo.com>
7933
7934         * gst/cothreads.c:
7935         * gst/cothreads.h:
7936         Let's remove these.
7937
7938 2005-07-18  Wim Taymans  <wim@fluendo.com>
7939
7940         * docs/design/part-dynamic.txt:
7941         * docs/design/part-events.txt:
7942         * docs/design/part-seeking.txt:
7943         Some more docs in the works.
7944
7945         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7946         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7947         (gst_base_transform_setcaps), (gst_base_transform_get_size),
7948         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7949         (gst_base_transform_handle_buffer),
7950         (gst_base_transform_sink_activate_push),
7951         (gst_base_transform_src_activate_pull),
7952         (gst_base_transform_set_passthrough),
7953         (gst_base_transform_is_passthrough):
7954         Refcounting fixes.
7955
7956         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7957         Cleanups.
7958
7959         * gst/gstevent.c: (gst_event_finalize):
7960         Set SRC to NULL.
7961
7962         * gst/gstutils.c: (gst_element_unlink),
7963         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7964         (gst_pad_proxy_setcaps):
7965         * gst/gstutils.h:
7966         Add _get_parent_element() to get a pads parent as an element.
7967
7968 2005-07-18  Wim Taymans  <wim@fluendo.com>
7969
7970         * check/gst/gstbin.c: (GST_START_TEST):
7971         Remove bogus test.
7972
7973 2005-07-18  Wim Taymans  <wim@fluendo.com>
7974
7975         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7976         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7977         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7978         (gst_base_sink_event), (gst_base_sink_do_sync),
7979         (gst_base_sink_chain), (gst_base_sink_loop),
7980         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7981         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7982         Refcounting fixes.
7983         Fix logic for returning ASYNC when not prerolled.
7984
7985 2005-07-18  Wim Taymans  <wim@fluendo.com>
7986
7987         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7988         Fix nasty refcount bug.
7989
7990 2005-07-16 Philippe Khalaf <burger@speedy.org>
7991
7992         * gst/elements/gstfdsrc.c:
7993         * gst/elements/gstfdsrc.h:
7994         * gst/elements/gstelements.c:
7995         * gst/elements/Makefile.am:
7996         Ported fdsrc to 0.9.
7997
7998 2005-07-16  Wim Taymans  <wim@fluendo.com>
7999
8000         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8001         (gst_base_sink_do_sync):
8002         Fix compile error.
8003
8004 2005-07-16  Wim Taymans  <wim@fluendo.com>
8005
8006         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8007         (gst_base_sink_event), (gst_base_sink_get_times),
8008         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8009         * gst/base/gstbasesink.h:
8010         Store and use discont values when syncing buffers as described
8011         in design docs.
8012         
8013         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8014         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8015         (gst_base_src_activate_push):
8016         Push discont event when starting.
8017
8018         * gst/elements/gstidentity.c: (gst_identity_transform):
8019         Small cleanups.
8020
8021         * gst/gstbin.c: (gst_bin_change_state):
8022         Small cleanups in base_time  distribution.
8023
8024         * gst/gstelement.c: (gst_element_set_base_time),
8025         (gst_element_get_base_time), (gst_element_change_state):
8026         * gst/gstelement.h:
8027         Added methods for the base_time of the element.
8028         Some MT fixes.
8029
8030         * gst/gstpipeline.c: (gst_pipeline_send_event),
8031         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8032         (gst_pipeline_get_last_stream_time):
8033         * gst/gstpipeline.h:
8034         MT fixes.
8035         Handle seeking as described in design doc, remove stream_time
8036         hack.
8037         Cleanups clock and stream_time selection code. Added accessors
8038         for the stream_time.
8039         
8040
8041 2005-07-16  Andy Wingo  <wingo@pobox.com>
8042
8043         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8044         (#305291).
8045
8046 2005-07-16  Wim Taymans  <wim@fluendo.com>
8047
8048         * check/gst/gstbin.c: (GST_START_TEST):
8049         Make elements silent as the deep_notify refs the
8050         parent, which might make the test fail.
8051
8052         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8053         Don't hold the lock for too long.
8054
8055 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8056
8057         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8058           Don't unref the caps we passed to gst_caps_make_writable() after
8059           passing them. gst_caps_make_writable() will do that for us.
8060
8061 2005-07-15  Andy Wingo  <wingo@pobox.com>
8062
8063         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8064         (#157311).
8065
8066         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8067         own marshalling function for the handoff signal. Properly type the
8068         buffer as a buffer. Fixes some warnings. Should do a more general
8069         solution.
8070         (gst_identity_class_init): Plug into the right marshaller.
8071
8072 2005-07-15  Wim Taymans  <wim@fluendo.com>
8073
8074         * docs/design/part-TODO.txt:
8075         * docs/design/part-clocks.txt:
8076         * docs/design/part-element-sink.txt:
8077         * docs/design/part-events.txt:
8078         * docs/design/part-gstpipeline.txt:
8079         Updated docs, mostly DISCONT related.
8080
8081 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8082
8083         * docs/pwg/building-pads.xml:
8084           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8085
8086 2005-07-15  Andy Wingo  <wingo@pobox.com>
8087
8088         * tools/gst-typefind.c: Update, add copyright block.
8089
8090         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8091         Normalize and truncate caps before fixation.
8092
8093         * gst/gstcaps.h:
8094         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8095         discards all but the first structure from its argument.
8096
8097 2005-07-15  Wim Taymans  <wim@fluendo.com>
8098
8099         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8100         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8101         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8102         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8103         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8104         (gst_base_transform_chain), (gst_base_transform_change_state),
8105         (gst_base_transform_set_passthrough),
8106         (gst_base_transform_is_passthrough):
8107         * gst/base/gstbasetransform.h:
8108         Make passthrough work using the bufferpools.
8109         Changed API a bit, subclasses have to write into a buffer
8110         provided by the base class.
8111         More debug info in nego functions.
8112         
8113         * gst/elements/gstidentity.c: (gst_identity_init),
8114         (gst_identity_transform):
8115         Port to new base class.
8116
8117 2005-07-15  Wim Taymans  <wim@fluendo.com>
8118
8119         * gst/gstmessage.c: (gst_message_new_state_changed):
8120         * tools/gst-launch.c: (event_loop), (main):
8121         Totally dump messages in -launch with the -m option.
8122         Fix message name for State messages,
8123
8124 2005-07-14  Wim Taymans  <wim@fluendo.com>
8125
8126         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8127         Post error messages on errors.
8128
8129 2005-07-14  Wim Taymans  <wim@fluendo.com>
8130
8131         * gst/gstcaps.c: (gst_caps_do_simplify):
8132         Remove debug info.
8133
8134         * gst/gsterror.h:
8135         Define error for stream stopped.
8136
8137         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8138         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8139         Do proper return values.
8140
8141         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8142         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8143         (gst_pad_get_range):
8144         Better return values.
8145
8146         * gst/gstpad.h:
8147         Reorganise return values, add macro to check for fatal errors.
8148
8149         * gst/gstqueue.c: (gst_queue_chain):
8150         Return proper GstFlowReturn values,
8151
8152 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8153
8154         * docs/gst/gstreamer-sections.txt:
8155         * docs/gst/gstreamer.types:
8156         * docs/gst/tmpl/gst.sgml:
8157         * docs/gst/tmpl/gstbasesink.sgml:
8158         * docs/gst/tmpl/gstbasesrc.sgml:
8159         * docs/gst/tmpl/gstbasetransform.sgml:
8160         * docs/gst/tmpl/gstbin.sgml:
8161         * docs/gst/tmpl/gstbuffer.sgml:
8162         * docs/gst/tmpl/gstcaps.sgml:
8163         * docs/gst/tmpl/gstclock.sgml:
8164         * docs/gst/tmpl/gstcompat.sgml:
8165         * docs/gst/tmpl/gstconfig.sgml:
8166         * docs/gst/tmpl/gstelement.sgml:
8167         * docs/gst/tmpl/gstelementdetails.sgml:
8168         * docs/gst/tmpl/gstelementfactory.sgml:
8169         * docs/gst/tmpl/gstenumtypes.sgml:
8170         * docs/gst/tmpl/gsterror.sgml:
8171         * docs/gst/tmpl/gstevent.sgml:
8172         * docs/gst/tmpl/gstfakesink.sgml:
8173         * docs/gst/tmpl/gstfakesrc.sgml:
8174         * docs/gst/tmpl/gstfilesink.sgml:
8175         * docs/gst/tmpl/gstfilesrc.sgml:
8176         * docs/gst/tmpl/gstfilter.sgml:
8177         * docs/gst/tmpl/gstformat.sgml:
8178         * docs/gst/tmpl/gstghostpad.sgml:
8179         * docs/gst/tmpl/gstimplementsinterface.sgml:
8180         * docs/gst/tmpl/gstindex.sgml:
8181         * docs/gst/tmpl/gstindexfactory.sgml:
8182         * docs/gst/tmpl/gstinfo.sgml:
8183         * docs/gst/tmpl/gstiterator.sgml:
8184         * docs/gst/tmpl/gstmacros.sgml:
8185         * docs/gst/tmpl/gstmemchunk.sgml:
8186         * docs/gst/tmpl/gstminiobject.sgml:
8187         * docs/gst/tmpl/gstobject.sgml:
8188         * docs/gst/tmpl/gstpad.sgml:
8189         * docs/gst/tmpl/gstpadtemplate.sgml:
8190         * docs/gst/tmpl/gstparse.sgml:
8191         * docs/gst/tmpl/gstpipeline.sgml:
8192         * docs/gst/tmpl/gstplugin.sgml:
8193         * docs/gst/tmpl/gstpluginfeature.sgml:
8194         * docs/gst/tmpl/gstquery.sgml:
8195         * docs/gst/tmpl/gstqueue.sgml:
8196         * docs/gst/tmpl/gstregistry.sgml:
8197         * docs/gst/tmpl/gstregistrypool.sgml:
8198         * docs/gst/tmpl/gstscheduler.sgml:
8199         * docs/gst/tmpl/gstschedulerfactory.sgml:
8200         * docs/gst/tmpl/gststructure.sgml:
8201         * docs/gst/tmpl/gstsystemclock.sgml:
8202         * docs/gst/tmpl/gsttaglist.sgml:
8203         * docs/gst/tmpl/gsttagsetter.sgml:
8204         * docs/gst/tmpl/gsttrace.sgml:
8205         * docs/gst/tmpl/gsttrashstack.sgml:
8206         * docs/gst/tmpl/gsttypefind.sgml:
8207         * docs/gst/tmpl/gsttypefindfactory.sgml:
8208         * docs/gst/tmpl/gsttypes.sgml:
8209         * docs/gst/tmpl/gsturihandler.sgml:
8210         * docs/gst/tmpl/gsturitype.sgml:
8211         * docs/gst/tmpl/gstutils.sgml:
8212         * docs/gst/tmpl/gstvalue.sgml:
8213         * docs/gst/tmpl/gstversion.sgml:
8214         * docs/gst/tmpl/gstxml.sgml:
8215         * docs/libs/tmpl/gstcontrol.sgml:
8216         * docs/libs/tmpl/gstdataprotocol.sgml:
8217         * docs/libs/tmpl/gstdparam.sgml:
8218         * docs/libs/tmpl/gstdplinint.sgml:
8219         * docs/libs/tmpl/gstdpman.sgml:
8220         * docs/libs/tmpl/gstdpsmooth.sgml:
8221         * docs/libs/tmpl/gstgetbits.sgml:
8222         * docs/libs/tmpl/gstunitconvert.sgml:
8223         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8224         (gst_push_src_base_init), (gst_push_src_class_init),
8225         (gst_push_src_init), (gst_push_src_create):
8226         * gst/base/gstpushsrc.h:
8227         * gst/elements/gstelements.c:
8228         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8229         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8230         (gst_fake_sink_init), (gst_fake_sink_set_property),
8231         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8232         (gst_fake_sink_event), (gst_fake_sink_preroll),
8233         (gst_fake_sink_render), (gst_fake_sink_change_state):
8234         * gst/elements/gstfakesink.h:
8235         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8236         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8237         (gst_fake_src_base_init), (gst_fake_src_class_init),
8238         (gst_fake_src_init), (gst_fake_src_event_handler),
8239         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8240         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8241         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8242         (gst_fake_src_create_buffer), (gst_fake_src_create),
8243         (gst_fake_src_start), (gst_fake_src_stop):
8244         * gst/elements/gstfakesrc.h:
8245         * gst/elements/gstfilesink.c: (_do_init),
8246         (gst_file_sink_base_init), (gst_file_sink_class_init),
8247         (gst_file_sink_init), (gst_file_sink_dispose),
8248         (gst_file_sink_set_location), (gst_file_sink_set_property),
8249         (gst_file_sink_get_property), (gst_file_sink_open_file),
8250         (gst_file_sink_close_file), (gst_file_sink_query),
8251         (gst_file_sink_event), (gst_file_sink_render),
8252         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8253         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8254         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8255         * gst/elements/gstfilesink.h:
8256         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8257         (gst_file_src_class_init), (gst_file_src_init),
8258         (gst_file_src_finalize), (gst_file_src_set_location),
8259         (gst_file_src_set_property), (gst_file_src_get_property),
8260         (gst_file_src_map_region), (gst_file_src_map_small_region),
8261         (gst_file_src_create_mmap), (gst_file_src_create_read),
8262         (gst_file_src_create), (gst_file_src_is_seekable),
8263         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8264         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8265         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8266         (gst_file_src_uri_handler_init):
8267         * gst/elements/gstfilesrc.h:
8268           more autistic cleanliness in functions/names/defines
8269
8270 2005-07-13  Andy Wingo  <wingo@pobox.com>
8271
8272         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8273         source couldn't negotiate.
8274
8275         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8276         connections again.
8277
8278         * gst/gstutils.h:
8279         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8280         function. I am channeling Hades. Put your boots on suckers!!!
8281
8282 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8283
8284         * testsuite/caps/Makefile.am:
8285         * testsuite/caps/value_compare.c:
8286         * testsuite/caps/value_intersect.c:
8287         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8288           move two testsuite apps over to the check dir
8289
8290 2005-07-12  Wim Taymans  <wim@fluendo.com>
8291
8292         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8293         Added more debug info in the negotiate process.
8294
8295         * gst/gstmessage.h:
8296         Prepare for segment playback.
8297
8298         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8299         Better debugging.
8300
8301         * gst/gstutils.c:
8302         Some more docs.
8303
8304         * tools/gst-launch.c: (main):
8305         NULL pipeline on errors.
8306
8307 2005-07-12  Andy Wingo  <wingo@pobox.com>
8308
8309         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8310         not it comes from a malloc region. Make sure our copy gets freed.
8311
8312 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8313
8314         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8315         * check/gst/gstmessage.c: (GST_START_TEST):
8316         * check/gst/gststructure.c: (GST_START_TEST),
8317         (gst_structure_suite), (main):
8318           more testing
8319         * gst/gstelement.c: (gst_element_message_full):
8320           clean up GError and debug string now that they get copied
8321         * gst/gstmessage.c: (gst_message_new_error),
8322         (gst_message_new_warning), (gst_message_parse_error),
8323         (gst_message_parse_warning):
8324           use GST_TYPE_G_ERROR for structure_new, and take copies of
8325           arguments, so that we don't mess up refcounting
8326
8327 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8328
8329         * check/Makefile.am:
8330           add per-test valgrind targets
8331         * check/gst-libs/gdp.c: (GST_START_TEST),
8332         (gst_data_protocol_suite), (main):
8333           clean up
8334
8335 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8336
8337         * check/Makefile.am:
8338           instate more valgrindable tests
8339         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8340         (GST_START_TEST), (fakesrc_suite):
8341         * check/gst/gstpad.c: (GST_START_TEST):
8342         * check/gst/gststructure.c: (GST_START_TEST):
8343           fix test leaks
8344         * docs/gst/tmpl/gstminiobject.sgml:
8345         * gst/gstpad.c: (gst_pad_finalize):
8346           fix the static mutex leak
8347
8348 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8349
8350         * check/Makefile.am:
8351           add two more tests for valgrinding
8352         * check/gst/gstvalue.c: (GST_START_TEST):
8353           test refcount of deserialized buffer, found a leak
8354         * docs/gst/gstreamer-docs.sgml:
8355         * docs/gst/gstreamer-sections.txt:
8356         * docs/gst/gstreamer.types:
8357         * docs/gst/tmpl/gstminiobject.sgml:
8358           add miniobject to docs
8359         * gst/gstminiobject.c:
8360           add some docs
8361         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8362         (gst_string_unwrap):
8363           fix a hard-to-find invalid write for one of the tests
8364           fix a leak for deserialized buffers
8365
8366 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8367
8368         * docs/pwg/advanced-events.xml:
8369         * docs/pwg/advanced-request.xml:
8370         * docs/pwg/advanced-scheduling.xml:
8371         * docs/pwg/appendix-porting.xml:
8372         * docs/pwg/building-boiler.xml:
8373         * docs/pwg/intro-preface.xml:
8374         * docs/pwg/other-ntoone.xml:
8375           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8376           of example code and explanation for pad activation, loop() and
8377           getrange() functions and a bit more. Remove old comments pointing
8378           to loop-functions.
8379         * examples/pwg/Makefile.am:
8380           Add loop/getrange examples.
8381
8382 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8383
8384         * configure.ac:
8385           check for valgrind binary + some fixes
8386         * check/gst.supp:
8387           valgrind suppressions for the tests
8388         * check/Makefile.am:
8389           add a valgrind: target that valgrinds the unit tests
8390         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8391         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8392         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8393         * check/gst/gstghostpad.c:
8394           added some cleanup
8395         * check/gst/gstdata.c:
8396           removed
8397         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8398         (thread_unref), (gst_mini_object_suite), (main):
8399           added
8400         * gst/gst.c: (gst_deinit):
8401         * gst/gst.h:
8402           add a method to clean up.
8403         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8404         (gst_system_clock_obtain):
8405           allow for disposing the system clock.
8406         * tools/gst-launch.c: (main):
8407           deinit
8408
8409 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8410
8411         * docs/gst/tmpl/gstbasesrc.sgml:
8412         * docs/gst/tmpl/gstfakesrc.sgml:
8413         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8414         (gst_base_src_init), (gst_base_src_set_property),
8415         (gst_base_src_get_property), (gst_base_src_get_range),
8416         (gst_base_src_start):
8417         * gst/base/gstbasesrc.h:
8418           add num-buffers property
8419         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8420         (gst_fakesrc_init), (gst_fakesrc_set_property),
8421         (gst_fakesrc_get_property), (gst_fakesrc_create),
8422         (gst_fakesrc_start):
8423           remove num-buffers property
8424
8425 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8426
8427         * docs/gst/gstreamer-sections.txt:
8428         * docs/gst/tmpl/gstbasesink.sgml:
8429         * docs/gst/tmpl/gstbasesrc.sgml:
8430         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8431         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8432         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8433         (gst_base_sink_set_property), (gst_base_sink_get_property),
8434         (gst_base_sink_handle_object), (gst_base_sink_event),
8435         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8436         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8437         (gst_base_sink_loop), (gst_base_sink_deactivate),
8438         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8439         (gst_base_sink_change_state):
8440         * gst/base/gstbasesink.h:
8441         * gst/base/gstbasesrc.h:
8442         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8443         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8444         (gst_filesink_init):
8445           more macro splitting
8446
8447 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8448
8449         * gst/gstelement.c: (gst_element_get_bus):
8450           add debug
8451         * tools/gst-launch.c: (check_intr), (event_loop):
8452           fix bus leaks
8453
8454 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8455
8456         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8457           fix a caps leak
8458
8459 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8460
8461         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8462         (gst_base_src_finalize):
8463           add finalize method and clean up properly
8464         * gst/gstpipeline.c: (gst_pipeline_dispose):
8465           add debug
8466
8467 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8468
8469         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8470         (gst_bin_suite):
8471           add more things to check
8472         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8473         * gst/gstelement.c:
8474           more debug
8475
8476 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8477
8478         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8479         (GST_START_TEST), (fakesrc_suite):
8480         * check/gst-libs/gdp.c: (GST_START_TEST):
8481         * check/gst/gst.c: (GST_START_TEST):
8482         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8483         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8484         * check/gst/gstbus.c: (GST_START_TEST):
8485         * check/gst/gstcaps.c: (GST_START_TEST):
8486         * check/gst/gstdata.c: (GST_START_TEST):
8487         * check/gst/gstelement.c: (GST_START_TEST):
8488         * check/gst/gstghostpad.c: (GST_START_TEST):
8489         * check/gst/gstiterator.c: (GST_START_TEST):
8490         * check/gst/gstmessage.c: (GST_START_TEST):
8491         * check/gst/gstobject.c: (GST_START_TEST):
8492         * check/gst/gstpad.c: (GST_START_TEST):
8493         * check/gst/gststructure.c: (GST_START_TEST):
8494         * check/gst/gstsystemclock.c: (GST_START_TEST),
8495         (gst_systemclock_suite):
8496         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8497         * check/gst/gstvalue.c: (GST_START_TEST):
8498         * check/pipelines/cleanup.c: (GST_START_TEST):
8499         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8500         * check/states/sinks.c: (GST_START_TEST):
8501         * check/gstcheck.c: (gst_check_init):
8502         * check/gstcheck.h:
8503           add debugging category
8504           use GST_START_TEST now, so we add a debug line
8505
8506 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8507
8508         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8509           add test for state change message on a bin
8510         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8511           add another test
8512         * gst/gstbin.c: (gst_bin_init):
8513         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8514         * gst/gstelement.c: (gst_element_post_message),
8515         (gst_element_set_state):
8516         * gst/gstelementfactory.c: (gst_element_factory_create):
8517         * gst/gstmessage.c: (gst_message_new):
8518         * gst/gstscheduler.c:
8519           various debugging additions and cleanups
8520
8521 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8522
8523         * check/Makefile.am:
8524         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8525         (main):
8526           adding tests for elements
8527         * gst/gstelement.c: (gst_element_dispose):
8528
8529 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8530
8531         * gst/registries/gstlibxmlregistry.c: (load_feature):
8532           plug more leaks.  A simple gst_init() now is leakfree, yay.
8533
8534 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8535
8536         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8537         (gst_xml_registry_load):
8538           plug another memleak
8539
8540 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8541
8542         * configure.ac:
8543           use GST_SET_ERROR_CFLAGS
8544         * docs/faq/cvs.xml:
8545           change to ERROR_CFLAGS
8546
8547 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8548
8549         * configure.ac:
8550           make GST_ERROR_CFLAGS overridable and re-enable Werror
8551         * docs/faq/cvs.xml:
8552           add a note about error CFLAGS
8553         * docs/gst/tmpl/gstfakesrc.sgml:
8554         * gst/elements/gstfakesrc.c:
8555           comment out some unused code
8556         * gst/gst.c: (split_and_iterate):
8557         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8558         (load_feature):
8559           plug some memleaks
8560
8561 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8562
8563         * common/Makefile.am:
8564         * common/gtk-doc.mak:
8565         * docs/gst/Makefile.am:
8566           factor out gtk-doc.mak
8567
8568 2005-07-07  Wim Taymans  <wim@fluendo.com>
8569
8570         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8571         (gst_thread_scheduler_dispose):
8572         Unlock the STREAM_LOCK completely.
8573
8574 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8575
8576         * check/Makefile.am:
8577         * check/elements/.cvsignore:
8578         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8579         (START_TEST), (fakesrc_suite), (main):
8580         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8581         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8582         (gst_fakesrc_create), (gst_fakesrc_start):
8583         * gst/elements/gstfakesrc.h:
8584           adding a first element test
8585
8586 2005-07-07  Andy Wingo  <wingo@pobox.com>
8587
8588         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8589         debug message.
8590
8591 2005-07-07  Wim Taymans  <wim@fluendo.com>
8592
8593         * gst/gstquery.c:
8594         * gst/gstquery.h:
8595         Remove old types
8596
8597 2005-07-07  Wim Taymans  <wim@fluendo.com>
8598
8599         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8600         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8601         Allow subclasses to implement their own negotiation.
8602
8603 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8604
8605         * docs/design/part-gstbin.txt:
8606         * docs/design/part-gstpipeline.txt:
8607           Update design notes to reflect the movement of
8608           responsibility for bus handling from GstPipeline to
8609           GstBin
8610
8611 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8612
8613         * configure.ac:
8614           Remove unnecessary queue2/3/4 examples.
8615
8616 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8617
8618         * examples/Makefile.am:
8619         * examples/helloworld/helloworld.c: (event_loop), (main):
8620         * examples/queue/queue.c: (event_loop), (main):
8621         * examples/queue2/queue2.c: (main):
8622           Update a couple of the examples to work again.
8623
8624         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8625         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8626          Spelling corrections and extra debug.
8627         
8628         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8629         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8630         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8631         * gst/gstbin.h:
8632         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8633         (gst_pipeline_change_state):
8634         * gst/gstpipeline.h:
8635           Move the bus handler for children to the GstBin, and create a
8636           separate bus for receiving messages from children to the one the
8637           bus sends 'upwards' on.
8638
8639 2005-07-06  Wim Taymans  <wim@fluendo.com>
8640
8641         * gst/base/README:
8642         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8643         (gst_base_sink_handle_object), (gst_base_sink_loop),
8644         (gst_base_sink_change_state):
8645         * gst/base/gstbasesink.h:
8646         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8647         (gst_base_src_init), (gst_base_src_setcaps),
8648         (gst_base_src_getcaps), (gst_base_src_loop),
8649         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8650         (gst_base_src_start), (gst_base_src_change_state):
8651         * gst/base/gstbasesrc.h:
8652         Make basesrc negotiate.
8653         Handle the case where preroll fails in basesink.
8654         Update README.
8655
8656 2005-07-06  Wim Taymans  <wim@fluendo.com>
8657
8658         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8659         Implement the fixate function.
8660         Clean up acceptcaps.
8661
8662 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8663
8664         * docs/pwg/building-filterfactory.xml:
8665         * docs/pwg/pwg.xml:
8666           Remove never-written filter-factory chapter; I'll add the various
8667           base classes to part 4 ("other element types") later on.
8668
8669 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8670
8671         * docs/pwg/advanced-negotiation.xml:
8672         * docs/pwg/building-boiler.xml:
8673         * docs/pwg/building-pads.xml:
8674         * docs/pwg/pwg.xml:
8675         * examples/pwg/Makefile.am:
8676           Add a chapter on caps negotiation, simplify the original code
8677           samples a bit w.r.t. caps negotiation, add link to the advanced
8678           section. Add a bunch of examples showing different use cases of
8679           different types of caps negotiation. Upstream renegotiation isn't
8680           fully documented yet since nobody knows how that works.
8681
8682 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8683
8684         * check/gst/gstpad.c:
8685         * check/gstcheck.c:
8686         * gst/gstpad.c: (gst_pad_get_internal_links_default):
8687           if pad has no parent, return NULL as list of internal links
8688
8689 2005-07-05  Andy Wingo  <wingo@pobox.com>
8690
8691         * gst/elements/gstfilesrc.c:
8692         * gst/elements/gstfakesrc.c: 
8693         * gst/base/gstpushsrc.c:
8694         * gst/base/gstbasesrc.h: 
8695         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8696         
8697 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
8698
8699         * Makefile.am:
8700           better report generation target (lcov needs a patch)
8701
8702 2005-07-05  Andy Wingo  <wingo@pobox.com>
8703
8704         * gst/elements, testsuite: Null if we got it...
8705
8706 2005-07-05  Wim Taymans  <wim@fluendo.com>
8707
8708         * configure.ac:
8709         * libs/gst/dataprotocol/Makefile.am:
8710         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8711         * libs/gst/dataprotocol/dataprotocol.h:
8712         * pkgconfig/Makefile.am:
8713         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8714         * pkgconfig/gstreamer-dataprotocol.pc.in:
8715         Ported dataprotol to 0.9. 
8716         Added pkgconfig files.
8717
8718 2005-07-05  Andy Wingo  <wingo@pobox.com>
8719
8720         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8721         Default to returning TRUE for the case when tranform_caps returns
8722         a fixed caps, like for identity or volume.
8723
8724         * check/gst/gstbus.c (pound_bus_with_messages): 
8725         * check/gst/gstmessage.c (START_TEST): 
8726         * check/pipelines/simple_launch_lines.c (got_handoff): Application
8727         message API change.
8728
8729         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8730         logic weaks here: always run transform_caps, trying passthrough
8731         operation only if the original caps intersects with the transform.
8732
8733         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8734         source and sink caps.
8735
8736         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8737         Intersect the peer caps with the pad template before going into
8738         transform_caps.
8739         (gst_base_transform_transform_caps): More debugging.
8740
8741         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8742         src argument.
8743
8744 2005-07-04  Edward Hervey  <edward@fluendo.com>
8745
8746         * gst/gstutils.c:
8747         * gst/gstutils.h:
8748         (gst_pad_add_*_probe): now returns the signal id for better wrapping
8749         in bindings.
8750
8751 2005-07-04  Andy Wingo  <wingo@pobox.com>
8752
8753         * check/gst/gstpad.c: Only set explicit caps on pads.
8754
8755 2005-07-01  Andy Wingo  <wingo@pobox.com>
8756
8757         * tests/network-clock.scm: Commentary update.
8758
8759         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8760         Didn't really make sense, not implementable with basetransform,
8761         etc.
8762         (gst_identity_transform): Unref inbuf via make_writable. Feeble
8763         attempt at implementing the sync property, needs an unlock method.
8764
8765         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8766         New func, by default returns the same caps (the identity
8767         transformation).
8768         (gst_base_transform_getcaps): Uses transform_caps to return
8769         something sensible.
8770         (gst_base_transform_setcaps): Complicated logic to get caps on
8771         both pads, even if they are different, and to call set_caps once
8772         for every time both pads get their caps set.
8773         (gst_base_transform_handle_buffer): Give the ref to the transform
8774         function. Allows in-place modification of the buffer.
8775
8776         * gst/base/gstbasetransform.h (transform_caps): New class method.
8777         Given caps on one side, what can I do on the other.
8778         (set_caps): Take two caps, one for each side of the element.
8779
8780         * gst/gstpad.h:
8781         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8782         caps in place. This is safe because we can check the mutability of
8783         the caps, and a good idea because fixate functions are just called
8784         as a matter of last resort. (Not actually implemented.)
8785         (gst_pad_set_caps): If the caps we're setting is actually the same
8786         as the existing pad caps, just update the pointer without calling
8787         setcaps. Assert that caps is either NULL or fixed, as per the
8788         docs.
8789
8790         * gst/gstghostpad.c: Update for fixate changes.
8791
8792 2005-07-02  Andy Wingo  <wingo@pobox.com>
8793
8794         * gst/gstcaps.c:
8795         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8796         two refcounts makes it immutable, which is enough. Doc more.
8797
8798 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
8799
8800         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8801           Put the mini_object into GValue as a mini_object,
8802           not a gpointer, since that's how we declared
8803           the signal.
8804
8805 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8806
8807         * examples/pwg/Makefile.am:
8808           Fix buildbot again.
8809
8810 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8811
8812         * docs/pwg/building-testapp.xml:
8813           Add extra check.
8814         * examples/pwg/Makefile.am:
8815           Fix buildbot.
8816
8817 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8818
8819         * configure.ac:
8820         * examples/Makefile.am:
8821         * examples/pwg/Makefile.am:
8822         * examples/pwg/extract.pl:
8823           Enable building the PWG examples.
8824         * docs/pwg/advanced-interfaces.xml:
8825           Add URI interface stub.
8826         * docs/pwg/advanced-types.xml:
8827         * docs/pwg/other-autoplugger.xml:
8828         * docs/pwg/appendix-porting.xml:
8829         * docs/pwg/pwg.xml:
8830           Add porting guide (mostly stubs), remove autoplugging (see ADM).
8831         * docs/pwg/building-boiler.xml:
8832         * docs/pwg/building-chainfn.xml:
8833         * docs/pwg/building-pads.xml:
8834         * docs/pwg/building-props.xml:
8835         * docs/pwg/building-state.xml:
8836         * docs/pwg/building-testapp.xml:
8837           Update the building-*.xml parts for 0.9 changes. All examples
8838           code blocks compile in examples/pwg/*.
8839
8840 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8841
8842         * docs/manual/advanced-autoplugging.xml:
8843         * docs/manual/appendix-checklist.xml:
8844         * docs/manual/appendix-integration.xml:
8845         * docs/manual/highlevel-components.xml:
8846           Fix playbin/decodebin examples, update docs a bit, mention bus
8847           instead of signals in various places, mention kmplayer and
8848           kaffeine since they have a working GStreamer backend in the KDE
8849           section.
8850
8851 2005-06-30  Wim Taymans  <wim@fluendo.com>
8852
8853         * CHANGES-0.9:
8854         * docs/design/draft-ghostpads.txt:
8855         * docs/design/draft-push-pull.txt:
8856         * docs/design/draft-query.txt:
8857         * docs/design/part-TODO.txt:
8858         * docs/design/part-query.txt:
8859         Added CHANGES-0.9 doc, updated status of other docs.
8860         
8861         * gst/gstquery.h:
8862         Remove "hmm" macro
8863
8864 2005-06-30  Wim Taymans  <wim@fluendo.com>
8865
8866         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8867         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8868         (gst_base_sink_change_state):
8869         * gst/base/gstbasesink.h:
8870         Some tweaks, only EOS and a buffer complete a preroll.
8871
8872 2005-06-30  Andy Wingo  <wingo@pobox.com>
8873
8874         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8875         activate_push down to the internal pad as well.
8876
8877 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
8878
8879         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8880
8881         * gst/gsttaginterface.c:
8882           Some documentation fixes (#307394 and #307397).
8883
8884 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
8885
8886         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8887
8888         * gst/gstvalue.c: (gst_value_intersect_list):
8889           Fix memleak (#309125).
8890
8891 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8892
8893         * docs/manual/advanced-dataaccess.xml:
8894           Fix fakesrc example to compile; doesn't work, bug somewhere...?
8895         * docs/manual/basics-pads.xml:
8896           Add reference for filtered caps to above chapter.
8897
8898 2005-06-30  Wim Taymans  <wim@fluendo.com>
8899
8900         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8901         (gst_bin_change_state):
8902         Probes are gone.
8903         Lame attempt at making the state change function a bit
8904         more readable.
8905
8906 2005-06-30  Wim Taymans  <wim@fluendo.com>
8907
8908         * docs/design/part-clocks.txt:
8909         * docs/design/part-element-sink.txt:
8910         * docs/design/part-events.txt:
8911         * docs/design/part-preroll.txt:
8912         * docs/design/part-states.txt:
8913         Some more tweeks and additions to the docs.
8914
8915 2005-06-30  Wim Taymans  <wim@fluendo.com>
8916
8917         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8918         (default_have_data), (gst_pad_class_init), (gst_pad_init),
8919         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8920         (gst_pad_check_pull_range), (gst_pad_get_range),
8921         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8922         * gst/gstpad.h:
8923         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8924         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8925         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8926         (gst_pad_remove_buffer_probe):
8927         Removed atomic operations, use existing LOCK.
8928         Move exception handling out of main code path.
8929
8930 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8931
8932         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8933         (silly_return_true_function), (gst_pad_class_init),
8934         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8935         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8936         (gst_pad_send_event):
8937           Fix accumulator, add default value by using _emitv() instead
8938           of _emit() for signal emission.
8939
8940 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8941
8942         * docs/manual/advanced-dataaccess.xml:
8943         * examples/manual/Makefile.am:
8944           Add probe example.
8945         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8946           Make work (??).
8947
8948 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
8949
8950         * gst/elements/gstfilesink.c: (gst_filesink_render):
8951           Simplify code so that we don't have to handle short
8952           writes and return GST_FLOW_ERROR if an error occured.
8953
8954 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8955
8956         * docs/gst/gstreamer-docs.sgml:
8957           Remove probes more.
8958
8959 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8960
8961         * docs/gst/gstreamer-sections.txt:
8962         * docs/gst/tmpl/gstpad.sgml:
8963         * docs/gst/tmpl/gstprobe.sgml:
8964         * gst/Makefile.am:
8965         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8966         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8967         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8968         (gst_pad_push_event), (gst_pad_send_event):
8969         * gst/gstpad.h:
8970         * gst/gstutils.c: (gst_pad_add_data_probe),
8971         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8972         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8973         (gst_pad_remove_buffer_probe):
8974         * gst/gstutils.h:
8975           Remove old probes, add new g-signal-based probes and some utility
8976           functions.
8977
8978 2005-06-29  Edward Hervey  <edward@fluendo.com>
8979
8980         * gst/gstelementfactory.c:
8981         * gst/gstutils.h:
8982         * gst/gstutils.c:
8983         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8984         the definition to the header file.
8985
8986 2005-06-29  Andy Wingo  <wingo@pobox.com>
8987
8988         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8989         plugins from the source directory.
8990
8991 2005-06-29  Wim Taymans  <wim@fluendo.com>
8992
8993         * docs/gst/tmpl/gstbuffer.sgml:
8994         * docs/gst/tmpl/gstclock.sgml:
8995         Some fixings for blantently wrong text.
8996
8997 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8998
8999         * check/Makefile.am:
9000         * gst/gst.c: (add_path_func), (init_pre):
9001         * gst/gstregistry.c: (gst_registry_add_path):
9002           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9003           only scan the GST_PLUGIN_PATH locations, and not add
9004           system locations
9005
9006 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9007
9008         * docs/gst/gstreamer-sections.txt:
9009         * docs/gst/tmpl/gstbasesrc.sgml:
9010         * gst/gstelement.c:
9011         * gst/gstelement.h:
9012         * gst/gstevent.c:
9013         * gst/gstutils.c:
9014           doc fixes
9015
9016 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9017
9018         * docs/manual/advanced-autoplugging.xml:
9019           Fix autoplugging example.
9020
9021 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9022
9023         * docs/manual/advanced-autoplugging.xml:
9024         * docs/manual/mime-world.fig:
9025           Try to get autoplugging working, fix type detection. Fix text
9026           in hello-world image.
9027
9028 2005-06-29  Wim Taymans  <wim@fluendo.com>
9029
9030         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9031         (gst_base_sink_change_state):
9032         Small debug line.
9033
9034         * gst/gstclock.h:
9035         map SIGNAL and BROADCAST to the right function.
9036
9037         * gst/gstobject.h:
9038         Remove redundant braces.
9039
9040         * gst/gstpad.c: (gst_pad_set_caps):
9041         Don't call setcaps function when reseting caps to NULL.
9042
9043         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9044         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9045         (gst_system_clock_id_unschedule):
9046         Use BROADCAST as this is what we do.
9047
9048 2005-06-29  Wim Taymans  <wim@fluendo.com>
9049
9050         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9051         We are actually prerolling before commiting the state
9052         change. 
9053
9054 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9055
9056         * docs/manual/advanced-clocks.xml:
9057         * docs/manual/advanced-interfaces.xml:
9058         * docs/manual/advanced-metadata.xml:
9059         * docs/manual/advanced-position.xml:
9060         * docs/manual/advanced-schedulers.xml:
9061         * docs/manual/advanced-threads.xml:
9062         * docs/manual/appendix-porting.xml:
9063         * docs/manual/basics-bins.xml:
9064         * docs/manual/basics-bus.xml:
9065         * docs/manual/basics-elements.xml:
9066         * docs/manual/basics-helloworld.xml:
9067         * docs/manual/basics-pads.xml:
9068         * docs/manual/highlevel-components.xml:
9069         * docs/manual/manual.xml:
9070         * docs/manual/thread.fig:
9071           Update (until threads/scheduling) Application Development Manual;
9072           remove GstThread, add GstBus, add simple porting checklist, add
9073           documentation for tag writing, clocks, make all examples until this
9074           part compile and run.
9075         * examples/manual/Makefile.am:
9076           Update from changes to Application Development Manual; add bus
9077           example, remove thread example.
9078
9079 2005-06-28  Wim Taymans  <wim@fluendo.com>
9080
9081         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9082         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9083         (gst_bus_source_dispatch):
9084         Add debugging messages.
9085         Make internal methods static.
9086         Handle the case where the bus is flushed in the handler.
9087         
9088         * gst/gstelement.c: (gst_element_get_bus):
9089         Fix refcount in _get_bus();
9090
9091         * gst/gstpipeline.c: (gst_pipeline_change_state),
9092         (gst_pipeline_get_clock_func):
9093         Clock refcounting fixes.
9094         Handle the case where preroll timed out more gracefully.
9095         
9096         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9097         Clean up the internal thread in dispose. This is needed
9098         for subclasses that actually get disposed.
9099         
9100         * gst/schedulers/threadscheduler.c:
9101         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9102         (gst_thread_scheduler_dispose):
9103         Free thread pool in dispose.
9104
9105 2005-06-28  Andy Wingo  <wingo@pobox.com>
9106
9107         * tests/network-clock-utils.scm (debug, print-event): New utils.
9108
9109         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9110         (*packet-loss*): Unified loss probability.
9111         (network-time): Report out-of-band events.
9112
9113         * tests/plot-data: Add support for out-of-band events. Hack it
9114         into this script instead of passing it down the pipe; should fix
9115         this later.
9116
9117 2005-06-28  Wim Taymans  <wim@fluendo.com>
9118
9119         * docs/gst/gstreamer.types:
9120         * docs/gst/tmpl/gstbasesrc.sgml:
9121         * docs/gst/tmpl/gstpad.sgml:
9122         Docs fixes.
9123
9124 2005-06-28  Wim Taymans  <wim@fluendo.com>
9125
9126         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9127         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9128         (gst_proxy_pad_do_fixatecaps):
9129         Correctly proxy the check_pull_range function.
9130
9131 2005-06-28  Andy Wingo  <wingo@pobox.com>
9132
9133         * tests/network-clock.scm: Removed need for slib.
9134         
9135 2005-06-28  Wim Taymans  <wim@fluendo.com>
9136
9137         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9138         (gst_basesink_preroll_queue_flush):
9139         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9140         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9141         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9142         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9143         (gst_proxy_pad_set_property):
9144         * gst/gstpad.c:
9145         * gst/gstpad.h:
9146         * gst/gstqueue.c: (gst_queue_init):
9147         The deprecated pad loop function is removed now.
9148
9149 2005-06-28  Andy Wingo  <wingo@pobox.com>
9150
9151         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9152         New parameters, simulate network packet loss.
9153
9154         * tests/network-clock-utils.scm: Initialize the RNG.
9155
9156 2005-06-28  Wim Taymans  <wim@fluendo.com>
9157
9158         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9159         (gst_basesink_event), (gst_basesink_deactivate):
9160         Flushing the preroll queue always needs to unlock the waiters.
9161
9162 2005-06-28  Edward Hervey  <edward@fluendo.com>
9163
9164         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9165         Wheen a seek was successful on a pipeline, set the stream_time to the
9166         seek offset in order to have a synchronized stream_time.
9167
9168 2005-06-28  Wim Taymans  <wim@fluendo.com>
9169
9170         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9171         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9172         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9173         (gst_proxy_pad_do_fixatecaps):
9174         Call wrapper function instead of just calling the function
9175         pointers. This takes care of any locking and whatmore.
9176
9177 2005-06-28  Wim Taymans  <wim@fluendo.com>
9178
9179         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9180         (gst_pad_pull_range):
9181         * gst/gstpad.h:
9182         CONNECTED -> LINKED.
9183
9184 2005-06-28  Andy Wingo  <wingo@pobox.com>
9185
9186         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9187         source-munging commit!!!
9188
9189         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9190         (gst_object_sink): Take gpointer arguments, not GstObject --
9191         avoids casts. Like GLib.
9192
9193         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9194         activate.
9195
9196 2005-06-27  Andy Wingo  <wingo@pobox.com>
9197
9198         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9199         remaining buffer.
9200
9201         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9202         returns a sorted copy of the trace list.
9203         (gst_alloc_trace_print_live): New API, only prints traces with
9204         live objects. Sort the list.
9205         (gst_alloc_trace_print_all): Sort the list.
9206         (gst_alloc_trace_print): Align columns.
9207
9208         * gst/elements/gstttypefindelement.c:
9209         * gst/elements/gsttee.c:
9210         * gst/base/gstbasesrc.c:
9211         * gst/base/gstbasesink.c:
9212         * gst/base/gstbasetransform.c:
9213         * gst/gstqueue.c: Adapt for pad activation changes.
9214
9215         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9216         sched.
9217         (gst_pipeline_dispose): Drop ref on sched.
9218
9219         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9220         (gst_pad_activate_default): Push mode by default.
9221         (pre_activate_switch, post_activate_switch): New stubs, things to
9222         do before and after switching activation modes on pads.
9223         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9224         the pad's activate function to choose which mode to activate.
9225         Shortcut on deactivation and call the right function directly.
9226         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9227         mode.
9228         (gst_pad_activate_push): New API, same for push mode.
9229         (gst_pad_set_activate_function) 
9230         (gst_pad_set_activatepull_function) 
9231         (gst_pad_set_activatepush_function): Setters for new API.
9232
9233         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9234         Trace all miniobjects.
9235         (gst_mini_object_make_writable): Unref the arg if we copy, like
9236         gst_caps_make_writable.
9237
9238         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9239
9240         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9241         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9242         Adapt for new pad API.
9243
9244         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9245
9246         * gst/gstelement.h:
9247         * gst/gstelement.c (gst_element_iterate_src_pads) 
9248         (gst_element_iterate_sink_pads): New API functions.
9249         
9250         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9251         should fold into gstiterator.c in some form.
9252         (gst_element_pads_activate): Simplified via use of fold and
9253         delegation of decisions to gstpad->activate.
9254
9255         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9256         help in debugging.
9257
9258         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9259         class once in init, like gstmessage. Didn't run into this issue
9260         but it seems correct. Don't initialize a trace, gstminiobject does
9261         that.
9262
9263         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9264         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9265         to the bus.
9266         (assert_live_count): New util function, uses alloc traces to check
9267         cleanup.
9268
9269         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9270         To be modified when unlink drops the internal pad.
9271
9272 2005-06-27  Wim Taymans  <wim@fluendo.com>
9273
9274         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9275         (gst_bin_change_state):
9276         Cleanup the get_state() function a little, make sure it
9277         iterates the same set of elements.
9278         Added stub iterate_state_order().
9279
9280 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9281
9282         * docs/gst/gstreamer-docs.sgml:
9283         * docs/gst/gstreamer-sections.txt:
9284         * docs/gst/gstreamer.types:
9285         * docs/gst/tmpl/gstbasesink.sgml:
9286         * docs/gst/tmpl/gstbasesrc.sgml:
9287         * docs/gst/tmpl/gstbasetransform.sgml:
9288         * docs/gst/tmpl/gstelement.sgml:
9289         * docs/gst/tmpl/gstiterator.sgml:
9290         * gst/base/gstbasesrc.c:
9291         * gst/base/gstbasesrc.h:
9292         * gst/base/gstbasetransform.h:
9293         * gst/gstelement.c:
9294         * gst/gstiterator.h:
9295           adding basetransform and iterator docs
9296
9297 2005-06-27  Andy Wingo  <wingo@pobox.com>
9298
9299         * docs/design/part-activation.txt: Notes on how activation should
9300         work -- not quite implemented yet.
9301
9302 2005-06-25  Wim Taymans  <wim@fluendo.com>
9303
9304         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9305         At least get the chain function correct, needs more
9306         fixing.
9307
9308 2005-06-25  Wim Taymans  <wim@fluendo.com>
9309
9310         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9311         (gst_basesink_handle_object), (gst_basesink_event),
9312         (gst_basesink_do_sync), (gst_basesink_handle_event),
9313         (gst_basesink_change_state):
9314         * gst/gsttask.h:
9315         Right, two problems here: ghostpads don't take locks and
9316         glib _rec_mutex_lock_full() with depth==0 still locks.
9317         Catch illegal locking and g_warn them.
9318
9319 2005-06-25  Wim Taymans  <wim@fluendo.com>
9320
9321         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9322         Have to check for completion now...
9323
9324 2005-06-25  Wim Taymans  <wim@fluendo.com>
9325
9326         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9327         (gst_basesink_handle_object), (gst_basesink_event),
9328         (gst_basesink_do_sync), (gst_basesink_handle_event),
9329         (gst_basesink_change_state):
9330         * gst/gstpad.h:
9331         Unlock STREAM_LOCK whatever the recursion was.
9332
9333 2005-06-25  Wim Taymans  <wim@fluendo.com>
9334
9335         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9336         (gst_basesink_preroll_queue_empty),
9337         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9338         (gst_basesink_event), (gst_basesink_do_sync),
9339         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9340         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9341         (gst_basesink_change_state):
9342         Reworked the base sink, handle event and buffer serialisation
9343         correctly and removed possible deadlock.
9344         Handle EOS correctly.
9345
9346 2005-06-25  Wim Taymans  <wim@fluendo.com>
9347
9348         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9349         (gst_pipeline_change_state):
9350         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9351         Allow elements to post EOS in the state change function.
9352         Fix up -launch, make it exit the poll loop when the
9353         pipeline actually changed state.
9354         Fix up warning parsing in -launch.
9355
9356 2005-06-25  Wim Taymans  <wim@fluendo.com>
9357
9358         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9359         (gst_tee_sink_activate):
9360         Core takes STREAM_LOCK for us now.
9361
9362 2005-06-25  Wim Taymans  <wim@fluendo.com>
9363
9364         * gst/gstelement.c: (gst_element_get_state_func),
9365         (gst_element_set_state):
9366         * gst/gstelement.h:
9367         * gst/gstmessage.c: (gst_message_parse_error),
9368         (gst_message_parse_warning):
9369         Keep track of current target state while performing a state
9370         change so that subclasses can do something interesting.
9371         Fix parsing of warning/error messages when GError is NULL.
9372
9373 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9374
9375         * docs/gst/Makefile.am:
9376         * docs/gst/gstreamer-docs.sgml:
9377         * docs/gst/gstreamer-sections.txt:
9378         * docs/gst/gstreamer.types:
9379         * docs/gst/tmpl/gstbasesink.sgml:
9380         * docs/gst/tmpl/gstbasesrc.sgml:
9381         * docs/gst/tmpl/gstbin.sgml:
9382         * docs/gst/tmpl/gstcompat.sgml:
9383         * docs/gst/tmpl/gstfakesink.sgml:
9384         * docs/gst/tmpl/gstfakesrc.sgml:
9385         * docs/gst/tmpl/gstfilesink.sgml:
9386         * docs/gst/tmpl/gstfilesrc.sgml:
9387         * docs/gst/tmpl/gstindex.sgml:
9388         * docs/manual/appendix-quotes.xml:
9389         * gst/base/gstbasesrc.h:
9390         * gst/elements/gstfakesrc.h:
9391         * gst/gstmessage.h:
9392           start pulling in base classes and elements in our docs
9393
9394 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9395
9396         * docs/gst/Makefile.am:
9397         * docs/libs/Makefile.am:
9398           fixed make distcheck with gtk-doc 1.3
9399
9400 2005-06-23  Wim Taymans  <wim@fluendo.com>
9401
9402         * gst/gstelement.c: (gst_element_get_state_func),
9403         (gst_element_set_state), (gst_element_change_state):
9404         When the state did not change, also report NO_PREROLL
9405         when it matters.
9406
9407 2005-06-23  Wim Taymans  <wim@fluendo.com>
9408
9409         * gst/gstpad.c: (gst_pad_event_default):
9410         * gst/gstqueue.c: (gst_queue_loop):
9411         No unsafe task pausing please.
9412
9413 2005-06-23  Wim Taymans  <wim@fluendo.com>
9414
9415         * gst/schedulers/threadscheduler.c:
9416         (gst_thread_scheduler_task_start),
9417         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9418         Ref the task before pushing it on the threadpool. This
9419         makes sure that we have a ref when the threadfunction is
9420         actually called.
9421
9422 2005-06-23  Andy Wingo  <wingo@pobox.com>
9423
9424         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9425         offset is greater than the file's size.
9426
9427         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9428         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9429         * gst/gstobject.c (gst_object_class_init): Make the class lock
9430         recursive. Wim won't let me drop deep_notify. Decodebin works
9431         again, whoopdy doo.
9432
9433         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9434         internal pad, and hacks accordingly. Doesn't do it on the target
9435         pad because we change its caps. Probably catches all cases of
9436         interest tho.
9437         (gst_ghost_pad_set_property): Connect to notify::caps as
9438         appropritate.
9439
9440         * tests/network-clock.scm (plot-simulation): Pipe data to the
9441         elite python skript.
9442
9443         * tests/network-clock-utils.scm (define-parameter): New macro,
9444         defines a parameter that can be set via the command line.
9445         (set-parameter!, parse-parameter-arguments): Command line args
9446         parser.
9447
9448         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9449         stdin.
9450
9451 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9452
9453         * gst/elements/gsttypefindelement.c:
9454         (gst_type_find_element_handle_event):
9455           Don't restart typefinding on a discont.
9456         * gst/gstelement.c: (gst_element_set_state):
9457           Debug spelling fix.
9458         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9459           Allow changing mode of an active pad.
9460           Debug output fixes.
9461         * gst/registries/gstlibxmlregistry.c: (load_feature):
9462           Don't cast a static pad template to a normal pad template.
9463
9464 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9465
9466         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9467         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9468           remove gst_strtoll completely, since it didn't actually do
9469           anything more than what g_ascii_strtoull already does.
9470           check for range errors when deserializing
9471           do a cast for the unsigned cases; but further fixing needs
9472           a decision on what the interpretation of "(int)" and
9473           deserialization should be for values that fall outside the
9474           type's boundaries (ie, refuse, or interpret as casting)
9475
9476 2005-06-23  Wim Taymans  <wim@fluendo.com>
9477
9478         * check/Makefile.am:
9479         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9480         * docs/design/part-live-source.txt:
9481         * docs/design/part-states.txt:
9482         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9483         (gst_basesrc_set_live), (gst_basesrc_is_live),
9484         (gst_basesrc_get_range), (gst_basesrc_activate),
9485         (gst_basesrc_change_state):
9486         * gst/base/gstbasesrc.h:
9487         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9488         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9489         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9490         * gst/gstelement.c: (gst_element_get_state_func),
9491         (gst_element_set_state):
9492         * gst/gstelement.h:
9493         * gst/gsttypes.h:
9494         * tools/gst-launch.c: (event_loop), (main):
9495         Added support for live sources and other elements that
9496         cannot do preroll.
9497         Updated design docs, added live-source design doc.
9498         Implemented live source functionality in basesrc
9499         Fix error condition in _bin_get_state()
9500         Implement live source handling in -launch.
9501         Added check for live sources.
9502         Fixed case in GstBin where elements were changed state
9503         multiple times.
9504
9505
9506 2005-06-23  Andy Wingo  <wingo@pobox.com>
9507
9508         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9509         borken refcounting.
9510
9511         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9512         gst_caps_replace takes care of this for us.
9513
9514         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9515         gst_pad_set_caps on the target, not just its setcaps() function.
9516
9517         * tests/network-clock.scm: 
9518         * tests/network-clock-utils.scm: A network clock simulator.
9519         Something of an algorithmic testbed before doing something in C.
9520
9521 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9522
9523         * check/Makefile.am:
9524         * check/gst/capslist.h:
9525           copy over from 0.8, and add two with bitmasks specified with
9526           (int) 0xFF...
9527         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9528           add test to parse everything from capslist.h
9529         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9530         (main):
9531           add test for structure deserialization
9532         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9533           add tests for deserialization of strings to int types
9534         * gst/gststructure.c: (gst_structure_nth_field_name):
9535         * gst/gststructure.h:
9536           add a way to get the name of a field referenced by index
9537         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9538           instead of checking if the resulting long long lies between
9539           min and max, we check if the long long would fit into
9540           a number of bytes for the final type.
9541           This fixes cases where a string represents 2^32 - 1, which
9542           when cast to int would be the (valid) -1, but is bigger than
9543           G_MAXINT
9544
9545 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9546
9547         * gst/parse/grammar.y:
9548           add a log line for type deserialization
9549
9550 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9551
9552         * check/gst/gstvalue.c: (START_TEST):
9553         * gst/gstvalue.c: (gst_value_deserialize):
9554           return long long, not int, so gint64 deserialization actually
9555           works.  Is there any flag that makes the compiler check this ?
9556           Fixes #308559
9557
9558 2005-06-22  Wim Taymans  <wim@fluendo.com>
9559
9560         * gst/gstbuffer.h:
9561         Added convenience macros for setting buffers in GValue.
9562
9563 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9564
9565         * check/gst/.cvsignore:
9566         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9567           add a test deserializing int64, and comment part out because
9568           it fails, yay !
9569
9570 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9571
9572         * check/Makefile.am:
9573         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9574         * testsuite/Makefile.am:
9575         * testsuite/caps/Makefile.am:
9576         * testsuite/caps/value_serialize.c:
9577         * testsuite/test_gst_init.c:
9578           move a value_serialize test over
9579
9580 2005-06-20  Wim Taymans  <wim@fluendo.com>
9581
9582         * gst/gstpad.c:
9583         Small doc updates.
9584         
9585         * gst/gstvalue.c: (gst_value_compare_buffer),
9586         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9587         (gst_value_compare_flags), (gst_value_serialize_flags),
9588         (gst_value_deserialize_flags), (_gst_value_initialize):
9589         Fix serialisation of buffers, they are not boxed types anymore
9590
9591 2005-06-20  Wim Taymans  <wim@fluendo.com>
9592
9593         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9594         Testcase to show error in buffer-on-caps serialisation.
9595
9596 2005-06-20  Andy Wingo  <wingo@pobox.com>
9597
9598         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9599         will be adding to later.
9600
9601         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9602         if its socks fill with rocks.
9603         (gst_system_clock_obtain): Set the name on object construction.
9604         Avoid double-checked locking.
9605
9606 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
9607
9608         * gst/gsturi.c: (gst_element_make_from_uri):
9609           Fix potential endless loop.
9610
9611 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9612
9613         * check/Makefile.am:
9614           add gsttag
9615         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9616         (main):
9617           move over from testsuite dir and clean up
9618         * configure.ac:
9619         * gst/gsttag.c:
9620         * testsuite/Makefile.am:
9621         * testsuite/tags/.cvsignore:
9622         * testsuite/tags/Makefile.am:
9623         * testsuite/tags/merge.c:
9624           remove testsuite/tags
9625
9626 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9627
9628         * docs/gst/gstreamer-sections.txt:
9629         * docs/gst/tmpl/gstenumtypes.sgml:
9630         * win32/gstenumtypes.c:
9631           clean up documentation build a little
9632
9633 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9634
9635         * check/gstcheck.h:
9636           add macros for checking refcounts on objects and caps
9637         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9638           add some more unit tests
9639         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9640         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9641           fix leaked refcounts (I hope :)) so unittest works
9642         * gst/gstpad.h:
9643           whitespace removal
9644
9645 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9646
9647         * configure.ac: back to HEAD
9648
9649 === release 0.9.1 ===
9650
9651 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9652
9653         * NEWS:
9654         * RELEASE:
9655           updated
9656
9657 2005-06-17  Andy Wingo  <wingo@pobox.com>
9658
9659         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9660         assert; it's always possible that the pad gets deactivated in
9661         between the checks in gstpad.c and the implementation. Rely on
9662         finish_preroll() to return a FLUSHING or similar instead of on the
9663         assert.
9664         
9665         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9666         clock and post an EOS message if we come out of finish_preroll in
9667         the playing state.
9668
9669 2005-06-16  David Schleef  <ds@schleef.org>
9670
9671         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9672         (gst_capsfilter_set_property): Allow NULL as possible value
9673         for filter_caps property, indicating GST_CAPS_ANY.
9674
9675 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9676
9677         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9678           fix debug output
9679         * gst/schedulers/Makefile.am:
9680           use libgst prefix
9681         * gstreamer.spec.in:
9682           fix spec for it
9683
9684 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9685
9686         * gstreamer.spec.in:
9687           clean up
9688
9689 2005-06-08  Andy Wingo  <wingo@pobox.com>
9690
9691         * gst/gstutils.c: RPAD fixes all around.
9692         (gst_element_link_pads): Refcounting fixes.
9693
9694         * tools/gst-inspect.c:
9695         * tools/gst-xmlinspect.c:
9696         * parse/grammar.y:
9697         * gst/base/gsttypefindhelper.c:
9698         * gst/base/gstbasesink.c:
9699         * gst/gstqueue.c: RPAD fixes.
9700
9701         * gst/gstghostpad.h:
9702         * gst/gstghostpad.c: New ghost pad implementation as full proxy
9703         pads. The tricky thing is they provide both source and sink
9704         interfaces, since they proxy the internal pad for the external
9705         pad, and vice versa. Implement with lower-level ProxyPad objects,
9706         with the interior proxy pad as a child of the exterior ghost pad.
9707         Should write a doc on this.
9708         
9709         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9710         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9711         gst_object API.
9712         
9713         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9714         pads are real pads. No ghost pads in this file. Not documenting
9715         the myriad s/RPAD/PAD/ and REALIZE fixes.
9716         (gst_pad_class_init): Add properties for "direction" and
9717         "template". Both are construct-only, so they can't change during
9718         the life of the pad. Fixes properly deriving from GstPad.
9719         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9720         derived objects, just set properties when creating the objects via
9721         g_object_new.
9722         (gst_pad_get_parent): Implement as a function, return NULL if the
9723         parent is not an element.
9724         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9725         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9726         
9727         * gst/gstobject.c (gst_object_class_init): Make name a construct
9728         property. Don't set it in the object init.
9729
9730         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9731         with UNKNOWN direction.
9732         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9733         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9734         (gst_element_remove_pad): Remove ghost-pad special cases.
9735         (gst_element_pads_activate): Remove rpad cruft.
9736
9737         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9738         catch the pad's-parent-not-an-element case.
9739
9740         * gst/gst.h: Include gstghostpad.h.
9741
9742         * gst/gst.c (init_post): No more real, ghost pads.
9743
9744         * gst/Makefile.am: Add gstghostpad.[ch].
9745
9746         * check/Makefile.am:
9747         * check/gst/gstbin.c:
9748         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9749         into a bin creates ghost pads, and that the refcounts are right.
9750         Partly moved from gstbin.c.
9751
9752 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9753
9754         * check/gst-libs/.cvsignore:
9755         * check/gst/.cvsignore:
9756         * check/pipelines/.cvsignore:
9757           ignore more
9758         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9759         (START_TEST), (cleanup_suite), (main):
9760           add some tests related to cleanup after running pipelines
9761
9762 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9763
9764         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9765           add a testsuite for GstBuffer
9766
9767 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9768
9769         * gst/gstminiobject.h:
9770           add defines for accessing the refcount
9771
9772 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
9773
9774         * Makefile.am: added support for html unit test coverage reports
9775
9776 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
9777
9778         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9779           Free existing caps if the capsfilter changes. Add a FIXME about
9780           setting those caps on the pads.
9781
9782         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9783           Before adding a ghost pad to a parent bin, check that there isn't
9784           already one for the element on the bin. Prevents infinite recursion
9785           when using decodebin in parse pipelines. Andy says he'll rewrite the
9786           way this works anyway, so ignore the hack.
9787
9788 2005-06-02  Andy Wingo  <wingo@pobox.com>
9789
9790         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9791         file size, pass it on to the type find helper.
9792
9793         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9794         segment_start and segment_end properly according to the seek
9795         method. Segment_end is still a bit flaky because offset can be
9796         negative for CUR and END cases, but it takes -1 as an "unset"
9797         value.
9798
9799 2005-06-02  Wim Taymans  <wim@fluendo.com>
9800
9801         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9802         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9803         (gst_basesink_activate):
9804         * gst/base/gstbasesink.h:
9805         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9806         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9807         (gst_pad_query), (gst_pad_start_task):
9808         * gst/gstpad.h:
9809         * gst/gstqueue.c: (gst_queue_bufferalloc),
9810         (gst_queue_handle_sink_event), (gst_queue_chain):
9811         Bufferalloc: return GstFlowReturn to more accuratly report
9812         why allocation failed.
9813
9814 2005-06-02  Wim Taymans  <wim@fluendo.com>
9815
9816         * gst/gstpipeline.c: (gst_pipeline_send_event):
9817         Take snapshot of state without blocking.
9818
9819 2005-06-02  Wim Taymans  <wim@fluendo.com>
9820
9821         * docs/design/part-TODO.txt:
9822         * docs/design/part-caps.txt:
9823         * docs/design/part-clocks.txt:
9824         * docs/design/part-negotiation.txt:
9825         * docs/design/part-preroll.txt:
9826         Small doc updates 
9827
9828 2005-05-30  Wim Taymans  <wim@fluendo.com>
9829
9830         * gst/elements/gstidentity.c: (gst_identity_event),
9831         (gst_identity_transform), (gst_identity_get_property):
9832         Protect last_message property as it is accessed from
9833         multiple threads.
9834
9835 2005-05-30  Wim Taymans  <wim@fluendo.com>
9836
9837         * gst/gstelement.c: (gst_element_init),
9838         (gst_element_pads_activate), (gst_element_change_state):
9839         Slicker pad activation code.
9840
9841 2005-05-30  Wim Taymans  <wim@fluendo.com>
9842
9843         * gst/Makefile.am:
9844         * gst/gstelement.h:
9845         * gst/gstelementfactory.h:
9846         * gst/gsttypes.h:
9847         Move elementfactory methods to separate .h file.
9848
9849 2005-05-30  Wim Taymans  <wim@fluendo.com>
9850
9851         * docs/design/part-overview.txt:
9852         * gst/gstsystemclock.h:
9853         Small typo fixes, doc updates.
9854
9855 2005-05-30  Wim Taymans  <wim@fluendo.com>
9856
9857         * gst/gst.c: (gst_init_get_popt_table), (init_post),
9858         (init_popt_callback):
9859         Remove cpu-opt flag.
9860
9861 2005-05-30  Wim Taymans  <wim@fluendo.com>
9862
9863         * gst/gstbuffer.c: (gst_subbuffer_finalize),
9864         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9865         * gst/gstbuffer.h:
9866         Avoid typechecking in places where not needed.
9867         Added accessor for malloc_data.
9868
9869 2005-05-30  Wim Taymans  <wim@fluendo.com>
9870
9871         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9872         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9873         (gst_pad_configure_sink), (gst_pad_configure_src),
9874         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9875         (gst_pad_start_task):
9876         Propagate errors from _set_caps() in configure_src/sink
9877         functions instead of returning TRUE.
9878         FLUSH events can travel up and downstream
9879
9880
9881 2005-05-30  Wim Taymans  <wim@fluendo.com>
9882
9883         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9884         (gst_basesink_activate):
9885         Handle EOS in preroll.
9886
9887 2005-05-30  Wim Taymans  <wim@fluendo.com>
9888
9889         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9890         (gst_queue_loop), (gst_queue_handle_src_event):
9891         Remove old pieces of code
9892         Flushing the queue in an upstream event is a very bad idea.
9893
9894 2005-05-26  Andy Wingo  <wingo@pobox.com>
9895
9896         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9897         gst_value_set_mini_object so as to add a ref on the object (which
9898         will be removed when the value is unset).
9899
9900         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9901         arg type in ::handoff.
9902
9903         * gst/gstelement.c (gst_element_change_state): Also deactivate
9904         pads in READY->NULL, just in case the element didn't make it to
9905         PAUSED. Wingo tested, Wim approved.
9906
9907 2005-05-26  Wim Taymans  <wim@fluendo.com>
9908
9909         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9910         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9911         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9912         A flushing pad cannot be used to alloc_buffer from.
9913
9914 2005-05-26  Wim Taymans  <wim@fluendo.com>
9915
9916         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9917         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9918         (gst_bus_source_dispatch), (gst_bus_source_finalize),
9919         (gst_bus_create_watch), (gst_bus_add_watch_full):
9920         * gst/gstbus.h:
9921         Implement a real GSource and use g_main_context_wakeup() to
9922         signal new messages instead of the socketpair.
9923
9924 2005-05-25  Wim Taymans  <wim@fluendo.com>
9925
9926         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9927         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9928         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9929         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9930         (gst_pad_send_event), (gst_pad_start_task):
9931         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9932         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9933         (gst_queue_sink_activate), (gst_queue_src_activate),
9934         (gst_queue_change_state):
9935         * gst/gstqueue.h:
9936         Fix state changes for non sinks. We now change sinks, then elements
9937         with unconnected srcpads, then the rest.
9938         More efficient queue unlocking in flush and state changes.
9939         Set the pad activate mode even if it does not have an activate
9940         function.
9941
9942 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9943
9944         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9945           Don't go in pull mode for non-seekable sources.
9946         * gst/elements/gsttypefindelement.h:
9947         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9948         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9949         (free_entry), (stop_typefinding),
9950         (gst_type_find_element_handle_event), (find_peek),
9951         (gst_type_find_element_chain), (do_pull_typefind),
9952         (gst_type_find_element_change_state):
9953           Allow typefinding (w/o seeking) in push-mode, simplified version
9954           of what was in 0.8.
9955         * gst/gstutils.c: (gst_buffer_join):
9956         * gst/gstutils.h:
9957           gst_buffer_join() from 0.8.
9958
9959 2005-05-25  Wim Taymans  <wim@fluendo.com>
9960
9961         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9962         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9963         (gst_pad_send_event), (gst_pad_start_task):
9964         Disable attempt at mode switching until it is figured out.
9965
9966 2005-05-25  Wim Taymans  <wim@fluendo.com>
9967
9968         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9969         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9970         (gst_basesink_finish_preroll), (gst_basesink_chain),
9971         (gst_basesink_loop), (gst_basesink_activate),
9972         (gst_basesink_change_state):
9973         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9974         (gst_basesrc_get_range), (gst_basesrc_loop),
9975         (gst_basesrc_activate):
9976         * gst/elements/gsttee.c: (gst_tee_sink_activate):
9977         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9978         (gst_real_pad_init), (gst_real_pad_set_property),
9979         (gst_real_pad_get_property), (gst_pad_set_active),
9980         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9981         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9982         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9983         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9984         (gst_pad_event_default_dispatch), (gst_pad_event_default),
9985         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9986         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9987         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9988         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9989         (gst_pad_stop_task):
9990         * gst/gstpad.h:
9991         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9992         (gst_queue_loop), (gst_queue_src_activate):
9993         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
9994         (gst_task_get_state):
9995         * gst/gsttask.h:
9996         * gst/schedulers/threadscheduler.c:
9997         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
9998         Implement gst_pad_pause/start/stop_task(), take STREAM lock
9999         in task function.
10000         Remove ACTIVE pad flag, use FLUSHING everywhere
10001         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10002         functions.
10003         Add locks around IS_FLUSHING when reading.
10004         Take STREAM lock in chain(), get_range() functions so plugins
10005         don't need to take it anymore.
10006         
10007
10008
10009 2005-05-25  Wim Taymans  <wim@fluendo.com>
10010
10011         * tools/gst-launch.c: (event_loop):
10012         Unref message after using its contents instead of
10013         before.
10014
10015 2005-05-24  Wim Taymans  <wim@fluendo.com>
10016
10017         * docs/design/draft-ghostpads.txt:
10018         * docs/design/draft-push-pull.txt:
10019         * docs/design/draft-query.txt:
10020         * docs/design/part-overview.txt:
10021         Docs updates, added general overview doc.
10022
10023 2005-05-21  David Schleef  <ds@schleef.org>
10024
10025         * docs/gst/tmpl/old/GstBin.sgml:
10026         * docs/gst/tmpl/old/GstBuffer.sgml:
10027         * docs/gst/tmpl/old/GstCaps.sgml:
10028         * docs/gst/tmpl/old/GstClock.sgml:
10029         * docs/gst/tmpl/old/GstCompat.sgml:
10030         * docs/gst/tmpl/old/GstData.sgml:
10031         * docs/gst/tmpl/old/GstElement.sgml:
10032         * docs/gst/tmpl/old/GstEvent.sgml:
10033         * docs/gst/tmpl/old/GstIndex.sgml:
10034         * docs/gst/tmpl/old/GstStructure.sgml:
10035         * docs/gst/tmpl/old/GstTag.sgml:
10036         * docs/gst/tmpl/old/cothreads.sgml:
10037         * docs/gst/tmpl/old/cothreads_compat.sgml:
10038         * docs/gst/tmpl/old/gettext.sgml:
10039         * docs/gst/tmpl/old/gobject2gtk.sgml:
10040         * docs/gst/tmpl/old/grammar.tab.sgml:
10041         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10042         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10043         * docs/gst/tmpl/old/gst_private.sgml:
10044         * docs/gst/tmpl/old/gstaggregator.sgml:
10045         * docs/gst/tmpl/old/gstarch.sgml:
10046         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10047         * docs/gst/tmpl/old/gstbufferstore.sgml:
10048         * docs/gst/tmpl/old/gstdata_private.sgml:
10049         * docs/gst/tmpl/old/gstdisksink.sgml:
10050         * docs/gst/tmpl/old/gstdisksrc.sgml:
10051         * docs/gst/tmpl/old/gstelementfactory.sgml:
10052         * docs/gst/tmpl/old/gstextratypes.sgml:
10053         * docs/gst/tmpl/old/gstfakesink.sgml:
10054         * docs/gst/tmpl/old/gstfakesrc.sgml:
10055         * docs/gst/tmpl/old/gstfdsink.sgml:
10056         * docs/gst/tmpl/old/gstfdsrc.sgml:
10057         * docs/gst/tmpl/old/gstfilesink.sgml:
10058         * docs/gst/tmpl/old/gstfilesrc.sgml:
10059         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10060         * docs/gst/tmpl/old/gstidentity.sgml:
10061         * docs/gst/tmpl/old/gstindexfactory.sgml:
10062         * docs/gst/tmpl/old/gstmarshal.sgml:
10063         * docs/gst/tmpl/old/gstmd5sink.sgml:
10064         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10065         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10066         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10067         * docs/gst/tmpl/old/gstpipefilter.sgml:
10068         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10069         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10070         * docs/gst/tmpl/old/gstshaper.sgml:
10071         * docs/gst/tmpl/old/gstspider.sgml:
10072         * docs/gst/tmpl/old/gstspideridentity.sgml:
10073         * docs/gst/tmpl/old/gststatistics.sgml:
10074         * docs/gst/tmpl/old/gsttee.sgml:
10075         * docs/gst/tmpl/old/gsttimecache.sgml:
10076         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10077         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10078         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10079         * docs/gst/tmpl/old/types.sgml:
10080           I didn't intend to add these or check them in.
10081
10082 2005-05-19  David Schleef  <ds@schleef.org>
10083
10084         * configure.ac: Use -no-common everywhere.  In a sane world, it
10085           would be the default in libtool, because without it, you can't
10086           build DLLs on Windows.
10087         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10088         * docs/gst/gstreamer-sections.txt:
10089         * docs/gst/tmpl/gstcpu.sgml:
10090         * docs/gst/tmpl/gstdata.sgml:
10091         * docs/gst/tmpl/gstthread.sgml:
10092
10093 2005-05-19  David Schleef  <ds@schleef.org>
10094
10095         * gst/gstminiobject.c: (gst_value_set_mini_object),
10096         (gst_value_take_mini_object), (gst_value_get_mini_object):
10097         * gst/gstminiobject.h: Add GValue set/get functions.
10098
10099 2005-05-19  Wim Taymans  <wim@fluendo.com>
10100
10101         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10102         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10103         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10104         * gst/gstbuffer.h:
10105         * gst/gstbus.c: (gst_bus_post):
10106         * gst/gstelement.c: (gst_element_get_random_pad):
10107         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10108         Make subbufer unref the parent in finalize.
10109         some more debugging info.
10110
10111
10112 2005-05-19  Wim Taymans  <wim@fluendo.com>
10113
10114         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10115         (gst_basesink_init), (gst_basesink_finalize),
10116         (gst_basesink_activate), (gst_basesink_change_state):
10117         Don't free preroll queue too early.
10118
10119 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10120
10121         * gst/Makefile.am:
10122         * gst/ROADMAP:
10123           Hi, I'm outdated. Please shoot me.
10124
10125 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10126
10127         * gst/gstpipeline.c: (gst_pipeline_send_event):
10128           Do not access variables after they have been deleted.
10129
10130 2005-05-19  Wim Taymans  <wim@fluendo.com>
10131
10132         * tools/gst-inspect.c: (print_plugin_features):
10133         A plugin feature does unfortunatly not use the
10134         object name yet...
10135
10136 2005-05-18  Wim Taymans  <wim@fluendo.com>
10137
10138         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10139         Port _span() functions to new subbuffers.
10140
10141 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10142
10143         * gst/gstbin.c: (gst_bin_add_func):
10144           Fix clock settery in bins when adding kids after the clock has
10145           been selected.
10146
10147 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10148
10149         * gst/elements/gstidentity.c: (gst_identity_class_init):
10150           Workaround until signals support GstMiniObject.
10151
10152 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10153
10154         * gst/gstbuffer.c:
10155         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10156
10157 2005-05-18  Wim Taymans  <wim@fluendo.com>
10158
10159         * gst/base/Makefile.am:
10160         * gst/base/gstadapter.c: (gst_adapter_base_init),
10161         (gst_adapter_class_init), (gst_adapter_init),
10162         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10163         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10164         (gst_adapter_flush), (gst_adapter_available),
10165         (gst_adapter_available_fast):
10166         * gst/base/gstadapter.h:
10167         Ported and added adapter to the base classes.
10168
10169 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10170
10171         * gst/gst.c:
10172         * gst/gstmessage.c:
10173           Make sure the class is reffed/unreffed once before threads can be
10174           used.  Fixes #304551.
10175
10176 2005-05-17  Wim Taymans  <wim@fluendo.com>
10177
10178         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10179         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10180         * gst/gstminiobject.c: (gst_mini_object_get_type),
10181         (gst_mini_object_free):
10182         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10183         (gst_pad_push), (gst_pad_push_event):
10184         * gst/gstqueue.c: (gst_queue_change_state):
10185         Don't queue buffers in basesink when we are flushing.
10186         Unref buffer when flushing in basesink.
10187         Flush queue when going to READY
10188         Unref buffer when _push() returns an error.
10189         Don't free MiniObject instance when refcount is incremented
10190         in _finalize() so that we can recover objects.
10191
10192 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10193
10194         * docs/manual/advanced-schedulers.xml:
10195         * docs/manual/appendix-checklist.xml:
10196         * docs/pwg/advanced-clock.xml:
10197         * docs/pwg/advanced-interfaces.xml:
10198         * docs/pwg/advanced-request.xml:
10199         * docs/pwg/advanced-types.xml:
10200         * docs/pwg/intro-preface.xml:
10201         * examples/plugins/example.c: (gst_example_get_type),
10202         (gst_example_class_init), (gst_example_chain),
10203         (gst_example_set_property), (gst_example_get_property),
10204         (gst_example_change_state), (plugin_init):
10205         * examples/plugins/example.h:
10206           small doc fixes
10207
10208 2005-05-17  Wim Taymans  <wim@fluendo.com>
10209
10210         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10211         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10212         * gst/gstqueue.c: (gst_queue_change_state):
10213         Clear queue when going to READY.
10214         Remove IN_SETCAPS flag too.
10215
10216 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10217
10218         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10219           Remove implicit cast from gboolean to GstElementStateReturn;
10220           make sure we still return failure in paused => ready case if
10221           the parent class fails to change state and our own stop 
10222           vfunc succeeds.
10223
10224 2005-05-17  Wim Taymans  <wim@fluendo.com>
10225
10226         * tools/gst-launch.c: (event_loop):
10227         Message was unreffed too soon.
10228
10229 2005-05-16  Andy Wingo  <wingo@pobox.com>
10230
10231         * gst/gstbin.c (sink_iterator_filter): Err... um...
10232
10233         * check/gst/gstbin.c (test_ghost_pads): New test for the
10234         ghosting-if-elements-not-in-same-bin behavior.
10235
10236 2005-05-16  David Schleef  <ds@schleef.org>
10237
10238         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10239         accessing refcount directly.
10240
10241 2005-05-15  David Schleef  <ds@schleef.org>
10242
10243         * check/Makefile.am: remove GstData checks
10244         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10245         * gst/Makefile.am: add miniobject, remove data
10246         * gst/gst.h: add miniobject, remove data
10247         * gst/gstdata.c: remove
10248         * gst/gstdata.h: remove
10249         * gst/gstdata_private.h: remove
10250         * gst/gsttypes.h: remove GstEvent and GstMessage
10251         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10252         * gst/gstmarshal.list: change BOXED -> OBJECT
10253
10254         Implement GstMiniObject.
10255         * gst/gstminiobject.c:
10256         * gst/gstminiobject.h:
10257
10258         Modify to be subclasses of GstMiniObject.
10259         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10260         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10261         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10262         (gst_subbuffer_get_type), (gst_subbuffer_init),
10263         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10264         (gst_buffer_span):
10265         * gst/gstbuffer.h:
10266         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10267         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10268         (_gst_event_copy), (gst_event_new):
10269         * gst/gstevent.h:
10270         * gst/gstmessage.c: (_gst_message_initialize),
10271         (gst_message_get_type), (gst_message_class_init),
10272         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10273         (gst_message_new), (gst_message_new_error),
10274         (gst_message_new_warning), (gst_message_new_tag),
10275         (gst_message_new_state_changed), (gst_message_new_application):
10276         * gst/gstmessage.h:
10277         * gst/gstprobe.c: (gst_probe_perform),
10278         (gst_probe_dispatcher_dispatch):
10279         * gst/gstprobe.h:
10280         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10281         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10282         (_gst_query_copy), (gst_query_new):
10283
10284         Update elements for GstData -> GstMiniObject changes
10285         * gst/gstquery.h:
10286         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10287         (gst_queue_chain), (gst_queue_loop):
10288         * gst/elements/gstbufferstore.c:
10289         (gst_buffer_store_add_buffer_func),
10290         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10291         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10292         (gst_fakesink_render):
10293         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10294         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10295         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10296         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10297         (gst_filesrc_create_read):
10298         * gst/elements/gstidentity.c: (gst_identity_class_init):
10299         * gst/elements/gsttypefindelement.c:
10300         (gst_type_find_element_src_event), (free_entry_buffers),
10301         (gst_type_find_element_handle_event):
10302         * libs/gst/dataprotocol/dataprotocol.c:
10303         (gst_dp_header_from_buffer):
10304         * libs/gst/dataprotocol/dataprotocol.h:
10305         * libs/gst/dataprotocol/dp-private.h:
10306
10307 2005-05-15  David Schleef  <ds@schleef.org>
10308
10309         * gst/elements/gstelements.c: Don't include headers that were
10310         just removed.
10311
10312 2005-05-15  David Schleef  <ds@schleef.org>
10313
10314         * gst/elements/Makefile.am: Remove some elements that don't
10315         need to be in the core (or even exist at all).
10316         * gst/elements/gstaggregator.c:
10317         * gst/elements/gstaggregator.h:
10318         * gst/elements/gstmd5sink.c:
10319         * gst/elements/gstmd5sink.h:
10320         * gst/elements/gstmultifilesrc.c:
10321         * gst/elements/gstmultifilesrc.h:
10322         * gst/elements/gstpipefilter.c:
10323         * gst/elements/gstpipefilter.h:
10324         * gst/elements/gstshaper.c:
10325         * gst/elements/gstshaper.h:
10326         * gst/elements/gststatistics.c:
10327         * gst/elements/gststatistics.h:
10328         * po/POTFILES.in: Remove above files.
10329
10330 2005-05-14  Andy Wingo  <wingo@pobox.com>
10331
10332         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10333         so as to get the refs right.
10334         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10335         unreffing objects that don't pass the filter.
10336
10337         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10338         gst_element_set_bus.
10339         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10340         normal cases, this will destroy the bus.
10341
10342         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10343         object.
10344
10345         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10346         has no sinks.
10347
10348 2005-05-13  Andy Wingo  <wingo@pobox.com>
10349
10350         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10351         gst_pad_link, call pad_link_maybe_ghosting,
10352         (pad_link_maybe_ghosting): Links pads, making sure that the
10353         elements being linked are in the same bin.
10354         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10355         Helpers for pad_link_maybe_ghosting.
10356
10357 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10358
10359         * configure.ac:
10360           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10361
10362 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10363
10364         * docs/design/part-element-source.txt:
10365           Mention GstPushSrc
10366
10367 2005-05-12  Wim Taymans  <wim@fluendo.com>
10368
10369         * gst/base/gstbasesink.c: (gst_basesink_init),
10370         (gst_basesink_activate):
10371         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10372         (gst_basesrc_is_seekable):
10373         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10374         (bin_element_is_sink), (gst_bin_change_state):
10375         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10376         * gst/gstelement.h:
10377         Identify sinks by their flag to avoid overly complicated
10378         checks (fow now).
10379         Do state changes even for elements not reachable from the
10380         sinks.
10381         BaseSink is a sink now :)
10382         Some more debugging info in the basesrc.
10383
10384
10385 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10386
10387         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10388           Implement _query on a bin, similar to _send_event.
10389
10390 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10391
10392         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10393           Discont event offset format should be GST_FORMAT_BYTES,
10394           not GST_FORMAT_TIME.
10395
10396 2005-05-12  Wim Taymans  <wim@fluendo.com>
10397
10398         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10399         Same fix as Ronald's but without the signal. 
10400
10401 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10402
10403         * gst/gstutils.c: (gst_element_query_position):
10404           No, an element is not a pad.
10405
10406 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10407
10408         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10409         (gst_bin_get_state):
10410           If a child is removed from a bin while we remove the child from
10411           the bin and while we're retrieving its state, signal this to the
10412           get_state function so we abort the wait (instead of waiting for
10413           a timeout) and can immediately re-iterate over all other elements.
10414
10415 2005-05-12  Wim Taymans  <wim@fluendo.com>
10416
10417         * gst/base/Makefile.am:
10418         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10419         (gst_basesrc_start):
10420         * gst/base/gstbasesrc.h:
10421         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10422         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10423         (gst_pushsrc_init), (gst_pushsrc_create):
10424         * gst/base/gstpushsrc.h:
10425         Added is_seekable to BaseSrc
10426         Added simple PushSrc.
10427
10428 2005-05-11  Wim Taymans  <wim@fluendo.com>
10429
10430         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10431         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10432         (gst_element_link_pads), (gst_element_query_position),
10433         (gst_element_query_convert), (intersect_caps_func),
10434         (gst_pad_query_position), (gst_pad_query_convert):
10435         Fix refcounting in utils function.
10436         No point in trying to activate a pad when it's added, it could
10437         be added from the state change function and then we deadlock, the
10438         element has to decide what to do.
10439
10440 2005-05-10  Andy Wingo  <wingo@pobox.com>
10441
10442         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10443         *all* the arguments.
10444
10445         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10446         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10447         lock (according to the docs -- if this is wrong change the docs).
10448
10449         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10450         flush messages in the NULL state.
10451
10452         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10453         message immediately and return.
10454         (gst_bus_set_flushing): New function. If a bus is flushing, it
10455         flushes out any queued messages and immediately unrefs new
10456         messages. This is so when an element goes to NULL, all of the
10457         unhandled messages coming from it can be freed, and their
10458         references to the element dropped. In other words: message source
10459         ref considered harmful :P
10460
10461         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10462         we're finished with it.
10463
10464         * gst/gstmessage.c (gst_message_new_state_changed): 
10465
10466 2005-05-10  Wim Taymans  <wim@fluendo.com>
10467
10468         * gst/gstvalue.c: (gst_value_compare_flags),
10469         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10470         (_gst_value_initialize):
10471         Added flags serialize/deserialize/compare code.
10472
10473 2005-05-09  Andy Wingo  <wingo@pobox.com>
10474
10475         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10476         Intersect the peer's caps with our caps.
10477
10478 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10479
10480         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10481         * gst/elements/gsttypefindelement.c: (find_peek):
10482           Handle negative offsets better. Fixes decodebin.
10483
10484 2005-05-09  Wim Taymans  <wim@fluendo.com>
10485
10486         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10487         (gst_base_transform_event):
10488         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10489         Implement accept_caps.
10490         Fix silly lock/unlock mismatch in base class.
10491
10492 2005-05-09  Wim Taymans  <wim@fluendo.com>
10493
10494         * docs/design/draft-push-pull.txt:
10495         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10496         * gst/elements/gstfilesink.c: (gst_filesink_init),
10497         (gst_filesink_query):
10498         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10499         (gst_type_find_handle_src_query), (find_element_get_length):
10500         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10501         * gst/gstelement.h:
10502         * gst/gstmessage.c:
10503         * gst/gstmessage.h:
10504         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10505         (gst_real_pad_get_caps_unlocked),
10506         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10507         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10508         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10509         (gst_real_pad_dispose), (gst_real_pad_finalize),
10510         (gst_pad_load_and_link), (gst_pad_save_thyself),
10511         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10512         (gst_pad_check_pull_range), (gst_pad_pull_range),
10513         (gst_pad_template_get_type), (gst_pad_template_class_init),
10514         (gst_pad_template_init), (gst_pad_template_dispose),
10515         (name_is_valid), (gst_static_pad_template_get),
10516         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10517         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10518         (gst_pad_get_element_private), (gst_pad_start_task),
10519         (gst_pad_pause_task), (gst_pad_stop_task),
10520         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10521         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10522         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10523         (gst_ghost_pad_new):
10524         * gst/gstpad.h:
10525         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10526         (gst_query_new_position), (gst_query_set_position),
10527         (gst_query_parse_position), (gst_query_new_convert),
10528         (gst_query_set_convert), (gst_query_parse_convert):
10529         * gst/gstquery.h:
10530         * gst/gstqueryutils.c:
10531         * gst/gstqueryutils.h:
10532         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10533         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10534         (gst_queue_handle_src_query):
10535         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10536         (gst_element_query_position), (gst_element_query_convert),
10537         (intersect_caps_func), (gst_pad_query_position),
10538         (gst_pad_query_convert):
10539         * gst/gstutils.h:
10540         * tools/gst-inspect.c: (print_pad_info):
10541         * tools/gst-xmlinspect.c: (print_element_info):
10542         Remove old query functions. Ported old code.
10543         Added position/convert helper functions to gstutils.
10544         Reordered gstpad.c code, grouping relevant things.
10545         Remove gst_message_new(), always need to speficy a specific
10546         message.
10547
10548
10549 2005-05-09  Andy Wingo  <wingo@pobox.com>
10550
10551         * gst/gstiterator.h: Add some includes.
10552
10553         * gst/gstqueryutils.h: Include more headers.
10554
10555         * gst/gstpad.h:
10556         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10557         some uses of gst_pad_query.
10558
10559         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10560         NULL out parameters.
10561         (gst_query_new_position): New proc, allocates a new position
10562         query.
10563
10564         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10565         gstqueryutils.c to the build.
10566
10567         * gst/gststructure.c (gst_structure_set_valist): Implement with
10568         the generic G_VALUE_COLLECT.
10569         
10570 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10571
10572         * gst/Makefile.am: (gst_headers):
10573         Added gstqueryutils.h to the list of headers to install, that was
10574         a 'nachty' move wingo :)
10575
10576 2005-05-06  Andy Wingo  <wingo@pobox.com>
10577
10578         * gst/gstquery.h
10579         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10580         GstData, init a memchunk.
10581         (standard_definitions): Add a few query types, deprecate a few.
10582         (gst_query_get_type): New proc.
10583         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10584         implementation.
10585         (gst_query_new_application, gst_query_get_structure): New public
10586         procs.
10587
10588         * docs/design/draft-query.txt: Removed LINKS from the query types,
10589         because all the rest can be dispatched to other pads -- seemed
10590         ugly to have a query that couldn't be dispatched. internal_links
10591         is fine as a pad method.
10592
10593         * gst/gstpad.h: Add query2 as a pad method, add the new functions
10594         in gstpad.c, but maintain binary compatibility for the moment.
10595         Will fix before 0.9 is out.
10596
10597         * gst/gstqueryutils.c: 
10598         * gst/gstqueryutils.h: New files, implement 3 methods for each
10599         query type: parse_query, parse_response, and set. Probably need an
10600         allocator as well.
10601
10602         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10603
10604         * gst/elements/gstfilesink.c (gst_filesink_query2):
10605         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10606         query_types, and formats methods.
10607
10608         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10609         (gst_pad_set_query2_function): New functions.
10610         (gst_real_pad_init): Set query2_default as the default query2
10611         function. Basically just dispatches to internally linked pads.
10612
10613         Needs review!
10614         
10615         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10616         without using the atomic operations. Only one thread can possibly
10617         be accessing the data at this point. Changed so as to avoid
10618         gst_atomic operations.
10619
10620 2005-05-06  Wim Taymans  <wim@fluendo.com>
10621
10622         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10623         Also set caps if we use the fallback buffer alloc.
10624
10625 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
10626
10627         * docs/gst/Makefile.am:
10628         * docs/gst/gstreamer-docs.sgml:
10629         * docs/gst/gstreamer-sections.txt:
10630         * docs/gst/tmpl/gstatomic.sgml:
10631         * docs/gst/tmpl/gstmemchunk.sgml:
10632         * testsuite/elements/struct_i386.h:
10633         * win32/GStreamer.vcproj:
10634         * win32/Makefile:
10635           Purge GstAtomic stuff from docs and win32 makefiles as well
10636
10637 2005-05-06  Wim Taymans  <wim@fluendo.com>
10638
10639         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10640         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10641         * gst/gstpad.c: (gst_pad_peer_get_caps):
10642         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10643         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10644         (gst_queue_src_activate), (gst_queue_change_state):
10645         * gst/gstqueue.h:
10646         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10647         (intersect_caps_func):
10648         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10649         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10650         Some fixes for the peer_get_caps() change.
10651
10652 2005-05-06  Wim Taymans  <wim@fluendo.com>
10653
10654         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10655         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10656         (gst_basesink_activate):
10657         Actually do something with error codes returned from the push
10658         functions.
10659
10660 2005-05-06  Wim Taymans  <wim@fluendo.com>
10661
10662         * docs/design/part-element-sink.txt:
10663         * docs/design/part-element-source.txt:
10664         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10665         (gst_basesink_event), (gst_basesink_activate):
10666         * gst/base/gstbasesink.h:
10667         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10668         (gst_basesrc_activate):
10669         * gst/base/gstbasesrc.h:
10670         * gst/gstelement.c: (gst_element_pads_activate):
10671         Some more documentation.
10672         Fixed scheduling decision in _pads_activate().
10673
10674 2005-05-05  Andy Wingo  <wingo@pobox.com>
10675
10676         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10677         the test suite.
10678
10679 2005-05-05  Wim Taymans  <wim@fluendo.com>
10680
10681         * gst/base/Makefile.am:
10682         * gst/base/gstbasesink.h:
10683         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10684         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10685         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10686         (gst_collectpads_class_init), (gst_collectpads_init),
10687         (gst_collectpads_finalize), (gst_collectpads_new),
10688         (gst_collectpads_set_function), (gst_collectpads_add_pad),
10689         (find_pad), (gst_collectpads_remove_pad),
10690         (gst_collectpads_is_active), (gst_collectpads_collect),
10691         (gst_collectpads_collect_range), (gst_collectpads_start),
10692         (gst_collectpads_stop), (gst_collectpads_peek),
10693         (gst_collectpads_pop), (gst_collectpads_available),
10694         (gst_collectpads_read), (gst_collectpads_flush),
10695         (gst_collectpads_chain):
10696         * gst/base/gstcollectpads.h:
10697         * gst/elements/Makefile.am:
10698         * gst/elements/gstelements.c:
10699         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10700         (gst_fakesink_get_times), (gst_fakesink_event),
10701         (gst_fakesink_preroll), (gst_fakesink_render):
10702         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10703         (gst_filesink_init), (gst_filesink_set_location),
10704         (gst_filesink_open_file), (gst_filesink_close_file),
10705         (gst_filesink_pad_query), (gst_filesink_event),
10706         (gst_filesink_render), (gst_filesink_change_state):
10707         * gst/elements/gstfilesink.h:
10708         Added object to help in making collect pad based elements.
10709         Ported filesink.
10710         Make event function in sink baseclass return gboolean.
10711
10712 2005-05-05  Wim Taymans  <wim@fluendo.com>
10713
10714         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10715         (gst_bin_get_by_name):
10716         * gst/gstbuffer.h:
10717         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10718         (gst_clock_finalize):
10719         * gst/gstdata.c: (gst_data_replace):
10720         * gst/gstdata.h:
10721         * gst/gstelement.c: (gst_element_request_pad),
10722         (gst_element_pads_activate):
10723         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10724         (gst_object_unref):
10725         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10726         (gst_pad_set_checkgetrange_function),
10727         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10728         (gst_pad_check_pull_range), (gst_pad_pull_range),
10729         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10730         (gst_pad_pause_task), (gst_pad_stop_task):
10731         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10732         (gst_element_request_pad), (gst_pad_proxy_getcaps):
10733         Fix name lookup in GstBin.
10734         Added _data_replace() function and _buffer_replace()
10735         Use finalize method to clean up clock.
10736         Fix refcounting on request pads.
10737         Fix pad schedule mode error.
10738         Some more object refcounting debug info,
10739
10740
10741 2005-05-04  Andy Wingo <wingo@pobox.com>
10742
10743         * check/Makefile.am:
10744         * docs/gst/tmpl/gstatomic.sgml:
10745         * docs/gst/tmpl/gstplugin.sgml:
10746         * gst/base/gstbasesink.c: (gst_basesink_activate):
10747         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10748         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10749         (gst_basesrc_query), (gst_basesrc_set_property),
10750         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10751         (gst_basesrc_activate):
10752         * gst/base/gstbasesrc.h:
10753         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10754         (gst_base_transform_src_activate):
10755         * gst/elements/gstelements.c:
10756         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10757         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10758         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10759         * gst/elements/gsttypefindelement.c: (find_element_get_length),
10760         (gst_type_find_element_checkgetrange),
10761         (gst_type_find_element_activate):
10762         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10763         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10764         (gst_caps_load_thyself):
10765         * gst/gstelement.c: (gst_element_pads_activate),
10766         (gst_element_save_thyself), (gst_element_restore_thyself):
10767         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10768         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10769         * gst/gstpad.h:
10770         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10771         (gst_xml_parse_file), (gst_xml_parse_memory),
10772         (gst_xml_get_element), (gst_xml_make_element):
10773         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10774         (_file_index_id_save_xml), (gst_file_index_commit):
10775         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10776         (read_enum), (load_pad_template), (load_feature), (load_plugin),
10777         (load_paths):
10778         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10779         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10780         * tools/gst-complete.c: (main):
10781         * tools/gst-compprep.c: (main):
10782         * tools/gst-inspect.c: (print_element_properties_info):
10783         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10784         * tools/gst-xmlinspect.c: (print_element_properties):
10785         GCC 4 fixen.
10786         
10787 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10788
10789         * gst/gstplugin.c: (gst_plugin_check_module),
10790         (gst_plugin_check_file), (gst_plugin_load_file):
10791             apply patch from #172526 to make register work on MacOSX
10792
10793 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10794
10795         * docs/gst/tmpl/gstconfig.sgml:
10796         * gst/gstconfig.h.in:
10797           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
10798         * testsuite/debug/printf_extension.c: (main):
10799           Do not use GST_PTR_FORMAT on pointers to types with
10800           sizeof < sizeof(gpointer).  Fixes test on 64-bit
10801         * testsuite/elements/property.h:
10802           use correct printf format
10803
10804 2005-05-02  Wim Taymans  <wim@fluendo.com>
10805
10806         * docs/design/draft-push-pull.txt:
10807         * docs/design/draft-query.txt:
10808         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10809         (gst_basesrc_start):
10810         Added draft for new query API.
10811         Added draft for better selecting scheduling methods.
10812         Make basesrc ignore length if the subclass does not support
10813         it.
10814
10815 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10816
10817         * gst/Makefile.am:
10818           possible fixes for automake-1.5 - _LIBADD is reserved
10819
10820 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10821
10822         * docs/faq/Makefile.am:
10823         * docs/manual/Makefile.am:
10824         * docs/manuals.mak:
10825         * docs/pwg/Makefile.am:
10826         * gst/Makefile.am:
10827           possible fixes for automake-1.5
10828
10829 2005-04-28  Wim Taymans  <wim@fluendo.com>
10830
10831         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10832         (gst_basesink_pad_getcaps), (gst_basesink_init),
10833         (gst_basesink_do_sync):
10834         * gst/gstclock.c: (gst_clock_entry_new):
10835         * gst/gstevent.c: (gst_event_discont_get_value):
10836         * gst/gstpipeline.c: (pipeline_bus_handler),
10837         (gst_pipeline_change_state):
10838         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10839         Better debugging of clocking info.
10840         Allow NULL values when getting discont values.
10841
10842 2005-04-27  Wim Taymans  <wim@fluendo.com>
10843
10844         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10845         * check/gst/gstpad.c: (gst_pad_suite):
10846         Increase timeout for checks.
10847
10848 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10849
10850         * check/Makefile.am:
10851           fix the broken rule for cleanup.  Apparently this rule is
10852           only needed on FC2, so maybe this warrants further autotool
10853           inspection.
10854
10855 2005-04-26  Wim Taymans  <wim@fluendo.com>
10856
10857         * gst/gsttrashstack.h:
10858         Ooohh. a nasty one! After having a failed pop() from the stack,
10859         it's possible that the stack is empty. In that case, don't
10860         follow the NULL pointer.
10861
10862 2005-04-25  Wim Taymans  <wim@fluendo.com>
10863
10864         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10865         (gst_pad_set_checkgetrange_function),
10866         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10867         (gst_pad_check_pull_range), (gst_pad_pull_range),
10868         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10869         (gst_pad_pause_task), (gst_pad_stop_task):
10870         * gst/gstplugin.c: (gst_plugin_load):
10871         * gst/gstplugin.h:
10872         Remove gst_library_load as it does more harm than good with
10873         the new g_module flags.
10874         Revert bogus caps template check in pad linking, pad caps
10875         are important when linking not the template, which is more
10876         general than the current caps.
10877
10878 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10879
10880         * gst/autoplug/.cvsignore:
10881         * gst/autoplug/Makefile.am:
10882         * gst/autoplug/gstsearchfuncs.c:
10883         * gst/autoplug/gstsearchfuncs.h:
10884         * gst/autoplug/gstspider.c:
10885         * gst/autoplug/gstspider.h:
10886         * gst/autoplug/gstspideridentity.c:
10887         * gst/autoplug/gstspideridentity.h:
10888         * gst/autoplug/spidertest.c:
10889           Die, spider, die.
10890
10891 2005-04-25  Wim Taymans  <wim@fluendo.com>
10892
10893         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10894         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10895         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10896         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10897         * gst/gstpad.h:
10898         Added stubs for unimplemented functions. 
10899
10900 2005-04-24  David Schleef  <ds@schleef.org>
10901
10902         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
10903         please fix.
10904
10905 2005-04-24  David Schleef  <ds@schleef.org>
10906
10907         Convert everything from GstAtomicInt to g_atomic_int_*, and
10908         remove gstatomic.
10909         * gst/Makefile.am:
10910         * gst/gstatomic.c:
10911         * gst/gstatomic.h:
10912         * gst/gstatomic_impl.h:
10913         * gst/gstbuffer.c:
10914         * gst/gstcaps.c:
10915         * gst/gstcaps.h:
10916         * gst/gstclock.c:
10917         * gst/gstclock.h:
10918         * gst/gstdata.c:
10919         * gst/gstdata.h:
10920         * gst/gstdata_private.h:
10921         * gst/gstevent.c:
10922         * gst/gstinfo.c:
10923         * gst/gstinfo.h:
10924         * gst/gstmessage.c:
10925         * gst/gstobject.c:
10926         * gst/gstobject.h:
10927         * gst/gststructure.c:
10928         * gst/gststructure.h:
10929         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10930         * gst/gstutils.h:
10931
10932 2005-04-24  David Schleef  <ds@schleef.org>
10933
10934         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10935         make the regressions tests work.  Remove some code that is no
10936         longer true.
10937         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10938         Disable warning for pads without templates.
10939
10940 2005-04-24  David Schleef  <ds@schleef.org>
10941
10942         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
10943         functions that handle filtered links.
10944         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10945         removed functions.
10946         * gst/gstutils.c: Fix/remove utility functions that handle
10947         filtered caps.
10948         * gst/gstutils.h:
10949         * gst/gstvalue.c: Add serialization/deserialization of caps
10950         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
10951         requires fixing so that the filter caps notation creates
10952         a capsfilter element and sets the filter_caps property.  I
10953         think everyone probably wants to keep the shorthand notation.
10954         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10955         * docs/gst/tmpl/gstpad.sgml:
10956
10957         * gst/elements/gstelements.c: Register capsfilter element.
10958         * gst/Makefile.am: fix spacing
10959         * docs/random/ds/0.9-suggested-changes: random
10960
10961 2005-04-23  David Schleef  <ds@schleef.org>
10962
10963         * gst/elements/Makefile.am:
10964         * gst/elements/gstcapsfilter.c: New element that acts like an
10965         identity, but filters caps.  Will eventually replace filtered
10966         caps in pad linking.
10967         * gst/gstutils.c: (gst_element_create_all_pads): New function
10968         to create all the ALWAYS pads that are registered with an
10969         element class.  This functionality should eventually be
10970         merged in with GstElement initialization.
10971         * gst/gstutils.h:
10972         * testsuite/trigger/README: part of trigger test code that should
10973         have been checked in a long time ago.
10974
10975 2005-04-23  David Schleef  <ds@schleef.org>
10976
10977         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
10978         needed with new versions of libtool (nobody will confirm this),
10979         and hard to carry around.
10980         * gst/autoplug/Makefile.am:
10981         * gst/base/Makefile.am:
10982         * gst/elements/Makefile.am:
10983         * gst/indexers/Makefile.am:
10984         * gst/schedulers/Makefile.am:
10985         * libs/gst/bytestream/Makefile.am:
10986         * libs/gst/control/Makefile.am:
10987         * libs/gst/dataprotocol/Makefile.am:
10988         * libs/gst/getbits/Makefile.am:
10989
10990 2005-04-21  Wim Taymans  <wim@fluendo.com>
10991
10992         * docs/design/draft-push-pull.txt:
10993         * docs/design/part-MT-refcounting.txt:
10994         * docs/design/part-TODO.txt:
10995         * docs/design/part-caps.txt:
10996         * docs/design/part-events.txt:
10997         * docs/design/part-gstbus.txt:
10998         * docs/design/part-gstpipeline.txt:
10999         * docs/design/part-messages.txt:
11000         * docs/design/part-push-pull.txt:
11001         * docs/design/part-query.txt:
11002         Some more docs.
11003
11004 2005-04-21  Wim Taymans  <wim@fluendo.com>
11005
11006         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11007         (gst_message_new), (gst_message_new_error),
11008         (gst_message_new_warning), (gst_message_new_tag),
11009         (gst_message_new_state_changed), (gst_message_new_application),
11010         (gst_message_get_structure):
11011         * gst/gstmessage.h:
11012         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11013         (gst_structure_copy_conditional):
11014         Use parent refcount in GstMessage to ensure GstStructure
11015         consistency.
11016         Cleaned up headers a bit.
11017         
11018
11019 2005-04-20  Wim Taymans  <wim@fluendo.com>
11020
11021         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11022         (gst_basesink_pad_getcaps), (gst_basesink_init),
11023         (gst_basesink_chain_unlocked):
11024         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11025         (gst_type_find_helper):
11026         * gst/elements/gsttypefindelement.c:
11027         (gst_type_find_element_have_type), (gst_type_find_element_init),
11028         (stop_typefinding), (gst_type_find_element_handle_event),
11029         (find_suggest), (gst_type_find_element_chain),
11030         (gst_type_find_element_checkgetrange),
11031         (gst_type_find_element_getrange), (do_typefind),
11032         (gst_type_find_element_activate):
11033         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11034         (gst_buffer_default_free), (gst_buffer_default_copy),
11035         (gst_buffer_set_caps):
11036         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11037         (gst_caps_replace):
11038         * gst/gstmessage.c: (gst_message_new),
11039         (gst_message_new_state_changed):
11040         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11041         (gst_pad_set_checkgetrange_function),
11042         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11043         (gst_pad_set_caps), (gst_pad_check_pull_range),
11044         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11045         * gst/gstpad.h:
11046         * gst/gsttypefind.c: (gst_type_find_register):
11047         Make gst_caps_replace() work like other _replace() functions.
11048         Use _caps_replace() where possible.
11049         Make sure _message_new() initialises its field.
11050         Add gst_static_pad_template_get_caps()
11051
11052
11053 2005-04-18  Andy Wingo  <wingo@pobox.com>
11054
11055         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11056         on the peer, not the pad. I think that was a typo. Pass an extra
11057         arg to see if random access is possible. Activate the pads as
11058         PULL_RANGE if possible.
11059
11060         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11061
11062         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11063         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11064         to PROP_....
11065
11066 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11067
11068         * docs/faq/using.xml:
11069           Add note on gstreamer-properties (#154996).
11070
11071 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11072
11073         * docs/random/bbb/optional-properties:
11074           Some analysis on optional properties.
11075
11076 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11077
11078         * docs/gst/tmpl/gstelementfactory.sgml:
11079         * gst/gstelement.h:
11080         * gst/gstelementfactory.c: (gst_element_factory_init),
11081         (gst_element_factory_cleanup), (gst_element_register),
11082         (__gst_element_factory_add_static_pad_template),
11083         (gst_element_factory_get_static_pad_templates),
11084         (gst_element_factory_can_src_caps),
11085         (gst_element_factory_can_sink_caps):
11086         * gst/registries/Makefile.am:
11087         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11088         (gst_xml_registry_class_init), (gst_xml_registry_init),
11089         (gst_xml_registry_new), (gst_xml_registry_set_property),
11090         (gst_xml_registry_get_property), (get_time), (make_dir),
11091         (gst_xml_registry_get_perms_func),
11092         (plugin_times_older_than_recurse), (plugin_times_older_than),
11093         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11094         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11095         (add_to_char_array), (read_string), (read_uint), (read_enum),
11096         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11097         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11098         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11099         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11100         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11101         (gst_xml_registry_rebuild):
11102         * gst/registries/gstlibxmlregistry.h:
11103         * tools/gst-compprep.c: (main):
11104         * tools/gst-inspect.c: (print_pad_templates_info):
11105         * tools/gst-xmlinspect.c: (print_element_info):
11106           Use libxml2 for registry parsing, use staticpadtemplates in
11107           elementfactories. Makes gst_init() +/- 10x faster.
11108
11109 2005-04-12  Wim Taymans  <wim@fluendo.com>
11110
11111         * gst/base/Makefile.am:
11112         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11113         (gst_basesink_pad_getcaps), (gst_basesink_init),
11114         (gst_basesink_event), (gst_basesink_change_state):
11115         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11116         (gst_basesrc_init), (gst_basesrc_query),
11117         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11118         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11119         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11120         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11121         (gst_basesrc_stop), (gst_basesrc_activate),
11122         (gst_basesrc_change_state):
11123         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11124         (helper_find_suggest), (gst_type_find_helper):
11125         * gst/base/gsttypefindhelper.h:
11126         * gst/elements/Makefile.am:
11127         * gst/elements/gstelements.c:
11128         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11129         (gst_fakesink_get_times), (gst_fakesink_event),
11130         (gst_fakesink_preroll), (gst_fakesink_render):
11131         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11132         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11133         (gst_fakesrc_get_property), (gst_fakesrc_create),
11134         (gst_fakesrc_start), (gst_fakesrc_stop):
11135         * gst/elements/gstfakesrc.h:
11136         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11137         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11138         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11139         (gst_filesrc_create_read), (gst_filesrc_create),
11140         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11141         (gst_filesrc_start):
11142         * gst/elements/gsttypefindelement.c:
11143         (gst_type_find_element_have_type), (gst_type_find_element_init),
11144         (start_typefinding), (stop_typefinding), (push_buffer_store),
11145         (gst_type_find_element_handle_event),
11146         (gst_type_find_element_chain),
11147         (gst_type_find_element_checkgetrange),
11148         (gst_type_find_element_getrange), (do_typefind),
11149         (gst_type_find_element_activate),
11150         (gst_type_find_element_change_state):
11151         * gst/elements/gsttypefindelement.h:
11152         * gst/gstpipeline.c: (pipeline_bus_handler):
11153         Added typefind helper.
11154         Small preroll fix in the base sink.
11155         Disable typefind code in basesrc.
11156         Crude port of typefindelement.
11157         Fakesrc cleanups.
11158
11159
11160 2005-04-11  Wim Taymans  <wim@fluendo.com>
11161
11162         * check/gst/gstbus.c: (gstbus_suite):
11163         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11164         * check/gstcheck.h:
11165           Fix up the timeout so that the test does not fail.
11166
11167 2005-04-06  Wim Taymans  <wim@fluendo.com>
11168
11169         * gst/base/README:
11170         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11171         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11172         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11173         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11174         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11175         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11176         (gst_basesrc_stop), (gst_basesrc_activate),
11177         (gst_basesrc_change_state), (basesrc_find_peek),
11178         (basesrc_find_suggest), (gst_basesrc_type_find):
11179         * gst/base/gstbasesrc.h:
11180         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11181         (gst_filesrc_class_init), (gst_filesrc_init),
11182         (gst_filesrc_finalize), (gst_filesrc_set_location),
11183         (gst_filesrc_set_property), (gst_filesrc_get_property),
11184         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11185         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11186         (gst_filesrc_create_read), (gst_filesrc_create),
11187         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11188         * gst/elements/gstfilesrc.h:
11189         * gst/gstelement.c: (gst_element_get_state_func),
11190         (gst_element_lost_state), (gst_element_pads_activate):
11191         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11192         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11193         (gst_pad_pull_range):
11194         * gst/gstpad.h:
11195         More work on the generic source base class, implement seeking,
11196         query.
11197         Make filesrc extend the base source class.
11198         Added gst_pad_set_checkgetrange_function to GstPad.
11199
11200 2005-04-06  Andy Wingo  <wingo@pobox.com>
11201
11202         * pkgconfig/gstreamer-base.pc.in:
11203         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11204
11205         * pkgconfig/Makefile.am:
11206         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11207
11208 2005-04-04  Wim Taymans  <wim@fluendo.com>
11209
11210         * gst/base/Makefile.am:
11211         * gst/base/README:
11212         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11213         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11214         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11215         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11216         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11217         (gst_basesrc_base_init), (gst_basesrc_class_init),
11218         (gst_basesrc_init), (gst_basesrc_get_formats),
11219         (gst_basesrc_get_query_types), (gst_basesrc_query),
11220         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11221         (gst_basesrc_set_property), (gst_basesrc_get_property),
11222         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11223         (gst_basesrc_loop), (gst_basesrc_activate),
11224         (gst_basesrc_change_state):
11225         * gst/base/gstbasesrc.h:
11226         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11227         (gst_fakesrc_class_init), (gst_fakesrc_init),
11228         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11229         (gst_fakesrc_get_property), (gst_fakesrc_create):
11230         * gst/elements/gstfakesrc.h:
11231         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11232         (gst_filesrc_open_file), (gst_filesrc_loop),
11233         (gst_filesrc_activate), (filesrc_find_peek),
11234         (gst_filesrc_type_find):
11235         Made base source class, make fakesrc extend it.
11236         Add comments to basesink class.
11237         Some filesrc cleanup.
11238
11239 2005-03-31  David Schleef  <ds@schleef.org>
11240
11241         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11242         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11243         expected to link against libgstreamer.
11244         * gst/base/Makefile.am: link against libgstreamer
11245         * gst/elements/Makefile.am: same
11246
11247 2005-03-31  Andy Wingo  <wingo@pobox.com>
11248
11249         * tests/instantiate/Makefile.am:
11250         * tests/instantiate/caps.c: Add test to test speed of caps copy
11251         and free.
11252
11253         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11254         GMemChunk to be fair.
11255
11256         * gst/gsttrashstack.h: Remove warning about using the fallback
11257         trash stack implementation, it's still faster than malloc.
11258
11259 2005-03-30  Andy Wingo  <wingo@pobox.com>
11260
11261         * tests/complexity.c: Add a copyright.
11262
11263 2005-03-31  Wim Taymans  <wim@fluendo.com>
11264
11265         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11266         (gst_base_transform_class_init), (gst_base_transform_init),
11267         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11268         (gst_base_transform_get_property),
11269         (gst_base_transform_sink_activate),
11270         (gst_base_transform_src_activate),
11271         (gst_base_transform_change_state):
11272         * gst/base/gstbasetransform.h:
11273         * gst/elements/gstidentity.c: (gst_identity_class_init),
11274         (gst_identity_event), (gst_identity_check_perfect),
11275         (gst_identity_transform), (gst_identity_start),
11276         (gst_identity_stop):
11277         Added start/stop methods to transform base class so subclasses 
11278         don't need to deal with state changes even.
11279
11280 2005-03-31  Wim Taymans  <wim@fluendo.com>
11281
11282         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11283         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11284         * gst/gstevent.h:
11285         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11286         (gst_pad_pull_range):
11287         Added rate to the discont event to prepare for variable speed
11288         and reverse playback.
11289
11290 2005-03-29  David Schleef  <ds@schleef.org>
11291
11292         * configure.ac:
11293         * testsuite/trigger/Makefile.am:
11294         * testsuite/trigger/trigger.c: A little example program to show
11295         how trigger-based elements can work.
11296
11297 2005-03-29  Wim Taymans  <wim@fluendo.com>
11298
11299         * gst/base/Makefile.am:
11300         * gst/base/README:
11301         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11302         (gst_basesink_base_init), (gst_basesink_class_init),
11303         (gst_basesink_pad_getcaps), (gst_basesink_init),
11304         (gst_basesink_activate), (gst_basesink_change_state):
11305         * gst/base/gstbasesink.h:
11306         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11307         (gst_base_transform_base_init), (gst_base_transform_finalize),
11308         (gst_base_transform_class_init), (gst_base_transform_init),
11309         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11310         (gst_base_transform_event), (gst_base_transform_getrange),
11311         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11312         (gst_base_transform_set_property),
11313         (gst_base_transform_get_property),
11314         (gst_base_transform_sink_activate),
11315         (gst_base_transform_src_activate),
11316         (gst_base_transform_change_state):
11317         * gst/base/gstbasetransform.h:
11318         * gst/elements/gstidentity.c: (gst_identity_finalize),
11319         (gst_identity_class_init), (gst_identity_init),
11320         (gst_identity_event), (gst_identity_check_perfect),
11321         (gst_identity_transform), (gst_identity_set_property),
11322         (gst_identity_get_property), (gst_identity_change_state):
11323         * gst/elements/gstidentity.h:
11324         * gst/gstelement.c: (gst_element_get_state_func),
11325         (gst_element_lost_state), (gst_element_pads_activate):
11326         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11327         (gst_pad_check_pull_range), (gst_pad_pull_range):
11328         * gst/gstpad.h:
11329         Simplify pad activation.
11330         Added function to check if pull_range can be performed.
11331         Error out when pulling inactive or flushing pads.
11332         Removed const from refcounted types as it does not make sense.
11333         Simplify pad templates in basesink
11334         Added base class for simple 1-to-1 transforms.
11335         Make identity subclass the base transform.
11336
11337 2005-03-29  Andy Wingo  <wingo@pobox.com>
11338
11339         * docs/libs/gstreamer-libs-overrides.txt: 
11340         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11341         really don't understand what's going on, but like whatever. I want
11342         green buildbot!
11343
11344         * docs/gst/Makefile.am:
11345         * docs/libs/Makefile.am: Dist the overrides files.
11346
11347         * check/Makefile.am (clean-local): Remove .libs directories.
11348
11349         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11350         elements to EXTRA_DIST, so po/ files are happy.
11351
11352         * po/POTFILES.in: Er, remove it here.
11353
11354         * po/POTFILES: Remove gstspider.c.
11355
11356         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11357
11358         * docs/libs/gstreamer-libs-docs.sgml: 
11359         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11360         bytestream.
11361
11362         * tests/complexity.c (main): Set the length of the preroll queue
11363         on the sinks to prevent a lockup.
11364
11365         * libs/gst/dataprotocol/Makefile.am: 
11366         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11367         the same as the one in check/gst-libs/gdp.c.
11368
11369         * po/, docs/gst/: Commit automatic changes to docs and po files.
11370
11371         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11372         the versioned libgstbase.
11373
11374         * check/Makefile.am: Depend on an unversioned gst-register, seems
11375         to make autoconf happier.
11376
11377         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11378
11379 2005-03-28  Wim Taymans  <wim@fluendo.com>
11380
11381         * configure.ac:
11382         * docs/design/part-gstelement.txt:
11383         * docs/design/part-negotiation.txt:
11384         * docs/design/part-preroll.txt:
11385         * docs/design/part-scheduling.txt:
11386         * docs/design/part-states.txt:
11387         * gst/Makefile.am:
11388         * gst/base/Makefile.am:
11389         * gst/base/README:
11390         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11391         (gst_basesink_base_init), (gst_basesink_class_init),
11392         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11393         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11394         (gst_basesink_set_pad_functions),
11395         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11396         (gst_basesink_set_property), (gst_basesink_get_property),
11397         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11398         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11399         (gst_basesink_preroll_queue_push),
11400         (gst_basesink_preroll_queue_empty),
11401         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11402         (gst_basesink_event), (gst_basesink_get_times),
11403         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11404         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11405         (gst_basesink_loop), (gst_basesink_activate),
11406         (gst_basesink_change_state):
11407         * gst/base/gstbasesink.h:
11408         * gst/elements/Makefile.am:
11409         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11410         (gst_fakesink_class_init), (gst_fakesink_init),
11411         (gst_fakesink_set_property), (gst_fakesink_get_property),
11412         (gst_fakesink_get_times), (gst_fakesink_event),
11413         (gst_fakesink_preroll), (gst_fakesink_render),
11414         (gst_fakesink_change_state):
11415         * gst/elements/gstfakesink.h:
11416         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11417         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11418         * gst/gstelement.c: (gst_element_add_pad),
11419         (gst_element_get_state_func), (gst_element_abort_state),
11420         (gst_element_commit_state), (gst_element_lost_state),
11421         (gst_element_set_state), (gst_element_pads_activate):
11422         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11423         * gst/gstpipeline.c: (gst_pipeline_send_event),
11424         (gst_pipeline_change_state):
11425         Added state change code.
11426         Added/updated docs.
11427         Added sink base class, make fakesink extend the base class.
11428         Small cleanups in GstPipeline.
11429
11430 2005-03-26  David Schleef  <ds@schleef.org>
11431
11432         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11433         is broken and should be implemented in a different library.
11434         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11435         * gst/gst.h: remove gstcpu.h
11436         * gst/gstcpu.c: remove
11437         * gst/gstcpu.h: remove
11438         * gst/Makefile.am.future: Remove this file.  It's ancient.
11439
11440 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11441
11442         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11443         (gst_bin_send_event):
11444           Add default event/set_manager handlers. The set_manager handler
11445           takes care that the manager is distributed over kids that were
11446           already in the bin before the manager was set. The event handler
11447           is a utility virtual function that sends the event over all sinks,
11448           so that gst_element_send_event (bin, event); has the expected
11449           behaviour.
11450         * gst/gstpad.c: (gst_pad_event_default):
11451           Re-install default event handling for discontinuities, so that
11452           seeking works without requiring hacks in applications or extra
11453           code in sinks.
11454         * gst/gstpipeline.c: (gst_pipeline_class_init),
11455         (gst_pipeline_send_event):
11456           Half hack, half utility: set a pipeline to PAUSED for seek events,
11457           since that is the only way we can guarantee a/v sync. Means that
11458           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11459           and it "just works".
11460
11461 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11462
11463         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11464           Lock/unlock mismatch.
11465
11466 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11467
11468         * docs/faq/gst-uninstalled:
11469           add gst-plugins-base
11470         * docs/gst/Makefile.am:
11471           don't error out until docs are fixed
11472         * docs/gst/gstreamer.types:
11473           remove thread
11474
11475 2005-03-22  Wim Taymans  <wim@fluendo.com>
11476
11477         * check/Makefile.am:
11478         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11479         * gst/gststructure.c: (gst_structure_set_valist),
11480         (gst_structure_copy_conditional):
11481         Activated more tests.
11482         Added message test.
11483         Added G_TYPE_POINTER to GstStructure.
11484         
11485
11486 2005-03-22  Wim Taymans  <wim@fluendo.com>
11487
11488         * docs/design/part-TODO.txt:
11489         * docs/design/part-events.txt:
11490         * docs/design/part-gstbin.txt:
11491         * docs/design/part-gstbus.txt:
11492         * docs/design/part-gstpipeline.txt:
11493         * docs/design/part-messages.txt:
11494         * gst/gstbus.c:
11495         * gst/gstmessage.c:
11496         Docs updates
11497
11498 2005-03-21  Wim Taymans  <wim@fluendo.com>
11499
11500         * gst/gstbus.c: (gst_bus_post):
11501         Fix copy-and-paste error.
11502
11503 2005-03-21  Wim Taymans  <wim@fluendo.com>
11504
11505         * check/Makefile.am:
11506         * gst/Makefile.am:
11507         * gst/elements/Makefile.am:
11508         * gst/elements/gstelements.c:
11509         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11510         (gst_fakesink_event), (gst_fakesink_chain):
11511         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11512         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11513         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11514         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11515         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11516         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11517         (gst_fakesrc_loop), (gst_fakesrc_activate),
11518         (gst_fakesrc_change_state):
11519         * gst/elements/gstfakesrc.h:
11520         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11521         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11522         (gst_filesrc_open_file), (gst_filesrc_loop),
11523         (gst_filesrc_activate), (gst_filesrc_change_state),
11524         (filesrc_find_peek), (filesrc_find_suggest),
11525         (gst_filesrc_type_find):
11526         * gst/elements/gstidentity.c: (gst_identity_finalize),
11527         (gst_identity_class_init), (gst_identity_init),
11528         (gst_identity_proxy_getcaps), (identity_queue_push),
11529         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11530         (gst_identity_getrange), (gst_identity_chain),
11531         (gst_identity_sink_loop), (gst_identity_src_loop),
11532         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11533         (gst_identity_set_property), (gst_identity_get_property),
11534         (gst_identity_change_state):
11535         * gst/elements/gstidentity.h:
11536         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11537         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11538         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11539         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11540         (gst_tee_sink_activate):
11541         * gst/elements/gsttee.h:
11542         * gst/gst.c: (gst_register_core_elements), (init_post):
11543         * gst/gst.h:
11544         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11545         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11546         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11547         (gst_bin_change_state):
11548         * gst/gstbin.h:
11549         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11550         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11551         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11552         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11553         (gst_bus_set_sync_handler), (gst_bus_create_watch),
11554         (bus_watch_callback), (bus_watch_destroy),
11555         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11556         (poll_timeout), (gst_bus_poll):
11557         * gst/gstbus.h:
11558         * gst/gstcaps.h:
11559         * gst/gstdata.h:
11560         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11561         (gst_element_post_message), (gst_element_message_full),
11562         (gst_element_get_state_func), (gst_element_get_state),
11563         (gst_element_abort_state), (gst_element_commit_state),
11564         (gst_element_lost_state), (gst_element_set_state),
11565         (gst_element_pads_activate), (gst_element_change_state),
11566         (gst_element_dispose), (gst_element_set_manager_func),
11567         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11568         (gst_element_set_manager), (gst_element_get_manager),
11569         (gst_element_set_bus), (gst_element_get_bus),
11570         (gst_element_set_scheduler), (gst_element_get_scheduler):
11571         * gst/gstelement.h:
11572         * gst/gstevent.c: (gst_event_new_segment_seek),
11573         (gst_event_new_flush):
11574         * gst/gstevent.h:
11575         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11576         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11577         (gst_message_new_eos), (gst_message_new_error),
11578         (gst_message_new_warning), (gst_message_new_tag),
11579         (gst_message_new_state_changed), (gst_message_new_application),
11580         (gst_message_get_structure), (gst_message_parse_tag),
11581         (gst_message_parse_state_changed), (gst_message_parse_error),
11582         (gst_message_parse_warning):
11583         * gst/gstmessage.h:
11584         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11585         (gst_real_pad_set_property), (gst_pad_set_active),
11586         (gst_pad_is_active), (gst_pad_set_blocked_async),
11587         (gst_pad_set_blocked), (gst_pad_is_blocked),
11588         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11589         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11590         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11591         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11592         (gst_pad_link_filtered), (gst_pad_relink_filtered),
11593         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11594         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11595         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11596         (gst_pad_set_caps), (gst_pad_configure_sink),
11597         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11598         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11599         (gst_real_pad_dispose), (gst_real_pad_finalize),
11600         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11601         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11602         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11603         * gst/gstpad.h:
11604         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11605         (pipeline_bus_handler), (gst_pipeline_change_state),
11606         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11607         * gst/gstpipeline.h:
11608         * gst/gstprobe.h:
11609         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11610         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11611         (gst_queue_link_src), (gst_queue_bufferalloc),
11612         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11613         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11614         (gst_queue_loop), (gst_queue_handle_src_event),
11615         (gst_queue_handle_src_query), (gst_queue_src_activate),
11616         (gst_queue_change_state):
11617         * gst/gstqueue.h:
11618         * gst/gstscheduler.c: (gst_scheduler_init),
11619         (gst_scheduler_dispose), (gst_scheduler_create_task),
11620         (gst_scheduler_factory_create):
11621         * gst/gstscheduler.h:
11622         * gst/gststructure.c: (gst_structure_get_type),
11623         (gst_structure_copy_conditional):
11624         * gst/gststructure.h:
11625         * gst/gsttaginterface.h:
11626         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11627         (gst_task_init), (gst_task_dispose), (gst_task_create),
11628         (gst_task_get_state), (gst_task_start), (gst_task_stop),
11629         (gst_task_pause):
11630         * gst/gsttask.h:
11631         * gst/gstthread.c:
11632         * gst/gstthread.h:
11633         * gst/gsttypes.h:
11634         * gst/schedulers/Makefile.am:
11635         * gst/schedulers/cothreads_compat.h:
11636         * gst/schedulers/entryscheduler.c:
11637         * gst/schedulers/faircothreads.c:
11638         * gst/schedulers/faircothreads.h:
11639         * gst/schedulers/fairscheduler.c:
11640         * gst/schedulers/gstbasicscheduler.c:
11641         * gst/schedulers/gstoptimalscheduler.c:
11642         * gst/schedulers/gthread-cothreads.h:
11643         * gst/schedulers/threadscheduler.c:
11644         (gst_thread_scheduler_task_get_type),
11645         (gst_thread_scheduler_task_class_init),
11646         (gst_thread_scheduler_task_init),
11647         (gst_thread_scheduler_task_start),
11648         (gst_thread_scheduler_task_stop),
11649         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11650         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11651         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11652         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11653         (plugin_init):
11654         * libs/gst/Makefile.am:
11655         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11656         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11657         (gst_file_pad_parent_set):
11658         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11659         (gst_dp_event_from_packet):
11660         * tests/complexity.c: (main):
11661         * tests/mass_elements.c: (main):
11662         * testsuite/states/locked.c: (message_received), (main):
11663         * testsuite/states/parent.c: (main):
11664         * tools/gst-inspect.c: (print_element_flag_info),
11665         (print_implementation_info), (print_pad_info):
11666         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11667         (main):
11668         * tools/gst-md5sum.c: (event_loop), (main):
11669         * tools/gst-typefind.c: (main):
11670         * tools/gst-xmlinspect.c: (print_element_info):
11671         Next big merge.
11672         Added GstBus for mainloop integration.
11673         Added GstMessage for sending notifications on the bus.
11674         Added GstTask as an abstraction for pipeline entry points.
11675         Removed GstThread.
11676         Removed Schedulers.
11677         Simplified GstQueue for multithreaded core.
11678         Made _link threadsafe, removed old capsnego.
11679         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11680         Added pad blocking functions.
11681         Reworked scheduling functions in GstPad to prepare for
11682         scheduling updates soon.
11683         Moved events out of data stream.
11684         Simplified GstEvent types.
11685         Added return values to push/pull.
11686         Removed clocking from GstElement.
11687         Added prototypes for state change function for next merge.
11688         Removed iterate from bins and state change management.
11689         Fixed some elements, disabled others for now.
11690         Fixed -inspect and -launch.
11691         Added check for GstBus.
11692
11693 2005-03-10  Wim Taymans  <wim@fluendo.com>
11694
11695         * docs/design/part-MT-refcounting.txt:
11696         * docs/design/part-clocks.txt:
11697         * docs/design/part-gstelement.txt:
11698         * docs/design/part-gstobject.txt:
11699         * docs/design/part-standards.txt:
11700         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11701         (gst_bin_remove_func), (gst_bin_remove):
11702         * gst/gstbin.h:
11703         * gst/gstbuffer.c:
11704         * gst/gstcaps.h:
11705         * testsuite/clock/clock1.c: (main):
11706         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11707         (main):
11708         * testsuite/dlopen/loadgst.c: (do_test):
11709         * testsuite/refcounting/bin.c: (add_remove_test1),
11710         (add_remove_test2), (main):
11711         * testsuite/refcounting/element.c: (main):
11712         * testsuite/refcounting/element_pad.c: (main):
11713         * testsuite/refcounting/pad.c: (main):
11714         * tools/gst-launch.c: (sigint_handler_sighandler):
11715         * tools/gst-typefind.c: (main):
11716         Doc updates.
11717         Added doc about clock.
11718         removed gst_bin_iterate_recurse_up(), marked methods
11719         for removal.
11720         Fix more testsuites.
11721
11722 2005-03-09  Wim Taymans  <wim@fluendo.com>
11723
11724         * gst/gstpad.c: (gst_pad_get_direction),
11725         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11726         (gst_pad_collect_valist):
11727         * testsuite/bins/interface.c: (main):
11728         * testsuite/caps/audioscale.c: (test_caps):
11729         * testsuite/caps/caps.c: (test1), (test2), (test3):
11730         * testsuite/caps/deserialize.c: (main):
11731         * testsuite/caps/enumcaps.c: (main):
11732         * testsuite/caps/filtercaps.c: (main):
11733         * testsuite/caps/intersect2.c: (main):
11734         * testsuite/caps/random.c: (main):
11735         * testsuite/caps/renegotiate.c: (my_fixate), (main):
11736         * testsuite/caps/sets.c: (check_caps):
11737         * testsuite/caps/simplify.c: (check_caps), (main):
11738         * testsuite/caps/subtract.c: (check_caps):
11739         Fix _pad_get_direction wrt ghostpads.
11740         Fix caps testsuite.
11741
11742 2005-03-09  Wim Taymans  <wim@fluendo.com>
11743
11744         * check/Makefile.am:
11745         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11746         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11747         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11748         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11749         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11750         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11751         (gst_bin_remove), (gst_bin_iterate_recurse_up),
11752         (bin_element_is_sink), (gst_bin_iterate_sinks),
11753         (gst_bin_iterate_all_by_interface):
11754         * gst/gstbin.h:
11755         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11756         (gst_element_change_state), (gst_element_dispose),
11757         (gst_element_finalize), (gst_element_set_loop_function):
11758         * gst/gstelement.h:
11759         * gst/gstiterator.c: (find_custom_fold_func):
11760         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11761         (gst_pad_collectv), (gst_pad_collect_valist),
11762         (gst_pad_template_new):
11763         * gst/gstpipeline.c: (gst_pipeline_class_init),
11764         (gst_pipeline_dispose), (gst_pipeline_set_property),
11765         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11766         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11767         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11768         * gst/gstutils.h:
11769         * gst/schedulers/entryscheduler.c:
11770         * gst/schedulers/gstbasicscheduler.c:
11771         (gst_basic_scheduler_cothreaded_chain),
11772         (gst_basic_scheduler_chain_add_element):
11773         * testsuite/bins/interface.c: (main):
11774         Added GstBin test.
11775         Added GstSystemClock test.
11776         Implemented clock distribution code in GstBin.
11777         Implemented iterate sinks method for future use.
11778         Rearranged gstelement.h
11779         Fix GstIterator comparison bug.
11780         Moved some code to GstPipeline, mostly clocking related.
11781
11782 2005-03-09  Wim Taymans  <wim@fluendo.com>
11783
11784         * configure.ac:
11785         * gst/gst_private.h:
11786         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11787         (gst_bin_remove_func), (gst_bin_remove),
11788         (gst_bin_get_by_name_recurse_up):
11789         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11790         (gst_clock_id_compare_func), (gst_clock_id_wait),
11791         (gst_clock_id_wait_async), (gst_clock_init),
11792         (gst_clock_adjust_unlocked), (gst_clock_get_time):
11793         * gst/gstelement.h:
11794         * gst/gstinfo.c: (_gst_debug_init):
11795         * gst/gstobject.h:
11796         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11797         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11798         * gst/gstpad.h:
11799         Bump version number, we're now 0.9.0
11800         Add future debugging category.
11801         Fix NULL _unref() in _get_by_name_recurse_up
11802         Rearrange gstpad.h.
11803         Update some docs.
11804
11805 2005-03-08  Wim Taymans  <wim@fluendo.com>
11806
11807         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11808         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11809         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11810         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11811         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11812         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11813         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11814         * gst/elements/gstidentity.c: (gst_identity_class_init):
11815         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11816         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11817         * gst/elements/gstshaper.c: (gst_shaper_class_init):
11818         * gst/elements/gststatistics.c: (gst_statistics_class_init):
11819         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11820         (gst_tee_link):
11821         * gst/gstelement.c: (gst_element_class_init),
11822         (gst_element_base_class_init), (gst_element_init),
11823         (gst_element_get_random_pad), (gst_element_wait_state_change),
11824         (gst_element_change_state), (gst_element_dispose),
11825         (gst_element_finalize), (gst_element_set_loop_function):
11826         * gst/gstelement.h:
11827         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11828         * gst/gstthread.c: (gst_thread_class_init),
11829         (gst_thread_release_children_locks), (gst_thread_change_state):
11830         * gst/schedulers/gstbasicscheduler.c:
11831         (gst_basic_scheduler_loopfunc_wrapper),
11832         (gst_basic_scheduler_chain_wrapper),
11833         (gst_basic_scheduler_src_wrapper),
11834         (gst_basic_scheduler_remove_element):
11835         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11836         Remove threadsafe properties. Fix elements because GObject
11837         complains when installing a property before declaring a
11838         set/get_property handler.
11839         Rearrange gstelement.h file, use STATE macros for state locks.
11840         Free mutexes in the finalize method instead of dispose.
11841
11842 2005-03-08  Wim Taymans  <wim@fluendo.com>
11843
11844         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11845         * gst/gstthread.c: (gst_thread_release_children_locks):
11846         Added parentage check.
11847         Fix build og GstThread again.
11848
11849 2005-03-08  Wim Taymans  <wim@fluendo.com>
11850
11851         * docs/design/part-MT-refcounting.txt:
11852         * docs/design/part-conventions.txt:
11853         * docs/design/part-gstobject.txt:
11854         * docs/design/part-relations.txt:
11855         * docs/design/part-standards.txt:
11856         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11857         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11858         (gst_bin_get_by_name), (gst_bin_get_by_interface),
11859         (gst_bin_iterate_all_by_interface):
11860         * gst/gstbuffer.h:
11861         * gst/gstclock.h:
11862         * gst/gstelement.c: (gst_element_class_init),
11863         (gst_element_change_state), (gst_element_set_loop_function):
11864         * gst/gstelement.h:
11865         * gst/gstiterator.c:
11866         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11867         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11868         (gst_object_dispatch_properties_changed), (gst_object_set_name),
11869         (gst_object_set_parent), (gst_object_unparent),
11870         (gst_object_check_uniqueness):
11871         * gst/gstobject.h:
11872         Docs updates, clean up some headers.
11873
11874 2005-03-07  Wim Taymans  <wim@fluendo.com>
11875
11876         * check/.cvsignore:
11877         * check/Makefile.am:
11878         * check/gst-libs/.cvsignore:
11879         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11880         * check/gst/.cvsignore:
11881         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11882         (START_TEST), (gstbus_suite), (main):
11883         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11884         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11885         (gst_data_suite), (main):
11886         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11887         (add_fold_func), (gstiterator_suite), (main):
11888         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11889         (thread_name_object), (thread_name_object_default),
11890         (gst_object_name_compare), (gst_object_suite), (main):
11891         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11892         (gst_pad_suite), (main):
11893         * check/gstcheck.c: (gst_check_log_message_func),
11894         (gst_check_log_critical_func), (gst_check_init):
11895         * check/gstcheck.h:
11896         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11897         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11898         Added checks.
11899
11900 2005-03-07  Wim Taymans  <wim@fluendo.com>
11901
11902         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11903         (gst_list_iterator_next), (gst_list_iterator_resync),
11904         (gst_list_iterator_free), (gst_iterator_new_list),
11905         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11906         (gst_iterator_free), (gst_iterator_push), (filter_next),
11907         (filter_resync), (filter_uninit), (filter_free),
11908         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11909         (gst_iterator_foreach), (find_custom_fold_func),
11910         (gst_iterator_find_custom):
11911         * gst/gstiterator.h:
11912         Added missing files.
11913
11914 2005-03-07  Wim Taymans  <wim@fluendo.com>
11915
11916         * Makefile.am:
11917         * configure.ac:
11918         * docs/design/part-MT-refcounting.txt:
11919         * docs/design/part-conventions.txt:
11920         * docs/design/part-gstobject.txt:
11921         * docs/design/part-relations.txt:
11922         * examples/mixer/mixer.c: (main):
11923         * examples/thread/thread.c: (eos), (main):
11924         * gst/Makefile.am:
11925         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11926         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11927         (gst_spider_plug_from_srcpad):
11928         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11929         (gst_spider_identity_change_state),
11930         (gst_spider_identity_sink_loop_type_finding):
11931         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11932         * gst/elements/gstidentity.c: (gst_identity_init):
11933         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11934         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11935         * gst/elements/gsttypefindelement.c: (free_entry):
11936         * gst/gst.c:
11937         * gst/gst.h:
11938         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11939         (gst_bin_set_clock_func), (gst_bin_auto_clock),
11940         (gst_bin_set_index), (gst_bin_set_element_sched),
11941         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11942         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11943         (gst_bin_iterate_elements), (iterate_child_recurse),
11944         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11945         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11946         (compare_interface), (gst_bin_get_by_interface),
11947         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11948         * gst/gstbin.h:
11949         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11950         (gst_buffer_default_free), (gst_buffer_default_copy),
11951         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11952         (gst_buffer_create_sub):
11953         * gst/gstbuffer.h:
11954         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11955         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11956         (gst_caps_unref), (gst_static_caps_get),
11957         (gst_caps_remove_and_get_structure), (gst_caps_append),
11958         (gst_caps_append_structure), (gst_caps_remove_structure),
11959         (gst_caps_copy_nth), (gst_caps_set_simple),
11960         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11961         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11962         (gst_caps_structure_intersect_field), (gst_caps_intersect),
11963         (gst_caps_structure_subtract_field), (gst_caps_subtract),
11964         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11965         (gst_caps_structure_figure_out_union),
11966         (gst_caps_switch_structures), (gst_caps_do_simplify),
11967         (gst_caps_replace), (gst_caps_from_string),
11968         (gst_caps_copy_conditional):
11969         * gst/gstcaps.h:
11970         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11971         (_gst_clock_id_free), (gst_clock_id_unref),
11972         (gst_clock_id_compare_func), (gst_clock_id_wait),
11973         (gst_clock_id_wait_async), (gst_clock_class_init),
11974         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11975         (gst_clock_get_time), (gst_clock_set_time_adjust),
11976         (gst_clock_set_property), (gst_clock_get_property):
11977         * gst/gstclock.h:
11978         * gst/gstcompat.h:
11979         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11980         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11981         * gst/gstdata.h:
11982         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11983         (gst_element_requires_clock), (gst_element_provides_clock),
11984         (gst_element_set_clock), (gst_element_clock_wait),
11985         (gst_element_wait), (gst_element_set_time_delay),
11986         (gst_element_is_indexable), (gst_element_add_pad),
11987         (gst_element_add_ghost_pad), (gst_element_remove_pad),
11988         (pad_compare_name), (gst_element_get_static_pad),
11989         (gst_element_request_pad), (gst_element_get_request_pad),
11990         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11991         (gst_element_class_get_pad_template_list),
11992         (gst_element_class_get_pad_template), (gst_element_error_func),
11993         (gst_element_get_random_pad), (gst_element_get_event_masks),
11994         (gst_element_send_event), (gst_element_seek),
11995         (gst_element_get_query_types), (gst_element_query),
11996         (gst_element_get_formats), (gst_element_convert),
11997         (gst_element_is_locked_state), (gst_element_set_locked_state),
11998         (gst_element_sync_state_with_parent), (gst_element_change_state),
11999         (gst_element_finalize), (gst_element_yield),
12000         (gst_element_interrupt), (gst_element_set_scheduler),
12001         (gst_element_get_scheduler), (gst_element_set_loop_function):
12002         * gst/gstelement.h:
12003         * gst/gstevent.h:
12004         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12005         (gst_format_get_by_nick), (gst_format_get_details),
12006         (gst_format_iterate_definitions):
12007         * gst/gstformat.h:
12008         * gst/gstindex.c: (gst_index_gtype_resolver):
12009         * gst/gstinfo.c:
12010         * gst/gstinfo.h:
12011         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12012         (gst_mem_chunk_free):
12013         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12014         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12015         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12016         (gst_object_dispatch_properties_changed),
12017         (gst_object_set_name_default), (gst_object_set_name),
12018         (gst_object_get_name), (gst_object_set_name_prefix),
12019         (gst_object_get_name_prefix), (gst_object_set_parent),
12020         (gst_object_get_parent), (gst_object_unparent),
12021         (gst_object_check_uniqueness), (gst_object_save_thyself),
12022         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12023         (gst_object_set_property), (gst_object_get_property),
12024         (gst_object_get_path_string):
12025         * gst/gstobject.h:
12026         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12027         (gst_real_pad_init), (gst_real_pad_get_property),
12028         (gst_pad_custom_new), (gst_pad_get_direction),
12029         (gst_pad_set_active), (gst_pad_is_active),
12030         (gst_pad_set_event_function), (gst_pad_is_linked),
12031         (gst_pad_link_free), (gst_pad_link_intersect),
12032         (gst_pad_link_fixate), (gst_pad_set_caps),
12033         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12034         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12035         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12036         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12037         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12038         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12039         (gst_pad_realize), (gst_pad_get_allowed_caps),
12040         (gst_real_pad_dispose), (gst_real_pad_finalize),
12041         (gst_pad_collectv), (gst_pad_collect_valist),
12042         (gst_pad_template_dispose), (gst_pad_template_new),
12043         (gst_pad_get_internal_links):
12044         * gst/gstpad.h:
12045         * gst/gstpipeline.c: (gst_pipeline_dispose),
12046         (gst_pipeline_change_state):
12047         * gst/gstpipeline.h:
12048         * gst/gstplugin.c:
12049         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12050         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12051         * gst/gstpluginfeature.h:
12052         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12053         * gst/gstquery.c: (_gst_query_type_initialize),
12054         (gst_query_type_register), (gst_query_type_get_by_nick),
12055         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12056         * gst/gstquery.h:
12057         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12058         * gst/gstscheduler.c: (gst_scheduler_add_element),
12059         (gst_scheduler_factory_create):
12060         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12061         (gst_structure_free), (gst_structure_set_name),
12062         (gst_structure_id_set_value), (gst_structure_set_value),
12063         (gst_structure_set_valist), (gst_structure_remove_field),
12064         (gst_structure_remove_fields),
12065         (gst_structure_remove_fields_valist),
12066         (gst_structure_remove_all_fields), (gst_structure_foreach),
12067         (gst_structure_map_in_place),
12068         (gst_caps_structure_fixate_field_nearest_int),
12069         (gst_caps_structure_fixate_field_nearest_double):
12070         * gst/gststructure.h:
12071         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12072         (gst_system_clock_init), (gst_system_clock_dispose),
12073         (gst_system_clock_async_thread),
12074         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12075         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12076         * gst/gstsystemclock.h:
12077         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12078         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12079         * gst/gsttaginterface.c:
12080         * gst/gstthread.c: (gst_thread_dispose),
12081         (gst_thread_release_children_locks), (gst_thread_change_state),
12082         (gst_thread_main_loop):
12083         * gst/gsttrashstack.h:
12084         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12085         * gst/gsttypes.h:
12086         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12087         (gst_element_request_pad), (gst_element_get_pad_from_template),
12088         (gst_element_request_compatible_pad),
12089         (gst_element_get_compatible_pad_filtered),
12090         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12091         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12092         (gst_element_link_many), (gst_element_link),
12093         (gst_element_link_pads), (gst_element_unlink_pads),
12094         (gst_element_unlink_many), (gst_element_unlink),
12095         (gst_pad_can_link_filtered), (gst_pad_can_link),
12096         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12097         (gst_object_default_error), (gst_bin_add_many),
12098         (gst_bin_remove_many), (gst_element_populate_std_props),
12099         (gst_element_class_install_std_props), (gst_buffer_merge),
12100         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12101         (link_fold_func), (gst_pad_proxy_setcaps):
12102         * gst/gstutils.h:
12103         * gst/gstvalue.c: (gst_value_deserialize_string):
12104         * gst/parse/grammar.y:
12105         * gst/schedulers/gstbasicscheduler.c:
12106         (gst_basic_scheduler_cothreaded_chain),
12107         (gst_basic_scheduler_chain_recursive_add),
12108         (gst_basic_scheduler_pad_link):
12109         * gst/schedulers/gstoptimalscheduler.c:
12110         (get_group_schedule_function),
12111         (gst_opt_scheduler_state_transition),
12112         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12113         * libs/gst/bytestream/bytestream.c:
12114         * libs/gst/dataprotocol/dataprotocol.c:
12115         (gst_dp_header_from_buffer):
12116         * po/nb.po:
12117         * po/ru.po:
12118         * tests/threadstate/threadstate2.c: (eos):
12119         * tools/gst-compprep.c: (main):
12120         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12121         (print_pad_info), (print_children_info):
12122         * tools/gst-launch.c: (idle_func), (main):
12123         * tools/gst-md5sum.c: (idle_func), (main):
12124         * tools/gst-xmlinspect.c: (print_element_info):
12125         First THREADED backport attempt, focusing on adding locks and
12126         making sure the API is threadsafe. Needs more work. More docs
12127         follow this week.
12128
12129 2005-02-24  Andy Wingo  <wingo@pobox.com>
12130
12131         * tests/bench-complexity.scm:
12132         * tests/complexity.gnuplot: New files, good for running complexity
12133         benchmarks.
12134
12135         * tests/Makefile.am:
12136         * tests/complexity.c: New test, sets up N elements, at each level
12137         teeing into M streams per element. Eeeenteresting.
12138
12139         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12140         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12141         running bench-mass_elements.scm.
12142
12143         * tests/bench-mass_elements.scm: New script, runs mass_elements
12144         for various numbers of identities, outputting the results to a
12145         file. Requires guile 1.6. Just for testing.
12146
12147 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12148
12149         * gst/schedulers/fairscheduler.c:
12150           compile with debug disabled
12151
12152 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12153
12154         * configure.ac:
12155           hunting season on 0.9 is now OPEN