gst/gstregistryxml.c: Don't crash if we failed to load a feature from a plugin.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-29  Michael Smith  <msmith@fluendo.com>
2
3         * gst/gstregistryxml.c: (load_plugin):
4           Don't crash if we failed to load a feature from a plugin. 
5
6 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7
8         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9         (GST_START_TEST):
10           use more check API and less GLib API
11
12 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13
14         * Makefile.am:
15           don't run checks if we don't have check
16         * common/check.mak:
17           remove the registry when running make torture
18         * docs/gst/gstreamer-sections.txt:
19           remove second multiply
20         * gst/gstqueue.c: (gst_queue_loop):
21           fix a compile warning when disabling debug
22
23 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
24
25         * gst/gstinfo.h:
26         Hey! Let's print the pad name if the pointer != NULL instead
27         of when it == NULL :-)
28
29 2005-11-28  Wim Taymans  <wim@fluendo.com>
30
31         * check/gst/gstutils.c: (GST_START_TEST):
32         Updated check, add some scaling accuracy checking code.
33
34         * gst/gstutils.c: (gst_util_div128_64),
35         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
36         (gst_util_uint64_scale_int):
37         Fix 6 times faster division code. Optimize for common 
38         1/1 and less common X/1 cases.
39
40 2005-11-28  Wim Taymans  <wim@fluendo.com>
41
42         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
43         More checks.
44
45         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
46         (do_linear_regression), (gst_clock_add_observation):
47         Cleanups.
48         Release lock when the clock cannot be slaved.
49         Catch the case where the regression returned an invalid denominator.
50
51         * gst/gstutils.c: (gst_util_div128_64_iterate),
52         (gst_util_div128_64), (gst_util_uint64_scale_int64),
53         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
54         Add protentially more performant non-iterative 128/64 divide function
55         that unfortunatly does not work yet.
56         Shortcut the trivial 0/X = 0 case.
57         Remove the warnings on overflow.
58
59 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
60
61         * gst/gstplugin.c: (gst_plugin_register_func):
62           everything causing a plugin not to load should be at least a WARNING
63
64 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
65
66         * docs/random/ensonic/dparams.txt:
67           some TODOs for the next dev cycle
68         * libs/gst/controller/gstcontroller.c:
69         (gst_controlled_property_set_interpolation_mode),
70         (gst_controlled_property_new):
71         * libs/gst/controller/gstcontroller.h:
72           use base type to assign acccessor functions
73
74 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
75
76         * check/Makefile.am:
77         Oops, that should have been top_srcdir
78
79 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
80
81         * check/Makefile.am:
82         * check/elements/fdsrc.c: (GST_START_TEST):
83         Use a cmdline define to specify the location of a file to use for
84         testing, to avoid breaking distcheck.
85
86 2005-11-28  Andy Wingo  <wingo@pobox.com>
87
88         * gst/gstpad.c (fixate_value): Use array functions for arrays.
89
90 2005-11-28  Edward Hervey  <edward@fluendo.com>
91
92         * tools/gst-launch.c: (main):
93         Clarify the output strings, makes it easier to translate.
94         Fixes #322626
95
96 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
97
98         * gst/Makefile.am:
99           don't try and build net if we don't even have <sys/socket.h>
100
101 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
102
103         * check/Makefile.am:
104         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
105         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
106           Add tests for fdsrc seekability
107
108         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
109         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
110         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
111         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
112         * gst/elements/gstfdsrc.h:
113           fdsrc should not be a 'live' source.
114           Implement seeking on seekable fd's.
115
116         * gst/gstquery.c: (gst_query_new_seeking),
117         (gst_query_parse_seeking):
118         * gst/gstquery.h:
119           Implement SEEKING query functions: 
120             *_new_seeking and *_parse_seeking
121
122 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
123
124         * gst/gstelement.c: (gst_element_dispose):
125           don't loop forever
126
127         * gst/gstiterator.c:
128         * gst/gststructure.c:
129           doc fixes
130
131         * libs/gst/controller/gstcontroller.c:
132         (gst_controlled_property_set_interpolation_mode):
133         * libs/gst/controller/gstcontroller.h:
134         * libs/gst/controller/gstinterpolation.c:
135         (interpolate_none_get_enum_value_array):
136           support controlling enums
137
138 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
139
140         * gst/gstvalue.c:
141           Improve documentation for gst_value_union().
142
143         * gst/gstvalue.h:
144           Change return value for union, intersect and subtract functions
145           from gint to gboolean.
146
147 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
148
149         * gst/gstvalue.c: (gst_value_serialize_any_list),
150         (gst_value_transform_any_list_string),
151         (gst_value_deserialize_list), (gst_value_deserialize_array),
152         (gst_value_set_int_range), (gst_value_deserialize_int_range),
153         (gst_value_set_double_range), (gst_value_deserialize_double_range),
154         (gst_value_set_fraction_range_full),
155         (gst_value_deserialize_fraction_range),
156         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
157         (gst_value_deserialize_boolean),
158         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
159         (gst_value_serialize_float), (gst_value_deserialize_float),
160         (gst_string_wrap), (gst_value_deserialize_string),
161         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
162         (gst_value_union_int_range_int_range),
163         (gst_value_intersect_int_range_int_range),
164         (gst_value_intersect_double_range_double_range),
165         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
166         (gst_value_subtract_int_range_int_range),
167         (gst_value_subtract_double_double_range),
168         (gst_value_subtract_double_range_double_range),
169         (gst_value_deserialize_fraction):
170         * gst/gstvalue.h:
171           Use gint, gdouble and gchar in our API instead of int, double and
172           char (and make usage in gstvalue.c more consistent).
173
174 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
175
176         * check/Makefile.am:
177         * libs/gst/controller/Makefile.am:
178         * libs/gst/dataprotocol/Makefile.am:
179           fix up Makefile.am and remove GST_ENABLE_NEW
180
181 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
182
183         * configure.ac:
184         * gst/Makefile.am:
185         * gst/base/Makefile.am:
186         * gst/check/Makefile.am:
187         * gst/elements/Makefile.am:
188         * gst/net/Makefile.am:
189           update LDFLAGS use some more
190
191 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
192
193         * common/m4/gst-doc.m4:
194           Fixes #312589
195
196 2005-11-26  Edward Hervey  <edward@fluendo.com>
197
198         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
199         This shouldn't issue a g_warning since it returns NULL if it
200         couldn't find the plugin, and all functions using this behave
201         properly on a NULL return. Switching to a GST_WARNING.
202
203 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
204
205         * gst/gstbin.c: (gst_bin_handle_message_func):
206         Don't leak clock messages.
207
208 2005-11-25  Wim Taymans  <wim@fluendo.com>
209
210         * gst/gstutils.c: (gst_util_uint64_scale_int64),
211         (gst_util_uint64_scale_int):
212         Optimisations, remove unneeded vars.
213
214 2005-11-25  Wim Taymans  <wim@fluendo.com>
215
216         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
217         Added more checks for the high precision uint64 cases.
218
219         * gst/gstutils.c: (gst_util_uint64_scale_int64),
220         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
221         Implement high precission (guint64 * guint64) / guint64.
222
223 2005-11-24  Wim Taymans  <wim@fluendo.com>
224
225         * gst/base/gstbasesrc.c: (gst_base_src_query):
226         Fix wrong percentage query.
227
228         * gst/gstutils.c: (gst_util_uint64_scale),
229         (gst_util_uint64_scale_int):
230         Add some more common cases that can be handled 
231         efficiently to _scale.
232
233 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
234
235         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
236         (gst_mini_object_suite):
237           don't use check calls from threads; check probably isn't
238           threadsafe and using a lock to make it threadsafe would
239           defeat the purpose of this check
240         * gst/check/gstcheck.c:
241         * gst/check/gstcheck.h:
242           use GST_DEBUG some more
243
244 2005-11-24  Wim Taymans  <wim@fluendo.com>
245
246         * gst/gstutils.c: (gst_util_uint64_scale),
247         (gst_util_uint64_scale_int):
248         Chain trivial case to _scale_int.
249
250 2005-11-24  Wim Taymans  <wim@fluendo.com>
251
252         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
253         Added test for scaling.
254
255         * gst/gstclock.h:
256         Small doc fix.
257
258         * gst/gstutils.c: (gst_util_uint64_scale_int):
259         Implemented high precision scaling code.
260
261 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
262
263         * gst/gstinfo.h:
264           do not crash on pad==NULL
265
266 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
267
268         Patch by: Stefan Kost
269
270         * common/gtk-doc.mak:
271         * docs/gst/Makefile.am:
272         * docs/libs/Makefile.am:
273           Fix distcheck issues for the libraries docs build
274           Closes #319599.
275
276 2005-11-24  Michael Smith <msmith@fluendo.com>
277
278         * docs/manual/basics-helloworld.xml:
279           Fix bug #315027: memory leak in example code in docs.
280
281 2005-11-24  Michael Smith <msmith@fluendo.com>
282
283         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
284           Unlock the PREROLL_LOCK in a failure case.
285
286 2005-11-24  Wim Taymans  <wim@fluendo.com>
287
288         * docs/gst/gstreamer-sections.txt:
289         * gst/base/gstadapter.h:
290         * gst/base/gstbasesink.h:
291         * gst/base/gstbasesrc.h:
292         * gst/base/gstbasetransform.h:
293         * gst/base/gstpushsrc.h:
294         * gst/elements/gstfakesink.h:
295         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
296         * gst/elements/gstfakesrc.h:
297         * gst/elements/gstfilesink.h:
298         * gst/elements/gstfilesrc.h:
299         * gst/gst.c:
300         * gst/gstbin.c:
301         * gst/gstbuffer.c: (_gst_buffer_copy):
302         * gst/gstbus.h:
303         * gst/gstcaps.c:
304         * gst/gstchildproxy.c:
305         * gst/gstclock.c:
306         * gst/gstelement.c:
307         * gst/gstelementfactory.c:
308         * gst/gstelementfactory.h:
309         * gst/gstevent.c:
310         * gst/gstghostpad.h:
311         * gst/gstindex.h:
312         * gst/gstinterface.h:
313         * gst/gstminiobject.c:
314         * gst/gstminiobject.h:
315         * gst/gstpad.c:
316         * gst/gstpad.h:
317         * gst/gstpadtemplate.h:
318         * gst/gstpipeline.h:
319         * gst/gstpluginfeature.h:
320         * gst/gstquery.h:
321         * gst/gstqueue.h:
322         * gst/gsttaglist.c:
323         * gst/gsttaglist.h:
324         * gst/gsttagsetter.c:
325         * gst/gsttagsetter.h:
326         * gst/gsttrace.c:
327         * gst/gsttrace.h:
328         * gst/gsttypefind.h:
329         * gst/gsturi.h:
330         * gst/gstvalue.c:
331         * gst/net/gstnetclientclock.c:
332         * gst/net/gstnetclientclock.h:
333         * gst/net/gstnettimepacket.c:
334         * gst/net/gstnettimeprovider.c:
335         * gst/net/gstnettimeprovider.h:
336         Doc fixes.
337
338 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
339
340         * configure.ac: back to HEAD
341
342 === release 0.9.6 ===
343
344 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
345
346         * configure.ac:
347           releasing 0.9.6, "Always On Time"
348
349 2005-11-23  Wim Taymans  <wim@fluendo.com>
350
351         * docs/gst/gstreamer-sections.txt:
352         * gst/glib-compat.c:
353         * gst/gsttagsetter.c:
354         * gst/gstvalue.c:
355         * gst/net/gstnetclientclock.c:
356         * gst/net/gstnettimepacket.h:
357         Doc updates.
358
359 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
360
361         * docs/faq/using.xml:
362         * docs/libs/tmpl/gstcontrol.sgml:
363         * docs/manual/advanced-dparams.xml:
364         * docs/manual/appendix-checklist.xml:
365         * docs/manual/basics-elements.xml:
366         * docs/pwg/other-source.xml:
367         * docs/random/moving-plugins:
368         * gst/gstpad.c:
369         * tools/gst-launch.1.in:
370           remove mentions of sinesrc
371
372 2005-11-23  Michael Smith <msmith@fluendo.com>
373
374         * docs/gst/gstreamer-sections.txt:
375           Update for new API and API changes.
376         * gst/gstobject.h:
377           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
378         * gst/gstvalue.c:
379           Documentation typo fix.
380         * gst/net/gstnettimepacket.c:
381           Documentation fixes for arguments.
382
383 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
384
385         * gst/gststructure.c: (gst_structure_get_fraction),
386         (gst_structure_parse_value),
387         (gst_structure_fixate_field_nearest_fraction):
388         * gst/gststructure.h:
389         * gst/gstutils.c: (gst_util_uint64_scale_int):
390         * gst/gstutils.h:
391         * scripts/update-funcnames:
392         API Changes. 
393         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
394         Make gst_structure_fixate_field_nearest_fraction take a numerator
395         and denominator argument instead of a GValue
396         add gst_structure_get_fraction helper function.
397
398 2005-11-23  Wim Taymans  <wim@fluendo.com>
399
400         * docs/design/part-TODO.txt:
401         Update TODO.
402
403         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
404         * gst/net/gstnetclientclock.h:
405         Use parent fields for timeout and window_size.
406
407 2005-11-23  Andy Wingo  <wingo@pobox.com>
408
409         * check/net/gstnetclientclock.c (test_functioning): Adjust to
410         rate_num/rate_denom change.
411
412         * gst/net/gstnetclientclock.c
413         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
414         OBJECT_LOCK. Don't call add_observation with the lock.
415
416         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
417         fraction.
418         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
419         rate fraction.
420         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
421         deal with rate as a fraction whose numerator and denominator are
422         GstClockTime values.
423         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
424         master; the other fields are protected by the SLAVE_LOCK.
425         (do_linear_regression): Note that this must be called with the
426         SLAVE_LOCK.
427         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
428         OBJECT_LOCK. Call set_calibration instead of touching the
429         variables directly.
430         (gst_clock_set_property, gst_clock_get_property): Protect
431         master/slave parameters with the SLAVE_LOCK.
432
433         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
434         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
435         note that all of the instance variables that add_observation and
436         the set_master functions use are protected by that lock and not
437         the OBJECT_LOCK.
438         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
439
440         * gst/gstclock.c (gst_clock_add_observation): No longer requires
441         the caller to take the object lock.
442
443 2005-11-23  Wim Taymans  <wim@fluendo.com>
444
445         * gst/gsterror.c: (_gst_core_errors_init):
446         * gst/gsterror.h:
447         Add error for clock stuff.
448
449         * gst/gstpipeline.c: (gst_pipeline_change_state),
450         (gst_pipeline_set_clock):
451         Post clock error when clock cannot be used in a pipeline.
452
453 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
454
455         * docs/gst/gstreamer-sections.txt:
456           make two symbols from gstinfo private for the docs
457         * gst/base/gstcollectpads.h:
458         * gst/gstutils.c:
459           fix doc typos, update docs
460
461 2005-11-22  Wim Taymans  <wim@fluendo.com>
462
463         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
464         (gst_base_sink_wait), (gst_base_sink_do_sync),
465         (gst_base_sink_handle_event):
466         * gst/base/gstbasesink.h:
467         No need to store the clock, the parent element class already
468         has it.
469
470         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
471         Updates for clock_set returning a gboolean
472
473         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
474         (gst_clock_id_wait_async), (gst_clock_class_init),
475         (gst_clock_init), (gst_clock_finalize),
476         (gst_clock_get_internal_time), (gst_clock_get_time),
477         (gst_clock_slave_callback), (gst_clock_set_master),
478         (gst_clock_get_master), (do_linear_regression),
479         (gst_clock_add_observation), (gst_clock_set_property),
480         (gst_clock_get_property):
481         * gst/gstclock.h:
482         Implement master/slave. When setting a clock as a slave, a
483         periodic timeout is scheduled to sample master and slave times.
484         Then the slave clock is recalibrated to match offset and rate
485         of the master clock.
486         Update logging a bit.
487         Add flag so that a clock can state that is cannot be slaved to
488         another clock.
489
490         * gst/gstelement.c: (gst_element_set_clock):
491         * gst/gstelement.h:
492         The set clock returns a gboolean for when an element cannot
493         deal with the selected clock in the pipeline. 
494
495         * gst/gstpipeline.c: (gst_pipeline_change_state),
496         (gst_pipeline_set_clock):
497         * gst/gstpipeline.h:
498         Handle the case where the selected clock cannot be set on
499         the pipeline.
500
501         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
502         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
503         (gst_net_client_clock_set_property),
504         (gst_net_client_clock_get_property),
505         (gst_net_client_clock_observe_times):
506         * gst/net/gstnetclientclock.h:
507         Use regression code in GstClock parent, remove duplicated
508         functionality.
509
510 2005-11-22  Michael Smith <msmith@fluendo.com>
511
512         * gst/gstutils.c: (gst_util_clock_time_scale):
513         * gst/gstutils.h:
514         * docs/gst/gstreamer-sections.txt:
515           Rename method to have extra underscore.
516
517 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
518
519         * gst/elements/Makefile.am:
520         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
521         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
522         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
523         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
524         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
525         * gst/elements/gstfakesrc.h:
526         * gst/gstqueue.c: (queue_leaky_get_type):
527           correctly fix GEnumValues so that nick is the short lowercase
528           dashed tag
529         * tools/gst-inspect.c: (print_element_properties_info):
530           also show the nick, since it's useful to use from parse_launch
531           syntax
532           Fixes #322139
533
534 2005-11-22  Michael Smith <msmith@fluendo.com>
535
536         * gst/gstutils.c: (gst_util_clocktime_scale):
537         * gst/gstutils.h:
538         * docs/gst/gstreamer-sections.txt:
539           Add util method for scaling a clocktime by a fraction. Useful 
540           implementation is left as an exercise for the reader.
541
542 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
543
544         * gst/gstvalue.c: (gst_value_collect_fraction_range):
545         If needed, allocate storage in the destination value during
546         collection.
547
548 2005-11-22  Edward Hervey  <edward@fluendo.com>
549
550         * docs/gst/gstreamer-sections.txt:
551         * gst/Makefile.am:
552         * gst/gst.h:
553         * gst/gsturitype.c:
554         * gst/gsturitype.h:
555         * gst/gstutils.c: (gst_util_set_object_arg):
556         * tools/gst-compprep.c: (main):
557         * tools/gst-inspect.c: (print_element_properties_info):
558         Removed GstURI, closes bug #321061
559
560 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
561
562         * check/gst/gststructure.c: (GST_START_TEST):
563         * gst/gststructure.c: (gst_structure_parse_value):
564           Oops, broke automatic string type parsing.
565           Add a test to catch it in future.
566
567 2005-11-22  Andy Wingo  <wingo@pobox.com>
568
569         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
570         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
571         Actually rename the function implementations. Grr.
572
573 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
574
575         * check/gst/capslist.h:
576           Comment test cases
577         * check/gst/gststructure.c: (GST_START_TEST),
578         (gst_structure_suite):
579           Test automatic value type detection in gst_structure_from_string.
580         * gst/gststructure.c: (gst_structure_parse_value):
581           Add fraction as a type we try and guess automatically in
582           caps/structure strings.
583
584 2005-11-22  Andy Wingo  <wingo@pobox.com>
585
586         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
587
588         * gst/gsttagsetter.h:
589         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
590         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
591         (gst_tag_setter_add_tag_valist)
592         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
593         _add_values, _add_valist, and _add_valist_values. Since this is an
594         interface the function suffixes should be more explicit so
595         language binding don't end up with element.add_valist ->
596         gst_tag_setter_add_valist, for example. Fixes #322069.
597
598 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
599
600         * check/gst/gstcaps.c: (GST_START_TEST):
601           Extend caps string tests to check that a caps to string
602           conversion is reversible and produces the same caps.
603
604         * gst/gststructure.c: (gst_structure_value_get_generic_type):
605           Output "fraction" as the generic type fraction range, so caps
606           serialisation and deserialisation works.
607         * check/gst/capslist.h:
608         * gst/gstvalue.c: (gst_value_deserialize_fraction):
609           Support 'MIN' and 'MAX' for deserialising fractions.
610
611 2005-11-22  Andy Wingo  <wingo@pobox.com>
612
613         * gst/gstevent.h (gst_event_new_new_segment)
614         (gst_event_parse_new_segment, gst_event_new_buffer_size)
615         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
616         Renamed from *_newsegment, *_buffersize, *_notarget.
617
618         * scripts/update-funcnames: New script, performs the changes
619         listed above.
620
621 2005-11-22  Wim Taymans  <wim@fluendo.com>
622
623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
624         Make sure the GstFlowReturn is returned.
625
626         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
627         (gst_bus_add_signal_watch):
628         * gst/gstbus.h:
629         add gst_bus_add_signal_watch_full.
630
631         * gst/gstplugin.c: (gst_plugin_load_file):
632         Small style cleanup.
633
634 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
635
636         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
637           Block the fakesrc srcpad when we send an event, to avoid
638           contention on the stream_lock causing random test failures.
639
640 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
641
642         * check/gst/gstvalue.c: (GST_START_TEST):
643         * gst/gstvalue.c: (gst_value_fraction_subtract):
644           Fix subtraction.
645
646 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
647
648         * gst/gst.h:
649           include "gstchildproxy.h"
650         * gst/gstchildproxy.h:
651         * libs/gst/controller/gstcontroller.h:
652           use G_GNUC_NULL_TERMINATED
653
654 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
655
656         * check/gst/capslist.h:
657         * check/gst/gstcaps.c: (GST_START_TEST):
658         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
659         * gst/gststructure.c: (gst_structure_parse_range),
660         (gst_structure_fixate_field_nearest_fraction):
661         * gst/gststructure.h:
662         * gst/gstvalue.c: (gst_value_init_fraction_range),
663         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
664         (gst_value_collect_fraction_range),
665         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
666         (gst_value_set_fraction_range_full),
667         (gst_value_get_fraction_range_min),
668         (gst_value_get_fraction_range_max),
669         (gst_value_serialize_fraction_range),
670         (gst_value_transform_fraction_range_string),
671         (gst_value_compare_fraction_range),
672         (gst_value_deserialize_fraction_range),
673         (gst_value_intersect_fraction_fraction_range),
674         (gst_value_intersect_fraction_range_fraction_range),
675         (gst_value_subtract_fraction_fraction_range),
676         (gst_value_subtract_fraction_range_fraction),
677         (gst_value_subtract_fraction_range_fraction_range),
678         (gst_value_collect_fraction), (gst_value_fraction_multiply),
679         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
680         (gst_value_transform_string_fraction), (_gst_value_initialize):
681         * gst/gstvalue.h:
682           Implement fraction ranges and extend GstFraction to support
683           arithmetic subtraction, as well as deserialization from integer
684           strings such as "100"
685           Add a testsuite as for int and double range set operations
686
687 2005-11-21  Andy Wingo  <wingo@pobox.com>
688
689         * gst/gsttaglist.h: 
690         * gst/gstcaps.h: 
691         * gst/gststructure.h: Add glib-compat.h.
692
693 2005-11-21  Wim Taymans  <wim@fluendo.com>
694
695         * gst/gstbin.c: (gst_bin_change_state_func):
696         Fix for #321595
697
698 2005-11-21  Wim Taymans  <wim@fluendo.com>
699
700         * gst/gstsegment.h:
701         And add a nice define too.
702
703 2005-11-21  Wim Taymans  <wim@fluendo.com>
704
705         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
706         (gst_segment_new), (gst_segment_free), (gst_segment_init),
707         (gst_segment_set_duration), (gst_segment_set_last_stop),
708         (gst_segment_set_seek), (gst_segment_set_newsegment),
709         (gst_segment_to_stream_time), (gst_segment_to_running_time),
710         (gst_segment_clip):
711         * gst/gstsegment.h:
712         Make binding friendly.
713
714 2005-11-21  Andy Wingo  <wingo@pobox.com>
715
716         * gst/gsttagsetter.h: 
717         * gst/gsttaglist.h: 
718         * gst/gststructure.h: 
719         * gst/gstcaps.h: 
720         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
721         #319940.
722
723         * gst/gsterror.c (_gst_core_errors_init):
724         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
725         category.
726
727         * gst/Makefile.am (gst_headers): Add glib-compat.h.
728         (noinst_HEADERS): noinst the -private.
729
730 2005-11-21  Michael Smith <msmith@fluendo.com>
731
732         * gst/gstplugin.h:
733         * gst/gstregistry.h:
734           Remove unimplemented declarations for which we can see no sensible
735           use.
736
737 2005-11-21  Andy Wingo  <wingo@pobox.com>
738
739         * gst/gst.h: Include glib-compat.h.
740
741         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
742
743         * gst/glib-compat.c: Include the public and the private header.
744
745         * gst/glib-compat-private.h: Copied here from glib-compat.h.
746
747         * gst/gstvalue.c: 
748         * gst/gstpad.c: 
749         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
750
751         * check/gst/gstevent.c (create_custom_events): Check that
752         FLUSH_STOP is serialized.
753
754         * check/elements/identity.c (event_func): 
755         * check/elements/fakesrc.c (event_func): No stream lock, the core
756         takes it.
757
758         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
759         stream lock taking, yay.
760
761         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
762         ensure that core takes the stream lock.
763
764         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
765         lock name change.
766
767         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
768         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
769         it already. For the flush start we do take it though so we get the
770         right preroll state change messages.
771
772         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
773         the stream lock here, the core does it for us.
774
775         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
776         GST_STREAM_GET_LOCK.
777         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
778         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
779         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
780         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
781         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
782         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
783
784         * gst/gstpad.c: Update for stream lock name change.
785
786         * gst/base/gstbasesink.c: Update for preroll lock name change.
787
788 2005-11-21  Wim Taymans  <wim@fluendo.com>
789
790         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
791         (gst_clock_get_master):
792         * gst/gstclock.h:
793         * gst/gstsystemclock.c: (gst_system_clock_init):
794         Convert Clock flags to object flags.
795         Added methods to manage master/slave clocks.
796
797 2005-11-21  Wim Taymans  <wim@fluendo.com>
798
799         * check/gst/gstsegment.c: (GST_START_TEST):
800         * docs/design/part-TODO.txt:
801         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
802         (gst_base_sink_event), (gst_base_sink_do_sync),
803         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
804         (gst_base_sink_query), (gst_base_sink_change_state):
805         * gst/base/gstbasesink.h:
806         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
807         (gst_base_src_default_newsegment),
808         (gst_base_src_configure_segment), (gst_base_src_do_seek),
809         (gst_base_src_get_range), (gst_base_src_loop),
810         (gst_base_src_change_state):
811         * gst/base/gstbasesrc.h:
812         * gst/base/gstbasetransform.c:
813         (gst_base_transform_prepare_output_buf),
814         (gst_base_transform_event), (gst_base_transform_change_state):
815         * gst/base/gstbasetransform.h:
816         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
817         (gst_collect_pads_event):
818         * gst/base/gstcollectpads.h:
819         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
820         (gst_fake_src_create):
821         * gst/elements/gstfakesrc.h:
822         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
823         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
824         (gst_segment_set_last_stop), (gst_segment_set_seek),
825         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
826         (gst_segment_to_running_time), (gst_segment_clip):
827         * gst/gstsegment.h:
828         More segment updates, replace code in plugins with segment
829         helper functions.
830
831 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
832
833         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
834         Don't ignore sscanf results
835
836 2005-11-21  Andy Wingo  <wingo@pobox.com>
837
838         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
839
840         * *.h:
841         * *.c: Ran scripts/update-macros. Oh yes.
842
843         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
844         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
845         GST_GET_LOCK, etc.
846
847         * scripts/update-macros: New script. Run it on your files to
848         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
849         well.
850
851 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
852
853         * docs/gst/Makefile.am:
854         * docs/gst/gstreamer-docs.sgml:
855         * docs/gst/gstreamer-sections.txt:
856         * docs/gst/gstreamer.types:
857         * gst/gstinfo.h:
858           more docs fixes, add new api to the docs
859
860 2005-11-21  Andy Wingo  <wingo@pobox.com>
861
862         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
863         state_broadcast call.
864
865         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
866
867 2005-11-21  Julien MOUTTE  <julien@moutte.net>
868
869         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
870         function calls for arrays.
871
872 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
873
874         * docs/random/ensonic/media-device-daemon.txt:
875           wild idea, can this be done?
876         * docs/gst/gstreamer-sections.txt:
877         * gst/gsterror.h:
878         * gst/gstfilter.c:
879         * gst/gstfilter.h:
880         * gst/gstplugin.h:
881         * gst/gstpluginfeature.c:
882         * gst/gsttrace.c:
883         * gst/gstvalue.c:
884         * gst/gstvalue.h:
885           doc fixes and additions
886
887 2005-11-21  Andy Wingo  <wingo@pobox.com>
888
889         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
890         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
891         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
892         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
893         private to the basesrc implementation.
894
895         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
896         behalf of event function if necessary. It should no longer be
897         necessary to take the stream lock in pad's event functions. Fixes
898         #320299.
899
900 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
901         * docs/gst/gstreamer-sections.txt:
902         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
903         (gst_structure_fixate_field_nearest_double),
904         (gst_structure_fixate_field_boolean):
905         * gst/gststructure.h:
906         * win32/common/libgstreamer.def:
907         * win32/gstreamer.def:
908
909         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
910         (#322027)
911
912 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
913
914         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
915         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
916         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
917         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
918         (gst_fdsrc_uri_handler_init):
919         * gst/elements/gstfdsrc.h:
920           Port fd:// URI handler from 0.8 to fdsrc
921
922 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
923
924         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
925         (gst_value_serialize_fourcc):
926         * gst/gstvalue.h:
927           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
928           consistent with our other format defines (#320324).
929
930 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
931
932         * gst/gstvalue.c: (gst_value_is_fixed):
933           Revert previous commit. Value lists are by definition
934           not fixed, as they are a list of possible values.
935
936 2005-11-21  Andy Wingo  <wingo@pobox.com>
937
938         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
939         during the stable series if we need it. Fixes #319178.
940
941         * gst/gstevent.c (gst_event_new_filler): Removed.
942
943         * check/gst/gstevent.c: Update comment about filler events.
944
945 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
946
947         * gst/gstvalue.c: (gst_value_is_fixed):
948           Should handle both value arrays and value lists.
949
950 2005-11-21  Andy Wingo  <wingo@pobox.com>
951
952         patch by: Alessandro Dessina <alessandro nnva org>
953
954         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
955         functions to access arrays. Fixes #321962.
956
957 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
958
959         * docs/gst/gstreamer.types:
960           gst_collectpads_get_type => gst_collect_pads_get_type.
961           
962         * gst/base/gstbasetransform.c:
963           Remove unused SIGNAL_HANDOFF enum.
964
965 2005-11-21  Andy Wingo  <wingo@pobox.com>
966
967         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
968         the event type (upstream, downstream, serialized). Renamed
969         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
970         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
971         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
972
973         * gst/gstevent.c: Update for new CUSTOM event names.
974
975         * check/gst/gstevent.c: Update check for new CUSTOM event names.
976
977         * gst/gstevent.h:
978         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
979         bug #319392.
980
981 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
982
983         * docs/gst/gstreamer-sections.txt:
984         * win32/common/libgstbase.def:
985         * win32/libgstbase.def:
986         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
987         (gst_collect_pads_class_init), (gst_collect_pads_init),
988         (gst_collect_pads_finalize), (gst_collect_pads_new),
989         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
990         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
991         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
992         (gst_collect_pads_start), (gst_collect_pads_stop),
993         (gst_collect_pads_peek), (gst_collect_pads_pop),
994         (gst_collect_pads_available), (gst_collect_pads_read),
995         (gst_collect_pads_flush), (gst_collect_pads_event),
996         (gst_collect_pads_chain):
997         * gst/base/gstcollectpads.h:
998           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
999           unimplemented functions as unimplemented. Add padding to
1000           GstCollectData. (#320766, #320423)
1001
1002 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1003
1004         * gst/gstmessage.c:
1005           Improve docs for DURATION message (usage of duration parameter)
1006           (#320113)
1007
1008 2005-11-20  Wim Taymans  <wim@fluendo.com>
1009
1010         * check/Makefile.am:
1011         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1012         (main):
1013         * gst/Makefile.am:
1014         * gst/gst.h:
1015         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1016         (gst_segment_set_seek), (gst_segment_set_newsegment),
1017         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1018         (gst_segment_clip):
1019         * gst/gstsegment.h:
1020         Added segment helper structure and methods. Not fully implemented
1021         yet.
1022         Added segment check.
1023
1024 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1025
1026         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1027           Add a deserialisation test for fractions
1028         * examples/metadata/read-metadata.c: (message_loop),
1029         (make_pipeline), (main):
1030           Fix up metadata reading sample.
1031         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1032           Debug format fix
1033         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1034           Don't try and fixate empty caps
1035         * gst/gst_private.h:
1036           Wrap in G_BEGIN_DECLS/G_END_DECLS
1037         * gst/gstvalue.c: (gst_value_collect_fraction),
1038         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1039         (gst_value_transform_string_fraction),
1040         (gst_value_compare_fraction):
1041           Add some extra guards to ensure that we don't end up 
1042           with an invalid denominator of 0 in a gstfraction and
1043           that fractions always get reduced.
1044
1045 2005-11-20  Wim Taymans  <wim@fluendo.com>
1046
1047         * docs/gst/gstreamer-sections.txt:
1048         * gst/gstbuffer.h:
1049         * gst/gstelement.c:
1050         * gst/gstformat.c:
1051         * gst/gstformat.h:
1052         * gst/gstindex.h:
1053         * gst/gstquery.c:
1054         * gst/gstquery.h:
1055         * gst/gstvalue.c:
1056         Doc fixes.
1057
1058 2005-11-20  Wim Taymans  <wim@fluendo.com>
1059
1060         * docs/design/part-TODO.txt:
1061         * gst/gstcaps.h:
1062         Make a proper enum of the flag.
1063
1064 2005-11-19  Wim Taymans  <wim@fluendo.com>
1065
1066         * docs/design/part-TODO.txt:
1067         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1068         (gst_format_to_quark), (gst_format_register):
1069         * gst/gstformat.h:
1070         * gst/gstquery.c: (_gst_query_initialize),
1071         (gst_query_type_get_name), (gst_query_type_to_quark),
1072         (gst_query_type_register):
1073         * gst/gstquery.h:
1074         Add type to quark and type to string conversions.
1075
1076 2005-11-19  Andy Wingo  <wingo@pobox.com>
1077
1078         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1079         #320097.
1080
1081 2005-11-19  Wim Taymans  <wim@fluendo.com>
1082
1083         * docs/design/part-TODO.txt:
1084         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1085         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1086         (gst_bin_handle_message_func):
1087         * gst/gstbin.h:
1088         Make message handling overridable.
1089
1090 2005-11-19  Andy Wingo  <wingo@pobox.com>
1091
1092         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1093
1094         * gst/gstclock.h:
1095         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1096         be a GstClockTime.
1097         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1098         is a GstClockTime. Fixes #321710.
1099
1100         * gst/gstclock.h (GstClock): Remove offset property. Add
1101         internal_calibration and external_calibration. Fix padding. Pad
1102         also by GstClockTime so we don't run into problems.
1103
1104         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1105         (gst_clock_get_rate_offset): Remove.
1106         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1107
1108         * gst/gstutils.h:
1109         * gst/gstutils.c (g_static_rec_cond_wait)
1110         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1111
1112         * gst/gstbin.c: Remove terrible continue_state prototype.
1113
1114         * gst/gstelement.h (gst_element_continue_state): Make public.
1115
1116         * gst/gstelement.h:
1117         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1118         by continue_state. Fixes #319389.
1119
1120         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1121         Really fixes #168438. However I don't see anywhere where the
1122         filter function is called... stupid GStreamer...
1123         
1124         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1125         don't have a dispose function, so it won't get called when the
1126         object is unreffed, but oh well!
1127
1128         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1129         allows a destroy function to be set so user_data can be freed.
1130         Fixes #168438.
1131         (gst_index_set_filter): Call gst_index_set_filter_full.
1132
1133         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1134
1135         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1136         string should produce an error, given the lack of a way to
1137         represent NULL strings. Fixes #165650.
1138         
1139         * gst/gstvalue.h: 
1140         * gst/gstvalue.c (gst_value_array_append_value) 
1141         (gst_value_array_prepend_value, gst_value_array_get_size) 
1142         (gst_value_array_get_value): New API, copied from
1143         gst_value_list_*, only operates on arrays.
1144         (gst_value_list_append_value, gst_value_list_prepend_value) 
1145         (gst_value_list_concat, gst_value_list_get_size) 
1146         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1147
1148         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1149         init_list, because it works on both.
1150         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1151         (gst_value_copy_list_or_array): Renamed from copy_list.
1152         (gst_value_free_list_or_array): Renamed from free_list.
1153         (gst_value_collect_list_or_array): Renamed from collect_list.
1154         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1155         (gst_value_list_or_array_peek_pointer): Renamed from
1156         list_peek_pointer.
1157         (_gst_value_array_value_table, _gst_value_list_value_table):
1158         Update value table functions.
1159         (gst_value_compare_list_or_array): Renamed from compare_list.
1160
1161         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1162         some constness.
1163
1164         * gst/gsttaglist.c:
1165         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1166         GstTagList*. Fixes #143472.
1167
1168         * gst/gststructure.h: Clarify what the foreach/map functions can
1169         or can't do to their arguments.
1170
1171 2005-11-18  Wim Taymans  <wim@fluendo.com>
1172
1173         * gst/gstclock.c: (gst_clock_set_calibration),
1174         (gst_clock_get_calibration):
1175         Doc and API fixes.
1176         Calibration can be set with internal time equal to current
1177         internal time too.
1178
1179 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1180
1181         * gst/gsterror.c:
1182         * gst/gsterror.h:
1183           document
1184
1185 2005-11-18  Andy Wingo  <wingo@pobox.com>
1186
1187         * configure.ac: 
1188         * pkgconfig/gstreamer-net.pc.in:
1189         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1190         * pkgconfig/Makefile.am: Add net pkgconfig files.
1191
1192 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1193
1194         * gst/gstcaps.c:
1195         * gst/gstghostpad.c:
1196         * gst/gsttrace.c:
1197         * gst/gstvalue.c:
1198         * gst/gstvalue.h:
1199           docs fixes
1200
1201 2005-11-18  Andy Wingo  <wingo@pobox.com>
1202
1203         * gst/net/gstnetclientclock.c: Turn off debugging.
1204
1205         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1206         times connverge somewhat. Can't make a real test.
1207
1208         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1209         integer arithmetic. Return the minimum of the domain, which can be
1210         set as "internal" for gst_clock_set_calibration.
1211         (gst_net_client_clock_observe_times): Call _set_calibration.
1212         (gst_net_client_clock_new): Call _set_calibration instead of
1213         rate_offset.
1214
1215         * check/net/gstnetclientclock.c (test_functioning): Use the right
1216         adjustment api.
1217
1218         * gst/gstclock.h:
1219         * gst/gstclock.c (gst_clock_get_calibration) 
1220         (gst_clock_set_calibration): New functions, obsolete the ones I
1221         added yesterday. Doh. Precision issues mean we have to extrapolate
1222         from a point in the more recent past than 1970.
1223         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1224         obsolete.
1225         (gst_clock_adjust_unlocked): Use the right calibration data.
1226
1227 2005-11-18  Edward Hervey  <edward@fluendo.com>
1228
1229         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1230         Also reset the ->current_* values in READY->PAUSED
1231
1232 2005-11-18  Andy Wingo  <wingo@pobox.com>
1233
1234         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1235         Whoops, check the right fd. Also add some debugging.
1236         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1237         (do_linear_regression): Add a crapload of debugging. Subtract off
1238         the minimum values from the input series to discard unneeded bits.
1239         Use only int arithmetic. There is still double arithmetic when
1240         calculating the intercept that needs fixing. Return boolean to
1241         indicate success; FALSE would mean the domain or range is too
1242         great. Still needs fixes.
1243
1244 2005-11-18  Wim Taymans  <wim@fluendo.com>
1245
1246         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1247         For the current position in stream time, we need to subtract
1248         accumulated time.
1249         
1250         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1251         Release lock before calling the callback function of async
1252         entries.
1253
1254 2005-11-18  Andy Wingo  <wingo@pobox.com>
1255
1256         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1257         Port goes all the way to MAXUINT16.
1258
1259         * gst/net/gstnettimeprovider.c: Make the port range the same as
1260         for the kernel: 0 assigns, otherwise ports are less than
1261         MAXUINT16.
1262
1263         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1264         port change.
1265
1266         * check/net/gstnetclientclock.c (test_functioning): Add the start
1267         of another test. 
1268
1269 2005-11-18  Wim Taymans  <wim@fluendo.com>
1270
1271         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1272         (gst_bin_remove_func), (bin_bus_handler):
1273         * gst/gstbin.h:
1274         Removing a clock provider from a bin, triggers a clock lost message
1275         so that a new clock will be selected.
1276         Adding a clock to a bin triggers a clock provider message.
1277         Make sure we reselect a clock when we received a clock lost message.
1278         Keep a reference to the element that provided the clock.
1279
1280 2005-11-18  Andy Wingo  <wingo@pobox.com>
1281
1282         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1283         the clock initially so it produces values around the base time.
1284         (gst_net_client_clock_class_init): Typo fix.
1285         (gst_net_client_clock_thread): Add note on when the socket gets
1286         closed.
1287
1288 2005-11-17  Wim Taymans  <wim@fluendo.com>
1289
1290         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1291         Free remote and local time arrays.
1292
1293 2005-11-17  Wim Taymans  <wim@fluendo.com>
1294
1295         * gst/net/gstnetclientclock.c: (do_linear_regression),
1296         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1297         Fix compilation, uninitialized vars and a forgotten continue.
1298
1299 2005-11-17  Andy Wingo  <wingo@pobox.com>
1300
1301         * check/Makefile.am (check_PROGRAMS): 
1302         * check/net/gstnetclientclock.c: Add a most minimal test for the
1303         net client clock. More to come later.
1304
1305         * gst/net/gstnet.h: 
1306         * gst/net/Makefile.am: Add netclientclock.
1307
1308         * gst/net/gstnetclientclock.h:
1309         * gst/net/gstnetclientclock.c: New files, implement an untested
1310         GstClock that takes its time from a network time provider.
1311         Implements the algorithm in network-clock.scm.
1312
1313         * tests/network-clock.scm (*window-size*): Rename from
1314         *queue-length*.
1315         * tests/network-clock.scm (network-time): 
1316         * tests/network-clock-utils.scm (q-push): Update callers.
1317
1318 2005-11-17  Wim Taymans  <wim@fluendo.com>
1319
1320         * gst/gstbin.c: (gst_bin_provide_clock_func),
1321         (gst_bin_sort_iterator_new):
1322         And unref the child too..
1323
1324 2005-11-17  Wim Taymans  <wim@fluendo.com>
1325
1326         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1327         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1328         Refactor the sort iterator so it can be used while holding the
1329         LOCK too.
1330         Make clock selection select a clock closest to the source.
1331
1332 2005-11-17  Michael Smith <msmith@fluendo.com>
1333
1334         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1335         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1336         * gst/gstclock.h:
1337           Anonymous structs are a gcc (and some other compilers) extension, so
1338           don't use them. Since this is only for ABI-compatibility, and our
1339           API/ABI freeze is over in a few days, this whole thing will only
1340           last a few days, so don't bother trying to think up a meaningful
1341           name for the struct.
1342
1343 2005-11-17  Andy Wingo  <wingo@pobox.com>
1344
1345         * gst/gstclock.h (GstClock): Add rate and offset properties,
1346         preserving ABI stability. Add rate/offset accessors. Will file bug
1347         for the freeze break.
1348
1349         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1350         and offset, trying to keep precision and avoiding
1351         underflow/overflow.
1352         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1353         functions. Make gst_clock_set_time_adjust obsolete.
1354         (gst_clock_set_time_adjust): Note that this function is obsolete.
1355         Will file bug soon.
1356
1357         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1358         greppable by using GST_PADDING-1+1.
1359
1360 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1361
1362         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1363
1364         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1365           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1366
1367         * gst/gstpadtemplate.h:
1368         * gst/gstpluginfeature.h:
1369           Don't use c++ style comments in headers (#321638).
1370
1371 2005-11-16  Andy Wingo  <wingo@pobox.com>
1372
1373         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1374         buffer.
1375
1376         * check/net/gstnettimeprovider.c: Check to see that the time
1377         provider actually provides times. Works, yo!
1378
1379 2005-11-16  Wim Taymans  <wim@fluendo.com>
1380
1381         * check/Makefile.am:
1382         Enable more tests.
1383
1384         * check/elements/fakesrc.c: (GST_START_TEST):
1385         Set element to NULL before disposing it.
1386
1387 2005-11-16  Andy Wingo  <wingo@pobox.com>
1388
1389         * gst/net/Makefile.am:
1390         * gst/net/gstnet.h:
1391         * gst/net/gstnettimeprovider.c: 
1392         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1393         provider, include it from gstnet.h, and add it to the build.
1394
1395         * gst/net/gstnettimepacket.h: 
1396         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1397         sending and receiving.
1398
1399 2005-11-16  Wim Taymans  <wim@fluendo.com>
1400
1401         * check/Makefile.am:
1402         Enable valgrind check.
1403
1404         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1405         (gst_fake_src_alloc_buffer):
1406         Fix memleak.
1407
1408 2005-11-16  Wim Taymans  <wim@fluendo.com>
1409
1410         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1411         Call parent finalize too.
1412
1413 2005-11-16  Wim Taymans  <wim@fluendo.com>
1414
1415         * check/Makefile.am:
1416         Enable valgrind check that should work fine now.
1417
1418         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1419         * gst/gstqueue.c: (gst_queue_init):
1420         Fix memleaks in pad allocation.
1421
1422 2005-11-16  Andy Wingo  <wingo@pobox.com>
1423
1424         * gst/net/Makefile.am:
1425         * gst/net/gstnet.h: New part of core to hold network elements and
1426         objects. Put in core because it exposes API that applications want
1427         to use. The library is named libgstnet-tempname right now because
1428         of the existing libgstnet in gst-plugins-base. Solution is
1429         probably to rename the one in plugins-base; will file a bug for
1430         the freeze break.
1431
1432         * gst/net/gstnettimeprovider.c: 
1433         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1434         get_time call over the network.
1435
1436         * configure.ac: 
1437         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1438
1439         * check/Makefile.am:
1440         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1441         get additions shortly.
1442
1443 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1444
1445         * gst/gstpad.c: (gst_pad_new_from_static_template):
1446         * gst/gstpad.h:
1447           add gst_pad_new_from_static_template functions
1448         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1449         (gst_check_setup_sink_pad):
1450         * gst/elements/gsttee.c: (gst_tee_init):
1451           and use them
1452
1453 2005-11-16  Wim Taymans  <wim@fluendo.com>
1454
1455         * gst/gstpad.c: (gst_pad_pause_task):
1456         Removed warning, it's not really an error either.
1457
1458 2005-11-16  Wim Taymans  <wim@fluendo.com>
1459
1460         * gst/base/gstbasetransform.c:
1461         (gst_base_transform_prepare_output_buf),
1462         (gst_base_transform_event):
1463         Check if the caps are NULL, this can happen if the element
1464         is shutting down and the pad caps are set to NULL.
1465
1466 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1467
1468         * gst/elements/gsttee.c: (gst_tee_init):
1469           fix pad template leak in tee
1470
1471 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1472
1473         * gst/glib-compat.c: (g_value_dup_gst_object):
1474         * gst/glib-compat.h:
1475         * gst/gstpad.c: (gst_pad_set_property):
1476           use gst_object_ref when setting the pad template; this will
1477           trigger the pad template leaks on GLib 2.6 and the slaves
1478
1479 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1480
1481         * gst/glib-compat.c: (gst_flags_get_first_value):
1482         * gst/glib-compat.h:
1483         * gst/gstregistryxml.c:
1484           remove functions copied from GLib 2.6
1485
1486 2005-11-16  Michael Smith <msmith@fluendo.com>
1487
1488         * gst/Makefile.am:
1489           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1490           do, but only breaks with newer valgrind versions. We're not a
1491           valgrind tool, we have no link-time dependencies on libcoregrind.
1492
1493 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1494
1495         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1496           some debug changes
1497         * gst/gstmessage.h:
1498           typo fixes
1499
1500 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1501
1502         * gst/base/gstbasesrc.c: (gst_base_src_init):
1503         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1504         * gst/gstqueue.c: (gst_queue_init):
1505         * gst/gstregistryxml.c: (load_feature):
1506           Revert all these unrefs, they don't even pass make check !
1507
1508 2005-11-15  Johan Dahlin  <johan@gnome.org>
1509
1510         * gst/base/gstbasesrc.c: (gst_base_src_init):
1511         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1512         * gst/gstqueue.c: (gst_queue_init): 
1513         Free pad templates, fixes a couple of leaks.
1514
1515 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1516
1517         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1518
1519         * gst/gstpad.c: (gst_pad_get_property):
1520           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1521           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1522           (#321452)
1523
1524 2005-11-15  Wim Taymans  <wim@fluendo.com>
1525
1526         * gst/gstevent.c:
1527         Small doc update.
1528
1529 2005-11-15  Andy Wingo  <wingo@pobox.com>
1530
1531         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1532
1533         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1534         using GST_CLOCK_TIME_NONE to disable base time management.
1535         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1536         time if it was NONE before.
1537         (gst_pipeline_change_state): Only munge the base time if
1538         stream_time != GST_CLOCK_TIME_NONE.
1539
1540         * check/gst/gstpipeline.c (test_base_time): Punt around the
1541         problem of the probe not being called, because that's not the
1542         issue I'm looking at. Add a check that setting stream_time to NONE
1543         disables base time management.
1544         
1545 2005-11-15  Wim Taymans  <wim@fluendo.com>
1546
1547         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1548         segment_stop == -1 at startup.
1549
1550         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1551         (gst_base_transform_change_state):
1552         Init segment values at start.
1553
1554 2005-11-15  Wim Taymans  <wim@fluendo.com>
1555
1556         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1557         0 segment values are 0 in any format.
1558
1559         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1560         * gst/base/gstbasetransform.h:
1561         Parse newsegment correctly in basetransform
1562
1563         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1564         Sync to clock using updated segment values.
1565
1566 2005-11-15  Andy Wingo  <wingo@pobox.com>
1567
1568         * check/gst/gstpipeline.c (test_base_time): Add check that the
1569         base time and stream time are reset correctly.
1570
1571 2005-11-15  Wim Taymans  <wim@fluendo.com>
1572
1573         * docs/design/part-TODO.txt:
1574         Some more TODO items.
1575
1576 2005-11-15  Andy Wingo  <wingo@pobox.com>
1577
1578         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1579         error if the user selected "no clock" as the clocking method.
1580
1581         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1582         timestamps with live capture.
1583
1584         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1585         is 0 but we are a live source, timestamp the buffers using the
1586         element's clock.
1587
1588 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1589
1590         * docs/gst/gstreamer-sections.txt:
1591         * gst/gsterror.c:
1592         * gst/gstghostpad.c:
1593         * gst/gstobject.h:
1594         * gst/gstxml.c:
1595           more section docs
1596
1597 2005-11-14  Wim Taymans  <wim@fluendo.com>
1598
1599         * common/gst.supp:
1600           add suppressions from Wim's Debian machine
1601
1602 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1603
1604         * common/gst.supp:
1605           add suppressions from Andy's AMD64 Ubuntu machine
1606
1607 2005-11-14  Andy Wingo  <wingo@pobox.com>
1608
1609         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1610         STATE_LOCK not necessary. Fixes #311489.
1611
1612         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1613         #305291.
1614
1615         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1616         this function is not implemented.
1617
1618 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1619
1620         * gst/base/gstbasetransform.c:
1621         (gst_base_transform_prepare_output_buf):
1622         Ref the source pad caps while we need them.
1623         Fixes (#321386)
1624
1625 2005-11-11  Wim Taymans  <wim@fluendo.com>
1626
1627         * docs/gst/gstreamer-sections.txt:
1628         Added some docs for GstCollectData.
1629
1630         * gst/base/gstadapter.c:
1631         Some small code example fix.
1632
1633         * gst/base/gstcollectpads.c:
1634         * gst/base/gstcollectpads.h:
1635         Document some more.
1636
1637 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1638
1639         * configure.ac: back to HEAD
1640
1641 === release 0.9.5 ===
1642
1643 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
1644
1645         * configure.ac:
1646           releasing 0.9.5, "Bike Lunch Day"
1647
1648 2005-11-11  Wim Taymans  <wim@fluendo.com>
1649
1650         * gst/gstbuffer.c: (_gst_buffer_copy):
1651         Copy more flags.
1652
1653         * gst/gstcaps.c: (gst_caps_is_equal):
1654         Fix some docs.
1655         Make _is_equal fast in the trivial cases.
1656
1657         * gst/gstminiobject.c:
1658         * gst/gstminiobject.h:
1659         More docs. Spifify .h file.
1660
1661         * gst/gstutils.c:
1662         Small doc update.
1663
1664 2005-11-11  Wim Taymans  <wim@fluendo.com>
1665
1666         * gst/base/gstbasetransform.c:
1667         (gst_base_transform_prepare_output_buf),
1668         (gst_base_transform_handle_buffer):
1669         Small cleanups.
1670         If we're processing a buffer and need to allocate an output
1671         buffer, we cannot accept a format change. If we did get a 
1672         format change, we have to alloc a buffer ourselves of the 
1673         right size.
1674
1675 2005-11-11  Wim Taymans  <wim@fluendo.com>
1676
1677         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1678         While checking the flag for reentrancy in the gstcaps function
1679         is nice to detect recursive invocations, it also makes it 
1680         impossible to call getcaps from multiple threads, which must be
1681         possible. So, checking for recursive calls has to go.
1682
1683 2005-11-11  Michael Smith <msmith@fluendo.com>
1684
1685         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1686           Don't sync on buffers that fall partially outside our current
1687           segment. Prevents an assertion failure/abort playing some files.
1688
1689 2005-11-10  Andy Wingo  <wingo@pobox.com>
1690
1691         * check/gst/gstbin.c (test_message_state_changed_children): Style
1692         fix..
1693
1694         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1695         gst_bus_poll with the signal watch. Ensures that poll and a signal
1696         watch see the same messages.
1697
1698         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1699         a poll and a watch at the same time get the same messages.
1700
1701 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1702
1703         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1704         * gst/gstcaps.c: (gst_caps_intersect):
1705           Don't call gst_caps_do_simplify - it doesn't respect order of caps
1706           and it's not needed.
1707
1708 2005-11-10  Wim Taymans  <wim@fluendo.com>
1709
1710         * docs/design/part-TODO.txt:
1711         Updated todo.
1712
1713 2005-11-10  Wim Taymans  <wim@fluendo.com>
1714
1715         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1716         * gst/base/gstbasesrc.c: (gst_base_src_wait),
1717         (gst_base_src_do_sync), (gst_base_src_get_range):
1718         Implement clock sync in base class.
1719
1720 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1721
1722         patch by: Tim-Philipp Müller <tim at centricular dot net>
1723
1724         * gst/gststructure.c: (gst_structure_parse_field),
1725         (gst_structure_from_string):
1726           Forward-port a 0.8 patch to handle escaped spaces in structure string,
1727           so that gst_parse_launch() can deal with spaces in filtered link
1728           caps (fixes #164479)
1729         * check/gst/capslist.h:
1730         * check/gst/gststructure.c: (GST_START_TEST):
1731           add unit tests for this change
1732
1733 2005-11-10  Wim Taymans  <wim@fluendo.com>
1734
1735         * docs/gst/gstreamer-sections.txt:
1736         * gst/gstelement.c:
1737         * gst/gstelement.h:
1738         Fix docs, move some STATE macros to private.
1739
1740 2005-11-10  Wim Taymans  <wim@fluendo.com>
1741
1742         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1743         Added check for bug #317341
1744
1745         * gst/gstbuffer.c:
1746         * gst/gstbuffer.h:
1747         Some more spiffifying.
1748
1749         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1750         Call peer linkfunction if we are a source pad. Totally fixes
1751         #317341
1752
1753         * gst/gstpad.c:
1754         Update docs, source pads should call the peer linkfunction
1755         so they can atomically perform the pad link.
1756
1757 2005-11-09  Wim Taymans  <wim@fluendo.com>
1758
1759         * gst/gstbuffer.c:
1760         * gst/gstbuffer.h:
1761         Uber-spiffy-spiffify some more.
1762
1763 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
1764
1765         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1766         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1767         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1768         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1769         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1770         * gst/gstpad.c: (gst_pad_init):
1771           Use GST_DEBUG_FUNCPTR() more extensively.
1772
1773 2005-11-09  Wim Taymans  <wim@fluendo.com>
1774
1775         * gst/gstobject.c: (gst_object_class_init):
1776         * gst/gstobject.h:
1777         Documentation fixes.
1778
1779 2005-11-09  Edward Hervey  <edward@fluendo.com>
1780
1781         * gst/gsttypefindfactory.c:
1782         Fix docs.
1783         
1784 2005-11-09  Edward Hervey  <edward@fluendo.com>
1785
1786         * gst/base/gsttypefindhelper.c:
1787         * gst/gsttypefind.c:
1788         * gst/gsttypefind.h:
1789         Fix docs.
1790
1791 2005-11-09  Wim Taymans  <wim@fluendo.com>
1792
1793         * gst/gstiterator.c:
1794         Fix revision data.
1795
1796         * gst/gsttask.c:
1797         * gst/gsttask.h:
1798         Fix docs.
1799
1800 2005-11-09  Wim Taymans  <wim@fluendo.com>
1801
1802         * gst/gstevent.h:
1803         * gst/gsturi.h:
1804         Fix docs.
1805
1806 2005-11-09  Wim Taymans  <wim@fluendo.com>
1807
1808         * docs/gst/gstreamer-sections.txt:
1809         Moved the message async delivery private lock and cond
1810         to the private section.
1811
1812         * gst/gstmessage.c:
1813         * gst/gstmessage.h:
1814         Fixed docs.
1815
1816 2005-11-09  Edward Hervey  <edward@fluendo.com>
1817
1818         * docs/gst/gstreamer-sections.txt:
1819         * gst/gsturi.c:
1820         * gst/gsturi.h:
1821         Document GstURIHandler
1822
1823 2005-11-09  Wim Taymans  <wim@fluendo.com>
1824
1825         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1826         (gst_iterator_find_custom):
1827         * gst/gstiterator.h:
1828         Fix iterator docs.
1829
1830 2005-11-09  Wim Taymans  <wim@fluendo.com>
1831
1832         * gst/gstbin.h:
1833         Document another field.
1834
1835         * gst/gststructure.c:
1836         * gst/gststructure.h:
1837         Document.
1838
1839 2005-11-09  Wim Taymans  <wim@fluendo.com>
1840
1841         * gst/gstbin.h:
1842         Documented structs.
1843
1844 2005-11-09  Wim Taymans  <wim@fluendo.com>
1845
1846         * docs/gst/gstreamer-sections.txt:
1847         Added some new macros.
1848
1849         * gst/gstclock.c:
1850         * gst/gstclock.h:
1851         * gst/gstobject.h:
1852         Docs updates.
1853
1854 2005-11-09  Wim Taymans  <wim@fluendo.com>
1855
1856         * docs/design/part-TODO.txt:
1857         Some more items for the TODO
1858
1859         * gst/gstcaps.c:
1860         * gst/gstcaps.h:
1861         Document GstCaps.
1862
1863 2005-11-09  Andy Wingo  <wingo@pobox.com>
1864
1865         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1866         to work on something else now tho...
1867
1868         * gst/base/gstadapter.c: More adapter docs.
1869
1870         * gst/elements/gstfilesink.c (gst_file_sink_start) 
1871         (gst_file_sink_stop): New functions, replace the state change
1872         handler.
1873         (gst_file_sink_class_init): Hook up the start and stop functions.
1874         (gst_file_sink_base_init): Don't set the state change handler any
1875         more. It was a bit ugly too, being set from here...
1876         (gst_file_sink_get_property, gst_file_sink_set_property):
1877         Cleanups...
1878         (gst_file_sink_set_location): More robust check that doesn't call
1879         GST_STATE. Ugggggg.
1880
1881 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
1882
1883         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1884           Hold STREAM_LOCK while pushing newsegment or tag events as well.
1885
1886 2005-11-08  Wim Taymans  <wim@fluendo.com>
1887
1888         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1889         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1890         (gst_base_sink_chain), (gst_base_sink_change_state):
1891         * gst/base/gstbasesink.h:
1892         * gst/base/gstbasesrc.h:
1893         * gst/gstelement.h:
1894         * gst/gstevent.h:
1895         Avoid excessive typechecking in macros.
1896
1897         * gst/gstminiobject.c: (gst_mini_object_get_type),
1898         (gst_mini_object_init), (gst_mini_object_new),
1899         (gst_mini_object_free):
1900         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1901         (gst_object_finalize):
1902         Remove cruft code, optimize alloc_trace.
1903
1904 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1905
1906         * docs/faq/gst-uninstalled:
1907           fix up PS1 for systems that try to reset it
1908
1909 2005-11-07  Wim Taymans  <wim@fluendo.com>
1910
1911         * gst/base/gstbasesrc.c: (gst_base_src_init),
1912         (gst_base_src_get_range):
1913         Set the segment_end to -1 initially. Fixed typefind.
1914
1915 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1916
1917         * gst/base/gstadapter.c:
1918           Debug category should be 'adapter', not 'GstAdapter'.
1919           
1920         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1921         (gst_collectpads_class_init), (gst_collectpads_init),
1922         (gst_collectpads_peek), (gst_collectpads_pop),
1923         (gst_collectpads_event), (gst_collectpads_chain):
1924           Add debug category and some debugging output. Use boilerplate
1925           macros. Remove some extraneous words from docs.
1926
1927 2005-11-05  Andy Wingo  <wingo@pobox.com>
1928
1929         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1930         macro.
1931
1932 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1933
1934         * docs/gst/gstreamer-sections.txt:
1935         * gst/gstcaps.h:
1936         * gst/gstinfo.c:
1937         * gst/gstminiobject.h:
1938         * gst/gstobject.h:
1939         * gst/gstutils.h:
1940           more docs added
1941
1942 2005-11-04  Wim Taymans  <wim@fluendo.com>
1943
1944         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1945         Small update to stop at the configured segment_end
1946         position.
1947
1948 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1949
1950         * gst/gstregistry.c:
1951         * gst/gstregistry.h:
1952           added missing docs
1953
1954 2005-11-04  Edward Hervey  <edward@fluendo.com>
1955
1956         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1957         Check if we are doing a segment seek and have arrived at the
1958         end of that segment.
1959
1960 2005-11-04  Wim Taymans  <wim@fluendo.com>
1961
1962         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1963         Don't leak a mutex unlock in case of an error.
1964
1965         * gst/gstbus.h:
1966         Doc fixes.
1967
1968 2005-11-04  Wim Taymans  <wim@fluendo.com>
1969
1970         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1971         (gst_bus_post):
1972         Get the context to wake up only once.
1973
1974 2005-11-03  Wim Taymans  <wim@fluendo.com>
1975
1976         * check/states/sinks.c: (GST_START_TEST):
1977         Uncomment fixed check.
1978
1979         * docs/design/part-TODO.txt:
1980         Updated TODO.
1981
1982         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1983         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1984         (gst_base_sink_get_position):
1985         If we are going to PLAYING, post the right pending state
1986         when we post the intermediate paused message.
1987
1988         * gst/gstelement.c: (gst_element_continue_state),
1989         (gst_element_set_state_func), (gst_element_change_state):
1990         Don't post state changes that were between the same state
1991         and were not ASYNC.
1992
1993 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1994
1995         * docs/gst/gstreamer-sections.txt:
1996         * gst/gstcaps.h:
1997         * gst/gstinfo.c:
1998         * gst/gstminiobject.h:
1999         * gst/gstobject.h:
2000         * gst/gstutils.h:
2001           more docs and doc style fixes
2002
2003 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2004
2005         * docs/gst/gstreamer-sections.txt:
2006         * gst/gstelement.c:
2007         * gst/gstminiobject.c:
2008         doc fixes
2009
2010 2005-11-03  Andy Wingo  <wingo@pobox.com>
2011
2012         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2013         state-changed messages actually have the right order and the right
2014         values.
2015
2016 2005-11-03  Wim Taymans  <wim@fluendo.com>
2017
2018         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2019         Added some more checks. Specifically the case where NO_PREROLL
2020         elements are in the pipeline.
2021
2022         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2023         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2024         (gst_base_sink_get_position):
2025         Post READY->PAUSED state change messages too.
2026         Fix bug where VOID was posted as pending state...
2027
2028         * gst/gstbin.c: (gst_bin_recalc_state):
2029         use _element_continue_state() to continue the state change.
2030
2031         * gst/gstelement.c: (gst_element_continue_state),
2032         (gst_element_commit_state), (gst_element_set_state_func),
2033         (gst_element_change_state), (gst_element_change_state_func):
2034         Lots of state change cleanups, assign the STATE_RETURN in
2035         a new continue_state() function that also propagates the
2036         last return value from a state change to the app.
2037         Update some debug statements with proper category.
2038
2039 2005-11-03  Wim Taymans  <wim@fluendo.com>
2040
2041         * docs/design/part-events.txt:
2042         * docs/design/part-gstpipeline.txt:
2043         * docs/design/part-messages.txt:
2044         * docs/design/part-overview.txt:
2045         * docs/design/part-seeking.txt:
2046         * docs/design/part-states.txt:
2047         * docs/design/part-trickmodes.txt:
2048         * docs/manual/advanced-position.xml:
2049         Small docs updates.
2050
2051         * gst/gstobject.h:
2052         People think !! is ugly, this looks better.
2053
2054         * gst/gstpad.c: (gst_pad_set_blocked_async):
2055         Remove !! since it's fixed elsewhere now.
2056
2057 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2058
2059         * gst/gstminiobject.h:
2060         * gst/gstobject.h:
2061           Add !! to _FLAG_IS_SET macros to make the result boolean.
2062
2063 2005-11-03  Edward Hervey  <edward@fluendo.com>
2064
2065         * gst/gstpad.c: (gst_pad_set_blocked_async):
2066         comparing a flag and a gboolean rarely returns coherent results...
2067         Added two characters (!!) to make that work correctly.
2068         
2069 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2070
2071         * gst/gstbus.c: (gst_bus_class_init):
2072           Fix some typos.
2073           
2074         * gst/gstqueue.c: (gst_queue_loop):
2075           Don't assume a miniobject that isn't a buffer is an
2076           event (it could be that there is a refcounting
2077           problem somewhere and the pointer is stale and
2078           refers to an already destroyed miniobject).
2079
2080 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2081
2082         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2083
2084 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2085
2086         * docs/manual/advanced-position.xml:
2087           Update seek example and explanations to current 0.9 API.
2088
2089         * gst/elements/gsttypefindelement.c:
2090         (gst_type_find_element_activate):
2091           Remove FIXME comment now that the found caps
2092           are unreffed.
2093
2094 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2095
2096         * gst/gstregistryxml.c: (load_feature):
2097           Add another GST_STR_NULL instance
2098
2099 2005-11-02  Edward Hervey  <edward@fluendo.com>
2100
2101         * gst/gstpad.c: (handle_pad_block):
2102         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2103         
2104 2005-11-02  Wim Taymans  <wim@fluendo.com>
2105
2106         * gst/gstbin.c:
2107         Fix typo in docs.
2108
2109         * gst/gstelement.c: (gst_element_commit_state):
2110         Remove unused value.
2111
2112         * gst/gstiterator.c:
2113         Mention that the returned element is reffed in the docs.
2114
2115 2005-11-02  Wim Taymans  <wim@fluendo.com>
2116
2117         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2118         (gst_pad_push), (gst_pad_push_event):
2119         Unlock blocked pads when they are flushed.
2120
2121 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2122
2123         * docs/README:
2124         * docs/gst/gstreamer-sections.txt:
2125         * gst/gstbin.c:
2126           doc updates
2127         * gst/gstregistry.c: (gst_registry_scan_path_level):
2128           fix for a nasty little missed situation where an installed plug-in
2129           which was in the cache did not get overridden by an uninstalled one
2130           which was earlier in the plugin path because the newly created plugin
2131           for the uninstalled one (not in the registry) didn't get its
2132           ->registered set to TRUE
2133
2134 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2135
2136         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2137         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2138         (gst_collectpads_is_active), (gst_collectpads_collect),
2139         (gst_collectpads_collect_range), (gst_collectpads_start),
2140         (gst_collectpads_stop), (gst_collectpads_peek),
2141         (gst_collectpads_pop), (gst_collectpads_available),
2142         (gst_collectpads_read), (gst_collectpads_flush):
2143           Guard public API with assertions.
2144         
2145         * gst/gstpad.c:
2146           Fix docs for gst_pad_set_link_function().
2147
2148 2005-11-02  Johan Dahlin  <johan@gnome.org>
2149
2150         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2151         Unref found_caps after we used it.
2152
2153 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2154
2155         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2156           Don't try to ref NULL.
2157
2158 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2159
2160         * win32/common/config.h.in:
2161           provide a GST_FUNCTION that just gives a string for now
2162
2163 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2164
2165         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2166         (gst_object_flags_get_type), (register_gst_bin_flags),
2167         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2168         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2169         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2170         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2171         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2172         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2173         (gst_clock_flags_get_type), (register_gst_state),
2174         (gst_state_get_type), (register_gst_state_change_return),
2175         (gst_state_change_return_get_type), (register_gst_state_change),
2176         (gst_state_change_get_type), (register_gst_element_flags),
2177         (gst_element_flags_get_type), (register_gst_core_error),
2178         (gst_core_error_get_type), (register_gst_library_error),
2179         (gst_library_error_get_type), (register_gst_resource_error),
2180         (gst_resource_error_get_type), (register_gst_stream_error),
2181         (gst_stream_error_get_type), (register_gst_event_type),
2182         (gst_event_type_get_type), (register_gst_seek_type),
2183         (gst_seek_type_get_type), (register_gst_seek_flags),
2184         (gst_seek_flags_get_type), (register_gst_format),
2185         (gst_format_get_type), (register_gst_index_certainty),
2186         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2187         (gst_index_entry_type_get_type),
2188         (register_gst_index_lookup_method),
2189         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2190         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2191         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2192         (gst_index_flags_get_type), (register_gst_debug_level),
2193         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2194         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2195         (gst_iterator_result_get_type), (register_gst_iterator_item),
2196         (gst_iterator_item_get_type), (register_gst_message_type),
2197         (gst_message_type_get_type), (register_gst_mini_object_flags),
2198         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2199         (gst_pad_link_return_get_type), (register_gst_flow_return),
2200         (gst_flow_return_get_type), (register_gst_activate_mode),
2201         (gst_activate_mode_get_type), (register_gst_pad_direction),
2202         (gst_pad_direction_get_type), (register_gst_pad_flags),
2203         (gst_pad_flags_get_type), (register_gst_pad_presence),
2204         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2205         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2206         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2207         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2208         (gst_plugin_flags_get_type), (register_gst_rank),
2209         (gst_rank_get_type), (register_gst_query_type),
2210         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2211         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2212         (gst_tag_flag_get_type), (register_gst_task_state),
2213         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2214         (gst_alloc_trace_flags_get_type),
2215         (register_gst_type_find_probability),
2216         (gst_type_find_probability_get_type), (register_gst_uri_type),
2217         (gst_uri_type_get_type), (register_gst_parse_error),
2218         (gst_parse_error_get_type):
2219         * win32/common/gstversion.h:
2220           update win32 copies
2221
2222 2005-11-01  Luca Ognibene  <luogni@tin.it>
2223
2224         * gst/gst.c:
2225           fix docs. popt is dead, long live GOption.
2226
2227 2005-10-31  Wim Taymans  <wim@fluendo.com>
2228
2229         * gst/gstbuffer.h:
2230         Small doc fix.
2231
2232 2005-10-31  Andy Wingo  <wingo@pobox.com>
2233
2234         * Boo!
2235
2236         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2237
2238         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2239         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2240         the possibility of deadlocks here if code calling notify() or
2241         set() has a lock that can be taken in another notify handler (ABBA
2242         with class lock and e.g. python GIL state lock).
2243
2244 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2245
2246         * gst/gstbus.c: Doc updates.
2247
2248 2005-10-28  Wim Taymans  <wim@fluendo.com>
2249
2250         * docs/design/part-TODO.txt:
2251         * gst/gstiterator.c:
2252         * gst/gstsystemclock.c:
2253         * gst/gstsystemclock.h:
2254         Doc updates.
2255
2256 2005-10-28  Edward Hervey  <edward@fluendo.com>
2257
2258         * docs/gst/gstreamer-docs.sgml:
2259         * docs/gst/gstreamer-sections.txt:
2260         the GstURIType documentation page is private, it only defines GstURIType
2261         which should be defined in the GstURIHandler page
2262         
2263 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2264
2265         * gst/gstbin.c: (gst_bin_class_init):
2266         * gst/gstbin.h:
2267         * gst/gstutils.c:
2268         Documentation updates.
2269
2270 2005-10-28  Wim Taymans  <wim@fluendo.com>
2271
2272         * docs/gst/gstreamer-sections.txt:
2273         * gst/gstclock.c:
2274         * gst/gstclock.h:
2275         Documented the clocks.
2276
2277 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2278
2279         * docs/gst/gstreamer-sections.txt:
2280           move some macros to private sections
2281         * gst/gstminiobject.c:
2282         * gst/gstminiobject.h:
2283           add descriptions provided by ds and some more
2284         * gst/gstpad.h:
2285           mark macro as to be removed
2286
2287 2005-10-28  Wim Taymans  <wim@fluendo.com>
2288
2289         * docs/design/part-TODO.txt:
2290         Add an item to TODO.
2291
2292         * gst/gstiterator.c: (gst_iterator_fold),
2293         (gst_iterator_find_custom):
2294         * gst/gstiterator.h:
2295         Add iterator docs.
2296
2297 2005-10-28  Wim Taymans  <wim@fluendo.com>
2298
2299         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2300         (gst_base_transform_init):
2301         Don't leak class.
2302
2303         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2304         An EOS event marks the queue as completely filled.
2305
2306 2005-10-27  Wim Taymans  <wim@fluendo.com>
2307
2308         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2309         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2310         Some more debugging.
2311
2312         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2313         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2314         (gst_base_transform_event), (gst_base_transform_getrange),
2315         (gst_base_transform_chain):
2316         * gst/base/gstbasetransform.h:
2317         Fix debugging,
2318         Protect transform and concurrent buffer alloc with a new lock.
2319         Try not to break ABI/API.
2320
2321 2005-10-27  Wim Taymans  <wim@fluendo.com>
2322
2323         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2324         (gst_base_src_init), (gst_base_src_query),
2325         (gst_base_src_default_newsegment),
2326         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2327         (gst_base_src_send_event), (gst_base_src_event_handler),
2328         (gst_base_src_pad_get_range), (gst_base_src_loop),
2329         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2330         (gst_base_src_start), (gst_base_src_deactivate),
2331         (gst_base_src_activate_push), (gst_base_src_change_state):
2332         Move some stuff around and cleanup things.
2333
2334 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2335
2336         * gst/base/gstbasesrc.c: (gst_base_src_query):
2337           Add missing break statements.
2338
2339 2005-10-27  Wim Taymans  <wim@fluendo.com>
2340
2341         * check/gst/gstbin.c: (GST_START_TEST):
2342         An extra refcount is taken in basesrc.
2343
2344         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2345         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2346         (gst_base_src_loop):
2347         Small cleanups, check for flushing after being unlocked from the 
2348         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2349         Don't send out EOS when going to READY.
2350
2351 2005-10-27  Wim Taymans  <wim@fluendo.com>
2352
2353         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2354         (gst_base_sink_get_position):
2355         Some more debug.
2356
2357         * gst/gstbin.c: (message_check), (bin_replace_message),
2358         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2359         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2360         (bin_query_duration_init), (bin_query_duration_fold),
2361         (bin_query_duration_done), (bin_query_generic_fold),
2362         (gst_bin_query):
2363         * tools/gst-launch.c: (main):
2364         Remove old option.
2365
2366 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2367
2368         * examples/controller/audio-example.c: (main):
2369         * examples/queue/queue.c: (event_loop):
2370         * gst/base/gstbasetransform.h:
2371         * gst/gstelement.c: (gst_element_send_event):
2372         * gst/gstevent.h:
2373         * gst/gstpad.c: (gst_pad_send_event):
2374           fixing examples
2375           fixing docs typos
2376           changing log priority in error situations
2377
2378 2005-10-25  Wim Taymans  <wim@fluendo.com>
2379
2380         * gst/gstbin.c: (message_check), (bin_replace_message),
2381         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2382         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2383         (bin_query_duration_init), (bin_query_duration_fold),
2384         (bin_query_duration_done), (bin_query_generic_fold),
2385         (gst_bin_query):
2386         Some doc and debug updates.
2387         Cache previously requested query DURATION for speed. invalidate
2388         cached duration if element posts a DURATION message.
2389
2390 2005-10-25  Wim Taymans  <wim@fluendo.com>
2391
2392         * docs/design/part-TODO.txt:
2393         Update TODO.
2394
2395         * gst/gstbin.c: (message_check), (bin_replace_message),
2396         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2397         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2398         (bin_query_duration_init), (bin_query_duration_fold),
2399         (bin_query_duration_done), (bin_query_generic_fold),
2400         (gst_bin_query):
2401         Handle SEGMENT_START/DONE messages correctly.
2402         More evolved query algorithm that handles duration queries
2403         correctly.
2404
2405         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2406         (gst_element_get_state_func), (gst_element_abort_state),
2407         (gst_element_commit_state), (gst_element_lost_state):
2408         Some more debugging.
2409
2410         * gst/gstmessage.h:
2411         Added doc.
2412
2413 2005-10-25  Wim Taymans  <wim@fluendo.com>
2414
2415         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2416         Don't use invalid stream_time.
2417
2418         * gst/gstevent.c: (gst_event_new_newsegment):
2419         stream_time in newsegment cannot be undefined.
2420
2421 2005-10-24  Wim Taymans  <wim@fluendo.com>
2422
2423         * gst/gstbus.c:
2424         Doc fix.
2425
2426         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2427         (gst_queue_loop):
2428         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2429
2430 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2431
2432         * docs/libs/tmpl/gstdparam.sgml:
2433         * docs/libs/tmpl/gstdplinint.sgml:
2434         * docs/libs/tmpl/gstdpman.sgml:
2435         * docs/libs/tmpl/gstdpsmooth.sgml:
2436         * docs/libs/tmpl/gstunitconvert.sgml:
2437           these are obsolete
2438
2439 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2440
2441         * configure.ac:
2442           back to HEAD
2443
2444 === release 0.9.4 ===
2445
2446 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2447
2448         * configure.ac:
2449           releasing 0.9.4, "Tyrannosaurus Rex"
2450
2451 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2452
2453         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2454         (gst_file_sink_get_current_offset):
2455           Use fseeko() and ftello() if available. When falling back on
2456           lseek() to get the current offset, fflush() first to make sure
2457           everything is up-to-date and we get the right offset.
2458
2459 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2460
2461         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2462         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2463         * gst/gsterror.c: (_gst_stream_errors_init):
2464         * gst/gsterror.h:
2465         * gst/gstqueue.c: (gst_queue_loop):
2466         * po/POTFILES.in:
2467           remove prematurely added error category and clean up the instances
2468
2469 2005-10-21  Wim Taymans  <wim@fluendo.com>
2470
2471         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2472         (gst_base_sink_get_position), (gst_base_sink_query),
2473         (gst_base_sink_change_state):
2474         Simply set the right flag when going to playing, that's all
2475         we need to do instead of calling a function inside the object
2476         lock (that could take the lock as well and deadlock)
2477
2478 2005-10-21  Wim Taymans  <wim@fluendo.com>
2479
2480         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2481         (gst_base_src_loop):
2482         Don't warn, the peer element knows what to do best when
2483         the seek failed, it might try something else.
2484
2485 2005-10-21  Wim Taymans  <wim@fluendo.com>
2486
2487         * gst/base/gstbasesrc.c: (gst_base_src_init),
2488         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2489         Fix seeking.
2490
2491 2005-10-21  Wim Taymans  <wim@fluendo.com>
2492
2493         * docs/design/part-segments.txt:
2494         More docs.
2495
2496         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2497         Correctly set caps, even on the subbufer.
2498
2499 2005-10-21  Wim Taymans  <wim@fluendo.com>
2500
2501         * docs/gst/gstreamer-docs.sgml:
2502         * docs/gst/gstreamer-sections.txt:
2503         * gst/gstelement.h:
2504         * gst/gstevent.c:
2505         * gst/gstevent.h:
2506         * gst/gstmessage.h:
2507         * gst/gstpad.h:
2508         * gst/gstparse.h:
2509         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2510         * gst/gsttask.h:
2511         * gst/gstutils.c:
2512         * gst/gstutils.h:
2513         And 2% more doc coverage.
2514
2515 2005-10-21  Andy Wingo  <wingo@pobox.com>
2516
2517         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2518         position reporting.
2519
2520 2005-10-20  Wim Taymans  <wim@fluendo.com>
2521
2522         * gst/gsterror.c: (gst_error_get_message):
2523         * gst/gstparse.h:
2524         * gst/gstquery.h:
2525         * gst/gststructure.c:
2526         * gst/gsttrace.c:
2527         * gst/gstutils.c:
2528         More docs.
2529
2530 2005-10-20  Wim Taymans  <wim@fluendo.com>
2531
2532         * gst/gstbuffer.h:
2533         * gst/gstpad.c:
2534         * gst/gstparse.c:
2535         Another 1% more coverage.
2536
2537 2005-10-20  Wim Taymans  <wim@fluendo.com>
2538
2539         * docs/gst/gstreamer-sections.txt:
2540         * gst/gstelement.c: (gst_element_get_state_func),
2541         (gst_element_abort_state), (gst_element_commit_state),
2542         (gst_element_lost_state):
2543         * gst/gstevent.h:
2544         * gst/gstquery.c: (gst_query_set_position),
2545         (gst_query_parse_position), (gst_query_set_duration),
2546         (gst_query_parse_duration), (gst_query_new_convert):
2547         * gst/gstutils.c:
2548         Yay! 1% more docs coverage.
2549
2550 2005-10-20  Wim Taymans  <wim@fluendo.com>
2551
2552         * gst/gstpad.h:
2553         * gst/gstquery.c: (gst_query_set_position),
2554         (gst_query_parse_position), (gst_query_set_duration),
2555         (gst_query_parse_duration), (gst_query_new_convert):
2556         * gst/gstquery.h:
2557         * gst/gstutils.c: (gst_element_query_convert):
2558         * gst/gstutils.h:
2559         Docs and consistency fixes.
2560
2561 2005-10-20  Wim Taymans  <wim@fluendo.com>
2562
2563         * gst/gsttask.c:
2564         * gst/gsttask.h:
2565         More docs.
2566
2567 2005-10-20  Wim Taymans  <wim@fluendo.com>
2568
2569         * gst/gstbin.c: (message_check), (bin_replace_message),
2570         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2571         (update_degree), (gst_bin_sort_iterator_next),
2572         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2573         Reworked the message handling a bit, cache the messages instead of
2574         only the senders. alows us to do more in the future.
2575
2576 2005-10-20  Wim Taymans  <wim@fluendo.com>
2577
2578         * docs/design/part-TODO.txt:
2579         Update TODO
2580
2581         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2582         (gst_base_sink_query):
2583         Don't use clock time to report position when in EOS.
2584
2585 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2586
2587         * tools/gst-inspect.c: (print_interfaces),
2588         (print_element_properties_info), (print_element_info):
2589           Fix interface output with gst-inspect -a; don't print
2590           newlines after double/float properties.
2591
2592 2005-10-20  Wim Taymans  <wim@fluendo.com>
2593
2594         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2595         (gst_base_sink_query):
2596         Speed up current position calculation.
2597
2598         * gst/base/gstbasesrc.c: (gst_base_src_query),
2599         (gst_base_src_default_newsegment):
2600         Correctly set stream position in newsegment.
2601
2602         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2603         (update_degree), (gst_bin_sort_iterator_next),
2604         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2605         * gst/gstmessage.c: (gst_message_new_custom):
2606         Clean up debugging info
2607
2608         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2609         (gst_queue_loop), (gst_queue_handle_src_query):
2610         Pause task faster.
2611
2612 2005-10-19  Wim Taymans  <wim@fluendo.com>
2613
2614         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2615         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2616         Fix query handling again.
2617
2618 2005-10-19  Wim Taymans  <wim@fluendo.com>
2619
2620         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2621         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2622         * gst/base/gstbasesrc.c: (gst_base_src_query):
2623         * gst/elements/gstfilesink.c: (gst_file_sink_query):
2624         * gst/elements/gsttypefindelement.c:
2625         (gst_type_find_handle_src_query), (find_element_get_length),
2626         (gst_type_find_element_activate):
2627         API change fix.
2628
2629         * gst/gstquery.c: (gst_query_new_position),
2630         (gst_query_set_position), (gst_query_parse_position),
2631         (gst_query_new_duration), (gst_query_set_duration),
2632         (gst_query_parse_duration), (gst_query_set_segment),
2633         (gst_query_parse_segment):
2634         * gst/gstquery.h:
2635         Bundling query position/duration is not a good idea since duration
2636         does not change much and we don't want to recalculate it for every
2637         position query, so they are separated again..
2638         Base value in segment query is not needed.
2639
2640         * gst/gstqueue.c: (gst_queue_handle_src_query):
2641         * gst/gstutils.c: (gst_element_query_position),
2642         (gst_element_query_duration), (gst_pad_query_position),
2643         (gst_pad_query_duration):
2644         * gst/gstutils.h:
2645         Updates for query API change.
2646         Added some docs here and there.
2647
2648 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
2649
2650         * check/gst/gstbin.c: (GST_START_TEST):
2651         * check/gst/gstghostpad.c: (GST_START_TEST):
2652         * check/pipelines/cleanup.c: (GST_START_TEST):
2653           wait on thread to die so we can check refcount correctly
2654
2655 2005-10-18  Wim Taymans  <wim@fluendo.com>
2656
2657         * check/pipelines/stress.c: (GST_START_TEST):
2658         Make check a little more time consuming.
2659
2660 2005-10-18  Wim Taymans  <wim@fluendo.com>
2661
2662         * check/Makefile.am:
2663         * check/pipelines/stress.c: (GST_START_TEST),
2664         (simple_launch_lines_suite), (main):
2665         Small state change torture test.
2666
2667         * docs/design/part-states.txt:
2668         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2669         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2670         (gst_base_sink_change_state):
2671         Never take state lock from streaming thread, clean up ugly
2672         hacks. Unfortunatly core does not yet support nice ways to
2673         async commit state.
2674         
2675         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2676         (bin_bus_handler):
2677         Start state recalc if a STATE_DIRTY message is posted, but only
2678         on the toplevel bin.
2679
2680         * gst/gstelement.c: (gst_element_sync_state_with_parent),
2681         (gst_element_get_state_func), (gst_element_abort_state),
2682         (gst_element_commit_state), (gst_element_lost_state),
2683         (gst_element_set_state_func), (gst_element_change_state):
2684         * gst/gstelement.h:
2685         State variables are now protected with the LOCK, the state
2686         lock is only used to serialize _set_state().
2687
2688 2005-10-18  Wim Taymans  <wim@fluendo.com>
2689
2690         * check/gst/gstbin.c: (GST_START_TEST):
2691         * check/gst/gstmessage.c: (GST_START_TEST):
2692         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2693         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2694         (bin_bus_handler):
2695         * gst/gstelement.c: (gst_element_abort_state),
2696         (gst_element_commit_state), (gst_element_lost_state):
2697         * gst/gstmessage.c: (gst_message_new_state_changed),
2698         (gst_message_new_state_dirty), (gst_message_new_segment_start),
2699         (gst_message_new_segment_done), (gst_message_new_duration),
2700         (gst_message_parse_state_changed),
2701         (gst_message_parse_segment_start),
2702         (gst_message_parse_segment_done), (gst_message_parse_duration):
2703         * gst/gstmessage.h:
2704         * tools/gst-launch.c: (event_loop):
2705         Seriously, this is better than a previous commit as we only need
2706         to notify the fact that an element changed state in a streaming
2707         thread, marking the state of the parents dirty, hence the 
2708         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2709         message.
2710
2711 2005-10-18  Wim Taymans  <wim@fluendo.com>
2712
2713         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2714         (gst_bin_recalc_func):
2715         * gst/gstelement.c: (gst_element_set_clock),
2716         (gst_element_abort_state), (gst_element_lost_state):
2717         Cleanups, prepare for state change fixes.
2718
2719 2005-10-18  Wim Taymans  <wim@fluendo.com>
2720
2721         * gst/gstbin.h:
2722         * gst/gstelement.c: (gst_element_class_init),
2723         (gst_element_set_state), (gst_element_set_state_func):
2724         * gst/gstelement.h:
2725         Pending ABI changes.
2726         GThreadPool in GstBinClass to monitor async state changes.
2727         state_cookie in GstElement to detect concurrent gst/set state.
2728         set_state is now virtual too in case a very complicated element
2729         has to be constructed.
2730
2731 2005-10-18  Wim Taymans  <wim@fluendo.com>
2732
2733         * check/gst/gstbin.c: (GST_START_TEST):
2734         * check/gst/gstmessage.c: (GST_START_TEST):
2735         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2736         * gst/gstbin.c: (bin_bus_handler):
2737         * gst/gstelement.c: (gst_element_commit_state),
2738         (gst_element_lost_state):
2739         * gst/gstmessage.c: (gst_message_new_state_changed),
2740         (gst_message_new_segment_start), (gst_message_new_segment_done),
2741         (gst_message_new_duration), (gst_message_parse_state_changed),
2742         (gst_message_parse_segment_start),
2743         (gst_message_parse_segment_done), (gst_message_parse_duration):
2744         * gst/gstmessage.h:
2745         * tools/gst-launch.c: (event_loop):
2746         Make messages future proof.
2747         state-change gets a flag if it was a message comming from the
2748         streaming thread.
2749         segment-start/stop can also be specified in other formats.
2750         A message to notify an app that a pipeline changed playback 
2751         duration.
2752         Also fix a GstMessage leak in -launch
2753
2754 2005-10-18  Andy Wingo  <wingo@pobox.com>
2755
2756         * gst/gstelement.c (gst_element_dispose): More helpful message.
2757
2758 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2759
2760         reviewed by: <delete if not using a buddy>
2761
2762         * common/gtk-doc.mak:
2763
2764 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2765
2766         * gst/gstregistry.c: (gst_registry_scan_path_level):
2767           unref a plug-in we get that was already initialized
2768
2769 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
2770
2771         * docs/gst/gstreamer-sections.txt:
2772         * docs/libs/gstreamer-libs-sections.txt:
2773         * gst/gstelement.h:
2774           add new api entries
2775           hide internal macro
2776
2777 2005-10-17  Andy Wingo  <wingo@pobox.com>
2778
2779         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2780         cleanup.
2781
2782         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2783
2784         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2785
2786         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2787         (gst_element_get_state_func): Better debug message.
2788         (gst_element_commit_state): s/INFO/DEBUG/.
2789         (gst_element_lost_state, gst_element_change_state): 
2790
2791         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2792         (gst_message_new_custom): s/INFO/LOG/.
2793
2794 2005-10-17  Michael Smith <msmith@fluendo.com>
2795
2796         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2797           Check if end time is valid using end time, not start time.
2798
2799 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
2800
2801         * check/gst-libs/controller.c: (GST_START_TEST),
2802         (gst_controller_suite):
2803         * libs/gst/controller/gstcontroller.c:
2804         (gst_controlled_property_set_interpolation_mode):
2805         * libs/gst/controller/gstcontroller.h:
2806         * libs/gst/controller/gstinterpolation.c:
2807         * testsuite/controller/.cvsignore:
2808         * testsuite/controller/Makefile.am:
2809         * testsuite/controller/interpolator.c:
2810           merge controller testsuites
2811           fix broken tests
2812           remove mem-chunk from docs
2813
2814 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2815
2816         * gst/gstmemchunk.c:
2817         * gst/gstmemchunk.h:
2818         * gst/gsttrashstack.c:
2819         * gst/gsttrashstack.h:
2820           out.  get out.  you're fired.  to the Attic !
2821
2822 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2823
2824         * gst/gstcaps.c: (gst_caps_intersect):
2825           fix signedness issues in a (hopefully) correct way
2826         * gst/gstelement.c: (gst_element_pads_activate):
2827           some debugging
2828         * gst/gstobject.c: (gst_object_set_parent):
2829           some debugging
2830
2831 2005-10-17  Julien MOUTTE  <julien@moutte.net>
2832
2833         * gst/gstvalue.h: Fix prototypes.
2834
2835 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2836
2837         * docs/gst/gstreamer-sections.txt:
2838         * gst/gst.c: (gst_version_string):
2839         * gst/gst.h:
2840         * gst/gstversion.h.in:
2841         * win32/common/libgstreamer.def:
2842           add gst_version_string ()
2843
2844 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2845
2846         * configure.ac:
2847           clean up further
2848         * gst/gst.c: (init_post):
2849         * win32/common/config.h.in:
2850           it's PLUGINDIR now
2851         * gst/gstcaps.c: (gst_caps_intersect):
2852           use gint64, the range could be bigger than a guint
2853
2854 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2855
2856         * gst/gstclock.h:
2857           document potential problem in 2038
2858
2859 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2860
2861         * gst/gstcaps.c: (gst_caps_intersect):
2862           Fix guint j diving under 0
2863
2864 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2865
2866         * configure.ac:
2867         * win32/common/config.h:
2868         * win32/common/config.h.in:
2869           check for process.h, declares getpid() on Windows
2870         * gst/gstinfo.c:
2871           include process.h if we have it
2872         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2873         * gst/gstmemchunk.h:
2874           fix signedness issues
2875         * win32/common/libgstreamer.def:
2876           fix get_type's
2877
2878 2005-10-16  Julien MOUTTE  <julien@moutte.net>
2879
2880         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2881         fix. Because of unsigned ints, caps intersection was going nuts and
2882         trying to access structures with G_MAXUINT index. That fixes
2883         videotestsrc ! ffmpegcolorspace ! fakesink
2884         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2885         consistency.
2886
2887 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2888
2889         * configure.ac:
2890           use the gettext macro
2891         * gst/elements/gstelements.c:
2892         * gst/gst.c:
2893         * gst/indexers/gstindexers.c:
2894           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2895         * win32/common/config.h:
2896           updated config.h
2897         * win32/common/config.h.in:
2898           add the template to generate config.h
2899         * win32/common/gstenumtypes.c:
2900         * win32/common/gstversion.h:
2901           updated copies
2902
2903 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2904
2905         * gst/gst.c: (gst_version):
2906         * gst/gstversion.h.in:
2907           add the nano
2908
2909 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2910
2911         * gst/gstevent.h:
2912           Oops, add missing closing bracket.
2913
2914 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2915
2916         * configure.ac:
2917           use common m4's for argument checking
2918
2919 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2920
2921         * docs/gst/gstreamer-sections.txt:
2922         * gst/gstevent.h:
2923           Add GST_EVENT_TYPE_NAME() macro.
2924
2925 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2926
2927         * gst/gstinfo.c:
2928         * gst/gstpluginfeature.c:
2929         * gst/gsttask.c:
2930           privatize more symbols
2931
2932 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2933
2934         * configure.ac:
2935           add srcdir, builddir includes to GST_ALL_CFLAGS, since
2936           everything that uses GStreamer API should have the includes
2937
2938 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2939
2940         * docs/gst/gstreamer-sections.txt:
2941         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2942         * gst/gstvalue.h:
2943           give each value a _get_type, removes the DATA exports
2944
2945 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2946
2947         * gst/gst.c:
2948         * gst/gst.h:
2949           remove _gst_registry_auto_load, not used anymore
2950         * gst/gstbin.c: (gst_bin_get_type):
2951         * gst/gstbin.h:
2952         * gst/gstelement.c: (gst_element_get_type):
2953         * gst/gstelement.h:
2954         * gst/gstobject.c: (gst_object_get_type):
2955         * gst/gstobject.h:
2956         * gst/gstpad.c: (gst_pad_get_type):
2957         * gst/gstpad.h:
2958           make _get_type functions similar, fixes data export from library
2959
2960 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2961
2962         * configure.ac:
2963           correctly make conditionals
2964         * gst/elements/Makefile.am:
2965         * gst/elements/gstelements.c:
2966           fix typo causing fdsrc not to build
2967
2968 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2969
2970         * testsuite/Makefile.am:
2971         * testsuite/bytestream/.cvsignore:
2972         * testsuite/bytestream/Makefile.am:
2973         * testsuite/bytestream/filepadsink.c:
2974         * testsuite/bytestream/gstbstest.c:
2975         * testsuite/bytestream/test1.c:
2976         * testsuite/bytestream/testfile1:
2977         * testsuite/caps/normalisation.c:
2978         * testsuite/caps/random.c: (main):
2979         * testsuite/cleanup/.cvsignore:
2980         * testsuite/cleanup/Makefile.am:
2981         * testsuite/cleanup/cleanup1.c:
2982         * testsuite/cleanup/cleanup2.c:
2983         * testsuite/cleanup/cleanup3.c:
2984         * testsuite/cleanup/cleanup4.c:
2985         * testsuite/cleanup/cleanup5.c:
2986         * testsuite/controller/interpolator.c:
2987         * testsuite/debug/printf_extension.c: (main):
2988         * testsuite/elements/tee.c:
2989         * testsuite/negotiation/.cvsignore:
2990         * testsuite/negotiation/Makefile.am:
2991         * testsuite/negotiation/pad_link.c:
2992         * testsuite/pad/Makefile.am:
2993         * testsuite/pad/chainnopull.c:
2994         * testsuite/pad/getnopush.c:
2995         * testsuite/pad/link.c:
2996         * testsuite/refcounting/sched.c: (create_pipeline):
2997         * testsuite/registry/Makefile.am:
2998         * testsuite/registry/gst-print-formats.c:
2999         * testsuite/schedulers/.cvsignore:
3000         * testsuite/schedulers/142183-2.c:
3001         * testsuite/schedulers/142183.c:
3002         * testsuite/schedulers/143777-2.c:
3003         * testsuite/schedulers/143777.c:
3004         * testsuite/schedulers/147713.c:
3005         * testsuite/schedulers/147819.c:
3006         * testsuite/schedulers/147894-2.c:
3007         * testsuite/schedulers/147894.c:
3008         * testsuite/schedulers/Makefile.am:
3009         * testsuite/schedulers/group_link.c:
3010         * testsuite/schedulers/queue_link.c:
3011         * testsuite/schedulers/relink.c:
3012         * testsuite/schedulers/unlink.c:
3013         * testsuite/schedulers/unref.c:
3014         * testsuite/schedulers/useless_iteration.c:
3015         * testsuite/states/bin.c:
3016           clean out/remove some stuff from the testsuite directories
3017
3018 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3019
3020         * configure.ac:
3021           check for some headers
3022         * gst/elements/Makefile.am:
3023         * gst/elements/gstelements.c:
3024           don't compile fdsrc without sys/socket.h
3025         * gst/indexers/Makefile.am:
3026         * gst/indexers/gstindexers.c: (plugin_init):
3027           don't compile fileindex without mmap
3028
3029 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3030
3031         * configure.ac:
3032           reorganize
3033           clean up
3034           document more
3035           remove cruft
3036         * check/Makefile.am:
3037         * docs/gst/Makefile.am:
3038         * examples/helloworld/Makefile.am:
3039         * gst/Makefile.am:
3040         * gst/base/Makefile.am:
3041         * gst/check/Makefile.am:
3042         * gst/elements/Makefile.am:
3043         * gst/indexers/Makefile.am:
3044         * gst/parse/Makefile.am:
3045         * libs/gst/controller/Makefile.am:
3046         * libs/gst/dataprotocol/Makefile.am:
3047         * examples/helloworld/helloworld.c: (event_loop):
3048           compile fixes, though it's not being compiled currently
3049
3050 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3051
3052         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3053           Add some simple tests for the new taglist date API.
3054
3055 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3056
3057         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3058         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3059           Beautify 'last-message' output: print 'none' for buffer timestamps
3060           and durations if none is set; improve alignment with next messages.
3061
3062 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3063
3064         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3065         * gst/gstpluginfeature.h:
3066         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3067         * gst/gstregistry.h:
3068         * docs/gst/gstreamer-sections.txt:
3069           Add new API to check plugin feature version requirements.
3070
3071         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3072           Some basic tests for the above.         
3073
3074 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3075
3076         * gst/gststructure.c: (gst_structure_to_string):
3077           guard against NULL printf - happens when for example
3078           a message structure with GstClock gets serialized
3079
3080 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3081
3082         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3083           Fix presumable copy'n'pasto.
3084
3085 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3086
3087         * gst/elements/gstfakesrc.h:
3088         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3089         * gst/elements/gsttypefindelement.c:
3090           fix some signedness
3091         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3092           I wonder if this could actually write +2GB files before
3093
3094 2005-10-13  Andy Wingo  <wingo@pobox.com>
3095
3096         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3097         Fix Timmeke Waymans bug.
3098         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3099         string of the proper length to gst_caps_from_string. There's a
3100         potential for, before this fix, that this could cause someone
3101         connecting over the network to cause a segfault if the payload is
3102         not NUL-terminated.
3103
3104 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3105
3106         * docs/design/draft-push-pull.txt:
3107         * docs/design/part-overview.txt:
3108         * docs/random/TODO-pre-0.9:
3109         * docs/random/old/ChangeLog.gstreamer:
3110         * gst/base/gstpushsrc.c:
3111         * gst/gstclock.c:
3112           fixed typos
3113
3114 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3115
3116         * gst/glib-compat.c: (gst_flags_get_first_value):
3117         * gst/glib-compat.h:
3118         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3119         (gst_value_compare_double), (gst_value_serialize_flags):
3120           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3121           infinite loop
3122
3123 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3124
3125         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3126         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3127           fix up debugging
3128         * tools/gst-launch.c: (event_loop):
3129           print out clock nicely
3130
3131 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3132
3133         * docs/gst/gstreamer-sections.txt:
3134         * gst/gsttaglist.h:
3135         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3136         (gst_tag_list_get_date_index):
3137           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3138           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3139
3140 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3141
3142         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3143         (gst_collectpads_chain):
3144         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3145         in CollectData.
3146
3147 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3148
3149         * docs/gst/gstreamer-sections.txt:
3150         * gst/gst.c:
3151         * gst/gsterror.h:
3152         * tools/gst-inspect.c: (main):
3153         * tools/gst-launch.c: (main):
3154         * tools/gst-run.c: (main):
3155         * tools/gst-xmlinspect.c: (main):
3156           fix GOption context leaks
3157           doc fixes
3158
3159 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3160
3161         * gst/gstbus.c:
3162           use HAVE_UNISTD_H
3163         * win32/common/config.h:
3164           update config
3165         * win32/vs6/grammar.dsp:
3166         * win32/vs6/libgstelements.dsp:
3167         * win32/vs6/libgstreamer.dsp:
3168           update vs6 files
3169
3170 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3171
3172         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3173         * gst/base/gstbasesrc.c: (gst_base_src_query):
3174           fix more guint64<->gdouble conversions
3175
3176 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3177
3178         * Makefile.am:
3179           add win32-update target
3180         * win32/common/gstconfig.h:
3181         * win32/common/gstenumtypes.c:
3182         * win32/common/gstenumtypes.h:
3183         * win32/common/gstversion.h:
3184           add files that visual studio can't generate
3185
3186 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3187
3188         * Makefile.am:
3189           add a win32-update target
3190         * configure.ac:
3191
3192 2005-10-12  Wim Taymans  <wim@fluendo.com>
3193
3194         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3195         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3196         * gst/gstelement.c: (gst_element_commit_state),
3197         (gst_element_set_state):
3198         Protect flags with proper lock.
3199         unref provided cached clock in dispose.
3200
3201 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3202
3203         * gst/gst.c:
3204         * gst/gstminiobject.h:
3205         * gst/gstpad.h:
3206         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3207           removed unused flags from miniobject
3208           doc fixes
3209
3210 2005-10-12  Wim Taymans  <wim@fluendo.com>
3211
3212         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3213         (gst_file_sink_event), (gst_file_sink_render):
3214         Flush before seeking.
3215
3216 2005-10-12  Andy Wingo  <wingo@pobox.com>
3217
3218         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3219         always been the case.
3220
3221 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3222
3223         * check/gst/gstbin.c: (GST_START_TEST):
3224         * docs/gst/gstreamer-sections.txt:
3225         * gst/base/gstbasesink.c: (gst_base_sink_init):
3226         * gst/base/gstbasesrc.c: (gst_base_src_init),
3227         (gst_base_src_get_range), (gst_base_src_check_get_range),
3228         (gst_base_src_start), (gst_base_src_stop):
3229         * gst/base/gstbasesrc.h:
3230         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3231         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3232         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3233         (bin_bus_handler):
3234         * gst/gstbin.h:
3235         * gst/gstbuffer.h:
3236         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3237         * gst/gstbus.h:
3238         * gst/gstelement.c: (gst_element_is_locked_state),
3239         (gst_element_set_locked_state), (gst_element_commit_state),
3240         (gst_element_set_state):
3241         * gst/gstelement.h:
3242         * gst/gstindex.c: (gst_index_init):
3243         * gst/gstindex.h:
3244         * gst/gstminiobject.h:
3245         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3246         (gst_object_set_parent):
3247         * gst/gstobject.h:
3248         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3249         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3250         * gst/gstpad.h:
3251         * gst/gstpadtemplate.h:
3252         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3253         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3254         * gst/gstpipeline.h:
3255         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3256         (gst_file_index_commit):
3257         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3258         * testsuite/pad/link.c: (gst_test_src_init),
3259         (gst_test_filter_init), (gst_test_sink_init):
3260         * testsuite/states/locked.c: (main):
3261           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3262           moved bitshift from macro to enum definition
3263
3264 2005-10-12  Wim Taymans  <wim@fluendo.com>
3265
3266         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3267         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3268         (gst_file_sink_render):
3269         Some more debugging info.
3270
3271 2005-10-12  Wim Taymans  <wim@fluendo.com>
3272
3273         * docs/design/part-states.txt:
3274         * tools/gst-launch.c: (main):
3275         Some doc updates.
3276         Revert non-intentional change.
3277
3278 2005-10-12  Wim Taymans  <wim@fluendo.com>
3279
3280         * check/gst/gstbin.c: (GST_START_TEST):
3281         * check/gst/gstelement.c: (GST_START_TEST):
3282         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3283         * check/gst/gstghostpad.c: (GST_START_TEST):
3284         * check/gst/gstpipeline.c: (GST_START_TEST):
3285         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3286         * check/states/sinks.c: (GST_START_TEST):
3287         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3288         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3289         (gst_bin_remove_func), (gst_bin_get_state_func),
3290         (gst_bin_recalc_state), (gst_bin_change_state_func),
3291         (bin_bus_handler):
3292         * gst/gstelement.c: (gst_element_get_state_func),
3293         (gst_element_get_state), (gst_element_abort_state),
3294         (gst_element_commit_state), (gst_element_set_state),
3295         (gst_element_change_state), (gst_element_change_state_func):
3296         * gst/gstelement.h:
3297         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3298         (gst_pipeline_provide_clock_func):
3299         * gst/gstutils.c: (gst_element_link_pads_filtered):
3300         * tools/gst-launch.c: (main):
3301         * tools/gst-typefind.c: (main):
3302         Use GstClockTime in _get_state() instead of GTimeVal.
3303         Remove old code in gstutils.c
3304
3305 2005-10-12  Andy Wingo  <wingo@pobox.com>
3306
3307         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3308         removed.
3309
3310         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3311         there is no task. Shouldn't affect any code, as nothing in our
3312         plugins checks this return value.
3313         (gst_pad_stop_task): Also take the stream lock if the pad has no
3314         task. Docs updated.
3315
3316 2005-10-12  Wim Taymans  <wim@fluendo.com>
3317
3318         * gst/gstpad.c: (pre_activate), (post_activate),
3319         (gst_pad_activate_pull), (gst_pad_activate_push):
3320         Cleanup activation code. Reset old state if
3321         activation failed.
3322
3323 2005-10-12  Wim Taymans  <wim@fluendo.com>
3324
3325         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3326         (gst_base_sink_change_state):
3327         No need to prerol after receiving EOS.
3328
3329         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3330         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3331         * gst/elements/gstidentity.c: (gst_identity_event):
3332         Print events more verbosely.
3333
3334 2005-10-12  Wim Taymans  <wim@fluendo.com>
3335
3336         * check/Makefile.am:
3337         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3338         * check/states/sinks2.c:
3339         Moved sinks2 testcode in sinks check.
3340
3341         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3342         (gst_bin_remove_func), (gst_bin_recalc_state),
3343         (gst_bin_change_state_func), (bin_bus_handler):
3344         Fix potential race condition when _get_state() iterated over an
3345         ASYNC element right before it posted a state completion.
3346
3347         * gst/gstclock.h:
3348         Do proper cast here.
3349
3350         * gst/gstevent.c: (gst_event_new_newsegment),
3351         (gst_event_parse_newsegment):
3352         A playback rate of 0.0 is not allowed.
3353
3354 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3355
3356         * win32/common/config.h:
3357         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3358         (_trewinddir), (_ttelldir), (_tseekdir):
3359         * win32/common/dirent.h:
3360         * win32/common/gtchar.h:
3361         * win32/common/libgstbase.def:
3362         * win32/common/libgstreamer.def:
3363         * win32/vs6/grammar.dsp:
3364         * win32/vs6/gst_inspect.dsp:
3365         * win32/vs6/gst_launch.dsp:
3366         * win32/vs6/gstreamer.dsw:
3367         * win32/vs6/libgstbase.dsp:
3368         * win32/vs6/libgstelements.dsp:
3369         * win32/vs6/libgstreamer.dsp:
3370           Visual Studio 6 project files, and a new common directory.
3371           Phear.
3372
3373 2005-10-11  Wim Taymans  <wim@fluendo.com>
3374
3375         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3376         (gst_base_sink_do_sync), (gst_base_sink_query),
3377         (gst_base_sink_change_state):
3378         * gst/base/gstbasesink.h:
3379         Correctly parse newsegment info.
3380
3381 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3382
3383         * gst/gst.c: (init_post):
3384           split plugin paths correctly
3385
3386 2005-10-11  Wim Taymans  <wim@fluendo.com>
3387
3388         * check/gst/gstevent.c: (GST_START_TEST):
3389         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3390         (gst_base_sink_change_state):
3391         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3392         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3393         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3394         * gst/gstevent.c: (gst_event_new_newsegment),
3395         (gst_event_parse_newsegment):
3396         * gst/gstevent.h:
3397         Added extra flag to newsegment for future API freeze.
3398         Updated check and base elements.
3399
3400 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3401
3402         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3403         (gst_collectpads_add_pad), (gst_collectpads_pop),
3404         (gst_collectpads_event), (gst_collectpads_chain):
3405         * gst/base/gstcollectpads.h: Handle EOS correctly.
3406
3407 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3408
3409         * tools/gst-launch.c: (main):
3410           more null protecting
3411
3412 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3413
3414         * gst/gst-i18n-lib.h:
3415           check for ENABLE_NLS, not GETTEXT_PACKAGE
3416         * gst/gstregistry.c: (gst_registry_add_plugin),
3417         (gst_registry_scan_path_level),
3418         (_gst_registry_remove_cache_plugins):
3419           protect possibly NULL strings
3420         * gst/parse/types.h:
3421           config.h already included before
3422         * tools/gst-inspect.c: (main):
3423           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3424           check for ENABLE_NLS, not GETTEXT_PACKAGE
3425         * tools/gst-launch.c: (main):
3426           check for ENABLE_NLS, not GETTEXT_PACKAGE
3427
3428 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3429
3430         * configure.ac:
3431           if we don't have glib, fail before testing 2.8
3432         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3433           fix a leak, should fix plugins-base testsuite
3434
3435 2005-10-11  Andy Wingo  <wingo@pobox.com>
3436
3437         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3438         take the mode we're going to as an arg. Go head and set the mode
3439         and flushing flags now, so that if the activate function starts a
3440         thread all the flags will be in the right state.
3441         (post_activate): Renamed also. Just handle making sure streaming
3442         finishes for the deactivation case, and setting the deactivated
3443         mode.
3444         (gst_pad_set_active): Complain loudly if deactivation fails.
3445         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3446         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3447         remove the terrible hack.
3448
3449 2005-10-11  Wim Taymans  <wim@fluendo.com>
3450
3451         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3452         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3453         (gst_bin_recalc_state), (gst_bin_change_state_func),
3454         (gst_bin_dispose), (bin_bus_handler):
3455         * gst/gstbin.h:
3456         Prepare to make current EOS message queue more generic.
3457         Fix some typos.
3458
3459         * gst/gstevent.c: (gst_event_new_newsegment),
3460         (gst_event_parse_newsegment):
3461         * gst/gstevent.h:
3462         Rename base to stream_time.
3463
3464         * gst/gstmessage.h:
3465         Fix typo in docs.
3466
3467 2005-10-11  Wim Taymans  <wim@fluendo.com>
3468
3469         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3470         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3471         (gst_bin_change_state_func), (bin_bus_handler):
3472         * gst/gstbin.h:
3473         Work on proper clock selection.
3474
3475 2005-10-11  Edward Hervey  <edward@fluendo.com>
3476
3477         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3478         * libs/gst/controller/gstcontroller.h:
3479         Added GList* version of _remove_properties() in order to be able to wrap
3480         it in bindings.
3481
3482 2005-10-11  Wim Taymans  <wim@fluendo.com>
3483
3484         * docs/design/part-states.txt:
3485         Some more docs.
3486
3487         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3488         (gst_bin_change_state_func), (bin_bus_handler):
3489         Doc updates. Don't distribute the same clock over and over again.
3490
3491         * gst/gstclock.c:
3492         * gst/gstclock.h:
3493         Doc updates.
3494
3495         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3496         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3497         (gst_pad_send_event):
3498         * gst/gstpad.h:
3499         Make probe emission threadsafe again.
3500         Register quarks and move _get_name() from utils.
3501         Doc updates.
3502
3503         * gst/gstpipeline.c: (gst_pipeline_class_init),
3504         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3505         Only redistribute the clock of it changed.
3506
3507         * gst/gstsystemclock.h:
3508         Doc updates. 
3509
3510         * gst/gstutils.c:
3511         * gst/gstutils.h:
3512         Moved the _flow_get_name() to GstPad.
3513
3514 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3515
3516         * check/gst-libs/gdp.c: (GST_START_TEST):
3517         * check/gst/gstcaps.c: (GST_START_TEST):
3518         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3519         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3520         (gst_dp_packet_from_caps):
3521           fix more valgrind warnings before turning up the heat
3522
3523 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3524
3525         * gst/parse/grammar.y:
3526           some cleanup before the hacking
3527
3528 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3529
3530         * gst/base/gstbasesrc.c: (gst_base_src_query):
3531           use conversions
3532         * gst/gstutils.c: (gst_guint64_to_gdouble),
3533         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3534         * gst/gstutils.h:
3535           externalize, basesrc uses it
3536           obviously the implementation needs testing
3537
3538 2005-10-10  Wim Taymans  <wim@fluendo.com>
3539
3540         * tests/sched/Makefile.am:
3541         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3542         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3543
3544 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3545
3546         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3547           apparently converting from guint64 to double is not implemented
3548           on MSVC
3549
3550 2005-10-10  Wim Taymans  <wim@fluendo.com>
3551
3552         * check/Makefile.am:
3553         * check/generic/states.c: (GST_START_TEST):
3554         * check/gst/gstbin.c: (GST_START_TEST):
3555         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3556         * check/states/sinks.c: (GST_START_TEST):
3557         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3558         (main):
3559         Check fixes, use API as stated in design docs, remove hacks.
3560
3561         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3562         (gst_base_sink_change_state):
3563         Catch stopping our task while we're shutting down.
3564
3565         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3566         (gst_bin_remove_func), (gst_bin_get_state_func),
3567         (gst_bin_recalc_state), (gst_bin_change_state_func),
3568         (bin_bus_handler):
3569         * gst/gstbin.h:
3570         * gst/gstelement.c: (gst_element_init),
3571         (gst_element_get_state_func), (gst_element_abort_state),
3572         (gst_element_commit_state), (gst_element_lost_state),
3573         (gst_element_set_state), (gst_element_change_state),
3574         (gst_element_change_state_func):
3575         * gst/gstelement.h:
3576         New state change algorithm (see #318116)
3577
3578         * gst/gstpipeline.c: (gst_pipeline_class_init),
3579         (gst_pipeline_init), (gst_pipeline_set_property),
3580         (gst_pipeline_get_property), (do_pipeline_seek),
3581         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3582         * gst/gstpipeline.h:
3583         Remove crude state change hacks.
3584
3585         * gst/gstutils.h:
3586         Remove crude hacks.
3587
3588         * tools/gst-launch.c: (main):
3589         Fixes for state change. Needs some more work to fully use the
3590         new stuff.
3591
3592 2005-10-10  Andy Wingo  <wingo@pobox.com>
3593
3594         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3595
3596         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3597         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3598         issue.
3599
3600 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3601
3602         * gst/gstiterator.c: (gst_iterator_new):
3603           Fix my previous commit: GTypes passed to gst_iterator_new()
3604           can be fundamental types.
3605
3606 2005-10-10  Wim Taymans  <wim@fluendo.com>
3607
3608         * gst/gstelement.c: (gst_element_iterate_pad_list),
3609         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3610         (gst_element_iterate_sink_pads):
3611         Use src/sink pads lists for the respective iterators instead
3612         of filtering.
3613
3614 2005-10-10  Andy Wingo  <wingo@pobox.com>
3615
3616         Merged in popt removal + GOption addition patch from Ronald, bug
3617         #169772.
3618
3619         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3620         GstElement macros around, remove popt-related symbols, add goption
3621         stuff.
3622
3623         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3624         
3625         * docs/gst/Makefile.am:
3626         * docs/libs/Makefile.am: No POPT_CFLAGS.
3627         
3628         * examples/manual/Makefile.am:
3629         * docs/manual/basics-init.xml: Doc updates with an example.
3630         
3631         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3632         (gst_init), (parse_one_option), (parse_goption_arg):
3633         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3634         bit of hand merging and debugging to get the GOption stuff working
3635         tho.
3636         
3637         * tests/Makefile.am:
3638         * tools/Makefile.am:
3639         * tools/gst-inspect.c: (main):
3640         * tools/gst-launch.c: (main):
3641         * tools/gst-run.c: (main):
3642         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3643
3644 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3645
3646         * gst/gstiterator.c: (gst_iterator_new):
3647           Add assertions to make sure passed GType is likely to really
3648           be a GType (as the compiler won't catch it if the size and
3649           GType arguments get mixed up, see #318447).
3650
3651 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
3652
3653         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3654
3655         * gst/gstbin.c: (gst_bin_iterate_sorted):
3656           Pass GType and size arguments to gst_iterator_new() in the right
3657           order (maybe we should make _new() take the GType as first argument
3658           just like _new_list()?) (#318447).
3659           
3660
3661 2005-10-10  Wim Taymans  <wim@fluendo.com>
3662
3663         * gst/gstelement.c: (gst_element_finalize):
3664         And free the GStaticRecMutex too
3665
3666 2005-10-10  Andy Wingo  <wingo@pobox.com>
3667
3668         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3669         Allocate and free the mutex properly.
3670
3671         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3672         New macros.
3673         (GstElement): The state_lock is now recursive. Rebuild your
3674         plugins, suckers. Old macros adapted.
3675
3676         * docs/gst/gstreamer-sections.txt: Doc updates.
3677
3678         * gst/gstutils.h:
3679         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
3680         (g_static_rec_cond_wait): Ported from state changes patch, while
3681         we wait on bug #317802 to be solved in a well-distributed GLib.
3682
3683         * gst/gstelement.c (gst_element_change_state_func): Renamed from
3684         gst_element_change_state, variable name changes.
3685         (gst_element_change_state): Split out of gst_element_set_state in
3686         preparation for the state change merge. Doesn't pay attention to
3687         the 'transition' argument.
3688         (gst_element_set_state): Updates, hopefully purely cosmetic.
3689         (gst_element_sync_state_with_parent): MT-safety. Ported from the
3690         state change patch.
3691         (gst_element_get_state_func): Renamed from get_state, cosmetic
3692         changes.
3693
3694 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3695
3696         * gst/elements/gstelements.c:
3697         * win32/GStreamer.vcproj:
3698         * win32/config.h:
3699         * win32/dirent.c: (_tseekdir):
3700         * win32/gst-inspect.vcproj:
3701         * win32/gst-launch.vcproj:
3702         * win32/gstconfig.h:
3703         * win32/gstelements.vcproj:
3704         * win32/gstenumtypes.c: (gst_object_flags_get_type):
3705         * win32/gstreamer.def:
3706         * win32/msvc71.sln:
3707           updates for the win32 build (patch from Sebastien Moutte)
3708
3709 2005-10-10  Andy Wingo  <wingo@pobox.com>
3710
3711         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3712         gst_bin_get_state, cleaned up (but no logic changes).
3713         (bin_element_is_sink): Comment updates.
3714         (sink_iterator_filter): Remove needless cast.
3715         (gst_bin_iterate_sinks): Doc update.
3716         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3717         cleaned up (but no logic changes).
3718
3719         * check/states/sinks.c (test_src_sink): Cleanups from the state
3720         change patch.
3721         (test_livesrc_sink): Sync on the state.
3722
3723         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3724         the state change patch.
3725
3726         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3727         change patch.
3728
3729         * check/gst/gstbin.c: Merge in some style fixes and additional
3730         checks from Wim's state change patch.
3731
3732 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3733
3734         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3735         (gst_type_find_helper):
3736           Check whether we have the requested data already in our list of
3737           cached buffers before pulling a new buffer; also make the buffer
3738           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3739
3740 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3741
3742         * gst/gstcaps.c:
3743         * gst/gstevent.c:
3744           doc updates
3745         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3746           don't use long long, it's not portable.  Replacing with
3747           gint64 seems to work; let's hope no skeletons fall out of the closet.
3748
3749 2005-10-10  Andy Wingo  <wingo@pobox.com>
3750
3751         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3752
3753 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
3754
3755         * docs/gst/gstreamer-sections.txt:
3756         * gst/gstevent.c:
3757         * gst/gstevent.h:
3758         * gst/gstinfo.c:
3759         * gst/gstinfo.h:
3760         * gst/gstmessage.c: (gst_message_parse_state_changed):
3761         * gst/gstpad.c:
3762         * gst/gstpad.h:
3763           more docs, fix compilation
3764
3765 2005-10-09  Philippe Khalaf <burger@speedy.org>
3766         * gst/gstmessage.c:
3767           Fixed a few forgotten variables on previous commit
3768
3769 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3770
3771         * gst/base/gsttypefindhelper.c: (helper_find_peek):
3772           Fix evil typefind crasher: getrange() might return a short
3773           buffer at the end of a file, but gst_type_find_peek() must
3774           either return the full data as requested or NULL, but
3775           never a short buffer.
3776
3777 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3778
3779         * gst/gstmessage.c: (gst_message_new_state_changed),
3780         (gst_message_parse_state_changed):
3781         * gst/gstmessage.h:
3782           don't use "new", it's a C++ keyword
3783
3784 2005-10-08  Wim Taymans  <wim@fluendo.com>
3785
3786         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3787         * gst/gstelement.c: (gst_element_post_message):
3788         * gst/gstpipeline.c: (gst_pipeline_change_state):
3789         Small docs and debug updates.
3790
3791 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3792
3793         * docs/gst/gstreamer-sections.txt:
3794         * gst/gstelementfactory.c:
3795         * gst/gstevent.c:
3796         * gst/gsttaglist.c:
3797           more docs
3798
3799 2005-10-08  Wim Taymans  <wim@fluendo.com>
3800
3801         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3802         (gst_bin_dispose), (bin_bus_handler):
3803         Fix typos, add comments.
3804         Clear EOS list when going to PAUSED from any direction and do it
3805         in a threadsafe way.
3806         Get base time in a threadsafe way too.
3807         Fix confusing debug in the change_state function.
3808         Various other small cleanups.
3809         
3810         * gst/gstelement.c: (gst_element_post_message):
3811         Fix very verbose bus posting code.
3812
3813         * gst/gstpipeline.c: (gst_pipeline_class_init),
3814         (gst_pipeline_set_property), (gst_pipeline_get_property),
3815         (gst_pipeline_change_state):
3816         Small ARG_ -> PROP_ cleanup
3817
3818 2005-10-08  Wim Taymans  <wim@fluendo.com>
3819
3820         * gst/gstbin.c: (is_eos), (bin_bus_handler):
3821         Do a less CPU demanding EOS check because we can.
3822
3823 2005-10-08  Wim Taymans  <wim@fluendo.com>
3824
3825         * libs/gst/dataprotocol/dataprotocol.c:
3826         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3827         (gst_dp_packet_from_event):
3828         * libs/gst/dataprotocol/dataprotocol.h:
3829         * libs/gst/dataprotocol/dp-private.h:
3830         It's about time we bump the version number.
3831         Since event types don't fit in the guint8 anymore describing
3832         the payload type, make payload type 16 bits wide.
3833
3834 2005-10-08  Wim Taymans  <wim@fluendo.com>
3835
3836         * docs/design/part-TODO.txt:
3837         * docs/design/part-clocks.txt:
3838         * docs/design/part-events.txt:
3839         * docs/design/part-gstbin.txt:
3840         * docs/design/part-gstelement.txt:
3841         * docs/design/part-gstpipeline.txt:
3842         * docs/design/part-live-source.txt:
3843         * docs/design/part-messages.txt:
3844         * docs/design/part-overview.txt:
3845         * docs/design/part-states.txt:
3846         Many doc updates.
3847
3848 2005-10-08  Wim Taymans  <wim@fluendo.com>
3849
3850         * gst/gstevent.c:
3851         * gst/gstevent.h:
3852         Fix event quark registration.
3853         Add some space between events so we can insert them in the
3854         right groups.
3855
3856 2005-10-08  Wim Taymans  <wim@fluendo.com>
3857
3858         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3859         (gst_base_sink_handle_buffer):
3860         Better log message.
3861
3862         * gst/gstbus.h:
3863         * gst/gstelement.h:
3864         More docs.
3865
3866         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3867         (gst_queue_set_property), (gst_queue_get_property):
3868         * gst/gstqueue.h:
3869         Remove old unused properties.
3870
3871 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3872         * docs/gst/gstreamer-sections.txt:
3873         * gst/gstmessage.c:
3874         * gst/gstmessage.h:
3875         * gst/gstminiobject.c:
3876         * gst/gstminiobject.h:
3877         * gst/gstobject.h:
3878         * gst/gstpad.h:
3879         * gst/gstutils.h:
3880           lots of new docs and doc fixes
3881
3882 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3883
3884         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3885         * gst/gstplugin.h:
3886         * gst/gstregistry.c: (gst_registry_lookup_locked),
3887         (gst_registry_scan_path_level):
3888         * gst/gstregistryxml.c: (load_plugin):
3889           Only ever load one plugin for a given plugin basename.
3890           This ensures correct overriding of GST_PLUGIN_PATH over
3891           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3892           system installed plugins.
3893
3894 2005-10-08  Wim Taymans  <wim@fluendo.com>
3895
3896         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3897         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3898         Prepare for doing QOS.
3899
3900 2005-10-08  Wim Taymans  <wim@fluendo.com>
3901
3902         * check/gst/gstbin.c: (GST_START_TEST):
3903         * check/pipelines/cleanup.c: (GST_START_TEST):
3904         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3905         Allow new clock message too.
3906
3907 2005-10-08  Wim Taymans  <wim@fluendo.com>
3908
3909         * gst/gstmessage.c: (gst_message_new_error),
3910         (gst_message_new_warning), (gst_message_new_tag),
3911         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3912         (gst_message_new_clock_lost), (gst_message_new_new_clock),
3913         (gst_message_new_segment_start), (gst_message_new_segment_done),
3914         (gst_message_parse_state_changed),
3915         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3916         (gst_message_parse_new_clock):
3917         * gst/gstmessage.h:
3918         Also carry the clock in question.
3919
3920 2005-10-08  Wim Taymans  <wim@fluendo.com>
3921
3922         * gst/gstmessage.c: (gst_message_new_custom),
3923         (gst_message_new_eos), (gst_message_new_error),
3924         (gst_message_new_warning), (gst_message_new_tag),
3925         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3926         (gst_message_new_new_clock), (gst_message_new_segment_start),
3927         (gst_message_new_segment_done), (gst_message_parse_state_changed),
3928         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3929         * gst/gstmessage.h:
3930         Clean up.
3931         Added clock related messages.
3932
3933         * gst/gstpipeline.c: (gst_pipeline_change_state):
3934         Post message when the clock changed.
3935
3936         * tools/gst-launch.c: (event_loop):
3937         Print new clock.
3938
3939 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3940
3941         * tools/gst-inspect.c: (print_element_properties_info):
3942           Can't pass NULL strings to g_print() on windows.
3943
3944 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3945
3946         * docs/Makefile.am:
3947         * docs/gst/Makefile.am:
3948         * docs/gst/gstreamer-docs.sgml:
3949         * docs/gst/running.xml:
3950         * docs/version.entities.in:
3951           add a chapter on running GStreamer.
3952           document GST_DEBUG and GST_PLUGIN* env vars
3953
3954 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3955
3956         * Makefile.am:
3957           remove include dir
3958         * configure.ac:
3959           remove PLUGINS_BUILDDIR stuff
3960         * gst/gst.c: (init_post):
3961           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3962         * idiottest.mak:
3963           remove, it was condescending and not needed
3964
3965 2005-10-08  Wim Taymans  <wim@fluendo.com>
3966
3967         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3968         (gst_base_sink_handle_object), (gst_base_sink_event),
3969         (gst_base_sink_wait), (gst_base_sink_handle_event),
3970         (gst_base_sink_change_state):
3971         * gst/base/gstbasesink.h:
3972         Repost EOS message while going to PLAYING if still EOS.
3973         Make sure that when receiving a FLUSH_START we don't attempt
3974         to sync on the clock anymore.
3975
3976 2005-10-08  Wim Taymans  <wim@fluendo.com>
3977
3978         * tools/gst-launch.c: (event_loop):
3979         Better message printout.
3980
3981 2005-10-08  Wim Taymans  <wim@fluendo.com>
3982
3983         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3984         (gst_bin_child_proxy_get_children_count):
3985         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3986         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3987         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3988         (gst_child_proxy_set_valist):
3989         * gst/parse/grammar.y:
3990         Make ChildProxy threadsafe and fix mem leaks.
3991
3992 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3993
3994         * gst/gst.c: (init_post):
3995           debug the GST_PLUGIN_ env vars
3996
3997 2005-10-08  Wim Taymans  <wim@fluendo.com>
3998
3999         * check/gst/gstbin.c: (GST_START_TEST):
4000         * check/gst/gstmessage.c: (GST_START_TEST):
4001         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4002         * gst/gstelement.c: (gst_element_commit_state),
4003         (gst_element_lost_state):
4004         * gst/gstmessage.c: (gst_message_new_state_changed),
4005         (gst_message_parse_state_changed):
4006         * gst/gstmessage.h:
4007         * tools/gst-launch.c: (event_loop):
4008         Added extra field to STATE_CHANGE message with the pending
4009         state, which will be different from the new state soon.
4010
4011 2005-10-08  Wim Taymans  <wim@fluendo.com>
4012
4013         * gst/gstbus.c: (gst_bus_pop):
4014         * gst/gstclock.c:
4015         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4016         Small cleanups and doc updates.
4017
4018 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4019
4020         * gst/gst.c: (init_pre):
4021         * gst/gstbin.c: (gst_bin_add_func):
4022           log distributing clocks and base time
4023         * gst/gstregistry.c: (gst_registry_add_plugin),
4024         (gst_registry_scan_path_level), (gst_registry_scan_path):
4025           clean up the debugging output a little
4026         * gst/gstutils.c: (gst_element_state_get_name):
4027           warn about a memleak (I've actually seen this be used, though
4028           it was probably a bug)
4029
4030 2005-10-07  Wim Taymans  <wim@fluendo.com>
4031
4032         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4033         (gst_base_src_init), (gst_base_src_default_newsegment),
4034         (gst_base_src_newsegment), (gst_base_src_do_seek),
4035         (gst_base_src_loop), (gst_base_src_start):
4036         * gst/base/gstbasesrc.h:
4037         Make the newsegment event customizable by subclasses.
4038
4039 2005-10-07  Wim Taymans  <wim@fluendo.com>
4040
4041         * gst/gstevent.c: (gst_event_new_buffersize),
4042         (gst_event_parse_buffersize):
4043         * gst/gstevent.h:
4044         New event for future idea.
4045
4046 2005-10-07  Andy Wingo  <wingo@pobox.com>
4047
4048         * gst/gstelement.c (gst_element_post_message): Doc update.
4049
4050         * docs/gst/gstreamer-sections.txt: Update.
4051
4052         * gst/gstmessage.c (gst_message_new_application): Made into a
4053         function like honest API calls.
4054         (gst_message_new_element): New message type.
4055
4056         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4057
4058         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4059         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4060         times.
4061
4062         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4063         NO_PREROLL from gst_element_change_state to fall through.
4064
4065 2005-10-07  Wim Taymans  <wim@fluendo.com>
4066
4067         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4068         (gst_ghost_pad_do_activate_push):
4069         Activating a ghostpad with no internal pad in push mode
4070         is ok.
4071
4072 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4073
4074         * gst/gstobject.h:
4075           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4076           Fixes compilation on Windows.
4077
4078 2005-10-07  Michael Smith <msmith@fluendo.com>
4079
4080         * tools/gst-inspect.c:
4081           Print out feature and plugin count at the end when printing out
4082           all features.
4083
4084 2005-10-04  Michael Smith <msmith@fluendo.com>
4085
4086         * gst/gsterror.c: (_gst_stream_errors_init):
4087           Add another error string used in a few existing plugins.
4088
4089         * gst/gstplugin.c:
4090         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4091         * tools/gst-inspect.c: (print_element_info):
4092           When a feature disappears from a plugin (and the feature exists in
4093           the cached registry file), things went horribly wrong. This isn't a
4094           complete fix, we should actually be removing the 'missing' features
4095           from the features list when we load the actual plugin. That's not
4096           yet implemented. 
4097
4098 2005-10-04  Johan Dahlin  <johan@gnome.org>
4099
4100         * check/gst/gstiterator.c: (GST_START_TEST):
4101         * gst/gstbin.c: (gst_bin_iterate_elements),
4102         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4103         * gst/gstelement.c: (gst_element_iterate_pads):
4104         * gst/gstformat.c: (gst_format_iterate_definitions):
4105         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4106         (gst_iterator_new_list), (gst_iterator_filter):
4107         * gst/gstiterator.h:
4108         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4109         Add a GType to GstIterator, update callsites and tests.
4110
4111 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4112
4113         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4114           give events a chance to be handled by event probes when the pad
4115           is not linked
4116
4117 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4118
4119         * gst/gstevent.c: (gst_event_type_get_name),
4120         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4121         * gst/gstevent.h:
4122           add string representations for event types
4123
4124 2005-10-06  Wim Taymans  <wim@fluendo.com>
4125
4126         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4127         Don't use NULL pointers.
4128
4129 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4130
4131         * gst/gst_private.h:
4132         * gst/gstbus.c:
4133         * gst/gstelement.c:
4134         * gst/gstinfo.c:
4135         * gst/gstpluginfeature.c:
4136           widen the debug category in output to fit the biggest one we have
4137           add a bus category and use it
4138           play with the colors
4139           fix up some categories
4140
4141 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4142
4143         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4144           add push activation of sink ghost pads.
4145           Andye, please verify
4146
4147 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4148
4149         * gst/gstutils.c: (gst_element_link_pads):
4150           fix a bug in the case where neither element has a pad
4151         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4152           add a test for that case
4153
4154 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4155
4156         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4157           emit have-data before checking for peers.  This allows
4158           for probe handlers to connect elements.  This helps autopluggers.
4159         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4160         (gst_pad_suite):
4161           add six checks, linked/unlinked with no/true/false probe
4162
4163 2005-10-04  Wim Taymans  <wim@fluendo.com>
4164
4165         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4166         (gst_fake_sink_event), (gst_fake_sink_preroll),
4167         (gst_fake_sink_render), (gst_fake_sink_change_state):
4168         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4169         (gst_fake_src_get_property), (gst_fake_src_create),
4170         (gst_fake_src_stop):
4171         * gst/elements/gstidentity.c: (gst_identity_stop):
4172         Protect last_message with lock.
4173
4174 2005-10-04  Edward Hervey  <edward@fluendo.com>
4175
4176         * gst/gstformat.h: 
4177         Added precision in the comments for GST_FORMAT_DEFAULT
4178
4179 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4180
4181         * tools/gst-launch.c: (main):
4182           Don't try to run erroneous pipelines.
4183
4184 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4185
4186         * gst/gstbus.c: We don't need this header.
4187
4188 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4189
4190         * configure.ac:
4191           back to development
4192
4193 === release 0.9.3 ===
4194
4195 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4196
4197         * README:
4198         * configure.ac:
4199           Releasing 0.9.3, "Unregistered"
4200
4201 2005-10-03  Andy Wingo  <wingo@pobox.com>
4202
4203         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4204         whereby calling a pad's activatepush() function can start a thread
4205         that starts to push or pull before the pad gets the FLUSHING flag
4206         unset. Hack around it by holding the stream lock until the flag is
4207         set. Need to replace this with a proper solution. Together with
4208         the ghost pad fixes, this fixes mp3 playing/tagreading.
4209
4210         * docs/design/part-gstghostpad.txt: Add a note about activation of
4211         proxy pads outside of ghost pads.
4212
4213         * gst/gstghostpad.c: Implement the ghost pad activation design.
4214
4215 2005-10-02  Andy Wingo  <wingo@pobox.com>
4216
4217         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4218         It is volatile, after all.
4219
4220         * docs/design/part-gstghostpad.txt: Flesh out activation with
4221         ghost pads.
4222
4223         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4224         GST_DEBUG_FUNCPTR.
4225
4226 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4227
4228         * configure.ac:
4229           Fix (unused) AM_CONDITIONAL tests.
4230
4231 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4232
4233         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4234
4235         * gst/gstutils.c: (gst_pad_query_convert):
4236           Add assertion that makes sure src_val is >=0, just like
4237           gst_query_new_convert() has. (#315895)
4238
4239 2005-09-30  Edward Hervey  <edward@fluendo.com>
4240
4241         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4242         Let's not iterate pads we're not interested in, it avoids getting 
4243         sky-high refcounts on sinkpad.
4244
4245 2005-09-30  Wim Taymans  <wim@fluendo.com>
4246
4247         * gst/gstelement.c: (gst_element_set_state),
4248         (gst_element_change_state):
4249         Small tweak, element in ASYNC remains ASYNC.
4250
4251 2005-09-30  Wim Taymans  <wim@fluendo.com>
4252
4253         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4254         Only error is an error.
4255
4256         * gst/gstbin.c: (gst_bin_change_state):
4257         Better debugging.
4258
4259         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4260         Also call pad_block in pad alloc.
4261
4262         * gst/gstutils.c: (gst_flow_get_name):
4263         Better debugging.
4264
4265 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4266
4267         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4268         (gst_base_src_get_range):
4269           Fix documentation typos. Add some more debug info.
4270
4271 2005-09-29  David Schleef  <ds@schleef.org>
4272
4273         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4274           more end-user friendly.
4275         * tools/gst-inspect.c: (main): Check if command-line argument is
4276           a file and attempt to load that file as a plugin.
4277
4278 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4279
4280         * check/gst/gstbin.c:
4281         * check/states/sinks.c:
4282           fix tests for the new warning
4283         * check/gst/gstpipeline.c:
4284           add a test for pipeline and bus interaction
4285         * gst/gstelement.c:
4286           elements should be NULL if they get disposed; add a warning if not
4287
4288 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4289
4290         * gst/gstobject.c:
4291           for 2.6 refcounting, make debug log more correct by printing
4292           the actual refcounts at the time of swap (Wim)
4293
4294 2005-09-29  Andy Wingo  <wingo@pobox.com>
4295
4296         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4297         removes signal watches previously added via
4298         gst_bus_add_signal_watch.
4299         (gst_bus_add_signal_watch): Don't return the source id, just store
4300         it on the bus if there wasn't an id already.
4301
4302         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4303         add_signal_watch and remove_signal_watch.
4304
4305 2005-09-29  Edward Hervey  <edward@fluendo.com>
4306
4307         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4308         Better if we actually iterate the list :)
4309
4310 2005-09-29  Wim Taymans  <wim@fluendo.com>
4311
4312         * check/gst/gstbin.c: (GST_START_TEST):
4313         Change for new bus API.
4314
4315         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4316         (send_messages), (GST_START_TEST), (gstbus_suite):
4317         Change for new bus signal API.
4318
4319         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4320         (gst_bus_source_prepare), (gst_bus_source_check),
4321         (gst_bus_create_watch), (gst_bus_add_watch_full),
4322         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4323         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4324         * gst/gstbus.h:
4325         Remove support for multiple GSources operating on different
4326         message types as it is too complex and unneeded when using
4327         signals.
4328         Added support for receiving signals from the bus.
4329
4330 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4331
4332         * docs/libs/tmpl/gstdataprotocol.sgml:
4333         * docs/manual/advanced-dataaccess.xml:
4334         * gst/elements/gstcapsfilter.c:
4335         * gst/gstutils.c:
4336           rename filter-caps to caps property
4337
4338 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4339
4340         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4341           More robust fraction string parsing.
4342
4343         * docs/pwg/appendix-porting.xml:
4344           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4345
4346 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4347
4348         * gst/gstcaps.c: (gst_caps_do_simplify):
4349           Thou shalt not free a structure and then continue using it
4350           in the next loop iteration.
4351
4352         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4353         (gst_caps_suite):
4354           Add test case for caps simplification.
4355
4356 2005-09-29  Wim Taymans  <wim@fluendo.com>
4357
4358         * check/gst/gstbin.c: (GST_START_TEST):
4359         Oops.
4360
4361 2005-09-29  Wim Taymans  <wim@fluendo.com>
4362
4363         * check/gst/gstbin.c: (GST_START_TEST):
4364         Add bus to bin.
4365
4366         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4367         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4368         (find_element), (gst_bin_sort_iterator_next),
4369         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4370         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4371         (gst_bin_change_state), (gst_bin_dispose):
4372         A bin does not have a bus, it gets the bus from the parent.
4373
4374         * gst/gstelement.c: (gst_element_requires_clock),
4375         (gst_element_provides_clock), (gst_element_is_indexable),
4376         (gst_element_is_locked_state), (gst_element_change_state),
4377         (gst_element_set_bus_func):
4378         Small cleanups.
4379
4380         * gst/gstpipeline.c: (gst_pipeline_class_init),
4381         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4382         The pipeline provides a bus.
4383
4384 2005-09-28  Johan Dahlin  <johan@gnome.org>
4385
4386         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4387         gst_structure_get_enum instead of gst_structure_get_int
4388
4389         * gst/gststructure.c (gst_structure_get_enum): Impl.
4390
4391         * gst/gststructure.h (gst_structure_get_enum): Add
4392
4393         * docs/gst/gstreamer-sections.txt: Ditto
4394
4395         * gst/gstmessage.c (gst_message_new_state_changed): Use
4396         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4397         which does introspection.
4398         Reviewed by Christian Schaller
4399
4400 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4401
4402         * gst/gstinfo.c: (gst_debug_log_default):
4403           don't do dummy g_strdup()s
4404         * libs/gst/controller/gstcontroller.c:
4405         (on_object_controlled_property_changed),
4406         (gst_controlled_property_new), (gst_controller_new_valist),
4407         (gst_controller_new_list),
4408         (gst_controller_remove_properties_valist), (gst_controller_set),
4409         (gst_controller_get), (gst_controller_sync_values),
4410         (gst_controller_get_value_array), (_gst_controller_class_init),
4411         (gst_controller_get_type):
4412         * libs/gst/controller/gstcontroller.h:
4413         * libs/gst/controller/gstinterpolation.c:
4414         (gst_controlled_property_find_timed_value_node):
4415           convert // to /**/ comments
4416
4417 2005-09-28  Wim Taymans  <wim@fluendo.com>
4418
4419         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4420         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4421         (gst_bus_sync_signal_handler):
4422         * gst/gstbus.h:
4423         Added async-message and sync-message signals to the bus.
4424         Added helper BusFunc to emit signals for all posted messages.
4425
4426         * gst/gstmessage.c: (gst_message_type_get_name),
4427         (gst_message_type_to_quark), (gst_message_get_type):
4428         * gst/gstmessage.h:
4429         Register quarks for message names.
4430
4431 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4432
4433         * docs/libs/gstreamer-libs-sections.txt:
4434         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4435         (gst_controller_new_list):
4436         * libs/gst/controller/gstcontroller.h:
4437           added another constructor for language bindings
4438
4439 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4440
4441         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4442           add another check
4443         * gst/gstbus.c:
4444           add some doc
4445         * gst/gstinfo.c: (_gst_debug_init):
4446           slightly more readable color for refcount debugging
4447
4448 2005-09-28  Wim Taymans  <wim@fluendo.com>
4449
4450         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4451         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4452         (find_element), (gst_bin_sort_iterator_next),
4453         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4454         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4455         (gst_bin_change_state), (gst_bin_dispose):
4456         Small doc fixes. get_clock -> provide_clock.
4457
4458         * gst/gstelement.c: (gst_element_class_init),
4459         (gst_element_provides_clock), (gst_element_provide_clock),
4460         (gst_element_get_clock), (gst_element_commit_state),
4461         (gst_element_lost_state):
4462         * gst/gstelement.h:
4463         Make get/set_clock() symetric. Add provide_clock vmethod since
4464         that is actually what this function does.
4465
4466         * gst/gstpipeline.c: (gst_pipeline_class_init),
4467         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4468         (gst_pipeline_get_clock):
4469         get_clock -> provide_clock.
4470
4471 2005-09-28  Andy Wingo  <wingo@pobox.com>
4472
4473         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4474         lieu of real docs...
4475
4476         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4477
4478 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4479
4480         * gst/elements/gstcapsfilter.c:
4481         * gst/elements/gstfakesink.c:
4482         * gst/elements/gstfakesrc.c:
4483         * gst/elements/gstfdsink.c:
4484         * gst/elements/gstfdsrc.c:
4485         * gst/elements/gstfilesink.c:
4486         * gst/elements/gstfilesrc.c:
4487         * gst/elements/gstidentity.c:
4488         * gst/elements/gsttee.c:
4489         * gst/elements/gsttypefindelement.c:
4490           Make element details static.
4491
4492 2005-09-28  Wim Taymans  <wim@fluendo.com>
4493
4494         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4495         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4496         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4497         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4498         (gst_bin_change_state), (gst_bin_dispose):
4499         Some documentation updates.
4500         Clean up dispose handlers.
4501
4502         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4503         * gst/gstpad.c: (gst_pad_dispose):
4504         Clean up dispose handler.
4505
4506         * gst/gstpipeline.c: (gst_pipeline_change_state):
4507         Removed spurious UNLOCK.
4508
4509 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4510
4511         * docs/gst/gstreamer-sections.txt:
4512         * gst/base/gstbasesrc.h:
4513         * gst/gstelement.h:
4514         * gst/gstevent.h:
4515         * gst/gstobject.h:
4516         * gst/gstpad.h:
4517         * gst/gstpipeline.c:
4518         * gst/gstpipeline.h:
4519         * gst/gstutils.h:
4520         * gst/gstxml.h:
4521           added two new functions to the docs
4522                 documents all undocumented GstXXXFlags
4523                 completed some incomplete docs 
4524
4525 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4526
4527         * gst/gstbin.c: (gst_bin_dispose):
4528         * gst/gstelement.c: (gst_element_dispose):
4529           remove now useless and leaky resurrection code in dispose
4530         * gst/base/gstbasesrc.c: (gst_base_src_init):
4531         * gst/gstelementfactory.c: (gst_element_factory_create):
4532         * gst/gstobject.c: (gst_object_set_parent):
4533           add some debugging
4534
4535 2005-09-27  Wim Taymans  <wim@fluendo.com>
4536
4537         * docs/design/part-TODO.txt:
4538         Update TODO.
4539
4540         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4541         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4542         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4543         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4544         (gst_bin_change_state):
4545         * gst/gstelement.h:
4546         Remove element variable, we keep element info in the iterator now.
4547
4548 2005-09-27  Andy Wingo  <wingo@pobox.com>
4549
4550         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4551         values.
4552
4553 2005-09-27  Wim Taymans  <wim@fluendo.com>
4554
4555         * check/gst/gstbin.c: (GST_START_TEST):
4556         Enable check that works now.
4557
4558         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4559         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4560         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4561         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4562         (gst_bin_change_state):
4563         * gst/gstbin.h:
4564         Redid the state change algorithm using a topological sort algo.
4565         Handles all cases correctly.
4566         Exposed iterator for state change order.
4567
4568         * gst/gstelement.h:
4569         Temp storage for state changes. Need to get rid of this soon.
4570
4571 2005-09-27  Wim Taymans  <wim@fluendo.com>
4572
4573         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4574         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4575         (link_fold_func), (gst_pad_proxy_setcaps):
4576         Leak fixes, the fold functions need to unref the passed object and
4577         _get_parent_*() returns ref to parent.
4578
4579 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4580
4581         * check/gst/gstbuffer.c: (test_make_writable):
4582           Plug leak in test case and fix 'make check-valgrind'
4583
4584 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4585
4586         * gst/gstbuffer.c: (gst_subbuffer_init):
4587           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4588           works correctly in all circumstances (we could have just copied
4589           the parent buffer's readonly flag, but conceptually it seems
4590           cleaner to mark all subbuffers as read-only). (based on patch
4591           by Alessandro Decina, #314710).
4592         
4593         * check/gst/gstbuffer.c: (create_read_only_buffer),
4594         (test_make_writable), (test_subbuffer_make_writable),
4595         (gst_test_suite):
4596           Add some tests for gst_buffer_make_writable().
4597
4598 2005-09-27  Wim Taymans  <wim@fluendo.com>
4599
4600         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4601         use gst_object_has_ancestor().
4602
4603         * gst/gstobject.c: (gst_object_has_ancestor):
4604         * gst/gstobject.h:
4605         gst_object_has_ancestor() copied from gstbin.c as it is a
4606         usefull function.
4607
4608         * tests/instantiate/create.c: (create_all_elements):
4609         * tests/lat.c: (handoff_src), (handoff_sink):
4610         * tests/sched/runxml.c: (main):
4611         * tests/seeking/seeking1.c: (main):
4612         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4613         (main):
4614         Fix compilation of some tests.
4615
4616 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4617
4618         * gst/gsterror.h:
4619           Remove comment. GST_TYPE_G_ERROR is here to stay,
4620           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4621           (#316961, #300610).
4622
4623 2005-09-26  Wim Taymans  <wim@fluendo.com>
4624
4625         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4626         Added check that shows error in state change order.
4627
4628 2005-09-26  Wim Taymans  <wim@fluendo.com>
4629
4630         * gst/gstbin.c: (gst_bin_change_state):
4631         Make state change function use 3 queues again, we were
4632         adding elements in the wrong order.
4633
4634         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4635         Some debug info,
4636
4637         * gst/gstpad.c: (gst_pad_dispose):
4638         Added some debug info first.
4639
4640 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4641
4642         * docs/design/draft-push-pull.txt:
4643         * docs/design/part-events.txt:
4644         * docs/design/part-overview.txt:
4645         * docs/design/part-scheduling.txt:
4646           Replace all _pull_region() with _pull_range()
4647           
4648 2005-09-26  Andy Wingo  <wingo@pobox.com>
4649
4650         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4651
4652         * check/gst-libs/controller.c: Update for controller api change.
4653
4654         * configure.ac: 
4655         * tests/Makefile.am:
4656         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4657         over by GLib bug 118439.
4658         
4659         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4660         routines to a function.
4661
4662         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4663
4664         * libs/gst/controller/gsthelper.c:
4665         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4666         (gst_object_sync_values): Renamed from sink_values. Ugh.
4667
4668         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4669
4670         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4671         Renamed from controller_key, as it is exported.
4672
4673         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4674
4675 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4676
4677         * gst/Makefile.am:
4678         * gst/gst.h:
4679         * gst/gstpad.h:
4680         * gst/gstpadtemplate.h:
4681         * gst/gstquery.c:
4682         * gst/gstquery.h:
4683         * gst/gstqueryutils.c:
4684         * gst/gstqueryutils.h:
4685           remove queryutils headers after moving the two used functions
4686           to gstquery.  also fixes build problem for gstsiddec
4687
4688 2005-09-26  Michael Smith <msmith@fluendo.com>
4689
4690         * tools/gst-launch.1.in:
4691         Correct documentation in manpage of debug syntax
4692
4693 2005-09-26  Wim Taymans  <wim@fluendo.com>
4694
4695         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4696         (gst_base_src_is_seekable), (gst_base_src_change_state):
4697         Some more debugging info.
4698
4699 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4700
4701         * docs/gst/gstreamer-sections.txt:
4702         * gst/base/gstbasetransform.h:
4703         * gst/gstindex.h:
4704           added more docs
4705
4706 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4707
4708         * docs/gst/.cvsignore:
4709         * docs/gst/tmpl/.cvsignore:
4710         * docs/gst/tmpl/gstpipeline.sgml:
4711         * docs/gst/tmpl/gstplugin.sgml:
4712         * gst/gstpipeline.c:
4713         * gst/gstplugin.c:
4714         * gst/gstplugin.h:
4715           inlined the last two docs files
4716           removed the tmpl directory from cvs (no more conflicts here!)
4717
4718 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4719
4720         * docs/gst/gstreamer-sections.txt:
4721         * docs/gst/tmpl/.cvsignore:
4722         * docs/gst/tmpl/gstpad.sgml:
4723         * docs/gst/tmpl/gstpadtemplate.sgml:
4724         * gst/Makefile.am:
4725         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4726         (gst_pad_finalize), (gst_pad_set_pad_template):
4727         * gst/gstpad.h:
4728         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4729         (gst_pad_template_class_init), (gst_pad_template_init),
4730         (gst_pad_template_dispose), (name_is_valid),
4731         (gst_static_pad_template_get), (gst_pad_template_new),
4732         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4733         (gst_pad_template_pad_created):
4734         * gst/gstpadtemplate.h:
4735           inlined two more docs
4736           factored gstpadtemplate out of gstpad
4737
4738 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4739
4740         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4741         (test_children_state_change_order_semi_sink):
4742           Fix test case: we can't rely on a fixed state change order when
4743           going from READY => PAUSED because the sink might commit its 
4744           new state first when the first buffer created by the source 
4745           reaches the sink before the source has finished its change state.
4746           (Test case still fails at times, see #316856, comment 5 onwards)
4747
4748 2005-09-24  Wim Taymans  <wim@fluendo.com>
4749
4750         * docs/design/part-events.txt:
4751         * docs/design/part-gstbus.txt:
4752         * docs/design/part-gstpipeline.txt:
4753         * docs/design/part-messages.txt:
4754         * docs/design/part-overview.txt:
4755         * docs/design/part-segments.txt:
4756         * gst/gstbin.c:
4757         * gst/gstbuffer.c:
4758         * gst/gstclock.c:
4759         * gst/gstelement.c:
4760         * gst/gstevent.c:
4761         * gst/gstfilter.c:
4762         * gst/gstiterator.c:
4763         Various documentation updates.
4764
4765 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4766
4767         * gst/gstclock.h:
4768           Well, that's embarassing.  Luckily we weren't using
4769           GST_CLOCK_DIFF anywhere.
4770
4771 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4772
4773         * common/gtk-doc.mak:
4774           don't fail on building XML, FC4 slave shows a bunch of doc
4775           missing bits that I don't get
4776         * gst/gstpad.c:
4777         * gst/gstpipeline.c:
4778         * gst/gststructure.c:
4779           some doc updates
4780
4781 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4782
4783         * docs/design/part-gstbin.txt:
4784         * docs/design/part-gstbus.txt:
4785         * gst/gstbus.c:
4786           Add blurb about how the bus goes into flushing mode and
4787           drops all messages when its bin goes from READY into NULL 
4788           state.
4789
4790 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4791
4792         * docs/gst/gstreamer-sections.txt:
4793         * gst/gststructure.c: (gst_structure_get_clock_time):
4794         * gst/gststructure.h:
4795           add a method to get a GstClockTime out of a structure
4796
4797 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4798
4799         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4800         (test_children_state_change_order_semi_sink), (gst_bin_suite):
4801           Added test to check state change order in bins (can still be made
4802           to fail here under heavy disk load; bails out with 'Push on pad
4803           fakesink:sink0, but it was not activated in push mode').
4804
4805         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4806           Fix state change order when there is only a semi sink (#316856)
4807
4808         * gst/gstbus.c: (gst_bus_class_init):
4809           Use _class_peek_parent(), not _class_ref(); fix docs to say
4810           'default main context' instead of 'mainloop' where that is
4811           what's meant.
4812
4813         * gst/gstelement.c: (gst_element_commit_state),
4814         (gst_element_set_state):
4815           Fix typos in debug messages
4816
4817 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4818
4819         * docs/README:
4820         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4821         * gst/gstpluginfeature.c:
4822         * gst/gstutils.c:
4823           various doc updates
4824         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4825           change an assert into an error until it gets fixed properly
4826
4827 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
4828
4829         * docs/gst/gstreamer-sections.txt:
4830         * docs/gst/tmpl/.cvsignore:
4831         * docs/gst/tmpl/gstelement.sgml:
4832         * docs/gst/tmpl/gstinfo.sgml:
4833         * docs/gst/tmpl/gstobject.sgml:
4834         * gst/gstelement.c:
4835         * gst/gstelement.h:
4836         * gst/gstinfo.c:
4837         * gst/gstinfo.h:
4838         * gst/gstobject.c: (gst_object_class_init):
4839         * gst/gstobject.h:
4840           inlined 3 more biiiig doc files and added some missing docs on the fly
4841
4842 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4843
4844         * check/gst/.cvsignore:
4845         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4846         * gst/gstregistryxml.c: (load_plugin),
4847         (gst_registry_xml_save_plugin):
4848           put back source in registry.  add checks for find_plugin.
4849         * testsuite/states/bin.c: (assert_state), (empty_bin),
4850         (test_adding_one_element), (main):
4851         * testsuite/states/locked.c: (main):
4852           some compile/run fixes
4853
4854 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4855
4856         * check/gst/gstvalue.c: (GST_START_TEST):
4857           fix leaks in the test itself
4858
4859 2005-09-22  Wim Taymans  <wim@fluendo.com>
4860
4861         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4862         (gst_base_sink_send_event), (gst_base_sink_peer_query),
4863         (gst_base_sink_query):
4864         Prepare for more accurate position reporting and query
4865         handling.
4866
4867         * gst/gstelement.c: (gst_element_send_event),
4868         (gst_element_set_state):
4869         Add some comment.
4870
4871 2005-09-22  Wim Taymans  <wim@fluendo.com>
4872
4873         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4874         (gst_query_parse_segment):
4875         * gst/gstquery.h:
4876         More documentation.
4877         Add segment query for future use.
4878
4879 2005-09-22  Wim Taymans  <wim@fluendo.com>
4880
4881         * gst/gstbin.c: (gst_bin_add_func):
4882         Some more debug info.
4883
4884         * gst/gstelement.c: (gst_element_send_event):
4885         Simplify send_event
4886
4887         * gst/gstelement.h:
4888         Don't know how flags got broken.
4889
4890         * gst/gstquery.h:
4891         Added new query.
4892
4893 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4894
4895         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4896           Add simplistic test suite for GST_TYPE_DATE serialisation and
4897           deserialisation.
4898
4899 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4900
4901         * docs/gst/gstreamer-sections.txt:
4902         * gst/gststructure.c: (gst_structure_set_valist),
4903         (gst_structure_get_date):
4904         * gst/gststructure.h:
4905         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4906         (gst_date_copy), (gst_value_compare_date),
4907         (gst_value_serialize_date), (gst_value_deserialize_date),
4908         (gst_value_transform_date_string),
4909         (gst_value_transform_string_date), (_gst_value_initialize):
4910         * gst/gstvalue.h:
4911           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4912           bunch of utility functions along with a hack that checks that
4913           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4914           is required. Part of the grand scheme in #170777.
4915
4916 2005-09-22  Andy Wingo  <wingo@pobox.com>
4917
4918         * gst/gstconfig.h.in: Psych out gtk-doc.
4919
4920         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4921
4922         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4923
4924         * tools/gst-inspect.c (print_element_list): Plug some
4925         inconsequential leaks.
4926
4927         * gst/gstregistry.c (gst_registry_get_default): Doc.
4928
4929         * check/gst/gstplugin.c: 
4930         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4931         * gst/gstelementfactory.c (gst_element_factory_create): 
4932         * gst/gstindexfactory.c (gst_index_factory_create): Update for
4933         refcount changes.
4934
4935         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4936         (gst_plugin_feature_load): Doc, don't eat refs.
4937
4938         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4939         (gst_plugin_list_free): Doc.
4940         (gst_plugin_load_file): Doc updates.
4941
4942         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4943         accessors returning refcounted objects, return a ref.
4944
4945         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4946         accessor for caps. IDEMPOTENCE. Oh yes.
4947
4948 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
4949
4950         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4951
4952         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4953         (_gst_debug_register_funcptr):
4954           Add mutex to serialise access to the hash table with
4955           the function pointer => function name string mapping;
4956           make that hash table static scope (#316809).
4957
4958         * gst/registries/.cvsignore:
4959           Remove left-over file.
4960
4961 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4962
4963         * docs/pwg/appendix-porting.xml:
4964           And something about newsegment events and caps-on-buffers to
4965           the porting guide (feel free to improve).
4966
4967 2005-09-21  Andy Wingo  <wingo@pobox.com>
4968
4969         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4970         data and event probes on the same pad.
4971         (test_buffer_probe_once): Test that removing probes from within
4972         the probe functions works.
4973
4974 2005-09-21  Andy Wingo  <wingo@pobox.com>
4975
4976         * check/gst/gstutils.c: New file.
4977         (test_buffer_probe_n_times): A simple buffer probe test. More to
4978         come, foolios.
4979
4980         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4981         have-data::buffer, not have-data.
4982         (gst_pad_add_event_probe): Likewise for have-data::event.
4983         (gst_pad_add_data_probe): More docs. The part about 'resolving the
4984         peer' isn't quite right yet though.
4985         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
4986         (gst_pad_remove_data_probe): Change to take the guint handler_id
4987         as their arg, not the function+data, which is more glib-like.
4988
4989         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4990         the signal emission to indicate if the data is a buffer or an
4991         event.
4992         (gst_pad_get_type): Initialize buffer and event quarks.
4993         (gst_pad_class_init): have-data is now a detailed signal, yes it
4994         is.
4995
4996 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4997
4998         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4999         * gst/gstutils.c: (gst_util_set_value_from_string),
5000         (gst_util_set_object_arg):
5001           Don't put functional code in g_return_if_fail() or
5002           g_return_val_if_fail() statements, otherwise things will 
5003           break when G_DISABLE_CHECKS is defined during compilation.
5004
5005 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5006
5007         * docs/gst/tmpl/.cvsignore:
5008         * docs/gst/tmpl/gstvalue.sgml:
5009         * gst/gstvalue.c:
5010         * gst/gstvalue.h:
5011           inlied another one and added  some obvious docs
5012
5013 2005-09-21  Wim Taymans  <wim@fluendo.com>
5014
5015         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5016         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5017         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5018         (gst_fdsrc_get_property), (gst_fdsrc_create):
5019         * gst/elements/gstfdsrc.h:
5020         Properly implement fdsrc. Removed signal and timeout,
5021         better implemented somewhere else.
5022
5023 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5024
5025         * docs/gst/tmpl/.cvsignore:
5026         * docs/gst/tmpl/gstimplementsinterface.sgml:
5027         * gst/gstinterface.c:
5028           inlined more docs
5029
5030 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5031
5032         * docs/gst/gstreamer-sections.txt:
5033         * docs/gst/tmpl/.cvsignore:
5034         * docs/gst/tmpl/gstenumtypes.sgml:
5035           remove obsolete doc file
5036
5037 2005-09-21  David Schleef  <ds@schleef.org>
5038
5039         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5040         little beer, fix a little leak.
5041
5042 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5043
5044         * docs/gst/gstreamer-docs.sgml:
5045         * docs/gst/gstreamer-sections.txt:
5046         * docs/gst/tmpl/.cvsignore:
5047         * gst/Makefile.am:
5048         * gst/gst.h:
5049         * gst/gstbin.c:
5050         * gst/gstelement.h:
5051         * gst/gstindex.c: (gst_index_class_init):
5052         * gst/gstindex.h:
5053         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5054         (gst_index_factory_class_init), (gst_index_factory_init),
5055         (gst_index_factory_finalize), (gst_index_factory_new),
5056         (gst_index_factory_destroy), (gst_index_factory_find),
5057         (gst_index_factory_create), (gst_index_factory_make):
5058         * gst/gstindexfactory.h:
5059         * gst/gstpluginfeature.c:
5060         * gst/gstpluginfeature.h:
5061         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5062           more docs inlined, splitted gstindex.{c,h}
5063
5064 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5065
5066         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5067           fix a leak
5068
5069 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5070
5071         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5072           Set sync to FALSE by default.
5073
5074 2005-09-20  Wim Taymans  <wim@fluendo.com>
5075
5076         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5077         (gst_base_sink_init):
5078         Make sync property settable from subclass.
5079
5080         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5081         (gst_fake_sink_change_state):
5082         Set sync to FALSE by default.
5083
5084 2005-09-20  Wim Taymans  <wim@fluendo.com>
5085
5086         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5087         * tools/gst-launch.c: (main):
5088         The timeout handler should have lower priority than the source
5089         so we don't timeout before popping a message with 0 timeout.
5090         Dump error messages after failed state change.
5091
5092 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5093
5094         * tools/gst-inspect.c: (print_element_properties_info):
5095           Fix two typos.
5096
5097 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5098
5099         * check/gst/gstevent.c:
5100         * gst/elements/gstfakesink.c:
5101         * gst/elements/gstfakesink.h:
5102           remove the sync property from fakesink.
5103           has the side effect of setting sync TRUE
5104           for fakesink, which is a change.  Anyone who knows how
5105           to fix this nicely in a GObject-y way, feel free.
5106
5107 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5108
5109         * docs/gst/gstreamer-docs.sgml:
5110           remove probe refsection
5111
5112 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5113
5114         * check/Makefile.am:
5115           disable valgrinding the controller test again
5116         * docs/gst/gstreamer-sections.txt:
5117           update for api-changes
5118
5119 2005-09-20  Wim Taymans  <wim@fluendo.com>
5120
5121         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5122         (gst_base_sink_set_property), (gst_base_sink_get_property),
5123         (gst_base_sink_do_sync):
5124         * gst/base/gstbasesink.h:
5125         Added sync property to basesink to disable clock sync.
5126
5127 2005-09-20  Andy Wingo  <wingo@pobox.com>
5128
5129         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5130         eating the caller's refcount.
5131
5132         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5133         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5134         refcount.
5135
5136         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5137         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5138         of GLib 2.8 public, so we can know which refcount to check in
5139         tests.
5140
5141         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5142         (gst_object_init): Only set the gst refcount if we're going ahead
5143         with the refcount hack.
5144
5145 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5146
5147         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5148         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5149           more leaks plumbed, added more debug-logging
5150         * gst/gstmacros.h:
5151           whitespace fix
5152
5153 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5154
5155         * gst/gstmessage.c:
5156           remove include of gstmemchunk.h
5157
5158 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5159
5160         * gst/gstclock.c: (_gst_clock_id_free):
5161           Commit from the Political Party For More Atomic CVS Commits,
5162           so that people don't waste too much of their day fishing
5163           out obvious leaks out of massive commits.
5164           Oh, and fix a pretty damn obvious leak in the memchunk
5165           removal code.
5166
5167 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5168
5169         * check/Makefile.am:
5170         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5171           plug mem-leak, re-add to valgrindable tests
5172
5173 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5174
5175         * gst/gstplugin.h:
5176           unbreak the build for those who have chronic arthritis
5177           and typing "make check" is just too taxing on the hands
5178
5179 2005-09-20  Andy Wingo  <wingo@pobox.com>
5180
5181         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5182         really want it out, you should fix plugins at the same time.
5183
5184 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5185
5186         * configure.ac:
5187         * docs/gst/gstreamer-sections.txt:
5188         * gst/gstobject.c:
5189           added missing symbols to api docs
5190           disable ref-count hack if we have glib >= 2.8
5191
5192 2005-09-19  David Schleef  <ds@schleef.org>
5193
5194         * docs/gst/Makefile.am: Ignore a few more internal headers
5195         * docs/gst/gstreamer-docs.sgml: Remove old sections
5196         * docs/gst/gstreamer-sections.txt: Remove old sections
5197         * docs/gst/tmpl/gstobject.sgml: update
5198         * docs/gst/tmpl/gstplugin.sgml: update
5199         * docs/gst/tmpl/gstpluginfeature.sgml: update
5200         * docs/random/ds/0.9-suggested-changes: update.
5201         * gst/Makefile.am: remove memchunk and trashstack, since they're
5202           not used.
5203         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5204         * gst/gst.h: don't include some headers
5205         * gst/gstchildproxy.c: add gstmarshal.h
5206         * gst/gstclock.c: Don't use memchunks
5207         * gst/gstminiobject.c: Add some docs
5208         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5209         * gst/gstobject.h: same
5210         * gst/gstplugin.c: include gstmacros.h
5211         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5212         * gst/gstquery.c: don't use memchunks
5213         * gst/gstregistry.c: rename gst_registry_deinit()
5214         * gst/gstregistry.h: same
5215
5216 2005-09-19  David Schleef  <ds@schleef.org>
5217
5218         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5219         * docs/libs/gstreamer-libs-sections.txt:
5220         * docs/libs/tmpl/gstgetbits.sgml:
5221         * docs/libs/tmpl/gstputbits.sgml:
5222
5223 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5224
5225         * win32/gstenumtypes.c:
5226         * win32/gstenumtypes.h:
5227           Update.
5228
5229 2005-09-19  Wim Taymans  <wim@fluendo.com>
5230
5231         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5232         Automatically PAUSE and RESUME a pipeline when a flushing seek
5233         is performed.
5234
5235 2005-09-19  Andy Wingo  <wingo@pobox.com>
5236
5237         * gst/gstregistry.h: Spacing fixen.
5238
5239 2005-09-19  Wim Taymans  <wim@fluendo.com>
5240
5241         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5242         Handle state change failure more correctly.
5243
5244 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5245
5246         * check/Makefile.am:
5247         * check/pipelines/cleanup.c: (run_pipeline):
5248         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5249         (GST_START_TEST):
5250           enable cleanup again after fixing the leak
5251         * docs/README:
5252           some more info on docs
5253
5254 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5255
5256         * check/Makefile.am:
5257           re-enable tests now that leaks are plugged
5258         * check/gst/gst.c:
5259         * check/gst/gstbin.c:
5260         * check/gst/gstpipeline.c:
5261           add some more tests while fixing leaks
5262         * common/check.mak:
5263           make sure binaries are uptodate when valgrinding/gdbing
5264         * gst/gst.c:
5265         * gst/gstelementfactory.c:
5266           remove a ref too many, and add a FIXME for when we get
5267           round to disposing of classes
5268         * gst/gstplugin.c:
5269           fix the refcounting when loading a plugin from a file and
5270           the code pretends that the pointer is the same even though
5271           of course it can change
5272         * gst/gstpluginfeature.c:
5273           unref plugins marked cached (a bit confusing as a name)
5274           as the docs state should be done
5275           various doc additions to explain refcounting
5276         * gst/gstregistry.c:
5277         * gst/gstregistryxml.c:
5278           debugging
5279
5280 2005-09-19  Wim Taymans  <wim@fluendo.com>
5281
5282         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5283         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5284         (send_messages), (GST_START_TEST), (gstbus_suite):
5285         * check/gst/gstpipeline.c: (GST_START_TEST):
5286         * check/pipelines/cleanup.c: (run_pipeline):
5287         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5288         (GST_START_TEST):
5289         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5290         (gst_bus_source_check), (gst_bus_source_dispatch),
5291         (gst_bus_create_watch), (gst_bus_add_watch_full),
5292         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5293         * gst/gstbus.h:
5294         * tools/gst-launch.c: (event_loop):
5295         * tools/gst-md5sum.c: (event_loop):
5296         GstBusHandler -> GstBusFunc, return value has the same meaning as
5297         any other GSource (FALSE == remove source).
5298         _add_watch() and _add_watch_full() now take a MessageType mask to
5299         only handle specific types of messages.
5300         _poll() returns the GstMessage instead of the message type to avoid
5301         race conditions.
5302         _have_pending() takes a MessageType mask now too.
5303         Added testsuite for multiple bus watches.
5304         Fix testsuites and applications for new bus API.
5305
5306 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5307
5308         * check/Makefile.am:
5309           mark a bunch of the tests as to fix until we fix them
5310
5311 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5312
5313         * common/check.mak:
5314           use GST_PLUGIN settings for valgrind tests as well, so we're
5315           valgrinding the correct thing
5316         * gst/gst.c: (init_post):
5317           plug another leak
5318
5319 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5320
5321         * gst/gst.c: (init_post), (gst_deinit):
5322         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5323         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5324         * gst/gstindex.c: (gst_index_factory_class_init),
5325         (gst_index_factory_finalize):
5326         * gst/gstobject.c: (gst_object_dispose):
5327         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5328         (gst_plugin_load_file), (gst_plugin_desc_free):
5329         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5330         (gst_plugin_feature_finalize):
5331         * gst/gstregistry.c: (gst_registry_class_init),
5332         (gst_registry_init), (gst_registry_finalize),
5333         (gst_registry_get_default), (gst_registry_deinit):
5334         * gst/gstregistry.h:
5335         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5336           various cleanups and memleak plugging.  make valgrind is happy now.
5337
5338 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5339
5340         * common/check.mak:
5341           add a check-valgrind target
5342
5343 2005-09-18  David Schleef  <ds@schleef.org>
5344
5345         * tools/gst-inspect.c: Revert the GOption code.
5346
5347 2005-09-17  David Schleef  <ds@schleef.org>
5348
5349         * check/Makefile.am: Fix environment variables.
5350         * check/gst/gstplugin.c: Fix for API changes.
5351         * tools/gst-inspect.c: Fix for API changes.
5352         * tools/gst-xmlinspect.c: Fix for API changes.
5353         * gst/gstelementfactory.c:
5354         * gst/gstplugin.c:
5355         * gst/gstplugin.h:
5356         * gst/gstpluginfeature.c:
5357         * gst/gstpluginfeature.h:
5358         * gst/gstregistry.c:
5359         * gst/gstregistry.h:
5360         * gst/gstregistryxml.c:
5361         * gst/gsttypefind.c:
5362         * gst/gsttypefindfactory.c:
5363         * gst/indexers/gstfileindex.c:
5364         * gst/indexers/gstmemindex.c:
5365         * gst/schedulers/Makefile.am:
5366           Change registry to keep track of both plugins and features,
5367           removing the feature tracking from plugins themselves.
5368
5369 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5370
5371         * check/Makefile.am:
5372         * tools/gst-register.1.in:
5373           remove gst-register
5374
5375 2005-09-15  David Schleef  <ds@schleef.org>
5376
5377         * check/gst/gstplugin.c:
5378         * gst/gstelementfactory.c:
5379         * gst/gstplugin.c:
5380         * gst/gstpluginfeature.c:
5381         * gst/gstregistry.c:
5382           Getting tired of debugging.  Disabled all the unreffing of
5383           plugins and features, which fixes the segfaults, but of
5384           course leaks like crazy.  At least playbin works.
5385
5386 2005-09-15  David Schleef  <ds@schleef.org>
5387
5388         * check/gst/gstplugin.c: (register_check_elements),
5389         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5390         More testing
5391         * gst/elements/gsttypefindelement.c: Fix refcounting.
5392         * gst/gsttypefind.c:
5393         * gst/gsttypefindfactory.c:
5394         * gst/gsttypefindfactory.h:
5395
5396 2005-09-15  David Schleef  <ds@schleef.org>
5397
5398         * gst/gstindex.c: get refcounting correct.
5399         * gst/gstregistry.c: Handle the case where a feature/plugin is
5400           not found.
5401
5402 2005-09-15  David Schleef  <ds@schleef.org>
5403
5404         * check/Makefile.am:
5405         * check/gst/gstplugin.c: Add test
5406         * gst/gstplugin.c: Fix problems noticed by testsuite
5407         * gst/gstplugin.h:
5408         * gst/gstregistry.c: 
5409         * gst/gstregistry.h:
5410
5411 2005-09-15  David Schleef  <ds@schleef.org>
5412
5413         * gst/gstplugin.c: Implement semi-decent recounting and locking
5414           in plugins and plugin features.
5415         * gst/gstplugin.h:
5416         * gst/gstpluginfeature.c:
5417         * gst/gstpluginfeature.h:
5418         * gst/gstregistry.c:
5419
5420 2005-09-15  Michael Smith <msmith@fluendo.com>
5421
5422         * gst/gstregistry.c: (gst_registry_get_feature_list):
5423           Implement this. Makes oggdemux work; decodebin still broken.
5424
5425 2005-09-14  David Schleef  <ds@schleef.org>
5426
5427         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5428           #316076)
5429         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5430         * gst/check/Makefile.am:
5431         * libs/gst/controller/Makefile.am:
5432         * libs/gst/dataprotocol/Makefile.am:
5433
5434 2005-09-14  David Schleef  <ds@schleef.org>
5435
5436         * configure.ac: Remove getbits library.  Nothing uses it, and
5437           it should be in something like liboil if someone did want
5438           to use it.
5439         * libs/gst/Makefile.am:
5440         * libs/gst/getbits/Makefile.am:
5441         * libs/gst/getbits/gbtest.c:
5442         * libs/gst/getbits/getbits.c:
5443         * libs/gst/getbits/getbits.h:
5444         * libs/gst/getbits/gstgetbits_generic.c:
5445         * libs/gst/getbits/gstgetbits_i386.s:
5446         * libs/gst/getbits/gstgetbits_inl.h:
5447
5448 2005-09-14  David Schleef  <ds@schleef.org>
5449
5450         * gst/Makefile.am: Dist glib-compat.h
5451
5452 2005-09-14  David Schleef  <ds@schleef.org>
5453
5454         * configure.ac: Remove gst/registries, since it's no longer used.
5455         * gst/registries/Makefile.am:
5456         * gst/registries/gstlibxmlregistry.c:
5457         * gst/registries/gstlibxmlregistry.h:
5458         * gst/registries/gstxmlregistry.c:
5459         * gst/registries/gstxmlregistry.h:
5460         * gst/registries/registrytest.c:
5461
5462 2005-09-14  David Schleef  <ds@schleef.org>
5463
5464         * gst/glib-compat.h:
5465         * gst/gstregistryxml.c:
5466           Convergence is near.  Seriously.
5467
5468 2005-09-14  David Schleef  <ds@schleef.org>
5469
5470         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5471         * gst/glib-compat.h:
5472           Attempt #4 to appease the buildbots.
5473
5474 2005-09-14  David Schleef  <ds@schleef.org>
5475
5476         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5477           Attempt #3.
5478
5479 2005-09-14  David Schleef  <ds@schleef.org>
5480
5481         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5482         Attempt #2.
5483
5484 2005-09-14  David Schleef  <ds@schleef.org>
5485
5486         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5487           the new functions.
5488
5489 2005-09-14  David Schleef  <ds@schleef.org>
5490
5491         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5492         * gst/glib-compat.h: Add some functions that are in newer versions
5493           of glib than we care to require.
5494         * gst/gstregistryxml.c: Use them.
5495
5496 2005-09-14  David Schleef  <ds@schleef.org>
5497
5498         * po/POTFILES.in: remove gst-register.c
5499
5500 2005-09-14  David Schleef  <ds@schleef.org>
5501
5502         * docs/gst/gstreamer-docs.sgml:
5503         * docs/gst/gstreamer-sections.txt:
5504         * docs/gst/gstreamer.types:
5505         * docs/gst/tmpl/gstelement.sgml:
5506         * docs/gst/tmpl/gstplugin.sgml:
5507         * docs/gst/tmpl/gstpluginfeature.sgml:
5508           Documentation updates for registry changes.
5509
5510 2005-09-14  David Schleef  <ds@schleef.org>
5511
5512         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5513           because we don't require glib-2.8.
5514
5515 2005-09-14  David Schleef  <ds@schleef.org>
5516
5517         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5518           registries directory.
5519
5520 2005-09-14  David Schleef  <ds@schleef.org>
5521
5522         * check/Makefile.am:
5523         * check/generic/states.c:
5524         * gst/Makefile.am:
5525         * gst/gst.c:
5526         * gst/gst.h:
5527         * gst/gst_private.h:
5528         * gst/gstelementfactory.c:
5529         * gst/gstindex.c:
5530         * gst/gstinfo.c:
5531         * gst/gstplugin.c:
5532         * gst/gstplugin.h:
5533         * gst/gstpluginfeature.c:
5534         * gst/gstpluginfeature.h:
5535         * gst/gstregistry.c:
5536         * gst/gstregistry.h:
5537         * gst/gstregistrypool.c: remove
5538         * gst/gstregistrypool.h: remove
5539         * gst/gsttypefind.c:
5540         * gst/gsttypefindfactory.c:
5541         * gst/gsturi.c:
5542         * tools/Makefile.am:
5543         * tools/gst-compprep.c:
5544         * tools/gst-inspect.c:
5545         * tools/gst-register.c: remove
5546         * tools/gst-xmlinspect.c:
5547           Registry rewrite.  Changes registry from being a file created
5548           by a tool into a simple cache file created automatically by 
5549           libgstreamer.  Removed gst-register (because it's no longer
5550           needed).  Remove registry pools, because we only have one
5551           registry implementation (XML).  Fix up other subsystems as
5552           necessary.
5553
5554 2005-09-13  Michael Smith <msmith@fluendo.com>
5555
5556         * gst/gstconfig.h.in:
5557           Don't Use windows linking attributes for MinGW. Fixes #316157
5558
5559 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5560
5561         * gst/gstutils.c: (set_state_async_thread_func),
5562         (gst_element_set_state_async):
5563           Apparently people think it's better if this function doesn't
5564           try to set the state to whatever state was asked for on the first
5565           call to this function for any object.  Seriously.
5566
5567 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5568
5569         * check/gst/gstpipeline.c: (GST_START_TEST):
5570         * docs/gst/gstreamer-sections.txt:
5571         * gst/gstutils.c: (set_state_async_thread_func),
5572         (gst_element_set_state_async):
5573         * gst/gstutils.h:
5574           add a "gst_element_set_state_async" method that
5575           sets the state and starts a thread to make sure the state
5576           change completes as best as it can
5577
5578 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5579
5580         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5581           codify design+behaviour in testsuite after discussion
5582
5583 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5584
5585         * docs/gst/tmpl/gstelement.sgml:
5586         * docs/manual/appendix-quotes.xml:
5587           add a quote
5588         * gst/gstelement.c: (gst_element_set_state):
5589           add some debug
5590
5591 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5592
5593         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5594         (gst_base_transform_prepare_output_buf),
5595         (gst_base_transform_handle_buffer):
5596         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5597         (gst_capsfilter_prepare_buf):
5598           Remove the requirement for sub-classes to call the parent
5599           implementation of prepare_output_buffer with a wrapper function.
5600           
5601         * gst/gsttaglist.h:
5602         * gst/gsttagsetter.h:
5603           Fix #define wrapper
5604
5605 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5606
5607         * docs/gst/gstreamer-sections.txt:
5608           more doc cleanups
5609
5610 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5611
5612         * docs/gst/gstreamer-sections.txt:
5613         * docs/gst/tmpl/gstelement.sgml:
5614         * docs/gst/tmpl/gstplugin.sgml:
5615         * gst/gstminiobject.c:
5616         * gst/gstvalue.h:
5617           docs now stop throwing warnings
5618
5619 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5620
5621         * docs/gst/gstreamer-sections.txt:
5622         * docs/gst/gstreamer.types:
5623         * docs/gst/tmpl/gstpad.sgml:
5624         * docs/gst/tmpl/gsttypes.sgml:
5625         * gst/base/gstadapter.h:
5626         * gst/base/gstbasesink.h:
5627         * gst/base/gstbasesrc.h:
5628         * gst/gstbin.h:
5629         * gst/gstbuffer.h:
5630         * gst/gstbus.h:
5631         * gst/gstcaps.h:
5632         * gst/gstclock.h:
5633         * gst/gstelement.h:
5634         * gst/gstevent.h:
5635         * gst/gstmessage.h:
5636         * gst/gstpad.h:
5637         * gst/gststructure.c:
5638         * gst/registries/gstlibxmlregistry.h:
5639           various documentation fixes
5640
5641 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5642
5643         * docs/gst/gstreamer-sections.txt:
5644         * docs/gst/tmpl/gstvalue.sgml:
5645           rearrange gstvalue section
5646         * gst/gstutils.c: (gst_element_state_get_name):
5647           NONE -> VOID
5648         * gst/gstvalue.c: (_gst_value_initialize):
5649         * gst/gstvalue.h:
5650           doc updates
5651
5652 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5653
5654         * check/gst-libs/controller.c:
5655           Header include fix.
5656         * gst/base/gstbasetransform.c:
5657         (gst_base_transform_default_prepare_buf),
5658         (gst_base_transform_handle_buffer):
5659         * gst/base/gstbasetransform.h:
5660           Some more basetransform changes and fixes to enable sub-classes
5661           that modify buffer metadata only.
5662         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5663         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5664         (gst_capsfilter_prepare_buf):
5665           If the output pad has fixed allowed caps and input buffers 
5666           don't have any, set the fixed caps on outgoing buffers.
5667
5668 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5669         * check/elements/identity.c: (GST_START_TEST):
5670           Make the error a little clearer when the test fails because
5671           identity made a copy of the buffer.
5672         * docs/gst/gstreamer-sections.txt:
5673           New symbols in gstbasetransform.h
5674         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5675         (gst_base_transform_init), (gst_base_transform_transform_size),
5676         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5677         (gst_base_transform_default_prepare_buf),
5678         (gst_base_transform_get_unit_size),
5679         (gst_base_transform_buffer_alloc),
5680         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5681         (gst_base_transform_change_state),
5682         (gst_base_transform_set_passthrough),
5683         (gst_base_transform_set_in_place),
5684         (gst_base_transform_is_in_place):
5685         * gst/base/gstbasetransform.h:
5686           Change BaseTransform to separate in_place operate from same_caps
5687           output. in_place implies that the element can perform the transform
5688           on incoming buffers in-place, even if the caps on the output are
5689           different.
5690           Sub-class elements can now implement special buffer allocation
5691           methods for outgoing buffers if they wish to.
5692           Big documentation addition.
5693         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5694         * gst/elements/gstelements.c:
5695           Changes for basetransform modifications.
5696         * gst/elements/Makefile.am:
5697         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5698           Compile fix. Extra debug output.
5699
5700 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5701
5702         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5703         (gst_pad_suite):
5704           add tests for valid pad naming
5705         * gst/check/gstcheck.c: (gst_check_log_message_func),
5706         (gst_check_log_critical_func):
5707           add ASSERT_WARNING
5708           remove printing of code, it is fragile when the code contains
5709           % and the line number is enough info
5710         * gst/check/gstcheck.h:
5711         * gst/gstpad.c: (gst_pad_template_new):
5712           fix memleaks
5713
5714 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5715
5716         * configure.ac:
5717           say what CHECK flags we use
5718         * docs/libs/gstreamer-libs.types:
5719         * libs/gst/controller/Makefile.am:
5720         * libs/gst/controller/gst-controller.c:
5721         * libs/gst/controller/gst-controller.h:
5722         * libs/gst/controller/gst-helper.c:
5723         * libs/gst/controller/gst-interpolation.c:
5724         * libs/gst/controller/gstcontroller.c:
5725         * libs/gst/controller/gsthelper.c:
5726         * libs/gst/controller/gstinterpolation.c:
5727         * tools/gst-inspect.c: (print_plugin_info):
5728           we don't use dashes in header names
5729
5730 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5731
5732         * check/Makefile.am:
5733         * check/gst/.cvsignore:
5734         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5735         (gst_pipeline_suite), (main):
5736           adding a test for pipelines and state changes
5737         * gst/gstutils.c: (get_state_func):
5738           add some debugging
5739         * gstreamer.spec.in:
5740           fix up spec file
5741
5742 2005-09-08  Michael Smith <msmith@fluendo.com>
5743
5744         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5745         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5746         (gst_file_src_is_seekable), (gst_file_src_get_size),
5747         (gst_file_src_start):
5748         * gst/elements/gstfilesrc.h:
5749           Various fixes for unseekable, unmmapable, and non-normal files, so
5750           that fallback to read() rather than mmap() works.
5751         * gst/gstevent.c: (gst_event_new_newsegment):
5752           Allow newsegment events with segment_start == segment_end, as will
5753           correctly happen if you use filesrc on a zero-size file, for
5754           example.
5755
5756 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5757
5758         * gst/gstplugin.c: (gst_plugin_load_file):
5759           Call g_module_close when we don't load the module
5760
5761         * gst/registries/gstlibxmlregistry.c:
5762         (gst_xml_registry_get_property):
5763           Port leak fix from 0.8
5764
5765 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5766
5767         * docs/gst/gstreamer-docs.sgml:
5768         * docs/gst/tmpl/.cvsignore:
5769         * docs/gst/tmpl/gsttrace.sgml:
5770         * docs/gst/tmpl/gsttrashstack.sgml:
5771         * gst/Makefile.am:
5772         * gst/gst.h:
5773         * gst/gstelement.h:
5774         * gst/gstevent.h:
5775         * gst/gstmessage.c:
5776         * gst/gstmessage.h:
5777         * gst/gsttag.c:
5778         * gst/gsttag.h:
5779         * gst/gsttaginterface.c:
5780         * gst/gsttaginterface.h:
5781         * gst/gsttaglist.c:
5782         * gst/gsttaglist.h:
5783         * gst/gsttagsetter.c:
5784         * gst/gsttagsetter.h:
5785         * gst/gsttrace.c:
5786         * gst/gsttrace.h:
5787         * gst/gsttrashstack.c:
5788           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5789           inlined docs for gsttrace, gsttrashstack
5790
5791 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5792
5793         * gst/Makefile.am:
5794         * gst/elements/gstbufferstore.h:
5795         * gst/elements/gsttypefindelement.c:
5796         * gst/elements/gsttypefindelement.h:
5797         * gst/gst.h:
5798         * gst/gsttypefind.c:
5799         * gst/gsttypefind.h:
5800         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5801         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5802         (gst_type_find_factory_dispose),
5803         (gst_type_find_factory_unload_thyself),
5804         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5805         (gst_type_find_factory_get_caps),
5806         (gst_type_find_factory_get_extensions),
5807         (gst_type_find_factory_call_function):
5808         * gst/gsttypefindfactory.h:
5809         * gst/registries/gstlibxmlregistry.c:
5810         * gst/registries/gstxmlregistry.c:
5811           splitted gsttypefind into gsttypefind, gsttypefindfactory
5812
5813 2005-09-07  Andy Wingo  <wingo@pobox.com>
5814
5815         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5816         condition whereby the pad's task function is entered before the
5817         pad_mode variable was set.
5818
5819 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5820
5821         * gst/gstpad.c: (gst_pad_alloc_buffer):
5822           Catch misbehaving pad_alloc functions that don't
5823           set up caps and do it for them.
5824
5825 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5826
5827         * check/pipelines/simple_launch_lines.c: (run_pipeline):
5828           test for pipe!=NULL
5829         * docs/gst/tmpl/.cvsignore:
5830         * docs/gst/tmpl/gstmemchunk.sgml:
5831         * docs/gst/tmpl/gstparse.sgml:
5832         * docs/gst/tmpl/gsttaglist.sgml:
5833         * docs/gst/tmpl/gsttagsetter.sgml:
5834         * docs/gst/tmpl/gsttypefind.sgml:
5835         * docs/gst/tmpl/gsttypefindfactory.sgml:
5836         * gst/gstmemchunk.c:
5837         * gst/gstparse.c:
5838         * gst/gsttag.c:
5839         * gst/gsttaginterface.c:
5840         * gst/gsttypefind.c:
5841         * gst/gsttypefind.h:
5842           inlined more docs
5843
5844 === release 0.9.2 ===
5845
5846 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5847
5848         * NEWS:
5849         * RELEASE:
5850         * configure.ac:
5851           releasing 0.9.2, "South"
5852
5853 2005-09-05  Andy Wingo  <wingo@pobox.com>
5854
5855         * gst/registries/gstxmlregistry.h:
5856         * gst/registries/gstxmlregistry.c: Um... resurrect...
5857         
5858         * gst/registries/gstxmlregistry.h:
5859         * gst/registries/gstxmlregistry.c: and update to newer API.
5860         Incidentally they should be a bit faster now that they don't have
5861         to parse the caps.
5862         
5863 2005-09-05  Andy Wingo  <wingo@pobox.com>
5864
5865         * gst/registries/gstxmlregistry.h:
5866         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5867         replaced by the libxml registry a while back
5868
5869 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5870
5871         * docs/gst/tmpl/gstplugin.sgml:
5872         * gst/elements/gstelements.c:
5873         * gst/gst.c:
5874         * gst/gstplugin.c: (gst_plugin_register_func),
5875         (gst_plugin_desc_copy), (gst_plugin_desc_free),
5876         (gst_plugin_get_source):
5877         * gst/gstplugin.h:
5878         * gst/registries/gstlibxmlregistry.c: (load_plugin),
5879         (gst_xml_registry_save_plugin):
5880         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5881         (gst_xml_registry_save_plugin):
5882         * tools/gst-inspect.c: (print_plugin_info):
5883           add a "source" plugin description field, to represent the source
5884           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
5885           will set it to PACKAGE, which is automake's idea of the name of
5886           the source project.
5887
5888 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5889
5890         * Makefile.am:
5891         * autogen.sh:
5892         * configure.ac:
5893         * docs/Makefile.am:
5894         * docs/faq/Makefile.am:
5895         * docs/gst/tmpl/gstelement.sgml:
5896         * docs/gst/tmpl/gsttypes.sgml:
5897         * docs/htmlinstall.mak:
5898         * docs/manual/Makefile.am:
5899         * docs/pwg/Makefile.am:
5900           reorganize doc build a little
5901           split out docbook and gtk-doc stuff
5902           have two separate --enable's and enable them through autogen
5903           but disable by default in configure (to be similar to other
5904           projects)
5905         * gstreamer.spec.in:
5906           clean up docs install
5907         * po/af.po:
5908         * po/az.po:
5909         * po/ca.po:
5910         * po/cs.po:
5911         * po/de.po:
5912         * po/en_GB.po:
5913         * po/fr.po:
5914         * po/it.po:
5915         * po/nb.po:
5916         * po/nl.po:
5917         * po/ru.po:
5918         * po/sq.po:
5919         * po/sr.po:
5920         * po/sv.po:
5921         * po/tr.po:
5922         * po/uk.po:
5923         * po/vi.po:
5924           translation updates
5925
5926 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5927
5928         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5929           Add comment.
5930           
5931         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5932         (gst_fake_sink_change_state):
5933           Make state change function thread-safe.
5934           
5935         * gst/gstpad.c: (gst_pad_alloc_buffer):
5936           Set offset on generic buffer allocated by fallback.
5937
5938 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
5939
5940         * docs/gst/gstreamer-sections.txt:
5941         * docs/gst/tmpl/gstelement.sgml:
5942         * gst/gstpad.c:
5943         * libs/gst/controller/gst-controller.c:
5944         (gst_controlled_property_set_interpolation_mode),
5945         (gst_controlled_property_new),
5946         (gst_controller_find_controlled_property):
5947          run the wingo-magic script against the docs
5948
5949 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5950
5951         * docs/gst/gstreamer-docs.sgml:
5952         * docs/gst/gstreamer-sections.txt:
5953         * docs/gst/tmpl/.cvsignore:
5954         * docs/gst/tmpl/gstelementdetails.sgml:
5955         * docs/gst/tmpl/gstelementfactory.sgml:
5956         * gst/gst.c:
5957         * gst/gstbus.c:
5958         * gst/gstelementfactory.c:
5959         * gst/gstelementfactory.h:
5960           merged elementdetails docs into elementfactory docs
5961           inlined both
5962
5963 2005-09-02  Andy Wingo  <wingo@pobox.com>
5964
5965         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5966         consider this enum an enum and not a flags.
5967
5968 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5969
5970         * docs/gst/gstreamer-docs.sgml:
5971         * docs/gst/tmpl/.cvsignore:
5972         * docs/gst/tmpl/gstghostpad.sgml:
5973         * docs/gst/tmpl/gstiterator.sgml:
5974         * docs/gst/tmpl/gstmacros.sgml:
5975         * docs/gst/tmpl/gstrealpad.sgml:
5976         * docs/gst/tmpl/gstregistry.sgml:
5977         * docs/gst/tmpl/gstregistrypool.sgml:
5978         * docs/gst/tmpl/gststructure.sgml:
5979         * docs/gst/tmpl/gstsystemclock.sgml:
5980         * docs/gst/tmpl/gsttrace.sgml:
5981         * gst/gstghostpad.c:
5982         * gst/gstmacros.h:
5983         * gst/gstmemchunk.c:
5984         * gst/gstmemchunk.h:
5985         * gst/gstqueue.c:
5986         * gst/gstregistry.c:
5987         * gst/gstregistrypool.c:
5988         * gst/gststructure.c:
5989         * gst/gstsystemclock.c:
5990           more docs inlined
5991
5992 2005-09-02  Andy Wingo  <wingo@pobox.com>
5993
5994         * gst/gstelement.h (GstState): Renamed from GstElementState,
5995         changed to be a normal enum instead of flags.
5996         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5997         munged to be GST_STATE_CHANGE_*.
5998         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5999         work with the new state representation.
6000         (GstStateChange): New enumeration of possible state transitions.
6001         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6002         (GstElementClass::change_state): Pass the GstStateChange along as
6003         an argument. Helps language bindings, so they don't have to use
6004         tricky lock-needing macros like GST_STATE_CHANGE ().
6005
6006         * scripts/update-states (file): New script. Run it on a file to
6007         update it for state naming and API changes. Updates files in
6008         place.
6009
6010         * All files updated for the new API.
6011
6012 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6013
6014         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6015         * gst/gstutils.c: (gst_util_set_value_from_string),
6016         (gst_util_set_object_arg):
6017           fix a bunch of unchecked return values
6018         * tools/gst-complete.c: (main):
6019         * gstreamer.spec.in:
6020           clean up a little
6021
6022 2005-09-01  Wim Taymans  <wim@fluendo.com>
6023
6024         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6025         (gst_base_sink_event), (gst_base_sink_do_sync),
6026         (gst_base_sink_handle_event):
6027         * gst/base/gstbasesink.h:
6028         Handle newsegments more correctly.
6029
6030         * gst/gstbus.c:
6031         Fix docs.
6032
6033         * gst/gstevent.c: (gst_event_new_newsegment):
6034         A newsegment cannot have a start_time of -1
6035
6036 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6037
6038         * win32/gstenumtypes.c:
6039         * win32/gstenumtypes.h:
6040           Update
6041
6042 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6043
6044         * libs/gst/controller/gst-controller.c:
6045         (gst_controlled_property_set_interpolation_mode),
6046         (gst_controlled_property_new):
6047          fixed boolean again
6048
6049 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6050
6051         * docs/faq/gst-uninstalled:
6052           add -good
6053         * gst/gstevent.c:
6054         * gst/gstevent.h:
6055           remove wrong docs
6056         * gst/gstutils.c: (gst_element_link_filtered):
6057         * gst/gstutils.h:
6058           add gst_element_link_filtered
6059
6060 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6061
6062         * docs/gst/gstreamer-docs.sgml:
6063         * docs/gst/gstreamer-sections.txt:
6064         * docs/gst/tmpl/.cvsignore:
6065         * docs/gst/tmpl/gsterror.sgml:
6066         * docs/gst/tmpl/gstfilter.sgml:
6067         * docs/gst/tmpl/gsturihandler.sgml:
6068         * docs/gst/tmpl/gsturitype.sgml:
6069         * docs/gst/tmpl/gstutils.sgml:
6070         * docs/gst/tmpl/gstxml.sgml:
6071         * gst/gsterror.c:
6072         * gst/gsterror.h:
6073         * gst/gstfilter.c:
6074         * gst/gsturi.c:
6075         * gst/gsturitype.c:
6076         * gst/gstutils.c:
6077         * gst/gstxml.c:
6078           inlined more docs, fixed double id-ref
6079
6080 2005-08-31  Wim Taymans  <wim@fluendo.com>
6081
6082         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6083         (gst_base_transform_handle_buffer):
6084         Passthrough elements don't need the caps as they don't care.
6085
6086 2005-08-31  Wim Taymans  <wim@fluendo.com>
6087
6088         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6089         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6090         Don't leak refcounts on buffers.
6091
6092 2005-08-31  Wim Taymans  <wim@fluendo.com>
6093
6094         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6095         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6096         (gst_base_transform_chain), (gst_base_transform_change_state):
6097         * gst/base/gstbasetransform.h:
6098         Handle the case where we are not negotiated more gracefully.
6099
6100 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6101
6102         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6103         (gst_file_src_map_region):
6104           Set READONLY flag on mmap'ed buffers, otherwise
6105           gst_buffer_make_writable() won't work properly (#314708).
6106
6107 2005-08-31  Wim Taymans  <wim@fluendo.com>
6108
6109         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6110         passthrough elements can even do inplace on non writable
6111         buffers (as they don't touch them).
6112
6113 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6114
6115         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6116         (gst_test_mono_source_set_property),
6117         (gst_test_mono_source_class_init), (GST_START_TEST),
6118         (gst_controller_suite):
6119           more tests (hehe I have the most)
6120         * gst/gstbus.c:
6121           describe popping messages whenusing mulltiple sources
6122         * libs/gst/controller/gst-controller.c:
6123         (gst_controlled_property_set_interpolation_mode),
6124         (gst_controlled_property_new):
6125         * libs/gst/controller/gst-controller.h:
6126         * libs/gst/controller/gst-interpolation.c:
6127           implement boolean properties
6128
6129 2005-08-31  Wim Taymans  <wim@fluendo.com>
6130
6131         * gst/gstminiobject.c: (gst_mini_object_ref):
6132         Cannot assert that the refcount has to be positive
6133         since a disposed object can be resurrected.
6134
6135 2005-08-31  Wim Taymans  <wim@fluendo.com>
6136
6137         * gst/gstpad.c: (gst_pad_init):
6138         Revert change, need to first fix badly behaving 
6139         apps.
6140
6141 2005-08-30  Wim Taymans  <wim@fluendo.com>
6142
6143         * check/elements/fakesrc.c: (setup_fakesrc):
6144         * check/elements/identity.c: (setup_identity):
6145         Activate pads before using them.
6146
6147 2005-08-30  Wim Taymans  <wim@fluendo.com>
6148
6149         * gst/base/gstadapter.c: (gst_adapter_flush):
6150         Flushing out 0 bytes is ok for this function.
6151
6152         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6153         no newsegment gives a warning and sets the start/stop to 
6154         invalid.
6155
6156         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6157         (gst_base_transform_set_passthrough):
6158         Some debug info.
6159
6160         * gst/gstminiobject.c: (gst_mini_object_ref):
6161         Check refcount here too.
6162
6163         * gst/gstpad.c: (gst_pad_init):
6164         Pads are initially flushing and refusing data.
6165
6166         * gst/gstutils.c: (gst_element_link_pads_filtered):
6167         When adding a capsfilter element make sure it has the
6168         same state as the parent bin.
6169
6170 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6171
6172         * docs/gst/tmpl/.cvsignore:
6173         * docs/gst/tmpl/gstformat.sgml:
6174         * docs/gst/tmpl/gstversion.sgml:
6175         * gst/gstbus.h:
6176         * gst/gstformat.c:
6177         * gst/gstformat.h:
6178         * gst/gstversion.h.in:
6179           more docs and two more inlined
6180
6181 2005-08-30  Wim Taymans  <wim@fluendo.com>
6182
6183         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6184         Don't sync to clock.
6185
6186 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6187
6188         * docs/gst/gstreamer-sections.txt:
6189           ultral33t func10ns deserve to appear in the docs actually
6190         * docs/gst/tmpl/.cvsignore:
6191         * docs/gst/tmpl/gstcompat.sgml:
6192         * docs/gst/tmpl/gstconfig.sgml:
6193         * gst/check/gstcheck.c:
6194         * gst/gstcompat.h:
6195         * gst/gstconfig.h.in:
6196           inlined more docs
6197
6198 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6199
6200         * docs/gst/tmpl/.cvsignore:
6201         * docs/gst/tmpl/gstquery.sgml:
6202         * docs/gst/tmpl/gstutils.sgml:
6203         * gst/gstquery.c:
6204         * gst/gstquery.h:
6205           inlined and extended docs
6206
6207 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6208
6209         * check/gst-libs/controller.c: (GST_START_TEST),
6210         (gst_controller_suite):
6211           more tests
6212         * docs/gst/tmpl/gstutils.sgml:
6213         * docs/libs/gstreamer-libs-sections.txt:
6214         * docs/libs/tmpl/gstdataprotocol.sgml:
6215           include path fixes
6216         * examples/controller/audio-example.c: (main):
6217           controller example works now
6218         * gst/gstclock.h:
6219           doc fixes
6220         * tools/gst-inspect.c: (print_element_properties_info):
6221           show param spec flags
6222
6223 2005-08-29  Andy Wingo  <wingo@pobox.com>
6224
6225         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6226
6227 2005-08-28  Andy Wingo  <wingo@pobox.com>
6228
6229         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6230         as having two arguments instead of just one. Allows superclasses
6231         to access information on subclasses -- see the terrible for() loop
6232         in gtype.c:g_type_create_instance for the reason why. All callers
6233         changed.
6234
6235 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6236
6237         * docs/design/part-messages.txt:
6238           update info
6239         * docs/gst/tmpl/.cvsignore:
6240         * docs/gst/tmpl/gstcaps.sgml:
6241         * docs/gst/tmpl/gstclock.sgml:
6242         * gst/gstbus.c:
6243         * gst/gstcaps.c:
6244         * gst/gstcaps.h:
6245         * gst/gstclock.c:
6246         * gst/gstclock.h:
6247         * gst/gstmessage.c:
6248           added descriptions for bus and message
6249           inline caps and clock docs
6250
6251 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6252
6253         * gst/gstmessage.c:
6254         * gst/gstmessage.h:
6255           doc fixes
6256
6257 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6258
6259         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6260           fix div-by-zero
6261
6262 2005-08-26  Andy Wingo  <wingo@pobox.com>
6263
6264         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6265         element_set_state's return val.
6266         (test_2_elements): Add test that's been disabled for months.
6267
6268         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6269         can-activate-pull properties.
6270
6271         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6272         can-activate-pull properties. Implement is_seekable so fakesrc can
6273         operate in pull mode.
6274
6275         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6276         properties.
6277         (gst_base_sink_activate, gst_base_sink_activate_pull)
6278         (gst_base_sink_activate_push): Make activation mode choosing work.
6279         Cleanups.
6280         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6281         is right. Make pull mode work. Post an eos before pausing in pull
6282         mode.
6283         (gst_base_sink_change_state): Pay attention to the core's
6284         change_state() return val.
6285         
6286         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6287         has-getrange properties. Cleanups.
6288         
6289         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6290         has_getrange and replace with can_activate_pull and
6291         can_activate_push.
6292
6293         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6294         locking comments. Remove has_loop, has_chain and replace with
6295         can_activate_pull and can_activate_push.
6296
6297 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6298
6299         * configure.ac:
6300         * examples/Makefile.am:
6301         * examples/metadata/Makefile.am:
6302         * examples/metadata/read-metadata.c: (message_loop),
6303         (have_pad_handler), (make_pipeline), (print_tag), (main):
6304           Add metadata reading example that loops over a list of filenames,
6305           dumping any tags found.
6306
6307         * gst/gstbus.c: (gst_bus_dispose):
6308         * gst/gstelement.c: (gst_element_dispose):
6309           Release a few potentially-held references in dispose.
6310
6311 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6312
6313         * docs/gst/tmpl/gstminiobject.sgml:
6314           do *not* add tmpl/*.sgml files to CVS!
6315
6316 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6317
6318         * libs/gst/bytestream/.cvsignore:
6319         * libs/gst/bytestream/Makefile.am:
6320         * libs/gst/bytestream/adapter.c:
6321         * libs/gst/bytestream/adapter.h:
6322         * libs/gst/bytestream/bytestream.c:
6323         * libs/gst/bytestream/bytestream.h:
6324         * libs/gst/bytestream/filepad.c:
6325         * libs/gst/bytestream/filepad.h:
6326           removing obsolete files
6327
6328 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6329
6330         * docs/gst/gstreamer-docs.sgml:
6331         * docs/libs/gstreamer-libs-docs.sgml:
6332           disabed additional index entries again, as this makes docs-gen just
6333           slow and they aren't useful yet
6334         * docs/libs/gstreamer-libs-sections.txt:
6335           little -section.txt cleanup for libs
6336
6337 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6338
6339         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6340         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6341           fix up some debugging
6342         (gst_base_transform_get_unit_size),
6343         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6344         (gst_base_transform_handle_buffer):
6345         * gst/base/gstbasetransform.h:
6346           handle and store timed NEWSEGMENT events so that subclasses that
6347           calculate time by counting samples have a segment_start time they
6348           need to add to their timestamps - see audioresample
6349
6350 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6351
6352         * gst/gstbin.h:
6353           removed ';' from the end of macro defs
6354         * docs/gst/gstreamer-docs.sgml:
6355         * docs/gst/gstreamer-sections.txt:
6356         * docs/gst/tmpl/.cvsignore:
6357         * gst/gstbus.h:
6358         * gst/gstelement.c: (gst_element_class_init),
6359         (gst_element_set_state), (activate_pads),
6360         (gst_element_save_thyself):
6361         * gst/gstevent.c: (gst_event_new_newsegment):
6362         * gst/gstevent.h:
6363         * gst/gstiterator.c:
6364         * gst/gstiterator.h:
6365         * gst/gstpad.c:
6366         * gst/gstprobe.h:
6367         * gst/gstutils.c: (gst_pad_query_convert):
6368         * gst/gstutils.h:
6369           fixed parameter name mismatches between source, header and docs
6370           added some more docs, resolved the last batch of unused elements in
6371           docs (now someone needs to doc them)
6372
6373 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6374
6375         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6376         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6377           don't walk through the plugins backwards.  Where is all this
6378           reversed logic coming from ?
6379
6380 2005-08-25  Wim Taymans  <wim@fluendo.com>
6381
6382         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6383         (gst_base_transform_transform_size),
6384         (gst_base_transform_configure_caps),
6385         (gst_base_transform_get_unit_size),
6386         (gst_base_transform_buffer_alloc),
6387         (gst_base_transform_change_state):
6388         * gst/base/gstbasetransform.h:
6389         Cache caps unit_size.
6390         Make sure we cannot negotiate up and downstream at the
6391         same time.
6392
6393 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6394
6395         * gst/gst.c: (init_pre), (init_post):
6396           register the installed plugin path after the env var
6397         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6398         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6399           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6400           directories, so the tests can prefer uninstalled over installed
6401
6402 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6403
6404         * gst/base/gstbasetransform.h:
6405           comment
6406         * gst/gstpad.c:
6407           add to docs
6408
6409 2005-08-25  Wim Taymans  <wim@fluendo.com>
6410
6411         * gst/gstbin.c: (bin_bus_handler):
6412         Be a bit more conservative about the posted message.
6413         
6414         * gst/gstbus.c: (gst_bus_post):
6415         Some cleanups, warn wrong return values.
6416
6417 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6418
6419         * check/gst/gstbin.c: (GST_START_TEST):
6420         * gst/gstbin.c: (bin_bus_handler):
6421         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6422         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6423         (gst_message_new_warning), (gst_message_new_tag),
6424         (gst_message_new_state_changed), (gst_message_new_segment_start),
6425         (gst_message_new_segment_done), (gst_message_new_custom):
6426         * gst/gstmessage.h:
6427         * tools/gst-launch.c: (event_loop):
6428         * tools/gst-md5sum.c: (event_loop):
6429           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6430
6431 2005-08-25  Wim Taymans  <wim@fluendo.com>
6432
6433         * check/generic/states.c: (GST_START_TEST):
6434         Cleanup can be done at the end.
6435
6436         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6437         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6438         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6439         Oh boy.. Thanks for finding this, Thomas. 
6440
6441 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6442
6443         * docs/gst/gstreamer.types:
6444           added missing types
6445
6446 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6447
6448         * docs/gst/gstreamer-docs.sgml:
6449         * docs/gst/gstreamer-sections.txt:
6450         * docs/gst/tmpl/.cvsignore:
6451         * gst/gstbin.c:
6452         * gst/gstiterator.c:
6453         * gst/gstutils.c:
6454         * gst/registries/gstxmlregistry.h:
6455           added missing classes and symbols (123 more to go)
6456           removed removed symbols from section file
6457           fixed many doc-comments
6458
6459 2005-08-24  Wim Taymans  <wim@fluendo.com>
6460
6461         * check/generic/states.c: (GST_START_TEST):
6462         Make sure all tasks are stopped.
6463
6464         * check/gst/gstbin.c: (GST_START_TEST):
6465         Unref after usage for proper valgrinding.
6466
6467         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6468         Really wait for the task to stop before destroying the
6469         mutex.
6470
6471         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6472         (gst_queue_src_activate_push):
6473         Small cleanups. Don't stop the task when we did not start
6474         it.
6475
6476         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6477         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6478         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6479         (gst_task_join):
6480         * gst/gsttask.h:
6481         Protect the stream lock with the object lock.
6482         Disallow setting the stream lock when running.
6483         Add cleanup_all to wait for the threadpool to finish.
6484         Remove code to autoallocate a mutex if none was provided.
6485         Add _join() to wait for a task to stop.
6486         Protect the thread pool with a global lock.
6487
6488 2005-08-24  Wim Taymans  <wim@fluendo.com>
6489
6490         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6491         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6492         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6493         * gst/base/gstbasesink.h:
6494         Handle newsegment events correctly.
6495         Drop buffers out of the segment range.
6496
6497 2005-08-22  Andy Wingo  <wingo@pobox.com>
6498
6499         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6500         macro, implements an interface and gstimplementsinterface for a
6501         new type.
6502
6503 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6504
6505         * check/Makefile.am:
6506         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6507           add a test that does a bunch of state changes on elements
6508           needs some fixing for valgrind
6509         * check/states/sinks.c: (gst_object_suite):
6510           whitespace
6511         * gst/gstcaps.h:
6512           add prototype for gst_caps_is_equal_fixed
6513         * gst/gstplugin.c:
6514         * gst/gstregistrypool.c:
6515           doc fixes
6516
6517 2005-08-24  Andy Wingo  <wingo@pobox.com>
6518
6519         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6520         convert a negative value. Doesn't make much sense. Mostly this is
6521         here to force callers to ensure -1 maps to -1.
6522
6523 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6524
6525         * docs/pwg/advanced-types.xml:
6526           Well done to Michael for catching my deliberate introduction
6527           of this spelling mistake. 
6528         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6529         * gst/gstelement.h:
6530           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6531           unlink pads before removing the element from the bin.
6532
6533 2005-08-24  Andy Wingo  <wingo@pobox.com>
6534
6535         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6536         the same thing as GST_DEBUG=*:4.
6537         (parse_debug_level, parse_debug_category): New helper parsers.
6538
6539 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6540
6541         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6542         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6543         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6544         (gst_base_transform_buffer_alloc),
6545         (gst_base_transform_handle_buffer):
6546           use gboolean return values and pointers to size so we can use the
6547           full GST_BUFFER_SIZE range (guint) for buffer sizes
6548           use GstPadDirection for transform_caps
6549         * gst/base/gstbasetransform.h:
6550           rename get_size to get_unit_size since that's what it is
6551         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6552           use GstPadDirection for transform_caps
6553         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6554         * gst/gstutils.h:
6555           cleanup and debugging
6556
6557 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6558
6559         * gst/gstelement.c: (gst_element_class_init),
6560         (gst_element_set_state), (activate_pads),
6561         (gst_element_save_thyself):
6562         * tools/gst-compprep.c: (main):
6563         * tools/gst-inspect.c: (print_element_properties_info):
6564         * tools/gst-xmlinspect.c: (print_element_properties):
6565           Fixed long standing mem-leak
6566
6567 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6568
6569         * check/gst/gstbin.c: (GST_START_TEST):
6570         * gst/gstbin.c: (bin_bus_handler):
6571         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6572         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6573         (gst_message_new_warning), (gst_message_new_tag),
6574         (gst_message_new_state_changed), (gst_message_new_segment_start),
6575         (gst_message_new_segment_done), (gst_message_new_custom):
6576         * gst/gstmessage.h:
6577         * tools/gst-launch.c: (event_loop):
6578         * tools/gst-md5sum.c: (event_loop):
6579           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6580           that applications can sensibly post custom messages with references
6581           to their own objects.
6582
6583 2005-08-24  Andy Wingo  <wingo@pobox.com>
6584
6585         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6586         already.
6587
6588 2005-08-24  Wim Taymans  <wim@fluendo.com>
6589
6590         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6591         (gst_base_transform_transform_caps),
6592         (gst_base_transform_transform_size),
6593         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6594         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6595         (gst_base_transform_handle_buffer):
6596         * gst/base/gstbasetransform.h:
6597         Many fixes and new features added by Thomas. Can now also do
6598         transforms with variable sizes and a custom fixate_caps function.
6599
6600 2005-08-24  Wim Taymans  <wim@fluendo.com>
6601
6602         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6603         Some debugging.
6604
6605         * gst/gstclock.h:
6606         Cast to ClockTime before formatting to time.
6607
6608         * gst/gstutils.h:
6609         Cleanups.
6610
6611 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6612
6613         * check/gst-libs/controller.c: (GST_START_TEST),
6614         (gst_controller_suite):
6615         * docs/gst/tmpl/gstcaps.sgml:
6616         * docs/gst/tmpl/gstghostpad.sgml:
6617         * docs/gst/tmpl/gstquery.sgml:
6618         * docs/gst/tmpl/gstutils.sgml:
6619         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6620         (gst_object_sink_values), (gst_object_get_value_arrays),
6621         (gst_object_get_value_array):
6622           gracefully handle helper method calls to objects that are not beeing
6623           controlled, added test case for that          
6624
6625 2005-08-23  Wim Taymans  <wim@fluendo.com>
6626
6627         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6628         (gst_event_new_newsegment), (gst_event_parse_newsegment),
6629         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6630         (gst_event_parse_qos), (gst_event_new_seek),
6631         (gst_event_parse_seek):
6632         * gst/gstevent.h:
6633         Some more debugging output and doc cleanups.
6634
6635         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6636         Fix possible deadlock.
6637
6638 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6639
6640         * docs/gst/gstreamer-docs.sgml:
6641         * docs/gst/gstreamer-sections.txt:
6642         * docs/gst/gstreamer.types:
6643         * docs/gst/tmpl/.cvsignore:
6644         * gst/gstbin.h:
6645         * gst/gstbus.c:
6646         * gst/gstelement.c:
6647         * gst/gstevent.h:
6648           added 100 symbols from gstreamer-unused.txt to the right sections
6649           fixed more broken comments
6650           added GstBus to docs
6651
6652 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6653
6654         * docs/gst/gstreamer-sections.txt:
6655         * docs/gst/tmpl/.cvsignore:
6656         * docs/gst/tmpl/gstbin.sgml:
6657         * docs/gst/tmpl/gstbuffer.sgml:
6658         * gst/base/gstbasesrc.c:
6659         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6660         * gst/gstbuffer.c:
6661         * gst/gstbuffer.h:
6662         * tools/gst-launch.1.in:
6663           inlined more doc comments, added missing comments and fixed comments
6664           fixed typos
6665
6666 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6667
6668         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6669           some debugging
6670         * gst/gstcaps.h:
6671           whitespace fixes
6672         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6673           more debugging
6674         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6675         * gst/gststructure.h:
6676           add a fixate function for booleans; add a FIXME that these func
6677           names should probably be gst_structure_fixate_*
6678
6679 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6680
6681         * docs/gst/gstreamer-docs.sgml:
6682         * docs/gst/gstreamer-sections.txt:
6683         * gst/Makefile.am:
6684         * gst/gstbin.c: (gst_bin_get_type),
6685         (gst_bin_child_proxy_get_child_by_index),
6686         (gst_bin_child_proxy_get_children_count),
6687         (gst_bin_child_proxy_init):
6688         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6689         (gst_child_proxy_get_child_by_index),
6690         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6691         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6692         (gst_child_proxy_get), (gst_child_proxy_set_property),
6693         (gst_child_proxy_set_valist), (gst_child_proxy_set),
6694         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6695         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6696         * gst/gstchildproxy.h:
6697         * gst/parse/grammar.y:
6698         * tools/gst-inspect.c: (print_interfaces),
6699         (print_element_properties_info), (print_element_info):
6700           ported gstchildproxy over from 0.8
6701           ported gst-inspect fixes and enhancements over from 0.8
6702
6703 2005-08-22  Wim Taymans  <wim@fluendo.com>
6704
6705         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6706         (gst_base_transform_handle_buffer):
6707         Also call the transform function if we have ANY caps.
6708
6709         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6710         Fix debug info.
6711
6712 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6713
6714         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6715           Don't pretend to handle seek events if the source is not seekable
6716
6717 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6718
6719         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6720           Remove extra parameter to debug output
6721
6722         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6723         (gst_base_src_do_seek), (gst_base_src_activate_push):
6724           Fix seek event handling.
6725
6726         * gst/gstpipeline.c: (gst_pipeline_change_state):
6727         * gst/gstqueue.c: (gst_queue_handle_sink_event),
6728         (gst_queue_src_activate_push):
6729           Don't start the src pad task on FLUSH_STOP if the pad
6730           isn't linked.
6731           Debug changes.
6732
6733 2005-08-22  Wim Taymans  <wim@fluendo.com>
6734
6735         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6736         Added check for gst_static_caps_get() refcounting.
6737
6738 2005-08-22  Wim Taymans  <wim@fluendo.com>
6739
6740         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6741         Make _static_caps_get() refcounting sane.
6742         
6743         * gst/gstelement.c: (gst_element_set_state):
6744         Add g_return_val_if_fail() to protect against segfaults.
6745
6746 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
6747
6748         * docs/gst/tmpl/gstevent.sgml:
6749         * gst/gstevent.c:
6750         * gst/gstevent.h:
6751           inlined remaining docs, added missing doc comments
6752
6753 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6754
6755         * check/gst/gstbin.c: (GST_START_TEST):
6756           since we don't know when preroll is done, use refcount range
6757           check for the sink
6758         * gst/check/gstcheck.h:
6759           add macro for checking refcount range
6760
6761 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6762
6763         * check/Makefile.am:
6764           clean up environment for when registry gets built versus
6765           when actual tests are run; valgrind seems to not report
6766           leaks if GST_PLUGIN_PATH is set to some specific values
6767         * check/gst/gstbin.c: (GST_START_TEST):
6768           add more refcounting checks; maybe this exposes a
6769           preroll lock bug ?
6770         * common/check.mak:
6771         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6772         * gst/check/gstcheck.h:
6773         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6774         (gst_bin_change_state):
6775         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6776           add/fix debugging/whitespace
6777
6778 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6779
6780         * check/gst/gstevent.c: (event_probe), (test_event),
6781         (GST_START_TEST):
6782          Er, don't call gst_bin_watch_for_state_change you idiot.
6783
6784 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6785
6786         * check/Makefile.am:
6787           Use CHECK_CFLAGS and CHECK_LIBS
6788         * check/gst/gstevent.c: (event_probe), (test_event),
6789         (GST_START_TEST):
6790           Don't leak events.
6791         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6792         (gst_base_src_start), (gst_base_src_stop),
6793         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6794         (gst_base_src_change_state):
6795           Sprinkle gst_base_src_stop liberally around error paths to fix
6796           problems reusing a source after failed state changes.
6797         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6798         (helper_find_suggest), (gst_type_find_helper):
6799           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6800         * gst/gstevent.h:
6801         * docs/gst/tmpl/gstevent.sgml:
6802           Migrate part of the docs from the SGML file. Wait for ensonic to
6803           tell me how I did it wrong ;)
6804         * tools/gst-typefind.c: (main):
6805           Extra robustness to state changes between files.
6806
6807 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6808
6809         * check/Makefile.am:
6810           don't valgrind the controller test - it's leaking - Stefan, HELP
6811         * gst/check/gstcheck.c: (gst_check_message_error),
6812         (gst_check_chain_func), (gst_check_setup_element),
6813         (gst_check_teardown_element), (gst_check_setup_src_pad),
6814         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6815         (gst_check_teardown_sink_pad):
6816         * gst/check/gstcheck.h:
6817           add a bunch of methods to set up elements, and src and sink pads
6818         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6819         * check/elements/identity.c: (setup_identity), (cleanup_identity),
6820         (GST_START_TEST):
6821           use them
6822         * gst/gstmessage.c:
6823         * gst/gsttag.h:
6824           whitespace/doc fixes
6825
6826 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6827
6828         * gst/gstelement.h:
6829           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6830           be handled by the application and not always printed as well
6831
6832 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6833
6834         * check/Makefile.am:
6835           set GST_TOOLS_DIR
6836         * gst/check/gstcheck.c: (gst_check_message_error):
6837         * gst/check/gstcheck.h:
6838           add a fail_unless_equals_int
6839           add fail_unless for error messages
6840
6841 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6842
6843         * check/Makefile.am:
6844         * check/gst.supp:
6845         * common/Makefile.am:
6846         * common/check.mak:
6847         * common/gst.supp:
6848           factor out some of the common stuff so we can use it
6849
6850 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6851
6852         * check/Makefile.am:
6853         * check/gst/gstiterator.c: (GST_START_TEST):
6854         * check/gst/gstsystemclock.c: (GST_START_TEST),
6855         (gst_systemclock_suite):
6856         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6857         * gst/gstclock.c:
6858           valgrind more tests
6859
6860 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6861
6862         * check/elements/.cvsignore:
6863         * check/elements/gstfakesrc.c:
6864           rename to name of element
6865         * check/elements/identity.c: (chain_func), (event_func),
6866         (setup_identity), (cleanup_identity), (GST_START_TEST),
6867         (identity_suite), (main):
6868           add a test for identity
6869         * check/Makefile.am:
6870         * pkgconfig/Makefile.am:
6871         * pkgconfig/gstreamer-check.pc.in:
6872         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6873         * gst/check:
6874         * gst/Makefile.am:
6875         * configure.ac:
6876           move the check stuff to a library that gets installed
6877         * check/gst-libs/controller.c: (GST_START_TEST):
6878         * check/gst-libs/gdp.c:
6879         * check/gst/gst.c: (GST_START_TEST):
6880         * check/gst/gstbin.c:
6881         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6882         * check/gst/gstbus.c:
6883         * check/gst/gstcaps.c: (GST_START_TEST):
6884         * check/gst/gstelement.c:
6885         * check/gst/gstghostpad.c:
6886         * check/gst/gstiterator.c:
6887         * check/gst/gstmessage.c:
6888         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6889         * check/gst/gstobject.c:
6890         * check/gst/gstpad.c: (GST_START_TEST):
6891         * check/gst/gststructure.c: (GST_START_TEST):
6892         * check/gst/gstsystemclock.c: (GST_START_TEST),
6893         (gst_systemclock_suite):
6894         * check/gst/gsttag.c: (gst_tag_suite):
6895         * check/gst/gstvalue.c:
6896         * check/pipelines/cleanup.c:
6897         * check/pipelines/simple_launch_lines.c:
6898         * check/states/sinks.c:
6899           change include statement
6900
6901         * docs/gst/gstreamer-sections.txt:
6902         * docs/gst/tmpl/gstpad.sgml:
6903           document more pad stuff
6904         * gst/gstminiobject.c: (gst_mini_object_ref),
6905         (gst_mini_object_unref):
6906           debug refcounting
6907
6908 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
6909
6910         * docs/gst/tmpl/gst.sgml:
6911         * gst/gst.c:
6912           eliminate another tmpl file, fix spelling in the long-description
6913
6914 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6915
6916         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6917         (test_event), (timediff), (gstevents_suite):
6918           Should fix build on 64-bit arch's
6919
6920 2005-08-18  Andy Wingo  <wingo@pobox.com>
6921
6922         Make sure that when a pipeline goes to PLAYING, that data has
6923         actually hit the sink.
6924
6925         * check/states/sinks.c (test_sink): A sink that doesn't get any
6926         data shouldn't return SUCCESS for going to either PLAYING or
6927         PAUSED. Test also the return values on the way back down.
6928
6929         * gst/gstelement.c (gst_element_set_state): When changing the
6930         state of an element currently changing state asynchronously, go to
6931         lost-state after commiting the pending state. Makes future calls
6932         to get_state continue to return ASYNC.
6933
6934         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6935         ASYNC when going to PLAYING if we still don't have preroll, as can
6936         happen with live sources.
6937
6938 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6939
6940         * docs/pwg/advanced-types.xml:
6941           Hack long paragraph into 2 chunks as a workaround for buggy
6942           jadetex version in sid and breezy that loops infinitely and
6943           eats all RAM.
6944
6945 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6946
6947         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6948         (test_event), (timediff), (gstevents_suite):
6949           Provide more error margin in clock measurements to allow for 
6950           g_get_current_time inaccuracies.
6951
6952 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6953
6954         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6955         (test_event), (timediff), (gstevents_suite):
6956            Fix error message output so I might be able to tell why the
6957            test works here but fails on the build farm.
6958
6959 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6960
6961         * check/Makefile.am:
6962         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6963         (test_event), (timediff), (gstevents_suite), (main):
6964           I wrote a test!
6965
6966         * docs/design/part-seeking.txt:
6967           Spelling correction
6968
6969         * docs/gst/tmpl/gstevent.sgml:
6970         * docs/gst/tmpl/gstfakesrc.sgml:
6971           Docs updates.
6972
6973         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6974           Treat a buffer-without-newsegment the same as a receiving 
6975           a newsegment not in time format, and disable syncing to the clock
6976           with a warning.
6977
6978         * gst/gstbus.c: (gst_bus_set_sync_handler):
6979           Assert if anyone tries to replace the existing sync_handler for bus, 
6980           as only the owner should be setting it.
6981
6982         * gst/gstevent.h:
6983           Have a fixed set of custom event enums with events identified by
6984           their structure name (as in 0.8), rather than a free-for-all
6985           allowing collisions between enum values from different plugins.
6986
6987         * gst/gstpad.c: (gst_pad_class_init):
6988           Docs change.
6989           
6990         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6991           Handle out-of-band downstream events from the sending thread.
6992
6993 2005-08-17  Andy Wingo  <wingo@pobox.com>
6994
6995         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6996         play-timeout==0 to mean no timeout at all. In that case, don't
6997         bother with a get_state or a warning, just return directly, even
6998         if it's ASYNC.
6999
7000         * gst/base/gstbasetransform.c: Debug changes.
7001
7002         * gst/gstutils.h:
7003         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7004         ensure bins post state change messages. A bit of a hack but I can't
7005         think of a way to avoid it.
7006
7007         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7008
7009 2005-08-16  Andy Wingo  <wingo@pobox.com>
7010
7011         * gst/base/gstadapter.h:
7012         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7013         peek() but you own the data. Not terribly efficient atm.
7014
7015 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7016
7017         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7018         (gst_element_found_tags):
7019         * gst/gstutils.h:
7020           Add two utility functions for tag handling.
7021
7022 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7023
7024         * docs/manual/advanced-dataaccess.xml:
7025         * docs/manual/basics-helloworld.xml:
7026           Fix docs to use _bin_add() before _link(), which fixes the examples
7027           with recent core versions (reported by Madhan Raj M
7028           <raj_madan@rediffmail.com>, #313199).
7029
7030 2005-08-16  Wim Taymans  <wim@fluendo.com>
7031
7032         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7033         Added subtract checks.
7034
7035         * docs/design/part-events.txt:
7036         Some more docs about newsegment
7037
7038         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7039         Fix FIXME
7040
7041         * gst/gstcaps.c: (gst_caps_to_string):
7042         Add comments, cleanups.
7043         
7044         * gst/gstelement.c: (gst_element_save_thyself):
7045         cleanups
7046         
7047         * gst/gstvalue.c: (gst_value_collect_int_range),
7048         (gst_string_unwrap), (gst_value_union_int_int_range),
7049         (gst_value_union_int_range_int_range),
7050         (gst_value_intersect_int_int_range),
7051         (gst_value_intersect_int_range_int_range),
7052         (gst_value_intersect_double_double_range),
7053         (gst_value_intersect_double_range_double_range),
7054         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7055         (gst_value_subtract_int_range_int),
7056         (gst_value_subtract_double_range_double),
7057         (gst_value_subtract_double_range_double_range),
7058         (gst_value_subtract_from_list), (gst_value_subtract_list),
7059         (gst_value_can_compare), (gst_value_compare_fraction):
7060         Cleanups, add comments, remove unneeded asserts.
7061
7062 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7063
7064         * tools/gst-launch.c: (event_loop):
7065           don't convert NULL structures to strings
7066
7067 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7068
7069         * docs/gst/gstreamer-sections.txt:
7070           made some defines private
7071         * docs/gst/tmpl/gstconfig.sgml:
7072         * docs/gst/tmpl/gstqueue.sgml:
7073         * docs/gst/tmpl/gsttaglist.sgml:
7074         * docs/gst/tmpl/gsttypes.sgml:
7075         * docs/gst/tmpl/gstutils.sgml:
7076         * docs/pwg/appendix-porting.xml:
7077         * gst/base/gstbasesink.h:
7078         * gst/base/gstbasesrc.c:
7079         * gst/base/gstbasesrc.h:
7080         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7081         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7082         * gst/gstelement.c: (gst_element_class_init):
7083         * gst/gstpad.c: (gst_pad_class_init):
7084         * gst/gstqueue.c: (gst_queue_class_init):
7085         * gst/gstxml.c: (gst_xml_class_init):
7086           documented all undocumented signal inline
7087         * libs/gst/controller/gst-controller.h:
7088           added padding
7089
7090 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7091
7092         * docs/pwg/appendix-porting.xml:
7093           Document _set_link_function -> _set_setcaps_function.
7094
7095 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7096
7097         * check/Makefile.am:
7098           add a .check target for running the check
7099         * check/gst-libs/controller.c: (GST_START_TEST):
7100           cosmetic fixups
7101         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7102           complete checks for gstbuffer; would be nice if I could get the
7103           gcov stuff to work so I can see if I actually completed gstbuffer.c
7104         * check/gstcheck.h:
7105           add ASSERT_BUFFER_REFCOUNT
7106
7107 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7108
7109         * docs/gst/gstreamer-sections.txt:
7110         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7111         * gst/gsttag.h:
7112           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7113           spew out a warning if a tag that is already registered
7114           is re-registered, unless it is re-registered with a 
7115           different type (#308438).
7116
7117 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7118
7119         * docs/pwg/appendix-porting.xml:
7120         * docs/pwg/building-state.xml:
7121           Add some paragraphs about state changes in 0.9 to the PWG
7122           and the porting guide, in particular about the new meaning
7123           of GST_STATE_PAUSED and how to write state change functions
7124           with concurrent access by multiple threads in mind.
7125
7126 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7127
7128         * docs/gst/gstreamer-docs.sgml:
7129         * docs/libs/gstreamer-libs-docs.sgml:
7130           added deprecation and since indexes
7131         * libs/gst/controller/gst-controller.c:
7132         * libs/gst/controller/gst-helper.c:
7133           added since tags
7134
7135
7136 2005-08-11  Wim Taymans  <wim@fluendo.com>
7137
7138         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7139         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7140         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7141         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7142         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7143         (gst_ghost_pad_set_target):
7144         Actually implement (re)setting the target on a ghostpad
7145         as described in the docs.
7146
7147 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7148
7149         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7150           Check whether GST_DEBUG_NO_COLOR environment variable is
7151           set and disable coloured debug output if that is the case.
7152
7153 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7154
7155         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7156         (gst_type_find_helper):
7157           The memory returned by gst_type_find_peek() needs to
7158           stay valid until the end of a typefind function, and
7159           typefind functions may keep results from different 
7160           offsets around, so we can't just unref the buffer from
7161           the previous _peek(), but have to save all buffers 
7162           returned by _peek() until typefinding is done and only
7163           free them then.
7164
7165 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7166
7167         * docs/gst/gstreamer-sections.txt:
7168         * gst/gstutils.h:
7169           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7170
7171 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7172
7173         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7174           Fix a pretty good memleak.
7175
7176 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7177
7178         * gst/gstiterator.h:
7179           Fix wrong include and 'make distcheck'.
7180
7181 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7182
7183         * gst/gstbin.c: (bin_bus_handler):
7184           Use gst_element_post_message() instead.
7185
7186 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7187
7188         * gst/base/gstadapter.h:
7189         * gst/base/gstbasesink.h:
7190         * gst/base/gstbasesrc.h:
7191         * gst/base/gstbasetransform.h:
7192         * gst/base/gstcollectpads.h:
7193         * gst/base/gstpushsrc.h:
7194         * gst/gstiterator.h:
7195           Add padding to our base elements' class and instance structs and
7196           to GstIterator (you will need to rebuild all plugins and apps!)
7197
7198 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7199
7200         * gst/gstbin.c: (bin_bus_handler):
7201           Make default message forwarding from child->bus to bin->bus
7202           threadsafe and make it not emit warnings if the parent has no bus.
7203
7204 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7205
7206         * gst/gstelement.c: (activate_pads):
7207           On paused->ready, set pad->caps to NULL, as is the documented
7208           behaviour in this state change. Fixes playback of series of
7209           media files when visualization is enabled in Totem.
7210
7211 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7212
7213         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7214           Allow NULL as filter-caps (which means "any").
7215
7216 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7217
7218         * docs/libs/gstreamer-libs-sections.txt:
7219         * libs/gst/controller/gst-controller.c:
7220         * libs/gst/controller/gst-controller.h:
7221         * libs/gst/controller/gst-helper.c:
7222           adding more entries to the docs and fix small doc-bugs
7223
7224 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7225
7226         * docs/gst/gstreamer-docs.sgml:
7227         * docs/gst/gstreamer-sections.txt:
7228         * docs/gst/gstreamer.types:
7229         * docs/gst/tmpl/gstbasesink.sgml:
7230         * docs/gst/tmpl/gstbasesrc.sgml:
7231         * docs/gst/tmpl/gstbasetransform.sgml:
7232         * docs/gst/tmpl/gstfakesrc.sgml:
7233         * gst/base/gstcollectpads.c:
7234         * gst/base/gstcollectpads.h:
7235         * libs/gst/controller/gst-controller.c:
7236         * libs/gst/controller/gst-controller.h:
7237         * libs/gst/controller/gst-helper.c:
7238         * libs/gst/controller/gst-interpolation.c:
7239         * libs/gst/controller/lib.c:
7240           added long/short desc for controller docs
7241           added collectpads base class docs
7242           added correct includes to base-class docs
7243
7244 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7245
7246         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7247         (gst_test_mono_source_set_property),
7248         (gst_test_mono_source_class_init), (GST_START_TEST),
7249         (gst_controller_suite):
7250         * docs/gst/gstreamer-docs.sgml:
7251         * docs/gst/gstreamer-sections.txt:
7252         * docs/gst/gstreamer.types:
7253         * docs/libs/gstreamer-libs-docs.sgml:
7254         * docs/libs/gstreamer-libs-sections.txt:
7255         * gst/base/gstadapter.c:
7256         * libs/gst/controller/gst-controller.c:
7257         (gst_controlled_property_new), (gst_controlled_property_free),
7258         (gst_controller_new_valist),
7259         (gst_controller_remove_properties_valist),
7260         (gst_controller_sink_values), (_gst_controller_finalize):
7261         * libs/gst/controller/gst-controller.h:
7262         * libs/gst/controller/gst-helper.c:
7263         (gst_object_control_properties), (gst_object_uncontrol_properties),
7264         (gst_object_get_controller), (gst_object_set_controller),
7265         (gst_object_sink_values), (gst_object_get_value_arrays),
7266         (gst_object_get_value_array):
7267           more tests (and fixes) for the controller
7268           more docs for the controller
7269           integrated companies docs for the adapter 
7270
7271 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7272
7273         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7274         (GST_START_TEST), (fakesrc_suite):
7275           add tests for sizetype
7276
7277 2005-08-04  Andy Wingo  <wingo@pobox.com>
7278
7279         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7280         fixes buffer_alloc proxying among other things.
7281
7282         * gst/base/gstbasetransform.c:
7283         * gst/base/gstbasetransform.h:
7284         Revert patch to gstbasetransform from 7-28 removing
7285         delay_configure.
7286
7287         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7288         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7289         Semantics changed, should return not the size of the output buffer
7290         but the byte size of a buffer with a given caps.
7291
7292         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7293         debug object.
7294         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7295         out) are not the pad caps until setcaps finishes.
7296         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7297         not-in-place case as well. Deal with changing from in-place to
7298         not-in-place within calling pad_alloc_buffer. Still a bit
7299         concerned about the overhead here...
7300
7301 2005-08-03  Andy Wingo  <wingo@pobox.com>
7302
7303         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7304         fixating is an error.
7305
7306 2005-08-04  Edward Hervey  <edward@fluendo.com>
7307
7308         * gst/base/gstadapter.h: 
7309         Added gst_adapter_get_type() to the header
7310
7311 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7312
7313         * check/Makefile.am:
7314         * check/gst-libs/controller.c:
7315         * libs/gst/controller/gst-controller.c:
7316         (gst_controller_new_valist):
7317           added check test suite for the controller
7318         * gst/base/gstpushsrc.c:
7319           fixed a doc typo
7320
7321 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7322
7323         * docs/gst/Makefile.am:
7324         * docs/gst/gstreamer-docs.sgml:
7325         * docs/gst/gstreamer-sections.txt:
7326         * docs/gst/gstreamer.types:
7327         * docs/gst/tmpl/gstfakesrc.sgml:
7328         * gst/base/README:
7329         * gst/base/gstbasesink.c:
7330         * gst/base/gstbasesink.h:
7331         * gst/base/gstbasesrc.c:
7332         * gst/base/gstbasesrc.h:
7333         * gst/base/gstbasetransform.c:
7334         * gst/base/gstpushsrc.c:
7335         * gst/base/gstpushsrc.h:
7336           add short/long description docs to base classes
7337           add pushsrc to the docs
7338           remove consolidated doc fragments
7339
7340 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7341
7342         * configure.ac:
7343         * docs/libs/Makefile.am:
7344         * docs/libs/gstreamer-libs-docs.sgml:
7345         * docs/libs/gstreamer-libs-sections.txt:
7346         * docs/libs/gstreamer-libs.types:
7347         * examples/Makefile.am:
7348         * examples/controller/.cvsignore:
7349         * examples/controller/Makefile.am:
7350         * examples/controller/audio-example.c: (main):
7351         * libs/gst/Makefile.am:
7352         * libs/gst/controller/.cvsignore:
7353         * libs/gst/controller/Makefile.am:
7354         * libs/gst/controller/gst-controller.c:
7355         (on_object_controlled_property_changed), (gst_timed_value_compare),
7356         (gst_timed_value_find),
7357         (gst_controlled_property_set_interpolation_mode),
7358         (gst_controlled_property_new), (gst_controlled_property_free),
7359         (gst_controller_find_controlled_property),
7360         (gst_controller_new_valist), (gst_controller_new),
7361         (gst_controller_remove_properties_valist),
7362         (gst_controller_remove_properties), (gst_controller_set),
7363         (gst_controller_set_from_list), (gst_controller_unset),
7364         (gst_controller_get), (gst_controller_get_all),
7365         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7366         (gst_controller_get_value_array),
7367         (gst_controller_set_interpolation_mode),
7368         (_gst_controller_finalize), (_gst_controller_init),
7369         (_gst_controller_class_init), (gst_controller_get_type):
7370         * libs/gst/controller/gst-controller.h:
7371         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7372         (g_object_uncontrol_properties), (g_object_get_controller),
7373         (g_object_set_controller), (g_object_sink_values),
7374         (g_object_get_value_arrays), (g_object_get_value_array):
7375         * libs/gst/controller/gst-interpolation.c:
7376         (gst_controlled_property_find_timed_value_node),
7377         (interpolate_none_get), (interpolate_trigger_get),
7378         (interpolate_trigger_get_value_array):
7379         * libs/gst/controller/lib.c: (gst_controller_init):
7380         * pkgconfig/Makefile.am:
7381         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7382         * pkgconfig/gstreamer-control.pc.in:
7383         * testsuite/Makefile.am:
7384         * testsuite/controller/.cvsignore:
7385         * testsuite/controller/Makefile.am:
7386         * testsuite/controller/interpolator.c: (main):
7387           added controller code
7388           removed dparam pc files
7389
7390 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7391         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7392         (gst_collectpads_stop):
7393           Broadcast the condition when shutting down, to make sure we wake all
7394           threads up. Shut down pads on finalize, for safety.
7395
7396 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7397         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7398         (gst_base_transform_handle_buffer),
7399         (gst_base_transform_change_state):
7400           Handle PAUSED->READY->PAUSED transition after negotiation
7401           occurred already.
7402         * gst/gstmessage.c: (gst_message_init):
7403           Extra piece of debug for new messages.
7404
7405 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7406
7407         * configure.ac:
7408         * docs/gst/tmpl/gstbasesrc.sgml:
7409         * docs/gst/tmpl/gstelement.sgml:
7410         * docs/gst/tmpl/gstevent.sgml:
7411         * docs/gst/tmpl/gstfakesrc.sgml:
7412         * docs/gst/tmpl/gstformat.sgml:
7413         * docs/gst/tmpl/gstghostpad.sgml:
7414         * docs/gst/tmpl/gstpad.sgml:
7415         * docs/gst/tmpl/gstquery.sgml:
7416         * docs/gst/tmpl/gststructure.sgml:
7417         * docs/gst/tmpl/gsttaglist.sgml:
7418         * docs/gst/tmpl/gstvalue.sgml:
7419         * docs/libs/gstreamer-libs-docs.sgml:
7420         * docs/libs/gstreamer-libs-sections.txt:
7421         * docs/libs/gstreamer-libs.types:
7422         * libs/gst/Makefile.am:
7423         * libs/gst/control/.cvsignore:
7424         * libs/gst/control/Makefile.am:
7425         * libs/gst/control/control.c:
7426         * libs/gst/control/control.h:
7427         * libs/gst/control/dparam.c:
7428         * libs/gst/control/dparam.h:
7429         * libs/gst/control/dparam_smooth.c:
7430         * libs/gst/control/dparam_smooth.h:
7431         * libs/gst/control/dparamcommon.h:
7432         * libs/gst/control/dparammanager.c:
7433         * libs/gst/control/dparammanager.h:
7434         * libs/gst/control/dplinearinterp.c:
7435         * libs/gst/control/dplinearinterp.h:
7436         * libs/gst/control/unitconvert.c:
7437         * libs/gst/control/unitconvert.h:
7438         * testsuite/Makefile.am:
7439         * testsuite/dynparams/.cvsignore:
7440         * testsuite/dynparams/Makefile.am:
7441         * testsuite/dynparams/dparamstest.c:
7442         * tools/Makefile.am:
7443         * tools/gst-inspect.c: (print_element_info), (main):
7444         * tools/gst-xmlinspect.c: (print_element_info), (main):
7445           deactivate and remove dparams (libgstcontrol)
7446
7447 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7448
7449         * gst/elements/gsttypefindelement.c:
7450         (gst_type_find_element_have_type), (gst_type_find_element_init),
7451         (stop_typefinding), (gst_type_find_element_handle_event),
7452         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7453         * gst/elements/gsttypefindelement.h:
7454           Set caps on all outgoing buffers, not just the first one.
7455
7456 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7457
7458         * gst/elements/gsttypefindelement.c:
7459         (gst_type_find_element_have_type),
7460         (gst_type_find_element_check_set_buffer_caps),
7461         (gst_type_find_element_init), (stop_typefinding),
7462         (gst_type_find_element_handle_event),
7463         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7464         * gst/elements/gsttypefindelement.h:
7465           Set caps on first outgoing buffer when we've found the type.
7466
7467 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7468
7469         * docs/gst/gstreamer-docs.sgml:
7470         * docs/gst/gstreamer-sections.txt:
7471         * docs/gst/tmpl/gstscheduler.sgml:
7472         * docs/gst/tmpl/gstschedulerfactory.sgml:
7473           Remove some old cruft from docs.
7474
7475 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7476
7477         * gst/gstpad.h:
7478           Fix inline docs for GstPadLinkReturn.
7479           
7480         * gst/gststructure.c: (gst_structure_has_name):
7481         * gst/gststructure.h:
7482         * docs/gst/gstreamer-sections.txt:
7483           New API: gst_structure_has_name().
7484
7485 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7486
7487         * configure.ac:
7488           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7489           and _LARGEFILE_SOURCE in config.h as required. Do not 
7490           export those flags in our .pc files any longer (#142209).
7491
7492           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7493
7494         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7495         (gst_file_sink_do_seek), (gst_file_sink_event),
7496         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7497           Redo seek/tell calls with large file support in mind; add some
7498           debugging messages; add log message that tells us when large
7499           file support is unavailable or not enabled for some reason.
7500
7501         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7502           Add log message that tells us when large file support 
7503           is unavailable or not enabled for some reason.
7504
7505 2005-07-29  Wim Taymans  <wim@fluendo.com>
7506
7507         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7508         Added test for removing an element with ghostpad from a bin.
7509         Fixed test as current implementation does the right thing.
7510
7511         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7512         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7513         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7514         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7515         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7516         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7517         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7518         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7519         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7520         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7521         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7522         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7523         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7524         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7525         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7526         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7527         * gst/gstghostpad.h:
7528         Clean up ghostpads, remove properties for internal stuff.
7529         Make threadsafe.
7530         Fix refcounting.
7531         Prepare for switching targets, not all use cases work yet.
7532
7533 2005-07-29  Wim Taymans  <wim@fluendo.com>
7534
7535         * docs/design/part-gstghostpad.txt:
7536         Small update.
7537
7538         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7539         (gst_bin_remove_func):
7540         Unlinking pads while holding the bin LOCK is not a good
7541         idea.
7542
7543         * gst/gstpad.c: (gst_pad_class_init),
7544         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7545         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7546         No prob setting template after creating the pad.
7547
7548 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7549
7550         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7551         (gst_bus_peek), (gst_bus_source_dispatch),
7552         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7553         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7554           gst_bus_poll may be called from other threads. Handle
7555           this nicely by not making poll_data disappear off the
7556           stack once gst_bus_poll returns.
7557           gst_bus_peek now increments the refcount on the returned
7558           message.
7559
7560 2005-07-29  Wim Taymans  <wim@fluendo.com>
7561
7562         * docs/design/part-gstghostpad.txt:
7563         Overview of current GhostPad datastructures and use
7564         cases for changing the target.
7565
7566 2005-07-28  Wim Taymans  <wim@fluendo.com>
7567
7568         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7569         Added checks for hierarchy consistency whan adding linked
7570         elements to bins.
7571
7572         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7573         Added check to test element scheduling without bin/pipeline.
7574
7575         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7576         First add elements to bin, then link.
7577         
7578         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7579         (gst_bin_remove_func):
7580         Unlink pads from elements added/removed from bin to maintain
7581         hierarchy consistency.
7582
7583 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7584
7585         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7586         (gst_base_transform_handle_buffer):
7587         * gst/base/gstbasetransform.h:
7588           Remove broken delay_configure (fixes renegotiation of software
7589           scaling pipelines); remove some leftover printf()s.
7590
7591 2005-07-28  Wim Taymans  <wim@fluendo.com>
7592
7593         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7594         Added some more tests for wrong hierarchy
7595
7596         * docs/design/part-overview.txt:
7597         Some updates.
7598
7599         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7600         Cleanups.
7601
7602         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7603         (gst_element_dispose):
7604         Some more cleanups.
7605
7606         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7607         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7608         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7609         (gst_pad_set_caps), (gst_pad_send_event):
7610         Check for correct hierarchy when linking pads. Moving to
7611         strict requirement for ghostpads when linking elements in
7612         different bins.
7613
7614         * gst/gstpad.h:
7615         Clean ups. Added WRONG_HIERARCHY return value.
7616
7617 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7618
7619         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7620           Better debug if no transform is possible.
7621
7622 2005-07-27  Wim Taymans  <wim@fluendo.com>
7623
7624         * docs/random/wtay/network-transp:
7625         Some old doc I had.
7626
7627 2005-07-27  Wim Taymans  <wim@fluendo.com>
7628
7629         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7630         (gst_dp_event_from_packet):
7631         Fix serialization of seek events.
7632
7633 2005-07-27  Wim Taymans  <wim@fluendo.com>
7634
7635         * check/gst-libs/gdp.c: (GST_START_TEST):
7636         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7637         Fix compilation and fix event serialization.
7638
7639 2005-07-27  Wim Taymans  <wim@fluendo.com>
7640
7641         * CHANGES-0.9:
7642         * docs/design/part-TODO.txt:
7643         * docs/design/part-events.txt:
7644         Some docs updates
7645
7646         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7647         (gst_base_sink_event), (gst_base_sink_do_sync),
7648         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7649         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7650         (gst_base_src_do_seek), (gst_base_src_event_handler),
7651         (gst_base_src_loop):
7652         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7653         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7654         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7655         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7656         (gst_base_transform_set_passthrough),
7657         (gst_base_transform_is_passthrough):
7658         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7659         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7660         Event updates.
7661
7662         * gst/gstbuffer.h:
7663         Use faster casts.
7664
7665         * gst/gstelement.c: (gst_element_seek):
7666         * gst/gstelement.h:
7667         Update gst_element_seek.
7668
7669         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7670         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7671         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7672         (gst_event_new_eos), (gst_event_new_newsegment),
7673         (gst_event_parse_newsegment), (gst_event_new_tag),
7674         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7675         (gst_event_parse_qos), (gst_event_new_seek),
7676         (gst_event_parse_seek), (gst_event_new_navigation):
7677         * gst/gstevent.h:
7678         Make GstEvent use GstStructure. Add parsing code, make sure the
7679         API is sufficiently generic.
7680         Mark possible directions of events and serialization.
7681
7682         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7683         (_gst_message_copy), (gst_message_new_segment_start),
7684         (gst_message_new_segment_done), (gst_message_new_custom),
7685         (gst_message_parse_segment_start),
7686         (gst_message_parse_segment_done):
7687         Small cleanups.
7688
7689         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7690         (gst_pad_set_caps), (gst_pad_send_event):
7691         Update for new events. 
7692         Catch events sent in wrong directions.
7693
7694         * gst/gstqueue.c: (gst_queue_link_src),
7695         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7696         (gst_queue_handle_src_query):
7697         Event updates.
7698
7699         * gst/gsttag.c:
7700         * gst/gsttag.h:
7701         Remove event code from this file.
7702
7703         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7704         (gst_dp_event_from_packet):
7705         Event updates.
7706
7707 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7708
7709         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7710         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7711         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7712           Make debugging actually useful.
7713
7714 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7715
7716         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7717         (gst_pad_fixate_caps):
7718           Implement default fixation once again, so that gst_pad_fixate()
7719           actually does anything at all. This probably needs to be some
7720           sort of a last resort, and use profile-based fixation first, but
7721           since that doesn't exist yet, this is the best we have. Fixes
7722           visualization in Totem.
7723
7724 2005-07-22  Wim Taymans  <wim@fluendo.com>
7725
7726         * docs/design/part-events.txt:
7727         Small update.
7728
7729         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7730         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7731         (gst_base_sink_activate_pull):
7732         Some more comments.
7733
7734         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7735         (gst_fake_src_create):
7736         Fix handoff marshall.
7737
7738         * gst/elements/gstidentity.c: (gst_identity_class_init),
7739         (gst_identity_transform_ip):
7740         We're a real inplace element.
7741
7742         * gst/gstbus.c: (gst_bus_post):
7743         Added some comments.
7744
7745         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7746         * tests/muxing/case1.c: (main):
7747         * tests/sched/dynamic-pipeline.c: (main):
7748         * tests/sched/interrupt1.c: (main):
7749         * tests/sched/interrupt2.c: (main):
7750         * tests/sched/interrupt3.c: (main):
7751         * tests/sched/runxml.c: (main):
7752         * tests/sched/sched-stress.c: (main):
7753         * tests/seeking/seeking1.c: (event_received), (main):
7754         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7755         (main):
7756         * tests/threadstate/threadstate3.c: (main):
7757         * tests/threadstate/threadstate4.c: (main):
7758         * tests/threadstate/threadstate5.c: (main):
7759         Fix the tests.
7760
7761 2005-07-21  Wim Taymans  <wim@fluendo.com>
7762
7763         * docs/design/part-seeking.txt:
7764         Some small additions.
7765
7766         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7767         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7768         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7769         * gst/base/gstbasesink.h:
7770         discont values are gint64, handle the math correctly.
7771
7772         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7773         Make the basesrc report error if the source pad is not linked.
7774
7775         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7776         (gst_queue_loop), (gst_queue_handle_src_query),
7777         (gst_queue_src_activate_push):
7778         Make queue collect data even if the srcpad is not linked.
7779         Start pushing out data as soon as it is linked.
7780
7781         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7782         * gst/gstutils.h:
7783         Added gst_flow_get_name() to ease error reporting.
7784
7785 2005-07-20  Wim Taymans  <wim@fluendo.com>
7786
7787         * gst/gstmessage.c: (gst_message_new_segment_start),
7788         (gst_message_new_segment_done), (gst_message_parse_segment_start),
7789         (gst_message_parse_segment_done):
7790         * gst/gstmessage.h:
7791         Added a bunch of messages for advanced seeking.
7792
7793         * gst/parse/grammar.y:
7794         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7795         (gst_dpman_state_changed):
7796         Fix some new-pad -> pad-added signals
7797
7798 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7799
7800         * docs/manual/appendix-porting.xml:
7801         * docs/pwg/appendix-porting.xml:
7802           Document new-pad/state-change signal renames and the FixedList
7803           type rename.
7804
7805 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7806
7807         * docs/manual/advanced-autoplugging.xml:
7808         * docs/manual/basics-helloworld.xml:
7809         * docs/manual/basics-pads.xml:
7810         * docs/random/ds/0.9-suggested-changes:
7811         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7812         * gst/gstelement.h:
7813         * gst/gstevent.h:
7814         * gst/gstformat.h:
7815         * gst/gstquery.h:
7816         * gst/gststructure.c: (gst_structure_value_get_generic_type),
7817         (gst_structure_parse_array), (gst_structure_parse_value):
7818         * gst/gstvalue.c: (gst_type_is_fixed),
7819         (gst_value_list_prepend_value), (gst_value_list_append_value),
7820         (gst_value_list_get_size), (gst_value_list_get_value),
7821         (gst_value_transform_array_string), (gst_value_serialize_array),
7822         (gst_value_deserialize_array), (gst_value_intersect_array),
7823         (gst_value_is_fixed), (_gst_value_initialize):
7824         * gst/gstvalue.h:
7825           GstElement::new-pad -> pad-added, GstElement::state-change ->
7826           state-changed, GstValueFixedList -> GstValueArray, add format and
7827           flags as their own arguments in gst_element_seek() (should improve
7828           "bindeability"), remove function generators since they don't work
7829           under a whole bunch of compilers (they were deprecated already
7830           anyway).
7831
7832 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7833
7834         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7835         (_gst_debug_register_funcptr):
7836         * gst/gstinfo.h:
7837           Fix illegal cast on some platforms (#309253).
7838
7839 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7840
7841         * gst/gstmessage.c: (gst_message_new_custom):
7842         * gst/gstmessage.h:
7843           Add _new_custom, make _new_application a macro to _new_custom.
7844
7845 2005-07-20  Wim Taymans  <wim@fluendo.com>
7846
7847         * gst/base/gstbasesrc.c: (gst_base_src_init),
7848         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7849         * gst/base/gstbasesrc.h:
7850         Add a gboolean to decide when to push out a discont.
7851
7852         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7853         (gst_queue_loop), (gst_queue_handle_src_query),
7854         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7855         (gst_queue_set_property), (gst_queue_get_property):
7856         Some cleanups.
7857
7858         * tests/threadstate/threadstate1.c: (main):
7859         Make a thread test compile and run... very silly..
7860
7861
7862 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7863
7864         * docs/manual/appendix-porting.xml:
7865           Mention removal of libgstgconf-0.9.la and existence of gconf
7866           elements.
7867
7868 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7869
7870         * docs/pwg/advanced-clock.xml:
7871         * docs/pwg/appendix-porting.xml:
7872         * docs/pwg/intro-preface.xml:
7873         * docs/pwg/other-base.xml:
7874         * docs/pwg/other-manager.xml:
7875         * docs/pwg/other-nton.xml:
7876         * docs/pwg/other-ntoone.xml:
7877         * docs/pwg/other-oneton.xml:
7878         * docs/pwg/pwg.xml:
7879           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7880           demuxer), remove n-to-n (was never written), fix some code examples
7881           and links and update the porting section to include all this.
7882
7883 2005-07-19  Wim Taymans  <wim@fluendo.com>
7884
7885         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7886         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7887         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7888         (gst_queue_src_activate_push), (gst_queue_change_state),
7889         (gst_queue_get_property):
7890         * gst/gstqueue.h:
7891         Propagate GstFlowReturn more intelligently upstream and output
7892         an ERROR/EOS when streaming stopped due to fatal error.
7893
7894 2005-07-19  Wim Taymans  <wim@fluendo.com>
7895
7896         * tools/gst-launch.c: (check_intr), (event_loop), (main):
7897         Don't block forever for the state change to complete, the
7898         pipeline already did with a sensible timeout.
7899
7900 2005-07-19  Wim Taymans  <wim@fluendo.com>
7901
7902         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7903         Make sure we never call the create function is we
7904         got deactivated.
7905
7906 2005-07-19  Andy Wingo  <wingo@pobox.com>
7907
7908         * gst/parse/parse.l: Attempt to solve bug #172815.
7909
7910 2005-07-19  Wim Taymans  <wim@fluendo.com>
7911
7912         * docs/design/part-clocks.txt:
7913         * docs/design/part-events.txt:
7914         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7915         Small docs updates.
7916         Only update the seeking values when we are not
7917         busy streaming.
7918
7919 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7920
7921         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7922           Oops, ignore the result of gst_pad_push_event here.
7923
7924 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7925
7926         * gst/base/gstbasesrc.c: (gst_base_src_loop),
7927         (gst_base_src_activate_push):
7928           Send discont event from the loop function, as pads
7929           aren't activated yet in the activate_push handler.
7930
7931         * gst/gstbin.c: (bin_bus_handler):
7932           Don't leak element name.
7933
7934 2005-07-18  Andy Wingo  <wingo@pobox.com>
7935
7936         * configure.ac: Use AS_LIBTOOL_TAGS.
7937
7938 2005-07-18  Wim Taymans  <wim@fluendo.com>
7939
7940         * docs/gst/gstreamer.types:
7941         Remove deleted types.
7942
7943 2005-07-18  Wim Taymans  <wim@fluendo.com>
7944
7945         * check/elements/gstfakesrc.c: (GST_START_TEST):
7946         * configure.ac:
7947         * gst/Makefile.am:
7948         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7949         (init_popt_callback):
7950         * gst/gst.h:
7951         * gst/gst_private.h:
7952         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7953         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7954         * gst/gstbin.h:
7955         * gst/gstbus.h:
7956         * gst/gstconfig.h.in:
7957         * gst/gstelement.c: (gst_element_class_init),
7958         (gst_element_set_base_time), (gst_element_get_base_time),
7959         (iterator_fold_with_resync), (gst_element_change_state),
7960         (gst_element_dispose), (gst_element_get_bus):
7961         * gst/gstelement.h:
7962         * gst/gstelementfactory.h:
7963         * gst/gsterror.c: (_gst_core_errors_init):
7964         * gst/gsterror.h:
7965         * gst/gstevent.h:
7966         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7967         * gst/gstindex.c:
7968         * gst/gstinfo.c: (_gst_debug_init):
7969         * gst/gstmessage.c: (_gst_message_copy):
7970         * gst/gstmessage.h:
7971         * gst/gstminiobject.h:
7972         * gst/gstobject.c:
7973         * gst/gstobject.h:
7974         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7975         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7976         * gst/gstpad.h:
7977         * gst/gstparse.h:
7978         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7979         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7980         (gst_pipeline_get_last_stream_time):
7981         * gst/gstpipeline.h:
7982         * gst/gstpluginfeature.h:
7983         * gst/gstquery.h:
7984         * gst/gstscheduler.c:
7985         * gst/gstscheduler.h:
7986         * gst/gststructure.h:
7987         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7988         (gst_task_finalize), (gst_task_func), (gst_task_create),
7989         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7990         (gst_task_stop), (gst_task_pause):
7991         * gst/gsttask.h:
7992         * gst/gsttypefind.h:
7993         * gst/gsttypes.h:
7994         * gst/registries/gstlibxmlregistry.c: (load_feature),
7995         (gst_xml_registry_load), (gst_xml_registry_save_feature):
7996         * gst/registries/gstxmlregistry.c:
7997         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7998         * gst/schedulers/threadscheduler.c:
7999         * libs/gst/control/dparammanager.h:
8000         * tools/gst-inspect.c: (print_element_list),
8001         (print_plugin_features), (print_element_features):
8002         * tools/gst-xmlinspect.c: (print_element_list),
8003         (print_plugin_info), (main):
8004         Removed plugable schedulers.
8005         Removed Scheduler/Manager from elements.
8006         Removed gsttypes.h, rearranged includes.
8007         Removed dependency pad<->element, element<>pipeline, and
8008         various others,  fix includes.
8009         implement gst_pad_get_parent() with gst_object_get_parent()
8010         Make GstTask sefcontained.
8011         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8012         timeout.
8013         Fix endless loop in iterator_fold_with_resync.
8014
8015
8016 2005-07-18  Wim Taymans  <wim@fluendo.com>
8017
8018         * gst/Makefile.am:
8019         * gst/gstarch.h:
8020         Remove old file.
8021
8022 2005-07-18  Wim Taymans  <wim@fluendo.com>
8023
8024         * gst/Makefile.am:
8025         No more cothreads.h
8026
8027 2005-07-18  Wim Taymans  <wim@fluendo.com>
8028
8029         * gst/cothreads.c:
8030         * gst/cothreads.h:
8031         Let's remove these.
8032
8033 2005-07-18  Wim Taymans  <wim@fluendo.com>
8034
8035         * docs/design/part-dynamic.txt:
8036         * docs/design/part-events.txt:
8037         * docs/design/part-seeking.txt:
8038         Some more docs in the works.
8039
8040         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8041         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8042         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8043         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8044         (gst_base_transform_handle_buffer),
8045         (gst_base_transform_sink_activate_push),
8046         (gst_base_transform_src_activate_pull),
8047         (gst_base_transform_set_passthrough),
8048         (gst_base_transform_is_passthrough):
8049         Refcounting fixes.
8050
8051         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8052         Cleanups.
8053
8054         * gst/gstevent.c: (gst_event_finalize):
8055         Set SRC to NULL.
8056
8057         * gst/gstutils.c: (gst_element_unlink),
8058         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8059         (gst_pad_proxy_setcaps):
8060         * gst/gstutils.h:
8061         Add _get_parent_element() to get a pads parent as an element.
8062
8063 2005-07-18  Wim Taymans  <wim@fluendo.com>
8064
8065         * check/gst/gstbin.c: (GST_START_TEST):
8066         Remove bogus test.
8067
8068 2005-07-18  Wim Taymans  <wim@fluendo.com>
8069
8070         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8071         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8072         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8073         (gst_base_sink_event), (gst_base_sink_do_sync),
8074         (gst_base_sink_chain), (gst_base_sink_loop),
8075         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8076         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8077         Refcounting fixes.
8078         Fix logic for returning ASYNC when not prerolled.
8079
8080 2005-07-18  Wim Taymans  <wim@fluendo.com>
8081
8082         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8083         Fix nasty refcount bug.
8084
8085 2005-07-16 Philippe Khalaf <burger@speedy.org>
8086
8087         * gst/elements/gstfdsrc.c:
8088         * gst/elements/gstfdsrc.h:
8089         * gst/elements/gstelements.c:
8090         * gst/elements/Makefile.am:
8091         Ported fdsrc to 0.9.
8092
8093 2005-07-16  Wim Taymans  <wim@fluendo.com>
8094
8095         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8096         (gst_base_sink_do_sync):
8097         Fix compile error.
8098
8099 2005-07-16  Wim Taymans  <wim@fluendo.com>
8100
8101         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8102         (gst_base_sink_event), (gst_base_sink_get_times),
8103         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8104         * gst/base/gstbasesink.h:
8105         Store and use discont values when syncing buffers as described
8106         in design docs.
8107         
8108         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8109         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8110         (gst_base_src_activate_push):
8111         Push discont event when starting.
8112
8113         * gst/elements/gstidentity.c: (gst_identity_transform):
8114         Small cleanups.
8115
8116         * gst/gstbin.c: (gst_bin_change_state):
8117         Small cleanups in base_time  distribution.
8118
8119         * gst/gstelement.c: (gst_element_set_base_time),
8120         (gst_element_get_base_time), (gst_element_change_state):
8121         * gst/gstelement.h:
8122         Added methods for the base_time of the element.
8123         Some MT fixes.
8124
8125         * gst/gstpipeline.c: (gst_pipeline_send_event),
8126         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8127         (gst_pipeline_get_last_stream_time):
8128         * gst/gstpipeline.h:
8129         MT fixes.
8130         Handle seeking as described in design doc, remove stream_time
8131         hack.
8132         Cleanups clock and stream_time selection code. Added accessors
8133         for the stream_time.
8134         
8135
8136 2005-07-16  Andy Wingo  <wingo@pobox.com>
8137
8138         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8139         (#305291).
8140
8141 2005-07-16  Wim Taymans  <wim@fluendo.com>
8142
8143         * check/gst/gstbin.c: (GST_START_TEST):
8144         Make elements silent as the deep_notify refs the
8145         parent, which might make the test fail.
8146
8147         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8148         Don't hold the lock for too long.
8149
8150 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8151
8152         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8153           Don't unref the caps we passed to gst_caps_make_writable() after
8154           passing them. gst_caps_make_writable() will do that for us.
8155
8156 2005-07-15  Andy Wingo  <wingo@pobox.com>
8157
8158         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8159         (#157311).
8160
8161         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8162         own marshalling function for the handoff signal. Properly type the
8163         buffer as a buffer. Fixes some warnings. Should do a more general
8164         solution.
8165         (gst_identity_class_init): Plug into the right marshaller.
8166
8167 2005-07-15  Wim Taymans  <wim@fluendo.com>
8168
8169         * docs/design/part-TODO.txt:
8170         * docs/design/part-clocks.txt:
8171         * docs/design/part-element-sink.txt:
8172         * docs/design/part-events.txt:
8173         * docs/design/part-gstpipeline.txt:
8174         Updated docs, mostly DISCONT related.
8175
8176 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8177
8178         * docs/pwg/building-pads.xml:
8179           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8180
8181 2005-07-15  Andy Wingo  <wingo@pobox.com>
8182
8183         * tools/gst-typefind.c: Update, add copyright block.
8184
8185         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8186         Normalize and truncate caps before fixation.
8187
8188         * gst/gstcaps.h:
8189         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8190         discards all but the first structure from its argument.
8191
8192 2005-07-15  Wim Taymans  <wim@fluendo.com>
8193
8194         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8195         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8196         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8197         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8198         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8199         (gst_base_transform_chain), (gst_base_transform_change_state),
8200         (gst_base_transform_set_passthrough),
8201         (gst_base_transform_is_passthrough):
8202         * gst/base/gstbasetransform.h:
8203         Make passthrough work using the bufferpools.
8204         Changed API a bit, subclasses have to write into a buffer
8205         provided by the base class.
8206         More debug info in nego functions.
8207         
8208         * gst/elements/gstidentity.c: (gst_identity_init),
8209         (gst_identity_transform):
8210         Port to new base class.
8211
8212 2005-07-15  Wim Taymans  <wim@fluendo.com>
8213
8214         * gst/gstmessage.c: (gst_message_new_state_changed):
8215         * tools/gst-launch.c: (event_loop), (main):
8216         Totally dump messages in -launch with the -m option.
8217         Fix message name for State messages,
8218
8219 2005-07-14  Wim Taymans  <wim@fluendo.com>
8220
8221         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8222         Post error messages on errors.
8223
8224 2005-07-14  Wim Taymans  <wim@fluendo.com>
8225
8226         * gst/gstcaps.c: (gst_caps_do_simplify):
8227         Remove debug info.
8228
8229         * gst/gsterror.h:
8230         Define error for stream stopped.
8231
8232         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8233         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8234         Do proper return values.
8235
8236         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8237         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8238         (gst_pad_get_range):
8239         Better return values.
8240
8241         * gst/gstpad.h:
8242         Reorganise return values, add macro to check for fatal errors.
8243
8244         * gst/gstqueue.c: (gst_queue_chain):
8245         Return proper GstFlowReturn values,
8246
8247 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8248
8249         * docs/gst/gstreamer-sections.txt:
8250         * docs/gst/gstreamer.types:
8251         * docs/gst/tmpl/gst.sgml:
8252         * docs/gst/tmpl/gstbasesink.sgml:
8253         * docs/gst/tmpl/gstbasesrc.sgml:
8254         * docs/gst/tmpl/gstbasetransform.sgml:
8255         * docs/gst/tmpl/gstbin.sgml:
8256         * docs/gst/tmpl/gstbuffer.sgml:
8257         * docs/gst/tmpl/gstcaps.sgml:
8258         * docs/gst/tmpl/gstclock.sgml:
8259         * docs/gst/tmpl/gstcompat.sgml:
8260         * docs/gst/tmpl/gstconfig.sgml:
8261         * docs/gst/tmpl/gstelement.sgml:
8262         * docs/gst/tmpl/gstelementdetails.sgml:
8263         * docs/gst/tmpl/gstelementfactory.sgml:
8264         * docs/gst/tmpl/gstenumtypes.sgml:
8265         * docs/gst/tmpl/gsterror.sgml:
8266         * docs/gst/tmpl/gstevent.sgml:
8267         * docs/gst/tmpl/gstfakesink.sgml:
8268         * docs/gst/tmpl/gstfakesrc.sgml:
8269         * docs/gst/tmpl/gstfilesink.sgml:
8270         * docs/gst/tmpl/gstfilesrc.sgml:
8271         * docs/gst/tmpl/gstfilter.sgml:
8272         * docs/gst/tmpl/gstformat.sgml:
8273         * docs/gst/tmpl/gstghostpad.sgml:
8274         * docs/gst/tmpl/gstimplementsinterface.sgml:
8275         * docs/gst/tmpl/gstindex.sgml:
8276         * docs/gst/tmpl/gstindexfactory.sgml:
8277         * docs/gst/tmpl/gstinfo.sgml:
8278         * docs/gst/tmpl/gstiterator.sgml:
8279         * docs/gst/tmpl/gstmacros.sgml:
8280         * docs/gst/tmpl/gstmemchunk.sgml:
8281         * docs/gst/tmpl/gstminiobject.sgml:
8282         * docs/gst/tmpl/gstobject.sgml:
8283         * docs/gst/tmpl/gstpad.sgml:
8284         * docs/gst/tmpl/gstpadtemplate.sgml:
8285         * docs/gst/tmpl/gstparse.sgml:
8286         * docs/gst/tmpl/gstpipeline.sgml:
8287         * docs/gst/tmpl/gstplugin.sgml:
8288         * docs/gst/tmpl/gstpluginfeature.sgml:
8289         * docs/gst/tmpl/gstquery.sgml:
8290         * docs/gst/tmpl/gstqueue.sgml:
8291         * docs/gst/tmpl/gstregistry.sgml:
8292         * docs/gst/tmpl/gstregistrypool.sgml:
8293         * docs/gst/tmpl/gstscheduler.sgml:
8294         * docs/gst/tmpl/gstschedulerfactory.sgml:
8295         * docs/gst/tmpl/gststructure.sgml:
8296         * docs/gst/tmpl/gstsystemclock.sgml:
8297         * docs/gst/tmpl/gsttaglist.sgml:
8298         * docs/gst/tmpl/gsttagsetter.sgml:
8299         * docs/gst/tmpl/gsttrace.sgml:
8300         * docs/gst/tmpl/gsttrashstack.sgml:
8301         * docs/gst/tmpl/gsttypefind.sgml:
8302         * docs/gst/tmpl/gsttypefindfactory.sgml:
8303         * docs/gst/tmpl/gsttypes.sgml:
8304         * docs/gst/tmpl/gsturihandler.sgml:
8305         * docs/gst/tmpl/gsturitype.sgml:
8306         * docs/gst/tmpl/gstutils.sgml:
8307         * docs/gst/tmpl/gstvalue.sgml:
8308         * docs/gst/tmpl/gstversion.sgml:
8309         * docs/gst/tmpl/gstxml.sgml:
8310         * docs/libs/tmpl/gstcontrol.sgml:
8311         * docs/libs/tmpl/gstdataprotocol.sgml:
8312         * docs/libs/tmpl/gstdparam.sgml:
8313         * docs/libs/tmpl/gstdplinint.sgml:
8314         * docs/libs/tmpl/gstdpman.sgml:
8315         * docs/libs/tmpl/gstdpsmooth.sgml:
8316         * docs/libs/tmpl/gstgetbits.sgml:
8317         * docs/libs/tmpl/gstunitconvert.sgml:
8318         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8319         (gst_push_src_base_init), (gst_push_src_class_init),
8320         (gst_push_src_init), (gst_push_src_create):
8321         * gst/base/gstpushsrc.h:
8322         * gst/elements/gstelements.c:
8323         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8324         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8325         (gst_fake_sink_init), (gst_fake_sink_set_property),
8326         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8327         (gst_fake_sink_event), (gst_fake_sink_preroll),
8328         (gst_fake_sink_render), (gst_fake_sink_change_state):
8329         * gst/elements/gstfakesink.h:
8330         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8331         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8332         (gst_fake_src_base_init), (gst_fake_src_class_init),
8333         (gst_fake_src_init), (gst_fake_src_event_handler),
8334         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8335         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8336         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8337         (gst_fake_src_create_buffer), (gst_fake_src_create),
8338         (gst_fake_src_start), (gst_fake_src_stop):
8339         * gst/elements/gstfakesrc.h:
8340         * gst/elements/gstfilesink.c: (_do_init),
8341         (gst_file_sink_base_init), (gst_file_sink_class_init),
8342         (gst_file_sink_init), (gst_file_sink_dispose),
8343         (gst_file_sink_set_location), (gst_file_sink_set_property),
8344         (gst_file_sink_get_property), (gst_file_sink_open_file),
8345         (gst_file_sink_close_file), (gst_file_sink_query),
8346         (gst_file_sink_event), (gst_file_sink_render),
8347         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8348         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8349         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8350         * gst/elements/gstfilesink.h:
8351         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8352         (gst_file_src_class_init), (gst_file_src_init),
8353         (gst_file_src_finalize), (gst_file_src_set_location),
8354         (gst_file_src_set_property), (gst_file_src_get_property),
8355         (gst_file_src_map_region), (gst_file_src_map_small_region),
8356         (gst_file_src_create_mmap), (gst_file_src_create_read),
8357         (gst_file_src_create), (gst_file_src_is_seekable),
8358         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8359         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8360         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8361         (gst_file_src_uri_handler_init):
8362         * gst/elements/gstfilesrc.h:
8363           more autistic cleanliness in functions/names/defines
8364
8365 2005-07-13  Andy Wingo  <wingo@pobox.com>
8366
8367         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8368         source couldn't negotiate.
8369
8370         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8371         connections again.
8372
8373         * gst/gstutils.h:
8374         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8375         function. I am channeling Hades. Put your boots on suckers!!!
8376
8377 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8378
8379         * testsuite/caps/Makefile.am:
8380         * testsuite/caps/value_compare.c:
8381         * testsuite/caps/value_intersect.c:
8382         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8383           move two testsuite apps over to the check dir
8384
8385 2005-07-12  Wim Taymans  <wim@fluendo.com>
8386
8387         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8388         Added more debug info in the negotiate process.
8389
8390         * gst/gstmessage.h:
8391         Prepare for segment playback.
8392
8393         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8394         Better debugging.
8395
8396         * gst/gstutils.c:
8397         Some more docs.
8398
8399         * tools/gst-launch.c: (main):
8400         NULL pipeline on errors.
8401
8402 2005-07-12  Andy Wingo  <wingo@pobox.com>
8403
8404         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8405         not it comes from a malloc region. Make sure our copy gets freed.
8406
8407 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8408
8409         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8410         * check/gst/gstmessage.c: (GST_START_TEST):
8411         * check/gst/gststructure.c: (GST_START_TEST),
8412         (gst_structure_suite), (main):
8413           more testing
8414         * gst/gstelement.c: (gst_element_message_full):
8415           clean up GError and debug string now that they get copied
8416         * gst/gstmessage.c: (gst_message_new_error),
8417         (gst_message_new_warning), (gst_message_parse_error),
8418         (gst_message_parse_warning):
8419           use GST_TYPE_G_ERROR for structure_new, and take copies of
8420           arguments, so that we don't mess up refcounting
8421
8422 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8423
8424         * check/Makefile.am:
8425           add per-test valgrind targets
8426         * check/gst-libs/gdp.c: (GST_START_TEST),
8427         (gst_data_protocol_suite), (main):
8428           clean up
8429
8430 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8431
8432         * check/Makefile.am:
8433           instate more valgrindable tests
8434         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8435         (GST_START_TEST), (fakesrc_suite):
8436         * check/gst/gstpad.c: (GST_START_TEST):
8437         * check/gst/gststructure.c: (GST_START_TEST):
8438           fix test leaks
8439         * docs/gst/tmpl/gstminiobject.sgml:
8440         * gst/gstpad.c: (gst_pad_finalize):
8441           fix the static mutex leak
8442
8443 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8444
8445         * check/Makefile.am:
8446           add two more tests for valgrinding
8447         * check/gst/gstvalue.c: (GST_START_TEST):
8448           test refcount of deserialized buffer, found a leak
8449         * docs/gst/gstreamer-docs.sgml:
8450         * docs/gst/gstreamer-sections.txt:
8451         * docs/gst/gstreamer.types:
8452         * docs/gst/tmpl/gstminiobject.sgml:
8453           add miniobject to docs
8454         * gst/gstminiobject.c:
8455           add some docs
8456         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8457         (gst_string_unwrap):
8458           fix a hard-to-find invalid write for one of the tests
8459           fix a leak for deserialized buffers
8460
8461 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8462
8463         * docs/pwg/advanced-events.xml:
8464         * docs/pwg/advanced-request.xml:
8465         * docs/pwg/advanced-scheduling.xml:
8466         * docs/pwg/appendix-porting.xml:
8467         * docs/pwg/building-boiler.xml:
8468         * docs/pwg/intro-preface.xml:
8469         * docs/pwg/other-ntoone.xml:
8470           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8471           of example code and explanation for pad activation, loop() and
8472           getrange() functions and a bit more. Remove old comments pointing
8473           to loop-functions.
8474         * examples/pwg/Makefile.am:
8475           Add loop/getrange examples.
8476
8477 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8478
8479         * configure.ac:
8480           check for valgrind binary + some fixes
8481         * check/gst.supp:
8482           valgrind suppressions for the tests
8483         * check/Makefile.am:
8484           add a valgrind: target that valgrinds the unit tests
8485         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8486         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8487         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8488         * check/gst/gstghostpad.c:
8489           added some cleanup
8490         * check/gst/gstdata.c:
8491           removed
8492         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8493         (thread_unref), (gst_mini_object_suite), (main):
8494           added
8495         * gst/gst.c: (gst_deinit):
8496         * gst/gst.h:
8497           add a method to clean up.
8498         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8499         (gst_system_clock_obtain):
8500           allow for disposing the system clock.
8501         * tools/gst-launch.c: (main):
8502           deinit
8503
8504 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8505
8506         * docs/gst/tmpl/gstbasesrc.sgml:
8507         * docs/gst/tmpl/gstfakesrc.sgml:
8508         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8509         (gst_base_src_init), (gst_base_src_set_property),
8510         (gst_base_src_get_property), (gst_base_src_get_range),
8511         (gst_base_src_start):
8512         * gst/base/gstbasesrc.h:
8513           add num-buffers property
8514         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8515         (gst_fakesrc_init), (gst_fakesrc_set_property),
8516         (gst_fakesrc_get_property), (gst_fakesrc_create),
8517         (gst_fakesrc_start):
8518           remove num-buffers property
8519
8520 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8521
8522         * docs/gst/gstreamer-sections.txt:
8523         * docs/gst/tmpl/gstbasesink.sgml:
8524         * docs/gst/tmpl/gstbasesrc.sgml:
8525         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8526         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8527         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8528         (gst_base_sink_set_property), (gst_base_sink_get_property),
8529         (gst_base_sink_handle_object), (gst_base_sink_event),
8530         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8531         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8532         (gst_base_sink_loop), (gst_base_sink_deactivate),
8533         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8534         (gst_base_sink_change_state):
8535         * gst/base/gstbasesink.h:
8536         * gst/base/gstbasesrc.h:
8537         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8538         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8539         (gst_filesink_init):
8540           more macro splitting
8541
8542 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8543
8544         * gst/gstelement.c: (gst_element_get_bus):
8545           add debug
8546         * tools/gst-launch.c: (check_intr), (event_loop):
8547           fix bus leaks
8548
8549 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8550
8551         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8552           fix a caps leak
8553
8554 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8555
8556         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8557         (gst_base_src_finalize):
8558           add finalize method and clean up properly
8559         * gst/gstpipeline.c: (gst_pipeline_dispose):
8560           add debug
8561
8562 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8563
8564         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8565         (gst_bin_suite):
8566           add more things to check
8567         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8568         * gst/gstelement.c:
8569           more debug
8570
8571 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8572
8573         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8574         (GST_START_TEST), (fakesrc_suite):
8575         * check/gst-libs/gdp.c: (GST_START_TEST):
8576         * check/gst/gst.c: (GST_START_TEST):
8577         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8578         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8579         * check/gst/gstbus.c: (GST_START_TEST):
8580         * check/gst/gstcaps.c: (GST_START_TEST):
8581         * check/gst/gstdata.c: (GST_START_TEST):
8582         * check/gst/gstelement.c: (GST_START_TEST):
8583         * check/gst/gstghostpad.c: (GST_START_TEST):
8584         * check/gst/gstiterator.c: (GST_START_TEST):
8585         * check/gst/gstmessage.c: (GST_START_TEST):
8586         * check/gst/gstobject.c: (GST_START_TEST):
8587         * check/gst/gstpad.c: (GST_START_TEST):
8588         * check/gst/gststructure.c: (GST_START_TEST):
8589         * check/gst/gstsystemclock.c: (GST_START_TEST),
8590         (gst_systemclock_suite):
8591         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8592         * check/gst/gstvalue.c: (GST_START_TEST):
8593         * check/pipelines/cleanup.c: (GST_START_TEST):
8594         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8595         * check/states/sinks.c: (GST_START_TEST):
8596         * check/gstcheck.c: (gst_check_init):
8597         * check/gstcheck.h:
8598           add debugging category
8599           use GST_START_TEST now, so we add a debug line
8600
8601 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8602
8603         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8604           add test for state change message on a bin
8605         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8606           add another test
8607         * gst/gstbin.c: (gst_bin_init):
8608         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8609         * gst/gstelement.c: (gst_element_post_message),
8610         (gst_element_set_state):
8611         * gst/gstelementfactory.c: (gst_element_factory_create):
8612         * gst/gstmessage.c: (gst_message_new):
8613         * gst/gstscheduler.c:
8614           various debugging additions and cleanups
8615
8616 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8617
8618         * check/Makefile.am:
8619         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8620         (main):
8621           adding tests for elements
8622         * gst/gstelement.c: (gst_element_dispose):
8623
8624 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8625
8626         * gst/registries/gstlibxmlregistry.c: (load_feature):
8627           plug more leaks.  A simple gst_init() now is leakfree, yay.
8628
8629 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8630
8631         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8632         (gst_xml_registry_load):
8633           plug another memleak
8634
8635 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8636
8637         * configure.ac:
8638           use GST_SET_ERROR_CFLAGS
8639         * docs/faq/cvs.xml:
8640           change to ERROR_CFLAGS
8641
8642 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8643
8644         * configure.ac:
8645           make GST_ERROR_CFLAGS overridable and re-enable Werror
8646         * docs/faq/cvs.xml:
8647           add a note about error CFLAGS
8648         * docs/gst/tmpl/gstfakesrc.sgml:
8649         * gst/elements/gstfakesrc.c:
8650           comment out some unused code
8651         * gst/gst.c: (split_and_iterate):
8652         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8653         (load_feature):
8654           plug some memleaks
8655
8656 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8657
8658         * common/Makefile.am:
8659         * common/gtk-doc.mak:
8660         * docs/gst/Makefile.am:
8661           factor out gtk-doc.mak
8662
8663 2005-07-07  Wim Taymans  <wim@fluendo.com>
8664
8665         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8666         (gst_thread_scheduler_dispose):
8667         Unlock the STREAM_LOCK completely.
8668
8669 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8670
8671         * check/Makefile.am:
8672         * check/elements/.cvsignore:
8673         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8674         (START_TEST), (fakesrc_suite), (main):
8675         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8676         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8677         (gst_fakesrc_create), (gst_fakesrc_start):
8678         * gst/elements/gstfakesrc.h:
8679           adding a first element test
8680
8681 2005-07-07  Andy Wingo  <wingo@pobox.com>
8682
8683         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8684         debug message.
8685
8686 2005-07-07  Wim Taymans  <wim@fluendo.com>
8687
8688         * gst/gstquery.c:
8689         * gst/gstquery.h:
8690         Remove old types
8691
8692 2005-07-07  Wim Taymans  <wim@fluendo.com>
8693
8694         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8695         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8696         Allow subclasses to implement their own negotiation.
8697
8698 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8699
8700         * docs/design/part-gstbin.txt:
8701         * docs/design/part-gstpipeline.txt:
8702           Update design notes to reflect the movement of
8703           responsibility for bus handling from GstPipeline to
8704           GstBin
8705
8706 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8707
8708         * configure.ac:
8709           Remove unnecessary queue2/3/4 examples.
8710
8711 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8712
8713         * examples/Makefile.am:
8714         * examples/helloworld/helloworld.c: (event_loop), (main):
8715         * examples/queue/queue.c: (event_loop), (main):
8716         * examples/queue2/queue2.c: (main):
8717           Update a couple of the examples to work again.
8718
8719         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8720         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8721          Spelling corrections and extra debug.
8722         
8723         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8724         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8725         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8726         * gst/gstbin.h:
8727         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8728         (gst_pipeline_change_state):
8729         * gst/gstpipeline.h:
8730           Move the bus handler for children to the GstBin, and create a
8731           separate bus for receiving messages from children to the one the
8732           bus sends 'upwards' on.
8733
8734 2005-07-06  Wim Taymans  <wim@fluendo.com>
8735
8736         * gst/base/README:
8737         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8738         (gst_base_sink_handle_object), (gst_base_sink_loop),
8739         (gst_base_sink_change_state):
8740         * gst/base/gstbasesink.h:
8741         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8742         (gst_base_src_init), (gst_base_src_setcaps),
8743         (gst_base_src_getcaps), (gst_base_src_loop),
8744         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8745         (gst_base_src_start), (gst_base_src_change_state):
8746         * gst/base/gstbasesrc.h:
8747         Make basesrc negotiate.
8748         Handle the case where preroll fails in basesink.
8749         Update README.
8750
8751 2005-07-06  Wim Taymans  <wim@fluendo.com>
8752
8753         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8754         Implement the fixate function.
8755         Clean up acceptcaps.
8756
8757 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8758
8759         * docs/pwg/building-filterfactory.xml:
8760         * docs/pwg/pwg.xml:
8761           Remove never-written filter-factory chapter; I'll add the various
8762           base classes to part 4 ("other element types") later on.
8763
8764 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8765
8766         * docs/pwg/advanced-negotiation.xml:
8767         * docs/pwg/building-boiler.xml:
8768         * docs/pwg/building-pads.xml:
8769         * docs/pwg/pwg.xml:
8770         * examples/pwg/Makefile.am:
8771           Add a chapter on caps negotiation, simplify the original code
8772           samples a bit w.r.t. caps negotiation, add link to the advanced
8773           section. Add a bunch of examples showing different use cases of
8774           different types of caps negotiation. Upstream renegotiation isn't
8775           fully documented yet since nobody knows how that works.
8776
8777 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8778
8779         * check/gst/gstpad.c:
8780         * check/gstcheck.c:
8781         * gst/gstpad.c: (gst_pad_get_internal_links_default):
8782           if pad has no parent, return NULL as list of internal links
8783
8784 2005-07-05  Andy Wingo  <wingo@pobox.com>
8785
8786         * gst/elements/gstfilesrc.c:
8787         * gst/elements/gstfakesrc.c: 
8788         * gst/base/gstpushsrc.c:
8789         * gst/base/gstbasesrc.h: 
8790         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8791         
8792 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
8793
8794         * Makefile.am:
8795           better report generation target (lcov needs a patch)
8796
8797 2005-07-05  Andy Wingo  <wingo@pobox.com>
8798
8799         * gst/elements, testsuite: Null if we got it...
8800
8801 2005-07-05  Wim Taymans  <wim@fluendo.com>
8802
8803         * configure.ac:
8804         * libs/gst/dataprotocol/Makefile.am:
8805         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8806         * libs/gst/dataprotocol/dataprotocol.h:
8807         * pkgconfig/Makefile.am:
8808         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8809         * pkgconfig/gstreamer-dataprotocol.pc.in:
8810         Ported dataprotol to 0.9. 
8811         Added pkgconfig files.
8812
8813 2005-07-05  Andy Wingo  <wingo@pobox.com>
8814
8815         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8816         Default to returning TRUE for the case when tranform_caps returns
8817         a fixed caps, like for identity or volume.
8818
8819         * check/gst/gstbus.c (pound_bus_with_messages): 
8820         * check/gst/gstmessage.c (START_TEST): 
8821         * check/pipelines/simple_launch_lines.c (got_handoff): Application
8822         message API change.
8823
8824         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8825         logic weaks here: always run transform_caps, trying passthrough
8826         operation only if the original caps intersects with the transform.
8827
8828         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8829         source and sink caps.
8830
8831         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8832         Intersect the peer caps with the pad template before going into
8833         transform_caps.
8834         (gst_base_transform_transform_caps): More debugging.
8835
8836         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8837         src argument.
8838
8839 2005-07-04  Edward Hervey  <edward@fluendo.com>
8840
8841         * gst/gstutils.c:
8842         * gst/gstutils.h:
8843         (gst_pad_add_*_probe): now returns the signal id for better wrapping
8844         in bindings.
8845
8846 2005-07-04  Andy Wingo  <wingo@pobox.com>
8847
8848         * check/gst/gstpad.c: Only set explicit caps on pads.
8849
8850 2005-07-01  Andy Wingo  <wingo@pobox.com>
8851
8852         * tests/network-clock.scm: Commentary update.
8853
8854         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8855         Didn't really make sense, not implementable with basetransform,
8856         etc.
8857         (gst_identity_transform): Unref inbuf via make_writable. Feeble
8858         attempt at implementing the sync property, needs an unlock method.
8859
8860         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8861         New func, by default returns the same caps (the identity
8862         transformation).
8863         (gst_base_transform_getcaps): Uses transform_caps to return
8864         something sensible.
8865         (gst_base_transform_setcaps): Complicated logic to get caps on
8866         both pads, even if they are different, and to call set_caps once
8867         for every time both pads get their caps set.
8868         (gst_base_transform_handle_buffer): Give the ref to the transform
8869         function. Allows in-place modification of the buffer.
8870
8871         * gst/base/gstbasetransform.h (transform_caps): New class method.
8872         Given caps on one side, what can I do on the other.
8873         (set_caps): Take two caps, one for each side of the element.
8874
8875         * gst/gstpad.h:
8876         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8877         caps in place. This is safe because we can check the mutability of
8878         the caps, and a good idea because fixate functions are just called
8879         as a matter of last resort. (Not actually implemented.)
8880         (gst_pad_set_caps): If the caps we're setting is actually the same
8881         as the existing pad caps, just update the pointer without calling
8882         setcaps. Assert that caps is either NULL or fixed, as per the
8883         docs.
8884
8885         * gst/gstghostpad.c: Update for fixate changes.
8886
8887 2005-07-02  Andy Wingo  <wingo@pobox.com>
8888
8889         * gst/gstcaps.c:
8890         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8891         two refcounts makes it immutable, which is enough. Doc more.
8892
8893 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
8894
8895         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8896           Put the mini_object into GValue as a mini_object,
8897           not a gpointer, since that's how we declared
8898           the signal.
8899
8900 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8901
8902         * examples/pwg/Makefile.am:
8903           Fix buildbot again.
8904
8905 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8906
8907         * docs/pwg/building-testapp.xml:
8908           Add extra check.
8909         * examples/pwg/Makefile.am:
8910           Fix buildbot.
8911
8912 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8913
8914         * configure.ac:
8915         * examples/Makefile.am:
8916         * examples/pwg/Makefile.am:
8917         * examples/pwg/extract.pl:
8918           Enable building the PWG examples.
8919         * docs/pwg/advanced-interfaces.xml:
8920           Add URI interface stub.
8921         * docs/pwg/advanced-types.xml:
8922         * docs/pwg/other-autoplugger.xml:
8923         * docs/pwg/appendix-porting.xml:
8924         * docs/pwg/pwg.xml:
8925           Add porting guide (mostly stubs), remove autoplugging (see ADM).
8926         * docs/pwg/building-boiler.xml:
8927         * docs/pwg/building-chainfn.xml:
8928         * docs/pwg/building-pads.xml:
8929         * docs/pwg/building-props.xml:
8930         * docs/pwg/building-state.xml:
8931         * docs/pwg/building-testapp.xml:
8932           Update the building-*.xml parts for 0.9 changes. All examples
8933           code blocks compile in examples/pwg/*.
8934
8935 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8936
8937         * docs/manual/advanced-autoplugging.xml:
8938         * docs/manual/appendix-checklist.xml:
8939         * docs/manual/appendix-integration.xml:
8940         * docs/manual/highlevel-components.xml:
8941           Fix playbin/decodebin examples, update docs a bit, mention bus
8942           instead of signals in various places, mention kmplayer and
8943           kaffeine since they have a working GStreamer backend in the KDE
8944           section.
8945
8946 2005-06-30  Wim Taymans  <wim@fluendo.com>
8947
8948         * CHANGES-0.9:
8949         * docs/design/draft-ghostpads.txt:
8950         * docs/design/draft-push-pull.txt:
8951         * docs/design/draft-query.txt:
8952         * docs/design/part-TODO.txt:
8953         * docs/design/part-query.txt:
8954         Added CHANGES-0.9 doc, updated status of other docs.
8955         
8956         * gst/gstquery.h:
8957         Remove "hmm" macro
8958
8959 2005-06-30  Wim Taymans  <wim@fluendo.com>
8960
8961         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8962         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8963         (gst_base_sink_change_state):
8964         * gst/base/gstbasesink.h:
8965         Some tweaks, only EOS and a buffer complete a preroll.
8966
8967 2005-06-30  Andy Wingo  <wingo@pobox.com>
8968
8969         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8970         activate_push down to the internal pad as well.
8971
8972 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
8973
8974         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8975
8976         * gst/gsttaginterface.c:
8977           Some documentation fixes (#307394 and #307397).
8978
8979 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
8980
8981         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8982
8983         * gst/gstvalue.c: (gst_value_intersect_list):
8984           Fix memleak (#309125).
8985
8986 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8987
8988         * docs/manual/advanced-dataaccess.xml:
8989           Fix fakesrc example to compile; doesn't work, bug somewhere...?
8990         * docs/manual/basics-pads.xml:
8991           Add reference for filtered caps to above chapter.
8992
8993 2005-06-30  Wim Taymans  <wim@fluendo.com>
8994
8995         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8996         (gst_bin_change_state):
8997         Probes are gone.
8998         Lame attempt at making the state change function a bit
8999         more readable.
9000
9001 2005-06-30  Wim Taymans  <wim@fluendo.com>
9002
9003         * docs/design/part-clocks.txt:
9004         * docs/design/part-element-sink.txt:
9005         * docs/design/part-events.txt:
9006         * docs/design/part-preroll.txt:
9007         * docs/design/part-states.txt:
9008         Some more tweeks and additions to the docs.
9009
9010 2005-06-30  Wim Taymans  <wim@fluendo.com>
9011
9012         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9013         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9014         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9015         (gst_pad_check_pull_range), (gst_pad_get_range),
9016         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9017         * gst/gstpad.h:
9018         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9019         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9020         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9021         (gst_pad_remove_buffer_probe):
9022         Removed atomic operations, use existing LOCK.
9023         Move exception handling out of main code path.
9024
9025 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9026
9027         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9028         (silly_return_true_function), (gst_pad_class_init),
9029         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9030         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9031         (gst_pad_send_event):
9032           Fix accumulator, add default value by using _emitv() instead
9033           of _emit() for signal emission.
9034
9035 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9036
9037         * docs/manual/advanced-dataaccess.xml:
9038         * examples/manual/Makefile.am:
9039           Add probe example.
9040         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9041           Make work (??).
9042
9043 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9044
9045         * gst/elements/gstfilesink.c: (gst_filesink_render):
9046           Simplify code so that we don't have to handle short
9047           writes and return GST_FLOW_ERROR if an error occured.
9048
9049 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9050
9051         * docs/gst/gstreamer-docs.sgml:
9052           Remove probes more.
9053
9054 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9055
9056         * docs/gst/gstreamer-sections.txt:
9057         * docs/gst/tmpl/gstpad.sgml:
9058         * docs/gst/tmpl/gstprobe.sgml:
9059         * gst/Makefile.am:
9060         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9061         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9062         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9063         (gst_pad_push_event), (gst_pad_send_event):
9064         * gst/gstpad.h:
9065         * gst/gstutils.c: (gst_pad_add_data_probe),
9066         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9067         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9068         (gst_pad_remove_buffer_probe):
9069         * gst/gstutils.h:
9070           Remove old probes, add new g-signal-based probes and some utility
9071           functions.
9072
9073 2005-06-29  Edward Hervey  <edward@fluendo.com>
9074
9075         * gst/gstelementfactory.c:
9076         * gst/gstutils.h:
9077         * gst/gstutils.c:
9078         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9079         the definition to the header file.
9080
9081 2005-06-29  Andy Wingo  <wingo@pobox.com>
9082
9083         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9084         plugins from the source directory.
9085
9086 2005-06-29  Wim Taymans  <wim@fluendo.com>
9087
9088         * docs/gst/tmpl/gstbuffer.sgml:
9089         * docs/gst/tmpl/gstclock.sgml:
9090         Some fixings for blantently wrong text.
9091
9092 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9093
9094         * check/Makefile.am:
9095         * gst/gst.c: (add_path_func), (init_pre):
9096         * gst/gstregistry.c: (gst_registry_add_path):
9097           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9098           only scan the GST_PLUGIN_PATH locations, and not add
9099           system locations
9100
9101 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9102
9103         * docs/gst/gstreamer-sections.txt:
9104         * docs/gst/tmpl/gstbasesrc.sgml:
9105         * gst/gstelement.c:
9106         * gst/gstelement.h:
9107         * gst/gstevent.c:
9108         * gst/gstutils.c:
9109           doc fixes
9110
9111 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9112
9113         * docs/manual/advanced-autoplugging.xml:
9114           Fix autoplugging example.
9115
9116 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9117
9118         * docs/manual/advanced-autoplugging.xml:
9119         * docs/manual/mime-world.fig:
9120           Try to get autoplugging working, fix type detection. Fix text
9121           in hello-world image.
9122
9123 2005-06-29  Wim Taymans  <wim@fluendo.com>
9124
9125         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9126         (gst_base_sink_change_state):
9127         Small debug line.
9128
9129         * gst/gstclock.h:
9130         map SIGNAL and BROADCAST to the right function.
9131
9132         * gst/gstobject.h:
9133         Remove redundant braces.
9134
9135         * gst/gstpad.c: (gst_pad_set_caps):
9136         Don't call setcaps function when reseting caps to NULL.
9137
9138         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9139         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9140         (gst_system_clock_id_unschedule):
9141         Use BROADCAST as this is what we do.
9142
9143 2005-06-29  Wim Taymans  <wim@fluendo.com>
9144
9145         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9146         We are actually prerolling before commiting the state
9147         change. 
9148
9149 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9150
9151         * docs/manual/advanced-clocks.xml:
9152         * docs/manual/advanced-interfaces.xml:
9153         * docs/manual/advanced-metadata.xml:
9154         * docs/manual/advanced-position.xml:
9155         * docs/manual/advanced-schedulers.xml:
9156         * docs/manual/advanced-threads.xml:
9157         * docs/manual/appendix-porting.xml:
9158         * docs/manual/basics-bins.xml:
9159         * docs/manual/basics-bus.xml:
9160         * docs/manual/basics-elements.xml:
9161         * docs/manual/basics-helloworld.xml:
9162         * docs/manual/basics-pads.xml:
9163         * docs/manual/highlevel-components.xml:
9164         * docs/manual/manual.xml:
9165         * docs/manual/thread.fig:
9166           Update (until threads/scheduling) Application Development Manual;
9167           remove GstThread, add GstBus, add simple porting checklist, add
9168           documentation for tag writing, clocks, make all examples until this
9169           part compile and run.
9170         * examples/manual/Makefile.am:
9171           Update from changes to Application Development Manual; add bus
9172           example, remove thread example.
9173
9174 2005-06-28  Wim Taymans  <wim@fluendo.com>
9175
9176         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9177         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9178         (gst_bus_source_dispatch):
9179         Add debugging messages.
9180         Make internal methods static.
9181         Handle the case where the bus is flushed in the handler.
9182         
9183         * gst/gstelement.c: (gst_element_get_bus):
9184         Fix refcount in _get_bus();
9185
9186         * gst/gstpipeline.c: (gst_pipeline_change_state),
9187         (gst_pipeline_get_clock_func):
9188         Clock refcounting fixes.
9189         Handle the case where preroll timed out more gracefully.
9190         
9191         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9192         Clean up the internal thread in dispose. This is needed
9193         for subclasses that actually get disposed.
9194         
9195         * gst/schedulers/threadscheduler.c:
9196         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9197         (gst_thread_scheduler_dispose):
9198         Free thread pool in dispose.
9199
9200 2005-06-28  Andy Wingo  <wingo@pobox.com>
9201
9202         * tests/network-clock-utils.scm (debug, print-event): New utils.
9203
9204         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9205         (*packet-loss*): Unified loss probability.
9206         (network-time): Report out-of-band events.
9207
9208         * tests/plot-data: Add support for out-of-band events. Hack it
9209         into this script instead of passing it down the pipe; should fix
9210         this later.
9211
9212 2005-06-28  Wim Taymans  <wim@fluendo.com>
9213
9214         * docs/gst/gstreamer.types:
9215         * docs/gst/tmpl/gstbasesrc.sgml:
9216         * docs/gst/tmpl/gstpad.sgml:
9217         Docs fixes.
9218
9219 2005-06-28  Wim Taymans  <wim@fluendo.com>
9220
9221         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9222         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9223         (gst_proxy_pad_do_fixatecaps):
9224         Correctly proxy the check_pull_range function.
9225
9226 2005-06-28  Andy Wingo  <wingo@pobox.com>
9227
9228         * tests/network-clock.scm: Removed need for slib.
9229         
9230 2005-06-28  Wim Taymans  <wim@fluendo.com>
9231
9232         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9233         (gst_basesink_preroll_queue_flush):
9234         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9235         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9236         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9237         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9238         (gst_proxy_pad_set_property):
9239         * gst/gstpad.c:
9240         * gst/gstpad.h:
9241         * gst/gstqueue.c: (gst_queue_init):
9242         The deprecated pad loop function is removed now.
9243
9244 2005-06-28  Andy Wingo  <wingo@pobox.com>
9245
9246         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9247         New parameters, simulate network packet loss.
9248
9249         * tests/network-clock-utils.scm: Initialize the RNG.
9250
9251 2005-06-28  Wim Taymans  <wim@fluendo.com>
9252
9253         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9254         (gst_basesink_event), (gst_basesink_deactivate):
9255         Flushing the preroll queue always needs to unlock the waiters.
9256
9257 2005-06-28  Edward Hervey  <edward@fluendo.com>
9258
9259         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9260         Wheen a seek was successful on a pipeline, set the stream_time to the
9261         seek offset in order to have a synchronized stream_time.
9262
9263 2005-06-28  Wim Taymans  <wim@fluendo.com>
9264
9265         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9266         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9267         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9268         (gst_proxy_pad_do_fixatecaps):
9269         Call wrapper function instead of just calling the function
9270         pointers. This takes care of any locking and whatmore.
9271
9272 2005-06-28  Wim Taymans  <wim@fluendo.com>
9273
9274         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9275         (gst_pad_pull_range):
9276         * gst/gstpad.h:
9277         CONNECTED -> LINKED.
9278
9279 2005-06-28  Andy Wingo  <wingo@pobox.com>
9280
9281         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9282         source-munging commit!!!
9283
9284         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9285         (gst_object_sink): Take gpointer arguments, not GstObject --
9286         avoids casts. Like GLib.
9287
9288         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9289         activate.
9290
9291 2005-06-27  Andy Wingo  <wingo@pobox.com>
9292
9293         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9294         remaining buffer.
9295
9296         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9297         returns a sorted copy of the trace list.
9298         (gst_alloc_trace_print_live): New API, only prints traces with
9299         live objects. Sort the list.
9300         (gst_alloc_trace_print_all): Sort the list.
9301         (gst_alloc_trace_print): Align columns.
9302
9303         * gst/elements/gstttypefindelement.c:
9304         * gst/elements/gsttee.c:
9305         * gst/base/gstbasesrc.c:
9306         * gst/base/gstbasesink.c:
9307         * gst/base/gstbasetransform.c:
9308         * gst/gstqueue.c: Adapt for pad activation changes.
9309
9310         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9311         sched.
9312         (gst_pipeline_dispose): Drop ref on sched.
9313
9314         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9315         (gst_pad_activate_default): Push mode by default.
9316         (pre_activate_switch, post_activate_switch): New stubs, things to
9317         do before and after switching activation modes on pads.
9318         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9319         the pad's activate function to choose which mode to activate.
9320         Shortcut on deactivation and call the right function directly.
9321         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9322         mode.
9323         (gst_pad_activate_push): New API, same for push mode.
9324         (gst_pad_set_activate_function) 
9325         (gst_pad_set_activatepull_function) 
9326         (gst_pad_set_activatepush_function): Setters for new API.
9327
9328         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9329         Trace all miniobjects.
9330         (gst_mini_object_make_writable): Unref the arg if we copy, like
9331         gst_caps_make_writable.
9332
9333         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9334
9335         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9336         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9337         Adapt for new pad API.
9338
9339         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9340
9341         * gst/gstelement.h:
9342         * gst/gstelement.c (gst_element_iterate_src_pads) 
9343         (gst_element_iterate_sink_pads): New API functions.
9344         
9345         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9346         should fold into gstiterator.c in some form.
9347         (gst_element_pads_activate): Simplified via use of fold and
9348         delegation of decisions to gstpad->activate.
9349
9350         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9351         help in debugging.
9352
9353         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9354         class once in init, like gstmessage. Didn't run into this issue
9355         but it seems correct. Don't initialize a trace, gstminiobject does
9356         that.
9357
9358         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9359         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9360         to the bus.
9361         (assert_live_count): New util function, uses alloc traces to check
9362         cleanup.
9363
9364         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9365         To be modified when unlink drops the internal pad.
9366
9367 2005-06-27  Wim Taymans  <wim@fluendo.com>
9368
9369         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9370         (gst_bin_change_state):
9371         Cleanup the get_state() function a little, make sure it
9372         iterates the same set of elements.
9373         Added stub iterate_state_order().
9374
9375 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9376
9377         * docs/gst/gstreamer-docs.sgml:
9378         * docs/gst/gstreamer-sections.txt:
9379         * docs/gst/gstreamer.types:
9380         * docs/gst/tmpl/gstbasesink.sgml:
9381         * docs/gst/tmpl/gstbasesrc.sgml:
9382         * docs/gst/tmpl/gstbasetransform.sgml:
9383         * docs/gst/tmpl/gstelement.sgml:
9384         * docs/gst/tmpl/gstiterator.sgml:
9385         * gst/base/gstbasesrc.c:
9386         * gst/base/gstbasesrc.h:
9387         * gst/base/gstbasetransform.h:
9388         * gst/gstelement.c:
9389         * gst/gstiterator.h:
9390           adding basetransform and iterator docs
9391
9392 2005-06-27  Andy Wingo  <wingo@pobox.com>
9393
9394         * docs/design/part-activation.txt: Notes on how activation should
9395         work -- not quite implemented yet.
9396
9397 2005-06-25  Wim Taymans  <wim@fluendo.com>
9398
9399         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9400         At least get the chain function correct, needs more
9401         fixing.
9402
9403 2005-06-25  Wim Taymans  <wim@fluendo.com>
9404
9405         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9406         (gst_basesink_handle_object), (gst_basesink_event),
9407         (gst_basesink_do_sync), (gst_basesink_handle_event),
9408         (gst_basesink_change_state):
9409         * gst/gsttask.h:
9410         Right, two problems here: ghostpads don't take locks and
9411         glib _rec_mutex_lock_full() with depth==0 still locks.
9412         Catch illegal locking and g_warn them.
9413
9414 2005-06-25  Wim Taymans  <wim@fluendo.com>
9415
9416         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9417         Have to check for completion now...
9418
9419 2005-06-25  Wim Taymans  <wim@fluendo.com>
9420
9421         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9422         (gst_basesink_handle_object), (gst_basesink_event),
9423         (gst_basesink_do_sync), (gst_basesink_handle_event),
9424         (gst_basesink_change_state):
9425         * gst/gstpad.h:
9426         Unlock STREAM_LOCK whatever the recursion was.
9427
9428 2005-06-25  Wim Taymans  <wim@fluendo.com>
9429
9430         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9431         (gst_basesink_preroll_queue_empty),
9432         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9433         (gst_basesink_event), (gst_basesink_do_sync),
9434         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9435         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9436         (gst_basesink_change_state):
9437         Reworked the base sink, handle event and buffer serialisation
9438         correctly and removed possible deadlock.
9439         Handle EOS correctly.
9440
9441 2005-06-25  Wim Taymans  <wim@fluendo.com>
9442
9443         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9444         (gst_pipeline_change_state):
9445         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9446         Allow elements to post EOS in the state change function.
9447         Fix up -launch, make it exit the poll loop when the
9448         pipeline actually changed state.
9449         Fix up warning parsing in -launch.
9450
9451 2005-06-25  Wim Taymans  <wim@fluendo.com>
9452
9453         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9454         (gst_tee_sink_activate):
9455         Core takes STREAM_LOCK for us now.
9456
9457 2005-06-25  Wim Taymans  <wim@fluendo.com>
9458
9459         * gst/gstelement.c: (gst_element_get_state_func),
9460         (gst_element_set_state):
9461         * gst/gstelement.h:
9462         * gst/gstmessage.c: (gst_message_parse_error),
9463         (gst_message_parse_warning):
9464         Keep track of current target state while performing a state
9465         change so that subclasses can do something interesting.
9466         Fix parsing of warning/error messages when GError is NULL.
9467
9468 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9469
9470         * docs/gst/Makefile.am:
9471         * docs/gst/gstreamer-docs.sgml:
9472         * docs/gst/gstreamer-sections.txt:
9473         * docs/gst/gstreamer.types:
9474         * docs/gst/tmpl/gstbasesink.sgml:
9475         * docs/gst/tmpl/gstbasesrc.sgml:
9476         * docs/gst/tmpl/gstbin.sgml:
9477         * docs/gst/tmpl/gstcompat.sgml:
9478         * docs/gst/tmpl/gstfakesink.sgml:
9479         * docs/gst/tmpl/gstfakesrc.sgml:
9480         * docs/gst/tmpl/gstfilesink.sgml:
9481         * docs/gst/tmpl/gstfilesrc.sgml:
9482         * docs/gst/tmpl/gstindex.sgml:
9483         * docs/manual/appendix-quotes.xml:
9484         * gst/base/gstbasesrc.h:
9485         * gst/elements/gstfakesrc.h:
9486         * gst/gstmessage.h:
9487           start pulling in base classes and elements in our docs
9488
9489 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9490
9491         * docs/gst/Makefile.am:
9492         * docs/libs/Makefile.am:
9493           fixed make distcheck with gtk-doc 1.3
9494
9495 2005-06-23  Wim Taymans  <wim@fluendo.com>
9496
9497         * gst/gstelement.c: (gst_element_get_state_func),
9498         (gst_element_set_state), (gst_element_change_state):
9499         When the state did not change, also report NO_PREROLL
9500         when it matters.
9501
9502 2005-06-23  Wim Taymans  <wim@fluendo.com>
9503
9504         * gst/gstpad.c: (gst_pad_event_default):
9505         * gst/gstqueue.c: (gst_queue_loop):
9506         No unsafe task pausing please.
9507
9508 2005-06-23  Wim Taymans  <wim@fluendo.com>
9509
9510         * gst/schedulers/threadscheduler.c:
9511         (gst_thread_scheduler_task_start),
9512         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9513         Ref the task before pushing it on the threadpool. This
9514         makes sure that we have a ref when the threadfunction is
9515         actually called.
9516
9517 2005-06-23  Andy Wingo  <wingo@pobox.com>
9518
9519         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9520         offset is greater than the file's size.
9521
9522         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9523         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9524         * gst/gstobject.c (gst_object_class_init): Make the class lock
9525         recursive. Wim won't let me drop deep_notify. Decodebin works
9526         again, whoopdy doo.
9527
9528         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9529         internal pad, and hacks accordingly. Doesn't do it on the target
9530         pad because we change its caps. Probably catches all cases of
9531         interest tho.
9532         (gst_ghost_pad_set_property): Connect to notify::caps as
9533         appropritate.
9534
9535         * tests/network-clock.scm (plot-simulation): Pipe data to the
9536         elite python skript.
9537
9538         * tests/network-clock-utils.scm (define-parameter): New macro,
9539         defines a parameter that can be set via the command line.
9540         (set-parameter!, parse-parameter-arguments): Command line args
9541         parser.
9542
9543         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9544         stdin.
9545
9546 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9547
9548         * gst/elements/gsttypefindelement.c:
9549         (gst_type_find_element_handle_event):
9550           Don't restart typefinding on a discont.
9551         * gst/gstelement.c: (gst_element_set_state):
9552           Debug spelling fix.
9553         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9554           Allow changing mode of an active pad.
9555           Debug output fixes.
9556         * gst/registries/gstlibxmlregistry.c: (load_feature):
9557           Don't cast a static pad template to a normal pad template.
9558
9559 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9560
9561         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9562         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9563           remove gst_strtoll completely, since it didn't actually do
9564           anything more than what g_ascii_strtoull already does.
9565           check for range errors when deserializing
9566           do a cast for the unsigned cases; but further fixing needs
9567           a decision on what the interpretation of "(int)" and
9568           deserialization should be for values that fall outside the
9569           type's boundaries (ie, refuse, or interpret as casting)
9570
9571 2005-06-23  Wim Taymans  <wim@fluendo.com>
9572
9573         * check/Makefile.am:
9574         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9575         * docs/design/part-live-source.txt:
9576         * docs/design/part-states.txt:
9577         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9578         (gst_basesrc_set_live), (gst_basesrc_is_live),
9579         (gst_basesrc_get_range), (gst_basesrc_activate),
9580         (gst_basesrc_change_state):
9581         * gst/base/gstbasesrc.h:
9582         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9583         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9584         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9585         * gst/gstelement.c: (gst_element_get_state_func),
9586         (gst_element_set_state):
9587         * gst/gstelement.h:
9588         * gst/gsttypes.h:
9589         * tools/gst-launch.c: (event_loop), (main):
9590         Added support for live sources and other elements that
9591         cannot do preroll.
9592         Updated design docs, added live-source design doc.
9593         Implemented live source functionality in basesrc
9594         Fix error condition in _bin_get_state()
9595         Implement live source handling in -launch.
9596         Added check for live sources.
9597         Fixed case in GstBin where elements were changed state
9598         multiple times.
9599
9600
9601 2005-06-23  Andy Wingo  <wingo@pobox.com>
9602
9603         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9604         borken refcounting.
9605
9606         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9607         gst_caps_replace takes care of this for us.
9608
9609         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9610         gst_pad_set_caps on the target, not just its setcaps() function.
9611
9612         * tests/network-clock.scm: 
9613         * tests/network-clock-utils.scm: A network clock simulator.
9614         Something of an algorithmic testbed before doing something in C.
9615
9616 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9617
9618         * check/Makefile.am:
9619         * check/gst/capslist.h:
9620           copy over from 0.8, and add two with bitmasks specified with
9621           (int) 0xFF...
9622         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9623           add test to parse everything from capslist.h
9624         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9625         (main):
9626           add test for structure deserialization
9627         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9628           add tests for deserialization of strings to int types
9629         * gst/gststructure.c: (gst_structure_nth_field_name):
9630         * gst/gststructure.h:
9631           add a way to get the name of a field referenced by index
9632         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9633           instead of checking if the resulting long long lies between
9634           min and max, we check if the long long would fit into
9635           a number of bytes for the final type.
9636           This fixes cases where a string represents 2^32 - 1, which
9637           when cast to int would be the (valid) -1, but is bigger than
9638           G_MAXINT
9639
9640 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9641
9642         * gst/parse/grammar.y:
9643           add a log line for type deserialization
9644
9645 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9646
9647         * check/gst/gstvalue.c: (START_TEST):
9648         * gst/gstvalue.c: (gst_value_deserialize):
9649           return long long, not int, so gint64 deserialization actually
9650           works.  Is there any flag that makes the compiler check this ?
9651           Fixes #308559
9652
9653 2005-06-22  Wim Taymans  <wim@fluendo.com>
9654
9655         * gst/gstbuffer.h:
9656         Added convenience macros for setting buffers in GValue.
9657
9658 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9659
9660         * check/gst/.cvsignore:
9661         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9662           add a test deserializing int64, and comment part out because
9663           it fails, yay !
9664
9665 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9666
9667         * check/Makefile.am:
9668         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9669         * testsuite/Makefile.am:
9670         * testsuite/caps/Makefile.am:
9671         * testsuite/caps/value_serialize.c:
9672         * testsuite/test_gst_init.c:
9673           move a value_serialize test over
9674
9675 2005-06-20  Wim Taymans  <wim@fluendo.com>
9676
9677         * gst/gstpad.c:
9678         Small doc updates.
9679         
9680         * gst/gstvalue.c: (gst_value_compare_buffer),
9681         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9682         (gst_value_compare_flags), (gst_value_serialize_flags),
9683         (gst_value_deserialize_flags), (_gst_value_initialize):
9684         Fix serialisation of buffers, they are not boxed types anymore
9685
9686 2005-06-20  Wim Taymans  <wim@fluendo.com>
9687
9688         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9689         Testcase to show error in buffer-on-caps serialisation.
9690
9691 2005-06-20  Andy Wingo  <wingo@pobox.com>
9692
9693         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9694         will be adding to later.
9695
9696         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9697         if its socks fill with rocks.
9698         (gst_system_clock_obtain): Set the name on object construction.
9699         Avoid double-checked locking.
9700
9701 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
9702
9703         * gst/gsturi.c: (gst_element_make_from_uri):
9704           Fix potential endless loop.
9705
9706 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9707
9708         * check/Makefile.am:
9709           add gsttag
9710         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9711         (main):
9712           move over from testsuite dir and clean up
9713         * configure.ac:
9714         * gst/gsttag.c:
9715         * testsuite/Makefile.am:
9716         * testsuite/tags/.cvsignore:
9717         * testsuite/tags/Makefile.am:
9718         * testsuite/tags/merge.c:
9719           remove testsuite/tags
9720
9721 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9722
9723         * docs/gst/gstreamer-sections.txt:
9724         * docs/gst/tmpl/gstenumtypes.sgml:
9725         * win32/gstenumtypes.c:
9726           clean up documentation build a little
9727
9728 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9729
9730         * check/gstcheck.h:
9731           add macros for checking refcounts on objects and caps
9732         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9733           add some more unit tests
9734         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9735         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9736           fix leaked refcounts (I hope :)) so unittest works
9737         * gst/gstpad.h:
9738           whitespace removal
9739
9740 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9741
9742         * configure.ac: back to HEAD
9743
9744 === release 0.9.1 ===
9745
9746 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9747
9748         * NEWS:
9749         * RELEASE:
9750           updated
9751
9752 2005-06-17  Andy Wingo  <wingo@pobox.com>
9753
9754         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9755         assert; it's always possible that the pad gets deactivated in
9756         between the checks in gstpad.c and the implementation. Rely on
9757         finish_preroll() to return a FLUSHING or similar instead of on the
9758         assert.
9759         
9760         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9761         clock and post an EOS message if we come out of finish_preroll in
9762         the playing state.
9763
9764 2005-06-16  David Schleef  <ds@schleef.org>
9765
9766         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9767         (gst_capsfilter_set_property): Allow NULL as possible value
9768         for filter_caps property, indicating GST_CAPS_ANY.
9769
9770 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9771
9772         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9773           fix debug output
9774         * gst/schedulers/Makefile.am:
9775           use libgst prefix
9776         * gstreamer.spec.in:
9777           fix spec for it
9778
9779 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9780
9781         * gstreamer.spec.in:
9782           clean up
9783
9784 2005-06-08  Andy Wingo  <wingo@pobox.com>
9785
9786         * gst/gstutils.c: RPAD fixes all around.
9787         (gst_element_link_pads): Refcounting fixes.
9788
9789         * tools/gst-inspect.c:
9790         * tools/gst-xmlinspect.c:
9791         * parse/grammar.y:
9792         * gst/base/gsttypefindhelper.c:
9793         * gst/base/gstbasesink.c:
9794         * gst/gstqueue.c: RPAD fixes.
9795
9796         * gst/gstghostpad.h:
9797         * gst/gstghostpad.c: New ghost pad implementation as full proxy
9798         pads. The tricky thing is they provide both source and sink
9799         interfaces, since they proxy the internal pad for the external
9800         pad, and vice versa. Implement with lower-level ProxyPad objects,
9801         with the interior proxy pad as a child of the exterior ghost pad.
9802         Should write a doc on this.
9803         
9804         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9805         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9806         gst_object API.
9807         
9808         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9809         pads are real pads. No ghost pads in this file. Not documenting
9810         the myriad s/RPAD/PAD/ and REALIZE fixes.
9811         (gst_pad_class_init): Add properties for "direction" and
9812         "template". Both are construct-only, so they can't change during
9813         the life of the pad. Fixes properly deriving from GstPad.
9814         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9815         derived objects, just set properties when creating the objects via
9816         g_object_new.
9817         (gst_pad_get_parent): Implement as a function, return NULL if the
9818         parent is not an element.
9819         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9820         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9821         
9822         * gst/gstobject.c (gst_object_class_init): Make name a construct
9823         property. Don't set it in the object init.
9824
9825         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9826         with UNKNOWN direction.
9827         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9828         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9829         (gst_element_remove_pad): Remove ghost-pad special cases.
9830         (gst_element_pads_activate): Remove rpad cruft.
9831
9832         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9833         catch the pad's-parent-not-an-element case.
9834
9835         * gst/gst.h: Include gstghostpad.h.
9836
9837         * gst/gst.c (init_post): No more real, ghost pads.
9838
9839         * gst/Makefile.am: Add gstghostpad.[ch].
9840
9841         * check/Makefile.am:
9842         * check/gst/gstbin.c:
9843         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9844         into a bin creates ghost pads, and that the refcounts are right.
9845         Partly moved from gstbin.c.
9846
9847 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9848
9849         * check/gst-libs/.cvsignore:
9850         * check/gst/.cvsignore:
9851         * check/pipelines/.cvsignore:
9852           ignore more
9853         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9854         (START_TEST), (cleanup_suite), (main):
9855           add some tests related to cleanup after running pipelines
9856
9857 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9858
9859         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9860           add a testsuite for GstBuffer
9861
9862 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9863
9864         * gst/gstminiobject.h:
9865           add defines for accessing the refcount
9866
9867 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
9868
9869         * Makefile.am: added support for html unit test coverage reports
9870
9871 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
9872
9873         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9874           Free existing caps if the capsfilter changes. Add a FIXME about
9875           setting those caps on the pads.
9876
9877         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9878           Before adding a ghost pad to a parent bin, check that there isn't
9879           already one for the element on the bin. Prevents infinite recursion
9880           when using decodebin in parse pipelines. Andy says he'll rewrite the
9881           way this works anyway, so ignore the hack.
9882
9883 2005-06-02  Andy Wingo  <wingo@pobox.com>
9884
9885         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9886         file size, pass it on to the type find helper.
9887
9888         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9889         segment_start and segment_end properly according to the seek
9890         method. Segment_end is still a bit flaky because offset can be
9891         negative for CUR and END cases, but it takes -1 as an "unset"
9892         value.
9893
9894 2005-06-02  Wim Taymans  <wim@fluendo.com>
9895
9896         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9897         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9898         (gst_basesink_activate):
9899         * gst/base/gstbasesink.h:
9900         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9901         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9902         (gst_pad_query), (gst_pad_start_task):
9903         * gst/gstpad.h:
9904         * gst/gstqueue.c: (gst_queue_bufferalloc),
9905         (gst_queue_handle_sink_event), (gst_queue_chain):
9906         Bufferalloc: return GstFlowReturn to more accuratly report
9907         why allocation failed.
9908
9909 2005-06-02  Wim Taymans  <wim@fluendo.com>
9910
9911         * gst/gstpipeline.c: (gst_pipeline_send_event):
9912         Take snapshot of state without blocking.
9913
9914 2005-06-02  Wim Taymans  <wim@fluendo.com>
9915
9916         * docs/design/part-TODO.txt:
9917         * docs/design/part-caps.txt:
9918         * docs/design/part-clocks.txt:
9919         * docs/design/part-negotiation.txt:
9920         * docs/design/part-preroll.txt:
9921         Small doc updates 
9922
9923 2005-05-30  Wim Taymans  <wim@fluendo.com>
9924
9925         * gst/elements/gstidentity.c: (gst_identity_event),
9926         (gst_identity_transform), (gst_identity_get_property):
9927         Protect last_message property as it is accessed from
9928         multiple threads.
9929
9930 2005-05-30  Wim Taymans  <wim@fluendo.com>
9931
9932         * gst/gstelement.c: (gst_element_init),
9933         (gst_element_pads_activate), (gst_element_change_state):
9934         Slicker pad activation code.
9935
9936 2005-05-30  Wim Taymans  <wim@fluendo.com>
9937
9938         * gst/Makefile.am:
9939         * gst/gstelement.h:
9940         * gst/gstelementfactory.h:
9941         * gst/gsttypes.h:
9942         Move elementfactory methods to separate .h file.
9943
9944 2005-05-30  Wim Taymans  <wim@fluendo.com>
9945
9946         * docs/design/part-overview.txt:
9947         * gst/gstsystemclock.h:
9948         Small typo fixes, doc updates.
9949
9950 2005-05-30  Wim Taymans  <wim@fluendo.com>
9951
9952         * gst/gst.c: (gst_init_get_popt_table), (init_post),
9953         (init_popt_callback):
9954         Remove cpu-opt flag.
9955
9956 2005-05-30  Wim Taymans  <wim@fluendo.com>
9957
9958         * gst/gstbuffer.c: (gst_subbuffer_finalize),
9959         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9960         * gst/gstbuffer.h:
9961         Avoid typechecking in places where not needed.
9962         Added accessor for malloc_data.
9963
9964 2005-05-30  Wim Taymans  <wim@fluendo.com>
9965
9966         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9967         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9968         (gst_pad_configure_sink), (gst_pad_configure_src),
9969         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9970         (gst_pad_start_task):
9971         Propagate errors from _set_caps() in configure_src/sink
9972         functions instead of returning TRUE.
9973         FLUSH events can travel up and downstream
9974
9975
9976 2005-05-30  Wim Taymans  <wim@fluendo.com>
9977
9978         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9979         (gst_basesink_activate):
9980         Handle EOS in preroll.
9981
9982 2005-05-30  Wim Taymans  <wim@fluendo.com>
9983
9984         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9985         (gst_queue_loop), (gst_queue_handle_src_event):
9986         Remove old pieces of code
9987         Flushing the queue in an upstream event is a very bad idea.
9988
9989 2005-05-26  Andy Wingo  <wingo@pobox.com>
9990
9991         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9992         gst_value_set_mini_object so as to add a ref on the object (which
9993         will be removed when the value is unset).
9994
9995         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9996         arg type in ::handoff.
9997
9998         * gst/gstelement.c (gst_element_change_state): Also deactivate
9999         pads in READY->NULL, just in case the element didn't make it to
10000         PAUSED. Wingo tested, Wim approved.
10001
10002 2005-05-26  Wim Taymans  <wim@fluendo.com>
10003
10004         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10005         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10006         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10007         A flushing pad cannot be used to alloc_buffer from.
10008
10009 2005-05-26  Wim Taymans  <wim@fluendo.com>
10010
10011         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10012         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10013         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10014         (gst_bus_create_watch), (gst_bus_add_watch_full):
10015         * gst/gstbus.h:
10016         Implement a real GSource and use g_main_context_wakeup() to
10017         signal new messages instead of the socketpair.
10018
10019 2005-05-25  Wim Taymans  <wim@fluendo.com>
10020
10021         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10022         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10023         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10024         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10025         (gst_pad_send_event), (gst_pad_start_task):
10026         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10027         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10028         (gst_queue_sink_activate), (gst_queue_src_activate),
10029         (gst_queue_change_state):
10030         * gst/gstqueue.h:
10031         Fix state changes for non sinks. We now change sinks, then elements
10032         with unconnected srcpads, then the rest.
10033         More efficient queue unlocking in flush and state changes.
10034         Set the pad activate mode even if it does not have an activate
10035         function.
10036
10037 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10038
10039         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10040           Don't go in pull mode for non-seekable sources.
10041         * gst/elements/gsttypefindelement.h:
10042         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10043         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10044         (free_entry), (stop_typefinding),
10045         (gst_type_find_element_handle_event), (find_peek),
10046         (gst_type_find_element_chain), (do_pull_typefind),
10047         (gst_type_find_element_change_state):
10048           Allow typefinding (w/o seeking) in push-mode, simplified version
10049           of what was in 0.8.
10050         * gst/gstutils.c: (gst_buffer_join):
10051         * gst/gstutils.h:
10052           gst_buffer_join() from 0.8.
10053
10054 2005-05-25  Wim Taymans  <wim@fluendo.com>
10055
10056         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10057         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10058         (gst_pad_send_event), (gst_pad_start_task):
10059         Disable attempt at mode switching until it is figured out.
10060
10061 2005-05-25  Wim Taymans  <wim@fluendo.com>
10062
10063         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10064         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10065         (gst_basesink_finish_preroll), (gst_basesink_chain),
10066         (gst_basesink_loop), (gst_basesink_activate),
10067         (gst_basesink_change_state):
10068         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10069         (gst_basesrc_get_range), (gst_basesrc_loop),
10070         (gst_basesrc_activate):
10071         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10072         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10073         (gst_real_pad_init), (gst_real_pad_set_property),
10074         (gst_real_pad_get_property), (gst_pad_set_active),
10075         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10076         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10077         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10078         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10079         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10080         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10081         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10082         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10083         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10084         (gst_pad_stop_task):
10085         * gst/gstpad.h:
10086         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10087         (gst_queue_loop), (gst_queue_src_activate):
10088         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10089         (gst_task_get_state):
10090         * gst/gsttask.h:
10091         * gst/schedulers/threadscheduler.c:
10092         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10093         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10094         in task function.
10095         Remove ACTIVE pad flag, use FLUSHING everywhere
10096         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10097         functions.
10098         Add locks around IS_FLUSHING when reading.
10099         Take STREAM lock in chain(), get_range() functions so plugins
10100         don't need to take it anymore.
10101         
10102
10103
10104 2005-05-25  Wim Taymans  <wim@fluendo.com>
10105
10106         * tools/gst-launch.c: (event_loop):
10107         Unref message after using its contents instead of
10108         before.
10109
10110 2005-05-24  Wim Taymans  <wim@fluendo.com>
10111
10112         * docs/design/draft-ghostpads.txt:
10113         * docs/design/draft-push-pull.txt:
10114         * docs/design/draft-query.txt:
10115         * docs/design/part-overview.txt:
10116         Docs updates, added general overview doc.
10117
10118 2005-05-21  David Schleef  <ds@schleef.org>
10119
10120         * docs/gst/tmpl/old/GstBin.sgml:
10121         * docs/gst/tmpl/old/GstBuffer.sgml:
10122         * docs/gst/tmpl/old/GstCaps.sgml:
10123         * docs/gst/tmpl/old/GstClock.sgml:
10124         * docs/gst/tmpl/old/GstCompat.sgml:
10125         * docs/gst/tmpl/old/GstData.sgml:
10126         * docs/gst/tmpl/old/GstElement.sgml:
10127         * docs/gst/tmpl/old/GstEvent.sgml:
10128         * docs/gst/tmpl/old/GstIndex.sgml:
10129         * docs/gst/tmpl/old/GstStructure.sgml:
10130         * docs/gst/tmpl/old/GstTag.sgml:
10131         * docs/gst/tmpl/old/cothreads.sgml:
10132         * docs/gst/tmpl/old/cothreads_compat.sgml:
10133         * docs/gst/tmpl/old/gettext.sgml:
10134         * docs/gst/tmpl/old/gobject2gtk.sgml:
10135         * docs/gst/tmpl/old/grammar.tab.sgml:
10136         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10137         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10138         * docs/gst/tmpl/old/gst_private.sgml:
10139         * docs/gst/tmpl/old/gstaggregator.sgml:
10140         * docs/gst/tmpl/old/gstarch.sgml:
10141         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10142         * docs/gst/tmpl/old/gstbufferstore.sgml:
10143         * docs/gst/tmpl/old/gstdata_private.sgml:
10144         * docs/gst/tmpl/old/gstdisksink.sgml:
10145         * docs/gst/tmpl/old/gstdisksrc.sgml:
10146         * docs/gst/tmpl/old/gstelementfactory.sgml:
10147         * docs/gst/tmpl/old/gstextratypes.sgml:
10148         * docs/gst/tmpl/old/gstfakesink.sgml:
10149         * docs/gst/tmpl/old/gstfakesrc.sgml:
10150         * docs/gst/tmpl/old/gstfdsink.sgml:
10151         * docs/gst/tmpl/old/gstfdsrc.sgml:
10152         * docs/gst/tmpl/old/gstfilesink.sgml:
10153         * docs/gst/tmpl/old/gstfilesrc.sgml:
10154         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10155         * docs/gst/tmpl/old/gstidentity.sgml:
10156         * docs/gst/tmpl/old/gstindexfactory.sgml:
10157         * docs/gst/tmpl/old/gstmarshal.sgml:
10158         * docs/gst/tmpl/old/gstmd5sink.sgml:
10159         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10160         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10161         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10162         * docs/gst/tmpl/old/gstpipefilter.sgml:
10163         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10164         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10165         * docs/gst/tmpl/old/gstshaper.sgml:
10166         * docs/gst/tmpl/old/gstspider.sgml:
10167         * docs/gst/tmpl/old/gstspideridentity.sgml:
10168         * docs/gst/tmpl/old/gststatistics.sgml:
10169         * docs/gst/tmpl/old/gsttee.sgml:
10170         * docs/gst/tmpl/old/gsttimecache.sgml:
10171         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10172         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10173         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10174         * docs/gst/tmpl/old/types.sgml:
10175           I didn't intend to add these or check them in.
10176
10177 2005-05-19  David Schleef  <ds@schleef.org>
10178
10179         * configure.ac: Use -no-common everywhere.  In a sane world, it
10180           would be the default in libtool, because without it, you can't
10181           build DLLs on Windows.
10182         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10183         * docs/gst/gstreamer-sections.txt:
10184         * docs/gst/tmpl/gstcpu.sgml:
10185         * docs/gst/tmpl/gstdata.sgml:
10186         * docs/gst/tmpl/gstthread.sgml:
10187
10188 2005-05-19  David Schleef  <ds@schleef.org>
10189
10190         * gst/gstminiobject.c: (gst_value_set_mini_object),
10191         (gst_value_take_mini_object), (gst_value_get_mini_object):
10192         * gst/gstminiobject.h: Add GValue set/get functions.
10193
10194 2005-05-19  Wim Taymans  <wim@fluendo.com>
10195
10196         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10197         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10198         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10199         * gst/gstbuffer.h:
10200         * gst/gstbus.c: (gst_bus_post):
10201         * gst/gstelement.c: (gst_element_get_random_pad):
10202         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10203         Make subbufer unref the parent in finalize.
10204         some more debugging info.
10205
10206
10207 2005-05-19  Wim Taymans  <wim@fluendo.com>
10208
10209         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10210         (gst_basesink_init), (gst_basesink_finalize),
10211         (gst_basesink_activate), (gst_basesink_change_state):
10212         Don't free preroll queue too early.
10213
10214 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10215
10216         * gst/Makefile.am:
10217         * gst/ROADMAP:
10218           Hi, I'm outdated. Please shoot me.
10219
10220 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10221
10222         * gst/gstpipeline.c: (gst_pipeline_send_event):
10223           Do not access variables after they have been deleted.
10224
10225 2005-05-19  Wim Taymans  <wim@fluendo.com>
10226
10227         * tools/gst-inspect.c: (print_plugin_features):
10228         A plugin feature does unfortunatly not use the
10229         object name yet...
10230
10231 2005-05-18  Wim Taymans  <wim@fluendo.com>
10232
10233         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10234         Port _span() functions to new subbuffers.
10235
10236 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10237
10238         * gst/gstbin.c: (gst_bin_add_func):
10239           Fix clock settery in bins when adding kids after the clock has
10240           been selected.
10241
10242 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10243
10244         * gst/elements/gstidentity.c: (gst_identity_class_init):
10245           Workaround until signals support GstMiniObject.
10246
10247 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10248
10249         * gst/gstbuffer.c:
10250         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10251
10252 2005-05-18  Wim Taymans  <wim@fluendo.com>
10253
10254         * gst/base/Makefile.am:
10255         * gst/base/gstadapter.c: (gst_adapter_base_init),
10256         (gst_adapter_class_init), (gst_adapter_init),
10257         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10258         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10259         (gst_adapter_flush), (gst_adapter_available),
10260         (gst_adapter_available_fast):
10261         * gst/base/gstadapter.h:
10262         Ported and added adapter to the base classes.
10263
10264 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10265
10266         * gst/gst.c:
10267         * gst/gstmessage.c:
10268           Make sure the class is reffed/unreffed once before threads can be
10269           used.  Fixes #304551.
10270
10271 2005-05-17  Wim Taymans  <wim@fluendo.com>
10272
10273         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10274         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10275         * gst/gstminiobject.c: (gst_mini_object_get_type),
10276         (gst_mini_object_free):
10277         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10278         (gst_pad_push), (gst_pad_push_event):
10279         * gst/gstqueue.c: (gst_queue_change_state):
10280         Don't queue buffers in basesink when we are flushing.
10281         Unref buffer when flushing in basesink.
10282         Flush queue when going to READY
10283         Unref buffer when _push() returns an error.
10284         Don't free MiniObject instance when refcount is incremented
10285         in _finalize() so that we can recover objects.
10286
10287 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10288
10289         * docs/manual/advanced-schedulers.xml:
10290         * docs/manual/appendix-checklist.xml:
10291         * docs/pwg/advanced-clock.xml:
10292         * docs/pwg/advanced-interfaces.xml:
10293         * docs/pwg/advanced-request.xml:
10294         * docs/pwg/advanced-types.xml:
10295         * docs/pwg/intro-preface.xml:
10296         * examples/plugins/example.c: (gst_example_get_type),
10297         (gst_example_class_init), (gst_example_chain),
10298         (gst_example_set_property), (gst_example_get_property),
10299         (gst_example_change_state), (plugin_init):
10300         * examples/plugins/example.h:
10301           small doc fixes
10302
10303 2005-05-17  Wim Taymans  <wim@fluendo.com>
10304
10305         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10306         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10307         * gst/gstqueue.c: (gst_queue_change_state):
10308         Clear queue when going to READY.
10309         Remove IN_SETCAPS flag too.
10310
10311 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10312
10313         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10314           Remove implicit cast from gboolean to GstElementStateReturn;
10315           make sure we still return failure in paused => ready case if
10316           the parent class fails to change state and our own stop 
10317           vfunc succeeds.
10318
10319 2005-05-17  Wim Taymans  <wim@fluendo.com>
10320
10321         * tools/gst-launch.c: (event_loop):
10322         Message was unreffed too soon.
10323
10324 2005-05-16  Andy Wingo  <wingo@pobox.com>
10325
10326         * gst/gstbin.c (sink_iterator_filter): Err... um...
10327
10328         * check/gst/gstbin.c (test_ghost_pads): New test for the
10329         ghosting-if-elements-not-in-same-bin behavior.
10330
10331 2005-05-16  David Schleef  <ds@schleef.org>
10332
10333         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10334         accessing refcount directly.
10335
10336 2005-05-15  David Schleef  <ds@schleef.org>
10337
10338         * check/Makefile.am: remove GstData checks
10339         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10340         * gst/Makefile.am: add miniobject, remove data
10341         * gst/gst.h: add miniobject, remove data
10342         * gst/gstdata.c: remove
10343         * gst/gstdata.h: remove
10344         * gst/gstdata_private.h: remove
10345         * gst/gsttypes.h: remove GstEvent and GstMessage
10346         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10347         * gst/gstmarshal.list: change BOXED -> OBJECT
10348
10349         Implement GstMiniObject.
10350         * gst/gstminiobject.c:
10351         * gst/gstminiobject.h:
10352
10353         Modify to be subclasses of GstMiniObject.
10354         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10355         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10356         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10357         (gst_subbuffer_get_type), (gst_subbuffer_init),
10358         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10359         (gst_buffer_span):
10360         * gst/gstbuffer.h:
10361         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10362         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10363         (_gst_event_copy), (gst_event_new):
10364         * gst/gstevent.h:
10365         * gst/gstmessage.c: (_gst_message_initialize),
10366         (gst_message_get_type), (gst_message_class_init),
10367         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10368         (gst_message_new), (gst_message_new_error),
10369         (gst_message_new_warning), (gst_message_new_tag),
10370         (gst_message_new_state_changed), (gst_message_new_application):
10371         * gst/gstmessage.h:
10372         * gst/gstprobe.c: (gst_probe_perform),
10373         (gst_probe_dispatcher_dispatch):
10374         * gst/gstprobe.h:
10375         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10376         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10377         (_gst_query_copy), (gst_query_new):
10378
10379         Update elements for GstData -> GstMiniObject changes
10380         * gst/gstquery.h:
10381         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10382         (gst_queue_chain), (gst_queue_loop):
10383         * gst/elements/gstbufferstore.c:
10384         (gst_buffer_store_add_buffer_func),
10385         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10386         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10387         (gst_fakesink_render):
10388         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10389         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10390         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10391         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10392         (gst_filesrc_create_read):
10393         * gst/elements/gstidentity.c: (gst_identity_class_init):
10394         * gst/elements/gsttypefindelement.c:
10395         (gst_type_find_element_src_event), (free_entry_buffers),
10396         (gst_type_find_element_handle_event):
10397         * libs/gst/dataprotocol/dataprotocol.c:
10398         (gst_dp_header_from_buffer):
10399         * libs/gst/dataprotocol/dataprotocol.h:
10400         * libs/gst/dataprotocol/dp-private.h:
10401
10402 2005-05-15  David Schleef  <ds@schleef.org>
10403
10404         * gst/elements/gstelements.c: Don't include headers that were
10405         just removed.
10406
10407 2005-05-15  David Schleef  <ds@schleef.org>
10408
10409         * gst/elements/Makefile.am: Remove some elements that don't
10410         need to be in the core (or even exist at all).
10411         * gst/elements/gstaggregator.c:
10412         * gst/elements/gstaggregator.h:
10413         * gst/elements/gstmd5sink.c:
10414         * gst/elements/gstmd5sink.h:
10415         * gst/elements/gstmultifilesrc.c:
10416         * gst/elements/gstmultifilesrc.h:
10417         * gst/elements/gstpipefilter.c:
10418         * gst/elements/gstpipefilter.h:
10419         * gst/elements/gstshaper.c:
10420         * gst/elements/gstshaper.h:
10421         * gst/elements/gststatistics.c:
10422         * gst/elements/gststatistics.h:
10423         * po/POTFILES.in: Remove above files.
10424
10425 2005-05-14  Andy Wingo  <wingo@pobox.com>
10426
10427         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10428         so as to get the refs right.
10429         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10430         unreffing objects that don't pass the filter.
10431
10432         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10433         gst_element_set_bus.
10434         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10435         normal cases, this will destroy the bus.
10436
10437         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10438         object.
10439
10440         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10441         has no sinks.
10442
10443 2005-05-13  Andy Wingo  <wingo@pobox.com>
10444
10445         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10446         gst_pad_link, call pad_link_maybe_ghosting,
10447         (pad_link_maybe_ghosting): Links pads, making sure that the
10448         elements being linked are in the same bin.
10449         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10450         Helpers for pad_link_maybe_ghosting.
10451
10452 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10453
10454         * configure.ac:
10455           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10456
10457 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10458
10459         * docs/design/part-element-source.txt:
10460           Mention GstPushSrc
10461
10462 2005-05-12  Wim Taymans  <wim@fluendo.com>
10463
10464         * gst/base/gstbasesink.c: (gst_basesink_init),
10465         (gst_basesink_activate):
10466         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10467         (gst_basesrc_is_seekable):
10468         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10469         (bin_element_is_sink), (gst_bin_change_state):
10470         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10471         * gst/gstelement.h:
10472         Identify sinks by their flag to avoid overly complicated
10473         checks (fow now).
10474         Do state changes even for elements not reachable from the
10475         sinks.
10476         BaseSink is a sink now :)
10477         Some more debugging info in the basesrc.
10478
10479
10480 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10481
10482         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10483           Implement _query on a bin, similar to _send_event.
10484
10485 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10486
10487         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10488           Discont event offset format should be GST_FORMAT_BYTES,
10489           not GST_FORMAT_TIME.
10490
10491 2005-05-12  Wim Taymans  <wim@fluendo.com>
10492
10493         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10494         Same fix as Ronald's but without the signal. 
10495
10496 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10497
10498         * gst/gstutils.c: (gst_element_query_position):
10499           No, an element is not a pad.
10500
10501 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10502
10503         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10504         (gst_bin_get_state):
10505           If a child is removed from a bin while we remove the child from
10506           the bin and while we're retrieving its state, signal this to the
10507           get_state function so we abort the wait (instead of waiting for
10508           a timeout) and can immediately re-iterate over all other elements.
10509
10510 2005-05-12  Wim Taymans  <wim@fluendo.com>
10511
10512         * gst/base/Makefile.am:
10513         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10514         (gst_basesrc_start):
10515         * gst/base/gstbasesrc.h:
10516         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10517         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10518         (gst_pushsrc_init), (gst_pushsrc_create):
10519         * gst/base/gstpushsrc.h:
10520         Added is_seekable to BaseSrc
10521         Added simple PushSrc.
10522
10523 2005-05-11  Wim Taymans  <wim@fluendo.com>
10524
10525         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10526         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10527         (gst_element_link_pads), (gst_element_query_position),
10528         (gst_element_query_convert), (intersect_caps_func),
10529         (gst_pad_query_position), (gst_pad_query_convert):
10530         Fix refcounting in utils function.
10531         No point in trying to activate a pad when it's added, it could
10532         be added from the state change function and then we deadlock, the
10533         element has to decide what to do.
10534
10535 2005-05-10  Andy Wingo  <wingo@pobox.com>
10536
10537         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10538         *all* the arguments.
10539
10540         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10541         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10542         lock (according to the docs -- if this is wrong change the docs).
10543
10544         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10545         flush messages in the NULL state.
10546
10547         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10548         message immediately and return.
10549         (gst_bus_set_flushing): New function. If a bus is flushing, it
10550         flushes out any queued messages and immediately unrefs new
10551         messages. This is so when an element goes to NULL, all of the
10552         unhandled messages coming from it can be freed, and their
10553         references to the element dropped. In other words: message source
10554         ref considered harmful :P
10555
10556         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10557         we're finished with it.
10558
10559         * gst/gstmessage.c (gst_message_new_state_changed): 
10560
10561 2005-05-10  Wim Taymans  <wim@fluendo.com>
10562
10563         * gst/gstvalue.c: (gst_value_compare_flags),
10564         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10565         (_gst_value_initialize):
10566         Added flags serialize/deserialize/compare code.
10567
10568 2005-05-09  Andy Wingo  <wingo@pobox.com>
10569
10570         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10571         Intersect the peer's caps with our caps.
10572
10573 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10574
10575         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10576         * gst/elements/gsttypefindelement.c: (find_peek):
10577           Handle negative offsets better. Fixes decodebin.
10578
10579 2005-05-09  Wim Taymans  <wim@fluendo.com>
10580
10581         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10582         (gst_base_transform_event):
10583         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10584         Implement accept_caps.
10585         Fix silly lock/unlock mismatch in base class.
10586
10587 2005-05-09  Wim Taymans  <wim@fluendo.com>
10588
10589         * docs/design/draft-push-pull.txt:
10590         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10591         * gst/elements/gstfilesink.c: (gst_filesink_init),
10592         (gst_filesink_query):
10593         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10594         (gst_type_find_handle_src_query), (find_element_get_length):
10595         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10596         * gst/gstelement.h:
10597         * gst/gstmessage.c:
10598         * gst/gstmessage.h:
10599         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10600         (gst_real_pad_get_caps_unlocked),
10601         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10602         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10603         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10604         (gst_real_pad_dispose), (gst_real_pad_finalize),
10605         (gst_pad_load_and_link), (gst_pad_save_thyself),
10606         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10607         (gst_pad_check_pull_range), (gst_pad_pull_range),
10608         (gst_pad_template_get_type), (gst_pad_template_class_init),
10609         (gst_pad_template_init), (gst_pad_template_dispose),
10610         (name_is_valid), (gst_static_pad_template_get),
10611         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10612         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10613         (gst_pad_get_element_private), (gst_pad_start_task),
10614         (gst_pad_pause_task), (gst_pad_stop_task),
10615         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10616         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10617         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10618         (gst_ghost_pad_new):
10619         * gst/gstpad.h:
10620         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10621         (gst_query_new_position), (gst_query_set_position),
10622         (gst_query_parse_position), (gst_query_new_convert),
10623         (gst_query_set_convert), (gst_query_parse_convert):
10624         * gst/gstquery.h:
10625         * gst/gstqueryutils.c:
10626         * gst/gstqueryutils.h:
10627         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10628         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10629         (gst_queue_handle_src_query):
10630         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10631         (gst_element_query_position), (gst_element_query_convert),
10632         (intersect_caps_func), (gst_pad_query_position),
10633         (gst_pad_query_convert):
10634         * gst/gstutils.h:
10635         * tools/gst-inspect.c: (print_pad_info):
10636         * tools/gst-xmlinspect.c: (print_element_info):
10637         Remove old query functions. Ported old code.
10638         Added position/convert helper functions to gstutils.
10639         Reordered gstpad.c code, grouping relevant things.
10640         Remove gst_message_new(), always need to speficy a specific
10641         message.
10642
10643
10644 2005-05-09  Andy Wingo  <wingo@pobox.com>
10645
10646         * gst/gstiterator.h: Add some includes.
10647
10648         * gst/gstqueryutils.h: Include more headers.
10649
10650         * gst/gstpad.h:
10651         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10652         some uses of gst_pad_query.
10653
10654         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10655         NULL out parameters.
10656         (gst_query_new_position): New proc, allocates a new position
10657         query.
10658
10659         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10660         gstqueryutils.c to the build.
10661
10662         * gst/gststructure.c (gst_structure_set_valist): Implement with
10663         the generic G_VALUE_COLLECT.
10664         
10665 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10666
10667         * gst/Makefile.am: (gst_headers):
10668         Added gstqueryutils.h to the list of headers to install, that was
10669         a 'nachty' move wingo :)
10670
10671 2005-05-06  Andy Wingo  <wingo@pobox.com>
10672
10673         * gst/gstquery.h
10674         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10675         GstData, init a memchunk.
10676         (standard_definitions): Add a few query types, deprecate a few.
10677         (gst_query_get_type): New proc.
10678         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10679         implementation.
10680         (gst_query_new_application, gst_query_get_structure): New public
10681         procs.
10682
10683         * docs/design/draft-query.txt: Removed LINKS from the query types,
10684         because all the rest can be dispatched to other pads -- seemed
10685         ugly to have a query that couldn't be dispatched. internal_links
10686         is fine as a pad method.
10687
10688         * gst/gstpad.h: Add query2 as a pad method, add the new functions
10689         in gstpad.c, but maintain binary compatibility for the moment.
10690         Will fix before 0.9 is out.
10691
10692         * gst/gstqueryutils.c: 
10693         * gst/gstqueryutils.h: New files, implement 3 methods for each
10694         query type: parse_query, parse_response, and set. Probably need an
10695         allocator as well.
10696
10697         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10698
10699         * gst/elements/gstfilesink.c (gst_filesink_query2):
10700         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10701         query_types, and formats methods.
10702
10703         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10704         (gst_pad_set_query2_function): New functions.
10705         (gst_real_pad_init): Set query2_default as the default query2
10706         function. Basically just dispatches to internally linked pads.
10707
10708         Needs review!
10709         
10710         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10711         without using the atomic operations. Only one thread can possibly
10712         be accessing the data at this point. Changed so as to avoid
10713         gst_atomic operations.
10714
10715 2005-05-06  Wim Taymans  <wim@fluendo.com>
10716
10717         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10718         Also set caps if we use the fallback buffer alloc.
10719
10720 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
10721
10722         * docs/gst/Makefile.am:
10723         * docs/gst/gstreamer-docs.sgml:
10724         * docs/gst/gstreamer-sections.txt:
10725         * docs/gst/tmpl/gstatomic.sgml:
10726         * docs/gst/tmpl/gstmemchunk.sgml:
10727         * testsuite/elements/struct_i386.h:
10728         * win32/GStreamer.vcproj:
10729         * win32/Makefile:
10730           Purge GstAtomic stuff from docs and win32 makefiles as well
10731
10732 2005-05-06  Wim Taymans  <wim@fluendo.com>
10733
10734         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10735         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10736         * gst/gstpad.c: (gst_pad_peer_get_caps):
10737         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10738         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10739         (gst_queue_src_activate), (gst_queue_change_state):
10740         * gst/gstqueue.h:
10741         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10742         (intersect_caps_func):
10743         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10744         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10745         Some fixes for the peer_get_caps() change.
10746
10747 2005-05-06  Wim Taymans  <wim@fluendo.com>
10748
10749         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10750         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10751         (gst_basesink_activate):
10752         Actually do something with error codes returned from the push
10753         functions.
10754
10755 2005-05-06  Wim Taymans  <wim@fluendo.com>
10756
10757         * docs/design/part-element-sink.txt:
10758         * docs/design/part-element-source.txt:
10759         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10760         (gst_basesink_event), (gst_basesink_activate):
10761         * gst/base/gstbasesink.h:
10762         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10763         (gst_basesrc_activate):
10764         * gst/base/gstbasesrc.h:
10765         * gst/gstelement.c: (gst_element_pads_activate):
10766         Some more documentation.
10767         Fixed scheduling decision in _pads_activate().
10768
10769 2005-05-05  Andy Wingo  <wingo@pobox.com>
10770
10771         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10772         the test suite.
10773
10774 2005-05-05  Wim Taymans  <wim@fluendo.com>
10775
10776         * gst/base/Makefile.am:
10777         * gst/base/gstbasesink.h:
10778         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10779         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10780         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10781         (gst_collectpads_class_init), (gst_collectpads_init),
10782         (gst_collectpads_finalize), (gst_collectpads_new),
10783         (gst_collectpads_set_function), (gst_collectpads_add_pad),
10784         (find_pad), (gst_collectpads_remove_pad),
10785         (gst_collectpads_is_active), (gst_collectpads_collect),
10786         (gst_collectpads_collect_range), (gst_collectpads_start),
10787         (gst_collectpads_stop), (gst_collectpads_peek),
10788         (gst_collectpads_pop), (gst_collectpads_available),
10789         (gst_collectpads_read), (gst_collectpads_flush),
10790         (gst_collectpads_chain):
10791         * gst/base/gstcollectpads.h:
10792         * gst/elements/Makefile.am:
10793         * gst/elements/gstelements.c:
10794         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10795         (gst_fakesink_get_times), (gst_fakesink_event),
10796         (gst_fakesink_preroll), (gst_fakesink_render):
10797         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10798         (gst_filesink_init), (gst_filesink_set_location),
10799         (gst_filesink_open_file), (gst_filesink_close_file),
10800         (gst_filesink_pad_query), (gst_filesink_event),
10801         (gst_filesink_render), (gst_filesink_change_state):
10802         * gst/elements/gstfilesink.h:
10803         Added object to help in making collect pad based elements.
10804         Ported filesink.
10805         Make event function in sink baseclass return gboolean.
10806
10807 2005-05-05  Wim Taymans  <wim@fluendo.com>
10808
10809         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10810         (gst_bin_get_by_name):
10811         * gst/gstbuffer.h:
10812         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10813         (gst_clock_finalize):
10814         * gst/gstdata.c: (gst_data_replace):
10815         * gst/gstdata.h:
10816         * gst/gstelement.c: (gst_element_request_pad),
10817         (gst_element_pads_activate):
10818         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10819         (gst_object_unref):
10820         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10821         (gst_pad_set_checkgetrange_function),
10822         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10823         (gst_pad_check_pull_range), (gst_pad_pull_range),
10824         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10825         (gst_pad_pause_task), (gst_pad_stop_task):
10826         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10827         (gst_element_request_pad), (gst_pad_proxy_getcaps):
10828         Fix name lookup in GstBin.
10829         Added _data_replace() function and _buffer_replace()
10830         Use finalize method to clean up clock.
10831         Fix refcounting on request pads.
10832         Fix pad schedule mode error.
10833         Some more object refcounting debug info,
10834
10835
10836 2005-05-04  Andy Wingo <wingo@pobox.com>
10837
10838         * check/Makefile.am:
10839         * docs/gst/tmpl/gstatomic.sgml:
10840         * docs/gst/tmpl/gstplugin.sgml:
10841         * gst/base/gstbasesink.c: (gst_basesink_activate):
10842         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10843         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10844         (gst_basesrc_query), (gst_basesrc_set_property),
10845         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10846         (gst_basesrc_activate):
10847         * gst/base/gstbasesrc.h:
10848         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10849         (gst_base_transform_src_activate):
10850         * gst/elements/gstelements.c:
10851         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10852         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10853         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10854         * gst/elements/gsttypefindelement.c: (find_element_get_length),
10855         (gst_type_find_element_checkgetrange),
10856         (gst_type_find_element_activate):
10857         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10858         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10859         (gst_caps_load_thyself):
10860         * gst/gstelement.c: (gst_element_pads_activate),
10861         (gst_element_save_thyself), (gst_element_restore_thyself):
10862         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10863         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10864         * gst/gstpad.h:
10865         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10866         (gst_xml_parse_file), (gst_xml_parse_memory),
10867         (gst_xml_get_element), (gst_xml_make_element):
10868         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10869         (_file_index_id_save_xml), (gst_file_index_commit):
10870         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10871         (read_enum), (load_pad_template), (load_feature), (load_plugin),
10872         (load_paths):
10873         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10874         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10875         * tools/gst-complete.c: (main):
10876         * tools/gst-compprep.c: (main):
10877         * tools/gst-inspect.c: (print_element_properties_info):
10878         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10879         * tools/gst-xmlinspect.c: (print_element_properties):
10880         GCC 4 fixen.
10881         
10882 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10883
10884         * gst/gstplugin.c: (gst_plugin_check_module),
10885         (gst_plugin_check_file), (gst_plugin_load_file):
10886             apply patch from #172526 to make register work on MacOSX
10887
10888 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10889
10890         * docs/gst/tmpl/gstconfig.sgml:
10891         * gst/gstconfig.h.in:
10892           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
10893         * testsuite/debug/printf_extension.c: (main):
10894           Do not use GST_PTR_FORMAT on pointers to types with
10895           sizeof < sizeof(gpointer).  Fixes test on 64-bit
10896         * testsuite/elements/property.h:
10897           use correct printf format
10898
10899 2005-05-02  Wim Taymans  <wim@fluendo.com>
10900
10901         * docs/design/draft-push-pull.txt:
10902         * docs/design/draft-query.txt:
10903         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10904         (gst_basesrc_start):
10905         Added draft for new query API.
10906         Added draft for better selecting scheduling methods.
10907         Make basesrc ignore length if the subclass does not support
10908         it.
10909
10910 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10911
10912         * gst/Makefile.am:
10913           possible fixes for automake-1.5 - _LIBADD is reserved
10914
10915 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10916
10917         * docs/faq/Makefile.am:
10918         * docs/manual/Makefile.am:
10919         * docs/manuals.mak:
10920         * docs/pwg/Makefile.am:
10921         * gst/Makefile.am:
10922           possible fixes for automake-1.5
10923
10924 2005-04-28  Wim Taymans  <wim@fluendo.com>
10925
10926         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10927         (gst_basesink_pad_getcaps), (gst_basesink_init),
10928         (gst_basesink_do_sync):
10929         * gst/gstclock.c: (gst_clock_entry_new):
10930         * gst/gstevent.c: (gst_event_discont_get_value):
10931         * gst/gstpipeline.c: (pipeline_bus_handler),
10932         (gst_pipeline_change_state):
10933         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10934         Better debugging of clocking info.
10935         Allow NULL values when getting discont values.
10936
10937 2005-04-27  Wim Taymans  <wim@fluendo.com>
10938
10939         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10940         * check/gst/gstpad.c: (gst_pad_suite):
10941         Increase timeout for checks.
10942
10943 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10944
10945         * check/Makefile.am:
10946           fix the broken rule for cleanup.  Apparently this rule is
10947           only needed on FC2, so maybe this warrants further autotool
10948           inspection.
10949
10950 2005-04-26  Wim Taymans  <wim@fluendo.com>
10951
10952         * gst/gsttrashstack.h:
10953         Ooohh. a nasty one! After having a failed pop() from the stack,
10954         it's possible that the stack is empty. In that case, don't
10955         follow the NULL pointer.
10956
10957 2005-04-25  Wim Taymans  <wim@fluendo.com>
10958
10959         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10960         (gst_pad_set_checkgetrange_function),
10961         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10962         (gst_pad_check_pull_range), (gst_pad_pull_range),
10963         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10964         (gst_pad_pause_task), (gst_pad_stop_task):
10965         * gst/gstplugin.c: (gst_plugin_load):
10966         * gst/gstplugin.h:
10967         Remove gst_library_load as it does more harm than good with
10968         the new g_module flags.
10969         Revert bogus caps template check in pad linking, pad caps
10970         are important when linking not the template, which is more
10971         general than the current caps.
10972
10973 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10974
10975         * gst/autoplug/.cvsignore:
10976         * gst/autoplug/Makefile.am:
10977         * gst/autoplug/gstsearchfuncs.c:
10978         * gst/autoplug/gstsearchfuncs.h:
10979         * gst/autoplug/gstspider.c:
10980         * gst/autoplug/gstspider.h:
10981         * gst/autoplug/gstspideridentity.c:
10982         * gst/autoplug/gstspideridentity.h:
10983         * gst/autoplug/spidertest.c:
10984           Die, spider, die.
10985
10986 2005-04-25  Wim Taymans  <wim@fluendo.com>
10987
10988         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10989         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10990         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10991         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10992         * gst/gstpad.h:
10993         Added stubs for unimplemented functions. 
10994
10995 2005-04-24  David Schleef  <ds@schleef.org>
10996
10997         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
10998         please fix.
10999
11000 2005-04-24  David Schleef  <ds@schleef.org>
11001
11002         Convert everything from GstAtomicInt to g_atomic_int_*, and
11003         remove gstatomic.
11004         * gst/Makefile.am:
11005         * gst/gstatomic.c:
11006         * gst/gstatomic.h:
11007         * gst/gstatomic_impl.h:
11008         * gst/gstbuffer.c:
11009         * gst/gstcaps.c:
11010         * gst/gstcaps.h:
11011         * gst/gstclock.c:
11012         * gst/gstclock.h:
11013         * gst/gstdata.c:
11014         * gst/gstdata.h:
11015         * gst/gstdata_private.h:
11016         * gst/gstevent.c:
11017         * gst/gstinfo.c:
11018         * gst/gstinfo.h:
11019         * gst/gstmessage.c:
11020         * gst/gstobject.c:
11021         * gst/gstobject.h:
11022         * gst/gststructure.c:
11023         * gst/gststructure.h:
11024         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11025         * gst/gstutils.h:
11026
11027 2005-04-24  David Schleef  <ds@schleef.org>
11028
11029         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11030         make the regressions tests work.  Remove some code that is no
11031         longer true.
11032         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11033         Disable warning for pads without templates.
11034
11035 2005-04-24  David Schleef  <ds@schleef.org>
11036
11037         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11038         functions that handle filtered links.
11039         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11040         removed functions.
11041         * gst/gstutils.c: Fix/remove utility functions that handle
11042         filtered caps.
11043         * gst/gstutils.h:
11044         * gst/gstvalue.c: Add serialization/deserialization of caps
11045         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11046         requires fixing so that the filter caps notation creates
11047         a capsfilter element and sets the filter_caps property.  I
11048         think everyone probably wants to keep the shorthand notation.
11049         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11050         * docs/gst/tmpl/gstpad.sgml:
11051
11052         * gst/elements/gstelements.c: Register capsfilter element.
11053         * gst/Makefile.am: fix spacing
11054         * docs/random/ds/0.9-suggested-changes: random
11055
11056 2005-04-23  David Schleef  <ds@schleef.org>
11057
11058         * gst/elements/Makefile.am:
11059         * gst/elements/gstcapsfilter.c: New element that acts like an
11060         identity, but filters caps.  Will eventually replace filtered
11061         caps in pad linking.
11062         * gst/gstutils.c: (gst_element_create_all_pads): New function
11063         to create all the ALWAYS pads that are registered with an
11064         element class.  This functionality should eventually be
11065         merged in with GstElement initialization.
11066         * gst/gstutils.h:
11067         * testsuite/trigger/README: part of trigger test code that should
11068         have been checked in a long time ago.
11069
11070 2005-04-23  David Schleef  <ds@schleef.org>
11071
11072         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11073         needed with new versions of libtool (nobody will confirm this),
11074         and hard to carry around.
11075         * gst/autoplug/Makefile.am:
11076         * gst/base/Makefile.am:
11077         * gst/elements/Makefile.am:
11078         * gst/indexers/Makefile.am:
11079         * gst/schedulers/Makefile.am:
11080         * libs/gst/bytestream/Makefile.am:
11081         * libs/gst/control/Makefile.am:
11082         * libs/gst/dataprotocol/Makefile.am:
11083         * libs/gst/getbits/Makefile.am:
11084
11085 2005-04-21  Wim Taymans  <wim@fluendo.com>
11086
11087         * docs/design/draft-push-pull.txt:
11088         * docs/design/part-MT-refcounting.txt:
11089         * docs/design/part-TODO.txt:
11090         * docs/design/part-caps.txt:
11091         * docs/design/part-events.txt:
11092         * docs/design/part-gstbus.txt:
11093         * docs/design/part-gstpipeline.txt:
11094         * docs/design/part-messages.txt:
11095         * docs/design/part-push-pull.txt:
11096         * docs/design/part-query.txt:
11097         Some more docs.
11098
11099 2005-04-21  Wim Taymans  <wim@fluendo.com>
11100
11101         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11102         (gst_message_new), (gst_message_new_error),
11103         (gst_message_new_warning), (gst_message_new_tag),
11104         (gst_message_new_state_changed), (gst_message_new_application),
11105         (gst_message_get_structure):
11106         * gst/gstmessage.h:
11107         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11108         (gst_structure_copy_conditional):
11109         Use parent refcount in GstMessage to ensure GstStructure
11110         consistency.
11111         Cleaned up headers a bit.
11112         
11113
11114 2005-04-20  Wim Taymans  <wim@fluendo.com>
11115
11116         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11117         (gst_basesink_pad_getcaps), (gst_basesink_init),
11118         (gst_basesink_chain_unlocked):
11119         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11120         (gst_type_find_helper):
11121         * gst/elements/gsttypefindelement.c:
11122         (gst_type_find_element_have_type), (gst_type_find_element_init),
11123         (stop_typefinding), (gst_type_find_element_handle_event),
11124         (find_suggest), (gst_type_find_element_chain),
11125         (gst_type_find_element_checkgetrange),
11126         (gst_type_find_element_getrange), (do_typefind),
11127         (gst_type_find_element_activate):
11128         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11129         (gst_buffer_default_free), (gst_buffer_default_copy),
11130         (gst_buffer_set_caps):
11131         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11132         (gst_caps_replace):
11133         * gst/gstmessage.c: (gst_message_new),
11134         (gst_message_new_state_changed):
11135         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11136         (gst_pad_set_checkgetrange_function),
11137         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11138         (gst_pad_set_caps), (gst_pad_check_pull_range),
11139         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11140         * gst/gstpad.h:
11141         * gst/gsttypefind.c: (gst_type_find_register):
11142         Make gst_caps_replace() work like other _replace() functions.
11143         Use _caps_replace() where possible.
11144         Make sure _message_new() initialises its field.
11145         Add gst_static_pad_template_get_caps()
11146
11147
11148 2005-04-18  Andy Wingo  <wingo@pobox.com>
11149
11150         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11151         on the peer, not the pad. I think that was a typo. Pass an extra
11152         arg to see if random access is possible. Activate the pads as
11153         PULL_RANGE if possible.
11154
11155         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11156
11157         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11158         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11159         to PROP_....
11160
11161 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11162
11163         * docs/faq/using.xml:
11164           Add note on gstreamer-properties (#154996).
11165
11166 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11167
11168         * docs/random/bbb/optional-properties:
11169           Some analysis on optional properties.
11170
11171 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11172
11173         * docs/gst/tmpl/gstelementfactory.sgml:
11174         * gst/gstelement.h:
11175         * gst/gstelementfactory.c: (gst_element_factory_init),
11176         (gst_element_factory_cleanup), (gst_element_register),
11177         (__gst_element_factory_add_static_pad_template),
11178         (gst_element_factory_get_static_pad_templates),
11179         (gst_element_factory_can_src_caps),
11180         (gst_element_factory_can_sink_caps):
11181         * gst/registries/Makefile.am:
11182         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11183         (gst_xml_registry_class_init), (gst_xml_registry_init),
11184         (gst_xml_registry_new), (gst_xml_registry_set_property),
11185         (gst_xml_registry_get_property), (get_time), (make_dir),
11186         (gst_xml_registry_get_perms_func),
11187         (plugin_times_older_than_recurse), (plugin_times_older_than),
11188         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11189         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11190         (add_to_char_array), (read_string), (read_uint), (read_enum),
11191         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11192         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11193         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11194         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11195         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11196         (gst_xml_registry_rebuild):
11197         * gst/registries/gstlibxmlregistry.h:
11198         * tools/gst-compprep.c: (main):
11199         * tools/gst-inspect.c: (print_pad_templates_info):
11200         * tools/gst-xmlinspect.c: (print_element_info):
11201           Use libxml2 for registry parsing, use staticpadtemplates in
11202           elementfactories. Makes gst_init() +/- 10x faster.
11203
11204 2005-04-12  Wim Taymans  <wim@fluendo.com>
11205
11206         * gst/base/Makefile.am:
11207         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11208         (gst_basesink_pad_getcaps), (gst_basesink_init),
11209         (gst_basesink_event), (gst_basesink_change_state):
11210         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11211         (gst_basesrc_init), (gst_basesrc_query),
11212         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11213         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11214         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11215         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11216         (gst_basesrc_stop), (gst_basesrc_activate),
11217         (gst_basesrc_change_state):
11218         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11219         (helper_find_suggest), (gst_type_find_helper):
11220         * gst/base/gsttypefindhelper.h:
11221         * gst/elements/Makefile.am:
11222         * gst/elements/gstelements.c:
11223         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11224         (gst_fakesink_get_times), (gst_fakesink_event),
11225         (gst_fakesink_preroll), (gst_fakesink_render):
11226         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11227         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11228         (gst_fakesrc_get_property), (gst_fakesrc_create),
11229         (gst_fakesrc_start), (gst_fakesrc_stop):
11230         * gst/elements/gstfakesrc.h:
11231         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11232         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11233         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11234         (gst_filesrc_create_read), (gst_filesrc_create),
11235         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11236         (gst_filesrc_start):
11237         * gst/elements/gsttypefindelement.c:
11238         (gst_type_find_element_have_type), (gst_type_find_element_init),
11239         (start_typefinding), (stop_typefinding), (push_buffer_store),
11240         (gst_type_find_element_handle_event),
11241         (gst_type_find_element_chain),
11242         (gst_type_find_element_checkgetrange),
11243         (gst_type_find_element_getrange), (do_typefind),
11244         (gst_type_find_element_activate),
11245         (gst_type_find_element_change_state):
11246         * gst/elements/gsttypefindelement.h:
11247         * gst/gstpipeline.c: (pipeline_bus_handler):
11248         Added typefind helper.
11249         Small preroll fix in the base sink.
11250         Disable typefind code in basesrc.
11251         Crude port of typefindelement.
11252         Fakesrc cleanups.
11253
11254
11255 2005-04-11  Wim Taymans  <wim@fluendo.com>
11256
11257         * check/gst/gstbus.c: (gstbus_suite):
11258         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11259         * check/gstcheck.h:
11260           Fix up the timeout so that the test does not fail.
11261
11262 2005-04-06  Wim Taymans  <wim@fluendo.com>
11263
11264         * gst/base/README:
11265         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11266         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11267         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11268         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11269         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11270         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11271         (gst_basesrc_stop), (gst_basesrc_activate),
11272         (gst_basesrc_change_state), (basesrc_find_peek),
11273         (basesrc_find_suggest), (gst_basesrc_type_find):
11274         * gst/base/gstbasesrc.h:
11275         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11276         (gst_filesrc_class_init), (gst_filesrc_init),
11277         (gst_filesrc_finalize), (gst_filesrc_set_location),
11278         (gst_filesrc_set_property), (gst_filesrc_get_property),
11279         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11280         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11281         (gst_filesrc_create_read), (gst_filesrc_create),
11282         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11283         * gst/elements/gstfilesrc.h:
11284         * gst/gstelement.c: (gst_element_get_state_func),
11285         (gst_element_lost_state), (gst_element_pads_activate):
11286         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11287         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11288         (gst_pad_pull_range):
11289         * gst/gstpad.h:
11290         More work on the generic source base class, implement seeking,
11291         query.
11292         Make filesrc extend the base source class.
11293         Added gst_pad_set_checkgetrange_function to GstPad.
11294
11295 2005-04-06  Andy Wingo  <wingo@pobox.com>
11296
11297         * pkgconfig/gstreamer-base.pc.in:
11298         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11299
11300         * pkgconfig/Makefile.am:
11301         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11302
11303 2005-04-04  Wim Taymans  <wim@fluendo.com>
11304
11305         * gst/base/Makefile.am:
11306         * gst/base/README:
11307         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11308         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11309         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11310         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11311         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11312         (gst_basesrc_base_init), (gst_basesrc_class_init),
11313         (gst_basesrc_init), (gst_basesrc_get_formats),
11314         (gst_basesrc_get_query_types), (gst_basesrc_query),
11315         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11316         (gst_basesrc_set_property), (gst_basesrc_get_property),
11317         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11318         (gst_basesrc_loop), (gst_basesrc_activate),
11319         (gst_basesrc_change_state):
11320         * gst/base/gstbasesrc.h:
11321         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11322         (gst_fakesrc_class_init), (gst_fakesrc_init),
11323         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11324         (gst_fakesrc_get_property), (gst_fakesrc_create):
11325         * gst/elements/gstfakesrc.h:
11326         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11327         (gst_filesrc_open_file), (gst_filesrc_loop),
11328         (gst_filesrc_activate), (filesrc_find_peek),
11329         (gst_filesrc_type_find):
11330         Made base source class, make fakesrc extend it.
11331         Add comments to basesink class.
11332         Some filesrc cleanup.
11333
11334 2005-03-31  David Schleef  <ds@schleef.org>
11335
11336         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11337         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11338         expected to link against libgstreamer.
11339         * gst/base/Makefile.am: link against libgstreamer
11340         * gst/elements/Makefile.am: same
11341
11342 2005-03-31  Andy Wingo  <wingo@pobox.com>
11343
11344         * tests/instantiate/Makefile.am:
11345         * tests/instantiate/caps.c: Add test to test speed of caps copy
11346         and free.
11347
11348         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11349         GMemChunk to be fair.
11350
11351         * gst/gsttrashstack.h: Remove warning about using the fallback
11352         trash stack implementation, it's still faster than malloc.
11353
11354 2005-03-30  Andy Wingo  <wingo@pobox.com>
11355
11356         * tests/complexity.c: Add a copyright.
11357
11358 2005-03-31  Wim Taymans  <wim@fluendo.com>
11359
11360         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11361         (gst_base_transform_class_init), (gst_base_transform_init),
11362         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11363         (gst_base_transform_get_property),
11364         (gst_base_transform_sink_activate),
11365         (gst_base_transform_src_activate),
11366         (gst_base_transform_change_state):
11367         * gst/base/gstbasetransform.h:
11368         * gst/elements/gstidentity.c: (gst_identity_class_init),
11369         (gst_identity_event), (gst_identity_check_perfect),
11370         (gst_identity_transform), (gst_identity_start),
11371         (gst_identity_stop):
11372         Added start/stop methods to transform base class so subclasses 
11373         don't need to deal with state changes even.
11374
11375 2005-03-31  Wim Taymans  <wim@fluendo.com>
11376
11377         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11378         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11379         * gst/gstevent.h:
11380         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11381         (gst_pad_pull_range):
11382         Added rate to the discont event to prepare for variable speed
11383         and reverse playback.
11384
11385 2005-03-29  David Schleef  <ds@schleef.org>
11386
11387         * configure.ac:
11388         * testsuite/trigger/Makefile.am:
11389         * testsuite/trigger/trigger.c: A little example program to show
11390         how trigger-based elements can work.
11391
11392 2005-03-29  Wim Taymans  <wim@fluendo.com>
11393
11394         * gst/base/Makefile.am:
11395         * gst/base/README:
11396         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11397         (gst_basesink_base_init), (gst_basesink_class_init),
11398         (gst_basesink_pad_getcaps), (gst_basesink_init),
11399         (gst_basesink_activate), (gst_basesink_change_state):
11400         * gst/base/gstbasesink.h:
11401         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11402         (gst_base_transform_base_init), (gst_base_transform_finalize),
11403         (gst_base_transform_class_init), (gst_base_transform_init),
11404         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11405         (gst_base_transform_event), (gst_base_transform_getrange),
11406         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11407         (gst_base_transform_set_property),
11408         (gst_base_transform_get_property),
11409         (gst_base_transform_sink_activate),
11410         (gst_base_transform_src_activate),
11411         (gst_base_transform_change_state):
11412         * gst/base/gstbasetransform.h:
11413         * gst/elements/gstidentity.c: (gst_identity_finalize),
11414         (gst_identity_class_init), (gst_identity_init),
11415         (gst_identity_event), (gst_identity_check_perfect),
11416         (gst_identity_transform), (gst_identity_set_property),
11417         (gst_identity_get_property), (gst_identity_change_state):
11418         * gst/elements/gstidentity.h:
11419         * gst/gstelement.c: (gst_element_get_state_func),
11420         (gst_element_lost_state), (gst_element_pads_activate):
11421         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11422         (gst_pad_check_pull_range), (gst_pad_pull_range):
11423         * gst/gstpad.h:
11424         Simplify pad activation.
11425         Added function to check if pull_range can be performed.
11426         Error out when pulling inactive or flushing pads.
11427         Removed const from refcounted types as it does not make sense.
11428         Simplify pad templates in basesink
11429         Added base class for simple 1-to-1 transforms.
11430         Make identity subclass the base transform.
11431
11432 2005-03-29  Andy Wingo  <wingo@pobox.com>
11433
11434         * docs/libs/gstreamer-libs-overrides.txt: 
11435         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11436         really don't understand what's going on, but like whatever. I want
11437         green buildbot!
11438
11439         * docs/gst/Makefile.am:
11440         * docs/libs/Makefile.am: Dist the overrides files.
11441
11442         * check/Makefile.am (clean-local): Remove .libs directories.
11443
11444         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11445         elements to EXTRA_DIST, so po/ files are happy.
11446
11447         * po/POTFILES.in: Er, remove it here.
11448
11449         * po/POTFILES: Remove gstspider.c.
11450
11451         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11452
11453         * docs/libs/gstreamer-libs-docs.sgml: 
11454         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11455         bytestream.
11456
11457         * tests/complexity.c (main): Set the length of the preroll queue
11458         on the sinks to prevent a lockup.
11459
11460         * libs/gst/dataprotocol/Makefile.am: 
11461         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11462         the same as the one in check/gst-libs/gdp.c.
11463
11464         * po/, docs/gst/: Commit automatic changes to docs and po files.
11465
11466         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11467         the versioned libgstbase.
11468
11469         * check/Makefile.am: Depend on an unversioned gst-register, seems
11470         to make autoconf happier.
11471
11472         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11473
11474 2005-03-28  Wim Taymans  <wim@fluendo.com>
11475
11476         * configure.ac:
11477         * docs/design/part-gstelement.txt:
11478         * docs/design/part-negotiation.txt:
11479         * docs/design/part-preroll.txt:
11480         * docs/design/part-scheduling.txt:
11481         * docs/design/part-states.txt:
11482         * gst/Makefile.am:
11483         * gst/base/Makefile.am:
11484         * gst/base/README:
11485         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11486         (gst_basesink_base_init), (gst_basesink_class_init),
11487         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11488         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11489         (gst_basesink_set_pad_functions),
11490         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11491         (gst_basesink_set_property), (gst_basesink_get_property),
11492         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11493         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11494         (gst_basesink_preroll_queue_push),
11495         (gst_basesink_preroll_queue_empty),
11496         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11497         (gst_basesink_event), (gst_basesink_get_times),
11498         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11499         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11500         (gst_basesink_loop), (gst_basesink_activate),
11501         (gst_basesink_change_state):
11502         * gst/base/gstbasesink.h:
11503         * gst/elements/Makefile.am:
11504         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11505         (gst_fakesink_class_init), (gst_fakesink_init),
11506         (gst_fakesink_set_property), (gst_fakesink_get_property),
11507         (gst_fakesink_get_times), (gst_fakesink_event),
11508         (gst_fakesink_preroll), (gst_fakesink_render),
11509         (gst_fakesink_change_state):
11510         * gst/elements/gstfakesink.h:
11511         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11512         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11513         * gst/gstelement.c: (gst_element_add_pad),
11514         (gst_element_get_state_func), (gst_element_abort_state),
11515         (gst_element_commit_state), (gst_element_lost_state),
11516         (gst_element_set_state), (gst_element_pads_activate):
11517         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11518         * gst/gstpipeline.c: (gst_pipeline_send_event),
11519         (gst_pipeline_change_state):
11520         Added state change code.
11521         Added/updated docs.
11522         Added sink base class, make fakesink extend the base class.
11523         Small cleanups in GstPipeline.
11524
11525 2005-03-26  David Schleef  <ds@schleef.org>
11526
11527         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11528         is broken and should be implemented in a different library.
11529         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11530         * gst/gst.h: remove gstcpu.h
11531         * gst/gstcpu.c: remove
11532         * gst/gstcpu.h: remove
11533         * gst/Makefile.am.future: Remove this file.  It's ancient.
11534
11535 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11536
11537         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11538         (gst_bin_send_event):
11539           Add default event/set_manager handlers. The set_manager handler
11540           takes care that the manager is distributed over kids that were
11541           already in the bin before the manager was set. The event handler
11542           is a utility virtual function that sends the event over all sinks,
11543           so that gst_element_send_event (bin, event); has the expected
11544           behaviour.
11545         * gst/gstpad.c: (gst_pad_event_default):
11546           Re-install default event handling for discontinuities, so that
11547           seeking works without requiring hacks in applications or extra
11548           code in sinks.
11549         * gst/gstpipeline.c: (gst_pipeline_class_init),
11550         (gst_pipeline_send_event):
11551           Half hack, half utility: set a pipeline to PAUSED for seek events,
11552           since that is the only way we can guarantee a/v sync. Means that
11553           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11554           and it "just works".
11555
11556 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11557
11558         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11559           Lock/unlock mismatch.
11560
11561 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11562
11563         * docs/faq/gst-uninstalled:
11564           add gst-plugins-base
11565         * docs/gst/Makefile.am:
11566           don't error out until docs are fixed
11567         * docs/gst/gstreamer.types:
11568           remove thread
11569
11570 2005-03-22  Wim Taymans  <wim@fluendo.com>
11571
11572         * check/Makefile.am:
11573         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11574         * gst/gststructure.c: (gst_structure_set_valist),
11575         (gst_structure_copy_conditional):
11576         Activated more tests.
11577         Added message test.
11578         Added G_TYPE_POINTER to GstStructure.
11579         
11580
11581 2005-03-22  Wim Taymans  <wim@fluendo.com>
11582
11583         * docs/design/part-TODO.txt:
11584         * docs/design/part-events.txt:
11585         * docs/design/part-gstbin.txt:
11586         * docs/design/part-gstbus.txt:
11587         * docs/design/part-gstpipeline.txt:
11588         * docs/design/part-messages.txt:
11589         * gst/gstbus.c:
11590         * gst/gstmessage.c:
11591         Docs updates
11592
11593 2005-03-21  Wim Taymans  <wim@fluendo.com>
11594
11595         * gst/gstbus.c: (gst_bus_post):
11596         Fix copy-and-paste error.
11597
11598 2005-03-21  Wim Taymans  <wim@fluendo.com>
11599
11600         * check/Makefile.am:
11601         * gst/Makefile.am:
11602         * gst/elements/Makefile.am:
11603         * gst/elements/gstelements.c:
11604         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11605         (gst_fakesink_event), (gst_fakesink_chain):
11606         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11607         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11608         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11609         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11610         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11611         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11612         (gst_fakesrc_loop), (gst_fakesrc_activate),
11613         (gst_fakesrc_change_state):
11614         * gst/elements/gstfakesrc.h:
11615         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11616         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11617         (gst_filesrc_open_file), (gst_filesrc_loop),
11618         (gst_filesrc_activate), (gst_filesrc_change_state),
11619         (filesrc_find_peek), (filesrc_find_suggest),
11620         (gst_filesrc_type_find):
11621         * gst/elements/gstidentity.c: (gst_identity_finalize),
11622         (gst_identity_class_init), (gst_identity_init),
11623         (gst_identity_proxy_getcaps), (identity_queue_push),
11624         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11625         (gst_identity_getrange), (gst_identity_chain),
11626         (gst_identity_sink_loop), (gst_identity_src_loop),
11627         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11628         (gst_identity_set_property), (gst_identity_get_property),
11629         (gst_identity_change_state):
11630         * gst/elements/gstidentity.h:
11631         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11632         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11633         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11634         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11635         (gst_tee_sink_activate):
11636         * gst/elements/gsttee.h:
11637         * gst/gst.c: (gst_register_core_elements), (init_post):
11638         * gst/gst.h:
11639         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11640         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11641         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11642         (gst_bin_change_state):
11643         * gst/gstbin.h:
11644         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11645         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11646         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11647         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11648         (gst_bus_set_sync_handler), (gst_bus_create_watch),
11649         (bus_watch_callback), (bus_watch_destroy),
11650         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11651         (poll_timeout), (gst_bus_poll):
11652         * gst/gstbus.h:
11653         * gst/gstcaps.h:
11654         * gst/gstdata.h:
11655         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11656         (gst_element_post_message), (gst_element_message_full),
11657         (gst_element_get_state_func), (gst_element_get_state),
11658         (gst_element_abort_state), (gst_element_commit_state),
11659         (gst_element_lost_state), (gst_element_set_state),
11660         (gst_element_pads_activate), (gst_element_change_state),
11661         (gst_element_dispose), (gst_element_set_manager_func),
11662         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11663         (gst_element_set_manager), (gst_element_get_manager),
11664         (gst_element_set_bus), (gst_element_get_bus),
11665         (gst_element_set_scheduler), (gst_element_get_scheduler):
11666         * gst/gstelement.h:
11667         * gst/gstevent.c: (gst_event_new_segment_seek),
11668         (gst_event_new_flush):
11669         * gst/gstevent.h:
11670         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11671         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11672         (gst_message_new_eos), (gst_message_new_error),
11673         (gst_message_new_warning), (gst_message_new_tag),
11674         (gst_message_new_state_changed), (gst_message_new_application),
11675         (gst_message_get_structure), (gst_message_parse_tag),
11676         (gst_message_parse_state_changed), (gst_message_parse_error),
11677         (gst_message_parse_warning):
11678         * gst/gstmessage.h:
11679         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11680         (gst_real_pad_set_property), (gst_pad_set_active),
11681         (gst_pad_is_active), (gst_pad_set_blocked_async),
11682         (gst_pad_set_blocked), (gst_pad_is_blocked),
11683         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11684         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11685         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11686         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11687         (gst_pad_link_filtered), (gst_pad_relink_filtered),
11688         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11689         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11690         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11691         (gst_pad_set_caps), (gst_pad_configure_sink),
11692         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11693         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11694         (gst_real_pad_dispose), (gst_real_pad_finalize),
11695         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11696         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11697         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11698         * gst/gstpad.h:
11699         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11700         (pipeline_bus_handler), (gst_pipeline_change_state),
11701         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11702         * gst/gstpipeline.h:
11703         * gst/gstprobe.h:
11704         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11705         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11706         (gst_queue_link_src), (gst_queue_bufferalloc),
11707         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11708         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11709         (gst_queue_loop), (gst_queue_handle_src_event),
11710         (gst_queue_handle_src_query), (gst_queue_src_activate),
11711         (gst_queue_change_state):
11712         * gst/gstqueue.h:
11713         * gst/gstscheduler.c: (gst_scheduler_init),
11714         (gst_scheduler_dispose), (gst_scheduler_create_task),
11715         (gst_scheduler_factory_create):
11716         * gst/gstscheduler.h:
11717         * gst/gststructure.c: (gst_structure_get_type),
11718         (gst_structure_copy_conditional):
11719         * gst/gststructure.h:
11720         * gst/gsttaginterface.h:
11721         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11722         (gst_task_init), (gst_task_dispose), (gst_task_create),
11723         (gst_task_get_state), (gst_task_start), (gst_task_stop),
11724         (gst_task_pause):
11725         * gst/gsttask.h:
11726         * gst/gstthread.c:
11727         * gst/gstthread.h:
11728         * gst/gsttypes.h:
11729         * gst/schedulers/Makefile.am:
11730         * gst/schedulers/cothreads_compat.h:
11731         * gst/schedulers/entryscheduler.c:
11732         * gst/schedulers/faircothreads.c:
11733         * gst/schedulers/faircothreads.h:
11734         * gst/schedulers/fairscheduler.c:
11735         * gst/schedulers/gstbasicscheduler.c:
11736         * gst/schedulers/gstoptimalscheduler.c:
11737         * gst/schedulers/gthread-cothreads.h:
11738         * gst/schedulers/threadscheduler.c:
11739         (gst_thread_scheduler_task_get_type),
11740         (gst_thread_scheduler_task_class_init),
11741         (gst_thread_scheduler_task_init),
11742         (gst_thread_scheduler_task_start),
11743         (gst_thread_scheduler_task_stop),
11744         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11745         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11746         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11747         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11748         (plugin_init):
11749         * libs/gst/Makefile.am:
11750         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11751         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11752         (gst_file_pad_parent_set):
11753         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11754         (gst_dp_event_from_packet):
11755         * tests/complexity.c: (main):
11756         * tests/mass_elements.c: (main):
11757         * testsuite/states/locked.c: (message_received), (main):
11758         * testsuite/states/parent.c: (main):
11759         * tools/gst-inspect.c: (print_element_flag_info),
11760         (print_implementation_info), (print_pad_info):
11761         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11762         (main):
11763         * tools/gst-md5sum.c: (event_loop), (main):
11764         * tools/gst-typefind.c: (main):
11765         * tools/gst-xmlinspect.c: (print_element_info):
11766         Next big merge.
11767         Added GstBus for mainloop integration.
11768         Added GstMessage for sending notifications on the bus.
11769         Added GstTask as an abstraction for pipeline entry points.
11770         Removed GstThread.
11771         Removed Schedulers.
11772         Simplified GstQueue for multithreaded core.
11773         Made _link threadsafe, removed old capsnego.
11774         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11775         Added pad blocking functions.
11776         Reworked scheduling functions in GstPad to prepare for
11777         scheduling updates soon.
11778         Moved events out of data stream.
11779         Simplified GstEvent types.
11780         Added return values to push/pull.
11781         Removed clocking from GstElement.
11782         Added prototypes for state change function for next merge.
11783         Removed iterate from bins and state change management.
11784         Fixed some elements, disabled others for now.
11785         Fixed -inspect and -launch.
11786         Added check for GstBus.
11787
11788 2005-03-10  Wim Taymans  <wim@fluendo.com>
11789
11790         * docs/design/part-MT-refcounting.txt:
11791         * docs/design/part-clocks.txt:
11792         * docs/design/part-gstelement.txt:
11793         * docs/design/part-gstobject.txt:
11794         * docs/design/part-standards.txt:
11795         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11796         (gst_bin_remove_func), (gst_bin_remove):
11797         * gst/gstbin.h:
11798         * gst/gstbuffer.c:
11799         * gst/gstcaps.h:
11800         * testsuite/clock/clock1.c: (main):
11801         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11802         (main):
11803         * testsuite/dlopen/loadgst.c: (do_test):
11804         * testsuite/refcounting/bin.c: (add_remove_test1),
11805         (add_remove_test2), (main):
11806         * testsuite/refcounting/element.c: (main):
11807         * testsuite/refcounting/element_pad.c: (main):
11808         * testsuite/refcounting/pad.c: (main):
11809         * tools/gst-launch.c: (sigint_handler_sighandler):
11810         * tools/gst-typefind.c: (main):
11811         Doc updates.
11812         Added doc about clock.
11813         removed gst_bin_iterate_recurse_up(), marked methods
11814         for removal.
11815         Fix more testsuites.
11816
11817 2005-03-09  Wim Taymans  <wim@fluendo.com>
11818
11819         * gst/gstpad.c: (gst_pad_get_direction),
11820         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11821         (gst_pad_collect_valist):
11822         * testsuite/bins/interface.c: (main):
11823         * testsuite/caps/audioscale.c: (test_caps):
11824         * testsuite/caps/caps.c: (test1), (test2), (test3):
11825         * testsuite/caps/deserialize.c: (main):
11826         * testsuite/caps/enumcaps.c: (main):
11827         * testsuite/caps/filtercaps.c: (main):
11828         * testsuite/caps/intersect2.c: (main):
11829         * testsuite/caps/random.c: (main):
11830         * testsuite/caps/renegotiate.c: (my_fixate), (main):
11831         * testsuite/caps/sets.c: (check_caps):
11832         * testsuite/caps/simplify.c: (check_caps), (main):
11833         * testsuite/caps/subtract.c: (check_caps):
11834         Fix _pad_get_direction wrt ghostpads.
11835         Fix caps testsuite.
11836
11837 2005-03-09  Wim Taymans  <wim@fluendo.com>
11838
11839         * check/Makefile.am:
11840         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11841         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11842         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11843         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11844         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11845         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11846         (gst_bin_remove), (gst_bin_iterate_recurse_up),
11847         (bin_element_is_sink), (gst_bin_iterate_sinks),
11848         (gst_bin_iterate_all_by_interface):
11849         * gst/gstbin.h:
11850         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11851         (gst_element_change_state), (gst_element_dispose),
11852         (gst_element_finalize), (gst_element_set_loop_function):
11853         * gst/gstelement.h:
11854         * gst/gstiterator.c: (find_custom_fold_func):
11855         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11856         (gst_pad_collectv), (gst_pad_collect_valist),
11857         (gst_pad_template_new):
11858         * gst/gstpipeline.c: (gst_pipeline_class_init),
11859         (gst_pipeline_dispose), (gst_pipeline_set_property),
11860         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11861         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11862         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11863         * gst/gstutils.h:
11864         * gst/schedulers/entryscheduler.c:
11865         * gst/schedulers/gstbasicscheduler.c:
11866         (gst_basic_scheduler_cothreaded_chain),
11867         (gst_basic_scheduler_chain_add_element):
11868         * testsuite/bins/interface.c: (main):
11869         Added GstBin test.
11870         Added GstSystemClock test.
11871         Implemented clock distribution code in GstBin.
11872         Implemented iterate sinks method for future use.
11873         Rearranged gstelement.h
11874         Fix GstIterator comparison bug.
11875         Moved some code to GstPipeline, mostly clocking related.
11876
11877 2005-03-09  Wim Taymans  <wim@fluendo.com>
11878
11879         * configure.ac:
11880         * gst/gst_private.h:
11881         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11882         (gst_bin_remove_func), (gst_bin_remove),
11883         (gst_bin_get_by_name_recurse_up):
11884         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11885         (gst_clock_id_compare_func), (gst_clock_id_wait),
11886         (gst_clock_id_wait_async), (gst_clock_init),
11887         (gst_clock_adjust_unlocked), (gst_clock_get_time):
11888         * gst/gstelement.h:
11889         * gst/gstinfo.c: (_gst_debug_init):
11890         * gst/gstobject.h:
11891         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11892         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11893         * gst/gstpad.h:
11894         Bump version number, we're now 0.9.0
11895         Add future debugging category.
11896         Fix NULL _unref() in _get_by_name_recurse_up
11897         Rearrange gstpad.h.
11898         Update some docs.
11899
11900 2005-03-08  Wim Taymans  <wim@fluendo.com>
11901
11902         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11903         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11904         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11905         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11906         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11907         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11908         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11909         * gst/elements/gstidentity.c: (gst_identity_class_init):
11910         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11911         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11912         * gst/elements/gstshaper.c: (gst_shaper_class_init):
11913         * gst/elements/gststatistics.c: (gst_statistics_class_init):
11914         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11915         (gst_tee_link):
11916         * gst/gstelement.c: (gst_element_class_init),
11917         (gst_element_base_class_init), (gst_element_init),
11918         (gst_element_get_random_pad), (gst_element_wait_state_change),
11919         (gst_element_change_state), (gst_element_dispose),
11920         (gst_element_finalize), (gst_element_set_loop_function):
11921         * gst/gstelement.h:
11922         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11923         * gst/gstthread.c: (gst_thread_class_init),
11924         (gst_thread_release_children_locks), (gst_thread_change_state):
11925         * gst/schedulers/gstbasicscheduler.c:
11926         (gst_basic_scheduler_loopfunc_wrapper),
11927         (gst_basic_scheduler_chain_wrapper),
11928         (gst_basic_scheduler_src_wrapper),
11929         (gst_basic_scheduler_remove_element):
11930         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11931         Remove threadsafe properties. Fix elements because GObject
11932         complains when installing a property before declaring a
11933         set/get_property handler.
11934         Rearrange gstelement.h file, use STATE macros for state locks.
11935         Free mutexes in the finalize method instead of dispose.
11936
11937 2005-03-08  Wim Taymans  <wim@fluendo.com>
11938
11939         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11940         * gst/gstthread.c: (gst_thread_release_children_locks):
11941         Added parentage check.
11942         Fix build og GstThread again.
11943
11944 2005-03-08  Wim Taymans  <wim@fluendo.com>
11945
11946         * docs/design/part-MT-refcounting.txt:
11947         * docs/design/part-conventions.txt:
11948         * docs/design/part-gstobject.txt:
11949         * docs/design/part-relations.txt:
11950         * docs/design/part-standards.txt:
11951         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11952         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11953         (gst_bin_get_by_name), (gst_bin_get_by_interface),
11954         (gst_bin_iterate_all_by_interface):
11955         * gst/gstbuffer.h:
11956         * gst/gstclock.h:
11957         * gst/gstelement.c: (gst_element_class_init),
11958         (gst_element_change_state), (gst_element_set_loop_function):
11959         * gst/gstelement.h:
11960         * gst/gstiterator.c:
11961         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11962         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11963         (gst_object_dispatch_properties_changed), (gst_object_set_name),
11964         (gst_object_set_parent), (gst_object_unparent),
11965         (gst_object_check_uniqueness):
11966         * gst/gstobject.h:
11967         Docs updates, clean up some headers.
11968
11969 2005-03-07  Wim Taymans  <wim@fluendo.com>
11970
11971         * check/.cvsignore:
11972         * check/Makefile.am:
11973         * check/gst-libs/.cvsignore:
11974         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11975         * check/gst/.cvsignore:
11976         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11977         (START_TEST), (gstbus_suite), (main):
11978         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11979         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11980         (gst_data_suite), (main):
11981         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11982         (add_fold_func), (gstiterator_suite), (main):
11983         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11984         (thread_name_object), (thread_name_object_default),
11985         (gst_object_name_compare), (gst_object_suite), (main):
11986         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11987         (gst_pad_suite), (main):
11988         * check/gstcheck.c: (gst_check_log_message_func),
11989         (gst_check_log_critical_func), (gst_check_init):
11990         * check/gstcheck.h:
11991         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11992         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11993         Added checks.
11994
11995 2005-03-07  Wim Taymans  <wim@fluendo.com>
11996
11997         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11998         (gst_list_iterator_next), (gst_list_iterator_resync),
11999         (gst_list_iterator_free), (gst_iterator_new_list),
12000         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12001         (gst_iterator_free), (gst_iterator_push), (filter_next),
12002         (filter_resync), (filter_uninit), (filter_free),
12003         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12004         (gst_iterator_foreach), (find_custom_fold_func),
12005         (gst_iterator_find_custom):
12006         * gst/gstiterator.h:
12007         Added missing files.
12008
12009 2005-03-07  Wim Taymans  <wim@fluendo.com>
12010
12011         * Makefile.am:
12012         * configure.ac:
12013         * docs/design/part-MT-refcounting.txt:
12014         * docs/design/part-conventions.txt:
12015         * docs/design/part-gstobject.txt:
12016         * docs/design/part-relations.txt:
12017         * examples/mixer/mixer.c: (main):
12018         * examples/thread/thread.c: (eos), (main):
12019         * gst/Makefile.am:
12020         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12021         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12022         (gst_spider_plug_from_srcpad):
12023         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12024         (gst_spider_identity_change_state),
12025         (gst_spider_identity_sink_loop_type_finding):
12026         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12027         * gst/elements/gstidentity.c: (gst_identity_init):
12028         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12029         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12030         * gst/elements/gsttypefindelement.c: (free_entry):
12031         * gst/gst.c:
12032         * gst/gst.h:
12033         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12034         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12035         (gst_bin_set_index), (gst_bin_set_element_sched),
12036         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12037         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12038         (gst_bin_iterate_elements), (iterate_child_recurse),
12039         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12040         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12041         (compare_interface), (gst_bin_get_by_interface),
12042         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12043         * gst/gstbin.h:
12044         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12045         (gst_buffer_default_free), (gst_buffer_default_copy),
12046         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12047         (gst_buffer_create_sub):
12048         * gst/gstbuffer.h:
12049         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12050         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12051         (gst_caps_unref), (gst_static_caps_get),
12052         (gst_caps_remove_and_get_structure), (gst_caps_append),
12053         (gst_caps_append_structure), (gst_caps_remove_structure),
12054         (gst_caps_copy_nth), (gst_caps_set_simple),
12055         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12056         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12057         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12058         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12059         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12060         (gst_caps_structure_figure_out_union),
12061         (gst_caps_switch_structures), (gst_caps_do_simplify),
12062         (gst_caps_replace), (gst_caps_from_string),
12063         (gst_caps_copy_conditional):
12064         * gst/gstcaps.h:
12065         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12066         (_gst_clock_id_free), (gst_clock_id_unref),
12067         (gst_clock_id_compare_func), (gst_clock_id_wait),
12068         (gst_clock_id_wait_async), (gst_clock_class_init),
12069         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12070         (gst_clock_get_time), (gst_clock_set_time_adjust),
12071         (gst_clock_set_property), (gst_clock_get_property):
12072         * gst/gstclock.h:
12073         * gst/gstcompat.h:
12074         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12075         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12076         * gst/gstdata.h:
12077         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12078         (gst_element_requires_clock), (gst_element_provides_clock),
12079         (gst_element_set_clock), (gst_element_clock_wait),
12080         (gst_element_wait), (gst_element_set_time_delay),
12081         (gst_element_is_indexable), (gst_element_add_pad),
12082         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12083         (pad_compare_name), (gst_element_get_static_pad),
12084         (gst_element_request_pad), (gst_element_get_request_pad),
12085         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12086         (gst_element_class_get_pad_template_list),
12087         (gst_element_class_get_pad_template), (gst_element_error_func),
12088         (gst_element_get_random_pad), (gst_element_get_event_masks),
12089         (gst_element_send_event), (gst_element_seek),
12090         (gst_element_get_query_types), (gst_element_query),
12091         (gst_element_get_formats), (gst_element_convert),
12092         (gst_element_is_locked_state), (gst_element_set_locked_state),
12093         (gst_element_sync_state_with_parent), (gst_element_change_state),
12094         (gst_element_finalize), (gst_element_yield),
12095         (gst_element_interrupt), (gst_element_set_scheduler),
12096         (gst_element_get_scheduler), (gst_element_set_loop_function):
12097         * gst/gstelement.h:
12098         * gst/gstevent.h:
12099         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12100         (gst_format_get_by_nick), (gst_format_get_details),
12101         (gst_format_iterate_definitions):
12102         * gst/gstformat.h:
12103         * gst/gstindex.c: (gst_index_gtype_resolver):
12104         * gst/gstinfo.c:
12105         * gst/gstinfo.h:
12106         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12107         (gst_mem_chunk_free):
12108         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12109         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12110         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12111         (gst_object_dispatch_properties_changed),
12112         (gst_object_set_name_default), (gst_object_set_name),
12113         (gst_object_get_name), (gst_object_set_name_prefix),
12114         (gst_object_get_name_prefix), (gst_object_set_parent),
12115         (gst_object_get_parent), (gst_object_unparent),
12116         (gst_object_check_uniqueness), (gst_object_save_thyself),
12117         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12118         (gst_object_set_property), (gst_object_get_property),
12119         (gst_object_get_path_string):
12120         * gst/gstobject.h:
12121         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12122         (gst_real_pad_init), (gst_real_pad_get_property),
12123         (gst_pad_custom_new), (gst_pad_get_direction),
12124         (gst_pad_set_active), (gst_pad_is_active),
12125         (gst_pad_set_event_function), (gst_pad_is_linked),
12126         (gst_pad_link_free), (gst_pad_link_intersect),
12127         (gst_pad_link_fixate), (gst_pad_set_caps),
12128         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12129         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12130         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12131         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12132         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12133         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12134         (gst_pad_realize), (gst_pad_get_allowed_caps),
12135         (gst_real_pad_dispose), (gst_real_pad_finalize),
12136         (gst_pad_collectv), (gst_pad_collect_valist),
12137         (gst_pad_template_dispose), (gst_pad_template_new),
12138         (gst_pad_get_internal_links):
12139         * gst/gstpad.h:
12140         * gst/gstpipeline.c: (gst_pipeline_dispose),
12141         (gst_pipeline_change_state):
12142         * gst/gstpipeline.h:
12143         * gst/gstplugin.c:
12144         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12145         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12146         * gst/gstpluginfeature.h:
12147         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12148         * gst/gstquery.c: (_gst_query_type_initialize),
12149         (gst_query_type_register), (gst_query_type_get_by_nick),
12150         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12151         * gst/gstquery.h:
12152         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12153         * gst/gstscheduler.c: (gst_scheduler_add_element),
12154         (gst_scheduler_factory_create):
12155         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12156         (gst_structure_free), (gst_structure_set_name),
12157         (gst_structure_id_set_value), (gst_structure_set_value),
12158         (gst_structure_set_valist), (gst_structure_remove_field),
12159         (gst_structure_remove_fields),
12160         (gst_structure_remove_fields_valist),
12161         (gst_structure_remove_all_fields), (gst_structure_foreach),
12162         (gst_structure_map_in_place),
12163         (gst_caps_structure_fixate_field_nearest_int),
12164         (gst_caps_structure_fixate_field_nearest_double):
12165         * gst/gststructure.h:
12166         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12167         (gst_system_clock_init), (gst_system_clock_dispose),
12168         (gst_system_clock_async_thread),
12169         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12170         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12171         * gst/gstsystemclock.h:
12172         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12173         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12174         * gst/gsttaginterface.c:
12175         * gst/gstthread.c: (gst_thread_dispose),
12176         (gst_thread_release_children_locks), (gst_thread_change_state),
12177         (gst_thread_main_loop):
12178         * gst/gsttrashstack.h:
12179         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12180         * gst/gsttypes.h:
12181         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12182         (gst_element_request_pad), (gst_element_get_pad_from_template),
12183         (gst_element_request_compatible_pad),
12184         (gst_element_get_compatible_pad_filtered),
12185         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12186         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12187         (gst_element_link_many), (gst_element_link),
12188         (gst_element_link_pads), (gst_element_unlink_pads),
12189         (gst_element_unlink_many), (gst_element_unlink),
12190         (gst_pad_can_link_filtered), (gst_pad_can_link),
12191         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12192         (gst_object_default_error), (gst_bin_add_many),
12193         (gst_bin_remove_many), (gst_element_populate_std_props),
12194         (gst_element_class_install_std_props), (gst_buffer_merge),
12195         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12196         (link_fold_func), (gst_pad_proxy_setcaps):
12197         * gst/gstutils.h:
12198         * gst/gstvalue.c: (gst_value_deserialize_string):
12199         * gst/parse/grammar.y:
12200         * gst/schedulers/gstbasicscheduler.c:
12201         (gst_basic_scheduler_cothreaded_chain),
12202         (gst_basic_scheduler_chain_recursive_add),
12203         (gst_basic_scheduler_pad_link):
12204         * gst/schedulers/gstoptimalscheduler.c:
12205         (get_group_schedule_function),
12206         (gst_opt_scheduler_state_transition),
12207         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12208         * libs/gst/bytestream/bytestream.c:
12209         * libs/gst/dataprotocol/dataprotocol.c:
12210         (gst_dp_header_from_buffer):
12211         * po/nb.po:
12212         * po/ru.po:
12213         * tests/threadstate/threadstate2.c: (eos):
12214         * tools/gst-compprep.c: (main):
12215         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12216         (print_pad_info), (print_children_info):
12217         * tools/gst-launch.c: (idle_func), (main):
12218         * tools/gst-md5sum.c: (idle_func), (main):
12219         * tools/gst-xmlinspect.c: (print_element_info):
12220         First THREADED backport attempt, focusing on adding locks and
12221         making sure the API is threadsafe. Needs more work. More docs
12222         follow this week.
12223
12224 2005-02-24  Andy Wingo  <wingo@pobox.com>
12225
12226         * tests/bench-complexity.scm:
12227         * tests/complexity.gnuplot: New files, good for running complexity
12228         benchmarks.
12229
12230         * tests/Makefile.am:
12231         * tests/complexity.c: New test, sets up N elements, at each level
12232         teeing into M streams per element. Eeeenteresting.
12233
12234         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12235         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12236         running bench-mass_elements.scm.
12237
12238         * tests/bench-mass_elements.scm: New script, runs mass_elements
12239         for various numbers of identities, outputting the results to a
12240         file. Requires guile 1.6. Just for testing.
12241
12242 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12243
12244         * gst/schedulers/fairscheduler.c:
12245           compile with debug disabled
12246
12247 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12248
12249         * configure.ac:
12250           hunting season on 0.9 is now OPEN