Rename gstnet-tempname to gstnet. Fixes #322257.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-29  Andy Wingo  <wingo@pobox.com>
2
3         * check/Makefile.am:
4         * pkgconfig/gstreamer-net-uninstalled.pc.in:
5         * pkgconfig/gstreamer-net.pc.in:
6         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7         #322257.
8
9 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10
11         * tools/Makefile.am:
12         * tools/gst-complete.1.in:
13         * tools/gst-complete.c:
14         * tools/gst-compprep.1.in:
15         * tools/gst-compprep.c:
16           removing -compprep and -complete
17
18 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19
20         * gst/gstevent.c: (gst_event_new_new_segment),
21         (gst_event_parse_new_segment):
22         * gst/gstevent.h:
23           fix #320529 - clean up new_segment API and structure.
24           Let's hope everyone was using the methods, and not the structure.
25
26 2005-11-29  Edward Hervey  <edward@fluendo.com>
27
28         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29         (gst_base_sink_event), (gst_base_sink_do_sync),
30         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
31         Properly handle non GST_FORMAT_TIME segment
32         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
33         Properly handle non GST_FORMAT_TIME segment
34         * gst/gstsegment.c:
35         This function is valid if the accumulator is 0 and the format
36         is different from the requested format.
37         
38 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
39
40         * docs/gst/gstreamer-sections.txt:
41         Add gst_query_new_seeking and gst_query_parse_seeking to the
42         docs.
43
44 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
45
46         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
47           Treat a pad alloc with new caps the same as if we were not
48           negotiated, in order to allow a changing upstream output
49           to produce a new format of data.
50
51 2005-11-29  Edward Hervey  <edward@fluendo.com>
52
53         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
54         (gst_base_transform_event), (gst_base_transform_eventfunc):
55         The event virtual method is now properly implemented, with a default
56         handler
57         Sub classes should call the parent_class event method. They should
58         return FALSE if they had a problem handling the given event, or don't
59         want GstBaseTransform to send that even downstream
60         * gst/elements/gstidentity.c: (gst_identity_class_init),
61         (gst_identity_init), (gst_identity_event),
62         (gst_identity_transform_ip), (gst_identity_set_property),
63         (gst_identity_get_property):
64         * gst/elements/gstidentity.h:
65         Added the single-segment boolean property.
66         If set to TRUE, it will output a single segment of data, starting from
67         0, will eat up all incoming newsegment, and modify the timestamp of the
68         buffers accordingly
69
70 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
71
72         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
73           Don't ref NULL target pad (#322751). Improve docs.
74
75 2005-11-29  Michael Smith  <msmith@fluendo.com>
76
77         * gst/gstregistryxml.c: (load_plugin):
78           Don't crash if we failed to load a feature from a plugin. 
79
80 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
81
82         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
83         (GST_START_TEST):
84           use more check API and less GLib API
85
86 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
87
88         * Makefile.am:
89           don't run checks if we don't have check
90         * common/check.mak:
91           remove the registry when running make torture
92         * docs/gst/gstreamer-sections.txt:
93           remove second multiply
94         * gst/gstqueue.c: (gst_queue_loop):
95           fix a compile warning when disabling debug
96
97 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
98
99         * gst/gstinfo.h:
100         Hey! Let's print the pad name if the pointer != NULL instead
101         of when it == NULL :-)
102
103 2005-11-28  Wim Taymans  <wim@fluendo.com>
104
105         * check/gst/gstutils.c: (GST_START_TEST):
106         Updated check, add some scaling accuracy checking code.
107
108         * gst/gstutils.c: (gst_util_div128_64),
109         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
110         (gst_util_uint64_scale_int):
111         Fix 6 times faster division code. Optimize for common 
112         1/1 and less common X/1 cases.
113
114 2005-11-28  Wim Taymans  <wim@fluendo.com>
115
116         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
117         More checks.
118
119         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
120         (do_linear_regression), (gst_clock_add_observation):
121         Cleanups.
122         Release lock when the clock cannot be slaved.
123         Catch the case where the regression returned an invalid denominator.
124
125         * gst/gstutils.c: (gst_util_div128_64_iterate),
126         (gst_util_div128_64), (gst_util_uint64_scale_int64),
127         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
128         Add protentially more performant non-iterative 128/64 divide function
129         that unfortunatly does not work yet.
130         Shortcut the trivial 0/X = 0 case.
131         Remove the warnings on overflow.
132
133 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
134
135         * gst/gstplugin.c: (gst_plugin_register_func):
136           everything causing a plugin not to load should be at least a WARNING
137
138 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
139
140         * docs/random/ensonic/dparams.txt:
141           some TODOs for the next dev cycle
142         * libs/gst/controller/gstcontroller.c:
143         (gst_controlled_property_set_interpolation_mode),
144         (gst_controlled_property_new):
145         * libs/gst/controller/gstcontroller.h:
146           use base type to assign acccessor functions
147
148 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
149
150         * check/Makefile.am:
151         Oops, that should have been top_srcdir
152
153 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
154
155         * check/Makefile.am:
156         * check/elements/fdsrc.c: (GST_START_TEST):
157         Use a cmdline define to specify the location of a file to use for
158         testing, to avoid breaking distcheck.
159
160 2005-11-28  Andy Wingo  <wingo@pobox.com>
161
162         * gst/gstpad.c (fixate_value): Use array functions for arrays.
163
164 2005-11-28  Edward Hervey  <edward@fluendo.com>
165
166         * tools/gst-launch.c: (main):
167         Clarify the output strings, makes it easier to translate.
168         Fixes #322626
169
170 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
171
172         * gst/Makefile.am:
173           don't try and build net if we don't even have <sys/socket.h>
174
175 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
176
177         * check/Makefile.am:
178         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
179         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
180           Add tests for fdsrc seekability
181
182         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
183         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
184         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
185         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
186         * gst/elements/gstfdsrc.h:
187           fdsrc should not be a 'live' source.
188           Implement seeking on seekable fd's.
189
190         * gst/gstquery.c: (gst_query_new_seeking),
191         (gst_query_parse_seeking):
192         * gst/gstquery.h:
193           Implement SEEKING query functions: 
194             *_new_seeking and *_parse_seeking
195
196 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
197
198         * gst/gstelement.c: (gst_element_dispose):
199           don't loop forever
200
201         * gst/gstiterator.c:
202         * gst/gststructure.c:
203           doc fixes
204
205         * libs/gst/controller/gstcontroller.c:
206         (gst_controlled_property_set_interpolation_mode):
207         * libs/gst/controller/gstcontroller.h:
208         * libs/gst/controller/gstinterpolation.c:
209         (interpolate_none_get_enum_value_array):
210           support controlling enums
211
212 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
213
214         * gst/gstvalue.c:
215           Improve documentation for gst_value_union().
216
217         * gst/gstvalue.h:
218           Change return value for union, intersect and subtract functions
219           from gint to gboolean.
220
221 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
222
223         * gst/gstvalue.c: (gst_value_serialize_any_list),
224         (gst_value_transform_any_list_string),
225         (gst_value_deserialize_list), (gst_value_deserialize_array),
226         (gst_value_set_int_range), (gst_value_deserialize_int_range),
227         (gst_value_set_double_range), (gst_value_deserialize_double_range),
228         (gst_value_set_fraction_range_full),
229         (gst_value_deserialize_fraction_range),
230         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
231         (gst_value_deserialize_boolean),
232         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
233         (gst_value_serialize_float), (gst_value_deserialize_float),
234         (gst_string_wrap), (gst_value_deserialize_string),
235         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
236         (gst_value_union_int_range_int_range),
237         (gst_value_intersect_int_range_int_range),
238         (gst_value_intersect_double_range_double_range),
239         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
240         (gst_value_subtract_int_range_int_range),
241         (gst_value_subtract_double_double_range),
242         (gst_value_subtract_double_range_double_range),
243         (gst_value_deserialize_fraction):
244         * gst/gstvalue.h:
245           Use gint, gdouble and gchar in our API instead of int, double and
246           char (and make usage in gstvalue.c more consistent).
247
248 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
249
250         * check/Makefile.am:
251         * libs/gst/controller/Makefile.am:
252         * libs/gst/dataprotocol/Makefile.am:
253           fix up Makefile.am and remove GST_ENABLE_NEW
254
255 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
256
257         * configure.ac:
258         * gst/Makefile.am:
259         * gst/base/Makefile.am:
260         * gst/check/Makefile.am:
261         * gst/elements/Makefile.am:
262         * gst/net/Makefile.am:
263           update LDFLAGS use some more
264
265 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
266
267         * common/m4/gst-doc.m4:
268           Fixes #312589
269
270 2005-11-26  Edward Hervey  <edward@fluendo.com>
271
272         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
273         This shouldn't issue a g_warning since it returns NULL if it
274         couldn't find the plugin, and all functions using this behave
275         properly on a NULL return. Switching to a GST_WARNING.
276
277 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
278
279         * gst/gstbin.c: (gst_bin_handle_message_func):
280         Don't leak clock messages.
281
282 2005-11-25  Wim Taymans  <wim@fluendo.com>
283
284         * gst/gstutils.c: (gst_util_uint64_scale_int64),
285         (gst_util_uint64_scale_int):
286         Optimisations, remove unneeded vars.
287
288 2005-11-25  Wim Taymans  <wim@fluendo.com>
289
290         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
291         Added more checks for the high precision uint64 cases.
292
293         * gst/gstutils.c: (gst_util_uint64_scale_int64),
294         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
295         Implement high precission (guint64 * guint64) / guint64.
296
297 2005-11-24  Wim Taymans  <wim@fluendo.com>
298
299         * gst/base/gstbasesrc.c: (gst_base_src_query):
300         Fix wrong percentage query.
301
302         * gst/gstutils.c: (gst_util_uint64_scale),
303         (gst_util_uint64_scale_int):
304         Add some more common cases that can be handled 
305         efficiently to _scale.
306
307 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
308
309         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
310         (gst_mini_object_suite):
311           don't use check calls from threads; check probably isn't
312           threadsafe and using a lock to make it threadsafe would
313           defeat the purpose of this check
314         * gst/check/gstcheck.c:
315         * gst/check/gstcheck.h:
316           use GST_DEBUG some more
317
318 2005-11-24  Wim Taymans  <wim@fluendo.com>
319
320         * gst/gstutils.c: (gst_util_uint64_scale),
321         (gst_util_uint64_scale_int):
322         Chain trivial case to _scale_int.
323
324 2005-11-24  Wim Taymans  <wim@fluendo.com>
325
326         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
327         Added test for scaling.
328
329         * gst/gstclock.h:
330         Small doc fix.
331
332         * gst/gstutils.c: (gst_util_uint64_scale_int):
333         Implemented high precision scaling code.
334
335 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
336
337         * gst/gstinfo.h:
338           do not crash on pad==NULL
339
340 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
341
342         Patch by: Stefan Kost
343
344         * common/gtk-doc.mak:
345         * docs/gst/Makefile.am:
346         * docs/libs/Makefile.am:
347           Fix distcheck issues for the libraries docs build
348           Closes #319599.
349
350 2005-11-24  Michael Smith <msmith@fluendo.com>
351
352         * docs/manual/basics-helloworld.xml:
353           Fix bug #315027: memory leak in example code in docs.
354
355 2005-11-24  Michael Smith <msmith@fluendo.com>
356
357         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
358           Unlock the PREROLL_LOCK in a failure case.
359
360 2005-11-24  Wim Taymans  <wim@fluendo.com>
361
362         * docs/gst/gstreamer-sections.txt:
363         * gst/base/gstadapter.h:
364         * gst/base/gstbasesink.h:
365         * gst/base/gstbasesrc.h:
366         * gst/base/gstbasetransform.h:
367         * gst/base/gstpushsrc.h:
368         * gst/elements/gstfakesink.h:
369         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
370         * gst/elements/gstfakesrc.h:
371         * gst/elements/gstfilesink.h:
372         * gst/elements/gstfilesrc.h:
373         * gst/gst.c:
374         * gst/gstbin.c:
375         * gst/gstbuffer.c: (_gst_buffer_copy):
376         * gst/gstbus.h:
377         * gst/gstcaps.c:
378         * gst/gstchildproxy.c:
379         * gst/gstclock.c:
380         * gst/gstelement.c:
381         * gst/gstelementfactory.c:
382         * gst/gstelementfactory.h:
383         * gst/gstevent.c:
384         * gst/gstghostpad.h:
385         * gst/gstindex.h:
386         * gst/gstinterface.h:
387         * gst/gstminiobject.c:
388         * gst/gstminiobject.h:
389         * gst/gstpad.c:
390         * gst/gstpad.h:
391         * gst/gstpadtemplate.h:
392         * gst/gstpipeline.h:
393         * gst/gstpluginfeature.h:
394         * gst/gstquery.h:
395         * gst/gstqueue.h:
396         * gst/gsttaglist.c:
397         * gst/gsttaglist.h:
398         * gst/gsttagsetter.c:
399         * gst/gsttagsetter.h:
400         * gst/gsttrace.c:
401         * gst/gsttrace.h:
402         * gst/gsttypefind.h:
403         * gst/gsturi.h:
404         * gst/gstvalue.c:
405         * gst/net/gstnetclientclock.c:
406         * gst/net/gstnetclientclock.h:
407         * gst/net/gstnettimepacket.c:
408         * gst/net/gstnettimeprovider.c:
409         * gst/net/gstnettimeprovider.h:
410         Doc fixes.
411
412 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
413
414         * configure.ac: back to HEAD
415
416 === release 0.9.6 ===
417
418 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
419
420         * configure.ac:
421           releasing 0.9.6, "Always On Time"
422
423 2005-11-23  Wim Taymans  <wim@fluendo.com>
424
425         * docs/gst/gstreamer-sections.txt:
426         * gst/glib-compat.c:
427         * gst/gsttagsetter.c:
428         * gst/gstvalue.c:
429         * gst/net/gstnetclientclock.c:
430         * gst/net/gstnettimepacket.h:
431         Doc updates.
432
433 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
434
435         * docs/faq/using.xml:
436         * docs/libs/tmpl/gstcontrol.sgml:
437         * docs/manual/advanced-dparams.xml:
438         * docs/manual/appendix-checklist.xml:
439         * docs/manual/basics-elements.xml:
440         * docs/pwg/other-source.xml:
441         * docs/random/moving-plugins:
442         * gst/gstpad.c:
443         * tools/gst-launch.1.in:
444           remove mentions of sinesrc
445
446 2005-11-23  Michael Smith <msmith@fluendo.com>
447
448         * docs/gst/gstreamer-sections.txt:
449           Update for new API and API changes.
450         * gst/gstobject.h:
451           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
452         * gst/gstvalue.c:
453           Documentation typo fix.
454         * gst/net/gstnettimepacket.c:
455           Documentation fixes for arguments.
456
457 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
458
459         * gst/gststructure.c: (gst_structure_get_fraction),
460         (gst_structure_parse_value),
461         (gst_structure_fixate_field_nearest_fraction):
462         * gst/gststructure.h:
463         * gst/gstutils.c: (gst_util_uint64_scale_int):
464         * gst/gstutils.h:
465         * scripts/update-funcnames:
466         API Changes. 
467         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
468         Make gst_structure_fixate_field_nearest_fraction take a numerator
469         and denominator argument instead of a GValue
470         add gst_structure_get_fraction helper function.
471
472 2005-11-23  Wim Taymans  <wim@fluendo.com>
473
474         * docs/design/part-TODO.txt:
475         Update TODO.
476
477         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
478         * gst/net/gstnetclientclock.h:
479         Use parent fields for timeout and window_size.
480
481 2005-11-23  Andy Wingo  <wingo@pobox.com>
482
483         * check/net/gstnetclientclock.c (test_functioning): Adjust to
484         rate_num/rate_denom change.
485
486         * gst/net/gstnetclientclock.c
487         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
488         OBJECT_LOCK. Don't call add_observation with the lock.
489
490         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
491         fraction.
492         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
493         rate fraction.
494         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
495         deal with rate as a fraction whose numerator and denominator are
496         GstClockTime values.
497         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
498         master; the other fields are protected by the SLAVE_LOCK.
499         (do_linear_regression): Note that this must be called with the
500         SLAVE_LOCK.
501         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
502         OBJECT_LOCK. Call set_calibration instead of touching the
503         variables directly.
504         (gst_clock_set_property, gst_clock_get_property): Protect
505         master/slave parameters with the SLAVE_LOCK.
506
507         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
508         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
509         note that all of the instance variables that add_observation and
510         the set_master functions use are protected by that lock and not
511         the OBJECT_LOCK.
512         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
513
514         * gst/gstclock.c (gst_clock_add_observation): No longer requires
515         the caller to take the object lock.
516
517 2005-11-23  Wim Taymans  <wim@fluendo.com>
518
519         * gst/gsterror.c: (_gst_core_errors_init):
520         * gst/gsterror.h:
521         Add error for clock stuff.
522
523         * gst/gstpipeline.c: (gst_pipeline_change_state),
524         (gst_pipeline_set_clock):
525         Post clock error when clock cannot be used in a pipeline.
526
527 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
528
529         * docs/gst/gstreamer-sections.txt:
530           make two symbols from gstinfo private for the docs
531         * gst/base/gstcollectpads.h:
532         * gst/gstutils.c:
533           fix doc typos, update docs
534
535 2005-11-22  Wim Taymans  <wim@fluendo.com>
536
537         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
538         (gst_base_sink_wait), (gst_base_sink_do_sync),
539         (gst_base_sink_handle_event):
540         * gst/base/gstbasesink.h:
541         No need to store the clock, the parent element class already
542         has it.
543
544         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
545         Updates for clock_set returning a gboolean
546
547         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
548         (gst_clock_id_wait_async), (gst_clock_class_init),
549         (gst_clock_init), (gst_clock_finalize),
550         (gst_clock_get_internal_time), (gst_clock_get_time),
551         (gst_clock_slave_callback), (gst_clock_set_master),
552         (gst_clock_get_master), (do_linear_regression),
553         (gst_clock_add_observation), (gst_clock_set_property),
554         (gst_clock_get_property):
555         * gst/gstclock.h:
556         Implement master/slave. When setting a clock as a slave, a
557         periodic timeout is scheduled to sample master and slave times.
558         Then the slave clock is recalibrated to match offset and rate
559         of the master clock.
560         Update logging a bit.
561         Add flag so that a clock can state that is cannot be slaved to
562         another clock.
563
564         * gst/gstelement.c: (gst_element_set_clock):
565         * gst/gstelement.h:
566         The set clock returns a gboolean for when an element cannot
567         deal with the selected clock in the pipeline. 
568
569         * gst/gstpipeline.c: (gst_pipeline_change_state),
570         (gst_pipeline_set_clock):
571         * gst/gstpipeline.h:
572         Handle the case where the selected clock cannot be set on
573         the pipeline.
574
575         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
576         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
577         (gst_net_client_clock_set_property),
578         (gst_net_client_clock_get_property),
579         (gst_net_client_clock_observe_times):
580         * gst/net/gstnetclientclock.h:
581         Use regression code in GstClock parent, remove duplicated
582         functionality.
583
584 2005-11-22  Michael Smith <msmith@fluendo.com>
585
586         * gst/gstutils.c: (gst_util_clock_time_scale):
587         * gst/gstutils.h:
588         * docs/gst/gstreamer-sections.txt:
589           Rename method to have extra underscore.
590
591 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
592
593         * gst/elements/Makefile.am:
594         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
595         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
596         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
597         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
598         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
599         * gst/elements/gstfakesrc.h:
600         * gst/gstqueue.c: (queue_leaky_get_type):
601           correctly fix GEnumValues so that nick is the short lowercase
602           dashed tag
603         * tools/gst-inspect.c: (print_element_properties_info):
604           also show the nick, since it's useful to use from parse_launch
605           syntax
606           Fixes #322139
607
608 2005-11-22  Michael Smith <msmith@fluendo.com>
609
610         * gst/gstutils.c: (gst_util_clocktime_scale):
611         * gst/gstutils.h:
612         * docs/gst/gstreamer-sections.txt:
613           Add util method for scaling a clocktime by a fraction. Useful 
614           implementation is left as an exercise for the reader.
615
616 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
617
618         * gst/gstvalue.c: (gst_value_collect_fraction_range):
619         If needed, allocate storage in the destination value during
620         collection.
621
622 2005-11-22  Edward Hervey  <edward@fluendo.com>
623
624         * docs/gst/gstreamer-sections.txt:
625         * gst/Makefile.am:
626         * gst/gst.h:
627         * gst/gsturitype.c:
628         * gst/gsturitype.h:
629         * gst/gstutils.c: (gst_util_set_object_arg):
630         * tools/gst-compprep.c: (main):
631         * tools/gst-inspect.c: (print_element_properties_info):
632         Removed GstURI, closes bug #321061
633
634 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
635
636         * check/gst/gststructure.c: (GST_START_TEST):
637         * gst/gststructure.c: (gst_structure_parse_value):
638           Oops, broke automatic string type parsing.
639           Add a test to catch it in future.
640
641 2005-11-22  Andy Wingo  <wingo@pobox.com>
642
643         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
644         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
645         Actually rename the function implementations. Grr.
646
647 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
648
649         * check/gst/capslist.h:
650           Comment test cases
651         * check/gst/gststructure.c: (GST_START_TEST),
652         (gst_structure_suite):
653           Test automatic value type detection in gst_structure_from_string.
654         * gst/gststructure.c: (gst_structure_parse_value):
655           Add fraction as a type we try and guess automatically in
656           caps/structure strings.
657
658 2005-11-22  Andy Wingo  <wingo@pobox.com>
659
660         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
661
662         * gst/gsttagsetter.h:
663         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
664         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
665         (gst_tag_setter_add_tag_valist)
666         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
667         _add_values, _add_valist, and _add_valist_values. Since this is an
668         interface the function suffixes should be more explicit so
669         language binding don't end up with element.add_valist ->
670         gst_tag_setter_add_valist, for example. Fixes #322069.
671
672 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
673
674         * check/gst/gstcaps.c: (GST_START_TEST):
675           Extend caps string tests to check that a caps to string
676           conversion is reversible and produces the same caps.
677
678         * gst/gststructure.c: (gst_structure_value_get_generic_type):
679           Output "fraction" as the generic type fraction range, so caps
680           serialisation and deserialisation works.
681         * check/gst/capslist.h:
682         * gst/gstvalue.c: (gst_value_deserialize_fraction):
683           Support 'MIN' and 'MAX' for deserialising fractions.
684
685 2005-11-22  Andy Wingo  <wingo@pobox.com>
686
687         * gst/gstevent.h (gst_event_new_new_segment)
688         (gst_event_parse_new_segment, gst_event_new_buffer_size)
689         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
690         Renamed from *_newsegment, *_buffersize, *_notarget.
691
692         * scripts/update-funcnames: New script, performs the changes
693         listed above.
694
695 2005-11-22  Wim Taymans  <wim@fluendo.com>
696
697         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
698         Make sure the GstFlowReturn is returned.
699
700         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
701         (gst_bus_add_signal_watch):
702         * gst/gstbus.h:
703         add gst_bus_add_signal_watch_full.
704
705         * gst/gstplugin.c: (gst_plugin_load_file):
706         Small style cleanup.
707
708 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
709
710         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
711           Block the fakesrc srcpad when we send an event, to avoid
712           contention on the stream_lock causing random test failures.
713
714 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
715
716         * check/gst/gstvalue.c: (GST_START_TEST):
717         * gst/gstvalue.c: (gst_value_fraction_subtract):
718           Fix subtraction.
719
720 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
721
722         * gst/gst.h:
723           include "gstchildproxy.h"
724         * gst/gstchildproxy.h:
725         * libs/gst/controller/gstcontroller.h:
726           use G_GNUC_NULL_TERMINATED
727
728 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
729
730         * check/gst/capslist.h:
731         * check/gst/gstcaps.c: (GST_START_TEST):
732         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
733         * gst/gststructure.c: (gst_structure_parse_range),
734         (gst_structure_fixate_field_nearest_fraction):
735         * gst/gststructure.h:
736         * gst/gstvalue.c: (gst_value_init_fraction_range),
737         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
738         (gst_value_collect_fraction_range),
739         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
740         (gst_value_set_fraction_range_full),
741         (gst_value_get_fraction_range_min),
742         (gst_value_get_fraction_range_max),
743         (gst_value_serialize_fraction_range),
744         (gst_value_transform_fraction_range_string),
745         (gst_value_compare_fraction_range),
746         (gst_value_deserialize_fraction_range),
747         (gst_value_intersect_fraction_fraction_range),
748         (gst_value_intersect_fraction_range_fraction_range),
749         (gst_value_subtract_fraction_fraction_range),
750         (gst_value_subtract_fraction_range_fraction),
751         (gst_value_subtract_fraction_range_fraction_range),
752         (gst_value_collect_fraction), (gst_value_fraction_multiply),
753         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
754         (gst_value_transform_string_fraction), (_gst_value_initialize):
755         * gst/gstvalue.h:
756           Implement fraction ranges and extend GstFraction to support
757           arithmetic subtraction, as well as deserialization from integer
758           strings such as "100"
759           Add a testsuite as for int and double range set operations
760
761 2005-11-21  Andy Wingo  <wingo@pobox.com>
762
763         * gst/gsttaglist.h: 
764         * gst/gstcaps.h: 
765         * gst/gststructure.h: Add glib-compat.h.
766
767 2005-11-21  Wim Taymans  <wim@fluendo.com>
768
769         * gst/gstbin.c: (gst_bin_change_state_func):
770         Fix for #321595
771
772 2005-11-21  Wim Taymans  <wim@fluendo.com>
773
774         * gst/gstsegment.h:
775         And add a nice define too.
776
777 2005-11-21  Wim Taymans  <wim@fluendo.com>
778
779         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
780         (gst_segment_new), (gst_segment_free), (gst_segment_init),
781         (gst_segment_set_duration), (gst_segment_set_last_stop),
782         (gst_segment_set_seek), (gst_segment_set_newsegment),
783         (gst_segment_to_stream_time), (gst_segment_to_running_time),
784         (gst_segment_clip):
785         * gst/gstsegment.h:
786         Make binding friendly.
787
788 2005-11-21  Andy Wingo  <wingo@pobox.com>
789
790         * gst/gsttagsetter.h: 
791         * gst/gsttaglist.h: 
792         * gst/gststructure.h: 
793         * gst/gstcaps.h: 
794         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
795         #319940.
796
797         * gst/gsterror.c (_gst_core_errors_init):
798         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
799         category.
800
801         * gst/Makefile.am (gst_headers): Add glib-compat.h.
802         (noinst_HEADERS): noinst the -private.
803
804 2005-11-21  Michael Smith <msmith@fluendo.com>
805
806         * gst/gstplugin.h:
807         * gst/gstregistry.h:
808           Remove unimplemented declarations for which we can see no sensible
809           use.
810
811 2005-11-21  Andy Wingo  <wingo@pobox.com>
812
813         * gst/gst.h: Include glib-compat.h.
814
815         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
816
817         * gst/glib-compat.c: Include the public and the private header.
818
819         * gst/glib-compat-private.h: Copied here from glib-compat.h.
820
821         * gst/gstvalue.c: 
822         * gst/gstpad.c: 
823         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
824
825         * check/gst/gstevent.c (create_custom_events): Check that
826         FLUSH_STOP is serialized.
827
828         * check/elements/identity.c (event_func): 
829         * check/elements/fakesrc.c (event_func): No stream lock, the core
830         takes it.
831
832         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
833         stream lock taking, yay.
834
835         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
836         ensure that core takes the stream lock.
837
838         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
839         lock name change.
840
841         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
842         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
843         it already. For the flush start we do take it though so we get the
844         right preroll state change messages.
845
846         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
847         the stream lock here, the core does it for us.
848
849         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
850         GST_STREAM_GET_LOCK.
851         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
852         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
853         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
854         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
855         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
856         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
857
858         * gst/gstpad.c: Update for stream lock name change.
859
860         * gst/base/gstbasesink.c: Update for preroll lock name change.
861
862 2005-11-21  Wim Taymans  <wim@fluendo.com>
863
864         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
865         (gst_clock_get_master):
866         * gst/gstclock.h:
867         * gst/gstsystemclock.c: (gst_system_clock_init):
868         Convert Clock flags to object flags.
869         Added methods to manage master/slave clocks.
870
871 2005-11-21  Wim Taymans  <wim@fluendo.com>
872
873         * check/gst/gstsegment.c: (GST_START_TEST):
874         * docs/design/part-TODO.txt:
875         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
876         (gst_base_sink_event), (gst_base_sink_do_sync),
877         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
878         (gst_base_sink_query), (gst_base_sink_change_state):
879         * gst/base/gstbasesink.h:
880         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
881         (gst_base_src_default_newsegment),
882         (gst_base_src_configure_segment), (gst_base_src_do_seek),
883         (gst_base_src_get_range), (gst_base_src_loop),
884         (gst_base_src_change_state):
885         * gst/base/gstbasesrc.h:
886         * gst/base/gstbasetransform.c:
887         (gst_base_transform_prepare_output_buf),
888         (gst_base_transform_event), (gst_base_transform_change_state):
889         * gst/base/gstbasetransform.h:
890         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
891         (gst_collect_pads_event):
892         * gst/base/gstcollectpads.h:
893         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
894         (gst_fake_src_create):
895         * gst/elements/gstfakesrc.h:
896         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
897         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
898         (gst_segment_set_last_stop), (gst_segment_set_seek),
899         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
900         (gst_segment_to_running_time), (gst_segment_clip):
901         * gst/gstsegment.h:
902         More segment updates, replace code in plugins with segment
903         helper functions.
904
905 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
906
907         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
908         Don't ignore sscanf results
909
910 2005-11-21  Andy Wingo  <wingo@pobox.com>
911
912         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
913
914         * *.h:
915         * *.c: Ran scripts/update-macros. Oh yes.
916
917         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
918         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
919         GST_GET_LOCK, etc.
920
921         * scripts/update-macros: New script. Run it on your files to
922         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
923         well.
924
925 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
926
927         * docs/gst/Makefile.am:
928         * docs/gst/gstreamer-docs.sgml:
929         * docs/gst/gstreamer-sections.txt:
930         * docs/gst/gstreamer.types:
931         * gst/gstinfo.h:
932           more docs fixes, add new api to the docs
933
934 2005-11-21  Andy Wingo  <wingo@pobox.com>
935
936         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
937         state_broadcast call.
938
939         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
940
941 2005-11-21  Julien MOUTTE  <julien@moutte.net>
942
943         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
944         function calls for arrays.
945
946 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
947
948         * docs/random/ensonic/media-device-daemon.txt:
949           wild idea, can this be done?
950         * docs/gst/gstreamer-sections.txt:
951         * gst/gsterror.h:
952         * gst/gstfilter.c:
953         * gst/gstfilter.h:
954         * gst/gstplugin.h:
955         * gst/gstpluginfeature.c:
956         * gst/gsttrace.c:
957         * gst/gstvalue.c:
958         * gst/gstvalue.h:
959           doc fixes and additions
960
961 2005-11-21  Andy Wingo  <wingo@pobox.com>
962
963         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
964         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
965         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
966         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
967         private to the basesrc implementation.
968
969         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
970         behalf of event function if necessary. It should no longer be
971         necessary to take the stream lock in pad's event functions. Fixes
972         #320299.
973
974 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
975         * docs/gst/gstreamer-sections.txt:
976         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
977         (gst_structure_fixate_field_nearest_double),
978         (gst_structure_fixate_field_boolean):
979         * gst/gststructure.h:
980         * win32/common/libgstreamer.def:
981         * win32/gstreamer.def:
982
983         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
984         (#322027)
985
986 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
987
988         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
989         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
990         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
991         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
992         (gst_fdsrc_uri_handler_init):
993         * gst/elements/gstfdsrc.h:
994           Port fd:// URI handler from 0.8 to fdsrc
995
996 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
997
998         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
999         (gst_value_serialize_fourcc):
1000         * gst/gstvalue.h:
1001           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1002           consistent with our other format defines (#320324).
1003
1004 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1005
1006         * gst/gstvalue.c: (gst_value_is_fixed):
1007           Revert previous commit. Value lists are by definition
1008           not fixed, as they are a list of possible values.
1009
1010 2005-11-21  Andy Wingo  <wingo@pobox.com>
1011
1012         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1013         during the stable series if we need it. Fixes #319178.
1014
1015         * gst/gstevent.c (gst_event_new_filler): Removed.
1016
1017         * check/gst/gstevent.c: Update comment about filler events.
1018
1019 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1020
1021         * gst/gstvalue.c: (gst_value_is_fixed):
1022           Should handle both value arrays and value lists.
1023
1024 2005-11-21  Andy Wingo  <wingo@pobox.com>
1025
1026         patch by: Alessandro Dessina <alessandro nnva org>
1027
1028         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1029         functions to access arrays. Fixes #321962.
1030
1031 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1032
1033         * docs/gst/gstreamer.types:
1034           gst_collectpads_get_type => gst_collect_pads_get_type.
1035           
1036         * gst/base/gstbasetransform.c:
1037           Remove unused SIGNAL_HANDOFF enum.
1038
1039 2005-11-21  Andy Wingo  <wingo@pobox.com>
1040
1041         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1042         the event type (upstream, downstream, serialized). Renamed
1043         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1044         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1045         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1046
1047         * gst/gstevent.c: Update for new CUSTOM event names.
1048
1049         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1050
1051         * gst/gstevent.h:
1052         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1053         bug #319392.
1054
1055 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1056
1057         * docs/gst/gstreamer-sections.txt:
1058         * win32/common/libgstbase.def:
1059         * win32/libgstbase.def:
1060         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1061         (gst_collect_pads_class_init), (gst_collect_pads_init),
1062         (gst_collect_pads_finalize), (gst_collect_pads_new),
1063         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1064         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1065         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1066         (gst_collect_pads_start), (gst_collect_pads_stop),
1067         (gst_collect_pads_peek), (gst_collect_pads_pop),
1068         (gst_collect_pads_available), (gst_collect_pads_read),
1069         (gst_collect_pads_flush), (gst_collect_pads_event),
1070         (gst_collect_pads_chain):
1071         * gst/base/gstcollectpads.h:
1072           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1073           unimplemented functions as unimplemented. Add padding to
1074           GstCollectData. (#320766, #320423)
1075
1076 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1077
1078         * gst/gstmessage.c:
1079           Improve docs for DURATION message (usage of duration parameter)
1080           (#320113)
1081
1082 2005-11-20  Wim Taymans  <wim@fluendo.com>
1083
1084         * check/Makefile.am:
1085         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1086         (main):
1087         * gst/Makefile.am:
1088         * gst/gst.h:
1089         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1090         (gst_segment_set_seek), (gst_segment_set_newsegment),
1091         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1092         (gst_segment_clip):
1093         * gst/gstsegment.h:
1094         Added segment helper structure and methods. Not fully implemented
1095         yet.
1096         Added segment check.
1097
1098 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1099
1100         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1101           Add a deserialisation test for fractions
1102         * examples/metadata/read-metadata.c: (message_loop),
1103         (make_pipeline), (main):
1104           Fix up metadata reading sample.
1105         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1106           Debug format fix
1107         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1108           Don't try and fixate empty caps
1109         * gst/gst_private.h:
1110           Wrap in G_BEGIN_DECLS/G_END_DECLS
1111         * gst/gstvalue.c: (gst_value_collect_fraction),
1112         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1113         (gst_value_transform_string_fraction),
1114         (gst_value_compare_fraction):
1115           Add some extra guards to ensure that we don't end up 
1116           with an invalid denominator of 0 in a gstfraction and
1117           that fractions always get reduced.
1118
1119 2005-11-20  Wim Taymans  <wim@fluendo.com>
1120
1121         * docs/gst/gstreamer-sections.txt:
1122         * gst/gstbuffer.h:
1123         * gst/gstelement.c:
1124         * gst/gstformat.c:
1125         * gst/gstformat.h:
1126         * gst/gstindex.h:
1127         * gst/gstquery.c:
1128         * gst/gstquery.h:
1129         * gst/gstvalue.c:
1130         Doc fixes.
1131
1132 2005-11-20  Wim Taymans  <wim@fluendo.com>
1133
1134         * docs/design/part-TODO.txt:
1135         * gst/gstcaps.h:
1136         Make a proper enum of the flag.
1137
1138 2005-11-19  Wim Taymans  <wim@fluendo.com>
1139
1140         * docs/design/part-TODO.txt:
1141         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1142         (gst_format_to_quark), (gst_format_register):
1143         * gst/gstformat.h:
1144         * gst/gstquery.c: (_gst_query_initialize),
1145         (gst_query_type_get_name), (gst_query_type_to_quark),
1146         (gst_query_type_register):
1147         * gst/gstquery.h:
1148         Add type to quark and type to string conversions.
1149
1150 2005-11-19  Andy Wingo  <wingo@pobox.com>
1151
1152         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1153         #320097.
1154
1155 2005-11-19  Wim Taymans  <wim@fluendo.com>
1156
1157         * docs/design/part-TODO.txt:
1158         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1159         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1160         (gst_bin_handle_message_func):
1161         * gst/gstbin.h:
1162         Make message handling overridable.
1163
1164 2005-11-19  Andy Wingo  <wingo@pobox.com>
1165
1166         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1167
1168         * gst/gstclock.h:
1169         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1170         be a GstClockTime.
1171         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1172         is a GstClockTime. Fixes #321710.
1173
1174         * gst/gstclock.h (GstClock): Remove offset property. Add
1175         internal_calibration and external_calibration. Fix padding. Pad
1176         also by GstClockTime so we don't run into problems.
1177
1178         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1179         (gst_clock_get_rate_offset): Remove.
1180         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1181
1182         * gst/gstutils.h:
1183         * gst/gstutils.c (g_static_rec_cond_wait)
1184         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1185
1186         * gst/gstbin.c: Remove terrible continue_state prototype.
1187
1188         * gst/gstelement.h (gst_element_continue_state): Make public.
1189
1190         * gst/gstelement.h:
1191         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1192         by continue_state. Fixes #319389.
1193
1194         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1195         Really fixes #168438. However I don't see anywhere where the
1196         filter function is called... stupid GStreamer...
1197         
1198         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1199         don't have a dispose function, so it won't get called when the
1200         object is unreffed, but oh well!
1201
1202         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1203         allows a destroy function to be set so user_data can be freed.
1204         Fixes #168438.
1205         (gst_index_set_filter): Call gst_index_set_filter_full.
1206
1207         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1208
1209         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1210         string should produce an error, given the lack of a way to
1211         represent NULL strings. Fixes #165650.
1212         
1213         * gst/gstvalue.h: 
1214         * gst/gstvalue.c (gst_value_array_append_value) 
1215         (gst_value_array_prepend_value, gst_value_array_get_size) 
1216         (gst_value_array_get_value): New API, copied from
1217         gst_value_list_*, only operates on arrays.
1218         (gst_value_list_append_value, gst_value_list_prepend_value) 
1219         (gst_value_list_concat, gst_value_list_get_size) 
1220         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1221
1222         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1223         init_list, because it works on both.
1224         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1225         (gst_value_copy_list_or_array): Renamed from copy_list.
1226         (gst_value_free_list_or_array): Renamed from free_list.
1227         (gst_value_collect_list_or_array): Renamed from collect_list.
1228         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1229         (gst_value_list_or_array_peek_pointer): Renamed from
1230         list_peek_pointer.
1231         (_gst_value_array_value_table, _gst_value_list_value_table):
1232         Update value table functions.
1233         (gst_value_compare_list_or_array): Renamed from compare_list.
1234
1235         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1236         some constness.
1237
1238         * gst/gsttaglist.c:
1239         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1240         GstTagList*. Fixes #143472.
1241
1242         * gst/gststructure.h: Clarify what the foreach/map functions can
1243         or can't do to their arguments.
1244
1245 2005-11-18  Wim Taymans  <wim@fluendo.com>
1246
1247         * gst/gstclock.c: (gst_clock_set_calibration),
1248         (gst_clock_get_calibration):
1249         Doc and API fixes.
1250         Calibration can be set with internal time equal to current
1251         internal time too.
1252
1253 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1254
1255         * gst/gsterror.c:
1256         * gst/gsterror.h:
1257           document
1258
1259 2005-11-18  Andy Wingo  <wingo@pobox.com>
1260
1261         * configure.ac: 
1262         * pkgconfig/gstreamer-net.pc.in:
1263         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1264         * pkgconfig/Makefile.am: Add net pkgconfig files.
1265
1266 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1267
1268         * gst/gstcaps.c:
1269         * gst/gstghostpad.c:
1270         * gst/gsttrace.c:
1271         * gst/gstvalue.c:
1272         * gst/gstvalue.h:
1273           docs fixes
1274
1275 2005-11-18  Andy Wingo  <wingo@pobox.com>
1276
1277         * gst/net/gstnetclientclock.c: Turn off debugging.
1278
1279         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1280         times connverge somewhat. Can't make a real test.
1281
1282         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1283         integer arithmetic. Return the minimum of the domain, which can be
1284         set as "internal" for gst_clock_set_calibration.
1285         (gst_net_client_clock_observe_times): Call _set_calibration.
1286         (gst_net_client_clock_new): Call _set_calibration instead of
1287         rate_offset.
1288
1289         * check/net/gstnetclientclock.c (test_functioning): Use the right
1290         adjustment api.
1291
1292         * gst/gstclock.h:
1293         * gst/gstclock.c (gst_clock_get_calibration) 
1294         (gst_clock_set_calibration): New functions, obsolete the ones I
1295         added yesterday. Doh. Precision issues mean we have to extrapolate
1296         from a point in the more recent past than 1970.
1297         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1298         obsolete.
1299         (gst_clock_adjust_unlocked): Use the right calibration data.
1300
1301 2005-11-18  Edward Hervey  <edward@fluendo.com>
1302
1303         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1304         Also reset the ->current_* values in READY->PAUSED
1305
1306 2005-11-18  Andy Wingo  <wingo@pobox.com>
1307
1308         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1309         Whoops, check the right fd. Also add some debugging.
1310         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1311         (do_linear_regression): Add a crapload of debugging. Subtract off
1312         the minimum values from the input series to discard unneeded bits.
1313         Use only int arithmetic. There is still double arithmetic when
1314         calculating the intercept that needs fixing. Return boolean to
1315         indicate success; FALSE would mean the domain or range is too
1316         great. Still needs fixes.
1317
1318 2005-11-18  Wim Taymans  <wim@fluendo.com>
1319
1320         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1321         For the current position in stream time, we need to subtract
1322         accumulated time.
1323         
1324         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1325         Release lock before calling the callback function of async
1326         entries.
1327
1328 2005-11-18  Andy Wingo  <wingo@pobox.com>
1329
1330         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1331         Port goes all the way to MAXUINT16.
1332
1333         * gst/net/gstnettimeprovider.c: Make the port range the same as
1334         for the kernel: 0 assigns, otherwise ports are less than
1335         MAXUINT16.
1336
1337         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1338         port change.
1339
1340         * check/net/gstnetclientclock.c (test_functioning): Add the start
1341         of another test. 
1342
1343 2005-11-18  Wim Taymans  <wim@fluendo.com>
1344
1345         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1346         (gst_bin_remove_func), (bin_bus_handler):
1347         * gst/gstbin.h:
1348         Removing a clock provider from a bin, triggers a clock lost message
1349         so that a new clock will be selected.
1350         Adding a clock to a bin triggers a clock provider message.
1351         Make sure we reselect a clock when we received a clock lost message.
1352         Keep a reference to the element that provided the clock.
1353
1354 2005-11-18  Andy Wingo  <wingo@pobox.com>
1355
1356         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1357         the clock initially so it produces values around the base time.
1358         (gst_net_client_clock_class_init): Typo fix.
1359         (gst_net_client_clock_thread): Add note on when the socket gets
1360         closed.
1361
1362 2005-11-17  Wim Taymans  <wim@fluendo.com>
1363
1364         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1365         Free remote and local time arrays.
1366
1367 2005-11-17  Wim Taymans  <wim@fluendo.com>
1368
1369         * gst/net/gstnetclientclock.c: (do_linear_regression),
1370         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1371         Fix compilation, uninitialized vars and a forgotten continue.
1372
1373 2005-11-17  Andy Wingo  <wingo@pobox.com>
1374
1375         * check/Makefile.am (check_PROGRAMS): 
1376         * check/net/gstnetclientclock.c: Add a most minimal test for the
1377         net client clock. More to come later.
1378
1379         * gst/net/gstnet.h: 
1380         * gst/net/Makefile.am: Add netclientclock.
1381
1382         * gst/net/gstnetclientclock.h:
1383         * gst/net/gstnetclientclock.c: New files, implement an untested
1384         GstClock that takes its time from a network time provider.
1385         Implements the algorithm in network-clock.scm.
1386
1387         * tests/network-clock.scm (*window-size*): Rename from
1388         *queue-length*.
1389         * tests/network-clock.scm (network-time): 
1390         * tests/network-clock-utils.scm (q-push): Update callers.
1391
1392 2005-11-17  Wim Taymans  <wim@fluendo.com>
1393
1394         * gst/gstbin.c: (gst_bin_provide_clock_func),
1395         (gst_bin_sort_iterator_new):
1396         And unref the child too..
1397
1398 2005-11-17  Wim Taymans  <wim@fluendo.com>
1399
1400         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1401         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1402         Refactor the sort iterator so it can be used while holding the
1403         LOCK too.
1404         Make clock selection select a clock closest to the source.
1405
1406 2005-11-17  Michael Smith <msmith@fluendo.com>
1407
1408         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1409         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1410         * gst/gstclock.h:
1411           Anonymous structs are a gcc (and some other compilers) extension, so
1412           don't use them. Since this is only for ABI-compatibility, and our
1413           API/ABI freeze is over in a few days, this whole thing will only
1414           last a few days, so don't bother trying to think up a meaningful
1415           name for the struct.
1416
1417 2005-11-17  Andy Wingo  <wingo@pobox.com>
1418
1419         * gst/gstclock.h (GstClock): Add rate and offset properties,
1420         preserving ABI stability. Add rate/offset accessors. Will file bug
1421         for the freeze break.
1422
1423         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1424         and offset, trying to keep precision and avoiding
1425         underflow/overflow.
1426         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1427         functions. Make gst_clock_set_time_adjust obsolete.
1428         (gst_clock_set_time_adjust): Note that this function is obsolete.
1429         Will file bug soon.
1430
1431         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1432         greppable by using GST_PADDING-1+1.
1433
1434 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1435
1436         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1437
1438         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1439           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1440
1441         * gst/gstpadtemplate.h:
1442         * gst/gstpluginfeature.h:
1443           Don't use c++ style comments in headers (#321638).
1444
1445 2005-11-16  Andy Wingo  <wingo@pobox.com>
1446
1447         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1448         buffer.
1449
1450         * check/net/gstnettimeprovider.c: Check to see that the time
1451         provider actually provides times. Works, yo!
1452
1453 2005-11-16  Wim Taymans  <wim@fluendo.com>
1454
1455         * check/Makefile.am:
1456         Enable more tests.
1457
1458         * check/elements/fakesrc.c: (GST_START_TEST):
1459         Set element to NULL before disposing it.
1460
1461 2005-11-16  Andy Wingo  <wingo@pobox.com>
1462
1463         * gst/net/Makefile.am:
1464         * gst/net/gstnet.h:
1465         * gst/net/gstnettimeprovider.c: 
1466         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1467         provider, include it from gstnet.h, and add it to the build.
1468
1469         * gst/net/gstnettimepacket.h: 
1470         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1471         sending and receiving.
1472
1473 2005-11-16  Wim Taymans  <wim@fluendo.com>
1474
1475         * check/Makefile.am:
1476         Enable valgrind check.
1477
1478         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1479         (gst_fake_src_alloc_buffer):
1480         Fix memleak.
1481
1482 2005-11-16  Wim Taymans  <wim@fluendo.com>
1483
1484         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1485         Call parent finalize too.
1486
1487 2005-11-16  Wim Taymans  <wim@fluendo.com>
1488
1489         * check/Makefile.am:
1490         Enable valgrind check that should work fine now.
1491
1492         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1493         * gst/gstqueue.c: (gst_queue_init):
1494         Fix memleaks in pad allocation.
1495
1496 2005-11-16  Andy Wingo  <wingo@pobox.com>
1497
1498         * gst/net/Makefile.am:
1499         * gst/net/gstnet.h: New part of core to hold network elements and
1500         objects. Put in core because it exposes API that applications want
1501         to use. The library is named libgstnet-tempname right now because
1502         of the existing libgstnet in gst-plugins-base. Solution is
1503         probably to rename the one in plugins-base; will file a bug for
1504         the freeze break.
1505
1506         * gst/net/gstnettimeprovider.c: 
1507         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1508         get_time call over the network.
1509
1510         * configure.ac: 
1511         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1512
1513         * check/Makefile.am:
1514         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1515         get additions shortly.
1516
1517 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1518
1519         * gst/gstpad.c: (gst_pad_new_from_static_template):
1520         * gst/gstpad.h:
1521           add gst_pad_new_from_static_template functions
1522         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1523         (gst_check_setup_sink_pad):
1524         * gst/elements/gsttee.c: (gst_tee_init):
1525           and use them
1526
1527 2005-11-16  Wim Taymans  <wim@fluendo.com>
1528
1529         * gst/gstpad.c: (gst_pad_pause_task):
1530         Removed warning, it's not really an error either.
1531
1532 2005-11-16  Wim Taymans  <wim@fluendo.com>
1533
1534         * gst/base/gstbasetransform.c:
1535         (gst_base_transform_prepare_output_buf),
1536         (gst_base_transform_event):
1537         Check if the caps are NULL, this can happen if the element
1538         is shutting down and the pad caps are set to NULL.
1539
1540 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1541
1542         * gst/elements/gsttee.c: (gst_tee_init):
1543           fix pad template leak in tee
1544
1545 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1546
1547         * gst/glib-compat.c: (g_value_dup_gst_object):
1548         * gst/glib-compat.h:
1549         * gst/gstpad.c: (gst_pad_set_property):
1550           use gst_object_ref when setting the pad template; this will
1551           trigger the pad template leaks on GLib 2.6 and the slaves
1552
1553 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1554
1555         * gst/glib-compat.c: (gst_flags_get_first_value):
1556         * gst/glib-compat.h:
1557         * gst/gstregistryxml.c:
1558           remove functions copied from GLib 2.6
1559
1560 2005-11-16  Michael Smith <msmith@fluendo.com>
1561
1562         * gst/Makefile.am:
1563           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1564           do, but only breaks with newer valgrind versions. We're not a
1565           valgrind tool, we have no link-time dependencies on libcoregrind.
1566
1567 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1568
1569         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1570           some debug changes
1571         * gst/gstmessage.h:
1572           typo fixes
1573
1574 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1575
1576         * gst/base/gstbasesrc.c: (gst_base_src_init):
1577         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1578         * gst/gstqueue.c: (gst_queue_init):
1579         * gst/gstregistryxml.c: (load_feature):
1580           Revert all these unrefs, they don't even pass make check !
1581
1582 2005-11-15  Johan Dahlin  <johan@gnome.org>
1583
1584         * gst/base/gstbasesrc.c: (gst_base_src_init):
1585         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1586         * gst/gstqueue.c: (gst_queue_init): 
1587         Free pad templates, fixes a couple of leaks.
1588
1589 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1590
1591         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1592
1593         * gst/gstpad.c: (gst_pad_get_property):
1594           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1595           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1596           (#321452)
1597
1598 2005-11-15  Wim Taymans  <wim@fluendo.com>
1599
1600         * gst/gstevent.c:
1601         Small doc update.
1602
1603 2005-11-15  Andy Wingo  <wingo@pobox.com>
1604
1605         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1606
1607         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1608         using GST_CLOCK_TIME_NONE to disable base time management.
1609         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1610         time if it was NONE before.
1611         (gst_pipeline_change_state): Only munge the base time if
1612         stream_time != GST_CLOCK_TIME_NONE.
1613
1614         * check/gst/gstpipeline.c (test_base_time): Punt around the
1615         problem of the probe not being called, because that's not the
1616         issue I'm looking at. Add a check that setting stream_time to NONE
1617         disables base time management.
1618         
1619 2005-11-15  Wim Taymans  <wim@fluendo.com>
1620
1621         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1622         segment_stop == -1 at startup.
1623
1624         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1625         (gst_base_transform_change_state):
1626         Init segment values at start.
1627
1628 2005-11-15  Wim Taymans  <wim@fluendo.com>
1629
1630         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1631         0 segment values are 0 in any format.
1632
1633         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1634         * gst/base/gstbasetransform.h:
1635         Parse newsegment correctly in basetransform
1636
1637         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1638         Sync to clock using updated segment values.
1639
1640 2005-11-15  Andy Wingo  <wingo@pobox.com>
1641
1642         * check/gst/gstpipeline.c (test_base_time): Add check that the
1643         base time and stream time are reset correctly.
1644
1645 2005-11-15  Wim Taymans  <wim@fluendo.com>
1646
1647         * docs/design/part-TODO.txt:
1648         Some more TODO items.
1649
1650 2005-11-15  Andy Wingo  <wingo@pobox.com>
1651
1652         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1653         error if the user selected "no clock" as the clocking method.
1654
1655         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1656         timestamps with live capture.
1657
1658         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1659         is 0 but we are a live source, timestamp the buffers using the
1660         element's clock.
1661
1662 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1663
1664         * docs/gst/gstreamer-sections.txt:
1665         * gst/gsterror.c:
1666         * gst/gstghostpad.c:
1667         * gst/gstobject.h:
1668         * gst/gstxml.c:
1669           more section docs
1670
1671 2005-11-14  Wim Taymans  <wim@fluendo.com>
1672
1673         * common/gst.supp:
1674           add suppressions from Wim's Debian machine
1675
1676 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1677
1678         * common/gst.supp:
1679           add suppressions from Andy's AMD64 Ubuntu machine
1680
1681 2005-11-14  Andy Wingo  <wingo@pobox.com>
1682
1683         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1684         STATE_LOCK not necessary. Fixes #311489.
1685
1686         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1687         #305291.
1688
1689         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1690         this function is not implemented.
1691
1692 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1693
1694         * gst/base/gstbasetransform.c:
1695         (gst_base_transform_prepare_output_buf):
1696         Ref the source pad caps while we need them.
1697         Fixes (#321386)
1698
1699 2005-11-11  Wim Taymans  <wim@fluendo.com>
1700
1701         * docs/gst/gstreamer-sections.txt:
1702         Added some docs for GstCollectData.
1703
1704         * gst/base/gstadapter.c:
1705         Some small code example fix.
1706
1707         * gst/base/gstcollectpads.c:
1708         * gst/base/gstcollectpads.h:
1709         Document some more.
1710
1711 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1712
1713         * configure.ac: back to HEAD
1714
1715 === release 0.9.5 ===
1716
1717 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
1718
1719         * configure.ac:
1720           releasing 0.9.5, "Bike Lunch Day"
1721
1722 2005-11-11  Wim Taymans  <wim@fluendo.com>
1723
1724         * gst/gstbuffer.c: (_gst_buffer_copy):
1725         Copy more flags.
1726
1727         * gst/gstcaps.c: (gst_caps_is_equal):
1728         Fix some docs.
1729         Make _is_equal fast in the trivial cases.
1730
1731         * gst/gstminiobject.c:
1732         * gst/gstminiobject.h:
1733         More docs. Spifify .h file.
1734
1735         * gst/gstutils.c:
1736         Small doc update.
1737
1738 2005-11-11  Wim Taymans  <wim@fluendo.com>
1739
1740         * gst/base/gstbasetransform.c:
1741         (gst_base_transform_prepare_output_buf),
1742         (gst_base_transform_handle_buffer):
1743         Small cleanups.
1744         If we're processing a buffer and need to allocate an output
1745         buffer, we cannot accept a format change. If we did get a 
1746         format change, we have to alloc a buffer ourselves of the 
1747         right size.
1748
1749 2005-11-11  Wim Taymans  <wim@fluendo.com>
1750
1751         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1752         While checking the flag for reentrancy in the gstcaps function
1753         is nice to detect recursive invocations, it also makes it 
1754         impossible to call getcaps from multiple threads, which must be
1755         possible. So, checking for recursive calls has to go.
1756
1757 2005-11-11  Michael Smith <msmith@fluendo.com>
1758
1759         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1760           Don't sync on buffers that fall partially outside our current
1761           segment. Prevents an assertion failure/abort playing some files.
1762
1763 2005-11-10  Andy Wingo  <wingo@pobox.com>
1764
1765         * check/gst/gstbin.c (test_message_state_changed_children): Style
1766         fix..
1767
1768         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1769         gst_bus_poll with the signal watch. Ensures that poll and a signal
1770         watch see the same messages.
1771
1772         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1773         a poll and a watch at the same time get the same messages.
1774
1775 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1776
1777         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1778         * gst/gstcaps.c: (gst_caps_intersect):
1779           Don't call gst_caps_do_simplify - it doesn't respect order of caps
1780           and it's not needed.
1781
1782 2005-11-10  Wim Taymans  <wim@fluendo.com>
1783
1784         * docs/design/part-TODO.txt:
1785         Updated todo.
1786
1787 2005-11-10  Wim Taymans  <wim@fluendo.com>
1788
1789         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1790         * gst/base/gstbasesrc.c: (gst_base_src_wait),
1791         (gst_base_src_do_sync), (gst_base_src_get_range):
1792         Implement clock sync in base class.
1793
1794 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1795
1796         patch by: Tim-Philipp Müller <tim at centricular dot net>
1797
1798         * gst/gststructure.c: (gst_structure_parse_field),
1799         (gst_structure_from_string):
1800           Forward-port a 0.8 patch to handle escaped spaces in structure string,
1801           so that gst_parse_launch() can deal with spaces in filtered link
1802           caps (fixes #164479)
1803         * check/gst/capslist.h:
1804         * check/gst/gststructure.c: (GST_START_TEST):
1805           add unit tests for this change
1806
1807 2005-11-10  Wim Taymans  <wim@fluendo.com>
1808
1809         * docs/gst/gstreamer-sections.txt:
1810         * gst/gstelement.c:
1811         * gst/gstelement.h:
1812         Fix docs, move some STATE macros to private.
1813
1814 2005-11-10  Wim Taymans  <wim@fluendo.com>
1815
1816         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1817         Added check for bug #317341
1818
1819         * gst/gstbuffer.c:
1820         * gst/gstbuffer.h:
1821         Some more spiffifying.
1822
1823         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1824         Call peer linkfunction if we are a source pad. Totally fixes
1825         #317341
1826
1827         * gst/gstpad.c:
1828         Update docs, source pads should call the peer linkfunction
1829         so they can atomically perform the pad link.
1830
1831 2005-11-09  Wim Taymans  <wim@fluendo.com>
1832
1833         * gst/gstbuffer.c:
1834         * gst/gstbuffer.h:
1835         Uber-spiffy-spiffify some more.
1836
1837 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
1838
1839         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1840         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1841         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1842         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1843         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1844         * gst/gstpad.c: (gst_pad_init):
1845           Use GST_DEBUG_FUNCPTR() more extensively.
1846
1847 2005-11-09  Wim Taymans  <wim@fluendo.com>
1848
1849         * gst/gstobject.c: (gst_object_class_init):
1850         * gst/gstobject.h:
1851         Documentation fixes.
1852
1853 2005-11-09  Edward Hervey  <edward@fluendo.com>
1854
1855         * gst/gsttypefindfactory.c:
1856         Fix docs.
1857         
1858 2005-11-09  Edward Hervey  <edward@fluendo.com>
1859
1860         * gst/base/gsttypefindhelper.c:
1861         * gst/gsttypefind.c:
1862         * gst/gsttypefind.h:
1863         Fix docs.
1864
1865 2005-11-09  Wim Taymans  <wim@fluendo.com>
1866
1867         * gst/gstiterator.c:
1868         Fix revision data.
1869
1870         * gst/gsttask.c:
1871         * gst/gsttask.h:
1872         Fix docs.
1873
1874 2005-11-09  Wim Taymans  <wim@fluendo.com>
1875
1876         * gst/gstevent.h:
1877         * gst/gsturi.h:
1878         Fix docs.
1879
1880 2005-11-09  Wim Taymans  <wim@fluendo.com>
1881
1882         * docs/gst/gstreamer-sections.txt:
1883         Moved the message async delivery private lock and cond
1884         to the private section.
1885
1886         * gst/gstmessage.c:
1887         * gst/gstmessage.h:
1888         Fixed docs.
1889
1890 2005-11-09  Edward Hervey  <edward@fluendo.com>
1891
1892         * docs/gst/gstreamer-sections.txt:
1893         * gst/gsturi.c:
1894         * gst/gsturi.h:
1895         Document GstURIHandler
1896
1897 2005-11-09  Wim Taymans  <wim@fluendo.com>
1898
1899         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1900         (gst_iterator_find_custom):
1901         * gst/gstiterator.h:
1902         Fix iterator docs.
1903
1904 2005-11-09  Wim Taymans  <wim@fluendo.com>
1905
1906         * gst/gstbin.h:
1907         Document another field.
1908
1909         * gst/gststructure.c:
1910         * gst/gststructure.h:
1911         Document.
1912
1913 2005-11-09  Wim Taymans  <wim@fluendo.com>
1914
1915         * gst/gstbin.h:
1916         Documented structs.
1917
1918 2005-11-09  Wim Taymans  <wim@fluendo.com>
1919
1920         * docs/gst/gstreamer-sections.txt:
1921         Added some new macros.
1922
1923         * gst/gstclock.c:
1924         * gst/gstclock.h:
1925         * gst/gstobject.h:
1926         Docs updates.
1927
1928 2005-11-09  Wim Taymans  <wim@fluendo.com>
1929
1930         * docs/design/part-TODO.txt:
1931         Some more items for the TODO
1932
1933         * gst/gstcaps.c:
1934         * gst/gstcaps.h:
1935         Document GstCaps.
1936
1937 2005-11-09  Andy Wingo  <wingo@pobox.com>
1938
1939         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1940         to work on something else now tho...
1941
1942         * gst/base/gstadapter.c: More adapter docs.
1943
1944         * gst/elements/gstfilesink.c (gst_file_sink_start) 
1945         (gst_file_sink_stop): New functions, replace the state change
1946         handler.
1947         (gst_file_sink_class_init): Hook up the start and stop functions.
1948         (gst_file_sink_base_init): Don't set the state change handler any
1949         more. It was a bit ugly too, being set from here...
1950         (gst_file_sink_get_property, gst_file_sink_set_property):
1951         Cleanups...
1952         (gst_file_sink_set_location): More robust check that doesn't call
1953         GST_STATE. Ugggggg.
1954
1955 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
1956
1957         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1958           Hold STREAM_LOCK while pushing newsegment or tag events as well.
1959
1960 2005-11-08  Wim Taymans  <wim@fluendo.com>
1961
1962         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1963         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1964         (gst_base_sink_chain), (gst_base_sink_change_state):
1965         * gst/base/gstbasesink.h:
1966         * gst/base/gstbasesrc.h:
1967         * gst/gstelement.h:
1968         * gst/gstevent.h:
1969         Avoid excessive typechecking in macros.
1970
1971         * gst/gstminiobject.c: (gst_mini_object_get_type),
1972         (gst_mini_object_init), (gst_mini_object_new),
1973         (gst_mini_object_free):
1974         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1975         (gst_object_finalize):
1976         Remove cruft code, optimize alloc_trace.
1977
1978 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1979
1980         * docs/faq/gst-uninstalled:
1981           fix up PS1 for systems that try to reset it
1982
1983 2005-11-07  Wim Taymans  <wim@fluendo.com>
1984
1985         * gst/base/gstbasesrc.c: (gst_base_src_init),
1986         (gst_base_src_get_range):
1987         Set the segment_end to -1 initially. Fixed typefind.
1988
1989 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1990
1991         * gst/base/gstadapter.c:
1992           Debug category should be 'adapter', not 'GstAdapter'.
1993           
1994         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1995         (gst_collectpads_class_init), (gst_collectpads_init),
1996         (gst_collectpads_peek), (gst_collectpads_pop),
1997         (gst_collectpads_event), (gst_collectpads_chain):
1998           Add debug category and some debugging output. Use boilerplate
1999           macros. Remove some extraneous words from docs.
2000
2001 2005-11-05  Andy Wingo  <wingo@pobox.com>
2002
2003         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2004         macro.
2005
2006 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2007
2008         * docs/gst/gstreamer-sections.txt:
2009         * gst/gstcaps.h:
2010         * gst/gstinfo.c:
2011         * gst/gstminiobject.h:
2012         * gst/gstobject.h:
2013         * gst/gstutils.h:
2014           more docs added
2015
2016 2005-11-04  Wim Taymans  <wim@fluendo.com>
2017
2018         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2019         Small update to stop at the configured segment_end
2020         position.
2021
2022 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2023
2024         * gst/gstregistry.c:
2025         * gst/gstregistry.h:
2026           added missing docs
2027
2028 2005-11-04  Edward Hervey  <edward@fluendo.com>
2029
2030         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2031         Check if we are doing a segment seek and have arrived at the
2032         end of that segment.
2033
2034 2005-11-04  Wim Taymans  <wim@fluendo.com>
2035
2036         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2037         Don't leak a mutex unlock in case of an error.
2038
2039         * gst/gstbus.h:
2040         Doc fixes.
2041
2042 2005-11-04  Wim Taymans  <wim@fluendo.com>
2043
2044         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2045         (gst_bus_post):
2046         Get the context to wake up only once.
2047
2048 2005-11-03  Wim Taymans  <wim@fluendo.com>
2049
2050         * check/states/sinks.c: (GST_START_TEST):
2051         Uncomment fixed check.
2052
2053         * docs/design/part-TODO.txt:
2054         Updated TODO.
2055
2056         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2057         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2058         (gst_base_sink_get_position):
2059         If we are going to PLAYING, post the right pending state
2060         when we post the intermediate paused message.
2061
2062         * gst/gstelement.c: (gst_element_continue_state),
2063         (gst_element_set_state_func), (gst_element_change_state):
2064         Don't post state changes that were between the same state
2065         and were not ASYNC.
2066
2067 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2068
2069         * docs/gst/gstreamer-sections.txt:
2070         * gst/gstcaps.h:
2071         * gst/gstinfo.c:
2072         * gst/gstminiobject.h:
2073         * gst/gstobject.h:
2074         * gst/gstutils.h:
2075           more docs and doc style fixes
2076
2077 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2078
2079         * docs/gst/gstreamer-sections.txt:
2080         * gst/gstelement.c:
2081         * gst/gstminiobject.c:
2082         doc fixes
2083
2084 2005-11-03  Andy Wingo  <wingo@pobox.com>
2085
2086         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2087         state-changed messages actually have the right order and the right
2088         values.
2089
2090 2005-11-03  Wim Taymans  <wim@fluendo.com>
2091
2092         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2093         Added some more checks. Specifically the case where NO_PREROLL
2094         elements are in the pipeline.
2095
2096         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2097         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2098         (gst_base_sink_get_position):
2099         Post READY->PAUSED state change messages too.
2100         Fix bug where VOID was posted as pending state...
2101
2102         * gst/gstbin.c: (gst_bin_recalc_state):
2103         use _element_continue_state() to continue the state change.
2104
2105         * gst/gstelement.c: (gst_element_continue_state),
2106         (gst_element_commit_state), (gst_element_set_state_func),
2107         (gst_element_change_state), (gst_element_change_state_func):
2108         Lots of state change cleanups, assign the STATE_RETURN in
2109         a new continue_state() function that also propagates the
2110         last return value from a state change to the app.
2111         Update some debug statements with proper category.
2112
2113 2005-11-03  Wim Taymans  <wim@fluendo.com>
2114
2115         * docs/design/part-events.txt:
2116         * docs/design/part-gstpipeline.txt:
2117         * docs/design/part-messages.txt:
2118         * docs/design/part-overview.txt:
2119         * docs/design/part-seeking.txt:
2120         * docs/design/part-states.txt:
2121         * docs/design/part-trickmodes.txt:
2122         * docs/manual/advanced-position.xml:
2123         Small docs updates.
2124
2125         * gst/gstobject.h:
2126         People think !! is ugly, this looks better.
2127
2128         * gst/gstpad.c: (gst_pad_set_blocked_async):
2129         Remove !! since it's fixed elsewhere now.
2130
2131 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2132
2133         * gst/gstminiobject.h:
2134         * gst/gstobject.h:
2135           Add !! to _FLAG_IS_SET macros to make the result boolean.
2136
2137 2005-11-03  Edward Hervey  <edward@fluendo.com>
2138
2139         * gst/gstpad.c: (gst_pad_set_blocked_async):
2140         comparing a flag and a gboolean rarely returns coherent results...
2141         Added two characters (!!) to make that work correctly.
2142         
2143 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2144
2145         * gst/gstbus.c: (gst_bus_class_init):
2146           Fix some typos.
2147           
2148         * gst/gstqueue.c: (gst_queue_loop):
2149           Don't assume a miniobject that isn't a buffer is an
2150           event (it could be that there is a refcounting
2151           problem somewhere and the pointer is stale and
2152           refers to an already destroyed miniobject).
2153
2154 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2155
2156         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2157
2158 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2159
2160         * docs/manual/advanced-position.xml:
2161           Update seek example and explanations to current 0.9 API.
2162
2163         * gst/elements/gsttypefindelement.c:
2164         (gst_type_find_element_activate):
2165           Remove FIXME comment now that the found caps
2166           are unreffed.
2167
2168 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2169
2170         * gst/gstregistryxml.c: (load_feature):
2171           Add another GST_STR_NULL instance
2172
2173 2005-11-02  Edward Hervey  <edward@fluendo.com>
2174
2175         * gst/gstpad.c: (handle_pad_block):
2176         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2177         
2178 2005-11-02  Wim Taymans  <wim@fluendo.com>
2179
2180         * gst/gstbin.c:
2181         Fix typo in docs.
2182
2183         * gst/gstelement.c: (gst_element_commit_state):
2184         Remove unused value.
2185
2186         * gst/gstiterator.c:
2187         Mention that the returned element is reffed in the docs.
2188
2189 2005-11-02  Wim Taymans  <wim@fluendo.com>
2190
2191         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2192         (gst_pad_push), (gst_pad_push_event):
2193         Unlock blocked pads when they are flushed.
2194
2195 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2196
2197         * docs/README:
2198         * docs/gst/gstreamer-sections.txt:
2199         * gst/gstbin.c:
2200           doc updates
2201         * gst/gstregistry.c: (gst_registry_scan_path_level):
2202           fix for a nasty little missed situation where an installed plug-in
2203           which was in the cache did not get overridden by an uninstalled one
2204           which was earlier in the plugin path because the newly created plugin
2205           for the uninstalled one (not in the registry) didn't get its
2206           ->registered set to TRUE
2207
2208 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2209
2210         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2211         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2212         (gst_collectpads_is_active), (gst_collectpads_collect),
2213         (gst_collectpads_collect_range), (gst_collectpads_start),
2214         (gst_collectpads_stop), (gst_collectpads_peek),
2215         (gst_collectpads_pop), (gst_collectpads_available),
2216         (gst_collectpads_read), (gst_collectpads_flush):
2217           Guard public API with assertions.
2218         
2219         * gst/gstpad.c:
2220           Fix docs for gst_pad_set_link_function().
2221
2222 2005-11-02  Johan Dahlin  <johan@gnome.org>
2223
2224         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2225         Unref found_caps after we used it.
2226
2227 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2228
2229         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2230           Don't try to ref NULL.
2231
2232 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2233
2234         * win32/common/config.h.in:
2235           provide a GST_FUNCTION that just gives a string for now
2236
2237 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2238
2239         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2240         (gst_object_flags_get_type), (register_gst_bin_flags),
2241         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2242         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2243         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2244         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2245         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2246         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2247         (gst_clock_flags_get_type), (register_gst_state),
2248         (gst_state_get_type), (register_gst_state_change_return),
2249         (gst_state_change_return_get_type), (register_gst_state_change),
2250         (gst_state_change_get_type), (register_gst_element_flags),
2251         (gst_element_flags_get_type), (register_gst_core_error),
2252         (gst_core_error_get_type), (register_gst_library_error),
2253         (gst_library_error_get_type), (register_gst_resource_error),
2254         (gst_resource_error_get_type), (register_gst_stream_error),
2255         (gst_stream_error_get_type), (register_gst_event_type),
2256         (gst_event_type_get_type), (register_gst_seek_type),
2257         (gst_seek_type_get_type), (register_gst_seek_flags),
2258         (gst_seek_flags_get_type), (register_gst_format),
2259         (gst_format_get_type), (register_gst_index_certainty),
2260         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2261         (gst_index_entry_type_get_type),
2262         (register_gst_index_lookup_method),
2263         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2264         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2265         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2266         (gst_index_flags_get_type), (register_gst_debug_level),
2267         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2268         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2269         (gst_iterator_result_get_type), (register_gst_iterator_item),
2270         (gst_iterator_item_get_type), (register_gst_message_type),
2271         (gst_message_type_get_type), (register_gst_mini_object_flags),
2272         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2273         (gst_pad_link_return_get_type), (register_gst_flow_return),
2274         (gst_flow_return_get_type), (register_gst_activate_mode),
2275         (gst_activate_mode_get_type), (register_gst_pad_direction),
2276         (gst_pad_direction_get_type), (register_gst_pad_flags),
2277         (gst_pad_flags_get_type), (register_gst_pad_presence),
2278         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2279         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2280         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2281         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2282         (gst_plugin_flags_get_type), (register_gst_rank),
2283         (gst_rank_get_type), (register_gst_query_type),
2284         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2285         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2286         (gst_tag_flag_get_type), (register_gst_task_state),
2287         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2288         (gst_alloc_trace_flags_get_type),
2289         (register_gst_type_find_probability),
2290         (gst_type_find_probability_get_type), (register_gst_uri_type),
2291         (gst_uri_type_get_type), (register_gst_parse_error),
2292         (gst_parse_error_get_type):
2293         * win32/common/gstversion.h:
2294           update win32 copies
2295
2296 2005-11-01  Luca Ognibene  <luogni@tin.it>
2297
2298         * gst/gst.c:
2299           fix docs. popt is dead, long live GOption.
2300
2301 2005-10-31  Wim Taymans  <wim@fluendo.com>
2302
2303         * gst/gstbuffer.h:
2304         Small doc fix.
2305
2306 2005-10-31  Andy Wingo  <wingo@pobox.com>
2307
2308         * Boo!
2309
2310         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2311
2312         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2313         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2314         the possibility of deadlocks here if code calling notify() or
2315         set() has a lock that can be taken in another notify handler (ABBA
2316         with class lock and e.g. python GIL state lock).
2317
2318 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2319
2320         * gst/gstbus.c: Doc updates.
2321
2322 2005-10-28  Wim Taymans  <wim@fluendo.com>
2323
2324         * docs/design/part-TODO.txt:
2325         * gst/gstiterator.c:
2326         * gst/gstsystemclock.c:
2327         * gst/gstsystemclock.h:
2328         Doc updates.
2329
2330 2005-10-28  Edward Hervey  <edward@fluendo.com>
2331
2332         * docs/gst/gstreamer-docs.sgml:
2333         * docs/gst/gstreamer-sections.txt:
2334         the GstURIType documentation page is private, it only defines GstURIType
2335         which should be defined in the GstURIHandler page
2336         
2337 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2338
2339         * gst/gstbin.c: (gst_bin_class_init):
2340         * gst/gstbin.h:
2341         * gst/gstutils.c:
2342         Documentation updates.
2343
2344 2005-10-28  Wim Taymans  <wim@fluendo.com>
2345
2346         * docs/gst/gstreamer-sections.txt:
2347         * gst/gstclock.c:
2348         * gst/gstclock.h:
2349         Documented the clocks.
2350
2351 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2352
2353         * docs/gst/gstreamer-sections.txt:
2354           move some macros to private sections
2355         * gst/gstminiobject.c:
2356         * gst/gstminiobject.h:
2357           add descriptions provided by ds and some more
2358         * gst/gstpad.h:
2359           mark macro as to be removed
2360
2361 2005-10-28  Wim Taymans  <wim@fluendo.com>
2362
2363         * docs/design/part-TODO.txt:
2364         Add an item to TODO.
2365
2366         * gst/gstiterator.c: (gst_iterator_fold),
2367         (gst_iterator_find_custom):
2368         * gst/gstiterator.h:
2369         Add iterator docs.
2370
2371 2005-10-28  Wim Taymans  <wim@fluendo.com>
2372
2373         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2374         (gst_base_transform_init):
2375         Don't leak class.
2376
2377         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2378         An EOS event marks the queue as completely filled.
2379
2380 2005-10-27  Wim Taymans  <wim@fluendo.com>
2381
2382         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2383         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2384         Some more debugging.
2385
2386         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2387         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2388         (gst_base_transform_event), (gst_base_transform_getrange),
2389         (gst_base_transform_chain):
2390         * gst/base/gstbasetransform.h:
2391         Fix debugging,
2392         Protect transform and concurrent buffer alloc with a new lock.
2393         Try not to break ABI/API.
2394
2395 2005-10-27  Wim Taymans  <wim@fluendo.com>
2396
2397         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2398         (gst_base_src_init), (gst_base_src_query),
2399         (gst_base_src_default_newsegment),
2400         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2401         (gst_base_src_send_event), (gst_base_src_event_handler),
2402         (gst_base_src_pad_get_range), (gst_base_src_loop),
2403         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2404         (gst_base_src_start), (gst_base_src_deactivate),
2405         (gst_base_src_activate_push), (gst_base_src_change_state):
2406         Move some stuff around and cleanup things.
2407
2408 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2409
2410         * gst/base/gstbasesrc.c: (gst_base_src_query):
2411           Add missing break statements.
2412
2413 2005-10-27  Wim Taymans  <wim@fluendo.com>
2414
2415         * check/gst/gstbin.c: (GST_START_TEST):
2416         An extra refcount is taken in basesrc.
2417
2418         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2419         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2420         (gst_base_src_loop):
2421         Small cleanups, check for flushing after being unlocked from the 
2422         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2423         Don't send out EOS when going to READY.
2424
2425 2005-10-27  Wim Taymans  <wim@fluendo.com>
2426
2427         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2428         (gst_base_sink_get_position):
2429         Some more debug.
2430
2431         * gst/gstbin.c: (message_check), (bin_replace_message),
2432         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2433         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2434         (bin_query_duration_init), (bin_query_duration_fold),
2435         (bin_query_duration_done), (bin_query_generic_fold),
2436         (gst_bin_query):
2437         * tools/gst-launch.c: (main):
2438         Remove old option.
2439
2440 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2441
2442         * examples/controller/audio-example.c: (main):
2443         * examples/queue/queue.c: (event_loop):
2444         * gst/base/gstbasetransform.h:
2445         * gst/gstelement.c: (gst_element_send_event):
2446         * gst/gstevent.h:
2447         * gst/gstpad.c: (gst_pad_send_event):
2448           fixing examples
2449           fixing docs typos
2450           changing log priority in error situations
2451
2452 2005-10-25  Wim Taymans  <wim@fluendo.com>
2453
2454         * gst/gstbin.c: (message_check), (bin_replace_message),
2455         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2456         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2457         (bin_query_duration_init), (bin_query_duration_fold),
2458         (bin_query_duration_done), (bin_query_generic_fold),
2459         (gst_bin_query):
2460         Some doc and debug updates.
2461         Cache previously requested query DURATION for speed. invalidate
2462         cached duration if element posts a DURATION message.
2463
2464 2005-10-25  Wim Taymans  <wim@fluendo.com>
2465
2466         * docs/design/part-TODO.txt:
2467         Update TODO.
2468
2469         * gst/gstbin.c: (message_check), (bin_replace_message),
2470         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2471         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2472         (bin_query_duration_init), (bin_query_duration_fold),
2473         (bin_query_duration_done), (bin_query_generic_fold),
2474         (gst_bin_query):
2475         Handle SEGMENT_START/DONE messages correctly.
2476         More evolved query algorithm that handles duration queries
2477         correctly.
2478
2479         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2480         (gst_element_get_state_func), (gst_element_abort_state),
2481         (gst_element_commit_state), (gst_element_lost_state):
2482         Some more debugging.
2483
2484         * gst/gstmessage.h:
2485         Added doc.
2486
2487 2005-10-25  Wim Taymans  <wim@fluendo.com>
2488
2489         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2490         Don't use invalid stream_time.
2491
2492         * gst/gstevent.c: (gst_event_new_newsegment):
2493         stream_time in newsegment cannot be undefined.
2494
2495 2005-10-24  Wim Taymans  <wim@fluendo.com>
2496
2497         * gst/gstbus.c:
2498         Doc fix.
2499
2500         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2501         (gst_queue_loop):
2502         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2503
2504 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2505
2506         * docs/libs/tmpl/gstdparam.sgml:
2507         * docs/libs/tmpl/gstdplinint.sgml:
2508         * docs/libs/tmpl/gstdpman.sgml:
2509         * docs/libs/tmpl/gstdpsmooth.sgml:
2510         * docs/libs/tmpl/gstunitconvert.sgml:
2511           these are obsolete
2512
2513 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2514
2515         * configure.ac:
2516           back to HEAD
2517
2518 === release 0.9.4 ===
2519
2520 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2521
2522         * configure.ac:
2523           releasing 0.9.4, "Tyrannosaurus Rex"
2524
2525 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2526
2527         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2528         (gst_file_sink_get_current_offset):
2529           Use fseeko() and ftello() if available. When falling back on
2530           lseek() to get the current offset, fflush() first to make sure
2531           everything is up-to-date and we get the right offset.
2532
2533 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2534
2535         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2536         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2537         * gst/gsterror.c: (_gst_stream_errors_init):
2538         * gst/gsterror.h:
2539         * gst/gstqueue.c: (gst_queue_loop):
2540         * po/POTFILES.in:
2541           remove prematurely added error category and clean up the instances
2542
2543 2005-10-21  Wim Taymans  <wim@fluendo.com>
2544
2545         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2546         (gst_base_sink_get_position), (gst_base_sink_query),
2547         (gst_base_sink_change_state):
2548         Simply set the right flag when going to playing, that's all
2549         we need to do instead of calling a function inside the object
2550         lock (that could take the lock as well and deadlock)
2551
2552 2005-10-21  Wim Taymans  <wim@fluendo.com>
2553
2554         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2555         (gst_base_src_loop):
2556         Don't warn, the peer element knows what to do best when
2557         the seek failed, it might try something else.
2558
2559 2005-10-21  Wim Taymans  <wim@fluendo.com>
2560
2561         * gst/base/gstbasesrc.c: (gst_base_src_init),
2562         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2563         Fix seeking.
2564
2565 2005-10-21  Wim Taymans  <wim@fluendo.com>
2566
2567         * docs/design/part-segments.txt:
2568         More docs.
2569
2570         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2571         Correctly set caps, even on the subbufer.
2572
2573 2005-10-21  Wim Taymans  <wim@fluendo.com>
2574
2575         * docs/gst/gstreamer-docs.sgml:
2576         * docs/gst/gstreamer-sections.txt:
2577         * gst/gstelement.h:
2578         * gst/gstevent.c:
2579         * gst/gstevent.h:
2580         * gst/gstmessage.h:
2581         * gst/gstpad.h:
2582         * gst/gstparse.h:
2583         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2584         * gst/gsttask.h:
2585         * gst/gstutils.c:
2586         * gst/gstutils.h:
2587         And 2% more doc coverage.
2588
2589 2005-10-21  Andy Wingo  <wingo@pobox.com>
2590
2591         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2592         position reporting.
2593
2594 2005-10-20  Wim Taymans  <wim@fluendo.com>
2595
2596         * gst/gsterror.c: (gst_error_get_message):
2597         * gst/gstparse.h:
2598         * gst/gstquery.h:
2599         * gst/gststructure.c:
2600         * gst/gsttrace.c:
2601         * gst/gstutils.c:
2602         More docs.
2603
2604 2005-10-20  Wim Taymans  <wim@fluendo.com>
2605
2606         * gst/gstbuffer.h:
2607         * gst/gstpad.c:
2608         * gst/gstparse.c:
2609         Another 1% more coverage.
2610
2611 2005-10-20  Wim Taymans  <wim@fluendo.com>
2612
2613         * docs/gst/gstreamer-sections.txt:
2614         * gst/gstelement.c: (gst_element_get_state_func),
2615         (gst_element_abort_state), (gst_element_commit_state),
2616         (gst_element_lost_state):
2617         * gst/gstevent.h:
2618         * gst/gstquery.c: (gst_query_set_position),
2619         (gst_query_parse_position), (gst_query_set_duration),
2620         (gst_query_parse_duration), (gst_query_new_convert):
2621         * gst/gstutils.c:
2622         Yay! 1% more docs coverage.
2623
2624 2005-10-20  Wim Taymans  <wim@fluendo.com>
2625
2626         * gst/gstpad.h:
2627         * gst/gstquery.c: (gst_query_set_position),
2628         (gst_query_parse_position), (gst_query_set_duration),
2629         (gst_query_parse_duration), (gst_query_new_convert):
2630         * gst/gstquery.h:
2631         * gst/gstutils.c: (gst_element_query_convert):
2632         * gst/gstutils.h:
2633         Docs and consistency fixes.
2634
2635 2005-10-20  Wim Taymans  <wim@fluendo.com>
2636
2637         * gst/gsttask.c:
2638         * gst/gsttask.h:
2639         More docs.
2640
2641 2005-10-20  Wim Taymans  <wim@fluendo.com>
2642
2643         * gst/gstbin.c: (message_check), (bin_replace_message),
2644         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2645         (update_degree), (gst_bin_sort_iterator_next),
2646         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2647         Reworked the message handling a bit, cache the messages instead of
2648         only the senders. alows us to do more in the future.
2649
2650 2005-10-20  Wim Taymans  <wim@fluendo.com>
2651
2652         * docs/design/part-TODO.txt:
2653         Update TODO
2654
2655         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2656         (gst_base_sink_query):
2657         Don't use clock time to report position when in EOS.
2658
2659 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2660
2661         * tools/gst-inspect.c: (print_interfaces),
2662         (print_element_properties_info), (print_element_info):
2663           Fix interface output with gst-inspect -a; don't print
2664           newlines after double/float properties.
2665
2666 2005-10-20  Wim Taymans  <wim@fluendo.com>
2667
2668         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2669         (gst_base_sink_query):
2670         Speed up current position calculation.
2671
2672         * gst/base/gstbasesrc.c: (gst_base_src_query),
2673         (gst_base_src_default_newsegment):
2674         Correctly set stream position in newsegment.
2675
2676         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2677         (update_degree), (gst_bin_sort_iterator_next),
2678         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2679         * gst/gstmessage.c: (gst_message_new_custom):
2680         Clean up debugging info
2681
2682         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2683         (gst_queue_loop), (gst_queue_handle_src_query):
2684         Pause task faster.
2685
2686 2005-10-19  Wim Taymans  <wim@fluendo.com>
2687
2688         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2689         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2690         Fix query handling again.
2691
2692 2005-10-19  Wim Taymans  <wim@fluendo.com>
2693
2694         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2695         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2696         * gst/base/gstbasesrc.c: (gst_base_src_query):
2697         * gst/elements/gstfilesink.c: (gst_file_sink_query):
2698         * gst/elements/gsttypefindelement.c:
2699         (gst_type_find_handle_src_query), (find_element_get_length),
2700         (gst_type_find_element_activate):
2701         API change fix.
2702
2703         * gst/gstquery.c: (gst_query_new_position),
2704         (gst_query_set_position), (gst_query_parse_position),
2705         (gst_query_new_duration), (gst_query_set_duration),
2706         (gst_query_parse_duration), (gst_query_set_segment),
2707         (gst_query_parse_segment):
2708         * gst/gstquery.h:
2709         Bundling query position/duration is not a good idea since duration
2710         does not change much and we don't want to recalculate it for every
2711         position query, so they are separated again..
2712         Base value in segment query is not needed.
2713
2714         * gst/gstqueue.c: (gst_queue_handle_src_query):
2715         * gst/gstutils.c: (gst_element_query_position),
2716         (gst_element_query_duration), (gst_pad_query_position),
2717         (gst_pad_query_duration):
2718         * gst/gstutils.h:
2719         Updates for query API change.
2720         Added some docs here and there.
2721
2722 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
2723
2724         * check/gst/gstbin.c: (GST_START_TEST):
2725         * check/gst/gstghostpad.c: (GST_START_TEST):
2726         * check/pipelines/cleanup.c: (GST_START_TEST):
2727           wait on thread to die so we can check refcount correctly
2728
2729 2005-10-18  Wim Taymans  <wim@fluendo.com>
2730
2731         * check/pipelines/stress.c: (GST_START_TEST):
2732         Make check a little more time consuming.
2733
2734 2005-10-18  Wim Taymans  <wim@fluendo.com>
2735
2736         * check/Makefile.am:
2737         * check/pipelines/stress.c: (GST_START_TEST),
2738         (simple_launch_lines_suite), (main):
2739         Small state change torture test.
2740
2741         * docs/design/part-states.txt:
2742         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2743         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2744         (gst_base_sink_change_state):
2745         Never take state lock from streaming thread, clean up ugly
2746         hacks. Unfortunatly core does not yet support nice ways to
2747         async commit state.
2748         
2749         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2750         (bin_bus_handler):
2751         Start state recalc if a STATE_DIRTY message is posted, but only
2752         on the toplevel bin.
2753
2754         * gst/gstelement.c: (gst_element_sync_state_with_parent),
2755         (gst_element_get_state_func), (gst_element_abort_state),
2756         (gst_element_commit_state), (gst_element_lost_state),
2757         (gst_element_set_state_func), (gst_element_change_state):
2758         * gst/gstelement.h:
2759         State variables are now protected with the LOCK, the state
2760         lock is only used to serialize _set_state().
2761
2762 2005-10-18  Wim Taymans  <wim@fluendo.com>
2763
2764         * check/gst/gstbin.c: (GST_START_TEST):
2765         * check/gst/gstmessage.c: (GST_START_TEST):
2766         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2767         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2768         (bin_bus_handler):
2769         * gst/gstelement.c: (gst_element_abort_state),
2770         (gst_element_commit_state), (gst_element_lost_state):
2771         * gst/gstmessage.c: (gst_message_new_state_changed),
2772         (gst_message_new_state_dirty), (gst_message_new_segment_start),
2773         (gst_message_new_segment_done), (gst_message_new_duration),
2774         (gst_message_parse_state_changed),
2775         (gst_message_parse_segment_start),
2776         (gst_message_parse_segment_done), (gst_message_parse_duration):
2777         * gst/gstmessage.h:
2778         * tools/gst-launch.c: (event_loop):
2779         Seriously, this is better than a previous commit as we only need
2780         to notify the fact that an element changed state in a streaming
2781         thread, marking the state of the parents dirty, hence the 
2782         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2783         message.
2784
2785 2005-10-18  Wim Taymans  <wim@fluendo.com>
2786
2787         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2788         (gst_bin_recalc_func):
2789         * gst/gstelement.c: (gst_element_set_clock),
2790         (gst_element_abort_state), (gst_element_lost_state):
2791         Cleanups, prepare for state change fixes.
2792
2793 2005-10-18  Wim Taymans  <wim@fluendo.com>
2794
2795         * gst/gstbin.h:
2796         * gst/gstelement.c: (gst_element_class_init),
2797         (gst_element_set_state), (gst_element_set_state_func):
2798         * gst/gstelement.h:
2799         Pending ABI changes.
2800         GThreadPool in GstBinClass to monitor async state changes.
2801         state_cookie in GstElement to detect concurrent gst/set state.
2802         set_state is now virtual too in case a very complicated element
2803         has to be constructed.
2804
2805 2005-10-18  Wim Taymans  <wim@fluendo.com>
2806
2807         * check/gst/gstbin.c: (GST_START_TEST):
2808         * check/gst/gstmessage.c: (GST_START_TEST):
2809         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2810         * gst/gstbin.c: (bin_bus_handler):
2811         * gst/gstelement.c: (gst_element_commit_state),
2812         (gst_element_lost_state):
2813         * gst/gstmessage.c: (gst_message_new_state_changed),
2814         (gst_message_new_segment_start), (gst_message_new_segment_done),
2815         (gst_message_new_duration), (gst_message_parse_state_changed),
2816         (gst_message_parse_segment_start),
2817         (gst_message_parse_segment_done), (gst_message_parse_duration):
2818         * gst/gstmessage.h:
2819         * tools/gst-launch.c: (event_loop):
2820         Make messages future proof.
2821         state-change gets a flag if it was a message comming from the
2822         streaming thread.
2823         segment-start/stop can also be specified in other formats.
2824         A message to notify an app that a pipeline changed playback 
2825         duration.
2826         Also fix a GstMessage leak in -launch
2827
2828 2005-10-18  Andy Wingo  <wingo@pobox.com>
2829
2830         * gst/gstelement.c (gst_element_dispose): More helpful message.
2831
2832 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2833
2834         reviewed by: <delete if not using a buddy>
2835
2836         * common/gtk-doc.mak:
2837
2838 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2839
2840         * gst/gstregistry.c: (gst_registry_scan_path_level):
2841           unref a plug-in we get that was already initialized
2842
2843 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
2844
2845         * docs/gst/gstreamer-sections.txt:
2846         * docs/libs/gstreamer-libs-sections.txt:
2847         * gst/gstelement.h:
2848           add new api entries
2849           hide internal macro
2850
2851 2005-10-17  Andy Wingo  <wingo@pobox.com>
2852
2853         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2854         cleanup.
2855
2856         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2857
2858         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2859
2860         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2861         (gst_element_get_state_func): Better debug message.
2862         (gst_element_commit_state): s/INFO/DEBUG/.
2863         (gst_element_lost_state, gst_element_change_state): 
2864
2865         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2866         (gst_message_new_custom): s/INFO/LOG/.
2867
2868 2005-10-17  Michael Smith <msmith@fluendo.com>
2869
2870         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2871           Check if end time is valid using end time, not start time.
2872
2873 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
2874
2875         * check/gst-libs/controller.c: (GST_START_TEST),
2876         (gst_controller_suite):
2877         * libs/gst/controller/gstcontroller.c:
2878         (gst_controlled_property_set_interpolation_mode):
2879         * libs/gst/controller/gstcontroller.h:
2880         * libs/gst/controller/gstinterpolation.c:
2881         * testsuite/controller/.cvsignore:
2882         * testsuite/controller/Makefile.am:
2883         * testsuite/controller/interpolator.c:
2884           merge controller testsuites
2885           fix broken tests
2886           remove mem-chunk from docs
2887
2888 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2889
2890         * gst/gstmemchunk.c:
2891         * gst/gstmemchunk.h:
2892         * gst/gsttrashstack.c:
2893         * gst/gsttrashstack.h:
2894           out.  get out.  you're fired.  to the Attic !
2895
2896 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2897
2898         * gst/gstcaps.c: (gst_caps_intersect):
2899           fix signedness issues in a (hopefully) correct way
2900         * gst/gstelement.c: (gst_element_pads_activate):
2901           some debugging
2902         * gst/gstobject.c: (gst_object_set_parent):
2903           some debugging
2904
2905 2005-10-17  Julien MOUTTE  <julien@moutte.net>
2906
2907         * gst/gstvalue.h: Fix prototypes.
2908
2909 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2910
2911         * docs/gst/gstreamer-sections.txt:
2912         * gst/gst.c: (gst_version_string):
2913         * gst/gst.h:
2914         * gst/gstversion.h.in:
2915         * win32/common/libgstreamer.def:
2916           add gst_version_string ()
2917
2918 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2919
2920         * configure.ac:
2921           clean up further
2922         * gst/gst.c: (init_post):
2923         * win32/common/config.h.in:
2924           it's PLUGINDIR now
2925         * gst/gstcaps.c: (gst_caps_intersect):
2926           use gint64, the range could be bigger than a guint
2927
2928 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2929
2930         * gst/gstclock.h:
2931           document potential problem in 2038
2932
2933 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2934
2935         * gst/gstcaps.c: (gst_caps_intersect):
2936           Fix guint j diving under 0
2937
2938 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2939
2940         * configure.ac:
2941         * win32/common/config.h:
2942         * win32/common/config.h.in:
2943           check for process.h, declares getpid() on Windows
2944         * gst/gstinfo.c:
2945           include process.h if we have it
2946         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2947         * gst/gstmemchunk.h:
2948           fix signedness issues
2949         * win32/common/libgstreamer.def:
2950           fix get_type's
2951
2952 2005-10-16  Julien MOUTTE  <julien@moutte.net>
2953
2954         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2955         fix. Because of unsigned ints, caps intersection was going nuts and
2956         trying to access structures with G_MAXUINT index. That fixes
2957         videotestsrc ! ffmpegcolorspace ! fakesink
2958         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2959         consistency.
2960
2961 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2962
2963         * configure.ac:
2964           use the gettext macro
2965         * gst/elements/gstelements.c:
2966         * gst/gst.c:
2967         * gst/indexers/gstindexers.c:
2968           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2969         * win32/common/config.h:
2970           updated config.h
2971         * win32/common/config.h.in:
2972           add the template to generate config.h
2973         * win32/common/gstenumtypes.c:
2974         * win32/common/gstversion.h:
2975           updated copies
2976
2977 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2978
2979         * gst/gst.c: (gst_version):
2980         * gst/gstversion.h.in:
2981           add the nano
2982
2983 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2984
2985         * gst/gstevent.h:
2986           Oops, add missing closing bracket.
2987
2988 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2989
2990         * configure.ac:
2991           use common m4's for argument checking
2992
2993 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2994
2995         * docs/gst/gstreamer-sections.txt:
2996         * gst/gstevent.h:
2997           Add GST_EVENT_TYPE_NAME() macro.
2998
2999 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3000
3001         * gst/gstinfo.c:
3002         * gst/gstpluginfeature.c:
3003         * gst/gsttask.c:
3004           privatize more symbols
3005
3006 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3007
3008         * configure.ac:
3009           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3010           everything that uses GStreamer API should have the includes
3011
3012 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3013
3014         * docs/gst/gstreamer-sections.txt:
3015         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3016         * gst/gstvalue.h:
3017           give each value a _get_type, removes the DATA exports
3018
3019 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3020
3021         * gst/gst.c:
3022         * gst/gst.h:
3023           remove _gst_registry_auto_load, not used anymore
3024         * gst/gstbin.c: (gst_bin_get_type):
3025         * gst/gstbin.h:
3026         * gst/gstelement.c: (gst_element_get_type):
3027         * gst/gstelement.h:
3028         * gst/gstobject.c: (gst_object_get_type):
3029         * gst/gstobject.h:
3030         * gst/gstpad.c: (gst_pad_get_type):
3031         * gst/gstpad.h:
3032           make _get_type functions similar, fixes data export from library
3033
3034 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3035
3036         * configure.ac:
3037           correctly make conditionals
3038         * gst/elements/Makefile.am:
3039         * gst/elements/gstelements.c:
3040           fix typo causing fdsrc not to build
3041
3042 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3043
3044         * testsuite/Makefile.am:
3045         * testsuite/bytestream/.cvsignore:
3046         * testsuite/bytestream/Makefile.am:
3047         * testsuite/bytestream/filepadsink.c:
3048         * testsuite/bytestream/gstbstest.c:
3049         * testsuite/bytestream/test1.c:
3050         * testsuite/bytestream/testfile1:
3051         * testsuite/caps/normalisation.c:
3052         * testsuite/caps/random.c: (main):
3053         * testsuite/cleanup/.cvsignore:
3054         * testsuite/cleanup/Makefile.am:
3055         * testsuite/cleanup/cleanup1.c:
3056         * testsuite/cleanup/cleanup2.c:
3057         * testsuite/cleanup/cleanup3.c:
3058         * testsuite/cleanup/cleanup4.c:
3059         * testsuite/cleanup/cleanup5.c:
3060         * testsuite/controller/interpolator.c:
3061         * testsuite/debug/printf_extension.c: (main):
3062         * testsuite/elements/tee.c:
3063         * testsuite/negotiation/.cvsignore:
3064         * testsuite/negotiation/Makefile.am:
3065         * testsuite/negotiation/pad_link.c:
3066         * testsuite/pad/Makefile.am:
3067         * testsuite/pad/chainnopull.c:
3068         * testsuite/pad/getnopush.c:
3069         * testsuite/pad/link.c:
3070         * testsuite/refcounting/sched.c: (create_pipeline):
3071         * testsuite/registry/Makefile.am:
3072         * testsuite/registry/gst-print-formats.c:
3073         * testsuite/schedulers/.cvsignore:
3074         * testsuite/schedulers/142183-2.c:
3075         * testsuite/schedulers/142183.c:
3076         * testsuite/schedulers/143777-2.c:
3077         * testsuite/schedulers/143777.c:
3078         * testsuite/schedulers/147713.c:
3079         * testsuite/schedulers/147819.c:
3080         * testsuite/schedulers/147894-2.c:
3081         * testsuite/schedulers/147894.c:
3082         * testsuite/schedulers/Makefile.am:
3083         * testsuite/schedulers/group_link.c:
3084         * testsuite/schedulers/queue_link.c:
3085         * testsuite/schedulers/relink.c:
3086         * testsuite/schedulers/unlink.c:
3087         * testsuite/schedulers/unref.c:
3088         * testsuite/schedulers/useless_iteration.c:
3089         * testsuite/states/bin.c:
3090           clean out/remove some stuff from the testsuite directories
3091
3092 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3093
3094         * configure.ac:
3095           check for some headers
3096         * gst/elements/Makefile.am:
3097         * gst/elements/gstelements.c:
3098           don't compile fdsrc without sys/socket.h
3099         * gst/indexers/Makefile.am:
3100         * gst/indexers/gstindexers.c: (plugin_init):
3101           don't compile fileindex without mmap
3102
3103 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3104
3105         * configure.ac:
3106           reorganize
3107           clean up
3108           document more
3109           remove cruft
3110         * check/Makefile.am:
3111         * docs/gst/Makefile.am:
3112         * examples/helloworld/Makefile.am:
3113         * gst/Makefile.am:
3114         * gst/base/Makefile.am:
3115         * gst/check/Makefile.am:
3116         * gst/elements/Makefile.am:
3117         * gst/indexers/Makefile.am:
3118         * gst/parse/Makefile.am:
3119         * libs/gst/controller/Makefile.am:
3120         * libs/gst/dataprotocol/Makefile.am:
3121         * examples/helloworld/helloworld.c: (event_loop):
3122           compile fixes, though it's not being compiled currently
3123
3124 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3125
3126         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3127           Add some simple tests for the new taglist date API.
3128
3129 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3130
3131         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3132         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3133           Beautify 'last-message' output: print 'none' for buffer timestamps
3134           and durations if none is set; improve alignment with next messages.
3135
3136 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3137
3138         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3139         * gst/gstpluginfeature.h:
3140         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3141         * gst/gstregistry.h:
3142         * docs/gst/gstreamer-sections.txt:
3143           Add new API to check plugin feature version requirements.
3144
3145         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3146           Some basic tests for the above.         
3147
3148 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3149
3150         * gst/gststructure.c: (gst_structure_to_string):
3151           guard against NULL printf - happens when for example
3152           a message structure with GstClock gets serialized
3153
3154 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3155
3156         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3157           Fix presumable copy'n'pasto.
3158
3159 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3160
3161         * gst/elements/gstfakesrc.h:
3162         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3163         * gst/elements/gsttypefindelement.c:
3164           fix some signedness
3165         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3166           I wonder if this could actually write +2GB files before
3167
3168 2005-10-13  Andy Wingo  <wingo@pobox.com>
3169
3170         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3171         Fix Timmeke Waymans bug.
3172         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3173         string of the proper length to gst_caps_from_string. There's a
3174         potential for, before this fix, that this could cause someone
3175         connecting over the network to cause a segfault if the payload is
3176         not NUL-terminated.
3177
3178 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3179
3180         * docs/design/draft-push-pull.txt:
3181         * docs/design/part-overview.txt:
3182         * docs/random/TODO-pre-0.9:
3183         * docs/random/old/ChangeLog.gstreamer:
3184         * gst/base/gstpushsrc.c:
3185         * gst/gstclock.c:
3186           fixed typos
3187
3188 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3189
3190         * gst/glib-compat.c: (gst_flags_get_first_value):
3191         * gst/glib-compat.h:
3192         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3193         (gst_value_compare_double), (gst_value_serialize_flags):
3194           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3195           infinite loop
3196
3197 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3198
3199         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3200         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3201           fix up debugging
3202         * tools/gst-launch.c: (event_loop):
3203           print out clock nicely
3204
3205 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3206
3207         * docs/gst/gstreamer-sections.txt:
3208         * gst/gsttaglist.h:
3209         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3210         (gst_tag_list_get_date_index):
3211           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3212           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3213
3214 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3215
3216         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3217         (gst_collectpads_chain):
3218         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3219         in CollectData.
3220
3221 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3222
3223         * docs/gst/gstreamer-sections.txt:
3224         * gst/gst.c:
3225         * gst/gsterror.h:
3226         * tools/gst-inspect.c: (main):
3227         * tools/gst-launch.c: (main):
3228         * tools/gst-run.c: (main):
3229         * tools/gst-xmlinspect.c: (main):
3230           fix GOption context leaks
3231           doc fixes
3232
3233 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3234
3235         * gst/gstbus.c:
3236           use HAVE_UNISTD_H
3237         * win32/common/config.h:
3238           update config
3239         * win32/vs6/grammar.dsp:
3240         * win32/vs6/libgstelements.dsp:
3241         * win32/vs6/libgstreamer.dsp:
3242           update vs6 files
3243
3244 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3245
3246         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3247         * gst/base/gstbasesrc.c: (gst_base_src_query):
3248           fix more guint64<->gdouble conversions
3249
3250 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3251
3252         * Makefile.am:
3253           add win32-update target
3254         * win32/common/gstconfig.h:
3255         * win32/common/gstenumtypes.c:
3256         * win32/common/gstenumtypes.h:
3257         * win32/common/gstversion.h:
3258           add files that visual studio can't generate
3259
3260 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3261
3262         * Makefile.am:
3263           add a win32-update target
3264         * configure.ac:
3265
3266 2005-10-12  Wim Taymans  <wim@fluendo.com>
3267
3268         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3269         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3270         * gst/gstelement.c: (gst_element_commit_state),
3271         (gst_element_set_state):
3272         Protect flags with proper lock.
3273         unref provided cached clock in dispose.
3274
3275 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3276
3277         * gst/gst.c:
3278         * gst/gstminiobject.h:
3279         * gst/gstpad.h:
3280         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3281           removed unused flags from miniobject
3282           doc fixes
3283
3284 2005-10-12  Wim Taymans  <wim@fluendo.com>
3285
3286         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3287         (gst_file_sink_event), (gst_file_sink_render):
3288         Flush before seeking.
3289
3290 2005-10-12  Andy Wingo  <wingo@pobox.com>
3291
3292         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3293         always been the case.
3294
3295 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3296
3297         * check/gst/gstbin.c: (GST_START_TEST):
3298         * docs/gst/gstreamer-sections.txt:
3299         * gst/base/gstbasesink.c: (gst_base_sink_init):
3300         * gst/base/gstbasesrc.c: (gst_base_src_init),
3301         (gst_base_src_get_range), (gst_base_src_check_get_range),
3302         (gst_base_src_start), (gst_base_src_stop):
3303         * gst/base/gstbasesrc.h:
3304         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3305         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3306         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3307         (bin_bus_handler):
3308         * gst/gstbin.h:
3309         * gst/gstbuffer.h:
3310         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3311         * gst/gstbus.h:
3312         * gst/gstelement.c: (gst_element_is_locked_state),
3313         (gst_element_set_locked_state), (gst_element_commit_state),
3314         (gst_element_set_state):
3315         * gst/gstelement.h:
3316         * gst/gstindex.c: (gst_index_init):
3317         * gst/gstindex.h:
3318         * gst/gstminiobject.h:
3319         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3320         (gst_object_set_parent):
3321         * gst/gstobject.h:
3322         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3323         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3324         * gst/gstpad.h:
3325         * gst/gstpadtemplate.h:
3326         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3327         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3328         * gst/gstpipeline.h:
3329         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3330         (gst_file_index_commit):
3331         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3332         * testsuite/pad/link.c: (gst_test_src_init),
3333         (gst_test_filter_init), (gst_test_sink_init):
3334         * testsuite/states/locked.c: (main):
3335           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3336           moved bitshift from macro to enum definition
3337
3338 2005-10-12  Wim Taymans  <wim@fluendo.com>
3339
3340         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3341         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3342         (gst_file_sink_render):
3343         Some more debugging info.
3344
3345 2005-10-12  Wim Taymans  <wim@fluendo.com>
3346
3347         * docs/design/part-states.txt:
3348         * tools/gst-launch.c: (main):
3349         Some doc updates.
3350         Revert non-intentional change.
3351
3352 2005-10-12  Wim Taymans  <wim@fluendo.com>
3353
3354         * check/gst/gstbin.c: (GST_START_TEST):
3355         * check/gst/gstelement.c: (GST_START_TEST):
3356         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3357         * check/gst/gstghostpad.c: (GST_START_TEST):
3358         * check/gst/gstpipeline.c: (GST_START_TEST):
3359         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3360         * check/states/sinks.c: (GST_START_TEST):
3361         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3362         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3363         (gst_bin_remove_func), (gst_bin_get_state_func),
3364         (gst_bin_recalc_state), (gst_bin_change_state_func),
3365         (bin_bus_handler):
3366         * gst/gstelement.c: (gst_element_get_state_func),
3367         (gst_element_get_state), (gst_element_abort_state),
3368         (gst_element_commit_state), (gst_element_set_state),
3369         (gst_element_change_state), (gst_element_change_state_func):
3370         * gst/gstelement.h:
3371         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3372         (gst_pipeline_provide_clock_func):
3373         * gst/gstutils.c: (gst_element_link_pads_filtered):
3374         * tools/gst-launch.c: (main):
3375         * tools/gst-typefind.c: (main):
3376         Use GstClockTime in _get_state() instead of GTimeVal.
3377         Remove old code in gstutils.c
3378
3379 2005-10-12  Andy Wingo  <wingo@pobox.com>
3380
3381         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3382         removed.
3383
3384         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3385         there is no task. Shouldn't affect any code, as nothing in our
3386         plugins checks this return value.
3387         (gst_pad_stop_task): Also take the stream lock if the pad has no
3388         task. Docs updated.
3389
3390 2005-10-12  Wim Taymans  <wim@fluendo.com>
3391
3392         * gst/gstpad.c: (pre_activate), (post_activate),
3393         (gst_pad_activate_pull), (gst_pad_activate_push):
3394         Cleanup activation code. Reset old state if
3395         activation failed.
3396
3397 2005-10-12  Wim Taymans  <wim@fluendo.com>
3398
3399         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3400         (gst_base_sink_change_state):
3401         No need to prerol after receiving EOS.
3402
3403         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3404         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3405         * gst/elements/gstidentity.c: (gst_identity_event):
3406         Print events more verbosely.
3407
3408 2005-10-12  Wim Taymans  <wim@fluendo.com>
3409
3410         * check/Makefile.am:
3411         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3412         * check/states/sinks2.c:
3413         Moved sinks2 testcode in sinks check.
3414
3415         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3416         (gst_bin_remove_func), (gst_bin_recalc_state),
3417         (gst_bin_change_state_func), (bin_bus_handler):
3418         Fix potential race condition when _get_state() iterated over an
3419         ASYNC element right before it posted a state completion.
3420
3421         * gst/gstclock.h:
3422         Do proper cast here.
3423
3424         * gst/gstevent.c: (gst_event_new_newsegment),
3425         (gst_event_parse_newsegment):
3426         A playback rate of 0.0 is not allowed.
3427
3428 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3429
3430         * win32/common/config.h:
3431         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3432         (_trewinddir), (_ttelldir), (_tseekdir):
3433         * win32/common/dirent.h:
3434         * win32/common/gtchar.h:
3435         * win32/common/libgstbase.def:
3436         * win32/common/libgstreamer.def:
3437         * win32/vs6/grammar.dsp:
3438         * win32/vs6/gst_inspect.dsp:
3439         * win32/vs6/gst_launch.dsp:
3440         * win32/vs6/gstreamer.dsw:
3441         * win32/vs6/libgstbase.dsp:
3442         * win32/vs6/libgstelements.dsp:
3443         * win32/vs6/libgstreamer.dsp:
3444           Visual Studio 6 project files, and a new common directory.
3445           Phear.
3446
3447 2005-10-11  Wim Taymans  <wim@fluendo.com>
3448
3449         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3450         (gst_base_sink_do_sync), (gst_base_sink_query),
3451         (gst_base_sink_change_state):
3452         * gst/base/gstbasesink.h:
3453         Correctly parse newsegment info.
3454
3455 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3456
3457         * gst/gst.c: (init_post):
3458           split plugin paths correctly
3459
3460 2005-10-11  Wim Taymans  <wim@fluendo.com>
3461
3462         * check/gst/gstevent.c: (GST_START_TEST):
3463         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3464         (gst_base_sink_change_state):
3465         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3466         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3467         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3468         * gst/gstevent.c: (gst_event_new_newsegment),
3469         (gst_event_parse_newsegment):
3470         * gst/gstevent.h:
3471         Added extra flag to newsegment for future API freeze.
3472         Updated check and base elements.
3473
3474 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3475
3476         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3477         (gst_collectpads_add_pad), (gst_collectpads_pop),
3478         (gst_collectpads_event), (gst_collectpads_chain):
3479         * gst/base/gstcollectpads.h: Handle EOS correctly.
3480
3481 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3482
3483         * tools/gst-launch.c: (main):
3484           more null protecting
3485
3486 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3487
3488         * gst/gst-i18n-lib.h:
3489           check for ENABLE_NLS, not GETTEXT_PACKAGE
3490         * gst/gstregistry.c: (gst_registry_add_plugin),
3491         (gst_registry_scan_path_level),
3492         (_gst_registry_remove_cache_plugins):
3493           protect possibly NULL strings
3494         * gst/parse/types.h:
3495           config.h already included before
3496         * tools/gst-inspect.c: (main):
3497           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3498           check for ENABLE_NLS, not GETTEXT_PACKAGE
3499         * tools/gst-launch.c: (main):
3500           check for ENABLE_NLS, not GETTEXT_PACKAGE
3501
3502 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3503
3504         * configure.ac:
3505           if we don't have glib, fail before testing 2.8
3506         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3507           fix a leak, should fix plugins-base testsuite
3508
3509 2005-10-11  Andy Wingo  <wingo@pobox.com>
3510
3511         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3512         take the mode we're going to as an arg. Go head and set the mode
3513         and flushing flags now, so that if the activate function starts a
3514         thread all the flags will be in the right state.
3515         (post_activate): Renamed also. Just handle making sure streaming
3516         finishes for the deactivation case, and setting the deactivated
3517         mode.
3518         (gst_pad_set_active): Complain loudly if deactivation fails.
3519         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3520         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3521         remove the terrible hack.
3522
3523 2005-10-11  Wim Taymans  <wim@fluendo.com>
3524
3525         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3526         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3527         (gst_bin_recalc_state), (gst_bin_change_state_func),
3528         (gst_bin_dispose), (bin_bus_handler):
3529         * gst/gstbin.h:
3530         Prepare to make current EOS message queue more generic.
3531         Fix some typos.
3532
3533         * gst/gstevent.c: (gst_event_new_newsegment),
3534         (gst_event_parse_newsegment):
3535         * gst/gstevent.h:
3536         Rename base to stream_time.
3537
3538         * gst/gstmessage.h:
3539         Fix typo in docs.
3540
3541 2005-10-11  Wim Taymans  <wim@fluendo.com>
3542
3543         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3544         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3545         (gst_bin_change_state_func), (bin_bus_handler):
3546         * gst/gstbin.h:
3547         Work on proper clock selection.
3548
3549 2005-10-11  Edward Hervey  <edward@fluendo.com>
3550
3551         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3552         * libs/gst/controller/gstcontroller.h:
3553         Added GList* version of _remove_properties() in order to be able to wrap
3554         it in bindings.
3555
3556 2005-10-11  Wim Taymans  <wim@fluendo.com>
3557
3558         * docs/design/part-states.txt:
3559         Some more docs.
3560
3561         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3562         (gst_bin_change_state_func), (bin_bus_handler):
3563         Doc updates. Don't distribute the same clock over and over again.
3564
3565         * gst/gstclock.c:
3566         * gst/gstclock.h:
3567         Doc updates.
3568
3569         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3570         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3571         (gst_pad_send_event):
3572         * gst/gstpad.h:
3573         Make probe emission threadsafe again.
3574         Register quarks and move _get_name() from utils.
3575         Doc updates.
3576
3577         * gst/gstpipeline.c: (gst_pipeline_class_init),
3578         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3579         Only redistribute the clock of it changed.
3580
3581         * gst/gstsystemclock.h:
3582         Doc updates. 
3583
3584         * gst/gstutils.c:
3585         * gst/gstutils.h:
3586         Moved the _flow_get_name() to GstPad.
3587
3588 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3589
3590         * check/gst-libs/gdp.c: (GST_START_TEST):
3591         * check/gst/gstcaps.c: (GST_START_TEST):
3592         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3593         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3594         (gst_dp_packet_from_caps):
3595           fix more valgrind warnings before turning up the heat
3596
3597 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3598
3599         * gst/parse/grammar.y:
3600           some cleanup before the hacking
3601
3602 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3603
3604         * gst/base/gstbasesrc.c: (gst_base_src_query):
3605           use conversions
3606         * gst/gstutils.c: (gst_guint64_to_gdouble),
3607         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3608         * gst/gstutils.h:
3609           externalize, basesrc uses it
3610           obviously the implementation needs testing
3611
3612 2005-10-10  Wim Taymans  <wim@fluendo.com>
3613
3614         * tests/sched/Makefile.am:
3615         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3616         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3617
3618 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3619
3620         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3621           apparently converting from guint64 to double is not implemented
3622           on MSVC
3623
3624 2005-10-10  Wim Taymans  <wim@fluendo.com>
3625
3626         * check/Makefile.am:
3627         * check/generic/states.c: (GST_START_TEST):
3628         * check/gst/gstbin.c: (GST_START_TEST):
3629         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3630         * check/states/sinks.c: (GST_START_TEST):
3631         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3632         (main):
3633         Check fixes, use API as stated in design docs, remove hacks.
3634
3635         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3636         (gst_base_sink_change_state):
3637         Catch stopping our task while we're shutting down.
3638
3639         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3640         (gst_bin_remove_func), (gst_bin_get_state_func),
3641         (gst_bin_recalc_state), (gst_bin_change_state_func),
3642         (bin_bus_handler):
3643         * gst/gstbin.h:
3644         * gst/gstelement.c: (gst_element_init),
3645         (gst_element_get_state_func), (gst_element_abort_state),
3646         (gst_element_commit_state), (gst_element_lost_state),
3647         (gst_element_set_state), (gst_element_change_state),
3648         (gst_element_change_state_func):
3649         * gst/gstelement.h:
3650         New state change algorithm (see #318116)
3651
3652         * gst/gstpipeline.c: (gst_pipeline_class_init),
3653         (gst_pipeline_init), (gst_pipeline_set_property),
3654         (gst_pipeline_get_property), (do_pipeline_seek),
3655         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3656         * gst/gstpipeline.h:
3657         Remove crude state change hacks.
3658
3659         * gst/gstutils.h:
3660         Remove crude hacks.
3661
3662         * tools/gst-launch.c: (main):
3663         Fixes for state change. Needs some more work to fully use the
3664         new stuff.
3665
3666 2005-10-10  Andy Wingo  <wingo@pobox.com>
3667
3668         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3669
3670         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3671         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3672         issue.
3673
3674 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3675
3676         * gst/gstiterator.c: (gst_iterator_new):
3677           Fix my previous commit: GTypes passed to gst_iterator_new()
3678           can be fundamental types.
3679
3680 2005-10-10  Wim Taymans  <wim@fluendo.com>
3681
3682         * gst/gstelement.c: (gst_element_iterate_pad_list),
3683         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3684         (gst_element_iterate_sink_pads):
3685         Use src/sink pads lists for the respective iterators instead
3686         of filtering.
3687
3688 2005-10-10  Andy Wingo  <wingo@pobox.com>
3689
3690         Merged in popt removal + GOption addition patch from Ronald, bug
3691         #169772.
3692
3693         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3694         GstElement macros around, remove popt-related symbols, add goption
3695         stuff.
3696
3697         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3698         
3699         * docs/gst/Makefile.am:
3700         * docs/libs/Makefile.am: No POPT_CFLAGS.
3701         
3702         * examples/manual/Makefile.am:
3703         * docs/manual/basics-init.xml: Doc updates with an example.
3704         
3705         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3706         (gst_init), (parse_one_option), (parse_goption_arg):
3707         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3708         bit of hand merging and debugging to get the GOption stuff working
3709         tho.
3710         
3711         * tests/Makefile.am:
3712         * tools/Makefile.am:
3713         * tools/gst-inspect.c: (main):
3714         * tools/gst-launch.c: (main):
3715         * tools/gst-run.c: (main):
3716         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3717
3718 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3719
3720         * gst/gstiterator.c: (gst_iterator_new):
3721           Add assertions to make sure passed GType is likely to really
3722           be a GType (as the compiler won't catch it if the size and
3723           GType arguments get mixed up, see #318447).
3724
3725 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
3726
3727         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3728
3729         * gst/gstbin.c: (gst_bin_iterate_sorted):
3730           Pass GType and size arguments to gst_iterator_new() in the right
3731           order (maybe we should make _new() take the GType as first argument
3732           just like _new_list()?) (#318447).
3733           
3734
3735 2005-10-10  Wim Taymans  <wim@fluendo.com>
3736
3737         * gst/gstelement.c: (gst_element_finalize):
3738         And free the GStaticRecMutex too
3739
3740 2005-10-10  Andy Wingo  <wingo@pobox.com>
3741
3742         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3743         Allocate and free the mutex properly.
3744
3745         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3746         New macros.
3747         (GstElement): The state_lock is now recursive. Rebuild your
3748         plugins, suckers. Old macros adapted.
3749
3750         * docs/gst/gstreamer-sections.txt: Doc updates.
3751
3752         * gst/gstutils.h:
3753         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
3754         (g_static_rec_cond_wait): Ported from state changes patch, while
3755         we wait on bug #317802 to be solved in a well-distributed GLib.
3756
3757         * gst/gstelement.c (gst_element_change_state_func): Renamed from
3758         gst_element_change_state, variable name changes.
3759         (gst_element_change_state): Split out of gst_element_set_state in
3760         preparation for the state change merge. Doesn't pay attention to
3761         the 'transition' argument.
3762         (gst_element_set_state): Updates, hopefully purely cosmetic.
3763         (gst_element_sync_state_with_parent): MT-safety. Ported from the
3764         state change patch.
3765         (gst_element_get_state_func): Renamed from get_state, cosmetic
3766         changes.
3767
3768 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3769
3770         * gst/elements/gstelements.c:
3771         * win32/GStreamer.vcproj:
3772         * win32/config.h:
3773         * win32/dirent.c: (_tseekdir):
3774         * win32/gst-inspect.vcproj:
3775         * win32/gst-launch.vcproj:
3776         * win32/gstconfig.h:
3777         * win32/gstelements.vcproj:
3778         * win32/gstenumtypes.c: (gst_object_flags_get_type):
3779         * win32/gstreamer.def:
3780         * win32/msvc71.sln:
3781           updates for the win32 build (patch from Sebastien Moutte)
3782
3783 2005-10-10  Andy Wingo  <wingo@pobox.com>
3784
3785         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3786         gst_bin_get_state, cleaned up (but no logic changes).
3787         (bin_element_is_sink): Comment updates.
3788         (sink_iterator_filter): Remove needless cast.
3789         (gst_bin_iterate_sinks): Doc update.
3790         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3791         cleaned up (but no logic changes).
3792
3793         * check/states/sinks.c (test_src_sink): Cleanups from the state
3794         change patch.
3795         (test_livesrc_sink): Sync on the state.
3796
3797         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3798         the state change patch.
3799
3800         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3801         change patch.
3802
3803         * check/gst/gstbin.c: Merge in some style fixes and additional
3804         checks from Wim's state change patch.
3805
3806 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3807
3808         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3809         (gst_type_find_helper):
3810           Check whether we have the requested data already in our list of
3811           cached buffers before pulling a new buffer; also make the buffer
3812           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3813
3814 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3815
3816         * gst/gstcaps.c:
3817         * gst/gstevent.c:
3818           doc updates
3819         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3820           don't use long long, it's not portable.  Replacing with
3821           gint64 seems to work; let's hope no skeletons fall out of the closet.
3822
3823 2005-10-10  Andy Wingo  <wingo@pobox.com>
3824
3825         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3826
3827 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
3828
3829         * docs/gst/gstreamer-sections.txt:
3830         * gst/gstevent.c:
3831         * gst/gstevent.h:
3832         * gst/gstinfo.c:
3833         * gst/gstinfo.h:
3834         * gst/gstmessage.c: (gst_message_parse_state_changed):
3835         * gst/gstpad.c:
3836         * gst/gstpad.h:
3837           more docs, fix compilation
3838
3839 2005-10-09  Philippe Khalaf <burger@speedy.org>
3840         * gst/gstmessage.c:
3841           Fixed a few forgotten variables on previous commit
3842
3843 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3844
3845         * gst/base/gsttypefindhelper.c: (helper_find_peek):
3846           Fix evil typefind crasher: getrange() might return a short
3847           buffer at the end of a file, but gst_type_find_peek() must
3848           either return the full data as requested or NULL, but
3849           never a short buffer.
3850
3851 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3852
3853         * gst/gstmessage.c: (gst_message_new_state_changed),
3854         (gst_message_parse_state_changed):
3855         * gst/gstmessage.h:
3856           don't use "new", it's a C++ keyword
3857
3858 2005-10-08  Wim Taymans  <wim@fluendo.com>
3859
3860         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3861         * gst/gstelement.c: (gst_element_post_message):
3862         * gst/gstpipeline.c: (gst_pipeline_change_state):
3863         Small docs and debug updates.
3864
3865 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3866
3867         * docs/gst/gstreamer-sections.txt:
3868         * gst/gstelementfactory.c:
3869         * gst/gstevent.c:
3870         * gst/gsttaglist.c:
3871           more docs
3872
3873 2005-10-08  Wim Taymans  <wim@fluendo.com>
3874
3875         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3876         (gst_bin_dispose), (bin_bus_handler):
3877         Fix typos, add comments.
3878         Clear EOS list when going to PAUSED from any direction and do it
3879         in a threadsafe way.
3880         Get base time in a threadsafe way too.
3881         Fix confusing debug in the change_state function.
3882         Various other small cleanups.
3883         
3884         * gst/gstelement.c: (gst_element_post_message):
3885         Fix very verbose bus posting code.
3886
3887         * gst/gstpipeline.c: (gst_pipeline_class_init),
3888         (gst_pipeline_set_property), (gst_pipeline_get_property),
3889         (gst_pipeline_change_state):
3890         Small ARG_ -> PROP_ cleanup
3891
3892 2005-10-08  Wim Taymans  <wim@fluendo.com>
3893
3894         * gst/gstbin.c: (is_eos), (bin_bus_handler):
3895         Do a less CPU demanding EOS check because we can.
3896
3897 2005-10-08  Wim Taymans  <wim@fluendo.com>
3898
3899         * libs/gst/dataprotocol/dataprotocol.c:
3900         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3901         (gst_dp_packet_from_event):
3902         * libs/gst/dataprotocol/dataprotocol.h:
3903         * libs/gst/dataprotocol/dp-private.h:
3904         It's about time we bump the version number.
3905         Since event types don't fit in the guint8 anymore describing
3906         the payload type, make payload type 16 bits wide.
3907
3908 2005-10-08  Wim Taymans  <wim@fluendo.com>
3909
3910         * docs/design/part-TODO.txt:
3911         * docs/design/part-clocks.txt:
3912         * docs/design/part-events.txt:
3913         * docs/design/part-gstbin.txt:
3914         * docs/design/part-gstelement.txt:
3915         * docs/design/part-gstpipeline.txt:
3916         * docs/design/part-live-source.txt:
3917         * docs/design/part-messages.txt:
3918         * docs/design/part-overview.txt:
3919         * docs/design/part-states.txt:
3920         Many doc updates.
3921
3922 2005-10-08  Wim Taymans  <wim@fluendo.com>
3923
3924         * gst/gstevent.c:
3925         * gst/gstevent.h:
3926         Fix event quark registration.
3927         Add some space between events so we can insert them in the
3928         right groups.
3929
3930 2005-10-08  Wim Taymans  <wim@fluendo.com>
3931
3932         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3933         (gst_base_sink_handle_buffer):
3934         Better log message.
3935
3936         * gst/gstbus.h:
3937         * gst/gstelement.h:
3938         More docs.
3939
3940         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3941         (gst_queue_set_property), (gst_queue_get_property):
3942         * gst/gstqueue.h:
3943         Remove old unused properties.
3944
3945 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3946         * docs/gst/gstreamer-sections.txt:
3947         * gst/gstmessage.c:
3948         * gst/gstmessage.h:
3949         * gst/gstminiobject.c:
3950         * gst/gstminiobject.h:
3951         * gst/gstobject.h:
3952         * gst/gstpad.h:
3953         * gst/gstutils.h:
3954           lots of new docs and doc fixes
3955
3956 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3957
3958         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3959         * gst/gstplugin.h:
3960         * gst/gstregistry.c: (gst_registry_lookup_locked),
3961         (gst_registry_scan_path_level):
3962         * gst/gstregistryxml.c: (load_plugin):
3963           Only ever load one plugin for a given plugin basename.
3964           This ensures correct overriding of GST_PLUGIN_PATH over
3965           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3966           system installed plugins.
3967
3968 2005-10-08  Wim Taymans  <wim@fluendo.com>
3969
3970         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3971         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3972         Prepare for doing QOS.
3973
3974 2005-10-08  Wim Taymans  <wim@fluendo.com>
3975
3976         * check/gst/gstbin.c: (GST_START_TEST):
3977         * check/pipelines/cleanup.c: (GST_START_TEST):
3978         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3979         Allow new clock message too.
3980
3981 2005-10-08  Wim Taymans  <wim@fluendo.com>
3982
3983         * gst/gstmessage.c: (gst_message_new_error),
3984         (gst_message_new_warning), (gst_message_new_tag),
3985         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3986         (gst_message_new_clock_lost), (gst_message_new_new_clock),
3987         (gst_message_new_segment_start), (gst_message_new_segment_done),
3988         (gst_message_parse_state_changed),
3989         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3990         (gst_message_parse_new_clock):
3991         * gst/gstmessage.h:
3992         Also carry the clock in question.
3993
3994 2005-10-08  Wim Taymans  <wim@fluendo.com>
3995
3996         * gst/gstmessage.c: (gst_message_new_custom),
3997         (gst_message_new_eos), (gst_message_new_error),
3998         (gst_message_new_warning), (gst_message_new_tag),
3999         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4000         (gst_message_new_new_clock), (gst_message_new_segment_start),
4001         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4002         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4003         * gst/gstmessage.h:
4004         Clean up.
4005         Added clock related messages.
4006
4007         * gst/gstpipeline.c: (gst_pipeline_change_state):
4008         Post message when the clock changed.
4009
4010         * tools/gst-launch.c: (event_loop):
4011         Print new clock.
4012
4013 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4014
4015         * tools/gst-inspect.c: (print_element_properties_info):
4016           Can't pass NULL strings to g_print() on windows.
4017
4018 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4019
4020         * docs/Makefile.am:
4021         * docs/gst/Makefile.am:
4022         * docs/gst/gstreamer-docs.sgml:
4023         * docs/gst/running.xml:
4024         * docs/version.entities.in:
4025           add a chapter on running GStreamer.
4026           document GST_DEBUG and GST_PLUGIN* env vars
4027
4028 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4029
4030         * Makefile.am:
4031           remove include dir
4032         * configure.ac:
4033           remove PLUGINS_BUILDDIR stuff
4034         * gst/gst.c: (init_post):
4035           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4036         * idiottest.mak:
4037           remove, it was condescending and not needed
4038
4039 2005-10-08  Wim Taymans  <wim@fluendo.com>
4040
4041         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4042         (gst_base_sink_handle_object), (gst_base_sink_event),
4043         (gst_base_sink_wait), (gst_base_sink_handle_event),
4044         (gst_base_sink_change_state):
4045         * gst/base/gstbasesink.h:
4046         Repost EOS message while going to PLAYING if still EOS.
4047         Make sure that when receiving a FLUSH_START we don't attempt
4048         to sync on the clock anymore.
4049
4050 2005-10-08  Wim Taymans  <wim@fluendo.com>
4051
4052         * tools/gst-launch.c: (event_loop):
4053         Better message printout.
4054
4055 2005-10-08  Wim Taymans  <wim@fluendo.com>
4056
4057         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4058         (gst_bin_child_proxy_get_children_count):
4059         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4060         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4061         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4062         (gst_child_proxy_set_valist):
4063         * gst/parse/grammar.y:
4064         Make ChildProxy threadsafe and fix mem leaks.
4065
4066 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4067
4068         * gst/gst.c: (init_post):
4069           debug the GST_PLUGIN_ env vars
4070
4071 2005-10-08  Wim Taymans  <wim@fluendo.com>
4072
4073         * check/gst/gstbin.c: (GST_START_TEST):
4074         * check/gst/gstmessage.c: (GST_START_TEST):
4075         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4076         * gst/gstelement.c: (gst_element_commit_state),
4077         (gst_element_lost_state):
4078         * gst/gstmessage.c: (gst_message_new_state_changed),
4079         (gst_message_parse_state_changed):
4080         * gst/gstmessage.h:
4081         * tools/gst-launch.c: (event_loop):
4082         Added extra field to STATE_CHANGE message with the pending
4083         state, which will be different from the new state soon.
4084
4085 2005-10-08  Wim Taymans  <wim@fluendo.com>
4086
4087         * gst/gstbus.c: (gst_bus_pop):
4088         * gst/gstclock.c:
4089         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4090         Small cleanups and doc updates.
4091
4092 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4093
4094         * gst/gst.c: (init_pre):
4095         * gst/gstbin.c: (gst_bin_add_func):
4096           log distributing clocks and base time
4097         * gst/gstregistry.c: (gst_registry_add_plugin),
4098         (gst_registry_scan_path_level), (gst_registry_scan_path):
4099           clean up the debugging output a little
4100         * gst/gstutils.c: (gst_element_state_get_name):
4101           warn about a memleak (I've actually seen this be used, though
4102           it was probably a bug)
4103
4104 2005-10-07  Wim Taymans  <wim@fluendo.com>
4105
4106         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4107         (gst_base_src_init), (gst_base_src_default_newsegment),
4108         (gst_base_src_newsegment), (gst_base_src_do_seek),
4109         (gst_base_src_loop), (gst_base_src_start):
4110         * gst/base/gstbasesrc.h:
4111         Make the newsegment event customizable by subclasses.
4112
4113 2005-10-07  Wim Taymans  <wim@fluendo.com>
4114
4115         * gst/gstevent.c: (gst_event_new_buffersize),
4116         (gst_event_parse_buffersize):
4117         * gst/gstevent.h:
4118         New event for future idea.
4119
4120 2005-10-07  Andy Wingo  <wingo@pobox.com>
4121
4122         * gst/gstelement.c (gst_element_post_message): Doc update.
4123
4124         * docs/gst/gstreamer-sections.txt: Update.
4125
4126         * gst/gstmessage.c (gst_message_new_application): Made into a
4127         function like honest API calls.
4128         (gst_message_new_element): New message type.
4129
4130         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4131
4132         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4133         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4134         times.
4135
4136         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4137         NO_PREROLL from gst_element_change_state to fall through.
4138
4139 2005-10-07  Wim Taymans  <wim@fluendo.com>
4140
4141         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4142         (gst_ghost_pad_do_activate_push):
4143         Activating a ghostpad with no internal pad in push mode
4144         is ok.
4145
4146 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4147
4148         * gst/gstobject.h:
4149           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4150           Fixes compilation on Windows.
4151
4152 2005-10-07  Michael Smith <msmith@fluendo.com>
4153
4154         * tools/gst-inspect.c:
4155           Print out feature and plugin count at the end when printing out
4156           all features.
4157
4158 2005-10-04  Michael Smith <msmith@fluendo.com>
4159
4160         * gst/gsterror.c: (_gst_stream_errors_init):
4161           Add another error string used in a few existing plugins.
4162
4163         * gst/gstplugin.c:
4164         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4165         * tools/gst-inspect.c: (print_element_info):
4166           When a feature disappears from a plugin (and the feature exists in
4167           the cached registry file), things went horribly wrong. This isn't a
4168           complete fix, we should actually be removing the 'missing' features
4169           from the features list when we load the actual plugin. That's not
4170           yet implemented. 
4171
4172 2005-10-04  Johan Dahlin  <johan@gnome.org>
4173
4174         * check/gst/gstiterator.c: (GST_START_TEST):
4175         * gst/gstbin.c: (gst_bin_iterate_elements),
4176         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4177         * gst/gstelement.c: (gst_element_iterate_pads):
4178         * gst/gstformat.c: (gst_format_iterate_definitions):
4179         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4180         (gst_iterator_new_list), (gst_iterator_filter):
4181         * gst/gstiterator.h:
4182         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4183         Add a GType to GstIterator, update callsites and tests.
4184
4185 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4186
4187         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4188           give events a chance to be handled by event probes when the pad
4189           is not linked
4190
4191 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4192
4193         * gst/gstevent.c: (gst_event_type_get_name),
4194         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4195         * gst/gstevent.h:
4196           add string representations for event types
4197
4198 2005-10-06  Wim Taymans  <wim@fluendo.com>
4199
4200         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4201         Don't use NULL pointers.
4202
4203 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4204
4205         * gst/gst_private.h:
4206         * gst/gstbus.c:
4207         * gst/gstelement.c:
4208         * gst/gstinfo.c:
4209         * gst/gstpluginfeature.c:
4210           widen the debug category in output to fit the biggest one we have
4211           add a bus category and use it
4212           play with the colors
4213           fix up some categories
4214
4215 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4216
4217         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4218           add push activation of sink ghost pads.
4219           Andye, please verify
4220
4221 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4222
4223         * gst/gstutils.c: (gst_element_link_pads):
4224           fix a bug in the case where neither element has a pad
4225         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4226           add a test for that case
4227
4228 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4229
4230         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4231           emit have-data before checking for peers.  This allows
4232           for probe handlers to connect elements.  This helps autopluggers.
4233         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4234         (gst_pad_suite):
4235           add six checks, linked/unlinked with no/true/false probe
4236
4237 2005-10-04  Wim Taymans  <wim@fluendo.com>
4238
4239         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4240         (gst_fake_sink_event), (gst_fake_sink_preroll),
4241         (gst_fake_sink_render), (gst_fake_sink_change_state):
4242         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4243         (gst_fake_src_get_property), (gst_fake_src_create),
4244         (gst_fake_src_stop):
4245         * gst/elements/gstidentity.c: (gst_identity_stop):
4246         Protect last_message with lock.
4247
4248 2005-10-04  Edward Hervey  <edward@fluendo.com>
4249
4250         * gst/gstformat.h: 
4251         Added precision in the comments for GST_FORMAT_DEFAULT
4252
4253 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4254
4255         * tools/gst-launch.c: (main):
4256           Don't try to run erroneous pipelines.
4257
4258 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4259
4260         * gst/gstbus.c: We don't need this header.
4261
4262 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4263
4264         * configure.ac:
4265           back to development
4266
4267 === release 0.9.3 ===
4268
4269 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4270
4271         * README:
4272         * configure.ac:
4273           Releasing 0.9.3, "Unregistered"
4274
4275 2005-10-03  Andy Wingo  <wingo@pobox.com>
4276
4277         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4278         whereby calling a pad's activatepush() function can start a thread
4279         that starts to push or pull before the pad gets the FLUSHING flag
4280         unset. Hack around it by holding the stream lock until the flag is
4281         set. Need to replace this with a proper solution. Together with
4282         the ghost pad fixes, this fixes mp3 playing/tagreading.
4283
4284         * docs/design/part-gstghostpad.txt: Add a note about activation of
4285         proxy pads outside of ghost pads.
4286
4287         * gst/gstghostpad.c: Implement the ghost pad activation design.
4288
4289 2005-10-02  Andy Wingo  <wingo@pobox.com>
4290
4291         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4292         It is volatile, after all.
4293
4294         * docs/design/part-gstghostpad.txt: Flesh out activation with
4295         ghost pads.
4296
4297         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4298         GST_DEBUG_FUNCPTR.
4299
4300 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4301
4302         * configure.ac:
4303           Fix (unused) AM_CONDITIONAL tests.
4304
4305 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4306
4307         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4308
4309         * gst/gstutils.c: (gst_pad_query_convert):
4310           Add assertion that makes sure src_val is >=0, just like
4311           gst_query_new_convert() has. (#315895)
4312
4313 2005-09-30  Edward Hervey  <edward@fluendo.com>
4314
4315         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4316         Let's not iterate pads we're not interested in, it avoids getting 
4317         sky-high refcounts on sinkpad.
4318
4319 2005-09-30  Wim Taymans  <wim@fluendo.com>
4320
4321         * gst/gstelement.c: (gst_element_set_state),
4322         (gst_element_change_state):
4323         Small tweak, element in ASYNC remains ASYNC.
4324
4325 2005-09-30  Wim Taymans  <wim@fluendo.com>
4326
4327         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4328         Only error is an error.
4329
4330         * gst/gstbin.c: (gst_bin_change_state):
4331         Better debugging.
4332
4333         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4334         Also call pad_block in pad alloc.
4335
4336         * gst/gstutils.c: (gst_flow_get_name):
4337         Better debugging.
4338
4339 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4340
4341         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4342         (gst_base_src_get_range):
4343           Fix documentation typos. Add some more debug info.
4344
4345 2005-09-29  David Schleef  <ds@schleef.org>
4346
4347         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4348           more end-user friendly.
4349         * tools/gst-inspect.c: (main): Check if command-line argument is
4350           a file and attempt to load that file as a plugin.
4351
4352 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4353
4354         * check/gst/gstbin.c:
4355         * check/states/sinks.c:
4356           fix tests for the new warning
4357         * check/gst/gstpipeline.c:
4358           add a test for pipeline and bus interaction
4359         * gst/gstelement.c:
4360           elements should be NULL if they get disposed; add a warning if not
4361
4362 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4363
4364         * gst/gstobject.c:
4365           for 2.6 refcounting, make debug log more correct by printing
4366           the actual refcounts at the time of swap (Wim)
4367
4368 2005-09-29  Andy Wingo  <wingo@pobox.com>
4369
4370         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4371         removes signal watches previously added via
4372         gst_bus_add_signal_watch.
4373         (gst_bus_add_signal_watch): Don't return the source id, just store
4374         it on the bus if there wasn't an id already.
4375
4376         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4377         add_signal_watch and remove_signal_watch.
4378
4379 2005-09-29  Edward Hervey  <edward@fluendo.com>
4380
4381         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4382         Better if we actually iterate the list :)
4383
4384 2005-09-29  Wim Taymans  <wim@fluendo.com>
4385
4386         * check/gst/gstbin.c: (GST_START_TEST):
4387         Change for new bus API.
4388
4389         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4390         (send_messages), (GST_START_TEST), (gstbus_suite):
4391         Change for new bus signal API.
4392
4393         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4394         (gst_bus_source_prepare), (gst_bus_source_check),
4395         (gst_bus_create_watch), (gst_bus_add_watch_full),
4396         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4397         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4398         * gst/gstbus.h:
4399         Remove support for multiple GSources operating on different
4400         message types as it is too complex and unneeded when using
4401         signals.
4402         Added support for receiving signals from the bus.
4403
4404 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4405
4406         * docs/libs/tmpl/gstdataprotocol.sgml:
4407         * docs/manual/advanced-dataaccess.xml:
4408         * gst/elements/gstcapsfilter.c:
4409         * gst/gstutils.c:
4410           rename filter-caps to caps property
4411
4412 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4413
4414         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4415           More robust fraction string parsing.
4416
4417         * docs/pwg/appendix-porting.xml:
4418           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4419
4420 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4421
4422         * gst/gstcaps.c: (gst_caps_do_simplify):
4423           Thou shalt not free a structure and then continue using it
4424           in the next loop iteration.
4425
4426         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4427         (gst_caps_suite):
4428           Add test case for caps simplification.
4429
4430 2005-09-29  Wim Taymans  <wim@fluendo.com>
4431
4432         * check/gst/gstbin.c: (GST_START_TEST):
4433         Oops.
4434
4435 2005-09-29  Wim Taymans  <wim@fluendo.com>
4436
4437         * check/gst/gstbin.c: (GST_START_TEST):
4438         Add bus to bin.
4439
4440         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4441         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4442         (find_element), (gst_bin_sort_iterator_next),
4443         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4444         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4445         (gst_bin_change_state), (gst_bin_dispose):
4446         A bin does not have a bus, it gets the bus from the parent.
4447
4448         * gst/gstelement.c: (gst_element_requires_clock),
4449         (gst_element_provides_clock), (gst_element_is_indexable),
4450         (gst_element_is_locked_state), (gst_element_change_state),
4451         (gst_element_set_bus_func):
4452         Small cleanups.
4453
4454         * gst/gstpipeline.c: (gst_pipeline_class_init),
4455         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4456         The pipeline provides a bus.
4457
4458 2005-09-28  Johan Dahlin  <johan@gnome.org>
4459
4460         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4461         gst_structure_get_enum instead of gst_structure_get_int
4462
4463         * gst/gststructure.c (gst_structure_get_enum): Impl.
4464
4465         * gst/gststructure.h (gst_structure_get_enum): Add
4466
4467         * docs/gst/gstreamer-sections.txt: Ditto
4468
4469         * gst/gstmessage.c (gst_message_new_state_changed): Use
4470         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4471         which does introspection.
4472         Reviewed by Christian Schaller
4473
4474 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4475
4476         * gst/gstinfo.c: (gst_debug_log_default):
4477           don't do dummy g_strdup()s
4478         * libs/gst/controller/gstcontroller.c:
4479         (on_object_controlled_property_changed),
4480         (gst_controlled_property_new), (gst_controller_new_valist),
4481         (gst_controller_new_list),
4482         (gst_controller_remove_properties_valist), (gst_controller_set),
4483         (gst_controller_get), (gst_controller_sync_values),
4484         (gst_controller_get_value_array), (_gst_controller_class_init),
4485         (gst_controller_get_type):
4486         * libs/gst/controller/gstcontroller.h:
4487         * libs/gst/controller/gstinterpolation.c:
4488         (gst_controlled_property_find_timed_value_node):
4489           convert // to /**/ comments
4490
4491 2005-09-28  Wim Taymans  <wim@fluendo.com>
4492
4493         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4494         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4495         (gst_bus_sync_signal_handler):
4496         * gst/gstbus.h:
4497         Added async-message and sync-message signals to the bus.
4498         Added helper BusFunc to emit signals for all posted messages.
4499
4500         * gst/gstmessage.c: (gst_message_type_get_name),
4501         (gst_message_type_to_quark), (gst_message_get_type):
4502         * gst/gstmessage.h:
4503         Register quarks for message names.
4504
4505 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4506
4507         * docs/libs/gstreamer-libs-sections.txt:
4508         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4509         (gst_controller_new_list):
4510         * libs/gst/controller/gstcontroller.h:
4511           added another constructor for language bindings
4512
4513 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4514
4515         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4516           add another check
4517         * gst/gstbus.c:
4518           add some doc
4519         * gst/gstinfo.c: (_gst_debug_init):
4520           slightly more readable color for refcount debugging
4521
4522 2005-09-28  Wim Taymans  <wim@fluendo.com>
4523
4524         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4525         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4526         (find_element), (gst_bin_sort_iterator_next),
4527         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4528         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4529         (gst_bin_change_state), (gst_bin_dispose):
4530         Small doc fixes. get_clock -> provide_clock.
4531
4532         * gst/gstelement.c: (gst_element_class_init),
4533         (gst_element_provides_clock), (gst_element_provide_clock),
4534         (gst_element_get_clock), (gst_element_commit_state),
4535         (gst_element_lost_state):
4536         * gst/gstelement.h:
4537         Make get/set_clock() symetric. Add provide_clock vmethod since
4538         that is actually what this function does.
4539
4540         * gst/gstpipeline.c: (gst_pipeline_class_init),
4541         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4542         (gst_pipeline_get_clock):
4543         get_clock -> provide_clock.
4544
4545 2005-09-28  Andy Wingo  <wingo@pobox.com>
4546
4547         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4548         lieu of real docs...
4549
4550         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4551
4552 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4553
4554         * gst/elements/gstcapsfilter.c:
4555         * gst/elements/gstfakesink.c:
4556         * gst/elements/gstfakesrc.c:
4557         * gst/elements/gstfdsink.c:
4558         * gst/elements/gstfdsrc.c:
4559         * gst/elements/gstfilesink.c:
4560         * gst/elements/gstfilesrc.c:
4561         * gst/elements/gstidentity.c:
4562         * gst/elements/gsttee.c:
4563         * gst/elements/gsttypefindelement.c:
4564           Make element details static.
4565
4566 2005-09-28  Wim Taymans  <wim@fluendo.com>
4567
4568         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4569         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4570         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4571         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4572         (gst_bin_change_state), (gst_bin_dispose):
4573         Some documentation updates.
4574         Clean up dispose handlers.
4575
4576         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4577         * gst/gstpad.c: (gst_pad_dispose):
4578         Clean up dispose handler.
4579
4580         * gst/gstpipeline.c: (gst_pipeline_change_state):
4581         Removed spurious UNLOCK.
4582
4583 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4584
4585         * docs/gst/gstreamer-sections.txt:
4586         * gst/base/gstbasesrc.h:
4587         * gst/gstelement.h:
4588         * gst/gstevent.h:
4589         * gst/gstobject.h:
4590         * gst/gstpad.h:
4591         * gst/gstpipeline.c:
4592         * gst/gstpipeline.h:
4593         * gst/gstutils.h:
4594         * gst/gstxml.h:
4595           added two new functions to the docs
4596                 documents all undocumented GstXXXFlags
4597                 completed some incomplete docs 
4598
4599 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4600
4601         * gst/gstbin.c: (gst_bin_dispose):
4602         * gst/gstelement.c: (gst_element_dispose):
4603           remove now useless and leaky resurrection code in dispose
4604         * gst/base/gstbasesrc.c: (gst_base_src_init):
4605         * gst/gstelementfactory.c: (gst_element_factory_create):
4606         * gst/gstobject.c: (gst_object_set_parent):
4607           add some debugging
4608
4609 2005-09-27  Wim Taymans  <wim@fluendo.com>
4610
4611         * docs/design/part-TODO.txt:
4612         Update TODO.
4613
4614         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4615         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4616         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4617         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4618         (gst_bin_change_state):
4619         * gst/gstelement.h:
4620         Remove element variable, we keep element info in the iterator now.
4621
4622 2005-09-27  Andy Wingo  <wingo@pobox.com>
4623
4624         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4625         values.
4626
4627 2005-09-27  Wim Taymans  <wim@fluendo.com>
4628
4629         * check/gst/gstbin.c: (GST_START_TEST):
4630         Enable check that works now.
4631
4632         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4633         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4634         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4635         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4636         (gst_bin_change_state):
4637         * gst/gstbin.h:
4638         Redid the state change algorithm using a topological sort algo.
4639         Handles all cases correctly.
4640         Exposed iterator for state change order.
4641
4642         * gst/gstelement.h:
4643         Temp storage for state changes. Need to get rid of this soon.
4644
4645 2005-09-27  Wim Taymans  <wim@fluendo.com>
4646
4647         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4648         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4649         (link_fold_func), (gst_pad_proxy_setcaps):
4650         Leak fixes, the fold functions need to unref the passed object and
4651         _get_parent_*() returns ref to parent.
4652
4653 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4654
4655         * check/gst/gstbuffer.c: (test_make_writable):
4656           Plug leak in test case and fix 'make check-valgrind'
4657
4658 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4659
4660         * gst/gstbuffer.c: (gst_subbuffer_init):
4661           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4662           works correctly in all circumstances (we could have just copied
4663           the parent buffer's readonly flag, but conceptually it seems
4664           cleaner to mark all subbuffers as read-only). (based on patch
4665           by Alessandro Decina, #314710).
4666         
4667         * check/gst/gstbuffer.c: (create_read_only_buffer),
4668         (test_make_writable), (test_subbuffer_make_writable),
4669         (gst_test_suite):
4670           Add some tests for gst_buffer_make_writable().
4671
4672 2005-09-27  Wim Taymans  <wim@fluendo.com>
4673
4674         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4675         use gst_object_has_ancestor().
4676
4677         * gst/gstobject.c: (gst_object_has_ancestor):
4678         * gst/gstobject.h:
4679         gst_object_has_ancestor() copied from gstbin.c as it is a
4680         usefull function.
4681
4682         * tests/instantiate/create.c: (create_all_elements):
4683         * tests/lat.c: (handoff_src), (handoff_sink):
4684         * tests/sched/runxml.c: (main):
4685         * tests/seeking/seeking1.c: (main):
4686         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4687         (main):
4688         Fix compilation of some tests.
4689
4690 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4691
4692         * gst/gsterror.h:
4693           Remove comment. GST_TYPE_G_ERROR is here to stay,
4694           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4695           (#316961, #300610).
4696
4697 2005-09-26  Wim Taymans  <wim@fluendo.com>
4698
4699         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4700         Added check that shows error in state change order.
4701
4702 2005-09-26  Wim Taymans  <wim@fluendo.com>
4703
4704         * gst/gstbin.c: (gst_bin_change_state):
4705         Make state change function use 3 queues again, we were
4706         adding elements in the wrong order.
4707
4708         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4709         Some debug info,
4710
4711         * gst/gstpad.c: (gst_pad_dispose):
4712         Added some debug info first.
4713
4714 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4715
4716         * docs/design/draft-push-pull.txt:
4717         * docs/design/part-events.txt:
4718         * docs/design/part-overview.txt:
4719         * docs/design/part-scheduling.txt:
4720           Replace all _pull_region() with _pull_range()
4721           
4722 2005-09-26  Andy Wingo  <wingo@pobox.com>
4723
4724         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4725
4726         * check/gst-libs/controller.c: Update for controller api change.
4727
4728         * configure.ac: 
4729         * tests/Makefile.am:
4730         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4731         over by GLib bug 118439.
4732         
4733         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4734         routines to a function.
4735
4736         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4737
4738         * libs/gst/controller/gsthelper.c:
4739         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4740         (gst_object_sync_values): Renamed from sink_values. Ugh.
4741
4742         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4743
4744         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4745         Renamed from controller_key, as it is exported.
4746
4747         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4748
4749 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4750
4751         * gst/Makefile.am:
4752         * gst/gst.h:
4753         * gst/gstpad.h:
4754         * gst/gstpadtemplate.h:
4755         * gst/gstquery.c:
4756         * gst/gstquery.h:
4757         * gst/gstqueryutils.c:
4758         * gst/gstqueryutils.h:
4759           remove queryutils headers after moving the two used functions
4760           to gstquery.  also fixes build problem for gstsiddec
4761
4762 2005-09-26  Michael Smith <msmith@fluendo.com>
4763
4764         * tools/gst-launch.1.in:
4765         Correct documentation in manpage of debug syntax
4766
4767 2005-09-26  Wim Taymans  <wim@fluendo.com>
4768
4769         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4770         (gst_base_src_is_seekable), (gst_base_src_change_state):
4771         Some more debugging info.
4772
4773 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4774
4775         * docs/gst/gstreamer-sections.txt:
4776         * gst/base/gstbasetransform.h:
4777         * gst/gstindex.h:
4778           added more docs
4779
4780 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4781
4782         * docs/gst/.cvsignore:
4783         * docs/gst/tmpl/.cvsignore:
4784         * docs/gst/tmpl/gstpipeline.sgml:
4785         * docs/gst/tmpl/gstplugin.sgml:
4786         * gst/gstpipeline.c:
4787         * gst/gstplugin.c:
4788         * gst/gstplugin.h:
4789           inlined the last two docs files
4790           removed the tmpl directory from cvs (no more conflicts here!)
4791
4792 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4793
4794         * docs/gst/gstreamer-sections.txt:
4795         * docs/gst/tmpl/.cvsignore:
4796         * docs/gst/tmpl/gstpad.sgml:
4797         * docs/gst/tmpl/gstpadtemplate.sgml:
4798         * gst/Makefile.am:
4799         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4800         (gst_pad_finalize), (gst_pad_set_pad_template):
4801         * gst/gstpad.h:
4802         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4803         (gst_pad_template_class_init), (gst_pad_template_init),
4804         (gst_pad_template_dispose), (name_is_valid),
4805         (gst_static_pad_template_get), (gst_pad_template_new),
4806         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4807         (gst_pad_template_pad_created):
4808         * gst/gstpadtemplate.h:
4809           inlined two more docs
4810           factored gstpadtemplate out of gstpad
4811
4812 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4813
4814         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4815         (test_children_state_change_order_semi_sink):
4816           Fix test case: we can't rely on a fixed state change order when
4817           going from READY => PAUSED because the sink might commit its 
4818           new state first when the first buffer created by the source 
4819           reaches the sink before the source has finished its change state.
4820           (Test case still fails at times, see #316856, comment 5 onwards)
4821
4822 2005-09-24  Wim Taymans  <wim@fluendo.com>
4823
4824         * docs/design/part-events.txt:
4825         * docs/design/part-gstbus.txt:
4826         * docs/design/part-gstpipeline.txt:
4827         * docs/design/part-messages.txt:
4828         * docs/design/part-overview.txt:
4829         * docs/design/part-segments.txt:
4830         * gst/gstbin.c:
4831         * gst/gstbuffer.c:
4832         * gst/gstclock.c:
4833         * gst/gstelement.c:
4834         * gst/gstevent.c:
4835         * gst/gstfilter.c:
4836         * gst/gstiterator.c:
4837         Various documentation updates.
4838
4839 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4840
4841         * gst/gstclock.h:
4842           Well, that's embarassing.  Luckily we weren't using
4843           GST_CLOCK_DIFF anywhere.
4844
4845 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4846
4847         * common/gtk-doc.mak:
4848           don't fail on building XML, FC4 slave shows a bunch of doc
4849           missing bits that I don't get
4850         * gst/gstpad.c:
4851         * gst/gstpipeline.c:
4852         * gst/gststructure.c:
4853           some doc updates
4854
4855 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4856
4857         * docs/design/part-gstbin.txt:
4858         * docs/design/part-gstbus.txt:
4859         * gst/gstbus.c:
4860           Add blurb about how the bus goes into flushing mode and
4861           drops all messages when its bin goes from READY into NULL 
4862           state.
4863
4864 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4865
4866         * docs/gst/gstreamer-sections.txt:
4867         * gst/gststructure.c: (gst_structure_get_clock_time):
4868         * gst/gststructure.h:
4869           add a method to get a GstClockTime out of a structure
4870
4871 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4872
4873         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4874         (test_children_state_change_order_semi_sink), (gst_bin_suite):
4875           Added test to check state change order in bins (can still be made
4876           to fail here under heavy disk load; bails out with 'Push on pad
4877           fakesink:sink0, but it was not activated in push mode').
4878
4879         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4880           Fix state change order when there is only a semi sink (#316856)
4881
4882         * gst/gstbus.c: (gst_bus_class_init):
4883           Use _class_peek_parent(), not _class_ref(); fix docs to say
4884           'default main context' instead of 'mainloop' where that is
4885           what's meant.
4886
4887         * gst/gstelement.c: (gst_element_commit_state),
4888         (gst_element_set_state):
4889           Fix typos in debug messages
4890
4891 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4892
4893         * docs/README:
4894         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4895         * gst/gstpluginfeature.c:
4896         * gst/gstutils.c:
4897           various doc updates
4898         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4899           change an assert into an error until it gets fixed properly
4900
4901 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
4902
4903         * docs/gst/gstreamer-sections.txt:
4904         * docs/gst/tmpl/.cvsignore:
4905         * docs/gst/tmpl/gstelement.sgml:
4906         * docs/gst/tmpl/gstinfo.sgml:
4907         * docs/gst/tmpl/gstobject.sgml:
4908         * gst/gstelement.c:
4909         * gst/gstelement.h:
4910         * gst/gstinfo.c:
4911         * gst/gstinfo.h:
4912         * gst/gstobject.c: (gst_object_class_init):
4913         * gst/gstobject.h:
4914           inlined 3 more biiiig doc files and added some missing docs on the fly
4915
4916 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4917
4918         * check/gst/.cvsignore:
4919         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4920         * gst/gstregistryxml.c: (load_plugin),
4921         (gst_registry_xml_save_plugin):
4922           put back source in registry.  add checks for find_plugin.
4923         * testsuite/states/bin.c: (assert_state), (empty_bin),
4924         (test_adding_one_element), (main):
4925         * testsuite/states/locked.c: (main):
4926           some compile/run fixes
4927
4928 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4929
4930         * check/gst/gstvalue.c: (GST_START_TEST):
4931           fix leaks in the test itself
4932
4933 2005-09-22  Wim Taymans  <wim@fluendo.com>
4934
4935         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4936         (gst_base_sink_send_event), (gst_base_sink_peer_query),
4937         (gst_base_sink_query):
4938         Prepare for more accurate position reporting and query
4939         handling.
4940
4941         * gst/gstelement.c: (gst_element_send_event),
4942         (gst_element_set_state):
4943         Add some comment.
4944
4945 2005-09-22  Wim Taymans  <wim@fluendo.com>
4946
4947         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4948         (gst_query_parse_segment):
4949         * gst/gstquery.h:
4950         More documentation.
4951         Add segment query for future use.
4952
4953 2005-09-22  Wim Taymans  <wim@fluendo.com>
4954
4955         * gst/gstbin.c: (gst_bin_add_func):
4956         Some more debug info.
4957
4958         * gst/gstelement.c: (gst_element_send_event):
4959         Simplify send_event
4960
4961         * gst/gstelement.h:
4962         Don't know how flags got broken.
4963
4964         * gst/gstquery.h:
4965         Added new query.
4966
4967 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4968
4969         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4970           Add simplistic test suite for GST_TYPE_DATE serialisation and
4971           deserialisation.
4972
4973 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4974
4975         * docs/gst/gstreamer-sections.txt:
4976         * gst/gststructure.c: (gst_structure_set_valist),
4977         (gst_structure_get_date):
4978         * gst/gststructure.h:
4979         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4980         (gst_date_copy), (gst_value_compare_date),
4981         (gst_value_serialize_date), (gst_value_deserialize_date),
4982         (gst_value_transform_date_string),
4983         (gst_value_transform_string_date), (_gst_value_initialize):
4984         * gst/gstvalue.h:
4985           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4986           bunch of utility functions along with a hack that checks that
4987           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4988           is required. Part of the grand scheme in #170777.
4989
4990 2005-09-22  Andy Wingo  <wingo@pobox.com>
4991
4992         * gst/gstconfig.h.in: Psych out gtk-doc.
4993
4994         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4995
4996         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4997
4998         * tools/gst-inspect.c (print_element_list): Plug some
4999         inconsequential leaks.
5000
5001         * gst/gstregistry.c (gst_registry_get_default): Doc.
5002
5003         * check/gst/gstplugin.c: 
5004         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5005         * gst/gstelementfactory.c (gst_element_factory_create): 
5006         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5007         refcount changes.
5008
5009         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5010         (gst_plugin_feature_load): Doc, don't eat refs.
5011
5012         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5013         (gst_plugin_list_free): Doc.
5014         (gst_plugin_load_file): Doc updates.
5015
5016         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5017         accessors returning refcounted objects, return a ref.
5018
5019         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5020         accessor for caps. IDEMPOTENCE. Oh yes.
5021
5022 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5023
5024         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5025
5026         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5027         (_gst_debug_register_funcptr):
5028           Add mutex to serialise access to the hash table with
5029           the function pointer => function name string mapping;
5030           make that hash table static scope (#316809).
5031
5032         * gst/registries/.cvsignore:
5033           Remove left-over file.
5034
5035 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5036
5037         * docs/pwg/appendix-porting.xml:
5038           And something about newsegment events and caps-on-buffers to
5039           the porting guide (feel free to improve).
5040
5041 2005-09-21  Andy Wingo  <wingo@pobox.com>
5042
5043         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5044         data and event probes on the same pad.
5045         (test_buffer_probe_once): Test that removing probes from within
5046         the probe functions works.
5047
5048 2005-09-21  Andy Wingo  <wingo@pobox.com>
5049
5050         * check/gst/gstutils.c: New file.
5051         (test_buffer_probe_n_times): A simple buffer probe test. More to
5052         come, foolios.
5053
5054         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5055         have-data::buffer, not have-data.
5056         (gst_pad_add_event_probe): Likewise for have-data::event.
5057         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5058         peer' isn't quite right yet though.
5059         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5060         (gst_pad_remove_data_probe): Change to take the guint handler_id
5061         as their arg, not the function+data, which is more glib-like.
5062
5063         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5064         the signal emission to indicate if the data is a buffer or an
5065         event.
5066         (gst_pad_get_type): Initialize buffer and event quarks.
5067         (gst_pad_class_init): have-data is now a detailed signal, yes it
5068         is.
5069
5070 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5071
5072         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5073         * gst/gstutils.c: (gst_util_set_value_from_string),
5074         (gst_util_set_object_arg):
5075           Don't put functional code in g_return_if_fail() or
5076           g_return_val_if_fail() statements, otherwise things will 
5077           break when G_DISABLE_CHECKS is defined during compilation.
5078
5079 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5080
5081         * docs/gst/tmpl/.cvsignore:
5082         * docs/gst/tmpl/gstvalue.sgml:
5083         * gst/gstvalue.c:
5084         * gst/gstvalue.h:
5085           inlied another one and added  some obvious docs
5086
5087 2005-09-21  Wim Taymans  <wim@fluendo.com>
5088
5089         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5090         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5091         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5092         (gst_fdsrc_get_property), (gst_fdsrc_create):
5093         * gst/elements/gstfdsrc.h:
5094         Properly implement fdsrc. Removed signal and timeout,
5095         better implemented somewhere else.
5096
5097 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5098
5099         * docs/gst/tmpl/.cvsignore:
5100         * docs/gst/tmpl/gstimplementsinterface.sgml:
5101         * gst/gstinterface.c:
5102           inlined more docs
5103
5104 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5105
5106         * docs/gst/gstreamer-sections.txt:
5107         * docs/gst/tmpl/.cvsignore:
5108         * docs/gst/tmpl/gstenumtypes.sgml:
5109           remove obsolete doc file
5110
5111 2005-09-21  David Schleef  <ds@schleef.org>
5112
5113         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5114         little beer, fix a little leak.
5115
5116 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5117
5118         * docs/gst/gstreamer-docs.sgml:
5119         * docs/gst/gstreamer-sections.txt:
5120         * docs/gst/tmpl/.cvsignore:
5121         * gst/Makefile.am:
5122         * gst/gst.h:
5123         * gst/gstbin.c:
5124         * gst/gstelement.h:
5125         * gst/gstindex.c: (gst_index_class_init):
5126         * gst/gstindex.h:
5127         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5128         (gst_index_factory_class_init), (gst_index_factory_init),
5129         (gst_index_factory_finalize), (gst_index_factory_new),
5130         (gst_index_factory_destroy), (gst_index_factory_find),
5131         (gst_index_factory_create), (gst_index_factory_make):
5132         * gst/gstindexfactory.h:
5133         * gst/gstpluginfeature.c:
5134         * gst/gstpluginfeature.h:
5135         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5136           more docs inlined, splitted gstindex.{c,h}
5137
5138 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5139
5140         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5141           fix a leak
5142
5143 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5144
5145         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5146           Set sync to FALSE by default.
5147
5148 2005-09-20  Wim Taymans  <wim@fluendo.com>
5149
5150         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5151         (gst_base_sink_init):
5152         Make sync property settable from subclass.
5153
5154         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5155         (gst_fake_sink_change_state):
5156         Set sync to FALSE by default.
5157
5158 2005-09-20  Wim Taymans  <wim@fluendo.com>
5159
5160         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5161         * tools/gst-launch.c: (main):
5162         The timeout handler should have lower priority than the source
5163         so we don't timeout before popping a message with 0 timeout.
5164         Dump error messages after failed state change.
5165
5166 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5167
5168         * tools/gst-inspect.c: (print_element_properties_info):
5169           Fix two typos.
5170
5171 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5172
5173         * check/gst/gstevent.c:
5174         * gst/elements/gstfakesink.c:
5175         * gst/elements/gstfakesink.h:
5176           remove the sync property from fakesink.
5177           has the side effect of setting sync TRUE
5178           for fakesink, which is a change.  Anyone who knows how
5179           to fix this nicely in a GObject-y way, feel free.
5180
5181 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5182
5183         * docs/gst/gstreamer-docs.sgml:
5184           remove probe refsection
5185
5186 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5187
5188         * check/Makefile.am:
5189           disable valgrinding the controller test again
5190         * docs/gst/gstreamer-sections.txt:
5191           update for api-changes
5192
5193 2005-09-20  Wim Taymans  <wim@fluendo.com>
5194
5195         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5196         (gst_base_sink_set_property), (gst_base_sink_get_property),
5197         (gst_base_sink_do_sync):
5198         * gst/base/gstbasesink.h:
5199         Added sync property to basesink to disable clock sync.
5200
5201 2005-09-20  Andy Wingo  <wingo@pobox.com>
5202
5203         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5204         eating the caller's refcount.
5205
5206         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5207         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5208         refcount.
5209
5210         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5211         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5212         of GLib 2.8 public, so we can know which refcount to check in
5213         tests.
5214
5215         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5216         (gst_object_init): Only set the gst refcount if we're going ahead
5217         with the refcount hack.
5218
5219 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5220
5221         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5222         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5223           more leaks plumbed, added more debug-logging
5224         * gst/gstmacros.h:
5225           whitespace fix
5226
5227 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5228
5229         * gst/gstmessage.c:
5230           remove include of gstmemchunk.h
5231
5232 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5233
5234         * gst/gstclock.c: (_gst_clock_id_free):
5235           Commit from the Political Party For More Atomic CVS Commits,
5236           so that people don't waste too much of their day fishing
5237           out obvious leaks out of massive commits.
5238           Oh, and fix a pretty damn obvious leak in the memchunk
5239           removal code.
5240
5241 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5242
5243         * check/Makefile.am:
5244         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5245           plug mem-leak, re-add to valgrindable tests
5246
5247 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5248
5249         * gst/gstplugin.h:
5250           unbreak the build for those who have chronic arthritis
5251           and typing "make check" is just too taxing on the hands
5252
5253 2005-09-20  Andy Wingo  <wingo@pobox.com>
5254
5255         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5256         really want it out, you should fix plugins at the same time.
5257
5258 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5259
5260         * configure.ac:
5261         * docs/gst/gstreamer-sections.txt:
5262         * gst/gstobject.c:
5263           added missing symbols to api docs
5264           disable ref-count hack if we have glib >= 2.8
5265
5266 2005-09-19  David Schleef  <ds@schleef.org>
5267
5268         * docs/gst/Makefile.am: Ignore a few more internal headers
5269         * docs/gst/gstreamer-docs.sgml: Remove old sections
5270         * docs/gst/gstreamer-sections.txt: Remove old sections
5271         * docs/gst/tmpl/gstobject.sgml: update
5272         * docs/gst/tmpl/gstplugin.sgml: update
5273         * docs/gst/tmpl/gstpluginfeature.sgml: update
5274         * docs/random/ds/0.9-suggested-changes: update.
5275         * gst/Makefile.am: remove memchunk and trashstack, since they're
5276           not used.
5277         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5278         * gst/gst.h: don't include some headers
5279         * gst/gstchildproxy.c: add gstmarshal.h
5280         * gst/gstclock.c: Don't use memchunks
5281         * gst/gstminiobject.c: Add some docs
5282         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5283         * gst/gstobject.h: same
5284         * gst/gstplugin.c: include gstmacros.h
5285         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5286         * gst/gstquery.c: don't use memchunks
5287         * gst/gstregistry.c: rename gst_registry_deinit()
5288         * gst/gstregistry.h: same
5289
5290 2005-09-19  David Schleef  <ds@schleef.org>
5291
5292         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5293         * docs/libs/gstreamer-libs-sections.txt:
5294         * docs/libs/tmpl/gstgetbits.sgml:
5295         * docs/libs/tmpl/gstputbits.sgml:
5296
5297 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5298
5299         * win32/gstenumtypes.c:
5300         * win32/gstenumtypes.h:
5301           Update.
5302
5303 2005-09-19  Wim Taymans  <wim@fluendo.com>
5304
5305         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5306         Automatically PAUSE and RESUME a pipeline when a flushing seek
5307         is performed.
5308
5309 2005-09-19  Andy Wingo  <wingo@pobox.com>
5310
5311         * gst/gstregistry.h: Spacing fixen.
5312
5313 2005-09-19  Wim Taymans  <wim@fluendo.com>
5314
5315         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5316         Handle state change failure more correctly.
5317
5318 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5319
5320         * check/Makefile.am:
5321         * check/pipelines/cleanup.c: (run_pipeline):
5322         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5323         (GST_START_TEST):
5324           enable cleanup again after fixing the leak
5325         * docs/README:
5326           some more info on docs
5327
5328 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5329
5330         * check/Makefile.am:
5331           re-enable tests now that leaks are plugged
5332         * check/gst/gst.c:
5333         * check/gst/gstbin.c:
5334         * check/gst/gstpipeline.c:
5335           add some more tests while fixing leaks
5336         * common/check.mak:
5337           make sure binaries are uptodate when valgrinding/gdbing
5338         * gst/gst.c:
5339         * gst/gstelementfactory.c:
5340           remove a ref too many, and add a FIXME for when we get
5341           round to disposing of classes
5342         * gst/gstplugin.c:
5343           fix the refcounting when loading a plugin from a file and
5344           the code pretends that the pointer is the same even though
5345           of course it can change
5346         * gst/gstpluginfeature.c:
5347           unref plugins marked cached (a bit confusing as a name)
5348           as the docs state should be done
5349           various doc additions to explain refcounting
5350         * gst/gstregistry.c:
5351         * gst/gstregistryxml.c:
5352           debugging
5353
5354 2005-09-19  Wim Taymans  <wim@fluendo.com>
5355
5356         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5357         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5358         (send_messages), (GST_START_TEST), (gstbus_suite):
5359         * check/gst/gstpipeline.c: (GST_START_TEST):
5360         * check/pipelines/cleanup.c: (run_pipeline):
5361         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5362         (GST_START_TEST):
5363         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5364         (gst_bus_source_check), (gst_bus_source_dispatch),
5365         (gst_bus_create_watch), (gst_bus_add_watch_full),
5366         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5367         * gst/gstbus.h:
5368         * tools/gst-launch.c: (event_loop):
5369         * tools/gst-md5sum.c: (event_loop):
5370         GstBusHandler -> GstBusFunc, return value has the same meaning as
5371         any other GSource (FALSE == remove source).
5372         _add_watch() and _add_watch_full() now take a MessageType mask to
5373         only handle specific types of messages.
5374         _poll() returns the GstMessage instead of the message type to avoid
5375         race conditions.
5376         _have_pending() takes a MessageType mask now too.
5377         Added testsuite for multiple bus watches.
5378         Fix testsuites and applications for new bus API.
5379
5380 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5381
5382         * check/Makefile.am:
5383           mark a bunch of the tests as to fix until we fix them
5384
5385 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5386
5387         * common/check.mak:
5388           use GST_PLUGIN settings for valgrind tests as well, so we're
5389           valgrinding the correct thing
5390         * gst/gst.c: (init_post):
5391           plug another leak
5392
5393 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5394
5395         * gst/gst.c: (init_post), (gst_deinit):
5396         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5397         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5398         * gst/gstindex.c: (gst_index_factory_class_init),
5399         (gst_index_factory_finalize):
5400         * gst/gstobject.c: (gst_object_dispose):
5401         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5402         (gst_plugin_load_file), (gst_plugin_desc_free):
5403         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5404         (gst_plugin_feature_finalize):
5405         * gst/gstregistry.c: (gst_registry_class_init),
5406         (gst_registry_init), (gst_registry_finalize),
5407         (gst_registry_get_default), (gst_registry_deinit):
5408         * gst/gstregistry.h:
5409         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5410           various cleanups and memleak plugging.  make valgrind is happy now.
5411
5412 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5413
5414         * common/check.mak:
5415           add a check-valgrind target
5416
5417 2005-09-18  David Schleef  <ds@schleef.org>
5418
5419         * tools/gst-inspect.c: Revert the GOption code.
5420
5421 2005-09-17  David Schleef  <ds@schleef.org>
5422
5423         * check/Makefile.am: Fix environment variables.
5424         * check/gst/gstplugin.c: Fix for API changes.
5425         * tools/gst-inspect.c: Fix for API changes.
5426         * tools/gst-xmlinspect.c: Fix for API changes.
5427         * gst/gstelementfactory.c:
5428         * gst/gstplugin.c:
5429         * gst/gstplugin.h:
5430         * gst/gstpluginfeature.c:
5431         * gst/gstpluginfeature.h:
5432         * gst/gstregistry.c:
5433         * gst/gstregistry.h:
5434         * gst/gstregistryxml.c:
5435         * gst/gsttypefind.c:
5436         * gst/gsttypefindfactory.c:
5437         * gst/indexers/gstfileindex.c:
5438         * gst/indexers/gstmemindex.c:
5439         * gst/schedulers/Makefile.am:
5440           Change registry to keep track of both plugins and features,
5441           removing the feature tracking from plugins themselves.
5442
5443 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5444
5445         * check/Makefile.am:
5446         * tools/gst-register.1.in:
5447           remove gst-register
5448
5449 2005-09-15  David Schleef  <ds@schleef.org>
5450
5451         * check/gst/gstplugin.c:
5452         * gst/gstelementfactory.c:
5453         * gst/gstplugin.c:
5454         * gst/gstpluginfeature.c:
5455         * gst/gstregistry.c:
5456           Getting tired of debugging.  Disabled all the unreffing of
5457           plugins and features, which fixes the segfaults, but of
5458           course leaks like crazy.  At least playbin works.
5459
5460 2005-09-15  David Schleef  <ds@schleef.org>
5461
5462         * check/gst/gstplugin.c: (register_check_elements),
5463         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5464         More testing
5465         * gst/elements/gsttypefindelement.c: Fix refcounting.
5466         * gst/gsttypefind.c:
5467         * gst/gsttypefindfactory.c:
5468         * gst/gsttypefindfactory.h:
5469
5470 2005-09-15  David Schleef  <ds@schleef.org>
5471
5472         * gst/gstindex.c: get refcounting correct.
5473         * gst/gstregistry.c: Handle the case where a feature/plugin is
5474           not found.
5475
5476 2005-09-15  David Schleef  <ds@schleef.org>
5477
5478         * check/Makefile.am:
5479         * check/gst/gstplugin.c: Add test
5480         * gst/gstplugin.c: Fix problems noticed by testsuite
5481         * gst/gstplugin.h:
5482         * gst/gstregistry.c: 
5483         * gst/gstregistry.h:
5484
5485 2005-09-15  David Schleef  <ds@schleef.org>
5486
5487         * gst/gstplugin.c: Implement semi-decent recounting and locking
5488           in plugins and plugin features.
5489         * gst/gstplugin.h:
5490         * gst/gstpluginfeature.c:
5491         * gst/gstpluginfeature.h:
5492         * gst/gstregistry.c:
5493
5494 2005-09-15  Michael Smith <msmith@fluendo.com>
5495
5496         * gst/gstregistry.c: (gst_registry_get_feature_list):
5497           Implement this. Makes oggdemux work; decodebin still broken.
5498
5499 2005-09-14  David Schleef  <ds@schleef.org>
5500
5501         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5502           #316076)
5503         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5504         * gst/check/Makefile.am:
5505         * libs/gst/controller/Makefile.am:
5506         * libs/gst/dataprotocol/Makefile.am:
5507
5508 2005-09-14  David Schleef  <ds@schleef.org>
5509
5510         * configure.ac: Remove getbits library.  Nothing uses it, and
5511           it should be in something like liboil if someone did want
5512           to use it.
5513         * libs/gst/Makefile.am:
5514         * libs/gst/getbits/Makefile.am:
5515         * libs/gst/getbits/gbtest.c:
5516         * libs/gst/getbits/getbits.c:
5517         * libs/gst/getbits/getbits.h:
5518         * libs/gst/getbits/gstgetbits_generic.c:
5519         * libs/gst/getbits/gstgetbits_i386.s:
5520         * libs/gst/getbits/gstgetbits_inl.h:
5521
5522 2005-09-14  David Schleef  <ds@schleef.org>
5523
5524         * gst/Makefile.am: Dist glib-compat.h
5525
5526 2005-09-14  David Schleef  <ds@schleef.org>
5527
5528         * configure.ac: Remove gst/registries, since it's no longer used.
5529         * gst/registries/Makefile.am:
5530         * gst/registries/gstlibxmlregistry.c:
5531         * gst/registries/gstlibxmlregistry.h:
5532         * gst/registries/gstxmlregistry.c:
5533         * gst/registries/gstxmlregistry.h:
5534         * gst/registries/registrytest.c:
5535
5536 2005-09-14  David Schleef  <ds@schleef.org>
5537
5538         * gst/glib-compat.h:
5539         * gst/gstregistryxml.c:
5540           Convergence is near.  Seriously.
5541
5542 2005-09-14  David Schleef  <ds@schleef.org>
5543
5544         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5545         * gst/glib-compat.h:
5546           Attempt #4 to appease the buildbots.
5547
5548 2005-09-14  David Schleef  <ds@schleef.org>
5549
5550         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5551           Attempt #3.
5552
5553 2005-09-14  David Schleef  <ds@schleef.org>
5554
5555         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5556         Attempt #2.
5557
5558 2005-09-14  David Schleef  <ds@schleef.org>
5559
5560         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5561           the new functions.
5562
5563 2005-09-14  David Schleef  <ds@schleef.org>
5564
5565         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5566         * gst/glib-compat.h: Add some functions that are in newer versions
5567           of glib than we care to require.
5568         * gst/gstregistryxml.c: Use them.
5569
5570 2005-09-14  David Schleef  <ds@schleef.org>
5571
5572         * po/POTFILES.in: remove gst-register.c
5573
5574 2005-09-14  David Schleef  <ds@schleef.org>
5575
5576         * docs/gst/gstreamer-docs.sgml:
5577         * docs/gst/gstreamer-sections.txt:
5578         * docs/gst/gstreamer.types:
5579         * docs/gst/tmpl/gstelement.sgml:
5580         * docs/gst/tmpl/gstplugin.sgml:
5581         * docs/gst/tmpl/gstpluginfeature.sgml:
5582           Documentation updates for registry changes.
5583
5584 2005-09-14  David Schleef  <ds@schleef.org>
5585
5586         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5587           because we don't require glib-2.8.
5588
5589 2005-09-14  David Schleef  <ds@schleef.org>
5590
5591         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5592           registries directory.
5593
5594 2005-09-14  David Schleef  <ds@schleef.org>
5595
5596         * check/Makefile.am:
5597         * check/generic/states.c:
5598         * gst/Makefile.am:
5599         * gst/gst.c:
5600         * gst/gst.h:
5601         * gst/gst_private.h:
5602         * gst/gstelementfactory.c:
5603         * gst/gstindex.c:
5604         * gst/gstinfo.c:
5605         * gst/gstplugin.c:
5606         * gst/gstplugin.h:
5607         * gst/gstpluginfeature.c:
5608         * gst/gstpluginfeature.h:
5609         * gst/gstregistry.c:
5610         * gst/gstregistry.h:
5611         * gst/gstregistrypool.c: remove
5612         * gst/gstregistrypool.h: remove
5613         * gst/gsttypefind.c:
5614         * gst/gsttypefindfactory.c:
5615         * gst/gsturi.c:
5616         * tools/Makefile.am:
5617         * tools/gst-compprep.c:
5618         * tools/gst-inspect.c:
5619         * tools/gst-register.c: remove
5620         * tools/gst-xmlinspect.c:
5621           Registry rewrite.  Changes registry from being a file created
5622           by a tool into a simple cache file created automatically by 
5623           libgstreamer.  Removed gst-register (because it's no longer
5624           needed).  Remove registry pools, because we only have one
5625           registry implementation (XML).  Fix up other subsystems as
5626           necessary.
5627
5628 2005-09-13  Michael Smith <msmith@fluendo.com>
5629
5630         * gst/gstconfig.h.in:
5631           Don't Use windows linking attributes for MinGW. Fixes #316157
5632
5633 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5634
5635         * gst/gstutils.c: (set_state_async_thread_func),
5636         (gst_element_set_state_async):
5637           Apparently people think it's better if this function doesn't
5638           try to set the state to whatever state was asked for on the first
5639           call to this function for any object.  Seriously.
5640
5641 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5642
5643         * check/gst/gstpipeline.c: (GST_START_TEST):
5644         * docs/gst/gstreamer-sections.txt:
5645         * gst/gstutils.c: (set_state_async_thread_func),
5646         (gst_element_set_state_async):
5647         * gst/gstutils.h:
5648           add a "gst_element_set_state_async" method that
5649           sets the state and starts a thread to make sure the state
5650           change completes as best as it can
5651
5652 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5653
5654         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5655           codify design+behaviour in testsuite after discussion
5656
5657 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5658
5659         * docs/gst/tmpl/gstelement.sgml:
5660         * docs/manual/appendix-quotes.xml:
5661           add a quote
5662         * gst/gstelement.c: (gst_element_set_state):
5663           add some debug
5664
5665 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5666
5667         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5668         (gst_base_transform_prepare_output_buf),
5669         (gst_base_transform_handle_buffer):
5670         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5671         (gst_capsfilter_prepare_buf):
5672           Remove the requirement for sub-classes to call the parent
5673           implementation of prepare_output_buffer with a wrapper function.
5674           
5675         * gst/gsttaglist.h:
5676         * gst/gsttagsetter.h:
5677           Fix #define wrapper
5678
5679 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5680
5681         * docs/gst/gstreamer-sections.txt:
5682           more doc cleanups
5683
5684 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5685
5686         * docs/gst/gstreamer-sections.txt:
5687         * docs/gst/tmpl/gstelement.sgml:
5688         * docs/gst/tmpl/gstplugin.sgml:
5689         * gst/gstminiobject.c:
5690         * gst/gstvalue.h:
5691           docs now stop throwing warnings
5692
5693 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5694
5695         * docs/gst/gstreamer-sections.txt:
5696         * docs/gst/gstreamer.types:
5697         * docs/gst/tmpl/gstpad.sgml:
5698         * docs/gst/tmpl/gsttypes.sgml:
5699         * gst/base/gstadapter.h:
5700         * gst/base/gstbasesink.h:
5701         * gst/base/gstbasesrc.h:
5702         * gst/gstbin.h:
5703         * gst/gstbuffer.h:
5704         * gst/gstbus.h:
5705         * gst/gstcaps.h:
5706         * gst/gstclock.h:
5707         * gst/gstelement.h:
5708         * gst/gstevent.h:
5709         * gst/gstmessage.h:
5710         * gst/gstpad.h:
5711         * gst/gststructure.c:
5712         * gst/registries/gstlibxmlregistry.h:
5713           various documentation fixes
5714
5715 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5716
5717         * docs/gst/gstreamer-sections.txt:
5718         * docs/gst/tmpl/gstvalue.sgml:
5719           rearrange gstvalue section
5720         * gst/gstutils.c: (gst_element_state_get_name):
5721           NONE -> VOID
5722         * gst/gstvalue.c: (_gst_value_initialize):
5723         * gst/gstvalue.h:
5724           doc updates
5725
5726 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5727
5728         * check/gst-libs/controller.c:
5729           Header include fix.
5730         * gst/base/gstbasetransform.c:
5731         (gst_base_transform_default_prepare_buf),
5732         (gst_base_transform_handle_buffer):
5733         * gst/base/gstbasetransform.h:
5734           Some more basetransform changes and fixes to enable sub-classes
5735           that modify buffer metadata only.
5736         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5737         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5738         (gst_capsfilter_prepare_buf):
5739           If the output pad has fixed allowed caps and input buffers 
5740           don't have any, set the fixed caps on outgoing buffers.
5741
5742 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5743         * check/elements/identity.c: (GST_START_TEST):
5744           Make the error a little clearer when the test fails because
5745           identity made a copy of the buffer.
5746         * docs/gst/gstreamer-sections.txt:
5747           New symbols in gstbasetransform.h
5748         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5749         (gst_base_transform_init), (gst_base_transform_transform_size),
5750         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5751         (gst_base_transform_default_prepare_buf),
5752         (gst_base_transform_get_unit_size),
5753         (gst_base_transform_buffer_alloc),
5754         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5755         (gst_base_transform_change_state),
5756         (gst_base_transform_set_passthrough),
5757         (gst_base_transform_set_in_place),
5758         (gst_base_transform_is_in_place):
5759         * gst/base/gstbasetransform.h:
5760           Change BaseTransform to separate in_place operate from same_caps
5761           output. in_place implies that the element can perform the transform
5762           on incoming buffers in-place, even if the caps on the output are
5763           different.
5764           Sub-class elements can now implement special buffer allocation
5765           methods for outgoing buffers if they wish to.
5766           Big documentation addition.
5767         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5768         * gst/elements/gstelements.c:
5769           Changes for basetransform modifications.
5770         * gst/elements/Makefile.am:
5771         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5772           Compile fix. Extra debug output.
5773
5774 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5775
5776         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5777         (gst_pad_suite):
5778           add tests for valid pad naming
5779         * gst/check/gstcheck.c: (gst_check_log_message_func),
5780         (gst_check_log_critical_func):
5781           add ASSERT_WARNING
5782           remove printing of code, it is fragile when the code contains
5783           % and the line number is enough info
5784         * gst/check/gstcheck.h:
5785         * gst/gstpad.c: (gst_pad_template_new):
5786           fix memleaks
5787
5788 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5789
5790         * configure.ac:
5791           say what CHECK flags we use
5792         * docs/libs/gstreamer-libs.types:
5793         * libs/gst/controller/Makefile.am:
5794         * libs/gst/controller/gst-controller.c:
5795         * libs/gst/controller/gst-controller.h:
5796         * libs/gst/controller/gst-helper.c:
5797         * libs/gst/controller/gst-interpolation.c:
5798         * libs/gst/controller/gstcontroller.c:
5799         * libs/gst/controller/gsthelper.c:
5800         * libs/gst/controller/gstinterpolation.c:
5801         * tools/gst-inspect.c: (print_plugin_info):
5802           we don't use dashes in header names
5803
5804 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5805
5806         * check/Makefile.am:
5807         * check/gst/.cvsignore:
5808         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5809         (gst_pipeline_suite), (main):
5810           adding a test for pipelines and state changes
5811         * gst/gstutils.c: (get_state_func):
5812           add some debugging
5813         * gstreamer.spec.in:
5814           fix up spec file
5815
5816 2005-09-08  Michael Smith <msmith@fluendo.com>
5817
5818         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5819         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5820         (gst_file_src_is_seekable), (gst_file_src_get_size),
5821         (gst_file_src_start):
5822         * gst/elements/gstfilesrc.h:
5823           Various fixes for unseekable, unmmapable, and non-normal files, so
5824           that fallback to read() rather than mmap() works.
5825         * gst/gstevent.c: (gst_event_new_newsegment):
5826           Allow newsegment events with segment_start == segment_end, as will
5827           correctly happen if you use filesrc on a zero-size file, for
5828           example.
5829
5830 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5831
5832         * gst/gstplugin.c: (gst_plugin_load_file):
5833           Call g_module_close when we don't load the module
5834
5835         * gst/registries/gstlibxmlregistry.c:
5836         (gst_xml_registry_get_property):
5837           Port leak fix from 0.8
5838
5839 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5840
5841         * docs/gst/gstreamer-docs.sgml:
5842         * docs/gst/tmpl/.cvsignore:
5843         * docs/gst/tmpl/gsttrace.sgml:
5844         * docs/gst/tmpl/gsttrashstack.sgml:
5845         * gst/Makefile.am:
5846         * gst/gst.h:
5847         * gst/gstelement.h:
5848         * gst/gstevent.h:
5849         * gst/gstmessage.c:
5850         * gst/gstmessage.h:
5851         * gst/gsttag.c:
5852         * gst/gsttag.h:
5853         * gst/gsttaginterface.c:
5854         * gst/gsttaginterface.h:
5855         * gst/gsttaglist.c:
5856         * gst/gsttaglist.h:
5857         * gst/gsttagsetter.c:
5858         * gst/gsttagsetter.h:
5859         * gst/gsttrace.c:
5860         * gst/gsttrace.h:
5861         * gst/gsttrashstack.c:
5862           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5863           inlined docs for gsttrace, gsttrashstack
5864
5865 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5866
5867         * gst/Makefile.am:
5868         * gst/elements/gstbufferstore.h:
5869         * gst/elements/gsttypefindelement.c:
5870         * gst/elements/gsttypefindelement.h:
5871         * gst/gst.h:
5872         * gst/gsttypefind.c:
5873         * gst/gsttypefind.h:
5874         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5875         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5876         (gst_type_find_factory_dispose),
5877         (gst_type_find_factory_unload_thyself),
5878         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5879         (gst_type_find_factory_get_caps),
5880         (gst_type_find_factory_get_extensions),
5881         (gst_type_find_factory_call_function):
5882         * gst/gsttypefindfactory.h:
5883         * gst/registries/gstlibxmlregistry.c:
5884         * gst/registries/gstxmlregistry.c:
5885           splitted gsttypefind into gsttypefind, gsttypefindfactory
5886
5887 2005-09-07  Andy Wingo  <wingo@pobox.com>
5888
5889         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5890         condition whereby the pad's task function is entered before the
5891         pad_mode variable was set.
5892
5893 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5894
5895         * gst/gstpad.c: (gst_pad_alloc_buffer):
5896           Catch misbehaving pad_alloc functions that don't
5897           set up caps and do it for them.
5898
5899 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5900
5901         * check/pipelines/simple_launch_lines.c: (run_pipeline):
5902           test for pipe!=NULL
5903         * docs/gst/tmpl/.cvsignore:
5904         * docs/gst/tmpl/gstmemchunk.sgml:
5905         * docs/gst/tmpl/gstparse.sgml:
5906         * docs/gst/tmpl/gsttaglist.sgml:
5907         * docs/gst/tmpl/gsttagsetter.sgml:
5908         * docs/gst/tmpl/gsttypefind.sgml:
5909         * docs/gst/tmpl/gsttypefindfactory.sgml:
5910         * gst/gstmemchunk.c:
5911         * gst/gstparse.c:
5912         * gst/gsttag.c:
5913         * gst/gsttaginterface.c:
5914         * gst/gsttypefind.c:
5915         * gst/gsttypefind.h:
5916           inlined more docs
5917
5918 === release 0.9.2 ===
5919
5920 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5921
5922         * NEWS:
5923         * RELEASE:
5924         * configure.ac:
5925           releasing 0.9.2, "South"
5926
5927 2005-09-05  Andy Wingo  <wingo@pobox.com>
5928
5929         * gst/registries/gstxmlregistry.h:
5930         * gst/registries/gstxmlregistry.c: Um... resurrect...
5931         
5932         * gst/registries/gstxmlregistry.h:
5933         * gst/registries/gstxmlregistry.c: and update to newer API.
5934         Incidentally they should be a bit faster now that they don't have
5935         to parse the caps.
5936         
5937 2005-09-05  Andy Wingo  <wingo@pobox.com>
5938
5939         * gst/registries/gstxmlregistry.h:
5940         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5941         replaced by the libxml registry a while back
5942
5943 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5944
5945         * docs/gst/tmpl/gstplugin.sgml:
5946         * gst/elements/gstelements.c:
5947         * gst/gst.c:
5948         * gst/gstplugin.c: (gst_plugin_register_func),
5949         (gst_plugin_desc_copy), (gst_plugin_desc_free),
5950         (gst_plugin_get_source):
5951         * gst/gstplugin.h:
5952         * gst/registries/gstlibxmlregistry.c: (load_plugin),
5953         (gst_xml_registry_save_plugin):
5954         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5955         (gst_xml_registry_save_plugin):
5956         * tools/gst-inspect.c: (print_plugin_info):
5957           add a "source" plugin description field, to represent the source
5958           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
5959           will set it to PACKAGE, which is automake's idea of the name of
5960           the source project.
5961
5962 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5963
5964         * Makefile.am:
5965         * autogen.sh:
5966         * configure.ac:
5967         * docs/Makefile.am:
5968         * docs/faq/Makefile.am:
5969         * docs/gst/tmpl/gstelement.sgml:
5970         * docs/gst/tmpl/gsttypes.sgml:
5971         * docs/htmlinstall.mak:
5972         * docs/manual/Makefile.am:
5973         * docs/pwg/Makefile.am:
5974           reorganize doc build a little
5975           split out docbook and gtk-doc stuff
5976           have two separate --enable's and enable them through autogen
5977           but disable by default in configure (to be similar to other
5978           projects)
5979         * gstreamer.spec.in:
5980           clean up docs install
5981         * po/af.po:
5982         * po/az.po:
5983         * po/ca.po:
5984         * po/cs.po:
5985         * po/de.po:
5986         * po/en_GB.po:
5987         * po/fr.po:
5988         * po/it.po:
5989         * po/nb.po:
5990         * po/nl.po:
5991         * po/ru.po:
5992         * po/sq.po:
5993         * po/sr.po:
5994         * po/sv.po:
5995         * po/tr.po:
5996         * po/uk.po:
5997         * po/vi.po:
5998           translation updates
5999
6000 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6001
6002         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6003           Add comment.
6004           
6005         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6006         (gst_fake_sink_change_state):
6007           Make state change function thread-safe.
6008           
6009         * gst/gstpad.c: (gst_pad_alloc_buffer):
6010           Set offset on generic buffer allocated by fallback.
6011
6012 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6013
6014         * docs/gst/gstreamer-sections.txt:
6015         * docs/gst/tmpl/gstelement.sgml:
6016         * gst/gstpad.c:
6017         * libs/gst/controller/gst-controller.c:
6018         (gst_controlled_property_set_interpolation_mode),
6019         (gst_controlled_property_new),
6020         (gst_controller_find_controlled_property):
6021          run the wingo-magic script against the docs
6022
6023 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6024
6025         * docs/gst/gstreamer-docs.sgml:
6026         * docs/gst/gstreamer-sections.txt:
6027         * docs/gst/tmpl/.cvsignore:
6028         * docs/gst/tmpl/gstelementdetails.sgml:
6029         * docs/gst/tmpl/gstelementfactory.sgml:
6030         * gst/gst.c:
6031         * gst/gstbus.c:
6032         * gst/gstelementfactory.c:
6033         * gst/gstelementfactory.h:
6034           merged elementdetails docs into elementfactory docs
6035           inlined both
6036
6037 2005-09-02  Andy Wingo  <wingo@pobox.com>
6038
6039         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6040         consider this enum an enum and not a flags.
6041
6042 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6043
6044         * docs/gst/gstreamer-docs.sgml:
6045         * docs/gst/tmpl/.cvsignore:
6046         * docs/gst/tmpl/gstghostpad.sgml:
6047         * docs/gst/tmpl/gstiterator.sgml:
6048         * docs/gst/tmpl/gstmacros.sgml:
6049         * docs/gst/tmpl/gstrealpad.sgml:
6050         * docs/gst/tmpl/gstregistry.sgml:
6051         * docs/gst/tmpl/gstregistrypool.sgml:
6052         * docs/gst/tmpl/gststructure.sgml:
6053         * docs/gst/tmpl/gstsystemclock.sgml:
6054         * docs/gst/tmpl/gsttrace.sgml:
6055         * gst/gstghostpad.c:
6056         * gst/gstmacros.h:
6057         * gst/gstmemchunk.c:
6058         * gst/gstmemchunk.h:
6059         * gst/gstqueue.c:
6060         * gst/gstregistry.c:
6061         * gst/gstregistrypool.c:
6062         * gst/gststructure.c:
6063         * gst/gstsystemclock.c:
6064           more docs inlined
6065
6066 2005-09-02  Andy Wingo  <wingo@pobox.com>
6067
6068         * gst/gstelement.h (GstState): Renamed from GstElementState,
6069         changed to be a normal enum instead of flags.
6070         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6071         munged to be GST_STATE_CHANGE_*.
6072         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6073         work with the new state representation.
6074         (GstStateChange): New enumeration of possible state transitions.
6075         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6076         (GstElementClass::change_state): Pass the GstStateChange along as
6077         an argument. Helps language bindings, so they don't have to use
6078         tricky lock-needing macros like GST_STATE_CHANGE ().
6079
6080         * scripts/update-states (file): New script. Run it on a file to
6081         update it for state naming and API changes. Updates files in
6082         place.
6083
6084         * All files updated for the new API.
6085
6086 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6087
6088         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6089         * gst/gstutils.c: (gst_util_set_value_from_string),
6090         (gst_util_set_object_arg):
6091           fix a bunch of unchecked return values
6092         * tools/gst-complete.c: (main):
6093         * gstreamer.spec.in:
6094           clean up a little
6095
6096 2005-09-01  Wim Taymans  <wim@fluendo.com>
6097
6098         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6099         (gst_base_sink_event), (gst_base_sink_do_sync),
6100         (gst_base_sink_handle_event):
6101         * gst/base/gstbasesink.h:
6102         Handle newsegments more correctly.
6103
6104         * gst/gstbus.c:
6105         Fix docs.
6106
6107         * gst/gstevent.c: (gst_event_new_newsegment):
6108         A newsegment cannot have a start_time of -1
6109
6110 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6111
6112         * win32/gstenumtypes.c:
6113         * win32/gstenumtypes.h:
6114           Update
6115
6116 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6117
6118         * libs/gst/controller/gst-controller.c:
6119         (gst_controlled_property_set_interpolation_mode),
6120         (gst_controlled_property_new):
6121          fixed boolean again
6122
6123 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6124
6125         * docs/faq/gst-uninstalled:
6126           add -good
6127         * gst/gstevent.c:
6128         * gst/gstevent.h:
6129           remove wrong docs
6130         * gst/gstutils.c: (gst_element_link_filtered):
6131         * gst/gstutils.h:
6132           add gst_element_link_filtered
6133
6134 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6135
6136         * docs/gst/gstreamer-docs.sgml:
6137         * docs/gst/gstreamer-sections.txt:
6138         * docs/gst/tmpl/.cvsignore:
6139         * docs/gst/tmpl/gsterror.sgml:
6140         * docs/gst/tmpl/gstfilter.sgml:
6141         * docs/gst/tmpl/gsturihandler.sgml:
6142         * docs/gst/tmpl/gsturitype.sgml:
6143         * docs/gst/tmpl/gstutils.sgml:
6144         * docs/gst/tmpl/gstxml.sgml:
6145         * gst/gsterror.c:
6146         * gst/gsterror.h:
6147         * gst/gstfilter.c:
6148         * gst/gsturi.c:
6149         * gst/gsturitype.c:
6150         * gst/gstutils.c:
6151         * gst/gstxml.c:
6152           inlined more docs, fixed double id-ref
6153
6154 2005-08-31  Wim Taymans  <wim@fluendo.com>
6155
6156         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6157         (gst_base_transform_handle_buffer):
6158         Passthrough elements don't need the caps as they don't care.
6159
6160 2005-08-31  Wim Taymans  <wim@fluendo.com>
6161
6162         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6163         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6164         Don't leak refcounts on buffers.
6165
6166 2005-08-31  Wim Taymans  <wim@fluendo.com>
6167
6168         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6169         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6170         (gst_base_transform_chain), (gst_base_transform_change_state):
6171         * gst/base/gstbasetransform.h:
6172         Handle the case where we are not negotiated more gracefully.
6173
6174 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6175
6176         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6177         (gst_file_src_map_region):
6178           Set READONLY flag on mmap'ed buffers, otherwise
6179           gst_buffer_make_writable() won't work properly (#314708).
6180
6181 2005-08-31  Wim Taymans  <wim@fluendo.com>
6182
6183         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6184         passthrough elements can even do inplace on non writable
6185         buffers (as they don't touch them).
6186
6187 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6188
6189         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6190         (gst_test_mono_source_set_property),
6191         (gst_test_mono_source_class_init), (GST_START_TEST),
6192         (gst_controller_suite):
6193           more tests (hehe I have the most)
6194         * gst/gstbus.c:
6195           describe popping messages whenusing mulltiple sources
6196         * libs/gst/controller/gst-controller.c:
6197         (gst_controlled_property_set_interpolation_mode),
6198         (gst_controlled_property_new):
6199         * libs/gst/controller/gst-controller.h:
6200         * libs/gst/controller/gst-interpolation.c:
6201           implement boolean properties
6202
6203 2005-08-31  Wim Taymans  <wim@fluendo.com>
6204
6205         * gst/gstminiobject.c: (gst_mini_object_ref):
6206         Cannot assert that the refcount has to be positive
6207         since a disposed object can be resurrected.
6208
6209 2005-08-31  Wim Taymans  <wim@fluendo.com>
6210
6211         * gst/gstpad.c: (gst_pad_init):
6212         Revert change, need to first fix badly behaving 
6213         apps.
6214
6215 2005-08-30  Wim Taymans  <wim@fluendo.com>
6216
6217         * check/elements/fakesrc.c: (setup_fakesrc):
6218         * check/elements/identity.c: (setup_identity):
6219         Activate pads before using them.
6220
6221 2005-08-30  Wim Taymans  <wim@fluendo.com>
6222
6223         * gst/base/gstadapter.c: (gst_adapter_flush):
6224         Flushing out 0 bytes is ok for this function.
6225
6226         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6227         no newsegment gives a warning and sets the start/stop to 
6228         invalid.
6229
6230         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6231         (gst_base_transform_set_passthrough):
6232         Some debug info.
6233
6234         * gst/gstminiobject.c: (gst_mini_object_ref):
6235         Check refcount here too.
6236
6237         * gst/gstpad.c: (gst_pad_init):
6238         Pads are initially flushing and refusing data.
6239
6240         * gst/gstutils.c: (gst_element_link_pads_filtered):
6241         When adding a capsfilter element make sure it has the
6242         same state as the parent bin.
6243
6244 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6245
6246         * docs/gst/tmpl/.cvsignore:
6247         * docs/gst/tmpl/gstformat.sgml:
6248         * docs/gst/tmpl/gstversion.sgml:
6249         * gst/gstbus.h:
6250         * gst/gstformat.c:
6251         * gst/gstformat.h:
6252         * gst/gstversion.h.in:
6253           more docs and two more inlined
6254
6255 2005-08-30  Wim Taymans  <wim@fluendo.com>
6256
6257         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6258         Don't sync to clock.
6259
6260 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6261
6262         * docs/gst/gstreamer-sections.txt:
6263           ultral33t func10ns deserve to appear in the docs actually
6264         * docs/gst/tmpl/.cvsignore:
6265         * docs/gst/tmpl/gstcompat.sgml:
6266         * docs/gst/tmpl/gstconfig.sgml:
6267         * gst/check/gstcheck.c:
6268         * gst/gstcompat.h:
6269         * gst/gstconfig.h.in:
6270           inlined more docs
6271
6272 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6273
6274         * docs/gst/tmpl/.cvsignore:
6275         * docs/gst/tmpl/gstquery.sgml:
6276         * docs/gst/tmpl/gstutils.sgml:
6277         * gst/gstquery.c:
6278         * gst/gstquery.h:
6279           inlined and extended docs
6280
6281 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6282
6283         * check/gst-libs/controller.c: (GST_START_TEST),
6284         (gst_controller_suite):
6285           more tests
6286         * docs/gst/tmpl/gstutils.sgml:
6287         * docs/libs/gstreamer-libs-sections.txt:
6288         * docs/libs/tmpl/gstdataprotocol.sgml:
6289           include path fixes
6290         * examples/controller/audio-example.c: (main):
6291           controller example works now
6292         * gst/gstclock.h:
6293           doc fixes
6294         * tools/gst-inspect.c: (print_element_properties_info):
6295           show param spec flags
6296
6297 2005-08-29  Andy Wingo  <wingo@pobox.com>
6298
6299         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6300
6301 2005-08-28  Andy Wingo  <wingo@pobox.com>
6302
6303         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6304         as having two arguments instead of just one. Allows superclasses
6305         to access information on subclasses -- see the terrible for() loop
6306         in gtype.c:g_type_create_instance for the reason why. All callers
6307         changed.
6308
6309 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6310
6311         * docs/design/part-messages.txt:
6312           update info
6313         * docs/gst/tmpl/.cvsignore:
6314         * docs/gst/tmpl/gstcaps.sgml:
6315         * docs/gst/tmpl/gstclock.sgml:
6316         * gst/gstbus.c:
6317         * gst/gstcaps.c:
6318         * gst/gstcaps.h:
6319         * gst/gstclock.c:
6320         * gst/gstclock.h:
6321         * gst/gstmessage.c:
6322           added descriptions for bus and message
6323           inline caps and clock docs
6324
6325 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6326
6327         * gst/gstmessage.c:
6328         * gst/gstmessage.h:
6329           doc fixes
6330
6331 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6332
6333         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6334           fix div-by-zero
6335
6336 2005-08-26  Andy Wingo  <wingo@pobox.com>
6337
6338         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6339         element_set_state's return val.
6340         (test_2_elements): Add test that's been disabled for months.
6341
6342         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6343         can-activate-pull properties.
6344
6345         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6346         can-activate-pull properties. Implement is_seekable so fakesrc can
6347         operate in pull mode.
6348
6349         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6350         properties.
6351         (gst_base_sink_activate, gst_base_sink_activate_pull)
6352         (gst_base_sink_activate_push): Make activation mode choosing work.
6353         Cleanups.
6354         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6355         is right. Make pull mode work. Post an eos before pausing in pull
6356         mode.
6357         (gst_base_sink_change_state): Pay attention to the core's
6358         change_state() return val.
6359         
6360         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6361         has-getrange properties. Cleanups.
6362         
6363         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6364         has_getrange and replace with can_activate_pull and
6365         can_activate_push.
6366
6367         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6368         locking comments. Remove has_loop, has_chain and replace with
6369         can_activate_pull and can_activate_push.
6370
6371 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6372
6373         * configure.ac:
6374         * examples/Makefile.am:
6375         * examples/metadata/Makefile.am:
6376         * examples/metadata/read-metadata.c: (message_loop),
6377         (have_pad_handler), (make_pipeline), (print_tag), (main):
6378           Add metadata reading example that loops over a list of filenames,
6379           dumping any tags found.
6380
6381         * gst/gstbus.c: (gst_bus_dispose):
6382         * gst/gstelement.c: (gst_element_dispose):
6383           Release a few potentially-held references in dispose.
6384
6385 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6386
6387         * docs/gst/tmpl/gstminiobject.sgml:
6388           do *not* add tmpl/*.sgml files to CVS!
6389
6390 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6391
6392         * libs/gst/bytestream/.cvsignore:
6393         * libs/gst/bytestream/Makefile.am:
6394         * libs/gst/bytestream/adapter.c:
6395         * libs/gst/bytestream/adapter.h:
6396         * libs/gst/bytestream/bytestream.c:
6397         * libs/gst/bytestream/bytestream.h:
6398         * libs/gst/bytestream/filepad.c:
6399         * libs/gst/bytestream/filepad.h:
6400           removing obsolete files
6401
6402 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6403
6404         * docs/gst/gstreamer-docs.sgml:
6405         * docs/libs/gstreamer-libs-docs.sgml:
6406           disabed additional index entries again, as this makes docs-gen just
6407           slow and they aren't useful yet
6408         * docs/libs/gstreamer-libs-sections.txt:
6409           little -section.txt cleanup for libs
6410
6411 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6412
6413         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6414         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6415           fix up some debugging
6416         (gst_base_transform_get_unit_size),
6417         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6418         (gst_base_transform_handle_buffer):
6419         * gst/base/gstbasetransform.h:
6420           handle and store timed NEWSEGMENT events so that subclasses that
6421           calculate time by counting samples have a segment_start time they
6422           need to add to their timestamps - see audioresample
6423
6424 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6425
6426         * gst/gstbin.h:
6427           removed ';' from the end of macro defs
6428         * docs/gst/gstreamer-docs.sgml:
6429         * docs/gst/gstreamer-sections.txt:
6430         * docs/gst/tmpl/.cvsignore:
6431         * gst/gstbus.h:
6432         * gst/gstelement.c: (gst_element_class_init),
6433         (gst_element_set_state), (activate_pads),
6434         (gst_element_save_thyself):
6435         * gst/gstevent.c: (gst_event_new_newsegment):
6436         * gst/gstevent.h:
6437         * gst/gstiterator.c:
6438         * gst/gstiterator.h:
6439         * gst/gstpad.c:
6440         * gst/gstprobe.h:
6441         * gst/gstutils.c: (gst_pad_query_convert):
6442         * gst/gstutils.h:
6443           fixed parameter name mismatches between source, header and docs
6444           added some more docs, resolved the last batch of unused elements in
6445           docs (now someone needs to doc them)
6446
6447 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6448
6449         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6450         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6451           don't walk through the plugins backwards.  Where is all this
6452           reversed logic coming from ?
6453
6454 2005-08-25  Wim Taymans  <wim@fluendo.com>
6455
6456         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6457         (gst_base_transform_transform_size),
6458         (gst_base_transform_configure_caps),
6459         (gst_base_transform_get_unit_size),
6460         (gst_base_transform_buffer_alloc),
6461         (gst_base_transform_change_state):
6462         * gst/base/gstbasetransform.h:
6463         Cache caps unit_size.
6464         Make sure we cannot negotiate up and downstream at the
6465         same time.
6466
6467 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6468
6469         * gst/gst.c: (init_pre), (init_post):
6470           register the installed plugin path after the env var
6471         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6472         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6473           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6474           directories, so the tests can prefer uninstalled over installed
6475
6476 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6477
6478         * gst/base/gstbasetransform.h:
6479           comment
6480         * gst/gstpad.c:
6481           add to docs
6482
6483 2005-08-25  Wim Taymans  <wim@fluendo.com>
6484
6485         * gst/gstbin.c: (bin_bus_handler):
6486         Be a bit more conservative about the posted message.
6487         
6488         * gst/gstbus.c: (gst_bus_post):
6489         Some cleanups, warn wrong return values.
6490
6491 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6492
6493         * check/gst/gstbin.c: (GST_START_TEST):
6494         * gst/gstbin.c: (bin_bus_handler):
6495         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6496         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6497         (gst_message_new_warning), (gst_message_new_tag),
6498         (gst_message_new_state_changed), (gst_message_new_segment_start),
6499         (gst_message_new_segment_done), (gst_message_new_custom):
6500         * gst/gstmessage.h:
6501         * tools/gst-launch.c: (event_loop):
6502         * tools/gst-md5sum.c: (event_loop):
6503           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6504
6505 2005-08-25  Wim Taymans  <wim@fluendo.com>
6506
6507         * check/generic/states.c: (GST_START_TEST):
6508         Cleanup can be done at the end.
6509
6510         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6511         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6512         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6513         Oh boy.. Thanks for finding this, Thomas. 
6514
6515 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6516
6517         * docs/gst/gstreamer.types:
6518           added missing types
6519
6520 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6521
6522         * docs/gst/gstreamer-docs.sgml:
6523         * docs/gst/gstreamer-sections.txt:
6524         * docs/gst/tmpl/.cvsignore:
6525         * gst/gstbin.c:
6526         * gst/gstiterator.c:
6527         * gst/gstutils.c:
6528         * gst/registries/gstxmlregistry.h:
6529           added missing classes and symbols (123 more to go)
6530           removed removed symbols from section file
6531           fixed many doc-comments
6532
6533 2005-08-24  Wim Taymans  <wim@fluendo.com>
6534
6535         * check/generic/states.c: (GST_START_TEST):
6536         Make sure all tasks are stopped.
6537
6538         * check/gst/gstbin.c: (GST_START_TEST):
6539         Unref after usage for proper valgrinding.
6540
6541         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6542         Really wait for the task to stop before destroying the
6543         mutex.
6544
6545         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6546         (gst_queue_src_activate_push):
6547         Small cleanups. Don't stop the task when we did not start
6548         it.
6549
6550         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6551         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6552         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6553         (gst_task_join):
6554         * gst/gsttask.h:
6555         Protect the stream lock with the object lock.
6556         Disallow setting the stream lock when running.
6557         Add cleanup_all to wait for the threadpool to finish.
6558         Remove code to autoallocate a mutex if none was provided.
6559         Add _join() to wait for a task to stop.
6560         Protect the thread pool with a global lock.
6561
6562 2005-08-24  Wim Taymans  <wim@fluendo.com>
6563
6564         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6565         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6566         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6567         * gst/base/gstbasesink.h:
6568         Handle newsegment events correctly.
6569         Drop buffers out of the segment range.
6570
6571 2005-08-22  Andy Wingo  <wingo@pobox.com>
6572
6573         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6574         macro, implements an interface and gstimplementsinterface for a
6575         new type.
6576
6577 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6578
6579         * check/Makefile.am:
6580         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6581           add a test that does a bunch of state changes on elements
6582           needs some fixing for valgrind
6583         * check/states/sinks.c: (gst_object_suite):
6584           whitespace
6585         * gst/gstcaps.h:
6586           add prototype for gst_caps_is_equal_fixed
6587         * gst/gstplugin.c:
6588         * gst/gstregistrypool.c:
6589           doc fixes
6590
6591 2005-08-24  Andy Wingo  <wingo@pobox.com>
6592
6593         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6594         convert a negative value. Doesn't make much sense. Mostly this is
6595         here to force callers to ensure -1 maps to -1.
6596
6597 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6598
6599         * docs/pwg/advanced-types.xml:
6600           Well done to Michael for catching my deliberate introduction
6601           of this spelling mistake. 
6602         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6603         * gst/gstelement.h:
6604           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6605           unlink pads before removing the element from the bin.
6606
6607 2005-08-24  Andy Wingo  <wingo@pobox.com>
6608
6609         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6610         the same thing as GST_DEBUG=*:4.
6611         (parse_debug_level, parse_debug_category): New helper parsers.
6612
6613 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6614
6615         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6616         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6617         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6618         (gst_base_transform_buffer_alloc),
6619         (gst_base_transform_handle_buffer):
6620           use gboolean return values and pointers to size so we can use the
6621           full GST_BUFFER_SIZE range (guint) for buffer sizes
6622           use GstPadDirection for transform_caps
6623         * gst/base/gstbasetransform.h:
6624           rename get_size to get_unit_size since that's what it is
6625         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6626           use GstPadDirection for transform_caps
6627         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6628         * gst/gstutils.h:
6629           cleanup and debugging
6630
6631 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6632
6633         * gst/gstelement.c: (gst_element_class_init),
6634         (gst_element_set_state), (activate_pads),
6635         (gst_element_save_thyself):
6636         * tools/gst-compprep.c: (main):
6637         * tools/gst-inspect.c: (print_element_properties_info):
6638         * tools/gst-xmlinspect.c: (print_element_properties):
6639           Fixed long standing mem-leak
6640
6641 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6642
6643         * check/gst/gstbin.c: (GST_START_TEST):
6644         * gst/gstbin.c: (bin_bus_handler):
6645         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6646         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6647         (gst_message_new_warning), (gst_message_new_tag),
6648         (gst_message_new_state_changed), (gst_message_new_segment_start),
6649         (gst_message_new_segment_done), (gst_message_new_custom):
6650         * gst/gstmessage.h:
6651         * tools/gst-launch.c: (event_loop):
6652         * tools/gst-md5sum.c: (event_loop):
6653           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6654           that applications can sensibly post custom messages with references
6655           to their own objects.
6656
6657 2005-08-24  Andy Wingo  <wingo@pobox.com>
6658
6659         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6660         already.
6661
6662 2005-08-24  Wim Taymans  <wim@fluendo.com>
6663
6664         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6665         (gst_base_transform_transform_caps),
6666         (gst_base_transform_transform_size),
6667         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6668         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6669         (gst_base_transform_handle_buffer):
6670         * gst/base/gstbasetransform.h:
6671         Many fixes and new features added by Thomas. Can now also do
6672         transforms with variable sizes and a custom fixate_caps function.
6673
6674 2005-08-24  Wim Taymans  <wim@fluendo.com>
6675
6676         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6677         Some debugging.
6678
6679         * gst/gstclock.h:
6680         Cast to ClockTime before formatting to time.
6681
6682         * gst/gstutils.h:
6683         Cleanups.
6684
6685 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6686
6687         * check/gst-libs/controller.c: (GST_START_TEST),
6688         (gst_controller_suite):
6689         * docs/gst/tmpl/gstcaps.sgml:
6690         * docs/gst/tmpl/gstghostpad.sgml:
6691         * docs/gst/tmpl/gstquery.sgml:
6692         * docs/gst/tmpl/gstutils.sgml:
6693         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6694         (gst_object_sink_values), (gst_object_get_value_arrays),
6695         (gst_object_get_value_array):
6696           gracefully handle helper method calls to objects that are not beeing
6697           controlled, added test case for that          
6698
6699 2005-08-23  Wim Taymans  <wim@fluendo.com>
6700
6701         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6702         (gst_event_new_newsegment), (gst_event_parse_newsegment),
6703         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6704         (gst_event_parse_qos), (gst_event_new_seek),
6705         (gst_event_parse_seek):
6706         * gst/gstevent.h:
6707         Some more debugging output and doc cleanups.
6708
6709         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6710         Fix possible deadlock.
6711
6712 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6713
6714         * docs/gst/gstreamer-docs.sgml:
6715         * docs/gst/gstreamer-sections.txt:
6716         * docs/gst/gstreamer.types:
6717         * docs/gst/tmpl/.cvsignore:
6718         * gst/gstbin.h:
6719         * gst/gstbus.c:
6720         * gst/gstelement.c:
6721         * gst/gstevent.h:
6722           added 100 symbols from gstreamer-unused.txt to the right sections
6723           fixed more broken comments
6724           added GstBus to docs
6725
6726 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6727
6728         * docs/gst/gstreamer-sections.txt:
6729         * docs/gst/tmpl/.cvsignore:
6730         * docs/gst/tmpl/gstbin.sgml:
6731         * docs/gst/tmpl/gstbuffer.sgml:
6732         * gst/base/gstbasesrc.c:
6733         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6734         * gst/gstbuffer.c:
6735         * gst/gstbuffer.h:
6736         * tools/gst-launch.1.in:
6737           inlined more doc comments, added missing comments and fixed comments
6738           fixed typos
6739
6740 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6741
6742         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6743           some debugging
6744         * gst/gstcaps.h:
6745           whitespace fixes
6746         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6747           more debugging
6748         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6749         * gst/gststructure.h:
6750           add a fixate function for booleans; add a FIXME that these func
6751           names should probably be gst_structure_fixate_*
6752
6753 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6754
6755         * docs/gst/gstreamer-docs.sgml:
6756         * docs/gst/gstreamer-sections.txt:
6757         * gst/Makefile.am:
6758         * gst/gstbin.c: (gst_bin_get_type),
6759         (gst_bin_child_proxy_get_child_by_index),
6760         (gst_bin_child_proxy_get_children_count),
6761         (gst_bin_child_proxy_init):
6762         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6763         (gst_child_proxy_get_child_by_index),
6764         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6765         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6766         (gst_child_proxy_get), (gst_child_proxy_set_property),
6767         (gst_child_proxy_set_valist), (gst_child_proxy_set),
6768         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6769         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6770         * gst/gstchildproxy.h:
6771         * gst/parse/grammar.y:
6772         * tools/gst-inspect.c: (print_interfaces),
6773         (print_element_properties_info), (print_element_info):
6774           ported gstchildproxy over from 0.8
6775           ported gst-inspect fixes and enhancements over from 0.8
6776
6777 2005-08-22  Wim Taymans  <wim@fluendo.com>
6778
6779         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6780         (gst_base_transform_handle_buffer):
6781         Also call the transform function if we have ANY caps.
6782
6783         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6784         Fix debug info.
6785
6786 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6787
6788         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6789           Don't pretend to handle seek events if the source is not seekable
6790
6791 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6792
6793         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6794           Remove extra parameter to debug output
6795
6796         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6797         (gst_base_src_do_seek), (gst_base_src_activate_push):
6798           Fix seek event handling.
6799
6800         * gst/gstpipeline.c: (gst_pipeline_change_state):
6801         * gst/gstqueue.c: (gst_queue_handle_sink_event),
6802         (gst_queue_src_activate_push):
6803           Don't start the src pad task on FLUSH_STOP if the pad
6804           isn't linked.
6805           Debug changes.
6806
6807 2005-08-22  Wim Taymans  <wim@fluendo.com>
6808
6809         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6810         Added check for gst_static_caps_get() refcounting.
6811
6812 2005-08-22  Wim Taymans  <wim@fluendo.com>
6813
6814         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6815         Make _static_caps_get() refcounting sane.
6816         
6817         * gst/gstelement.c: (gst_element_set_state):
6818         Add g_return_val_if_fail() to protect against segfaults.
6819
6820 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
6821
6822         * docs/gst/tmpl/gstevent.sgml:
6823         * gst/gstevent.c:
6824         * gst/gstevent.h:
6825           inlined remaining docs, added missing doc comments
6826
6827 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6828
6829         * check/gst/gstbin.c: (GST_START_TEST):
6830           since we don't know when preroll is done, use refcount range
6831           check for the sink
6832         * gst/check/gstcheck.h:
6833           add macro for checking refcount range
6834
6835 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6836
6837         * check/Makefile.am:
6838           clean up environment for when registry gets built versus
6839           when actual tests are run; valgrind seems to not report
6840           leaks if GST_PLUGIN_PATH is set to some specific values
6841         * check/gst/gstbin.c: (GST_START_TEST):
6842           add more refcounting checks; maybe this exposes a
6843           preroll lock bug ?
6844         * common/check.mak:
6845         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6846         * gst/check/gstcheck.h:
6847         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6848         (gst_bin_change_state):
6849         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6850           add/fix debugging/whitespace
6851
6852 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6853
6854         * check/gst/gstevent.c: (event_probe), (test_event),
6855         (GST_START_TEST):
6856          Er, don't call gst_bin_watch_for_state_change you idiot.
6857
6858 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6859
6860         * check/Makefile.am:
6861           Use CHECK_CFLAGS and CHECK_LIBS
6862         * check/gst/gstevent.c: (event_probe), (test_event),
6863         (GST_START_TEST):
6864           Don't leak events.
6865         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6866         (gst_base_src_start), (gst_base_src_stop),
6867         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6868         (gst_base_src_change_state):
6869           Sprinkle gst_base_src_stop liberally around error paths to fix
6870           problems reusing a source after failed state changes.
6871         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6872         (helper_find_suggest), (gst_type_find_helper):
6873           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6874         * gst/gstevent.h:
6875         * docs/gst/tmpl/gstevent.sgml:
6876           Migrate part of the docs from the SGML file. Wait for ensonic to
6877           tell me how I did it wrong ;)
6878         * tools/gst-typefind.c: (main):
6879           Extra robustness to state changes between files.
6880
6881 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6882
6883         * check/Makefile.am:
6884           don't valgrind the controller test - it's leaking - Stefan, HELP
6885         * gst/check/gstcheck.c: (gst_check_message_error),
6886         (gst_check_chain_func), (gst_check_setup_element),
6887         (gst_check_teardown_element), (gst_check_setup_src_pad),
6888         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6889         (gst_check_teardown_sink_pad):
6890         * gst/check/gstcheck.h:
6891           add a bunch of methods to set up elements, and src and sink pads
6892         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6893         * check/elements/identity.c: (setup_identity), (cleanup_identity),
6894         (GST_START_TEST):
6895           use them
6896         * gst/gstmessage.c:
6897         * gst/gsttag.h:
6898           whitespace/doc fixes
6899
6900 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6901
6902         * gst/gstelement.h:
6903           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6904           be handled by the application and not always printed as well
6905
6906 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6907
6908         * check/Makefile.am:
6909           set GST_TOOLS_DIR
6910         * gst/check/gstcheck.c: (gst_check_message_error):
6911         * gst/check/gstcheck.h:
6912           add a fail_unless_equals_int
6913           add fail_unless for error messages
6914
6915 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6916
6917         * check/Makefile.am:
6918         * check/gst.supp:
6919         * common/Makefile.am:
6920         * common/check.mak:
6921         * common/gst.supp:
6922           factor out some of the common stuff so we can use it
6923
6924 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6925
6926         * check/Makefile.am:
6927         * check/gst/gstiterator.c: (GST_START_TEST):
6928         * check/gst/gstsystemclock.c: (GST_START_TEST),
6929         (gst_systemclock_suite):
6930         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6931         * gst/gstclock.c:
6932           valgrind more tests
6933
6934 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6935
6936         * check/elements/.cvsignore:
6937         * check/elements/gstfakesrc.c:
6938           rename to name of element
6939         * check/elements/identity.c: (chain_func), (event_func),
6940         (setup_identity), (cleanup_identity), (GST_START_TEST),
6941         (identity_suite), (main):
6942           add a test for identity
6943         * check/Makefile.am:
6944         * pkgconfig/Makefile.am:
6945         * pkgconfig/gstreamer-check.pc.in:
6946         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6947         * gst/check:
6948         * gst/Makefile.am:
6949         * configure.ac:
6950           move the check stuff to a library that gets installed
6951         * check/gst-libs/controller.c: (GST_START_TEST):
6952         * check/gst-libs/gdp.c:
6953         * check/gst/gst.c: (GST_START_TEST):
6954         * check/gst/gstbin.c:
6955         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6956         * check/gst/gstbus.c:
6957         * check/gst/gstcaps.c: (GST_START_TEST):
6958         * check/gst/gstelement.c:
6959         * check/gst/gstghostpad.c:
6960         * check/gst/gstiterator.c:
6961         * check/gst/gstmessage.c:
6962         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6963         * check/gst/gstobject.c:
6964         * check/gst/gstpad.c: (GST_START_TEST):
6965         * check/gst/gststructure.c: (GST_START_TEST):
6966         * check/gst/gstsystemclock.c: (GST_START_TEST),
6967         (gst_systemclock_suite):
6968         * check/gst/gsttag.c: (gst_tag_suite):
6969         * check/gst/gstvalue.c:
6970         * check/pipelines/cleanup.c:
6971         * check/pipelines/simple_launch_lines.c:
6972         * check/states/sinks.c:
6973           change include statement
6974
6975         * docs/gst/gstreamer-sections.txt:
6976         * docs/gst/tmpl/gstpad.sgml:
6977           document more pad stuff
6978         * gst/gstminiobject.c: (gst_mini_object_ref),
6979         (gst_mini_object_unref):
6980           debug refcounting
6981
6982 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
6983
6984         * docs/gst/tmpl/gst.sgml:
6985         * gst/gst.c:
6986           eliminate another tmpl file, fix spelling in the long-description
6987
6988 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6989
6990         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6991         (test_event), (timediff), (gstevents_suite):
6992           Should fix build on 64-bit arch's
6993
6994 2005-08-18  Andy Wingo  <wingo@pobox.com>
6995
6996         Make sure that when a pipeline goes to PLAYING, that data has
6997         actually hit the sink.
6998
6999         * check/states/sinks.c (test_sink): A sink that doesn't get any
7000         data shouldn't return SUCCESS for going to either PLAYING or
7001         PAUSED. Test also the return values on the way back down.
7002
7003         * gst/gstelement.c (gst_element_set_state): When changing the
7004         state of an element currently changing state asynchronously, go to
7005         lost-state after commiting the pending state. Makes future calls
7006         to get_state continue to return ASYNC.
7007
7008         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7009         ASYNC when going to PLAYING if we still don't have preroll, as can
7010         happen with live sources.
7011
7012 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7013
7014         * docs/pwg/advanced-types.xml:
7015           Hack long paragraph into 2 chunks as a workaround for buggy
7016           jadetex version in sid and breezy that loops infinitely and
7017           eats all RAM.
7018
7019 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7020
7021         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7022         (test_event), (timediff), (gstevents_suite):
7023           Provide more error margin in clock measurements to allow for 
7024           g_get_current_time inaccuracies.
7025
7026 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7027
7028         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7029         (test_event), (timediff), (gstevents_suite):
7030            Fix error message output so I might be able to tell why the
7031            test works here but fails on the build farm.
7032
7033 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7034
7035         * check/Makefile.am:
7036         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7037         (test_event), (timediff), (gstevents_suite), (main):
7038           I wrote a test!
7039
7040         * docs/design/part-seeking.txt:
7041           Spelling correction
7042
7043         * docs/gst/tmpl/gstevent.sgml:
7044         * docs/gst/tmpl/gstfakesrc.sgml:
7045           Docs updates.
7046
7047         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7048           Treat a buffer-without-newsegment the same as a receiving 
7049           a newsegment not in time format, and disable syncing to the clock
7050           with a warning.
7051
7052         * gst/gstbus.c: (gst_bus_set_sync_handler):
7053           Assert if anyone tries to replace the existing sync_handler for bus, 
7054           as only the owner should be setting it.
7055
7056         * gst/gstevent.h:
7057           Have a fixed set of custom event enums with events identified by
7058           their structure name (as in 0.8), rather than a free-for-all
7059           allowing collisions between enum values from different plugins.
7060
7061         * gst/gstpad.c: (gst_pad_class_init):
7062           Docs change.
7063           
7064         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7065           Handle out-of-band downstream events from the sending thread.
7066
7067 2005-08-17  Andy Wingo  <wingo@pobox.com>
7068
7069         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7070         play-timeout==0 to mean no timeout at all. In that case, don't
7071         bother with a get_state or a warning, just return directly, even
7072         if it's ASYNC.
7073
7074         * gst/base/gstbasetransform.c: Debug changes.
7075
7076         * gst/gstutils.h:
7077         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7078         ensure bins post state change messages. A bit of a hack but I can't
7079         think of a way to avoid it.
7080
7081         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7082
7083 2005-08-16  Andy Wingo  <wingo@pobox.com>
7084
7085         * gst/base/gstadapter.h:
7086         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7087         peek() but you own the data. Not terribly efficient atm.
7088
7089 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7090
7091         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7092         (gst_element_found_tags):
7093         * gst/gstutils.h:
7094           Add two utility functions for tag handling.
7095
7096 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7097
7098         * docs/manual/advanced-dataaccess.xml:
7099         * docs/manual/basics-helloworld.xml:
7100           Fix docs to use _bin_add() before _link(), which fixes the examples
7101           with recent core versions (reported by Madhan Raj M
7102           <raj_madan@rediffmail.com>, #313199).
7103
7104 2005-08-16  Wim Taymans  <wim@fluendo.com>
7105
7106         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7107         Added subtract checks.
7108
7109         * docs/design/part-events.txt:
7110         Some more docs about newsegment
7111
7112         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7113         Fix FIXME
7114
7115         * gst/gstcaps.c: (gst_caps_to_string):
7116         Add comments, cleanups.
7117         
7118         * gst/gstelement.c: (gst_element_save_thyself):
7119         cleanups
7120         
7121         * gst/gstvalue.c: (gst_value_collect_int_range),
7122         (gst_string_unwrap), (gst_value_union_int_int_range),
7123         (gst_value_union_int_range_int_range),
7124         (gst_value_intersect_int_int_range),
7125         (gst_value_intersect_int_range_int_range),
7126         (gst_value_intersect_double_double_range),
7127         (gst_value_intersect_double_range_double_range),
7128         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7129         (gst_value_subtract_int_range_int),
7130         (gst_value_subtract_double_range_double),
7131         (gst_value_subtract_double_range_double_range),
7132         (gst_value_subtract_from_list), (gst_value_subtract_list),
7133         (gst_value_can_compare), (gst_value_compare_fraction):
7134         Cleanups, add comments, remove unneeded asserts.
7135
7136 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7137
7138         * tools/gst-launch.c: (event_loop):
7139           don't convert NULL structures to strings
7140
7141 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7142
7143         * docs/gst/gstreamer-sections.txt:
7144           made some defines private
7145         * docs/gst/tmpl/gstconfig.sgml:
7146         * docs/gst/tmpl/gstqueue.sgml:
7147         * docs/gst/tmpl/gsttaglist.sgml:
7148         * docs/gst/tmpl/gsttypes.sgml:
7149         * docs/gst/tmpl/gstutils.sgml:
7150         * docs/pwg/appendix-porting.xml:
7151         * gst/base/gstbasesink.h:
7152         * gst/base/gstbasesrc.c:
7153         * gst/base/gstbasesrc.h:
7154         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7155         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7156         * gst/gstelement.c: (gst_element_class_init):
7157         * gst/gstpad.c: (gst_pad_class_init):
7158         * gst/gstqueue.c: (gst_queue_class_init):
7159         * gst/gstxml.c: (gst_xml_class_init):
7160           documented all undocumented signal inline
7161         * libs/gst/controller/gst-controller.h:
7162           added padding
7163
7164 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7165
7166         * docs/pwg/appendix-porting.xml:
7167           Document _set_link_function -> _set_setcaps_function.
7168
7169 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7170
7171         * check/Makefile.am:
7172           add a .check target for running the check
7173         * check/gst-libs/controller.c: (GST_START_TEST):
7174           cosmetic fixups
7175         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7176           complete checks for gstbuffer; would be nice if I could get the
7177           gcov stuff to work so I can see if I actually completed gstbuffer.c
7178         * check/gstcheck.h:
7179           add ASSERT_BUFFER_REFCOUNT
7180
7181 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7182
7183         * docs/gst/gstreamer-sections.txt:
7184         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7185         * gst/gsttag.h:
7186           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7187           spew out a warning if a tag that is already registered
7188           is re-registered, unless it is re-registered with a 
7189           different type (#308438).
7190
7191 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7192
7193         * docs/pwg/appendix-porting.xml:
7194         * docs/pwg/building-state.xml:
7195           Add some paragraphs about state changes in 0.9 to the PWG
7196           and the porting guide, in particular about the new meaning
7197           of GST_STATE_PAUSED and how to write state change functions
7198           with concurrent access by multiple threads in mind.
7199
7200 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7201
7202         * docs/gst/gstreamer-docs.sgml:
7203         * docs/libs/gstreamer-libs-docs.sgml:
7204           added deprecation and since indexes
7205         * libs/gst/controller/gst-controller.c:
7206         * libs/gst/controller/gst-helper.c:
7207           added since tags
7208
7209
7210 2005-08-11  Wim Taymans  <wim@fluendo.com>
7211
7212         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7213         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7214         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7215         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7216         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7217         (gst_ghost_pad_set_target):
7218         Actually implement (re)setting the target on a ghostpad
7219         as described in the docs.
7220
7221 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7222
7223         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7224           Check whether GST_DEBUG_NO_COLOR environment variable is
7225           set and disable coloured debug output if that is the case.
7226
7227 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7228
7229         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7230         (gst_type_find_helper):
7231           The memory returned by gst_type_find_peek() needs to
7232           stay valid until the end of a typefind function, and
7233           typefind functions may keep results from different 
7234           offsets around, so we can't just unref the buffer from
7235           the previous _peek(), but have to save all buffers 
7236           returned by _peek() until typefinding is done and only
7237           free them then.
7238
7239 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7240
7241         * docs/gst/gstreamer-sections.txt:
7242         * gst/gstutils.h:
7243           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7244
7245 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7246
7247         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7248           Fix a pretty good memleak.
7249
7250 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7251
7252         * gst/gstiterator.h:
7253           Fix wrong include and 'make distcheck'.
7254
7255 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7256
7257         * gst/gstbin.c: (bin_bus_handler):
7258           Use gst_element_post_message() instead.
7259
7260 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7261
7262         * gst/base/gstadapter.h:
7263         * gst/base/gstbasesink.h:
7264         * gst/base/gstbasesrc.h:
7265         * gst/base/gstbasetransform.h:
7266         * gst/base/gstcollectpads.h:
7267         * gst/base/gstpushsrc.h:
7268         * gst/gstiterator.h:
7269           Add padding to our base elements' class and instance structs and
7270           to GstIterator (you will need to rebuild all plugins and apps!)
7271
7272 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7273
7274         * gst/gstbin.c: (bin_bus_handler):
7275           Make default message forwarding from child->bus to bin->bus
7276           threadsafe and make it not emit warnings if the parent has no bus.
7277
7278 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7279
7280         * gst/gstelement.c: (activate_pads):
7281           On paused->ready, set pad->caps to NULL, as is the documented
7282           behaviour in this state change. Fixes playback of series of
7283           media files when visualization is enabled in Totem.
7284
7285 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7286
7287         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7288           Allow NULL as filter-caps (which means "any").
7289
7290 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7291
7292         * docs/libs/gstreamer-libs-sections.txt:
7293         * libs/gst/controller/gst-controller.c:
7294         * libs/gst/controller/gst-controller.h:
7295         * libs/gst/controller/gst-helper.c:
7296           adding more entries to the docs and fix small doc-bugs
7297
7298 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7299
7300         * docs/gst/gstreamer-docs.sgml:
7301         * docs/gst/gstreamer-sections.txt:
7302         * docs/gst/gstreamer.types:
7303         * docs/gst/tmpl/gstbasesink.sgml:
7304         * docs/gst/tmpl/gstbasesrc.sgml:
7305         * docs/gst/tmpl/gstbasetransform.sgml:
7306         * docs/gst/tmpl/gstfakesrc.sgml:
7307         * gst/base/gstcollectpads.c:
7308         * gst/base/gstcollectpads.h:
7309         * libs/gst/controller/gst-controller.c:
7310         * libs/gst/controller/gst-controller.h:
7311         * libs/gst/controller/gst-helper.c:
7312         * libs/gst/controller/gst-interpolation.c:
7313         * libs/gst/controller/lib.c:
7314           added long/short desc for controller docs
7315           added collectpads base class docs
7316           added correct includes to base-class docs
7317
7318 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7319
7320         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7321         (gst_test_mono_source_set_property),
7322         (gst_test_mono_source_class_init), (GST_START_TEST),
7323         (gst_controller_suite):
7324         * docs/gst/gstreamer-docs.sgml:
7325         * docs/gst/gstreamer-sections.txt:
7326         * docs/gst/gstreamer.types:
7327         * docs/libs/gstreamer-libs-docs.sgml:
7328         * docs/libs/gstreamer-libs-sections.txt:
7329         * gst/base/gstadapter.c:
7330         * libs/gst/controller/gst-controller.c:
7331         (gst_controlled_property_new), (gst_controlled_property_free),
7332         (gst_controller_new_valist),
7333         (gst_controller_remove_properties_valist),
7334         (gst_controller_sink_values), (_gst_controller_finalize):
7335         * libs/gst/controller/gst-controller.h:
7336         * libs/gst/controller/gst-helper.c:
7337         (gst_object_control_properties), (gst_object_uncontrol_properties),
7338         (gst_object_get_controller), (gst_object_set_controller),
7339         (gst_object_sink_values), (gst_object_get_value_arrays),
7340         (gst_object_get_value_array):
7341           more tests (and fixes) for the controller
7342           more docs for the controller
7343           integrated companies docs for the adapter 
7344
7345 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7346
7347         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7348         (GST_START_TEST), (fakesrc_suite):
7349           add tests for sizetype
7350
7351 2005-08-04  Andy Wingo  <wingo@pobox.com>
7352
7353         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7354         fixes buffer_alloc proxying among other things.
7355
7356         * gst/base/gstbasetransform.c:
7357         * gst/base/gstbasetransform.h:
7358         Revert patch to gstbasetransform from 7-28 removing
7359         delay_configure.
7360
7361         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7362         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7363         Semantics changed, should return not the size of the output buffer
7364         but the byte size of a buffer with a given caps.
7365
7366         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7367         debug object.
7368         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7369         out) are not the pad caps until setcaps finishes.
7370         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7371         not-in-place case as well. Deal with changing from in-place to
7372         not-in-place within calling pad_alloc_buffer. Still a bit
7373         concerned about the overhead here...
7374
7375 2005-08-03  Andy Wingo  <wingo@pobox.com>
7376
7377         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7378         fixating is an error.
7379
7380 2005-08-04  Edward Hervey  <edward@fluendo.com>
7381
7382         * gst/base/gstadapter.h: 
7383         Added gst_adapter_get_type() to the header
7384
7385 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7386
7387         * check/Makefile.am:
7388         * check/gst-libs/controller.c:
7389         * libs/gst/controller/gst-controller.c:
7390         (gst_controller_new_valist):
7391           added check test suite for the controller
7392         * gst/base/gstpushsrc.c:
7393           fixed a doc typo
7394
7395 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7396
7397         * docs/gst/Makefile.am:
7398         * docs/gst/gstreamer-docs.sgml:
7399         * docs/gst/gstreamer-sections.txt:
7400         * docs/gst/gstreamer.types:
7401         * docs/gst/tmpl/gstfakesrc.sgml:
7402         * gst/base/README:
7403         * gst/base/gstbasesink.c:
7404         * gst/base/gstbasesink.h:
7405         * gst/base/gstbasesrc.c:
7406         * gst/base/gstbasesrc.h:
7407         * gst/base/gstbasetransform.c:
7408         * gst/base/gstpushsrc.c:
7409         * gst/base/gstpushsrc.h:
7410           add short/long description docs to base classes
7411           add pushsrc to the docs
7412           remove consolidated doc fragments
7413
7414 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7415
7416         * configure.ac:
7417         * docs/libs/Makefile.am:
7418         * docs/libs/gstreamer-libs-docs.sgml:
7419         * docs/libs/gstreamer-libs-sections.txt:
7420         * docs/libs/gstreamer-libs.types:
7421         * examples/Makefile.am:
7422         * examples/controller/.cvsignore:
7423         * examples/controller/Makefile.am:
7424         * examples/controller/audio-example.c: (main):
7425         * libs/gst/Makefile.am:
7426         * libs/gst/controller/.cvsignore:
7427         * libs/gst/controller/Makefile.am:
7428         * libs/gst/controller/gst-controller.c:
7429         (on_object_controlled_property_changed), (gst_timed_value_compare),
7430         (gst_timed_value_find),
7431         (gst_controlled_property_set_interpolation_mode),
7432         (gst_controlled_property_new), (gst_controlled_property_free),
7433         (gst_controller_find_controlled_property),
7434         (gst_controller_new_valist), (gst_controller_new),
7435         (gst_controller_remove_properties_valist),
7436         (gst_controller_remove_properties), (gst_controller_set),
7437         (gst_controller_set_from_list), (gst_controller_unset),
7438         (gst_controller_get), (gst_controller_get_all),
7439         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7440         (gst_controller_get_value_array),
7441         (gst_controller_set_interpolation_mode),
7442         (_gst_controller_finalize), (_gst_controller_init),
7443         (_gst_controller_class_init), (gst_controller_get_type):
7444         * libs/gst/controller/gst-controller.h:
7445         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7446         (g_object_uncontrol_properties), (g_object_get_controller),
7447         (g_object_set_controller), (g_object_sink_values),
7448         (g_object_get_value_arrays), (g_object_get_value_array):
7449         * libs/gst/controller/gst-interpolation.c:
7450         (gst_controlled_property_find_timed_value_node),
7451         (interpolate_none_get), (interpolate_trigger_get),
7452         (interpolate_trigger_get_value_array):
7453         * libs/gst/controller/lib.c: (gst_controller_init):
7454         * pkgconfig/Makefile.am:
7455         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7456         * pkgconfig/gstreamer-control.pc.in:
7457         * testsuite/Makefile.am:
7458         * testsuite/controller/.cvsignore:
7459         * testsuite/controller/Makefile.am:
7460         * testsuite/controller/interpolator.c: (main):
7461           added controller code
7462           removed dparam pc files
7463
7464 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7465         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7466         (gst_collectpads_stop):
7467           Broadcast the condition when shutting down, to make sure we wake all
7468           threads up. Shut down pads on finalize, for safety.
7469
7470 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7471         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7472         (gst_base_transform_handle_buffer),
7473         (gst_base_transform_change_state):
7474           Handle PAUSED->READY->PAUSED transition after negotiation
7475           occurred already.
7476         * gst/gstmessage.c: (gst_message_init):
7477           Extra piece of debug for new messages.
7478
7479 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7480
7481         * configure.ac:
7482         * docs/gst/tmpl/gstbasesrc.sgml:
7483         * docs/gst/tmpl/gstelement.sgml:
7484         * docs/gst/tmpl/gstevent.sgml:
7485         * docs/gst/tmpl/gstfakesrc.sgml:
7486         * docs/gst/tmpl/gstformat.sgml:
7487         * docs/gst/tmpl/gstghostpad.sgml:
7488         * docs/gst/tmpl/gstpad.sgml:
7489         * docs/gst/tmpl/gstquery.sgml:
7490         * docs/gst/tmpl/gststructure.sgml:
7491         * docs/gst/tmpl/gsttaglist.sgml:
7492         * docs/gst/tmpl/gstvalue.sgml:
7493         * docs/libs/gstreamer-libs-docs.sgml:
7494         * docs/libs/gstreamer-libs-sections.txt:
7495         * docs/libs/gstreamer-libs.types:
7496         * libs/gst/Makefile.am:
7497         * libs/gst/control/.cvsignore:
7498         * libs/gst/control/Makefile.am:
7499         * libs/gst/control/control.c:
7500         * libs/gst/control/control.h:
7501         * libs/gst/control/dparam.c:
7502         * libs/gst/control/dparam.h:
7503         * libs/gst/control/dparam_smooth.c:
7504         * libs/gst/control/dparam_smooth.h:
7505         * libs/gst/control/dparamcommon.h:
7506         * libs/gst/control/dparammanager.c:
7507         * libs/gst/control/dparammanager.h:
7508         * libs/gst/control/dplinearinterp.c:
7509         * libs/gst/control/dplinearinterp.h:
7510         * libs/gst/control/unitconvert.c:
7511         * libs/gst/control/unitconvert.h:
7512         * testsuite/Makefile.am:
7513         * testsuite/dynparams/.cvsignore:
7514         * testsuite/dynparams/Makefile.am:
7515         * testsuite/dynparams/dparamstest.c:
7516         * tools/Makefile.am:
7517         * tools/gst-inspect.c: (print_element_info), (main):
7518         * tools/gst-xmlinspect.c: (print_element_info), (main):
7519           deactivate and remove dparams (libgstcontrol)
7520
7521 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7522
7523         * gst/elements/gsttypefindelement.c:
7524         (gst_type_find_element_have_type), (gst_type_find_element_init),
7525         (stop_typefinding), (gst_type_find_element_handle_event),
7526         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7527         * gst/elements/gsttypefindelement.h:
7528           Set caps on all outgoing buffers, not just the first one.
7529
7530 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7531
7532         * gst/elements/gsttypefindelement.c:
7533         (gst_type_find_element_have_type),
7534         (gst_type_find_element_check_set_buffer_caps),
7535         (gst_type_find_element_init), (stop_typefinding),
7536         (gst_type_find_element_handle_event),
7537         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7538         * gst/elements/gsttypefindelement.h:
7539           Set caps on first outgoing buffer when we've found the type.
7540
7541 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7542
7543         * docs/gst/gstreamer-docs.sgml:
7544         * docs/gst/gstreamer-sections.txt:
7545         * docs/gst/tmpl/gstscheduler.sgml:
7546         * docs/gst/tmpl/gstschedulerfactory.sgml:
7547           Remove some old cruft from docs.
7548
7549 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7550
7551         * gst/gstpad.h:
7552           Fix inline docs for GstPadLinkReturn.
7553           
7554         * gst/gststructure.c: (gst_structure_has_name):
7555         * gst/gststructure.h:
7556         * docs/gst/gstreamer-sections.txt:
7557           New API: gst_structure_has_name().
7558
7559 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7560
7561         * configure.ac:
7562           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7563           and _LARGEFILE_SOURCE in config.h as required. Do not 
7564           export those flags in our .pc files any longer (#142209).
7565
7566           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7567
7568         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7569         (gst_file_sink_do_seek), (gst_file_sink_event),
7570         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7571           Redo seek/tell calls with large file support in mind; add some
7572           debugging messages; add log message that tells us when large
7573           file support is unavailable or not enabled for some reason.
7574
7575         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7576           Add log message that tells us when large file support 
7577           is unavailable or not enabled for some reason.
7578
7579 2005-07-29  Wim Taymans  <wim@fluendo.com>
7580
7581         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7582         Added test for removing an element with ghostpad from a bin.
7583         Fixed test as current implementation does the right thing.
7584
7585         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7586         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7587         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7588         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7589         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7590         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7591         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7592         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7593         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7594         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7595         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7596         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7597         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7598         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7599         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7600         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7601         * gst/gstghostpad.h:
7602         Clean up ghostpads, remove properties for internal stuff.
7603         Make threadsafe.
7604         Fix refcounting.
7605         Prepare for switching targets, not all use cases work yet.
7606
7607 2005-07-29  Wim Taymans  <wim@fluendo.com>
7608
7609         * docs/design/part-gstghostpad.txt:
7610         Small update.
7611
7612         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7613         (gst_bin_remove_func):
7614         Unlinking pads while holding the bin LOCK is not a good
7615         idea.
7616
7617         * gst/gstpad.c: (gst_pad_class_init),
7618         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7619         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7620         No prob setting template after creating the pad.
7621
7622 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7623
7624         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7625         (gst_bus_peek), (gst_bus_source_dispatch),
7626         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7627         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7628           gst_bus_poll may be called from other threads. Handle
7629           this nicely by not making poll_data disappear off the
7630           stack once gst_bus_poll returns.
7631           gst_bus_peek now increments the refcount on the returned
7632           message.
7633
7634 2005-07-29  Wim Taymans  <wim@fluendo.com>
7635
7636         * docs/design/part-gstghostpad.txt:
7637         Overview of current GhostPad datastructures and use
7638         cases for changing the target.
7639
7640 2005-07-28  Wim Taymans  <wim@fluendo.com>
7641
7642         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7643         Added checks for hierarchy consistency whan adding linked
7644         elements to bins.
7645
7646         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7647         Added check to test element scheduling without bin/pipeline.
7648
7649         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7650         First add elements to bin, then link.
7651         
7652         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7653         (gst_bin_remove_func):
7654         Unlink pads from elements added/removed from bin to maintain
7655         hierarchy consistency.
7656
7657 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7658
7659         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7660         (gst_base_transform_handle_buffer):
7661         * gst/base/gstbasetransform.h:
7662           Remove broken delay_configure (fixes renegotiation of software
7663           scaling pipelines); remove some leftover printf()s.
7664
7665 2005-07-28  Wim Taymans  <wim@fluendo.com>
7666
7667         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7668         Added some more tests for wrong hierarchy
7669
7670         * docs/design/part-overview.txt:
7671         Some updates.
7672
7673         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7674         Cleanups.
7675
7676         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7677         (gst_element_dispose):
7678         Some more cleanups.
7679
7680         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7681         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7682         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7683         (gst_pad_set_caps), (gst_pad_send_event):
7684         Check for correct hierarchy when linking pads. Moving to
7685         strict requirement for ghostpads when linking elements in
7686         different bins.
7687
7688         * gst/gstpad.h:
7689         Clean ups. Added WRONG_HIERARCHY return value.
7690
7691 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7692
7693         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7694           Better debug if no transform is possible.
7695
7696 2005-07-27  Wim Taymans  <wim@fluendo.com>
7697
7698         * docs/random/wtay/network-transp:
7699         Some old doc I had.
7700
7701 2005-07-27  Wim Taymans  <wim@fluendo.com>
7702
7703         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7704         (gst_dp_event_from_packet):
7705         Fix serialization of seek events.
7706
7707 2005-07-27  Wim Taymans  <wim@fluendo.com>
7708
7709         * check/gst-libs/gdp.c: (GST_START_TEST):
7710         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7711         Fix compilation and fix event serialization.
7712
7713 2005-07-27  Wim Taymans  <wim@fluendo.com>
7714
7715         * CHANGES-0.9:
7716         * docs/design/part-TODO.txt:
7717         * docs/design/part-events.txt:
7718         Some docs updates
7719
7720         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7721         (gst_base_sink_event), (gst_base_sink_do_sync),
7722         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7723         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7724         (gst_base_src_do_seek), (gst_base_src_event_handler),
7725         (gst_base_src_loop):
7726         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7727         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7728         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7729         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7730         (gst_base_transform_set_passthrough),
7731         (gst_base_transform_is_passthrough):
7732         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7733         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7734         Event updates.
7735
7736         * gst/gstbuffer.h:
7737         Use faster casts.
7738
7739         * gst/gstelement.c: (gst_element_seek):
7740         * gst/gstelement.h:
7741         Update gst_element_seek.
7742
7743         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7744         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7745         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7746         (gst_event_new_eos), (gst_event_new_newsegment),
7747         (gst_event_parse_newsegment), (gst_event_new_tag),
7748         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7749         (gst_event_parse_qos), (gst_event_new_seek),
7750         (gst_event_parse_seek), (gst_event_new_navigation):
7751         * gst/gstevent.h:
7752         Make GstEvent use GstStructure. Add parsing code, make sure the
7753         API is sufficiently generic.
7754         Mark possible directions of events and serialization.
7755
7756         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7757         (_gst_message_copy), (gst_message_new_segment_start),
7758         (gst_message_new_segment_done), (gst_message_new_custom),
7759         (gst_message_parse_segment_start),
7760         (gst_message_parse_segment_done):
7761         Small cleanups.
7762
7763         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7764         (gst_pad_set_caps), (gst_pad_send_event):
7765         Update for new events. 
7766         Catch events sent in wrong directions.
7767
7768         * gst/gstqueue.c: (gst_queue_link_src),
7769         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7770         (gst_queue_handle_src_query):
7771         Event updates.
7772
7773         * gst/gsttag.c:
7774         * gst/gsttag.h:
7775         Remove event code from this file.
7776
7777         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7778         (gst_dp_event_from_packet):
7779         Event updates.
7780
7781 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7782
7783         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7784         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7785         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7786           Make debugging actually useful.
7787
7788 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7789
7790         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7791         (gst_pad_fixate_caps):
7792           Implement default fixation once again, so that gst_pad_fixate()
7793           actually does anything at all. This probably needs to be some
7794           sort of a last resort, and use profile-based fixation first, but
7795           since that doesn't exist yet, this is the best we have. Fixes
7796           visualization in Totem.
7797
7798 2005-07-22  Wim Taymans  <wim@fluendo.com>
7799
7800         * docs/design/part-events.txt:
7801         Small update.
7802
7803         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7804         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7805         (gst_base_sink_activate_pull):
7806         Some more comments.
7807
7808         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7809         (gst_fake_src_create):
7810         Fix handoff marshall.
7811
7812         * gst/elements/gstidentity.c: (gst_identity_class_init),
7813         (gst_identity_transform_ip):
7814         We're a real inplace element.
7815
7816         * gst/gstbus.c: (gst_bus_post):
7817         Added some comments.
7818
7819         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7820         * tests/muxing/case1.c: (main):
7821         * tests/sched/dynamic-pipeline.c: (main):
7822         * tests/sched/interrupt1.c: (main):
7823         * tests/sched/interrupt2.c: (main):
7824         * tests/sched/interrupt3.c: (main):
7825         * tests/sched/runxml.c: (main):
7826         * tests/sched/sched-stress.c: (main):
7827         * tests/seeking/seeking1.c: (event_received), (main):
7828         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7829         (main):
7830         * tests/threadstate/threadstate3.c: (main):
7831         * tests/threadstate/threadstate4.c: (main):
7832         * tests/threadstate/threadstate5.c: (main):
7833         Fix the tests.
7834
7835 2005-07-21  Wim Taymans  <wim@fluendo.com>
7836
7837         * docs/design/part-seeking.txt:
7838         Some small additions.
7839
7840         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7841         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7842         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7843         * gst/base/gstbasesink.h:
7844         discont values are gint64, handle the math correctly.
7845
7846         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7847         Make the basesrc report error if the source pad is not linked.
7848
7849         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7850         (gst_queue_loop), (gst_queue_handle_src_query),
7851         (gst_queue_src_activate_push):
7852         Make queue collect data even if the srcpad is not linked.
7853         Start pushing out data as soon as it is linked.
7854
7855         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7856         * gst/gstutils.h:
7857         Added gst_flow_get_name() to ease error reporting.
7858
7859 2005-07-20  Wim Taymans  <wim@fluendo.com>
7860
7861         * gst/gstmessage.c: (gst_message_new_segment_start),
7862         (gst_message_new_segment_done), (gst_message_parse_segment_start),
7863         (gst_message_parse_segment_done):
7864         * gst/gstmessage.h:
7865         Added a bunch of messages for advanced seeking.
7866
7867         * gst/parse/grammar.y:
7868         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7869         (gst_dpman_state_changed):
7870         Fix some new-pad -> pad-added signals
7871
7872 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7873
7874         * docs/manual/appendix-porting.xml:
7875         * docs/pwg/appendix-porting.xml:
7876           Document new-pad/state-change signal renames and the FixedList
7877           type rename.
7878
7879 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7880
7881         * docs/manual/advanced-autoplugging.xml:
7882         * docs/manual/basics-helloworld.xml:
7883         * docs/manual/basics-pads.xml:
7884         * docs/random/ds/0.9-suggested-changes:
7885         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7886         * gst/gstelement.h:
7887         * gst/gstevent.h:
7888         * gst/gstformat.h:
7889         * gst/gstquery.h:
7890         * gst/gststructure.c: (gst_structure_value_get_generic_type),
7891         (gst_structure_parse_array), (gst_structure_parse_value):
7892         * gst/gstvalue.c: (gst_type_is_fixed),
7893         (gst_value_list_prepend_value), (gst_value_list_append_value),
7894         (gst_value_list_get_size), (gst_value_list_get_value),
7895         (gst_value_transform_array_string), (gst_value_serialize_array),
7896         (gst_value_deserialize_array), (gst_value_intersect_array),
7897         (gst_value_is_fixed), (_gst_value_initialize):
7898         * gst/gstvalue.h:
7899           GstElement::new-pad -> pad-added, GstElement::state-change ->
7900           state-changed, GstValueFixedList -> GstValueArray, add format and
7901           flags as their own arguments in gst_element_seek() (should improve
7902           "bindeability"), remove function generators since they don't work
7903           under a whole bunch of compilers (they were deprecated already
7904           anyway).
7905
7906 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7907
7908         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7909         (_gst_debug_register_funcptr):
7910         * gst/gstinfo.h:
7911           Fix illegal cast on some platforms (#309253).
7912
7913 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7914
7915         * gst/gstmessage.c: (gst_message_new_custom):
7916         * gst/gstmessage.h:
7917           Add _new_custom, make _new_application a macro to _new_custom.
7918
7919 2005-07-20  Wim Taymans  <wim@fluendo.com>
7920
7921         * gst/base/gstbasesrc.c: (gst_base_src_init),
7922         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7923         * gst/base/gstbasesrc.h:
7924         Add a gboolean to decide when to push out a discont.
7925
7926         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7927         (gst_queue_loop), (gst_queue_handle_src_query),
7928         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7929         (gst_queue_set_property), (gst_queue_get_property):
7930         Some cleanups.
7931
7932         * tests/threadstate/threadstate1.c: (main):
7933         Make a thread test compile and run... very silly..
7934
7935
7936 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7937
7938         * docs/manual/appendix-porting.xml:
7939           Mention removal of libgstgconf-0.9.la and existence of gconf
7940           elements.
7941
7942 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7943
7944         * docs/pwg/advanced-clock.xml:
7945         * docs/pwg/appendix-porting.xml:
7946         * docs/pwg/intro-preface.xml:
7947         * docs/pwg/other-base.xml:
7948         * docs/pwg/other-manager.xml:
7949         * docs/pwg/other-nton.xml:
7950         * docs/pwg/other-ntoone.xml:
7951         * docs/pwg/other-oneton.xml:
7952         * docs/pwg/pwg.xml:
7953           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7954           demuxer), remove n-to-n (was never written), fix some code examples
7955           and links and update the porting section to include all this.
7956
7957 2005-07-19  Wim Taymans  <wim@fluendo.com>
7958
7959         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7960         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7961         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7962         (gst_queue_src_activate_push), (gst_queue_change_state),
7963         (gst_queue_get_property):
7964         * gst/gstqueue.h:
7965         Propagate GstFlowReturn more intelligently upstream and output
7966         an ERROR/EOS when streaming stopped due to fatal error.
7967
7968 2005-07-19  Wim Taymans  <wim@fluendo.com>
7969
7970         * tools/gst-launch.c: (check_intr), (event_loop), (main):
7971         Don't block forever for the state change to complete, the
7972         pipeline already did with a sensible timeout.
7973
7974 2005-07-19  Wim Taymans  <wim@fluendo.com>
7975
7976         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7977         Make sure we never call the create function is we
7978         got deactivated.
7979
7980 2005-07-19  Andy Wingo  <wingo@pobox.com>
7981
7982         * gst/parse/parse.l: Attempt to solve bug #172815.
7983
7984 2005-07-19  Wim Taymans  <wim@fluendo.com>
7985
7986         * docs/design/part-clocks.txt:
7987         * docs/design/part-events.txt:
7988         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7989         Small docs updates.
7990         Only update the seeking values when we are not
7991         busy streaming.
7992
7993 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7994
7995         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7996           Oops, ignore the result of gst_pad_push_event here.
7997
7998 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7999
8000         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8001         (gst_base_src_activate_push):
8002           Send discont event from the loop function, as pads
8003           aren't activated yet in the activate_push handler.
8004
8005         * gst/gstbin.c: (bin_bus_handler):
8006           Don't leak element name.
8007
8008 2005-07-18  Andy Wingo  <wingo@pobox.com>
8009
8010         * configure.ac: Use AS_LIBTOOL_TAGS.
8011
8012 2005-07-18  Wim Taymans  <wim@fluendo.com>
8013
8014         * docs/gst/gstreamer.types:
8015         Remove deleted types.
8016
8017 2005-07-18  Wim Taymans  <wim@fluendo.com>
8018
8019         * check/elements/gstfakesrc.c: (GST_START_TEST):
8020         * configure.ac:
8021         * gst/Makefile.am:
8022         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8023         (init_popt_callback):
8024         * gst/gst.h:
8025         * gst/gst_private.h:
8026         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8027         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8028         * gst/gstbin.h:
8029         * gst/gstbus.h:
8030         * gst/gstconfig.h.in:
8031         * gst/gstelement.c: (gst_element_class_init),
8032         (gst_element_set_base_time), (gst_element_get_base_time),
8033         (iterator_fold_with_resync), (gst_element_change_state),
8034         (gst_element_dispose), (gst_element_get_bus):
8035         * gst/gstelement.h:
8036         * gst/gstelementfactory.h:
8037         * gst/gsterror.c: (_gst_core_errors_init):
8038         * gst/gsterror.h:
8039         * gst/gstevent.h:
8040         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8041         * gst/gstindex.c:
8042         * gst/gstinfo.c: (_gst_debug_init):
8043         * gst/gstmessage.c: (_gst_message_copy):
8044         * gst/gstmessage.h:
8045         * gst/gstminiobject.h:
8046         * gst/gstobject.c:
8047         * gst/gstobject.h:
8048         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8049         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8050         * gst/gstpad.h:
8051         * gst/gstparse.h:
8052         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8053         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8054         (gst_pipeline_get_last_stream_time):
8055         * gst/gstpipeline.h:
8056         * gst/gstpluginfeature.h:
8057         * gst/gstquery.h:
8058         * gst/gstscheduler.c:
8059         * gst/gstscheduler.h:
8060         * gst/gststructure.h:
8061         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8062         (gst_task_finalize), (gst_task_func), (gst_task_create),
8063         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8064         (gst_task_stop), (gst_task_pause):
8065         * gst/gsttask.h:
8066         * gst/gsttypefind.h:
8067         * gst/gsttypes.h:
8068         * gst/registries/gstlibxmlregistry.c: (load_feature),
8069         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8070         * gst/registries/gstxmlregistry.c:
8071         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8072         * gst/schedulers/threadscheduler.c:
8073         * libs/gst/control/dparammanager.h:
8074         * tools/gst-inspect.c: (print_element_list),
8075         (print_plugin_features), (print_element_features):
8076         * tools/gst-xmlinspect.c: (print_element_list),
8077         (print_plugin_info), (main):
8078         Removed plugable schedulers.
8079         Removed Scheduler/Manager from elements.
8080         Removed gsttypes.h, rearranged includes.
8081         Removed dependency pad<->element, element<>pipeline, and
8082         various others,  fix includes.
8083         implement gst_pad_get_parent() with gst_object_get_parent()
8084         Make GstTask sefcontained.
8085         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8086         timeout.
8087         Fix endless loop in iterator_fold_with_resync.
8088
8089
8090 2005-07-18  Wim Taymans  <wim@fluendo.com>
8091
8092         * gst/Makefile.am:
8093         * gst/gstarch.h:
8094         Remove old file.
8095
8096 2005-07-18  Wim Taymans  <wim@fluendo.com>
8097
8098         * gst/Makefile.am:
8099         No more cothreads.h
8100
8101 2005-07-18  Wim Taymans  <wim@fluendo.com>
8102
8103         * gst/cothreads.c:
8104         * gst/cothreads.h:
8105         Let's remove these.
8106
8107 2005-07-18  Wim Taymans  <wim@fluendo.com>
8108
8109         * docs/design/part-dynamic.txt:
8110         * docs/design/part-events.txt:
8111         * docs/design/part-seeking.txt:
8112         Some more docs in the works.
8113
8114         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8115         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8116         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8117         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8118         (gst_base_transform_handle_buffer),
8119         (gst_base_transform_sink_activate_push),
8120         (gst_base_transform_src_activate_pull),
8121         (gst_base_transform_set_passthrough),
8122         (gst_base_transform_is_passthrough):
8123         Refcounting fixes.
8124
8125         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8126         Cleanups.
8127
8128         * gst/gstevent.c: (gst_event_finalize):
8129         Set SRC to NULL.
8130
8131         * gst/gstutils.c: (gst_element_unlink),
8132         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8133         (gst_pad_proxy_setcaps):
8134         * gst/gstutils.h:
8135         Add _get_parent_element() to get a pads parent as an element.
8136
8137 2005-07-18  Wim Taymans  <wim@fluendo.com>
8138
8139         * check/gst/gstbin.c: (GST_START_TEST):
8140         Remove bogus test.
8141
8142 2005-07-18  Wim Taymans  <wim@fluendo.com>
8143
8144         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8145         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8146         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8147         (gst_base_sink_event), (gst_base_sink_do_sync),
8148         (gst_base_sink_chain), (gst_base_sink_loop),
8149         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8150         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8151         Refcounting fixes.
8152         Fix logic for returning ASYNC when not prerolled.
8153
8154 2005-07-18  Wim Taymans  <wim@fluendo.com>
8155
8156         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8157         Fix nasty refcount bug.
8158
8159 2005-07-16 Philippe Khalaf <burger@speedy.org>
8160
8161         * gst/elements/gstfdsrc.c:
8162         * gst/elements/gstfdsrc.h:
8163         * gst/elements/gstelements.c:
8164         * gst/elements/Makefile.am:
8165         Ported fdsrc to 0.9.
8166
8167 2005-07-16  Wim Taymans  <wim@fluendo.com>
8168
8169         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8170         (gst_base_sink_do_sync):
8171         Fix compile error.
8172
8173 2005-07-16  Wim Taymans  <wim@fluendo.com>
8174
8175         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8176         (gst_base_sink_event), (gst_base_sink_get_times),
8177         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8178         * gst/base/gstbasesink.h:
8179         Store and use discont values when syncing buffers as described
8180         in design docs.
8181         
8182         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8183         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8184         (gst_base_src_activate_push):
8185         Push discont event when starting.
8186
8187         * gst/elements/gstidentity.c: (gst_identity_transform):
8188         Small cleanups.
8189
8190         * gst/gstbin.c: (gst_bin_change_state):
8191         Small cleanups in base_time  distribution.
8192
8193         * gst/gstelement.c: (gst_element_set_base_time),
8194         (gst_element_get_base_time), (gst_element_change_state):
8195         * gst/gstelement.h:
8196         Added methods for the base_time of the element.
8197         Some MT fixes.
8198
8199         * gst/gstpipeline.c: (gst_pipeline_send_event),
8200         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8201         (gst_pipeline_get_last_stream_time):
8202         * gst/gstpipeline.h:
8203         MT fixes.
8204         Handle seeking as described in design doc, remove stream_time
8205         hack.
8206         Cleanups clock and stream_time selection code. Added accessors
8207         for the stream_time.
8208         
8209
8210 2005-07-16  Andy Wingo  <wingo@pobox.com>
8211
8212         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8213         (#305291).
8214
8215 2005-07-16  Wim Taymans  <wim@fluendo.com>
8216
8217         * check/gst/gstbin.c: (GST_START_TEST):
8218         Make elements silent as the deep_notify refs the
8219         parent, which might make the test fail.
8220
8221         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8222         Don't hold the lock for too long.
8223
8224 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8225
8226         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8227           Don't unref the caps we passed to gst_caps_make_writable() after
8228           passing them. gst_caps_make_writable() will do that for us.
8229
8230 2005-07-15  Andy Wingo  <wingo@pobox.com>
8231
8232         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8233         (#157311).
8234
8235         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8236         own marshalling function for the handoff signal. Properly type the
8237         buffer as a buffer. Fixes some warnings. Should do a more general
8238         solution.
8239         (gst_identity_class_init): Plug into the right marshaller.
8240
8241 2005-07-15  Wim Taymans  <wim@fluendo.com>
8242
8243         * docs/design/part-TODO.txt:
8244         * docs/design/part-clocks.txt:
8245         * docs/design/part-element-sink.txt:
8246         * docs/design/part-events.txt:
8247         * docs/design/part-gstpipeline.txt:
8248         Updated docs, mostly DISCONT related.
8249
8250 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8251
8252         * docs/pwg/building-pads.xml:
8253           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8254
8255 2005-07-15  Andy Wingo  <wingo@pobox.com>
8256
8257         * tools/gst-typefind.c: Update, add copyright block.
8258
8259         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8260         Normalize and truncate caps before fixation.
8261
8262         * gst/gstcaps.h:
8263         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8264         discards all but the first structure from its argument.
8265
8266 2005-07-15  Wim Taymans  <wim@fluendo.com>
8267
8268         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8269         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8270         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8271         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8272         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8273         (gst_base_transform_chain), (gst_base_transform_change_state),
8274         (gst_base_transform_set_passthrough),
8275         (gst_base_transform_is_passthrough):
8276         * gst/base/gstbasetransform.h:
8277         Make passthrough work using the bufferpools.
8278         Changed API a bit, subclasses have to write into a buffer
8279         provided by the base class.
8280         More debug info in nego functions.
8281         
8282         * gst/elements/gstidentity.c: (gst_identity_init),
8283         (gst_identity_transform):
8284         Port to new base class.
8285
8286 2005-07-15  Wim Taymans  <wim@fluendo.com>
8287
8288         * gst/gstmessage.c: (gst_message_new_state_changed):
8289         * tools/gst-launch.c: (event_loop), (main):
8290         Totally dump messages in -launch with the -m option.
8291         Fix message name for State messages,
8292
8293 2005-07-14  Wim Taymans  <wim@fluendo.com>
8294
8295         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8296         Post error messages on errors.
8297
8298 2005-07-14  Wim Taymans  <wim@fluendo.com>
8299
8300         * gst/gstcaps.c: (gst_caps_do_simplify):
8301         Remove debug info.
8302
8303         * gst/gsterror.h:
8304         Define error for stream stopped.
8305
8306         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8307         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8308         Do proper return values.
8309
8310         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8311         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8312         (gst_pad_get_range):
8313         Better return values.
8314
8315         * gst/gstpad.h:
8316         Reorganise return values, add macro to check for fatal errors.
8317
8318         * gst/gstqueue.c: (gst_queue_chain):
8319         Return proper GstFlowReturn values,
8320
8321 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8322
8323         * docs/gst/gstreamer-sections.txt:
8324         * docs/gst/gstreamer.types:
8325         * docs/gst/tmpl/gst.sgml:
8326         * docs/gst/tmpl/gstbasesink.sgml:
8327         * docs/gst/tmpl/gstbasesrc.sgml:
8328         * docs/gst/tmpl/gstbasetransform.sgml:
8329         * docs/gst/tmpl/gstbin.sgml:
8330         * docs/gst/tmpl/gstbuffer.sgml:
8331         * docs/gst/tmpl/gstcaps.sgml:
8332         * docs/gst/tmpl/gstclock.sgml:
8333         * docs/gst/tmpl/gstcompat.sgml:
8334         * docs/gst/tmpl/gstconfig.sgml:
8335         * docs/gst/tmpl/gstelement.sgml:
8336         * docs/gst/tmpl/gstelementdetails.sgml:
8337         * docs/gst/tmpl/gstelementfactory.sgml:
8338         * docs/gst/tmpl/gstenumtypes.sgml:
8339         * docs/gst/tmpl/gsterror.sgml:
8340         * docs/gst/tmpl/gstevent.sgml:
8341         * docs/gst/tmpl/gstfakesink.sgml:
8342         * docs/gst/tmpl/gstfakesrc.sgml:
8343         * docs/gst/tmpl/gstfilesink.sgml:
8344         * docs/gst/tmpl/gstfilesrc.sgml:
8345         * docs/gst/tmpl/gstfilter.sgml:
8346         * docs/gst/tmpl/gstformat.sgml:
8347         * docs/gst/tmpl/gstghostpad.sgml:
8348         * docs/gst/tmpl/gstimplementsinterface.sgml:
8349         * docs/gst/tmpl/gstindex.sgml:
8350         * docs/gst/tmpl/gstindexfactory.sgml:
8351         * docs/gst/tmpl/gstinfo.sgml:
8352         * docs/gst/tmpl/gstiterator.sgml:
8353         * docs/gst/tmpl/gstmacros.sgml:
8354         * docs/gst/tmpl/gstmemchunk.sgml:
8355         * docs/gst/tmpl/gstminiobject.sgml:
8356         * docs/gst/tmpl/gstobject.sgml:
8357         * docs/gst/tmpl/gstpad.sgml:
8358         * docs/gst/tmpl/gstpadtemplate.sgml:
8359         * docs/gst/tmpl/gstparse.sgml:
8360         * docs/gst/tmpl/gstpipeline.sgml:
8361         * docs/gst/tmpl/gstplugin.sgml:
8362         * docs/gst/tmpl/gstpluginfeature.sgml:
8363         * docs/gst/tmpl/gstquery.sgml:
8364         * docs/gst/tmpl/gstqueue.sgml:
8365         * docs/gst/tmpl/gstregistry.sgml:
8366         * docs/gst/tmpl/gstregistrypool.sgml:
8367         * docs/gst/tmpl/gstscheduler.sgml:
8368         * docs/gst/tmpl/gstschedulerfactory.sgml:
8369         * docs/gst/tmpl/gststructure.sgml:
8370         * docs/gst/tmpl/gstsystemclock.sgml:
8371         * docs/gst/tmpl/gsttaglist.sgml:
8372         * docs/gst/tmpl/gsttagsetter.sgml:
8373         * docs/gst/tmpl/gsttrace.sgml:
8374         * docs/gst/tmpl/gsttrashstack.sgml:
8375         * docs/gst/tmpl/gsttypefind.sgml:
8376         * docs/gst/tmpl/gsttypefindfactory.sgml:
8377         * docs/gst/tmpl/gsttypes.sgml:
8378         * docs/gst/tmpl/gsturihandler.sgml:
8379         * docs/gst/tmpl/gsturitype.sgml:
8380         * docs/gst/tmpl/gstutils.sgml:
8381         * docs/gst/tmpl/gstvalue.sgml:
8382         * docs/gst/tmpl/gstversion.sgml:
8383         * docs/gst/tmpl/gstxml.sgml:
8384         * docs/libs/tmpl/gstcontrol.sgml:
8385         * docs/libs/tmpl/gstdataprotocol.sgml:
8386         * docs/libs/tmpl/gstdparam.sgml:
8387         * docs/libs/tmpl/gstdplinint.sgml:
8388         * docs/libs/tmpl/gstdpman.sgml:
8389         * docs/libs/tmpl/gstdpsmooth.sgml:
8390         * docs/libs/tmpl/gstgetbits.sgml:
8391         * docs/libs/tmpl/gstunitconvert.sgml:
8392         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8393         (gst_push_src_base_init), (gst_push_src_class_init),
8394         (gst_push_src_init), (gst_push_src_create):
8395         * gst/base/gstpushsrc.h:
8396         * gst/elements/gstelements.c:
8397         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8398         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8399         (gst_fake_sink_init), (gst_fake_sink_set_property),
8400         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8401         (gst_fake_sink_event), (gst_fake_sink_preroll),
8402         (gst_fake_sink_render), (gst_fake_sink_change_state):
8403         * gst/elements/gstfakesink.h:
8404         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8405         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8406         (gst_fake_src_base_init), (gst_fake_src_class_init),
8407         (gst_fake_src_init), (gst_fake_src_event_handler),
8408         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8409         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8410         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8411         (gst_fake_src_create_buffer), (gst_fake_src_create),
8412         (gst_fake_src_start), (gst_fake_src_stop):
8413         * gst/elements/gstfakesrc.h:
8414         * gst/elements/gstfilesink.c: (_do_init),
8415         (gst_file_sink_base_init), (gst_file_sink_class_init),
8416         (gst_file_sink_init), (gst_file_sink_dispose),
8417         (gst_file_sink_set_location), (gst_file_sink_set_property),
8418         (gst_file_sink_get_property), (gst_file_sink_open_file),
8419         (gst_file_sink_close_file), (gst_file_sink_query),
8420         (gst_file_sink_event), (gst_file_sink_render),
8421         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8422         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8423         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8424         * gst/elements/gstfilesink.h:
8425         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8426         (gst_file_src_class_init), (gst_file_src_init),
8427         (gst_file_src_finalize), (gst_file_src_set_location),
8428         (gst_file_src_set_property), (gst_file_src_get_property),
8429         (gst_file_src_map_region), (gst_file_src_map_small_region),
8430         (gst_file_src_create_mmap), (gst_file_src_create_read),
8431         (gst_file_src_create), (gst_file_src_is_seekable),
8432         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8433         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8434         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8435         (gst_file_src_uri_handler_init):
8436         * gst/elements/gstfilesrc.h:
8437           more autistic cleanliness in functions/names/defines
8438
8439 2005-07-13  Andy Wingo  <wingo@pobox.com>
8440
8441         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8442         source couldn't negotiate.
8443
8444         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8445         connections again.
8446
8447         * gst/gstutils.h:
8448         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8449         function. I am channeling Hades. Put your boots on suckers!!!
8450
8451 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8452
8453         * testsuite/caps/Makefile.am:
8454         * testsuite/caps/value_compare.c:
8455         * testsuite/caps/value_intersect.c:
8456         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8457           move two testsuite apps over to the check dir
8458
8459 2005-07-12  Wim Taymans  <wim@fluendo.com>
8460
8461         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8462         Added more debug info in the negotiate process.
8463
8464         * gst/gstmessage.h:
8465         Prepare for segment playback.
8466
8467         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8468         Better debugging.
8469
8470         * gst/gstutils.c:
8471         Some more docs.
8472
8473         * tools/gst-launch.c: (main):
8474         NULL pipeline on errors.
8475
8476 2005-07-12  Andy Wingo  <wingo@pobox.com>
8477
8478         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8479         not it comes from a malloc region. Make sure our copy gets freed.
8480
8481 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8482
8483         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8484         * check/gst/gstmessage.c: (GST_START_TEST):
8485         * check/gst/gststructure.c: (GST_START_TEST),
8486         (gst_structure_suite), (main):
8487           more testing
8488         * gst/gstelement.c: (gst_element_message_full):
8489           clean up GError and debug string now that they get copied
8490         * gst/gstmessage.c: (gst_message_new_error),
8491         (gst_message_new_warning), (gst_message_parse_error),
8492         (gst_message_parse_warning):
8493           use GST_TYPE_G_ERROR for structure_new, and take copies of
8494           arguments, so that we don't mess up refcounting
8495
8496 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8497
8498         * check/Makefile.am:
8499           add per-test valgrind targets
8500         * check/gst-libs/gdp.c: (GST_START_TEST),
8501         (gst_data_protocol_suite), (main):
8502           clean up
8503
8504 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8505
8506         * check/Makefile.am:
8507           instate more valgrindable tests
8508         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8509         (GST_START_TEST), (fakesrc_suite):
8510         * check/gst/gstpad.c: (GST_START_TEST):
8511         * check/gst/gststructure.c: (GST_START_TEST):
8512           fix test leaks
8513         * docs/gst/tmpl/gstminiobject.sgml:
8514         * gst/gstpad.c: (gst_pad_finalize):
8515           fix the static mutex leak
8516
8517 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8518
8519         * check/Makefile.am:
8520           add two more tests for valgrinding
8521         * check/gst/gstvalue.c: (GST_START_TEST):
8522           test refcount of deserialized buffer, found a leak
8523         * docs/gst/gstreamer-docs.sgml:
8524         * docs/gst/gstreamer-sections.txt:
8525         * docs/gst/gstreamer.types:
8526         * docs/gst/tmpl/gstminiobject.sgml:
8527           add miniobject to docs
8528         * gst/gstminiobject.c:
8529           add some docs
8530         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8531         (gst_string_unwrap):
8532           fix a hard-to-find invalid write for one of the tests
8533           fix a leak for deserialized buffers
8534
8535 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8536
8537         * docs/pwg/advanced-events.xml:
8538         * docs/pwg/advanced-request.xml:
8539         * docs/pwg/advanced-scheduling.xml:
8540         * docs/pwg/appendix-porting.xml:
8541         * docs/pwg/building-boiler.xml:
8542         * docs/pwg/intro-preface.xml:
8543         * docs/pwg/other-ntoone.xml:
8544           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8545           of example code and explanation for pad activation, loop() and
8546           getrange() functions and a bit more. Remove old comments pointing
8547           to loop-functions.
8548         * examples/pwg/Makefile.am:
8549           Add loop/getrange examples.
8550
8551 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8552
8553         * configure.ac:
8554           check for valgrind binary + some fixes
8555         * check/gst.supp:
8556           valgrind suppressions for the tests
8557         * check/Makefile.am:
8558           add a valgrind: target that valgrinds the unit tests
8559         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8560         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8561         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8562         * check/gst/gstghostpad.c:
8563           added some cleanup
8564         * check/gst/gstdata.c:
8565           removed
8566         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8567         (thread_unref), (gst_mini_object_suite), (main):
8568           added
8569         * gst/gst.c: (gst_deinit):
8570         * gst/gst.h:
8571           add a method to clean up.
8572         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8573         (gst_system_clock_obtain):
8574           allow for disposing the system clock.
8575         * tools/gst-launch.c: (main):
8576           deinit
8577
8578 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8579
8580         * docs/gst/tmpl/gstbasesrc.sgml:
8581         * docs/gst/tmpl/gstfakesrc.sgml:
8582         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8583         (gst_base_src_init), (gst_base_src_set_property),
8584         (gst_base_src_get_property), (gst_base_src_get_range),
8585         (gst_base_src_start):
8586         * gst/base/gstbasesrc.h:
8587           add num-buffers property
8588         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8589         (gst_fakesrc_init), (gst_fakesrc_set_property),
8590         (gst_fakesrc_get_property), (gst_fakesrc_create),
8591         (gst_fakesrc_start):
8592           remove num-buffers property
8593
8594 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8595
8596         * docs/gst/gstreamer-sections.txt:
8597         * docs/gst/tmpl/gstbasesink.sgml:
8598         * docs/gst/tmpl/gstbasesrc.sgml:
8599         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8600         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8601         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8602         (gst_base_sink_set_property), (gst_base_sink_get_property),
8603         (gst_base_sink_handle_object), (gst_base_sink_event),
8604         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8605         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8606         (gst_base_sink_loop), (gst_base_sink_deactivate),
8607         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8608         (gst_base_sink_change_state):
8609         * gst/base/gstbasesink.h:
8610         * gst/base/gstbasesrc.h:
8611         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8612         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8613         (gst_filesink_init):
8614           more macro splitting
8615
8616 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8617
8618         * gst/gstelement.c: (gst_element_get_bus):
8619           add debug
8620         * tools/gst-launch.c: (check_intr), (event_loop):
8621           fix bus leaks
8622
8623 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8624
8625         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8626           fix a caps leak
8627
8628 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8629
8630         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8631         (gst_base_src_finalize):
8632           add finalize method and clean up properly
8633         * gst/gstpipeline.c: (gst_pipeline_dispose):
8634           add debug
8635
8636 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8637
8638         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8639         (gst_bin_suite):
8640           add more things to check
8641         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8642         * gst/gstelement.c:
8643           more debug
8644
8645 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8646
8647         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8648         (GST_START_TEST), (fakesrc_suite):
8649         * check/gst-libs/gdp.c: (GST_START_TEST):
8650         * check/gst/gst.c: (GST_START_TEST):
8651         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8652         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8653         * check/gst/gstbus.c: (GST_START_TEST):
8654         * check/gst/gstcaps.c: (GST_START_TEST):
8655         * check/gst/gstdata.c: (GST_START_TEST):
8656         * check/gst/gstelement.c: (GST_START_TEST):
8657         * check/gst/gstghostpad.c: (GST_START_TEST):
8658         * check/gst/gstiterator.c: (GST_START_TEST):
8659         * check/gst/gstmessage.c: (GST_START_TEST):
8660         * check/gst/gstobject.c: (GST_START_TEST):
8661         * check/gst/gstpad.c: (GST_START_TEST):
8662         * check/gst/gststructure.c: (GST_START_TEST):
8663         * check/gst/gstsystemclock.c: (GST_START_TEST),
8664         (gst_systemclock_suite):
8665         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8666         * check/gst/gstvalue.c: (GST_START_TEST):
8667         * check/pipelines/cleanup.c: (GST_START_TEST):
8668         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8669         * check/states/sinks.c: (GST_START_TEST):
8670         * check/gstcheck.c: (gst_check_init):
8671         * check/gstcheck.h:
8672           add debugging category
8673           use GST_START_TEST now, so we add a debug line
8674
8675 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8676
8677         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8678           add test for state change message on a bin
8679         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8680           add another test
8681         * gst/gstbin.c: (gst_bin_init):
8682         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8683         * gst/gstelement.c: (gst_element_post_message),
8684         (gst_element_set_state):
8685         * gst/gstelementfactory.c: (gst_element_factory_create):
8686         * gst/gstmessage.c: (gst_message_new):
8687         * gst/gstscheduler.c:
8688           various debugging additions and cleanups
8689
8690 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8691
8692         * check/Makefile.am:
8693         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8694         (main):
8695           adding tests for elements
8696         * gst/gstelement.c: (gst_element_dispose):
8697
8698 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8699
8700         * gst/registries/gstlibxmlregistry.c: (load_feature):
8701           plug more leaks.  A simple gst_init() now is leakfree, yay.
8702
8703 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8704
8705         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8706         (gst_xml_registry_load):
8707           plug another memleak
8708
8709 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8710
8711         * configure.ac:
8712           use GST_SET_ERROR_CFLAGS
8713         * docs/faq/cvs.xml:
8714           change to ERROR_CFLAGS
8715
8716 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8717
8718         * configure.ac:
8719           make GST_ERROR_CFLAGS overridable and re-enable Werror
8720         * docs/faq/cvs.xml:
8721           add a note about error CFLAGS
8722         * docs/gst/tmpl/gstfakesrc.sgml:
8723         * gst/elements/gstfakesrc.c:
8724           comment out some unused code
8725         * gst/gst.c: (split_and_iterate):
8726         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8727         (load_feature):
8728           plug some memleaks
8729
8730 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8731
8732         * common/Makefile.am:
8733         * common/gtk-doc.mak:
8734         * docs/gst/Makefile.am:
8735           factor out gtk-doc.mak
8736
8737 2005-07-07  Wim Taymans  <wim@fluendo.com>
8738
8739         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8740         (gst_thread_scheduler_dispose):
8741         Unlock the STREAM_LOCK completely.
8742
8743 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8744
8745         * check/Makefile.am:
8746         * check/elements/.cvsignore:
8747         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8748         (START_TEST), (fakesrc_suite), (main):
8749         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8750         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8751         (gst_fakesrc_create), (gst_fakesrc_start):
8752         * gst/elements/gstfakesrc.h:
8753           adding a first element test
8754
8755 2005-07-07  Andy Wingo  <wingo@pobox.com>
8756
8757         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8758         debug message.
8759
8760 2005-07-07  Wim Taymans  <wim@fluendo.com>
8761
8762         * gst/gstquery.c:
8763         * gst/gstquery.h:
8764         Remove old types
8765
8766 2005-07-07  Wim Taymans  <wim@fluendo.com>
8767
8768         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8769         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8770         Allow subclasses to implement their own negotiation.
8771
8772 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8773
8774         * docs/design/part-gstbin.txt:
8775         * docs/design/part-gstpipeline.txt:
8776           Update design notes to reflect the movement of
8777           responsibility for bus handling from GstPipeline to
8778           GstBin
8779
8780 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8781
8782         * configure.ac:
8783           Remove unnecessary queue2/3/4 examples.
8784
8785 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8786
8787         * examples/Makefile.am:
8788         * examples/helloworld/helloworld.c: (event_loop), (main):
8789         * examples/queue/queue.c: (event_loop), (main):
8790         * examples/queue2/queue2.c: (main):
8791           Update a couple of the examples to work again.
8792
8793         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8794         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8795          Spelling corrections and extra debug.
8796         
8797         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8798         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8799         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8800         * gst/gstbin.h:
8801         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8802         (gst_pipeline_change_state):
8803         * gst/gstpipeline.h:
8804           Move the bus handler for children to the GstBin, and create a
8805           separate bus for receiving messages from children to the one the
8806           bus sends 'upwards' on.
8807
8808 2005-07-06  Wim Taymans  <wim@fluendo.com>
8809
8810         * gst/base/README:
8811         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8812         (gst_base_sink_handle_object), (gst_base_sink_loop),
8813         (gst_base_sink_change_state):
8814         * gst/base/gstbasesink.h:
8815         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8816         (gst_base_src_init), (gst_base_src_setcaps),
8817         (gst_base_src_getcaps), (gst_base_src_loop),
8818         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8819         (gst_base_src_start), (gst_base_src_change_state):
8820         * gst/base/gstbasesrc.h:
8821         Make basesrc negotiate.
8822         Handle the case where preroll fails in basesink.
8823         Update README.
8824
8825 2005-07-06  Wim Taymans  <wim@fluendo.com>
8826
8827         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8828         Implement the fixate function.
8829         Clean up acceptcaps.
8830
8831 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8832
8833         * docs/pwg/building-filterfactory.xml:
8834         * docs/pwg/pwg.xml:
8835           Remove never-written filter-factory chapter; I'll add the various
8836           base classes to part 4 ("other element types") later on.
8837
8838 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8839
8840         * docs/pwg/advanced-negotiation.xml:
8841         * docs/pwg/building-boiler.xml:
8842         * docs/pwg/building-pads.xml:
8843         * docs/pwg/pwg.xml:
8844         * examples/pwg/Makefile.am:
8845           Add a chapter on caps negotiation, simplify the original code
8846           samples a bit w.r.t. caps negotiation, add link to the advanced
8847           section. Add a bunch of examples showing different use cases of
8848           different types of caps negotiation. Upstream renegotiation isn't
8849           fully documented yet since nobody knows how that works.
8850
8851 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8852
8853         * check/gst/gstpad.c:
8854         * check/gstcheck.c:
8855         * gst/gstpad.c: (gst_pad_get_internal_links_default):
8856           if pad has no parent, return NULL as list of internal links
8857
8858 2005-07-05  Andy Wingo  <wingo@pobox.com>
8859
8860         * gst/elements/gstfilesrc.c:
8861         * gst/elements/gstfakesrc.c: 
8862         * gst/base/gstpushsrc.c:
8863         * gst/base/gstbasesrc.h: 
8864         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8865         
8866 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
8867
8868         * Makefile.am:
8869           better report generation target (lcov needs a patch)
8870
8871 2005-07-05  Andy Wingo  <wingo@pobox.com>
8872
8873         * gst/elements, testsuite: Null if we got it...
8874
8875 2005-07-05  Wim Taymans  <wim@fluendo.com>
8876
8877         * configure.ac:
8878         * libs/gst/dataprotocol/Makefile.am:
8879         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8880         * libs/gst/dataprotocol/dataprotocol.h:
8881         * pkgconfig/Makefile.am:
8882         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8883         * pkgconfig/gstreamer-dataprotocol.pc.in:
8884         Ported dataprotol to 0.9. 
8885         Added pkgconfig files.
8886
8887 2005-07-05  Andy Wingo  <wingo@pobox.com>
8888
8889         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8890         Default to returning TRUE for the case when tranform_caps returns
8891         a fixed caps, like for identity or volume.
8892
8893         * check/gst/gstbus.c (pound_bus_with_messages): 
8894         * check/gst/gstmessage.c (START_TEST): 
8895         * check/pipelines/simple_launch_lines.c (got_handoff): Application
8896         message API change.
8897
8898         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8899         logic weaks here: always run transform_caps, trying passthrough
8900         operation only if the original caps intersects with the transform.
8901
8902         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8903         source and sink caps.
8904
8905         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8906         Intersect the peer caps with the pad template before going into
8907         transform_caps.
8908         (gst_base_transform_transform_caps): More debugging.
8909
8910         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8911         src argument.
8912
8913 2005-07-04  Edward Hervey  <edward@fluendo.com>
8914
8915         * gst/gstutils.c:
8916         * gst/gstutils.h:
8917         (gst_pad_add_*_probe): now returns the signal id for better wrapping
8918         in bindings.
8919
8920 2005-07-04  Andy Wingo  <wingo@pobox.com>
8921
8922         * check/gst/gstpad.c: Only set explicit caps on pads.
8923
8924 2005-07-01  Andy Wingo  <wingo@pobox.com>
8925
8926         * tests/network-clock.scm: Commentary update.
8927
8928         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8929         Didn't really make sense, not implementable with basetransform,
8930         etc.
8931         (gst_identity_transform): Unref inbuf via make_writable. Feeble
8932         attempt at implementing the sync property, needs an unlock method.
8933
8934         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8935         New func, by default returns the same caps (the identity
8936         transformation).
8937         (gst_base_transform_getcaps): Uses transform_caps to return
8938         something sensible.
8939         (gst_base_transform_setcaps): Complicated logic to get caps on
8940         both pads, even if they are different, and to call set_caps once
8941         for every time both pads get their caps set.
8942         (gst_base_transform_handle_buffer): Give the ref to the transform
8943         function. Allows in-place modification of the buffer.
8944
8945         * gst/base/gstbasetransform.h (transform_caps): New class method.
8946         Given caps on one side, what can I do on the other.
8947         (set_caps): Take two caps, one for each side of the element.
8948
8949         * gst/gstpad.h:
8950         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8951         caps in place. This is safe because we can check the mutability of
8952         the caps, and a good idea because fixate functions are just called
8953         as a matter of last resort. (Not actually implemented.)
8954         (gst_pad_set_caps): If the caps we're setting is actually the same
8955         as the existing pad caps, just update the pointer without calling
8956         setcaps. Assert that caps is either NULL or fixed, as per the
8957         docs.
8958
8959         * gst/gstghostpad.c: Update for fixate changes.
8960
8961 2005-07-02  Andy Wingo  <wingo@pobox.com>
8962
8963         * gst/gstcaps.c:
8964         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8965         two refcounts makes it immutable, which is enough. Doc more.
8966
8967 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
8968
8969         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8970           Put the mini_object into GValue as a mini_object,
8971           not a gpointer, since that's how we declared
8972           the signal.
8973
8974 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8975
8976         * examples/pwg/Makefile.am:
8977           Fix buildbot again.
8978
8979 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8980
8981         * docs/pwg/building-testapp.xml:
8982           Add extra check.
8983         * examples/pwg/Makefile.am:
8984           Fix buildbot.
8985
8986 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8987
8988         * configure.ac:
8989         * examples/Makefile.am:
8990         * examples/pwg/Makefile.am:
8991         * examples/pwg/extract.pl:
8992           Enable building the PWG examples.
8993         * docs/pwg/advanced-interfaces.xml:
8994           Add URI interface stub.
8995         * docs/pwg/advanced-types.xml:
8996         * docs/pwg/other-autoplugger.xml:
8997         * docs/pwg/appendix-porting.xml:
8998         * docs/pwg/pwg.xml:
8999           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9000         * docs/pwg/building-boiler.xml:
9001         * docs/pwg/building-chainfn.xml:
9002         * docs/pwg/building-pads.xml:
9003         * docs/pwg/building-props.xml:
9004         * docs/pwg/building-state.xml:
9005         * docs/pwg/building-testapp.xml:
9006           Update the building-*.xml parts for 0.9 changes. All examples
9007           code blocks compile in examples/pwg/*.
9008
9009 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9010
9011         * docs/manual/advanced-autoplugging.xml:
9012         * docs/manual/appendix-checklist.xml:
9013         * docs/manual/appendix-integration.xml:
9014         * docs/manual/highlevel-components.xml:
9015           Fix playbin/decodebin examples, update docs a bit, mention bus
9016           instead of signals in various places, mention kmplayer and
9017           kaffeine since they have a working GStreamer backend in the KDE
9018           section.
9019
9020 2005-06-30  Wim Taymans  <wim@fluendo.com>
9021
9022         * CHANGES-0.9:
9023         * docs/design/draft-ghostpads.txt:
9024         * docs/design/draft-push-pull.txt:
9025         * docs/design/draft-query.txt:
9026         * docs/design/part-TODO.txt:
9027         * docs/design/part-query.txt:
9028         Added CHANGES-0.9 doc, updated status of other docs.
9029         
9030         * gst/gstquery.h:
9031         Remove "hmm" macro
9032
9033 2005-06-30  Wim Taymans  <wim@fluendo.com>
9034
9035         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9036         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9037         (gst_base_sink_change_state):
9038         * gst/base/gstbasesink.h:
9039         Some tweaks, only EOS and a buffer complete a preroll.
9040
9041 2005-06-30  Andy Wingo  <wingo@pobox.com>
9042
9043         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9044         activate_push down to the internal pad as well.
9045
9046 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9047
9048         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9049
9050         * gst/gsttaginterface.c:
9051           Some documentation fixes (#307394 and #307397).
9052
9053 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9054
9055         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9056
9057         * gst/gstvalue.c: (gst_value_intersect_list):
9058           Fix memleak (#309125).
9059
9060 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9061
9062         * docs/manual/advanced-dataaccess.xml:
9063           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9064         * docs/manual/basics-pads.xml:
9065           Add reference for filtered caps to above chapter.
9066
9067 2005-06-30  Wim Taymans  <wim@fluendo.com>
9068
9069         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9070         (gst_bin_change_state):
9071         Probes are gone.
9072         Lame attempt at making the state change function a bit
9073         more readable.
9074
9075 2005-06-30  Wim Taymans  <wim@fluendo.com>
9076
9077         * docs/design/part-clocks.txt:
9078         * docs/design/part-element-sink.txt:
9079         * docs/design/part-events.txt:
9080         * docs/design/part-preroll.txt:
9081         * docs/design/part-states.txt:
9082         Some more tweeks and additions to the docs.
9083
9084 2005-06-30  Wim Taymans  <wim@fluendo.com>
9085
9086         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9087         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9088         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9089         (gst_pad_check_pull_range), (gst_pad_get_range),
9090         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9091         * gst/gstpad.h:
9092         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9093         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9094         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9095         (gst_pad_remove_buffer_probe):
9096         Removed atomic operations, use existing LOCK.
9097         Move exception handling out of main code path.
9098
9099 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9100
9101         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9102         (silly_return_true_function), (gst_pad_class_init),
9103         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9104         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9105         (gst_pad_send_event):
9106           Fix accumulator, add default value by using _emitv() instead
9107           of _emit() for signal emission.
9108
9109 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9110
9111         * docs/manual/advanced-dataaccess.xml:
9112         * examples/manual/Makefile.am:
9113           Add probe example.
9114         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9115           Make work (??).
9116
9117 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9118
9119         * gst/elements/gstfilesink.c: (gst_filesink_render):
9120           Simplify code so that we don't have to handle short
9121           writes and return GST_FLOW_ERROR if an error occured.
9122
9123 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9124
9125         * docs/gst/gstreamer-docs.sgml:
9126           Remove probes more.
9127
9128 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9129
9130         * docs/gst/gstreamer-sections.txt:
9131         * docs/gst/tmpl/gstpad.sgml:
9132         * docs/gst/tmpl/gstprobe.sgml:
9133         * gst/Makefile.am:
9134         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9135         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9136         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9137         (gst_pad_push_event), (gst_pad_send_event):
9138         * gst/gstpad.h:
9139         * gst/gstutils.c: (gst_pad_add_data_probe),
9140         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9141         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9142         (gst_pad_remove_buffer_probe):
9143         * gst/gstutils.h:
9144           Remove old probes, add new g-signal-based probes and some utility
9145           functions.
9146
9147 2005-06-29  Edward Hervey  <edward@fluendo.com>
9148
9149         * gst/gstelementfactory.c:
9150         * gst/gstutils.h:
9151         * gst/gstutils.c:
9152         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9153         the definition to the header file.
9154
9155 2005-06-29  Andy Wingo  <wingo@pobox.com>
9156
9157         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9158         plugins from the source directory.
9159
9160 2005-06-29  Wim Taymans  <wim@fluendo.com>
9161
9162         * docs/gst/tmpl/gstbuffer.sgml:
9163         * docs/gst/tmpl/gstclock.sgml:
9164         Some fixings for blantently wrong text.
9165
9166 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9167
9168         * check/Makefile.am:
9169         * gst/gst.c: (add_path_func), (init_pre):
9170         * gst/gstregistry.c: (gst_registry_add_path):
9171           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9172           only scan the GST_PLUGIN_PATH locations, and not add
9173           system locations
9174
9175 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9176
9177         * docs/gst/gstreamer-sections.txt:
9178         * docs/gst/tmpl/gstbasesrc.sgml:
9179         * gst/gstelement.c:
9180         * gst/gstelement.h:
9181         * gst/gstevent.c:
9182         * gst/gstutils.c:
9183           doc fixes
9184
9185 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9186
9187         * docs/manual/advanced-autoplugging.xml:
9188           Fix autoplugging example.
9189
9190 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9191
9192         * docs/manual/advanced-autoplugging.xml:
9193         * docs/manual/mime-world.fig:
9194           Try to get autoplugging working, fix type detection. Fix text
9195           in hello-world image.
9196
9197 2005-06-29  Wim Taymans  <wim@fluendo.com>
9198
9199         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9200         (gst_base_sink_change_state):
9201         Small debug line.
9202
9203         * gst/gstclock.h:
9204         map SIGNAL and BROADCAST to the right function.
9205
9206         * gst/gstobject.h:
9207         Remove redundant braces.
9208
9209         * gst/gstpad.c: (gst_pad_set_caps):
9210         Don't call setcaps function when reseting caps to NULL.
9211
9212         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9213         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9214         (gst_system_clock_id_unschedule):
9215         Use BROADCAST as this is what we do.
9216
9217 2005-06-29  Wim Taymans  <wim@fluendo.com>
9218
9219         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9220         We are actually prerolling before commiting the state
9221         change. 
9222
9223 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9224
9225         * docs/manual/advanced-clocks.xml:
9226         * docs/manual/advanced-interfaces.xml:
9227         * docs/manual/advanced-metadata.xml:
9228         * docs/manual/advanced-position.xml:
9229         * docs/manual/advanced-schedulers.xml:
9230         * docs/manual/advanced-threads.xml:
9231         * docs/manual/appendix-porting.xml:
9232         * docs/manual/basics-bins.xml:
9233         * docs/manual/basics-bus.xml:
9234         * docs/manual/basics-elements.xml:
9235         * docs/manual/basics-helloworld.xml:
9236         * docs/manual/basics-pads.xml:
9237         * docs/manual/highlevel-components.xml:
9238         * docs/manual/manual.xml:
9239         * docs/manual/thread.fig:
9240           Update (until threads/scheduling) Application Development Manual;
9241           remove GstThread, add GstBus, add simple porting checklist, add
9242           documentation for tag writing, clocks, make all examples until this
9243           part compile and run.
9244         * examples/manual/Makefile.am:
9245           Update from changes to Application Development Manual; add bus
9246           example, remove thread example.
9247
9248 2005-06-28  Wim Taymans  <wim@fluendo.com>
9249
9250         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9251         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9252         (gst_bus_source_dispatch):
9253         Add debugging messages.
9254         Make internal methods static.
9255         Handle the case where the bus is flushed in the handler.
9256         
9257         * gst/gstelement.c: (gst_element_get_bus):
9258         Fix refcount in _get_bus();
9259
9260         * gst/gstpipeline.c: (gst_pipeline_change_state),
9261         (gst_pipeline_get_clock_func):
9262         Clock refcounting fixes.
9263         Handle the case where preroll timed out more gracefully.
9264         
9265         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9266         Clean up the internal thread in dispose. This is needed
9267         for subclasses that actually get disposed.
9268         
9269         * gst/schedulers/threadscheduler.c:
9270         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9271         (gst_thread_scheduler_dispose):
9272         Free thread pool in dispose.
9273
9274 2005-06-28  Andy Wingo  <wingo@pobox.com>
9275
9276         * tests/network-clock-utils.scm (debug, print-event): New utils.
9277
9278         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9279         (*packet-loss*): Unified loss probability.
9280         (network-time): Report out-of-band events.
9281
9282         * tests/plot-data: Add support for out-of-band events. Hack it
9283         into this script instead of passing it down the pipe; should fix
9284         this later.
9285
9286 2005-06-28  Wim Taymans  <wim@fluendo.com>
9287
9288         * docs/gst/gstreamer.types:
9289         * docs/gst/tmpl/gstbasesrc.sgml:
9290         * docs/gst/tmpl/gstpad.sgml:
9291         Docs fixes.
9292
9293 2005-06-28  Wim Taymans  <wim@fluendo.com>
9294
9295         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9296         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9297         (gst_proxy_pad_do_fixatecaps):
9298         Correctly proxy the check_pull_range function.
9299
9300 2005-06-28  Andy Wingo  <wingo@pobox.com>
9301
9302         * tests/network-clock.scm: Removed need for slib.
9303         
9304 2005-06-28  Wim Taymans  <wim@fluendo.com>
9305
9306         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9307         (gst_basesink_preroll_queue_flush):
9308         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9309         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9310         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9311         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9312         (gst_proxy_pad_set_property):
9313         * gst/gstpad.c:
9314         * gst/gstpad.h:
9315         * gst/gstqueue.c: (gst_queue_init):
9316         The deprecated pad loop function is removed now.
9317
9318 2005-06-28  Andy Wingo  <wingo@pobox.com>
9319
9320         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9321         New parameters, simulate network packet loss.
9322
9323         * tests/network-clock-utils.scm: Initialize the RNG.
9324
9325 2005-06-28  Wim Taymans  <wim@fluendo.com>
9326
9327         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9328         (gst_basesink_event), (gst_basesink_deactivate):
9329         Flushing the preroll queue always needs to unlock the waiters.
9330
9331 2005-06-28  Edward Hervey  <edward@fluendo.com>
9332
9333         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9334         Wheen a seek was successful on a pipeline, set the stream_time to the
9335         seek offset in order to have a synchronized stream_time.
9336
9337 2005-06-28  Wim Taymans  <wim@fluendo.com>
9338
9339         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9340         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9341         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9342         (gst_proxy_pad_do_fixatecaps):
9343         Call wrapper function instead of just calling the function
9344         pointers. This takes care of any locking and whatmore.
9345
9346 2005-06-28  Wim Taymans  <wim@fluendo.com>
9347
9348         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9349         (gst_pad_pull_range):
9350         * gst/gstpad.h:
9351         CONNECTED -> LINKED.
9352
9353 2005-06-28  Andy Wingo  <wingo@pobox.com>
9354
9355         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9356         source-munging commit!!!
9357
9358         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9359         (gst_object_sink): Take gpointer arguments, not GstObject --
9360         avoids casts. Like GLib.
9361
9362         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9363         activate.
9364
9365 2005-06-27  Andy Wingo  <wingo@pobox.com>
9366
9367         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9368         remaining buffer.
9369
9370         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9371         returns a sorted copy of the trace list.
9372         (gst_alloc_trace_print_live): New API, only prints traces with
9373         live objects. Sort the list.
9374         (gst_alloc_trace_print_all): Sort the list.
9375         (gst_alloc_trace_print): Align columns.
9376
9377         * gst/elements/gstttypefindelement.c:
9378         * gst/elements/gsttee.c:
9379         * gst/base/gstbasesrc.c:
9380         * gst/base/gstbasesink.c:
9381         * gst/base/gstbasetransform.c:
9382         * gst/gstqueue.c: Adapt for pad activation changes.
9383
9384         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9385         sched.
9386         (gst_pipeline_dispose): Drop ref on sched.
9387
9388         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9389         (gst_pad_activate_default): Push mode by default.
9390         (pre_activate_switch, post_activate_switch): New stubs, things to
9391         do before and after switching activation modes on pads.
9392         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9393         the pad's activate function to choose which mode to activate.
9394         Shortcut on deactivation and call the right function directly.
9395         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9396         mode.
9397         (gst_pad_activate_push): New API, same for push mode.
9398         (gst_pad_set_activate_function) 
9399         (gst_pad_set_activatepull_function) 
9400         (gst_pad_set_activatepush_function): Setters for new API.
9401
9402         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9403         Trace all miniobjects.
9404         (gst_mini_object_make_writable): Unref the arg if we copy, like
9405         gst_caps_make_writable.
9406
9407         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9408
9409         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9410         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9411         Adapt for new pad API.
9412
9413         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9414
9415         * gst/gstelement.h:
9416         * gst/gstelement.c (gst_element_iterate_src_pads) 
9417         (gst_element_iterate_sink_pads): New API functions.
9418         
9419         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9420         should fold into gstiterator.c in some form.
9421         (gst_element_pads_activate): Simplified via use of fold and
9422         delegation of decisions to gstpad->activate.
9423
9424         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9425         help in debugging.
9426
9427         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9428         class once in init, like gstmessage. Didn't run into this issue
9429         but it seems correct. Don't initialize a trace, gstminiobject does
9430         that.
9431
9432         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9433         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9434         to the bus.
9435         (assert_live_count): New util function, uses alloc traces to check
9436         cleanup.
9437
9438         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9439         To be modified when unlink drops the internal pad.
9440
9441 2005-06-27  Wim Taymans  <wim@fluendo.com>
9442
9443         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9444         (gst_bin_change_state):
9445         Cleanup the get_state() function a little, make sure it
9446         iterates the same set of elements.
9447         Added stub iterate_state_order().
9448
9449 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9450
9451         * docs/gst/gstreamer-docs.sgml:
9452         * docs/gst/gstreamer-sections.txt:
9453         * docs/gst/gstreamer.types:
9454         * docs/gst/tmpl/gstbasesink.sgml:
9455         * docs/gst/tmpl/gstbasesrc.sgml:
9456         * docs/gst/tmpl/gstbasetransform.sgml:
9457         * docs/gst/tmpl/gstelement.sgml:
9458         * docs/gst/tmpl/gstiterator.sgml:
9459         * gst/base/gstbasesrc.c:
9460         * gst/base/gstbasesrc.h:
9461         * gst/base/gstbasetransform.h:
9462         * gst/gstelement.c:
9463         * gst/gstiterator.h:
9464           adding basetransform and iterator docs
9465
9466 2005-06-27  Andy Wingo  <wingo@pobox.com>
9467
9468         * docs/design/part-activation.txt: Notes on how activation should
9469         work -- not quite implemented yet.
9470
9471 2005-06-25  Wim Taymans  <wim@fluendo.com>
9472
9473         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9474         At least get the chain function correct, needs more
9475         fixing.
9476
9477 2005-06-25  Wim Taymans  <wim@fluendo.com>
9478
9479         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9480         (gst_basesink_handle_object), (gst_basesink_event),
9481         (gst_basesink_do_sync), (gst_basesink_handle_event),
9482         (gst_basesink_change_state):
9483         * gst/gsttask.h:
9484         Right, two problems here: ghostpads don't take locks and
9485         glib _rec_mutex_lock_full() with depth==0 still locks.
9486         Catch illegal locking and g_warn them.
9487
9488 2005-06-25  Wim Taymans  <wim@fluendo.com>
9489
9490         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9491         Have to check for completion now...
9492
9493 2005-06-25  Wim Taymans  <wim@fluendo.com>
9494
9495         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9496         (gst_basesink_handle_object), (gst_basesink_event),
9497         (gst_basesink_do_sync), (gst_basesink_handle_event),
9498         (gst_basesink_change_state):
9499         * gst/gstpad.h:
9500         Unlock STREAM_LOCK whatever the recursion was.
9501
9502 2005-06-25  Wim Taymans  <wim@fluendo.com>
9503
9504         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9505         (gst_basesink_preroll_queue_empty),
9506         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9507         (gst_basesink_event), (gst_basesink_do_sync),
9508         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9509         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9510         (gst_basesink_change_state):
9511         Reworked the base sink, handle event and buffer serialisation
9512         correctly and removed possible deadlock.
9513         Handle EOS correctly.
9514
9515 2005-06-25  Wim Taymans  <wim@fluendo.com>
9516
9517         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9518         (gst_pipeline_change_state):
9519         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9520         Allow elements to post EOS in the state change function.
9521         Fix up -launch, make it exit the poll loop when the
9522         pipeline actually changed state.
9523         Fix up warning parsing in -launch.
9524
9525 2005-06-25  Wim Taymans  <wim@fluendo.com>
9526
9527         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9528         (gst_tee_sink_activate):
9529         Core takes STREAM_LOCK for us now.
9530
9531 2005-06-25  Wim Taymans  <wim@fluendo.com>
9532
9533         * gst/gstelement.c: (gst_element_get_state_func),
9534         (gst_element_set_state):
9535         * gst/gstelement.h:
9536         * gst/gstmessage.c: (gst_message_parse_error),
9537         (gst_message_parse_warning):
9538         Keep track of current target state while performing a state
9539         change so that subclasses can do something interesting.
9540         Fix parsing of warning/error messages when GError is NULL.
9541
9542 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9543
9544         * docs/gst/Makefile.am:
9545         * docs/gst/gstreamer-docs.sgml:
9546         * docs/gst/gstreamer-sections.txt:
9547         * docs/gst/gstreamer.types:
9548         * docs/gst/tmpl/gstbasesink.sgml:
9549         * docs/gst/tmpl/gstbasesrc.sgml:
9550         * docs/gst/tmpl/gstbin.sgml:
9551         * docs/gst/tmpl/gstcompat.sgml:
9552         * docs/gst/tmpl/gstfakesink.sgml:
9553         * docs/gst/tmpl/gstfakesrc.sgml:
9554         * docs/gst/tmpl/gstfilesink.sgml:
9555         * docs/gst/tmpl/gstfilesrc.sgml:
9556         * docs/gst/tmpl/gstindex.sgml:
9557         * docs/manual/appendix-quotes.xml:
9558         * gst/base/gstbasesrc.h:
9559         * gst/elements/gstfakesrc.h:
9560         * gst/gstmessage.h:
9561           start pulling in base classes and elements in our docs
9562
9563 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9564
9565         * docs/gst/Makefile.am:
9566         * docs/libs/Makefile.am:
9567           fixed make distcheck with gtk-doc 1.3
9568
9569 2005-06-23  Wim Taymans  <wim@fluendo.com>
9570
9571         * gst/gstelement.c: (gst_element_get_state_func),
9572         (gst_element_set_state), (gst_element_change_state):
9573         When the state did not change, also report NO_PREROLL
9574         when it matters.
9575
9576 2005-06-23  Wim Taymans  <wim@fluendo.com>
9577
9578         * gst/gstpad.c: (gst_pad_event_default):
9579         * gst/gstqueue.c: (gst_queue_loop):
9580         No unsafe task pausing please.
9581
9582 2005-06-23  Wim Taymans  <wim@fluendo.com>
9583
9584         * gst/schedulers/threadscheduler.c:
9585         (gst_thread_scheduler_task_start),
9586         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9587         Ref the task before pushing it on the threadpool. This
9588         makes sure that we have a ref when the threadfunction is
9589         actually called.
9590
9591 2005-06-23  Andy Wingo  <wingo@pobox.com>
9592
9593         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9594         offset is greater than the file's size.
9595
9596         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9597         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9598         * gst/gstobject.c (gst_object_class_init): Make the class lock
9599         recursive. Wim won't let me drop deep_notify. Decodebin works
9600         again, whoopdy doo.
9601
9602         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9603         internal pad, and hacks accordingly. Doesn't do it on the target
9604         pad because we change its caps. Probably catches all cases of
9605         interest tho.
9606         (gst_ghost_pad_set_property): Connect to notify::caps as
9607         appropritate.
9608
9609         * tests/network-clock.scm (plot-simulation): Pipe data to the
9610         elite python skript.
9611
9612         * tests/network-clock-utils.scm (define-parameter): New macro,
9613         defines a parameter that can be set via the command line.
9614         (set-parameter!, parse-parameter-arguments): Command line args
9615         parser.
9616
9617         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9618         stdin.
9619
9620 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9621
9622         * gst/elements/gsttypefindelement.c:
9623         (gst_type_find_element_handle_event):
9624           Don't restart typefinding on a discont.
9625         * gst/gstelement.c: (gst_element_set_state):
9626           Debug spelling fix.
9627         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9628           Allow changing mode of an active pad.
9629           Debug output fixes.
9630         * gst/registries/gstlibxmlregistry.c: (load_feature):
9631           Don't cast a static pad template to a normal pad template.
9632
9633 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9634
9635         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9636         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9637           remove gst_strtoll completely, since it didn't actually do
9638           anything more than what g_ascii_strtoull already does.
9639           check for range errors when deserializing
9640           do a cast for the unsigned cases; but further fixing needs
9641           a decision on what the interpretation of "(int)" and
9642           deserialization should be for values that fall outside the
9643           type's boundaries (ie, refuse, or interpret as casting)
9644
9645 2005-06-23  Wim Taymans  <wim@fluendo.com>
9646
9647         * check/Makefile.am:
9648         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9649         * docs/design/part-live-source.txt:
9650         * docs/design/part-states.txt:
9651         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9652         (gst_basesrc_set_live), (gst_basesrc_is_live),
9653         (gst_basesrc_get_range), (gst_basesrc_activate),
9654         (gst_basesrc_change_state):
9655         * gst/base/gstbasesrc.h:
9656         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9657         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9658         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9659         * gst/gstelement.c: (gst_element_get_state_func),
9660         (gst_element_set_state):
9661         * gst/gstelement.h:
9662         * gst/gsttypes.h:
9663         * tools/gst-launch.c: (event_loop), (main):
9664         Added support for live sources and other elements that
9665         cannot do preroll.
9666         Updated design docs, added live-source design doc.
9667         Implemented live source functionality in basesrc
9668         Fix error condition in _bin_get_state()
9669         Implement live source handling in -launch.
9670         Added check for live sources.
9671         Fixed case in GstBin where elements were changed state
9672         multiple times.
9673
9674
9675 2005-06-23  Andy Wingo  <wingo@pobox.com>
9676
9677         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9678         borken refcounting.
9679
9680         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9681         gst_caps_replace takes care of this for us.
9682
9683         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9684         gst_pad_set_caps on the target, not just its setcaps() function.
9685
9686         * tests/network-clock.scm: 
9687         * tests/network-clock-utils.scm: A network clock simulator.
9688         Something of an algorithmic testbed before doing something in C.
9689
9690 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9691
9692         * check/Makefile.am:
9693         * check/gst/capslist.h:
9694           copy over from 0.8, and add two with bitmasks specified with
9695           (int) 0xFF...
9696         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9697           add test to parse everything from capslist.h
9698         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9699         (main):
9700           add test for structure deserialization
9701         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9702           add tests for deserialization of strings to int types
9703         * gst/gststructure.c: (gst_structure_nth_field_name):
9704         * gst/gststructure.h:
9705           add a way to get the name of a field referenced by index
9706         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9707           instead of checking if the resulting long long lies between
9708           min and max, we check if the long long would fit into
9709           a number of bytes for the final type.
9710           This fixes cases where a string represents 2^32 - 1, which
9711           when cast to int would be the (valid) -1, but is bigger than
9712           G_MAXINT
9713
9714 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9715
9716         * gst/parse/grammar.y:
9717           add a log line for type deserialization
9718
9719 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9720
9721         * check/gst/gstvalue.c: (START_TEST):
9722         * gst/gstvalue.c: (gst_value_deserialize):
9723           return long long, not int, so gint64 deserialization actually
9724           works.  Is there any flag that makes the compiler check this ?
9725           Fixes #308559
9726
9727 2005-06-22  Wim Taymans  <wim@fluendo.com>
9728
9729         * gst/gstbuffer.h:
9730         Added convenience macros for setting buffers in GValue.
9731
9732 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9733
9734         * check/gst/.cvsignore:
9735         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9736           add a test deserializing int64, and comment part out because
9737           it fails, yay !
9738
9739 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9740
9741         * check/Makefile.am:
9742         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9743         * testsuite/Makefile.am:
9744         * testsuite/caps/Makefile.am:
9745         * testsuite/caps/value_serialize.c:
9746         * testsuite/test_gst_init.c:
9747           move a value_serialize test over
9748
9749 2005-06-20  Wim Taymans  <wim@fluendo.com>
9750
9751         * gst/gstpad.c:
9752         Small doc updates.
9753         
9754         * gst/gstvalue.c: (gst_value_compare_buffer),
9755         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9756         (gst_value_compare_flags), (gst_value_serialize_flags),
9757         (gst_value_deserialize_flags), (_gst_value_initialize):
9758         Fix serialisation of buffers, they are not boxed types anymore
9759
9760 2005-06-20  Wim Taymans  <wim@fluendo.com>
9761
9762         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9763         Testcase to show error in buffer-on-caps serialisation.
9764
9765 2005-06-20  Andy Wingo  <wingo@pobox.com>
9766
9767         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9768         will be adding to later.
9769
9770         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9771         if its socks fill with rocks.
9772         (gst_system_clock_obtain): Set the name on object construction.
9773         Avoid double-checked locking.
9774
9775 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
9776
9777         * gst/gsturi.c: (gst_element_make_from_uri):
9778           Fix potential endless loop.
9779
9780 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9781
9782         * check/Makefile.am:
9783           add gsttag
9784         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9785         (main):
9786           move over from testsuite dir and clean up
9787         * configure.ac:
9788         * gst/gsttag.c:
9789         * testsuite/Makefile.am:
9790         * testsuite/tags/.cvsignore:
9791         * testsuite/tags/Makefile.am:
9792         * testsuite/tags/merge.c:
9793           remove testsuite/tags
9794
9795 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9796
9797         * docs/gst/gstreamer-sections.txt:
9798         * docs/gst/tmpl/gstenumtypes.sgml:
9799         * win32/gstenumtypes.c:
9800           clean up documentation build a little
9801
9802 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9803
9804         * check/gstcheck.h:
9805           add macros for checking refcounts on objects and caps
9806         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9807           add some more unit tests
9808         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9809         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9810           fix leaked refcounts (I hope :)) so unittest works
9811         * gst/gstpad.h:
9812           whitespace removal
9813
9814 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9815
9816         * configure.ac: back to HEAD
9817
9818 === release 0.9.1 ===
9819
9820 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9821
9822         * NEWS:
9823         * RELEASE:
9824           updated
9825
9826 2005-06-17  Andy Wingo  <wingo@pobox.com>
9827
9828         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9829         assert; it's always possible that the pad gets deactivated in
9830         between the checks in gstpad.c and the implementation. Rely on
9831         finish_preroll() to return a FLUSHING or similar instead of on the
9832         assert.
9833         
9834         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9835         clock and post an EOS message if we come out of finish_preroll in
9836         the playing state.
9837
9838 2005-06-16  David Schleef  <ds@schleef.org>
9839
9840         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9841         (gst_capsfilter_set_property): Allow NULL as possible value
9842         for filter_caps property, indicating GST_CAPS_ANY.
9843
9844 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9845
9846         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9847           fix debug output
9848         * gst/schedulers/Makefile.am:
9849           use libgst prefix
9850         * gstreamer.spec.in:
9851           fix spec for it
9852
9853 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9854
9855         * gstreamer.spec.in:
9856           clean up
9857
9858 2005-06-08  Andy Wingo  <wingo@pobox.com>
9859
9860         * gst/gstutils.c: RPAD fixes all around.
9861         (gst_element_link_pads): Refcounting fixes.
9862
9863         * tools/gst-inspect.c:
9864         * tools/gst-xmlinspect.c:
9865         * parse/grammar.y:
9866         * gst/base/gsttypefindhelper.c:
9867         * gst/base/gstbasesink.c:
9868         * gst/gstqueue.c: RPAD fixes.
9869
9870         * gst/gstghostpad.h:
9871         * gst/gstghostpad.c: New ghost pad implementation as full proxy
9872         pads. The tricky thing is they provide both source and sink
9873         interfaces, since they proxy the internal pad for the external
9874         pad, and vice versa. Implement with lower-level ProxyPad objects,
9875         with the interior proxy pad as a child of the exterior ghost pad.
9876         Should write a doc on this.
9877         
9878         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9879         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9880         gst_object API.
9881         
9882         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9883         pads are real pads. No ghost pads in this file. Not documenting
9884         the myriad s/RPAD/PAD/ and REALIZE fixes.
9885         (gst_pad_class_init): Add properties for "direction" and
9886         "template". Both are construct-only, so they can't change during
9887         the life of the pad. Fixes properly deriving from GstPad.
9888         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9889         derived objects, just set properties when creating the objects via
9890         g_object_new.
9891         (gst_pad_get_parent): Implement as a function, return NULL if the
9892         parent is not an element.
9893         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9894         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9895         
9896         * gst/gstobject.c (gst_object_class_init): Make name a construct
9897         property. Don't set it in the object init.
9898
9899         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9900         with UNKNOWN direction.
9901         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9902         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9903         (gst_element_remove_pad): Remove ghost-pad special cases.
9904         (gst_element_pads_activate): Remove rpad cruft.
9905
9906         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9907         catch the pad's-parent-not-an-element case.
9908
9909         * gst/gst.h: Include gstghostpad.h.
9910
9911         * gst/gst.c (init_post): No more real, ghost pads.
9912
9913         * gst/Makefile.am: Add gstghostpad.[ch].
9914
9915         * check/Makefile.am:
9916         * check/gst/gstbin.c:
9917         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9918         into a bin creates ghost pads, and that the refcounts are right.
9919         Partly moved from gstbin.c.
9920
9921 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9922
9923         * check/gst-libs/.cvsignore:
9924         * check/gst/.cvsignore:
9925         * check/pipelines/.cvsignore:
9926           ignore more
9927         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9928         (START_TEST), (cleanup_suite), (main):
9929           add some tests related to cleanup after running pipelines
9930
9931 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9932
9933         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9934           add a testsuite for GstBuffer
9935
9936 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9937
9938         * gst/gstminiobject.h:
9939           add defines for accessing the refcount
9940
9941 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
9942
9943         * Makefile.am: added support for html unit test coverage reports
9944
9945 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
9946
9947         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9948           Free existing caps if the capsfilter changes. Add a FIXME about
9949           setting those caps on the pads.
9950
9951         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9952           Before adding a ghost pad to a parent bin, check that there isn't
9953           already one for the element on the bin. Prevents infinite recursion
9954           when using decodebin in parse pipelines. Andy says he'll rewrite the
9955           way this works anyway, so ignore the hack.
9956
9957 2005-06-02  Andy Wingo  <wingo@pobox.com>
9958
9959         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9960         file size, pass it on to the type find helper.
9961
9962         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9963         segment_start and segment_end properly according to the seek
9964         method. Segment_end is still a bit flaky because offset can be
9965         negative for CUR and END cases, but it takes -1 as an "unset"
9966         value.
9967
9968 2005-06-02  Wim Taymans  <wim@fluendo.com>
9969
9970         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9971         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9972         (gst_basesink_activate):
9973         * gst/base/gstbasesink.h:
9974         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9975         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9976         (gst_pad_query), (gst_pad_start_task):
9977         * gst/gstpad.h:
9978         * gst/gstqueue.c: (gst_queue_bufferalloc),
9979         (gst_queue_handle_sink_event), (gst_queue_chain):
9980         Bufferalloc: return GstFlowReturn to more accuratly report
9981         why allocation failed.
9982
9983 2005-06-02  Wim Taymans  <wim@fluendo.com>
9984
9985         * gst/gstpipeline.c: (gst_pipeline_send_event):
9986         Take snapshot of state without blocking.
9987
9988 2005-06-02  Wim Taymans  <wim@fluendo.com>
9989
9990         * docs/design/part-TODO.txt:
9991         * docs/design/part-caps.txt:
9992         * docs/design/part-clocks.txt:
9993         * docs/design/part-negotiation.txt:
9994         * docs/design/part-preroll.txt:
9995         Small doc updates 
9996
9997 2005-05-30  Wim Taymans  <wim@fluendo.com>
9998
9999         * gst/elements/gstidentity.c: (gst_identity_event),
10000         (gst_identity_transform), (gst_identity_get_property):
10001         Protect last_message property as it is accessed from
10002         multiple threads.
10003
10004 2005-05-30  Wim Taymans  <wim@fluendo.com>
10005
10006         * gst/gstelement.c: (gst_element_init),
10007         (gst_element_pads_activate), (gst_element_change_state):
10008         Slicker pad activation code.
10009
10010 2005-05-30  Wim Taymans  <wim@fluendo.com>
10011
10012         * gst/Makefile.am:
10013         * gst/gstelement.h:
10014         * gst/gstelementfactory.h:
10015         * gst/gsttypes.h:
10016         Move elementfactory methods to separate .h file.
10017
10018 2005-05-30  Wim Taymans  <wim@fluendo.com>
10019
10020         * docs/design/part-overview.txt:
10021         * gst/gstsystemclock.h:
10022         Small typo fixes, doc updates.
10023
10024 2005-05-30  Wim Taymans  <wim@fluendo.com>
10025
10026         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10027         (init_popt_callback):
10028         Remove cpu-opt flag.
10029
10030 2005-05-30  Wim Taymans  <wim@fluendo.com>
10031
10032         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10033         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10034         * gst/gstbuffer.h:
10035         Avoid typechecking in places where not needed.
10036         Added accessor for malloc_data.
10037
10038 2005-05-30  Wim Taymans  <wim@fluendo.com>
10039
10040         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10041         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10042         (gst_pad_configure_sink), (gst_pad_configure_src),
10043         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10044         (gst_pad_start_task):
10045         Propagate errors from _set_caps() in configure_src/sink
10046         functions instead of returning TRUE.
10047         FLUSH events can travel up and downstream
10048
10049
10050 2005-05-30  Wim Taymans  <wim@fluendo.com>
10051
10052         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10053         (gst_basesink_activate):
10054         Handle EOS in preroll.
10055
10056 2005-05-30  Wim Taymans  <wim@fluendo.com>
10057
10058         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10059         (gst_queue_loop), (gst_queue_handle_src_event):
10060         Remove old pieces of code
10061         Flushing the queue in an upstream event is a very bad idea.
10062
10063 2005-05-26  Andy Wingo  <wingo@pobox.com>
10064
10065         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10066         gst_value_set_mini_object so as to add a ref on the object (which
10067         will be removed when the value is unset).
10068
10069         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10070         arg type in ::handoff.
10071
10072         * gst/gstelement.c (gst_element_change_state): Also deactivate
10073         pads in READY->NULL, just in case the element didn't make it to
10074         PAUSED. Wingo tested, Wim approved.
10075
10076 2005-05-26  Wim Taymans  <wim@fluendo.com>
10077
10078         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10079         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10080         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10081         A flushing pad cannot be used to alloc_buffer from.
10082
10083 2005-05-26  Wim Taymans  <wim@fluendo.com>
10084
10085         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10086         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10087         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10088         (gst_bus_create_watch), (gst_bus_add_watch_full):
10089         * gst/gstbus.h:
10090         Implement a real GSource and use g_main_context_wakeup() to
10091         signal new messages instead of the socketpair.
10092
10093 2005-05-25  Wim Taymans  <wim@fluendo.com>
10094
10095         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10096         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10097         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10098         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10099         (gst_pad_send_event), (gst_pad_start_task):
10100         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10101         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10102         (gst_queue_sink_activate), (gst_queue_src_activate),
10103         (gst_queue_change_state):
10104         * gst/gstqueue.h:
10105         Fix state changes for non sinks. We now change sinks, then elements
10106         with unconnected srcpads, then the rest.
10107         More efficient queue unlocking in flush and state changes.
10108         Set the pad activate mode even if it does not have an activate
10109         function.
10110
10111 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10112
10113         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10114           Don't go in pull mode for non-seekable sources.
10115         * gst/elements/gsttypefindelement.h:
10116         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10117         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10118         (free_entry), (stop_typefinding),
10119         (gst_type_find_element_handle_event), (find_peek),
10120         (gst_type_find_element_chain), (do_pull_typefind),
10121         (gst_type_find_element_change_state):
10122           Allow typefinding (w/o seeking) in push-mode, simplified version
10123           of what was in 0.8.
10124         * gst/gstutils.c: (gst_buffer_join):
10125         * gst/gstutils.h:
10126           gst_buffer_join() from 0.8.
10127
10128 2005-05-25  Wim Taymans  <wim@fluendo.com>
10129
10130         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10131         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10132         (gst_pad_send_event), (gst_pad_start_task):
10133         Disable attempt at mode switching until it is figured out.
10134
10135 2005-05-25  Wim Taymans  <wim@fluendo.com>
10136
10137         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10138         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10139         (gst_basesink_finish_preroll), (gst_basesink_chain),
10140         (gst_basesink_loop), (gst_basesink_activate),
10141         (gst_basesink_change_state):
10142         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10143         (gst_basesrc_get_range), (gst_basesrc_loop),
10144         (gst_basesrc_activate):
10145         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10146         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10147         (gst_real_pad_init), (gst_real_pad_set_property),
10148         (gst_real_pad_get_property), (gst_pad_set_active),
10149         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10150         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10151         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10152         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10153         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10154         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10155         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10156         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10157         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10158         (gst_pad_stop_task):
10159         * gst/gstpad.h:
10160         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10161         (gst_queue_loop), (gst_queue_src_activate):
10162         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10163         (gst_task_get_state):
10164         * gst/gsttask.h:
10165         * gst/schedulers/threadscheduler.c:
10166         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10167         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10168         in task function.
10169         Remove ACTIVE pad flag, use FLUSHING everywhere
10170         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10171         functions.
10172         Add locks around IS_FLUSHING when reading.
10173         Take STREAM lock in chain(), get_range() functions so plugins
10174         don't need to take it anymore.
10175         
10176
10177
10178 2005-05-25  Wim Taymans  <wim@fluendo.com>
10179
10180         * tools/gst-launch.c: (event_loop):
10181         Unref message after using its contents instead of
10182         before.
10183
10184 2005-05-24  Wim Taymans  <wim@fluendo.com>
10185
10186         * docs/design/draft-ghostpads.txt:
10187         * docs/design/draft-push-pull.txt:
10188         * docs/design/draft-query.txt:
10189         * docs/design/part-overview.txt:
10190         Docs updates, added general overview doc.
10191
10192 2005-05-21  David Schleef  <ds@schleef.org>
10193
10194         * docs/gst/tmpl/old/GstBin.sgml:
10195         * docs/gst/tmpl/old/GstBuffer.sgml:
10196         * docs/gst/tmpl/old/GstCaps.sgml:
10197         * docs/gst/tmpl/old/GstClock.sgml:
10198         * docs/gst/tmpl/old/GstCompat.sgml:
10199         * docs/gst/tmpl/old/GstData.sgml:
10200         * docs/gst/tmpl/old/GstElement.sgml:
10201         * docs/gst/tmpl/old/GstEvent.sgml:
10202         * docs/gst/tmpl/old/GstIndex.sgml:
10203         * docs/gst/tmpl/old/GstStructure.sgml:
10204         * docs/gst/tmpl/old/GstTag.sgml:
10205         * docs/gst/tmpl/old/cothreads.sgml:
10206         * docs/gst/tmpl/old/cothreads_compat.sgml:
10207         * docs/gst/tmpl/old/gettext.sgml:
10208         * docs/gst/tmpl/old/gobject2gtk.sgml:
10209         * docs/gst/tmpl/old/grammar.tab.sgml:
10210         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10211         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10212         * docs/gst/tmpl/old/gst_private.sgml:
10213         * docs/gst/tmpl/old/gstaggregator.sgml:
10214         * docs/gst/tmpl/old/gstarch.sgml:
10215         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10216         * docs/gst/tmpl/old/gstbufferstore.sgml:
10217         * docs/gst/tmpl/old/gstdata_private.sgml:
10218         * docs/gst/tmpl/old/gstdisksink.sgml:
10219         * docs/gst/tmpl/old/gstdisksrc.sgml:
10220         * docs/gst/tmpl/old/gstelementfactory.sgml:
10221         * docs/gst/tmpl/old/gstextratypes.sgml:
10222         * docs/gst/tmpl/old/gstfakesink.sgml:
10223         * docs/gst/tmpl/old/gstfakesrc.sgml:
10224         * docs/gst/tmpl/old/gstfdsink.sgml:
10225         * docs/gst/tmpl/old/gstfdsrc.sgml:
10226         * docs/gst/tmpl/old/gstfilesink.sgml:
10227         * docs/gst/tmpl/old/gstfilesrc.sgml:
10228         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10229         * docs/gst/tmpl/old/gstidentity.sgml:
10230         * docs/gst/tmpl/old/gstindexfactory.sgml:
10231         * docs/gst/tmpl/old/gstmarshal.sgml:
10232         * docs/gst/tmpl/old/gstmd5sink.sgml:
10233         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10234         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10235         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10236         * docs/gst/tmpl/old/gstpipefilter.sgml:
10237         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10238         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10239         * docs/gst/tmpl/old/gstshaper.sgml:
10240         * docs/gst/tmpl/old/gstspider.sgml:
10241         * docs/gst/tmpl/old/gstspideridentity.sgml:
10242         * docs/gst/tmpl/old/gststatistics.sgml:
10243         * docs/gst/tmpl/old/gsttee.sgml:
10244         * docs/gst/tmpl/old/gsttimecache.sgml:
10245         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10246         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10247         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10248         * docs/gst/tmpl/old/types.sgml:
10249           I didn't intend to add these or check them in.
10250
10251 2005-05-19  David Schleef  <ds@schleef.org>
10252
10253         * configure.ac: Use -no-common everywhere.  In a sane world, it
10254           would be the default in libtool, because without it, you can't
10255           build DLLs on Windows.
10256         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10257         * docs/gst/gstreamer-sections.txt:
10258         * docs/gst/tmpl/gstcpu.sgml:
10259         * docs/gst/tmpl/gstdata.sgml:
10260         * docs/gst/tmpl/gstthread.sgml:
10261
10262 2005-05-19  David Schleef  <ds@schleef.org>
10263
10264         * gst/gstminiobject.c: (gst_value_set_mini_object),
10265         (gst_value_take_mini_object), (gst_value_get_mini_object):
10266         * gst/gstminiobject.h: Add GValue set/get functions.
10267
10268 2005-05-19  Wim Taymans  <wim@fluendo.com>
10269
10270         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10271         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10272         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10273         * gst/gstbuffer.h:
10274         * gst/gstbus.c: (gst_bus_post):
10275         * gst/gstelement.c: (gst_element_get_random_pad):
10276         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10277         Make subbufer unref the parent in finalize.
10278         some more debugging info.
10279
10280
10281 2005-05-19  Wim Taymans  <wim@fluendo.com>
10282
10283         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10284         (gst_basesink_init), (gst_basesink_finalize),
10285         (gst_basesink_activate), (gst_basesink_change_state):
10286         Don't free preroll queue too early.
10287
10288 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10289
10290         * gst/Makefile.am:
10291         * gst/ROADMAP:
10292           Hi, I'm outdated. Please shoot me.
10293
10294 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10295
10296         * gst/gstpipeline.c: (gst_pipeline_send_event):
10297           Do not access variables after they have been deleted.
10298
10299 2005-05-19  Wim Taymans  <wim@fluendo.com>
10300
10301         * tools/gst-inspect.c: (print_plugin_features):
10302         A plugin feature does unfortunatly not use the
10303         object name yet...
10304
10305 2005-05-18  Wim Taymans  <wim@fluendo.com>
10306
10307         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10308         Port _span() functions to new subbuffers.
10309
10310 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10311
10312         * gst/gstbin.c: (gst_bin_add_func):
10313           Fix clock settery in bins when adding kids after the clock has
10314           been selected.
10315
10316 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10317
10318         * gst/elements/gstidentity.c: (gst_identity_class_init):
10319           Workaround until signals support GstMiniObject.
10320
10321 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10322
10323         * gst/gstbuffer.c:
10324         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10325
10326 2005-05-18  Wim Taymans  <wim@fluendo.com>
10327
10328         * gst/base/Makefile.am:
10329         * gst/base/gstadapter.c: (gst_adapter_base_init),
10330         (gst_adapter_class_init), (gst_adapter_init),
10331         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10332         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10333         (gst_adapter_flush), (gst_adapter_available),
10334         (gst_adapter_available_fast):
10335         * gst/base/gstadapter.h:
10336         Ported and added adapter to the base classes.
10337
10338 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10339
10340         * gst/gst.c:
10341         * gst/gstmessage.c:
10342           Make sure the class is reffed/unreffed once before threads can be
10343           used.  Fixes #304551.
10344
10345 2005-05-17  Wim Taymans  <wim@fluendo.com>
10346
10347         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10348         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10349         * gst/gstminiobject.c: (gst_mini_object_get_type),
10350         (gst_mini_object_free):
10351         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10352         (gst_pad_push), (gst_pad_push_event):
10353         * gst/gstqueue.c: (gst_queue_change_state):
10354         Don't queue buffers in basesink when we are flushing.
10355         Unref buffer when flushing in basesink.
10356         Flush queue when going to READY
10357         Unref buffer when _push() returns an error.
10358         Don't free MiniObject instance when refcount is incremented
10359         in _finalize() so that we can recover objects.
10360
10361 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10362
10363         * docs/manual/advanced-schedulers.xml:
10364         * docs/manual/appendix-checklist.xml:
10365         * docs/pwg/advanced-clock.xml:
10366         * docs/pwg/advanced-interfaces.xml:
10367         * docs/pwg/advanced-request.xml:
10368         * docs/pwg/advanced-types.xml:
10369         * docs/pwg/intro-preface.xml:
10370         * examples/plugins/example.c: (gst_example_get_type),
10371         (gst_example_class_init), (gst_example_chain),
10372         (gst_example_set_property), (gst_example_get_property),
10373         (gst_example_change_state), (plugin_init):
10374         * examples/plugins/example.h:
10375           small doc fixes
10376
10377 2005-05-17  Wim Taymans  <wim@fluendo.com>
10378
10379         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10380         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10381         * gst/gstqueue.c: (gst_queue_change_state):
10382         Clear queue when going to READY.
10383         Remove IN_SETCAPS flag too.
10384
10385 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10386
10387         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10388           Remove implicit cast from gboolean to GstElementStateReturn;
10389           make sure we still return failure in paused => ready case if
10390           the parent class fails to change state and our own stop 
10391           vfunc succeeds.
10392
10393 2005-05-17  Wim Taymans  <wim@fluendo.com>
10394
10395         * tools/gst-launch.c: (event_loop):
10396         Message was unreffed too soon.
10397
10398 2005-05-16  Andy Wingo  <wingo@pobox.com>
10399
10400         * gst/gstbin.c (sink_iterator_filter): Err... um...
10401
10402         * check/gst/gstbin.c (test_ghost_pads): New test for the
10403         ghosting-if-elements-not-in-same-bin behavior.
10404
10405 2005-05-16  David Schleef  <ds@schleef.org>
10406
10407         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10408         accessing refcount directly.
10409
10410 2005-05-15  David Schleef  <ds@schleef.org>
10411
10412         * check/Makefile.am: remove GstData checks
10413         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10414         * gst/Makefile.am: add miniobject, remove data
10415         * gst/gst.h: add miniobject, remove data
10416         * gst/gstdata.c: remove
10417         * gst/gstdata.h: remove
10418         * gst/gstdata_private.h: remove
10419         * gst/gsttypes.h: remove GstEvent and GstMessage
10420         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10421         * gst/gstmarshal.list: change BOXED -> OBJECT
10422
10423         Implement GstMiniObject.
10424         * gst/gstminiobject.c:
10425         * gst/gstminiobject.h:
10426
10427         Modify to be subclasses of GstMiniObject.
10428         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10429         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10430         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10431         (gst_subbuffer_get_type), (gst_subbuffer_init),
10432         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10433         (gst_buffer_span):
10434         * gst/gstbuffer.h:
10435         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10436         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10437         (_gst_event_copy), (gst_event_new):
10438         * gst/gstevent.h:
10439         * gst/gstmessage.c: (_gst_message_initialize),
10440         (gst_message_get_type), (gst_message_class_init),
10441         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10442         (gst_message_new), (gst_message_new_error),
10443         (gst_message_new_warning), (gst_message_new_tag),
10444         (gst_message_new_state_changed), (gst_message_new_application):
10445         * gst/gstmessage.h:
10446         * gst/gstprobe.c: (gst_probe_perform),
10447         (gst_probe_dispatcher_dispatch):
10448         * gst/gstprobe.h:
10449         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10450         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10451         (_gst_query_copy), (gst_query_new):
10452
10453         Update elements for GstData -> GstMiniObject changes
10454         * gst/gstquery.h:
10455         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10456         (gst_queue_chain), (gst_queue_loop):
10457         * gst/elements/gstbufferstore.c:
10458         (gst_buffer_store_add_buffer_func),
10459         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10460         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10461         (gst_fakesink_render):
10462         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10463         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10464         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10465         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10466         (gst_filesrc_create_read):
10467         * gst/elements/gstidentity.c: (gst_identity_class_init):
10468         * gst/elements/gsttypefindelement.c:
10469         (gst_type_find_element_src_event), (free_entry_buffers),
10470         (gst_type_find_element_handle_event):
10471         * libs/gst/dataprotocol/dataprotocol.c:
10472         (gst_dp_header_from_buffer):
10473         * libs/gst/dataprotocol/dataprotocol.h:
10474         * libs/gst/dataprotocol/dp-private.h:
10475
10476 2005-05-15  David Schleef  <ds@schleef.org>
10477
10478         * gst/elements/gstelements.c: Don't include headers that were
10479         just removed.
10480
10481 2005-05-15  David Schleef  <ds@schleef.org>
10482
10483         * gst/elements/Makefile.am: Remove some elements that don't
10484         need to be in the core (or even exist at all).
10485         * gst/elements/gstaggregator.c:
10486         * gst/elements/gstaggregator.h:
10487         * gst/elements/gstmd5sink.c:
10488         * gst/elements/gstmd5sink.h:
10489         * gst/elements/gstmultifilesrc.c:
10490         * gst/elements/gstmultifilesrc.h:
10491         * gst/elements/gstpipefilter.c:
10492         * gst/elements/gstpipefilter.h:
10493         * gst/elements/gstshaper.c:
10494         * gst/elements/gstshaper.h:
10495         * gst/elements/gststatistics.c:
10496         * gst/elements/gststatistics.h:
10497         * po/POTFILES.in: Remove above files.
10498
10499 2005-05-14  Andy Wingo  <wingo@pobox.com>
10500
10501         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10502         so as to get the refs right.
10503         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10504         unreffing objects that don't pass the filter.
10505
10506         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10507         gst_element_set_bus.
10508         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10509         normal cases, this will destroy the bus.
10510
10511         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10512         object.
10513
10514         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10515         has no sinks.
10516
10517 2005-05-13  Andy Wingo  <wingo@pobox.com>
10518
10519         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10520         gst_pad_link, call pad_link_maybe_ghosting,
10521         (pad_link_maybe_ghosting): Links pads, making sure that the
10522         elements being linked are in the same bin.
10523         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10524         Helpers for pad_link_maybe_ghosting.
10525
10526 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10527
10528         * configure.ac:
10529           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10530
10531 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10532
10533         * docs/design/part-element-source.txt:
10534           Mention GstPushSrc
10535
10536 2005-05-12  Wim Taymans  <wim@fluendo.com>
10537
10538         * gst/base/gstbasesink.c: (gst_basesink_init),
10539         (gst_basesink_activate):
10540         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10541         (gst_basesrc_is_seekable):
10542         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10543         (bin_element_is_sink), (gst_bin_change_state):
10544         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10545         * gst/gstelement.h:
10546         Identify sinks by their flag to avoid overly complicated
10547         checks (fow now).
10548         Do state changes even for elements not reachable from the
10549         sinks.
10550         BaseSink is a sink now :)
10551         Some more debugging info in the basesrc.
10552
10553
10554 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10555
10556         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10557           Implement _query on a bin, similar to _send_event.
10558
10559 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10560
10561         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10562           Discont event offset format should be GST_FORMAT_BYTES,
10563           not GST_FORMAT_TIME.
10564
10565 2005-05-12  Wim Taymans  <wim@fluendo.com>
10566
10567         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10568         Same fix as Ronald's but without the signal. 
10569
10570 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10571
10572         * gst/gstutils.c: (gst_element_query_position):
10573           No, an element is not a pad.
10574
10575 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10576
10577         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10578         (gst_bin_get_state):
10579           If a child is removed from a bin while we remove the child from
10580           the bin and while we're retrieving its state, signal this to the
10581           get_state function so we abort the wait (instead of waiting for
10582           a timeout) and can immediately re-iterate over all other elements.
10583
10584 2005-05-12  Wim Taymans  <wim@fluendo.com>
10585
10586         * gst/base/Makefile.am:
10587         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10588         (gst_basesrc_start):
10589         * gst/base/gstbasesrc.h:
10590         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10591         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10592         (gst_pushsrc_init), (gst_pushsrc_create):
10593         * gst/base/gstpushsrc.h:
10594         Added is_seekable to BaseSrc
10595         Added simple PushSrc.
10596
10597 2005-05-11  Wim Taymans  <wim@fluendo.com>
10598
10599         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10600         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10601         (gst_element_link_pads), (gst_element_query_position),
10602         (gst_element_query_convert), (intersect_caps_func),
10603         (gst_pad_query_position), (gst_pad_query_convert):
10604         Fix refcounting in utils function.
10605         No point in trying to activate a pad when it's added, it could
10606         be added from the state change function and then we deadlock, the
10607         element has to decide what to do.
10608
10609 2005-05-10  Andy Wingo  <wingo@pobox.com>
10610
10611         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10612         *all* the arguments.
10613
10614         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10615         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10616         lock (according to the docs -- if this is wrong change the docs).
10617
10618         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10619         flush messages in the NULL state.
10620
10621         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10622         message immediately and return.
10623         (gst_bus_set_flushing): New function. If a bus is flushing, it
10624         flushes out any queued messages and immediately unrefs new
10625         messages. This is so when an element goes to NULL, all of the
10626         unhandled messages coming from it can be freed, and their
10627         references to the element dropped. In other words: message source
10628         ref considered harmful :P
10629
10630         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10631         we're finished with it.
10632
10633         * gst/gstmessage.c (gst_message_new_state_changed): 
10634
10635 2005-05-10  Wim Taymans  <wim@fluendo.com>
10636
10637         * gst/gstvalue.c: (gst_value_compare_flags),
10638         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10639         (_gst_value_initialize):
10640         Added flags serialize/deserialize/compare code.
10641
10642 2005-05-09  Andy Wingo  <wingo@pobox.com>
10643
10644         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10645         Intersect the peer's caps with our caps.
10646
10647 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10648
10649         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10650         * gst/elements/gsttypefindelement.c: (find_peek):
10651           Handle negative offsets better. Fixes decodebin.
10652
10653 2005-05-09  Wim Taymans  <wim@fluendo.com>
10654
10655         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10656         (gst_base_transform_event):
10657         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10658         Implement accept_caps.
10659         Fix silly lock/unlock mismatch in base class.
10660
10661 2005-05-09  Wim Taymans  <wim@fluendo.com>
10662
10663         * docs/design/draft-push-pull.txt:
10664         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10665         * gst/elements/gstfilesink.c: (gst_filesink_init),
10666         (gst_filesink_query):
10667         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10668         (gst_type_find_handle_src_query), (find_element_get_length):
10669         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10670         * gst/gstelement.h:
10671         * gst/gstmessage.c:
10672         * gst/gstmessage.h:
10673         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10674         (gst_real_pad_get_caps_unlocked),
10675         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10676         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10677         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10678         (gst_real_pad_dispose), (gst_real_pad_finalize),
10679         (gst_pad_load_and_link), (gst_pad_save_thyself),
10680         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10681         (gst_pad_check_pull_range), (gst_pad_pull_range),
10682         (gst_pad_template_get_type), (gst_pad_template_class_init),
10683         (gst_pad_template_init), (gst_pad_template_dispose),
10684         (name_is_valid), (gst_static_pad_template_get),
10685         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10686         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10687         (gst_pad_get_element_private), (gst_pad_start_task),
10688         (gst_pad_pause_task), (gst_pad_stop_task),
10689         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10690         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10691         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10692         (gst_ghost_pad_new):
10693         * gst/gstpad.h:
10694         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10695         (gst_query_new_position), (gst_query_set_position),
10696         (gst_query_parse_position), (gst_query_new_convert),
10697         (gst_query_set_convert), (gst_query_parse_convert):
10698         * gst/gstquery.h:
10699         * gst/gstqueryutils.c:
10700         * gst/gstqueryutils.h:
10701         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10702         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10703         (gst_queue_handle_src_query):
10704         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10705         (gst_element_query_position), (gst_element_query_convert),
10706         (intersect_caps_func), (gst_pad_query_position),
10707         (gst_pad_query_convert):
10708         * gst/gstutils.h:
10709         * tools/gst-inspect.c: (print_pad_info):
10710         * tools/gst-xmlinspect.c: (print_element_info):
10711         Remove old query functions. Ported old code.
10712         Added position/convert helper functions to gstutils.
10713         Reordered gstpad.c code, grouping relevant things.
10714         Remove gst_message_new(), always need to speficy a specific
10715         message.
10716
10717
10718 2005-05-09  Andy Wingo  <wingo@pobox.com>
10719
10720         * gst/gstiterator.h: Add some includes.
10721
10722         * gst/gstqueryutils.h: Include more headers.
10723
10724         * gst/gstpad.h:
10725         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10726         some uses of gst_pad_query.
10727
10728         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10729         NULL out parameters.
10730         (gst_query_new_position): New proc, allocates a new position
10731         query.
10732
10733         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10734         gstqueryutils.c to the build.
10735
10736         * gst/gststructure.c (gst_structure_set_valist): Implement with
10737         the generic G_VALUE_COLLECT.
10738         
10739 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10740
10741         * gst/Makefile.am: (gst_headers):
10742         Added gstqueryutils.h to the list of headers to install, that was
10743         a 'nachty' move wingo :)
10744
10745 2005-05-06  Andy Wingo  <wingo@pobox.com>
10746
10747         * gst/gstquery.h
10748         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10749         GstData, init a memchunk.
10750         (standard_definitions): Add a few query types, deprecate a few.
10751         (gst_query_get_type): New proc.
10752         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10753         implementation.
10754         (gst_query_new_application, gst_query_get_structure): New public
10755         procs.
10756
10757         * docs/design/draft-query.txt: Removed LINKS from the query types,
10758         because all the rest can be dispatched to other pads -- seemed
10759         ugly to have a query that couldn't be dispatched. internal_links
10760         is fine as a pad method.
10761
10762         * gst/gstpad.h: Add query2 as a pad method, add the new functions
10763         in gstpad.c, but maintain binary compatibility for the moment.
10764         Will fix before 0.9 is out.
10765
10766         * gst/gstqueryutils.c: 
10767         * gst/gstqueryutils.h: New files, implement 3 methods for each
10768         query type: parse_query, parse_response, and set. Probably need an
10769         allocator as well.
10770
10771         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10772
10773         * gst/elements/gstfilesink.c (gst_filesink_query2):
10774         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10775         query_types, and formats methods.
10776
10777         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10778         (gst_pad_set_query2_function): New functions.
10779         (gst_real_pad_init): Set query2_default as the default query2
10780         function. Basically just dispatches to internally linked pads.
10781
10782         Needs review!
10783         
10784         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10785         without using the atomic operations. Only one thread can possibly
10786         be accessing the data at this point. Changed so as to avoid
10787         gst_atomic operations.
10788
10789 2005-05-06  Wim Taymans  <wim@fluendo.com>
10790
10791         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10792         Also set caps if we use the fallback buffer alloc.
10793
10794 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
10795
10796         * docs/gst/Makefile.am:
10797         * docs/gst/gstreamer-docs.sgml:
10798         * docs/gst/gstreamer-sections.txt:
10799         * docs/gst/tmpl/gstatomic.sgml:
10800         * docs/gst/tmpl/gstmemchunk.sgml:
10801         * testsuite/elements/struct_i386.h:
10802         * win32/GStreamer.vcproj:
10803         * win32/Makefile:
10804           Purge GstAtomic stuff from docs and win32 makefiles as well
10805
10806 2005-05-06  Wim Taymans  <wim@fluendo.com>
10807
10808         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10809         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10810         * gst/gstpad.c: (gst_pad_peer_get_caps):
10811         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10812         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10813         (gst_queue_src_activate), (gst_queue_change_state):
10814         * gst/gstqueue.h:
10815         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10816         (intersect_caps_func):
10817         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10818         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10819         Some fixes for the peer_get_caps() change.
10820
10821 2005-05-06  Wim Taymans  <wim@fluendo.com>
10822
10823         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10824         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10825         (gst_basesink_activate):
10826         Actually do something with error codes returned from the push
10827         functions.
10828
10829 2005-05-06  Wim Taymans  <wim@fluendo.com>
10830
10831         * docs/design/part-element-sink.txt:
10832         * docs/design/part-element-source.txt:
10833         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10834         (gst_basesink_event), (gst_basesink_activate):
10835         * gst/base/gstbasesink.h:
10836         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10837         (gst_basesrc_activate):
10838         * gst/base/gstbasesrc.h:
10839         * gst/gstelement.c: (gst_element_pads_activate):
10840         Some more documentation.
10841         Fixed scheduling decision in _pads_activate().
10842
10843 2005-05-05  Andy Wingo  <wingo@pobox.com>
10844
10845         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10846         the test suite.
10847
10848 2005-05-05  Wim Taymans  <wim@fluendo.com>
10849
10850         * gst/base/Makefile.am:
10851         * gst/base/gstbasesink.h:
10852         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10853         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10854         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10855         (gst_collectpads_class_init), (gst_collectpads_init),
10856         (gst_collectpads_finalize), (gst_collectpads_new),
10857         (gst_collectpads_set_function), (gst_collectpads_add_pad),
10858         (find_pad), (gst_collectpads_remove_pad),
10859         (gst_collectpads_is_active), (gst_collectpads_collect),
10860         (gst_collectpads_collect_range), (gst_collectpads_start),
10861         (gst_collectpads_stop), (gst_collectpads_peek),
10862         (gst_collectpads_pop), (gst_collectpads_available),
10863         (gst_collectpads_read), (gst_collectpads_flush),
10864         (gst_collectpads_chain):
10865         * gst/base/gstcollectpads.h:
10866         * gst/elements/Makefile.am:
10867         * gst/elements/gstelements.c:
10868         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10869         (gst_fakesink_get_times), (gst_fakesink_event),
10870         (gst_fakesink_preroll), (gst_fakesink_render):
10871         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10872         (gst_filesink_init), (gst_filesink_set_location),
10873         (gst_filesink_open_file), (gst_filesink_close_file),
10874         (gst_filesink_pad_query), (gst_filesink_event),
10875         (gst_filesink_render), (gst_filesink_change_state):
10876         * gst/elements/gstfilesink.h:
10877         Added object to help in making collect pad based elements.
10878         Ported filesink.
10879         Make event function in sink baseclass return gboolean.
10880
10881 2005-05-05  Wim Taymans  <wim@fluendo.com>
10882
10883         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10884         (gst_bin_get_by_name):
10885         * gst/gstbuffer.h:
10886         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10887         (gst_clock_finalize):
10888         * gst/gstdata.c: (gst_data_replace):
10889         * gst/gstdata.h:
10890         * gst/gstelement.c: (gst_element_request_pad),
10891         (gst_element_pads_activate):
10892         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10893         (gst_object_unref):
10894         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10895         (gst_pad_set_checkgetrange_function),
10896         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10897         (gst_pad_check_pull_range), (gst_pad_pull_range),
10898         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10899         (gst_pad_pause_task), (gst_pad_stop_task):
10900         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10901         (gst_element_request_pad), (gst_pad_proxy_getcaps):
10902         Fix name lookup in GstBin.
10903         Added _data_replace() function and _buffer_replace()
10904         Use finalize method to clean up clock.
10905         Fix refcounting on request pads.
10906         Fix pad schedule mode error.
10907         Some more object refcounting debug info,
10908
10909
10910 2005-05-04  Andy Wingo <wingo@pobox.com>
10911
10912         * check/Makefile.am:
10913         * docs/gst/tmpl/gstatomic.sgml:
10914         * docs/gst/tmpl/gstplugin.sgml:
10915         * gst/base/gstbasesink.c: (gst_basesink_activate):
10916         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10917         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10918         (gst_basesrc_query), (gst_basesrc_set_property),
10919         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10920         (gst_basesrc_activate):
10921         * gst/base/gstbasesrc.h:
10922         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10923         (gst_base_transform_src_activate):
10924         * gst/elements/gstelements.c:
10925         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10926         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10927         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10928         * gst/elements/gsttypefindelement.c: (find_element_get_length),
10929         (gst_type_find_element_checkgetrange),
10930         (gst_type_find_element_activate):
10931         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10932         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10933         (gst_caps_load_thyself):
10934         * gst/gstelement.c: (gst_element_pads_activate),
10935         (gst_element_save_thyself), (gst_element_restore_thyself):
10936         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10937         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10938         * gst/gstpad.h:
10939         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10940         (gst_xml_parse_file), (gst_xml_parse_memory),
10941         (gst_xml_get_element), (gst_xml_make_element):
10942         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10943         (_file_index_id_save_xml), (gst_file_index_commit):
10944         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10945         (read_enum), (load_pad_template), (load_feature), (load_plugin),
10946         (load_paths):
10947         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10948         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10949         * tools/gst-complete.c: (main):
10950         * tools/gst-compprep.c: (main):
10951         * tools/gst-inspect.c: (print_element_properties_info):
10952         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10953         * tools/gst-xmlinspect.c: (print_element_properties):
10954         GCC 4 fixen.
10955         
10956 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10957
10958         * gst/gstplugin.c: (gst_plugin_check_module),
10959         (gst_plugin_check_file), (gst_plugin_load_file):
10960             apply patch from #172526 to make register work on MacOSX
10961
10962 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10963
10964         * docs/gst/tmpl/gstconfig.sgml:
10965         * gst/gstconfig.h.in:
10966           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
10967         * testsuite/debug/printf_extension.c: (main):
10968           Do not use GST_PTR_FORMAT on pointers to types with
10969           sizeof < sizeof(gpointer).  Fixes test on 64-bit
10970         * testsuite/elements/property.h:
10971           use correct printf format
10972
10973 2005-05-02  Wim Taymans  <wim@fluendo.com>
10974
10975         * docs/design/draft-push-pull.txt:
10976         * docs/design/draft-query.txt:
10977         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10978         (gst_basesrc_start):
10979         Added draft for new query API.
10980         Added draft for better selecting scheduling methods.
10981         Make basesrc ignore length if the subclass does not support
10982         it.
10983
10984 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10985
10986         * gst/Makefile.am:
10987           possible fixes for automake-1.5 - _LIBADD is reserved
10988
10989 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10990
10991         * docs/faq/Makefile.am:
10992         * docs/manual/Makefile.am:
10993         * docs/manuals.mak:
10994         * docs/pwg/Makefile.am:
10995         * gst/Makefile.am:
10996           possible fixes for automake-1.5
10997
10998 2005-04-28  Wim Taymans  <wim@fluendo.com>
10999
11000         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11001         (gst_basesink_pad_getcaps), (gst_basesink_init),
11002         (gst_basesink_do_sync):
11003         * gst/gstclock.c: (gst_clock_entry_new):
11004         * gst/gstevent.c: (gst_event_discont_get_value):
11005         * gst/gstpipeline.c: (pipeline_bus_handler),
11006         (gst_pipeline_change_state):
11007         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11008         Better debugging of clocking info.
11009         Allow NULL values when getting discont values.
11010
11011 2005-04-27  Wim Taymans  <wim@fluendo.com>
11012
11013         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11014         * check/gst/gstpad.c: (gst_pad_suite):
11015         Increase timeout for checks.
11016
11017 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11018
11019         * check/Makefile.am:
11020           fix the broken rule for cleanup.  Apparently this rule is
11021           only needed on FC2, so maybe this warrants further autotool
11022           inspection.
11023
11024 2005-04-26  Wim Taymans  <wim@fluendo.com>
11025
11026         * gst/gsttrashstack.h:
11027         Ooohh. a nasty one! After having a failed pop() from the stack,
11028         it's possible that the stack is empty. In that case, don't
11029         follow the NULL pointer.
11030
11031 2005-04-25  Wim Taymans  <wim@fluendo.com>
11032
11033         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11034         (gst_pad_set_checkgetrange_function),
11035         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11036         (gst_pad_check_pull_range), (gst_pad_pull_range),
11037         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11038         (gst_pad_pause_task), (gst_pad_stop_task):
11039         * gst/gstplugin.c: (gst_plugin_load):
11040         * gst/gstplugin.h:
11041         Remove gst_library_load as it does more harm than good with
11042         the new g_module flags.
11043         Revert bogus caps template check in pad linking, pad caps
11044         are important when linking not the template, which is more
11045         general than the current caps.
11046
11047 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11048
11049         * gst/autoplug/.cvsignore:
11050         * gst/autoplug/Makefile.am:
11051         * gst/autoplug/gstsearchfuncs.c:
11052         * gst/autoplug/gstsearchfuncs.h:
11053         * gst/autoplug/gstspider.c:
11054         * gst/autoplug/gstspider.h:
11055         * gst/autoplug/gstspideridentity.c:
11056         * gst/autoplug/gstspideridentity.h:
11057         * gst/autoplug/spidertest.c:
11058           Die, spider, die.
11059
11060 2005-04-25  Wim Taymans  <wim@fluendo.com>
11061
11062         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11063         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11064         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11065         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11066         * gst/gstpad.h:
11067         Added stubs for unimplemented functions. 
11068
11069 2005-04-24  David Schleef  <ds@schleef.org>
11070
11071         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11072         please fix.
11073
11074 2005-04-24  David Schleef  <ds@schleef.org>
11075
11076         Convert everything from GstAtomicInt to g_atomic_int_*, and
11077         remove gstatomic.
11078         * gst/Makefile.am:
11079         * gst/gstatomic.c:
11080         * gst/gstatomic.h:
11081         * gst/gstatomic_impl.h:
11082         * gst/gstbuffer.c:
11083         * gst/gstcaps.c:
11084         * gst/gstcaps.h:
11085         * gst/gstclock.c:
11086         * gst/gstclock.h:
11087         * gst/gstdata.c:
11088         * gst/gstdata.h:
11089         * gst/gstdata_private.h:
11090         * gst/gstevent.c:
11091         * gst/gstinfo.c:
11092         * gst/gstinfo.h:
11093         * gst/gstmessage.c:
11094         * gst/gstobject.c:
11095         * gst/gstobject.h:
11096         * gst/gststructure.c:
11097         * gst/gststructure.h:
11098         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11099         * gst/gstutils.h:
11100
11101 2005-04-24  David Schleef  <ds@schleef.org>
11102
11103         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11104         make the regressions tests work.  Remove some code that is no
11105         longer true.
11106         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11107         Disable warning for pads without templates.
11108
11109 2005-04-24  David Schleef  <ds@schleef.org>
11110
11111         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11112         functions that handle filtered links.
11113         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11114         removed functions.
11115         * gst/gstutils.c: Fix/remove utility functions that handle
11116         filtered caps.
11117         * gst/gstutils.h:
11118         * gst/gstvalue.c: Add serialization/deserialization of caps
11119         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11120         requires fixing so that the filter caps notation creates
11121         a capsfilter element and sets the filter_caps property.  I
11122         think everyone probably wants to keep the shorthand notation.
11123         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11124         * docs/gst/tmpl/gstpad.sgml:
11125
11126         * gst/elements/gstelements.c: Register capsfilter element.
11127         * gst/Makefile.am: fix spacing
11128         * docs/random/ds/0.9-suggested-changes: random
11129
11130 2005-04-23  David Schleef  <ds@schleef.org>
11131
11132         * gst/elements/Makefile.am:
11133         * gst/elements/gstcapsfilter.c: New element that acts like an
11134         identity, but filters caps.  Will eventually replace filtered
11135         caps in pad linking.
11136         * gst/gstutils.c: (gst_element_create_all_pads): New function
11137         to create all the ALWAYS pads that are registered with an
11138         element class.  This functionality should eventually be
11139         merged in with GstElement initialization.
11140         * gst/gstutils.h:
11141         * testsuite/trigger/README: part of trigger test code that should
11142         have been checked in a long time ago.
11143
11144 2005-04-23  David Schleef  <ds@schleef.org>
11145
11146         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11147         needed with new versions of libtool (nobody will confirm this),
11148         and hard to carry around.
11149         * gst/autoplug/Makefile.am:
11150         * gst/base/Makefile.am:
11151         * gst/elements/Makefile.am:
11152         * gst/indexers/Makefile.am:
11153         * gst/schedulers/Makefile.am:
11154         * libs/gst/bytestream/Makefile.am:
11155         * libs/gst/control/Makefile.am:
11156         * libs/gst/dataprotocol/Makefile.am:
11157         * libs/gst/getbits/Makefile.am:
11158
11159 2005-04-21  Wim Taymans  <wim@fluendo.com>
11160
11161         * docs/design/draft-push-pull.txt:
11162         * docs/design/part-MT-refcounting.txt:
11163         * docs/design/part-TODO.txt:
11164         * docs/design/part-caps.txt:
11165         * docs/design/part-events.txt:
11166         * docs/design/part-gstbus.txt:
11167         * docs/design/part-gstpipeline.txt:
11168         * docs/design/part-messages.txt:
11169         * docs/design/part-push-pull.txt:
11170         * docs/design/part-query.txt:
11171         Some more docs.
11172
11173 2005-04-21  Wim Taymans  <wim@fluendo.com>
11174
11175         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11176         (gst_message_new), (gst_message_new_error),
11177         (gst_message_new_warning), (gst_message_new_tag),
11178         (gst_message_new_state_changed), (gst_message_new_application),
11179         (gst_message_get_structure):
11180         * gst/gstmessage.h:
11181         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11182         (gst_structure_copy_conditional):
11183         Use parent refcount in GstMessage to ensure GstStructure
11184         consistency.
11185         Cleaned up headers a bit.
11186         
11187
11188 2005-04-20  Wim Taymans  <wim@fluendo.com>
11189
11190         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11191         (gst_basesink_pad_getcaps), (gst_basesink_init),
11192         (gst_basesink_chain_unlocked):
11193         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11194         (gst_type_find_helper):
11195         * gst/elements/gsttypefindelement.c:
11196         (gst_type_find_element_have_type), (gst_type_find_element_init),
11197         (stop_typefinding), (gst_type_find_element_handle_event),
11198         (find_suggest), (gst_type_find_element_chain),
11199         (gst_type_find_element_checkgetrange),
11200         (gst_type_find_element_getrange), (do_typefind),
11201         (gst_type_find_element_activate):
11202         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11203         (gst_buffer_default_free), (gst_buffer_default_copy),
11204         (gst_buffer_set_caps):
11205         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11206         (gst_caps_replace):
11207         * gst/gstmessage.c: (gst_message_new),
11208         (gst_message_new_state_changed):
11209         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11210         (gst_pad_set_checkgetrange_function),
11211         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11212         (gst_pad_set_caps), (gst_pad_check_pull_range),
11213         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11214         * gst/gstpad.h:
11215         * gst/gsttypefind.c: (gst_type_find_register):
11216         Make gst_caps_replace() work like other _replace() functions.
11217         Use _caps_replace() where possible.
11218         Make sure _message_new() initialises its field.
11219         Add gst_static_pad_template_get_caps()
11220
11221
11222 2005-04-18  Andy Wingo  <wingo@pobox.com>
11223
11224         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11225         on the peer, not the pad. I think that was a typo. Pass an extra
11226         arg to see if random access is possible. Activate the pads as
11227         PULL_RANGE if possible.
11228
11229         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11230
11231         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11232         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11233         to PROP_....
11234
11235 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11236
11237         * docs/faq/using.xml:
11238           Add note on gstreamer-properties (#154996).
11239
11240 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11241
11242         * docs/random/bbb/optional-properties:
11243           Some analysis on optional properties.
11244
11245 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11246
11247         * docs/gst/tmpl/gstelementfactory.sgml:
11248         * gst/gstelement.h:
11249         * gst/gstelementfactory.c: (gst_element_factory_init),
11250         (gst_element_factory_cleanup), (gst_element_register),
11251         (__gst_element_factory_add_static_pad_template),
11252         (gst_element_factory_get_static_pad_templates),
11253         (gst_element_factory_can_src_caps),
11254         (gst_element_factory_can_sink_caps):
11255         * gst/registries/Makefile.am:
11256         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11257         (gst_xml_registry_class_init), (gst_xml_registry_init),
11258         (gst_xml_registry_new), (gst_xml_registry_set_property),
11259         (gst_xml_registry_get_property), (get_time), (make_dir),
11260         (gst_xml_registry_get_perms_func),
11261         (plugin_times_older_than_recurse), (plugin_times_older_than),
11262         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11263         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11264         (add_to_char_array), (read_string), (read_uint), (read_enum),
11265         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11266         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11267         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11268         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11269         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11270         (gst_xml_registry_rebuild):
11271         * gst/registries/gstlibxmlregistry.h:
11272         * tools/gst-compprep.c: (main):
11273         * tools/gst-inspect.c: (print_pad_templates_info):
11274         * tools/gst-xmlinspect.c: (print_element_info):
11275           Use libxml2 for registry parsing, use staticpadtemplates in
11276           elementfactories. Makes gst_init() +/- 10x faster.
11277
11278 2005-04-12  Wim Taymans  <wim@fluendo.com>
11279
11280         * gst/base/Makefile.am:
11281         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11282         (gst_basesink_pad_getcaps), (gst_basesink_init),
11283         (gst_basesink_event), (gst_basesink_change_state):
11284         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11285         (gst_basesrc_init), (gst_basesrc_query),
11286         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11287         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11288         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11289         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11290         (gst_basesrc_stop), (gst_basesrc_activate),
11291         (gst_basesrc_change_state):
11292         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11293         (helper_find_suggest), (gst_type_find_helper):
11294         * gst/base/gsttypefindhelper.h:
11295         * gst/elements/Makefile.am:
11296         * gst/elements/gstelements.c:
11297         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11298         (gst_fakesink_get_times), (gst_fakesink_event),
11299         (gst_fakesink_preroll), (gst_fakesink_render):
11300         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11301         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11302         (gst_fakesrc_get_property), (gst_fakesrc_create),
11303         (gst_fakesrc_start), (gst_fakesrc_stop):
11304         * gst/elements/gstfakesrc.h:
11305         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11306         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11307         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11308         (gst_filesrc_create_read), (gst_filesrc_create),
11309         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11310         (gst_filesrc_start):
11311         * gst/elements/gsttypefindelement.c:
11312         (gst_type_find_element_have_type), (gst_type_find_element_init),
11313         (start_typefinding), (stop_typefinding), (push_buffer_store),
11314         (gst_type_find_element_handle_event),
11315         (gst_type_find_element_chain),
11316         (gst_type_find_element_checkgetrange),
11317         (gst_type_find_element_getrange), (do_typefind),
11318         (gst_type_find_element_activate),
11319         (gst_type_find_element_change_state):
11320         * gst/elements/gsttypefindelement.h:
11321         * gst/gstpipeline.c: (pipeline_bus_handler):
11322         Added typefind helper.
11323         Small preroll fix in the base sink.
11324         Disable typefind code in basesrc.
11325         Crude port of typefindelement.
11326         Fakesrc cleanups.
11327
11328
11329 2005-04-11  Wim Taymans  <wim@fluendo.com>
11330
11331         * check/gst/gstbus.c: (gstbus_suite):
11332         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11333         * check/gstcheck.h:
11334           Fix up the timeout so that the test does not fail.
11335
11336 2005-04-06  Wim Taymans  <wim@fluendo.com>
11337
11338         * gst/base/README:
11339         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11340         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11341         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11342         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11343         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11344         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11345         (gst_basesrc_stop), (gst_basesrc_activate),
11346         (gst_basesrc_change_state), (basesrc_find_peek),
11347         (basesrc_find_suggest), (gst_basesrc_type_find):
11348         * gst/base/gstbasesrc.h:
11349         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11350         (gst_filesrc_class_init), (gst_filesrc_init),
11351         (gst_filesrc_finalize), (gst_filesrc_set_location),
11352         (gst_filesrc_set_property), (gst_filesrc_get_property),
11353         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11354         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11355         (gst_filesrc_create_read), (gst_filesrc_create),
11356         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11357         * gst/elements/gstfilesrc.h:
11358         * gst/gstelement.c: (gst_element_get_state_func),
11359         (gst_element_lost_state), (gst_element_pads_activate):
11360         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11361         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11362         (gst_pad_pull_range):
11363         * gst/gstpad.h:
11364         More work on the generic source base class, implement seeking,
11365         query.
11366         Make filesrc extend the base source class.
11367         Added gst_pad_set_checkgetrange_function to GstPad.
11368
11369 2005-04-06  Andy Wingo  <wingo@pobox.com>
11370
11371         * pkgconfig/gstreamer-base.pc.in:
11372         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11373
11374         * pkgconfig/Makefile.am:
11375         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11376
11377 2005-04-04  Wim Taymans  <wim@fluendo.com>
11378
11379         * gst/base/Makefile.am:
11380         * gst/base/README:
11381         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11382         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11383         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11384         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11385         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11386         (gst_basesrc_base_init), (gst_basesrc_class_init),
11387         (gst_basesrc_init), (gst_basesrc_get_formats),
11388         (gst_basesrc_get_query_types), (gst_basesrc_query),
11389         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11390         (gst_basesrc_set_property), (gst_basesrc_get_property),
11391         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11392         (gst_basesrc_loop), (gst_basesrc_activate),
11393         (gst_basesrc_change_state):
11394         * gst/base/gstbasesrc.h:
11395         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11396         (gst_fakesrc_class_init), (gst_fakesrc_init),
11397         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11398         (gst_fakesrc_get_property), (gst_fakesrc_create):
11399         * gst/elements/gstfakesrc.h:
11400         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11401         (gst_filesrc_open_file), (gst_filesrc_loop),
11402         (gst_filesrc_activate), (filesrc_find_peek),
11403         (gst_filesrc_type_find):
11404         Made base source class, make fakesrc extend it.
11405         Add comments to basesink class.
11406         Some filesrc cleanup.
11407
11408 2005-03-31  David Schleef  <ds@schleef.org>
11409
11410         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11411         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11412         expected to link against libgstreamer.
11413         * gst/base/Makefile.am: link against libgstreamer
11414         * gst/elements/Makefile.am: same
11415
11416 2005-03-31  Andy Wingo  <wingo@pobox.com>
11417
11418         * tests/instantiate/Makefile.am:
11419         * tests/instantiate/caps.c: Add test to test speed of caps copy
11420         and free.
11421
11422         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11423         GMemChunk to be fair.
11424
11425         * gst/gsttrashstack.h: Remove warning about using the fallback
11426         trash stack implementation, it's still faster than malloc.
11427
11428 2005-03-30  Andy Wingo  <wingo@pobox.com>
11429
11430         * tests/complexity.c: Add a copyright.
11431
11432 2005-03-31  Wim Taymans  <wim@fluendo.com>
11433
11434         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11435         (gst_base_transform_class_init), (gst_base_transform_init),
11436         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11437         (gst_base_transform_get_property),
11438         (gst_base_transform_sink_activate),
11439         (gst_base_transform_src_activate),
11440         (gst_base_transform_change_state):
11441         * gst/base/gstbasetransform.h:
11442         * gst/elements/gstidentity.c: (gst_identity_class_init),
11443         (gst_identity_event), (gst_identity_check_perfect),
11444         (gst_identity_transform), (gst_identity_start),
11445         (gst_identity_stop):
11446         Added start/stop methods to transform base class so subclasses 
11447         don't need to deal with state changes even.
11448
11449 2005-03-31  Wim Taymans  <wim@fluendo.com>
11450
11451         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11452         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11453         * gst/gstevent.h:
11454         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11455         (gst_pad_pull_range):
11456         Added rate to the discont event to prepare for variable speed
11457         and reverse playback.
11458
11459 2005-03-29  David Schleef  <ds@schleef.org>
11460
11461         * configure.ac:
11462         * testsuite/trigger/Makefile.am:
11463         * testsuite/trigger/trigger.c: A little example program to show
11464         how trigger-based elements can work.
11465
11466 2005-03-29  Wim Taymans  <wim@fluendo.com>
11467
11468         * gst/base/Makefile.am:
11469         * gst/base/README:
11470         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11471         (gst_basesink_base_init), (gst_basesink_class_init),
11472         (gst_basesink_pad_getcaps), (gst_basesink_init),
11473         (gst_basesink_activate), (gst_basesink_change_state):
11474         * gst/base/gstbasesink.h:
11475         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11476         (gst_base_transform_base_init), (gst_base_transform_finalize),
11477         (gst_base_transform_class_init), (gst_base_transform_init),
11478         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11479         (gst_base_transform_event), (gst_base_transform_getrange),
11480         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11481         (gst_base_transform_set_property),
11482         (gst_base_transform_get_property),
11483         (gst_base_transform_sink_activate),
11484         (gst_base_transform_src_activate),
11485         (gst_base_transform_change_state):
11486         * gst/base/gstbasetransform.h:
11487         * gst/elements/gstidentity.c: (gst_identity_finalize),
11488         (gst_identity_class_init), (gst_identity_init),
11489         (gst_identity_event), (gst_identity_check_perfect),
11490         (gst_identity_transform), (gst_identity_set_property),
11491         (gst_identity_get_property), (gst_identity_change_state):
11492         * gst/elements/gstidentity.h:
11493         * gst/gstelement.c: (gst_element_get_state_func),
11494         (gst_element_lost_state), (gst_element_pads_activate):
11495         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11496         (gst_pad_check_pull_range), (gst_pad_pull_range):
11497         * gst/gstpad.h:
11498         Simplify pad activation.
11499         Added function to check if pull_range can be performed.
11500         Error out when pulling inactive or flushing pads.
11501         Removed const from refcounted types as it does not make sense.
11502         Simplify pad templates in basesink
11503         Added base class for simple 1-to-1 transforms.
11504         Make identity subclass the base transform.
11505
11506 2005-03-29  Andy Wingo  <wingo@pobox.com>
11507
11508         * docs/libs/gstreamer-libs-overrides.txt: 
11509         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11510         really don't understand what's going on, but like whatever. I want
11511         green buildbot!
11512
11513         * docs/gst/Makefile.am:
11514         * docs/libs/Makefile.am: Dist the overrides files.
11515
11516         * check/Makefile.am (clean-local): Remove .libs directories.
11517
11518         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11519         elements to EXTRA_DIST, so po/ files are happy.
11520
11521         * po/POTFILES.in: Er, remove it here.
11522
11523         * po/POTFILES: Remove gstspider.c.
11524
11525         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11526
11527         * docs/libs/gstreamer-libs-docs.sgml: 
11528         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11529         bytestream.
11530
11531         * tests/complexity.c (main): Set the length of the preroll queue
11532         on the sinks to prevent a lockup.
11533
11534         * libs/gst/dataprotocol/Makefile.am: 
11535         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11536         the same as the one in check/gst-libs/gdp.c.
11537
11538         * po/, docs/gst/: Commit automatic changes to docs and po files.
11539
11540         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11541         the versioned libgstbase.
11542
11543         * check/Makefile.am: Depend on an unversioned gst-register, seems
11544         to make autoconf happier.
11545
11546         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11547
11548 2005-03-28  Wim Taymans  <wim@fluendo.com>
11549
11550         * configure.ac:
11551         * docs/design/part-gstelement.txt:
11552         * docs/design/part-negotiation.txt:
11553         * docs/design/part-preroll.txt:
11554         * docs/design/part-scheduling.txt:
11555         * docs/design/part-states.txt:
11556         * gst/Makefile.am:
11557         * gst/base/Makefile.am:
11558         * gst/base/README:
11559         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11560         (gst_basesink_base_init), (gst_basesink_class_init),
11561         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11562         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11563         (gst_basesink_set_pad_functions),
11564         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11565         (gst_basesink_set_property), (gst_basesink_get_property),
11566         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11567         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11568         (gst_basesink_preroll_queue_push),
11569         (gst_basesink_preroll_queue_empty),
11570         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11571         (gst_basesink_event), (gst_basesink_get_times),
11572         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11573         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11574         (gst_basesink_loop), (gst_basesink_activate),
11575         (gst_basesink_change_state):
11576         * gst/base/gstbasesink.h:
11577         * gst/elements/Makefile.am:
11578         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11579         (gst_fakesink_class_init), (gst_fakesink_init),
11580         (gst_fakesink_set_property), (gst_fakesink_get_property),
11581         (gst_fakesink_get_times), (gst_fakesink_event),
11582         (gst_fakesink_preroll), (gst_fakesink_render),
11583         (gst_fakesink_change_state):
11584         * gst/elements/gstfakesink.h:
11585         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11586         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11587         * gst/gstelement.c: (gst_element_add_pad),
11588         (gst_element_get_state_func), (gst_element_abort_state),
11589         (gst_element_commit_state), (gst_element_lost_state),
11590         (gst_element_set_state), (gst_element_pads_activate):
11591         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11592         * gst/gstpipeline.c: (gst_pipeline_send_event),
11593         (gst_pipeline_change_state):
11594         Added state change code.
11595         Added/updated docs.
11596         Added sink base class, make fakesink extend the base class.
11597         Small cleanups in GstPipeline.
11598
11599 2005-03-26  David Schleef  <ds@schleef.org>
11600
11601         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11602         is broken and should be implemented in a different library.
11603         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11604         * gst/gst.h: remove gstcpu.h
11605         * gst/gstcpu.c: remove
11606         * gst/gstcpu.h: remove
11607         * gst/Makefile.am.future: Remove this file.  It's ancient.
11608
11609 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11610
11611         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11612         (gst_bin_send_event):
11613           Add default event/set_manager handlers. The set_manager handler
11614           takes care that the manager is distributed over kids that were
11615           already in the bin before the manager was set. The event handler
11616           is a utility virtual function that sends the event over all sinks,
11617           so that gst_element_send_event (bin, event); has the expected
11618           behaviour.
11619         * gst/gstpad.c: (gst_pad_event_default):
11620           Re-install default event handling for discontinuities, so that
11621           seeking works without requiring hacks in applications or extra
11622           code in sinks.
11623         * gst/gstpipeline.c: (gst_pipeline_class_init),
11624         (gst_pipeline_send_event):
11625           Half hack, half utility: set a pipeline to PAUSED for seek events,
11626           since that is the only way we can guarantee a/v sync. Means that
11627           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11628           and it "just works".
11629
11630 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11631
11632         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11633           Lock/unlock mismatch.
11634
11635 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11636
11637         * docs/faq/gst-uninstalled:
11638           add gst-plugins-base
11639         * docs/gst/Makefile.am:
11640           don't error out until docs are fixed
11641         * docs/gst/gstreamer.types:
11642           remove thread
11643
11644 2005-03-22  Wim Taymans  <wim@fluendo.com>
11645
11646         * check/Makefile.am:
11647         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11648         * gst/gststructure.c: (gst_structure_set_valist),
11649         (gst_structure_copy_conditional):
11650         Activated more tests.
11651         Added message test.
11652         Added G_TYPE_POINTER to GstStructure.
11653         
11654
11655 2005-03-22  Wim Taymans  <wim@fluendo.com>
11656
11657         * docs/design/part-TODO.txt:
11658         * docs/design/part-events.txt:
11659         * docs/design/part-gstbin.txt:
11660         * docs/design/part-gstbus.txt:
11661         * docs/design/part-gstpipeline.txt:
11662         * docs/design/part-messages.txt:
11663         * gst/gstbus.c:
11664         * gst/gstmessage.c:
11665         Docs updates
11666
11667 2005-03-21  Wim Taymans  <wim@fluendo.com>
11668
11669         * gst/gstbus.c: (gst_bus_post):
11670         Fix copy-and-paste error.
11671
11672 2005-03-21  Wim Taymans  <wim@fluendo.com>
11673
11674         * check/Makefile.am:
11675         * gst/Makefile.am:
11676         * gst/elements/Makefile.am:
11677         * gst/elements/gstelements.c:
11678         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11679         (gst_fakesink_event), (gst_fakesink_chain):
11680         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11681         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11682         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11683         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11684         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11685         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11686         (gst_fakesrc_loop), (gst_fakesrc_activate),
11687         (gst_fakesrc_change_state):
11688         * gst/elements/gstfakesrc.h:
11689         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11690         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11691         (gst_filesrc_open_file), (gst_filesrc_loop),
11692         (gst_filesrc_activate), (gst_filesrc_change_state),
11693         (filesrc_find_peek), (filesrc_find_suggest),
11694         (gst_filesrc_type_find):
11695         * gst/elements/gstidentity.c: (gst_identity_finalize),
11696         (gst_identity_class_init), (gst_identity_init),
11697         (gst_identity_proxy_getcaps), (identity_queue_push),
11698         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11699         (gst_identity_getrange), (gst_identity_chain),
11700         (gst_identity_sink_loop), (gst_identity_src_loop),
11701         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11702         (gst_identity_set_property), (gst_identity_get_property),
11703         (gst_identity_change_state):
11704         * gst/elements/gstidentity.h:
11705         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11706         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11707         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11708         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11709         (gst_tee_sink_activate):
11710         * gst/elements/gsttee.h:
11711         * gst/gst.c: (gst_register_core_elements), (init_post):
11712         * gst/gst.h:
11713         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11714         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11715         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11716         (gst_bin_change_state):
11717         * gst/gstbin.h:
11718         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11719         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11720         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11721         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11722         (gst_bus_set_sync_handler), (gst_bus_create_watch),
11723         (bus_watch_callback), (bus_watch_destroy),
11724         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11725         (poll_timeout), (gst_bus_poll):
11726         * gst/gstbus.h:
11727         * gst/gstcaps.h:
11728         * gst/gstdata.h:
11729         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11730         (gst_element_post_message), (gst_element_message_full),
11731         (gst_element_get_state_func), (gst_element_get_state),
11732         (gst_element_abort_state), (gst_element_commit_state),
11733         (gst_element_lost_state), (gst_element_set_state),
11734         (gst_element_pads_activate), (gst_element_change_state),
11735         (gst_element_dispose), (gst_element_set_manager_func),
11736         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11737         (gst_element_set_manager), (gst_element_get_manager),
11738         (gst_element_set_bus), (gst_element_get_bus),
11739         (gst_element_set_scheduler), (gst_element_get_scheduler):
11740         * gst/gstelement.h:
11741         * gst/gstevent.c: (gst_event_new_segment_seek),
11742         (gst_event_new_flush):
11743         * gst/gstevent.h:
11744         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11745         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11746         (gst_message_new_eos), (gst_message_new_error),
11747         (gst_message_new_warning), (gst_message_new_tag),
11748         (gst_message_new_state_changed), (gst_message_new_application),
11749         (gst_message_get_structure), (gst_message_parse_tag),
11750         (gst_message_parse_state_changed), (gst_message_parse_error),
11751         (gst_message_parse_warning):
11752         * gst/gstmessage.h:
11753         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11754         (gst_real_pad_set_property), (gst_pad_set_active),
11755         (gst_pad_is_active), (gst_pad_set_blocked_async),
11756         (gst_pad_set_blocked), (gst_pad_is_blocked),
11757         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11758         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11759         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11760         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11761         (gst_pad_link_filtered), (gst_pad_relink_filtered),
11762         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11763         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11764         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11765         (gst_pad_set_caps), (gst_pad_configure_sink),
11766         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11767         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11768         (gst_real_pad_dispose), (gst_real_pad_finalize),
11769         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11770         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11771         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11772         * gst/gstpad.h:
11773         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11774         (pipeline_bus_handler), (gst_pipeline_change_state),
11775         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11776         * gst/gstpipeline.h:
11777         * gst/gstprobe.h:
11778         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11779         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11780         (gst_queue_link_src), (gst_queue_bufferalloc),
11781         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11782         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11783         (gst_queue_loop), (gst_queue_handle_src_event),
11784         (gst_queue_handle_src_query), (gst_queue_src_activate),
11785         (gst_queue_change_state):
11786         * gst/gstqueue.h:
11787         * gst/gstscheduler.c: (gst_scheduler_init),
11788         (gst_scheduler_dispose), (gst_scheduler_create_task),
11789         (gst_scheduler_factory_create):
11790         * gst/gstscheduler.h:
11791         * gst/gststructure.c: (gst_structure_get_type),
11792         (gst_structure_copy_conditional):
11793         * gst/gststructure.h:
11794         * gst/gsttaginterface.h:
11795         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11796         (gst_task_init), (gst_task_dispose), (gst_task_create),
11797         (gst_task_get_state), (gst_task_start), (gst_task_stop),
11798         (gst_task_pause):
11799         * gst/gsttask.h:
11800         * gst/gstthread.c:
11801         * gst/gstthread.h:
11802         * gst/gsttypes.h:
11803         * gst/schedulers/Makefile.am:
11804         * gst/schedulers/cothreads_compat.h:
11805         * gst/schedulers/entryscheduler.c:
11806         * gst/schedulers/faircothreads.c:
11807         * gst/schedulers/faircothreads.h:
11808         * gst/schedulers/fairscheduler.c:
11809         * gst/schedulers/gstbasicscheduler.c:
11810         * gst/schedulers/gstoptimalscheduler.c:
11811         * gst/schedulers/gthread-cothreads.h:
11812         * gst/schedulers/threadscheduler.c:
11813         (gst_thread_scheduler_task_get_type),
11814         (gst_thread_scheduler_task_class_init),
11815         (gst_thread_scheduler_task_init),
11816         (gst_thread_scheduler_task_start),
11817         (gst_thread_scheduler_task_stop),
11818         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11819         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11820         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11821         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11822         (plugin_init):
11823         * libs/gst/Makefile.am:
11824         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11825         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11826         (gst_file_pad_parent_set):
11827         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11828         (gst_dp_event_from_packet):
11829         * tests/complexity.c: (main):
11830         * tests/mass_elements.c: (main):
11831         * testsuite/states/locked.c: (message_received), (main):
11832         * testsuite/states/parent.c: (main):
11833         * tools/gst-inspect.c: (print_element_flag_info),
11834         (print_implementation_info), (print_pad_info):
11835         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11836         (main):
11837         * tools/gst-md5sum.c: (event_loop), (main):
11838         * tools/gst-typefind.c: (main):
11839         * tools/gst-xmlinspect.c: (print_element_info):
11840         Next big merge.
11841         Added GstBus for mainloop integration.
11842         Added GstMessage for sending notifications on the bus.
11843         Added GstTask as an abstraction for pipeline entry points.
11844         Removed GstThread.
11845         Removed Schedulers.
11846         Simplified GstQueue for multithreaded core.
11847         Made _link threadsafe, removed old capsnego.
11848         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11849         Added pad blocking functions.
11850         Reworked scheduling functions in GstPad to prepare for
11851         scheduling updates soon.
11852         Moved events out of data stream.
11853         Simplified GstEvent types.
11854         Added return values to push/pull.
11855         Removed clocking from GstElement.
11856         Added prototypes for state change function for next merge.
11857         Removed iterate from bins and state change management.
11858         Fixed some elements, disabled others for now.
11859         Fixed -inspect and -launch.
11860         Added check for GstBus.
11861
11862 2005-03-10  Wim Taymans  <wim@fluendo.com>
11863
11864         * docs/design/part-MT-refcounting.txt:
11865         * docs/design/part-clocks.txt:
11866         * docs/design/part-gstelement.txt:
11867         * docs/design/part-gstobject.txt:
11868         * docs/design/part-standards.txt:
11869         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11870         (gst_bin_remove_func), (gst_bin_remove):
11871         * gst/gstbin.h:
11872         * gst/gstbuffer.c:
11873         * gst/gstcaps.h:
11874         * testsuite/clock/clock1.c: (main):
11875         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11876         (main):
11877         * testsuite/dlopen/loadgst.c: (do_test):
11878         * testsuite/refcounting/bin.c: (add_remove_test1),
11879         (add_remove_test2), (main):
11880         * testsuite/refcounting/element.c: (main):
11881         * testsuite/refcounting/element_pad.c: (main):
11882         * testsuite/refcounting/pad.c: (main):
11883         * tools/gst-launch.c: (sigint_handler_sighandler):
11884         * tools/gst-typefind.c: (main):
11885         Doc updates.
11886         Added doc about clock.
11887         removed gst_bin_iterate_recurse_up(), marked methods
11888         for removal.
11889         Fix more testsuites.
11890
11891 2005-03-09  Wim Taymans  <wim@fluendo.com>
11892
11893         * gst/gstpad.c: (gst_pad_get_direction),
11894         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11895         (gst_pad_collect_valist):
11896         * testsuite/bins/interface.c: (main):
11897         * testsuite/caps/audioscale.c: (test_caps):
11898         * testsuite/caps/caps.c: (test1), (test2), (test3):
11899         * testsuite/caps/deserialize.c: (main):
11900         * testsuite/caps/enumcaps.c: (main):
11901         * testsuite/caps/filtercaps.c: (main):
11902         * testsuite/caps/intersect2.c: (main):
11903         * testsuite/caps/random.c: (main):
11904         * testsuite/caps/renegotiate.c: (my_fixate), (main):
11905         * testsuite/caps/sets.c: (check_caps):
11906         * testsuite/caps/simplify.c: (check_caps), (main):
11907         * testsuite/caps/subtract.c: (check_caps):
11908         Fix _pad_get_direction wrt ghostpads.
11909         Fix caps testsuite.
11910
11911 2005-03-09  Wim Taymans  <wim@fluendo.com>
11912
11913         * check/Makefile.am:
11914         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11915         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11916         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11917         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11918         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11919         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11920         (gst_bin_remove), (gst_bin_iterate_recurse_up),
11921         (bin_element_is_sink), (gst_bin_iterate_sinks),
11922         (gst_bin_iterate_all_by_interface):
11923         * gst/gstbin.h:
11924         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11925         (gst_element_change_state), (gst_element_dispose),
11926         (gst_element_finalize), (gst_element_set_loop_function):
11927         * gst/gstelement.h:
11928         * gst/gstiterator.c: (find_custom_fold_func):
11929         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11930         (gst_pad_collectv), (gst_pad_collect_valist),
11931         (gst_pad_template_new):
11932         * gst/gstpipeline.c: (gst_pipeline_class_init),
11933         (gst_pipeline_dispose), (gst_pipeline_set_property),
11934         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11935         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11936         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11937         * gst/gstutils.h:
11938         * gst/schedulers/entryscheduler.c:
11939         * gst/schedulers/gstbasicscheduler.c:
11940         (gst_basic_scheduler_cothreaded_chain),
11941         (gst_basic_scheduler_chain_add_element):
11942         * testsuite/bins/interface.c: (main):
11943         Added GstBin test.
11944         Added GstSystemClock test.
11945         Implemented clock distribution code in GstBin.
11946         Implemented iterate sinks method for future use.
11947         Rearranged gstelement.h
11948         Fix GstIterator comparison bug.
11949         Moved some code to GstPipeline, mostly clocking related.
11950
11951 2005-03-09  Wim Taymans  <wim@fluendo.com>
11952
11953         * configure.ac:
11954         * gst/gst_private.h:
11955         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11956         (gst_bin_remove_func), (gst_bin_remove),
11957         (gst_bin_get_by_name_recurse_up):
11958         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11959         (gst_clock_id_compare_func), (gst_clock_id_wait),
11960         (gst_clock_id_wait_async), (gst_clock_init),
11961         (gst_clock_adjust_unlocked), (gst_clock_get_time):
11962         * gst/gstelement.h:
11963         * gst/gstinfo.c: (_gst_debug_init):
11964         * gst/gstobject.h:
11965         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11966         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11967         * gst/gstpad.h:
11968         Bump version number, we're now 0.9.0
11969         Add future debugging category.
11970         Fix NULL _unref() in _get_by_name_recurse_up
11971         Rearrange gstpad.h.
11972         Update some docs.
11973
11974 2005-03-08  Wim Taymans  <wim@fluendo.com>
11975
11976         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11977         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11978         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11979         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11980         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11981         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11982         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11983         * gst/elements/gstidentity.c: (gst_identity_class_init):
11984         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11985         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11986         * gst/elements/gstshaper.c: (gst_shaper_class_init):
11987         * gst/elements/gststatistics.c: (gst_statistics_class_init):
11988         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11989         (gst_tee_link):
11990         * gst/gstelement.c: (gst_element_class_init),
11991         (gst_element_base_class_init), (gst_element_init),
11992         (gst_element_get_random_pad), (gst_element_wait_state_change),
11993         (gst_element_change_state), (gst_element_dispose),
11994         (gst_element_finalize), (gst_element_set_loop_function):
11995         * gst/gstelement.h:
11996         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11997         * gst/gstthread.c: (gst_thread_class_init),
11998         (gst_thread_release_children_locks), (gst_thread_change_state):
11999         * gst/schedulers/gstbasicscheduler.c:
12000         (gst_basic_scheduler_loopfunc_wrapper),
12001         (gst_basic_scheduler_chain_wrapper),
12002         (gst_basic_scheduler_src_wrapper),
12003         (gst_basic_scheduler_remove_element):
12004         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12005         Remove threadsafe properties. Fix elements because GObject
12006         complains when installing a property before declaring a
12007         set/get_property handler.
12008         Rearrange gstelement.h file, use STATE macros for state locks.
12009         Free mutexes in the finalize method instead of dispose.
12010
12011 2005-03-08  Wim Taymans  <wim@fluendo.com>
12012
12013         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12014         * gst/gstthread.c: (gst_thread_release_children_locks):
12015         Added parentage check.
12016         Fix build og GstThread again.
12017
12018 2005-03-08  Wim Taymans  <wim@fluendo.com>
12019
12020         * docs/design/part-MT-refcounting.txt:
12021         * docs/design/part-conventions.txt:
12022         * docs/design/part-gstobject.txt:
12023         * docs/design/part-relations.txt:
12024         * docs/design/part-standards.txt:
12025         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12026         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12027         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12028         (gst_bin_iterate_all_by_interface):
12029         * gst/gstbuffer.h:
12030         * gst/gstclock.h:
12031         * gst/gstelement.c: (gst_element_class_init),
12032         (gst_element_change_state), (gst_element_set_loop_function):
12033         * gst/gstelement.h:
12034         * gst/gstiterator.c:
12035         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12036         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12037         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12038         (gst_object_set_parent), (gst_object_unparent),
12039         (gst_object_check_uniqueness):
12040         * gst/gstobject.h:
12041         Docs updates, clean up some headers.
12042
12043 2005-03-07  Wim Taymans  <wim@fluendo.com>
12044
12045         * check/.cvsignore:
12046         * check/Makefile.am:
12047         * check/gst-libs/.cvsignore:
12048         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12049         * check/gst/.cvsignore:
12050         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12051         (START_TEST), (gstbus_suite), (main):
12052         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12053         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12054         (gst_data_suite), (main):
12055         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12056         (add_fold_func), (gstiterator_suite), (main):
12057         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12058         (thread_name_object), (thread_name_object_default),
12059         (gst_object_name_compare), (gst_object_suite), (main):
12060         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12061         (gst_pad_suite), (main):
12062         * check/gstcheck.c: (gst_check_log_message_func),
12063         (gst_check_log_critical_func), (gst_check_init):
12064         * check/gstcheck.h:
12065         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12066         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12067         Added checks.
12068
12069 2005-03-07  Wim Taymans  <wim@fluendo.com>
12070
12071         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12072         (gst_list_iterator_next), (gst_list_iterator_resync),
12073         (gst_list_iterator_free), (gst_iterator_new_list),
12074         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12075         (gst_iterator_free), (gst_iterator_push), (filter_next),
12076         (filter_resync), (filter_uninit), (filter_free),
12077         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12078         (gst_iterator_foreach), (find_custom_fold_func),
12079         (gst_iterator_find_custom):
12080         * gst/gstiterator.h:
12081         Added missing files.
12082
12083 2005-03-07  Wim Taymans  <wim@fluendo.com>
12084
12085         * Makefile.am:
12086         * configure.ac:
12087         * docs/design/part-MT-refcounting.txt:
12088         * docs/design/part-conventions.txt:
12089         * docs/design/part-gstobject.txt:
12090         * docs/design/part-relations.txt:
12091         * examples/mixer/mixer.c: (main):
12092         * examples/thread/thread.c: (eos), (main):
12093         * gst/Makefile.am:
12094         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12095         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12096         (gst_spider_plug_from_srcpad):
12097         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12098         (gst_spider_identity_change_state),
12099         (gst_spider_identity_sink_loop_type_finding):
12100         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12101         * gst/elements/gstidentity.c: (gst_identity_init):
12102         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12103         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12104         * gst/elements/gsttypefindelement.c: (free_entry):
12105         * gst/gst.c:
12106         * gst/gst.h:
12107         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12108         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12109         (gst_bin_set_index), (gst_bin_set_element_sched),
12110         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12111         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12112         (gst_bin_iterate_elements), (iterate_child_recurse),
12113         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12114         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12115         (compare_interface), (gst_bin_get_by_interface),
12116         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12117         * gst/gstbin.h:
12118         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12119         (gst_buffer_default_free), (gst_buffer_default_copy),
12120         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12121         (gst_buffer_create_sub):
12122         * gst/gstbuffer.h:
12123         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12124         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12125         (gst_caps_unref), (gst_static_caps_get),
12126         (gst_caps_remove_and_get_structure), (gst_caps_append),
12127         (gst_caps_append_structure), (gst_caps_remove_structure),
12128         (gst_caps_copy_nth), (gst_caps_set_simple),
12129         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12130         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12131         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12132         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12133         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12134         (gst_caps_structure_figure_out_union),
12135         (gst_caps_switch_structures), (gst_caps_do_simplify),
12136         (gst_caps_replace), (gst_caps_from_string),
12137         (gst_caps_copy_conditional):
12138         * gst/gstcaps.h:
12139         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12140         (_gst_clock_id_free), (gst_clock_id_unref),
12141         (gst_clock_id_compare_func), (gst_clock_id_wait),
12142         (gst_clock_id_wait_async), (gst_clock_class_init),
12143         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12144         (gst_clock_get_time), (gst_clock_set_time_adjust),
12145         (gst_clock_set_property), (gst_clock_get_property):
12146         * gst/gstclock.h:
12147         * gst/gstcompat.h:
12148         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12149         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12150         * gst/gstdata.h:
12151         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12152         (gst_element_requires_clock), (gst_element_provides_clock),
12153         (gst_element_set_clock), (gst_element_clock_wait),
12154         (gst_element_wait), (gst_element_set_time_delay),
12155         (gst_element_is_indexable), (gst_element_add_pad),
12156         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12157         (pad_compare_name), (gst_element_get_static_pad),
12158         (gst_element_request_pad), (gst_element_get_request_pad),
12159         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12160         (gst_element_class_get_pad_template_list),
12161         (gst_element_class_get_pad_template), (gst_element_error_func),
12162         (gst_element_get_random_pad), (gst_element_get_event_masks),
12163         (gst_element_send_event), (gst_element_seek),
12164         (gst_element_get_query_types), (gst_element_query),
12165         (gst_element_get_formats), (gst_element_convert),
12166         (gst_element_is_locked_state), (gst_element_set_locked_state),
12167         (gst_element_sync_state_with_parent), (gst_element_change_state),
12168         (gst_element_finalize), (gst_element_yield),
12169         (gst_element_interrupt), (gst_element_set_scheduler),
12170         (gst_element_get_scheduler), (gst_element_set_loop_function):
12171         * gst/gstelement.h:
12172         * gst/gstevent.h:
12173         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12174         (gst_format_get_by_nick), (gst_format_get_details),
12175         (gst_format_iterate_definitions):
12176         * gst/gstformat.h:
12177         * gst/gstindex.c: (gst_index_gtype_resolver):
12178         * gst/gstinfo.c:
12179         * gst/gstinfo.h:
12180         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12181         (gst_mem_chunk_free):
12182         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12183         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12184         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12185         (gst_object_dispatch_properties_changed),
12186         (gst_object_set_name_default), (gst_object_set_name),
12187         (gst_object_get_name), (gst_object_set_name_prefix),
12188         (gst_object_get_name_prefix), (gst_object_set_parent),
12189         (gst_object_get_parent), (gst_object_unparent),
12190         (gst_object_check_uniqueness), (gst_object_save_thyself),
12191         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12192         (gst_object_set_property), (gst_object_get_property),
12193         (gst_object_get_path_string):
12194         * gst/gstobject.h:
12195         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12196         (gst_real_pad_init), (gst_real_pad_get_property),
12197         (gst_pad_custom_new), (gst_pad_get_direction),
12198         (gst_pad_set_active), (gst_pad_is_active),
12199         (gst_pad_set_event_function), (gst_pad_is_linked),
12200         (gst_pad_link_free), (gst_pad_link_intersect),
12201         (gst_pad_link_fixate), (gst_pad_set_caps),
12202         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12203         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12204         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12205         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12206         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12207         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12208         (gst_pad_realize), (gst_pad_get_allowed_caps),
12209         (gst_real_pad_dispose), (gst_real_pad_finalize),
12210         (gst_pad_collectv), (gst_pad_collect_valist),
12211         (gst_pad_template_dispose), (gst_pad_template_new),
12212         (gst_pad_get_internal_links):
12213         * gst/gstpad.h:
12214         * gst/gstpipeline.c: (gst_pipeline_dispose),
12215         (gst_pipeline_change_state):
12216         * gst/gstpipeline.h:
12217         * gst/gstplugin.c:
12218         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12219         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12220         * gst/gstpluginfeature.h:
12221         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12222         * gst/gstquery.c: (_gst_query_type_initialize),
12223         (gst_query_type_register), (gst_query_type_get_by_nick),
12224         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12225         * gst/gstquery.h:
12226         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12227         * gst/gstscheduler.c: (gst_scheduler_add_element),
12228         (gst_scheduler_factory_create):
12229         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12230         (gst_structure_free), (gst_structure_set_name),
12231         (gst_structure_id_set_value), (gst_structure_set_value),
12232         (gst_structure_set_valist), (gst_structure_remove_field),
12233         (gst_structure_remove_fields),
12234         (gst_structure_remove_fields_valist),
12235         (gst_structure_remove_all_fields), (gst_structure_foreach),
12236         (gst_structure_map_in_place),
12237         (gst_caps_structure_fixate_field_nearest_int),
12238         (gst_caps_structure_fixate_field_nearest_double):
12239         * gst/gststructure.h:
12240         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12241         (gst_system_clock_init), (gst_system_clock_dispose),
12242         (gst_system_clock_async_thread),
12243         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12244         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12245         * gst/gstsystemclock.h:
12246         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12247         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12248         * gst/gsttaginterface.c:
12249         * gst/gstthread.c: (gst_thread_dispose),
12250         (gst_thread_release_children_locks), (gst_thread_change_state),
12251         (gst_thread_main_loop):
12252         * gst/gsttrashstack.h:
12253         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12254         * gst/gsttypes.h:
12255         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12256         (gst_element_request_pad), (gst_element_get_pad_from_template),
12257         (gst_element_request_compatible_pad),
12258         (gst_element_get_compatible_pad_filtered),
12259         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12260         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12261         (gst_element_link_many), (gst_element_link),
12262         (gst_element_link_pads), (gst_element_unlink_pads),
12263         (gst_element_unlink_many), (gst_element_unlink),
12264         (gst_pad_can_link_filtered), (gst_pad_can_link),
12265         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12266         (gst_object_default_error), (gst_bin_add_many),
12267         (gst_bin_remove_many), (gst_element_populate_std_props),
12268         (gst_element_class_install_std_props), (gst_buffer_merge),
12269         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12270         (link_fold_func), (gst_pad_proxy_setcaps):
12271         * gst/gstutils.h:
12272         * gst/gstvalue.c: (gst_value_deserialize_string):
12273         * gst/parse/grammar.y:
12274         * gst/schedulers/gstbasicscheduler.c:
12275         (gst_basic_scheduler_cothreaded_chain),
12276         (gst_basic_scheduler_chain_recursive_add),
12277         (gst_basic_scheduler_pad_link):
12278         * gst/schedulers/gstoptimalscheduler.c:
12279         (get_group_schedule_function),
12280         (gst_opt_scheduler_state_transition),
12281         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12282         * libs/gst/bytestream/bytestream.c:
12283         * libs/gst/dataprotocol/dataprotocol.c:
12284         (gst_dp_header_from_buffer):
12285         * po/nb.po:
12286         * po/ru.po:
12287         * tests/threadstate/threadstate2.c: (eos):
12288         * tools/gst-compprep.c: (main):
12289         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12290         (print_pad_info), (print_children_info):
12291         * tools/gst-launch.c: (idle_func), (main):
12292         * tools/gst-md5sum.c: (idle_func), (main):
12293         * tools/gst-xmlinspect.c: (print_element_info):
12294         First THREADED backport attempt, focusing on adding locks and
12295         making sure the API is threadsafe. Needs more work. More docs
12296         follow this week.
12297
12298 2005-02-24  Andy Wingo  <wingo@pobox.com>
12299
12300         * tests/bench-complexity.scm:
12301         * tests/complexity.gnuplot: New files, good for running complexity
12302         benchmarks.
12303
12304         * tests/Makefile.am:
12305         * tests/complexity.c: New test, sets up N elements, at each level
12306         teeing into M streams per element. Eeeenteresting.
12307
12308         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12309         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12310         running bench-mass_elements.scm.
12311
12312         * tests/bench-mass_elements.scm: New script, runs mass_elements
12313         for various numbers of identities, outputting the results to a
12314         file. Requires guile 1.6. Just for testing.
12315
12316 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12317
12318         * gst/schedulers/fairscheduler.c:
12319           compile with debug disabled
12320
12321 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12322
12323         * configure.ac:
12324           hunting season on 0.9 is now OPEN